/* ==========================================================================
   MARKETINGEXECUTIVE.PL — ŁUKASZ LINDNER
   Editorial Monochrome / Swiss Architectural Grayscale Design System
   ========================================================================== */

:root,
[data-theme="noir"] {
  --bg-primary: #09090b;
  --bg-secondary: #111114;
  --bg-elevated: #17171b;
  --bg-hover: #1f1f24;
  --bg-glass: rgba(9, 9, 11, 0.84);

  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-inverse: #09090b;

  --accent-contrast: #ffffff;
  --accent-surface: #f4f4f5;
  --accent-silver: #d4d4d8;

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-active: rgba(255, 255, 255, 0.65);

  --photo-filter: grayscale(100%) contrast(1.08) brightness(0.96);
  --photo-filter-hover: grayscale(100%) contrast(1.14) brightness(1.03);
  --shadow-card: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --grain-opacity: 0.035;
}

[data-theme="paper"] {
  --bg-primary: #f4f3ef;
  --bg-secondary: #eae8e1;
  --bg-elevated: #ffffff;
  --bg-hover: #e2e0d8;
  --bg-glass: rgba(244, 243, 239, 0.88);

  --text-primary: #0c0c0e;
  --text-secondary: #3f3f46;
  --text-muted: #71717a;
  --text-inverse: #f4f3ef;

  --accent-contrast: #09090b;
  --accent-surface: #121215;
  --accent-silver: #27272a;

  --border-subtle: rgba(12, 12, 14, 0.12);
  --border-strong: rgba(12, 12, 14, 0.26);
  --border-active: rgba(12, 12, 14, 0.85);

  --photo-filter: grayscale(100%) contrast(1.12) brightness(0.98);
  --photo-filter-hover: grayscale(100%) contrast(1.18) brightness(1.02);
  --shadow-card: 0 24px 50px -24px rgba(0, 0, 0, 0.14);
  --grain-opacity: 0.028;
}

/* Typography & Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
  position: relative;
}

/* Subtle Film Grain Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent-surface);
  color: var(--text-inverse);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.serif-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Top Executive Ticker / Status Bar */
.status-bar {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0;
}

.status-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-primary);
  box-shadow: 0 0 0 0 var(--text-secondary);
  animation: pulseMono 2.4s infinite;
}

@keyframes pulseMono {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.45;
  }
  100% {
    transform: scale(0.95);
    opacity: 1;
  }
}

.status-bar__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
}

/* Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__domain {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand__domain span {
  color: var(--text-muted);
  font-weight: 400;
}

.brand__name {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.83rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.control-chip {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.42rem 0.72rem;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.control-chip:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-surface);
  color: var(--text-inverse);
  border-color: var(--accent-surface);
}

.btn--primary:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-hover);
}

.btn--sm {
  padding: 0.52rem 1rem;
  font-size: 0.78rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
}

/* Hero Section — Editorial Split Architecture */
.hero {
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  padding-bottom: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--text-secondary);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.45rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
}

.hero__title .serif-italic {
  font-size: 1.08em;
  font-weight: 400;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.4rem;
}

