/* ─── SCALIX PARTNERS: ULTRA-CLEAN LIGHT THEME (SWISS EDITORIAL V17) ───
   Quiet Authority • Generous Whitespace • Precise Typography • Zero Clutter
─── */

:root {
  /* Pristine Light Palette */
  --bg-page: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-hover: #F1F5F9;
  --bg-muted: #E2E8F0;
  --bg-inverted: #0F172A;

  /* Crisp Hairlines */
  --line: #E2E8F0;
  --line-subtle: #F1F5F9;
  --line-medium: #CBD5E1;
  --line-focus: #0052FF;

  /* High-Contrast Typographic Hierarchy */
  --ink-primary: #0F172A;
  --ink-secondary: #475569;
  --ink-muted: #64748B;
  --ink-caption: #94A3B8;
  --ink-placeholder: #94A3B8;

  /* Brand Accent: Pure Scalix Electric Blue */
  --blue-primary: #0052FF;
  --blue-hover: #0041D1;
  --blue-soft: #EFF6FF;
  --blue-glow: rgba(0, 82, 255, 0.12);

  /* Semantic Feedback */
  --positive-text: #166534;
  --positive-bg: #F0FDF4;
  --positive-line: #BBF7D0;

  --negative-text: #991B1B;
  --negative-bg: #FEF2F2;
  --negative-line: #FECACA;

  /* Typography */
  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Geometry */
  --shell-max: 1200px;
  --radius-card: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
}

/* ─── BASE RESET & VIEWPORT INTEGRITY ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.services-section,
.specimen-section,
.disciplines-section,
.results-section,
.engagement-section,
.faq-section,
[id] {
  scroll-margin-top: 84px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
  background-color: var(--bg-page);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  color: var(--ink-secondary);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.section-header {
  max-width: 740px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* ─── CONTAINER SHELL ─── */
.shell {
  width: min(100% - 48px, var(--shell-max));
  margin-inline: auto;
}

/* ─── SITE HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 48px, var(--shell-max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background-color 0.15s;
}

.header-nav a:hover {
  color: var(--ink-primary);
  background-color: var(--bg-subtle);
}

.header-nav .nav-cta {
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-primary);
  background: var(--blue-soft);
  border: 1px solid rgba(0, 82, 255, 0.18);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}

.header-nav .nav-cta:hover {
  background: var(--blue-primary);
  color: #ffffff;
  border-color: var(--blue-primary);
  box-shadow: 0 2px 10px rgba(0, 82, 255, 0.25);
}

/* ─── HERO SECTION ─── */
.hero-section {
  position: relative;
  padding-top: clamp(68px, 10vh, 104px);
  padding-bottom: clamp(68px, 9vh, 96px);
  background: var(--bg-page);
  border-bottom: 1px solid var(--line);
}

.hero-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Minimalist Pill Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-secondary);
  transition: border-color 0.2s;
}

.hero-badge:hover {
  border-color: var(--line-medium);
}

.badge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

.badge-tag {
  font-weight: 600;
  color: var(--blue-primary);
}

.badge-sep {
  color: var(--line-medium);
}

.badge-text {
  font-weight: 500;
  color: var(--ink-secondary);
}

.badge-arrow {
  color: var(--ink-muted);
  transition: transform 0.2s;
}

.hero-badge:hover .badge-arrow {
  transform: translateX(2px);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  max-width: 860px;
  margin: 0 auto 20px;
}

.hero-subtext {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 660px;
  margin: 0 auto 36px;
}

/* Linear-style Command Terminal */
.search-terminal {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: 6px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-terminal:focus-within {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px var(--blue-glow), 0 8px 24px -4px rgba(0, 82, 255, 0.12);
}

.terminal-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1px minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 8px;
}

.terminal-divider {
  height: 28px;
  width: 1px;
  background: var(--line);
}

.input-wrap {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.text-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink-primary);
  outline: none;
}

.text-input::placeholder {
  color: var(--ink-placeholder);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.text-input.input-error {
  background-color: var(--negative-bg);
  color: var(--negative-text);
  border-radius: 6px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-primary);
  color: #ffffff;
  border: 1px solid var(--blue-primary);
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 82, 255, 0.2);
}

.primary-btn:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.3);
}

.primary-btn:active {
  transform: translateY(0);
}

.primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.primary-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 12px 16px;
  margin-top: 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: left;
}

.form-status.success {
  background: var(--positive-bg);
  color: var(--positive-text);
  border: 1px solid var(--positive-line);
}

.form-status.error {
  background: var(--negative-bg);
  color: var(--negative-text);
  border: 1px solid var(--negative-line);
}

/* Trust Assurances */
.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 6px;
}

.assurance-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-secondary);
}

.check-icon {
  width: 14px;
  height: 14px;
  color: var(--positive-text);
  flex-shrink: 0;
}

/* ─── VERIFIED TELEMETRY BENCHMARK BAR ─── */
.metrics-strip {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.metric-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-subtle);
  transition: background-color 0.2s;
}

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

.metric-cell:hover {
  background-color: #FFFFFF;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metric-caption {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

/* ─── CORE CRO SERVICES SUITE (EDITORIAL GRID) ─── */
.services-section {
  padding-block: clamp(68px, 9vh, 100px);
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--line-medium);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.service-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-primary);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-primary);
}

.service-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.service-deliverable {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* ─── THE ANATOMY OF A SCENT BLEED (SPECIMEN SECTION) ─── */
.specimen-section {
  padding-block: clamp(68px, 9vh, 100px);
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}

.specimen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.specimen-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.specimen-column.disconnected {
  border-right: 1px solid var(--line);
  padding-right: 32px;
}

.specimen-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specimen-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.tag-negative {
  background: var(--negative-bg);
  color: var(--negative-text);
  border: 1px solid var(--negative-line);
}

.tag-positive {
  background: var(--positive-bg);
  color: var(--positive-text);
  border: 1px solid var(--positive-line);
}

.specimen-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.specimen-intro {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.timeline-step {
  display: flex;
  gap: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.step-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--negative-text);
  margin-top: 6px;
  flex-shrink: 0;
}

.step-indicator.positive {
  background: var(--positive-text);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.step-quote {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-primary);
  line-height: 1.45;
}

.step-note {
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.timeline-break {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}

.timeline-break.negative {
  background: var(--negative-bg);
  color: var(--negative-text);
  border: 1px dashed var(--negative-line);
}

.timeline-break.positive {
  background: var(--positive-bg);
  color: var(--positive-text);
  border: 1px dashed var(--positive-line);
}

.specimen-verdict {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.specimen-verdict strong {
  color: var(--ink-primary);
}

/* ─── METHODOLOGY (SCIENTIFIC WORKFLOW) ─── */
.disciplines-section {
  padding-block: clamp(68px, 9vh, 100px);
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--line);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.disciplines-lead h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.disciplines-lead p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.disciplines-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.discipline-row {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.discipline-row:hover {
  border-color: var(--line-medium);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-primary);
  background: var(--blue-soft);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.discipline-row h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.discipline-row p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* ─── CASE STUDIES / VERIFIED RESULTS ─── */
.results-section {
  padding-block: clamp(68px, 9vh, 100px);
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.result-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.result-card:hover {
  border-color: var(--line-medium);
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.06);
}

.result-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.result-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.result-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: -0.02em;
}

.kpi-label {
  font-size: 11.5px;
  color: var(--ink-secondary);
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.result-details code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-subtle);
  border: 1px solid var(--line-subtle);
  padding: 2px 5px;
  border-radius: 4px;
}

/* ─── ENGAGEMENT LADDER ─── */
.engagement-section {
  padding-block: clamp(68px, 9vh, 100px);
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--line);
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.stage-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.stage-card:hover {
  border-color: var(--line-medium);
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.stage-card.featured {
  border: 2px solid var(--blue-primary);
  box-shadow: 0 8px 30px -4px rgba(0, 82, 255, 0.12);
}

.featured-pill {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--blue-primary);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stage-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-primary);
  background: var(--blue-soft);
  padding: 3px 8px;
  border-radius: 4px;
}

.stage-timeline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.stage-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.stage-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.stage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  flex-grow: 1;
}

.stage-list li {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.stage-list li::before {
  content: "✓";
  color: var(--positive-text);
  font-weight: bold;
  font-size: 12px;
  margin-top: 1px;
}

.stage-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.stage-link:hover {
  gap: 7px;
  color: var(--blue-hover);
}

/* ─── FAQ ACCORDION ─── */
.faq-section {
  padding-block: clamp(68px, 9vh, 100px);
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}

.faq-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--line-medium);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

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

.faq-icon {
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--blue-primary);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* ─── SECONDARY CONVERSION CLOSURE ─── */
.cta-closure-section {
  padding-block: clamp(72px, 10vh, 108px);
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.closure-content {
  max-width: 680px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 48px 36px;
  box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.05);
}

.closure-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.closure-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 28px;
}

.closure-btn {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ─── AUTHORITY FOOTER ─── */
.site-footer {
  background: #FFFFFF;
  padding-top: 64px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--blue-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

/* ─── SUBPAGE LAYOUT & SHARED COMPONENTS ─── */
.header-nav a[aria-current="page"] {
  color: var(--blue-primary);
  font-weight: 600;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vh, 88px);
  padding-bottom: clamp(48px, 6vh, 64px);
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-page);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.page-hero .hero-subtext {
  margin-inline: 0;
  max-width: 640px;
}

.page-section {
  padding-block: clamp(64px, 8vh, 96px);
  border-bottom: 1px solid var(--line);
}

.page-section.subtle {
  background-color: var(--bg-subtle);
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card h3 {
  font-size: 1.2rem;
}

.info-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.stack-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-primary);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}

.rubric-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}

.rubric-card.negative {
  border-color: var(--negative-line);
  background: var(--negative-bg);
}

.rubric-card.positive {
  border-color: var(--positive-line);
  background: var(--positive-bg);
}

.rubric-card h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.rubric-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

/* ─── RESPONSIVE BREAKPOINTS (7-VIEWPORT MATRIX) ─── */
@media (max-width: 900px) {
  .hero-section { padding-top: 56px; padding-bottom: 48px; }
  .terminal-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .terminal-divider { display: none; }
  .text-input {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-subtle);
    padding: 12px 14px;
  }
  .metrics-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-cell:nth-child(2) { border-right: none; }
  .metric-cell:nth-child(1), .metric-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .specimen-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
  .specimen-column.disconnected { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 24px; }
  .results-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .engagement-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .disciplines-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .two-col-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, var(--shell-max)); }
  .site-header { height: 64px; }
  .header-nav { gap: 6px; font-size: 0.84rem; }
  .header-nav a { padding: 6px 8px; }
  .header-nav a[href="/methodology"],
  .header-nav a[href="/about"],
  .header-nav a[href="/contact"] { display: none; }
  .hero-section { padding-top: 48px; padding-bottom: 40px; }
  .hero-badge { flex-wrap: wrap; justify-content: center; font-size: 11px; }
  .search-terminal { padding: 8px; border-radius: 12px; }
  .primary-btn { width: 100%; justify-content: center; }
  .metrics-bar { grid-template-columns: minmax(0, 1fr); }
  .metric-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .metric-cell:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .result-kpis { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