.role-tag {
  font-size: 0.76rem;
  padding: 0.38rem 0.78rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Portrait Column */
.hero__visual {
  position: relative;
  border-left: 1px solid var(--border-subtle);
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portrait-frame {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 3 / 3.85;
  object-fit: cover;
  object-position: center top;
  filter: var(--photo-filter);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-frame:hover img {
  filter: var(--photo-filter-hover);
  transform: scale(1.02);
}

.portrait-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.portrait-caption__name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.portrait-caption__role {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.award-badge-mini {
  text-align: right;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--text-primary);
  border-left: 1px solid var(--border-subtle);
  padding-left: 0.9rem;
}

/* Executive Metrics Bar (Architectural Grid) */
.metrics-strip {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.metric-cell {
  padding: 2.25rem 1.6rem;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.25s ease;
}

.metric-cell:last-child {
  border-right: none;
}

.metric-cell:hover {
  background: var(--bg-hover);
}

.metric-cell__index {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.metric-cell__value {
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.metric-cell__label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Generic Section Architecture */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section--alt {
  background: var(--bg-secondary);
}

.section-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 580px;
  justify-self: end;
}

/* Services / Cooperation Models (4 Architectural Columns) */
.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border-subtle);
}

.model-card {
  padding: 2.6rem;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.model-card:nth-child(2n) {
  border-right: none;
}

.model-card:nth-last-child(-n+2) {
  border-bottom: none;
}

.model-card:hover {
  background: var(--bg-elevated);
}

.model-card__top {
  margin-bottom: 2rem;
}

.model-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
}

.model-card__num {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.model-card__badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

.model-card__title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.model-card__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.model-card__desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.model-card__list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.model-card__list li {
  font-size: 0.86rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.model-card__list li::before {
  content: "—";
  color: var(--text-muted);
  flex-shrink: 0;
}

.model-card__footer {
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.model-card__format {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Interactive Diagnostic Matrix ("Kiedy warto zaangażować CMO?") */
.diagnostic-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.diagnostic-tabs {
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.diag-tab {
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.diag-tab:last-child {
  border-bottom: none;
}

.diag-tab:hover {
  background: var(--bg-hover);
}

.diag-tab.is-active {
  background: var(--accent-surface);
  color: var(--text-inverse);
}

.diag-tab__idx {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0.18rem;
}

.diag-tab__symptom {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.diagnostic-panel {
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-elevated);
}

.diag-panel__tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.diag-panel__headline {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  line-height: 1.25;
}

.diag-panel__solution {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.diag-proof {
  padding: 1.25rem 1.4rem;
  border-left: 2px solid var(--text-primary);
  background: var(--bg-secondary);
  margin-bottom: 2rem;
}

.diag-proof__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.diag-proof__text {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Recognition / Manager Roku Feature Editorial Showcase */
.recognition-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: stretch;
}

.gala-main-card {
  position: relative;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: #050506;
  min-height: 420px;
}

.gala-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.16) brightness(0.92);
  transition: transform 0.7s ease, filter 0.5s ease;
}

.gala-main-card:hover img {
  transform: scale(1.03);
  filter: grayscale(100%) contrast(1.22) brightness(1);
}

.gala-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(5, 5, 6, 0.94) 15%, rgba(5, 5, 6, 0.5) 70%, transparent 100%);
  color: #f4f4f5;
}

.gala-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.gala-banner-frame {
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: #050506;
}

.gala-banner-frame img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: left center;
  filter: grayscale(100%) contrast(1.18);
  transition: transform 0.6s ease;
}

.gala-banner-frame:hover img {
  transform: scale(1.03);
}

.philosophy-card {
  flex: 1;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.philosophy-quote {
  font-size: 1.32rem;
  line-height: 1.42;
  margin-bottom: 1.5rem;
}

/* Career Dossier / Executive Track Record */
.timeline {
  border-top: 1px solid var(--border-subtle);
}

.timeline-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease;
}

.timeline-meta__period {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.timeline-meta__sector {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-body__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.timeline-body__role {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.timeline-body__company {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.timeline-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 2rem;
  margin-top: 1.15rem;
}

.timeline-highlights li {
  font-size: 0.89rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  border-left: 1px solid var(--border-strong);
}

.timeline-highlights strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Tech, Data & Credentials Bento */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 2rem;
}

.bento-card__title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-chip {
  font-size: 0.8rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.cred-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.cred-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.65rem;
}

.cred-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cred-list strong {
  color: var(--text-primary);
}

/* ==========================================================================
   INTERACTIVE SERVICE & CONSULTATION ORDER CONFIGURATOR
   ========================================================================== */
.configurator-layout {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 2.5rem;
  align-items: start;
}

.config-steps {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.config-block {
  padding: 2.1rem 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.config-block:last-child {
  border-bottom: none;
}

.config-block__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.72rem;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.opt-btn {
  text-align: left;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.opt-btn:hover {
  border-color: var(--border-strong);
}

.opt-btn.is-selected {
  background: var(--accent-surface);
  color: var(--text-inverse);
  border-color: var(--accent-surface);
}

.opt-btn__title {
  font-weight: 700;
  font-size: 0.9rem;
}

.opt-btn__sub {
  font-size: 0.76rem;
  opacity: 0.75;
}

.scope-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.scope-btn {
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.scope-btn:hover {
  border-color: var(--border-strong);
}

.scope-btn.is-selected {
  border-color: var(--border-active);
  background: var(--bg-hover);
  font-weight: 600;
}

.scope-btn.is-selected::after {
  content: "✓";
  font-family: 'JetBrains Mono', monospace;
}

.challenge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.challenge-tag {
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.challenge-tag:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.challenge-tag.is-selected {
  background: var(--accent-surface);
  color: var(--text-inverse);
  border-color: var(--accent-surface);
}

/* Contact Inputs inside Configurator */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.form-field input,
.form-field textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.8rem 0.95rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--border-active);
}

/* Sticky Executive Dossier Summary Card */
.summary-dossier {
  position: sticky;
  top: 96px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  padding: 2.1rem;
  box-shadow: var(--shadow-card);
}

.summary-dossier__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.4rem;
}

.summary-dossier__title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.summary-row {
  margin-bottom: 1.15rem;
}

.summary-row__key {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.summary-row__val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.summary-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.summary-mini-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.summary-note {
  padding: 1rem;
  background: var(--bg-secondary);
  border-left: 2px solid var(--text-secondary);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 1.4rem 0;
  line-height: 1.55;
}

.summary-actions {
  display: grid;
  gap: 0.65rem;
}

.summary-actions .btn {
  width: 100%;
}

.direct-channels {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.direct-link {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.direct-link:hover {
  color: var(--text-primary);
}

.feedback-banner {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-active);
  background: var(--bg-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

.feedback-banner.is-visible {
  display: block;
}

/* Executive Character Strip (Endurance & Discipline) */
.character-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.char-item__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.char-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.char-item__desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  padding: 4rem 0 2.5rem;
  background: var(--bg-secondary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-headline {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 540px;
  line-height: 1.15;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: right;
}

.footer-contact-list a {
  font-size: 1.05rem;
  color: var(--text-primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.footer-contact-list a:hover {
  border-color: var(--text-primary);
}

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Reveal on Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero__visual {
    border-left: none;
    padding-left: 0;
    max-width: 520px;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-cell {
    border-bottom: 1px solid var(--border-subtle);
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-desc {
    justify-self: start;
  }

  .diagnostic-box,
  .recognition-grid,
  .configurator-layout {
    grid-template-columns: 1fr;
  }

  .diagnostic-tabs {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .summary-dossier {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .model-card {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle) !important;
  }

  .model-card:last-child {
    border-bottom: none !important;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .timeline-highlights,
  .option-cards,
  .scope-pills,
  .form-grid,
  .character-bar {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact-list {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 1.25rem;
  }

  .status-bar__meta {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-cell {
    border-right: none;
    padding: 1.5rem 1rem;
  }

  .config-block,
  .model-card,
  .diagnostic-panel {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   SEO SUBPAGES (service landing pages, about, FAQ)
   ========================================================================== */
.page-hero {
  padding: 2.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumbs a:hover {
  color: var(--text-primary);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
  align-items: center;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.page-hero__portrait {
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.page-hero__portrait img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  object-position: center top;
  filter: var(--photo-filter);
}

.page-hero__portrait figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
}

.page-body {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.page-block {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.page-block__title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.page-block .model-card__list li {
  font-size: 0.98rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-subtle);
}

.step-card {
  padding: 1.6rem;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.step-card:last-child {
  border-right: none;
}

.step-card__num {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.step-card h3 {
  font-size: 1.02rem;
  margin: 0.6rem 0 0.4rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-subtle);
}

.proof-grid .metric-cell {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.6rem;
}

.proof-grid .metric-cell:nth-child(3n) {
  border-right: none;
}

.faq-list {
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.15rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  max-width: 820px;
}

.page-cta {
  margin: 3.25rem 0 0;
  padding: 2.5rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.page-cta p {
  color: var(--text-secondary);
  max-width: 560px;
}

.page-cta .page-block__title {
  margin-bottom: 0.6rem;
}

.page-cta__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.related-card {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s ease;
}

.related-card:hover {
  border-color: var(--border-active);
}

.related-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-services {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-services ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.85rem;
}

.footer-services a {
  color: var(--text-secondary);
}

.footer-services a:hover {
  color: var(--text-primary);
}

.model-card__more {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__seo-h1 {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

@media (max-width: 1080px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
  }
  .page-hero__portrait {
    max-width: 340px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-card:nth-child(2n) {
    border-right: none;
  }
  .step-card {
    border-bottom: 1px solid var(--border-subtle);
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .step-card,
  .proof-grid .metric-cell {
    border-right: none;
  }
}

/* QA fixes */
.page-hero__portrait img,
.portrait-frame img {
  height: auto;
}

.page-hero__portrait img {
  max-height: 460px;
}

.model-card__footer {
  flex-wrap: wrap;
}

.model-card__more {
  white-space: nowrap;
}

.related-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}
