/* =============================================================================
   SELVARA — Biomarker Commerce Platform
   Editorial premium wellness. Kinfolk meets Levels.
   ============================================================================= */

/* ---------- TOKENS ---------- */
:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Colors — Selvara palette (light) */
  --color-bg: #f7f6f2;
  --color-surface: #fbfaf6;
  --color-surface-2: #ffffff;
  --color-surface-offset: #efede7;
  --color-divider: #e3e0d9;
  --color-border: #d4d1ca;

  --color-text: #1f1a14;
  --color-text-muted: #6a655c;
  --color-text-faint: #a9a49a;
  --color-text-inverse: #f7f6f2;

  --color-primary: #0c7c84;        /* Primary teal */
  --color-primary-hover: #0a666c;  /* Dark teal */
  --color-primary-active: #0a4d52;
  --color-primary-soft: #e8f3f4;   /* Light teal */

  --color-accent: #d96b49;         /* Coral warm CTA accent */
  --color-accent-hover: #c25736;
  --color-accent-soft: #f7e4db;

  --color-success: #5a7a3c;
  --color-warning: #b07a2a;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.06);
  --shadow-md: 0 4px 20px oklch(0.2 0.02 60 / 0.08);
  --shadow-lg: 0 20px 60px oklch(0.2 0.02 60 / 0.12);

  /* Fonts */
  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --content-narrow: 680px;
  --content-default: 1040px;
  --content-wide: 1280px;
  --content-full: 100%;
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 72px;
}

/* Dark mode */
[data-theme='dark'] {
  --color-bg: #14130f;
  --color-surface: #1a1916;
  --color-surface-2: #1f1e1a;
  --color-surface-offset: #22211c;
  --color-divider: #2a2923;
  --color-border: #3a3830;

  --color-text: #e8e4db;
  --color-text-muted: #9a938a;
  --color-text-faint: #5f5a52;
  --color-text-inverse: #14130f;

  --color-primary: #5db6bd;
  --color-primary-hover: #8fd4d9;
  --color-primary-active: #a8e0e4;
  --color-primary-soft: #1a3336;

  --color-accent: #e28562;
  --color-accent-hover: #ec9b7d;
  --color-accent-soft: #3a2a22;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 20px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 60px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #14130f;
    --color-surface: #1a1916;
    --color-surface-2: #1f1e1a;
    --color-surface-offset: #22211c;
    --color-divider: #2a2923;
    --color-border: #3a3830;
    --color-text: #e8e4db;
    --color-text-muted: #9a938a;
    --color-text-faint: #5f5a52;
    --color-text-inverse: #14130f;
    --color-primary: #5db6bd;
    --color-primary-hover: #8fd4d9;
    --color-primary-soft: #1a3336;
    --color-accent: #e28562;
    --color-accent-hover: #ec9b7d;
    --color-accent-soft: #3a2a22;
  }
}

/* ---------- BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  font-feature-settings: 'ss01', 'cv01', 'cv09';
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role='list'] {
  list-style: none;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

::selection {
  background: color-mix(in oklab, var(--color-primary), transparent 70%);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

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

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.display-hero {
  font-size: var(--text-hero);
}
.display-xl {
  font-size: var(--text-3xl);
}
.display-lg {
  font-size: var(--text-2xl);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
}

.lede {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text-muted);
  font-weight: 400;
  max-width: 55ch;
}

/* ---------- WORDMARK LOGO ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  display: inline-block;
}
.wordmark--lg {
  font-size: 1.5rem;
}
.wordmark--xl {
  font-size: clamp(2rem, 6vw, 4rem);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-interactive);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg {
  transition: transform var(--transition-interactive);
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--accent {
  background: var(--color-accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-text);
  background: var(--color-surface-2);
}
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: color-mix(in oklab, var(--color-bg), transparent 25%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-divider);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-8);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__list {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}
.nav__link {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 400;
  position: relative;
  padding: var(--space-2) 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-interactive);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link[aria-current='page'] {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  transition: all var(--transition-interactive);
  border: 1px solid transparent;
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-border);
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(var(--space-16), 9vw, var(--space-32));
  padding-bottom: clamp(var(--space-16), 9vw, var(--space-32));
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 920px) {
  .hero__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-16);
  }
}

.hero__headline {
  font-size: clamp(2.75rem, 1rem + 6vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.hero__sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
}
.hero__cta-row {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__meta {
  margin-top: var(--space-12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  align-items: center;
}
.hero__meta-item {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--color-text);
  margin-bottom: 2px;
}

/* ---------- SECTION HEADER ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
  align-items: end;
}
@media (min-width: 760px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}
.section-head__title {
  font-size: var(--text-2xl);
  line-height: 1.02;
}
.section-head__desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 42ch;
}

/* ---------- STEPS (How It Works) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  border-top: 1px solid var(--color-divider);
}
@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  padding: var(--space-10) var(--space-6) var(--space-10) 0;
  border-bottom: 1px solid var(--color-divider);
  position: relative;
}
@media (min-width: 720px) {
  .step:nth-child(odd) {
    border-right: 1px solid var(--color-divider);
    padding-right: var(--space-8);
  }
  .step:nth-child(even) {
    padding-left: var(--space-8);
  }
}
@media (min-width: 1040px) {
  .step {
    padding: var(--space-12) var(--space-6) var(--space-12) 0;
    border-bottom: none;
  }
  .step:not(:last-child) {
    border-right: 1px solid var(--color-divider);
    padding-right: var(--space-6);
  }
  .step:nth-child(even) {
    padding-left: var(--space-6);
  }
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.14em;
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.step__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.step__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ---------- BIOMARKER GRID ---------- */
.biomarker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .biomarker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .biomarker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.biomarker-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-interactive);
  position: relative;
  overflow: hidden;
}
.biomarker-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.biomarker-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.biomarker-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.biomarker-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.55;
}
.biomarker-card__markers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.biomarker-chip {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

/* ---------- METRICS ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
@media (min-width: 820px) {
  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}
.metric {
  padding: var(--space-10) var(--space-4);
  text-align: left;
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.metric:last-child {
  border-right: none;
}
@media (min-width: 820px) {
  .metric {
    border-bottom: none;
  }
}
@media (max-width: 820px) {
  .metric:nth-child(2n) {
    border-right: none;
  }
  .metric:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}
.metric__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 4vw, 4rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--color-text);
  display: block;
  margin-bottom: var(--space-3);
}
.metric__num em {
  color: var(--color-primary);
  font-style: italic;
}
.metric__label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------- REPORT PREVIEW ---------- */
.report-preview {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--color-primary-soft), transparent 50%) 0%,
    var(--color-bg) 100%
  );
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 920px) {
  .report-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.report-mock {
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.report-mock__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.report-mock__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.report-mock__score {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.report-mock__score-big {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.report-mock__score-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.report-mock__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
}
.report-mock__row:last-child {
  border-bottom: none;
}
.report-mock__bar {
  flex: 1;
  height: 6px;
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  max-width: 140px;
}
.report-mock__bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: inherit;
}
.report-mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
.report-mock__dot--accent {
  background: var(--color-accent);
}
.report-mock__dot--warn {
  background: var(--color-warning);
}

.report-bio-age {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
}
.report-bio-age__item {
  flex: 1;
}
.report-bio-age__label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.report-bio-age__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
}

/* ---------- SPLIT IMAGE/TEXT ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 820px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}
.split--wide-text {
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .split--wide-text {
    grid-template-columns: 5fr 6fr;
  }
}
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.split--wide-img .split__media {
  aspect-ratio: 16 / 9;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__eyebrow {
  margin-bottom: var(--space-4);
}
.split__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  font-weight: 400;
  line-height: 1.02;
}
.split__body p + p {
  margin-top: var(--space-4);
}
.split__body {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--page-gutter);
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.02;
  font-weight: 400;
  margin-bottom: var(--space-6);
  max-width: 20ch;
  margin-inline: auto;
}
.cta-banner__title em {
  color: var(--color-primary-active);
  color: #8fd4d9;
  font-style: italic;
}
.cta-banner__sub {
  color: var(--color-text-faint);
  opacity: 0.8;
  max-width: 42ch;
  margin: 0 auto var(--space-10);
  font-size: var(--text-base);
}
.cta-banner .btn--primary {
  background: var(--color-text-inverse);
  color: var(--color-text);
}
.cta-banner .btn--primary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- PRICING ---------- */
.pricing-hero {
  text-align: center;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0 var(--space-16);
}
.price-tag {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2rem + 8vw, 8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  font-weight: 400;
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.price-tag__sup {
  font-size: 0.4em;
  margin-top: 0.3em;
}
.price-tag__unit {
  font-family: var(--font-body);
  font-size: 0.18em;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1.2em;
  margin-left: var(--space-2);
  align-self: flex-end;
}

.starter-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
}
.includes-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0 0;
}
.includes-list li {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
  align-items: flex-start;
  font-size: var(--text-base);
}
.includes-list li:last-child {
  border-bottom: none;
}
.includes-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C7C84' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.includes-list li strong {
  font-weight: 500;
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 820px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tier {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: all var(--transition-interactive);
}
.tier:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tier--featured {
  border-color: var(--color-primary);
  background: var(--color-surface-2);
}
.tier__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-soft);
  border-radius: var(--radius-full);
}
.tier__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.tier__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}
.tier__price small {
  font-size: 0.35em;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: var(--space-2);
}
.tier__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}
.tier__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-4);
  font-size: var(--text-sm);
}
.tier__features li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--color-text-muted);
}
.tier__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 9px;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-divider);
}
.faq details {
  border-bottom: 1px solid var(--color-divider);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-8) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  transition: color var(--transition-interactive);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--color-primary);
}
.faq summary::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition-interactive);
  flex-shrink: 0;
  margin-top: 6px;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 0 var(--space-8);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 68ch;
}

/* ---------- JOURNEY (detailed steps on how-it-works) ---------- */
.journey {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.journey-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  border-top: 1px solid var(--color-divider);
  align-items: center;
}
@media (min-width: 820px) {
  .journey-step {
    grid-template-columns: 80px 1fr 1fr;
    gap: var(--space-12);
  }
}
.journey-step__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 2vw, 3rem);
  color: var(--color-primary);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.journey-step__content h3 {
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
  line-height: 1.05;
}
.journey-step__content p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 55ch;
}
.journey-step__content p + p {
  margin-top: var(--space-4);
}
.journey-step__meta {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.journey-step__meta span {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.journey-step__meta span strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  margin-top: 2px;
}
.journey-step__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-offset);
  box-shadow: var(--shadow-sm);
}
.journey-step__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- SCIENCE CATEGORIES ---------- */
.sci-category {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: clamp(var(--space-12), 6vw, var(--space-16)) 0;
  border-top: 1px solid var(--color-divider);
}
@media (min-width: 820px) {
  .sci-category {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
  }
}
.sci-category__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.sci-category__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.02;
}
.sci-category__count {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.sci-category__body p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 62ch;
}
.sci-markers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--color-divider);
}
@media (min-width: 560px) {
  .sci-markers {
    grid-template-columns: 1fr 1fr;
  }
}
.sci-markers > div {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
}
@media (min-width: 560px) {
  .sci-markers > div:nth-child(odd) {
    padding-right: var(--space-6);
    border-right: 1px solid var(--color-divider);
  }
  .sci-markers > div:nth-child(even) {
    padding-left: var(--space-6);
  }
}
.sci-markers strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.sci-markers span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ---------- TEAM CARDS ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team-card {
  padding: var(--space-6);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: all var(--transition-interactive);
}
.team-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.team-card__role {
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- QUOTE / EDITORIAL ---------- */
.editorial-quote {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  text-align: center;
}
.editorial-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.15;
  font-weight: 400;
  font-style: italic;
  max-width: 24ch;
  margin: 0 auto var(--space-8);
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.editorial-quote blockquote em {
  color: var(--color-primary);
}
.editorial-quote cite {
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------- REFERENCES ---------- */
.reference-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-divider);
}
.reference-list li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  align-items: start;
}
.reference-list li span:first-child {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.06em;
  min-width: 40px;
}
.reference-list li p {
  color: var(--color-text-muted);
  line-height: 1.6;
}
.reference-list cite {
  color: var(--color-text);
  font-style: italic;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-16), 6vw, var(--space-20)) var(--space-10);
  margin-top: var(--space-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-16);
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
  }
}
.footer-brand .wordmark {
  font-size: 1.5rem;
  letter-spacing: 0.14em;
}
.footer-brand p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text);
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-legal {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}
.footer-legal a:hover {
  color: var(--color-text);
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 800px) {
  .nav__list {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .header-actions .btn {
    display: none;
  }
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-bg);
  padding: var(--space-8) var(--page-gutter);
  z-index: 40;
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-menu.is-open {
  display: flex;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

/* ---------- ANIMATIONS (scroll-driven + load) ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fade-up.delay-1 {
  animation-delay: 0.08s;
}
.fade-up.delay-2 {
  animation-delay: 0.16s;
}
.fade-up.delay-3 {
  animation-delay: 0.24s;
}
.fade-up.delay-4 {
  animation-delay: 0.32s;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal-on-scroll: handled by main.js IntersectionObserver.
   Default: invisible and shifted down; once .is-visible added, animate in. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- ABOUT / MISSION ---------- */
.mission {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 820px) {
  .mission {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}
.mission__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.mission__title em {
  color: var(--color-primary);
  font-style: italic;
}
.mission__body {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--text-base);
}
.mission__body p + p {
  margin-top: var(--space-4);
}

/* ---------- PAGE HERO (interior) ---------- */
.page-hero {
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.page-hero__eyebrow {
  margin-bottom: var(--space-6);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 16ch;
  margin-bottom: var(--space-6);
}
.page-hero__title em {
  color: var(--color-primary);
  font-style: italic;
}
.page-hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
}
.page-hero__img {
  margin-top: var(--space-16);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-md);
}
.page-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- MARQUEE / TICKER ---------- */
.ticker {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  overflow: hidden;
  background: var(--color-surface);
}
.ticker__track {
  display: flex;
  gap: var(--space-16);
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker__item {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
.ticker__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- CONTACT BLOCK ---------- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding: var(--space-16);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
}
@media (min-width: 700px) {
  .contact-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}
.contact-block h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  font-weight: 400;
}
.contact-block a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- GUARANTEE BADGE ---------- */
.guarantee {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-8);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--color-primary-soft), transparent 40%);
}
.guarantee svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.guarantee h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.guarantee p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* dark mode inverts for CTA banner */
[data-theme='dark'] .cta-banner {
  background: #0a2628;
  color: #e8e4db;
}
[data-theme='dark'] .cta-banner .btn--primary {
  background: #e8e4db;
  color: #0a2628;
}

/* =============================================================================
   COMPETITIVE UPGRADES
   ============================================================================= */

/* ---------- HERO INLINE TICKER LINE ---------- */
.hero__facts {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}
.hero__facts span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__facts span + span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
  margin-right: var(--space-3);
  opacity: 0.8;
}
.hero__facts strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- TRUST BADGES / CREDIBILITY STRIP ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
}
@media (min-width: 720px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}
.trust-badge {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-2);
}
.trust-badge__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-primary);
  stroke-width: 1.25;
}
.trust-badge__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 2px;
}
.trust-badge__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 28ch;
}

/* ---------- AS FEATURED IN / PRESS STRIP ---------- */
.press-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-8) var(--space-16);
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.press-strip__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 500;
}
.press-logo {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.6rem + 1vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  opacity: 0.75;
  transition: opacity var(--transition-interactive);
  white-space: nowrap;
}
.press-logo:hover,
.press-logo--alt:hover {
  opacity: 1;
}
.press-logo--caps {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
}
.press-logo--italic {
  font-style: italic;
}

/* ---------- COMPARISON TABLE ---------- */
.compare-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}
.compare-table th,
.compare-table td {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-divider);
}
.compare-table thead th {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
.compare-table thead th.compare-selvara {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}
.compare-table td.compare-selvara {
  background: color-mix(in oklab, var(--color-primary-soft), transparent 50%);
  color: var(--color-text);
  font-weight: 500;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table th[scope='row'] {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  width: 30%;
}
.compare-table td {
  color: var(--color-text-muted);
}
.compare-yes,
.compare-no {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}
.compare-yes::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C7C84' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.compare-no::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a49a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  opacity: 0.7;
}
.compare-no {
  color: var(--color-text-faint);
}
[data-theme='dark'] .compare-yes::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235db6bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* Mobile scroll for table */
@media (max-width: 720px) {
  .compare-wrap {
    overflow-x: auto;
  }
  .compare-table {
    min-width: 640px;
  }
}

.compare-foot {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 820px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
}
.testimonial:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.testimonial__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-primary);
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.35;
  color: var(--color-text);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.testimonial__quote em {
  font-style: italic;
  color: var(--color-primary);
}
.testimonial__attr {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}
.testimonial__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ---------- CALLOUT (competitive claim box) ---------- */
.callout {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}
.callout__mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  stroke-width: 1.25;
}
.callout__body {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
  max-width: 58ch;
}
.callout__body em {
  color: var(--color-primary);
  font-style: italic;
}
.callout__body .callout__prefix {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

/* ---------- PRICING: MOST POPULAR BIG BADGE ---------- */
.tier__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-surface);
  background: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
[data-theme='dark'] .tier__popular {
  color: var(--color-bg);
  background: var(--color-primary);
}
.tier--featured {
  transform: translateY(-4px);
}

/* Overlap for stand-alone badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
  color: var(--color-text);
  background: var(--color-surface);
}
.pill-badge svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}
.pill-badge--primary {
  background: var(--color-primary-soft);
  border-color: color-mix(in oklab, var(--color-primary), transparent 70%);
  color: var(--color-primary);
}

/* ---------- GUARANTEE UPGRADE (prominent) ---------- */
.guarantee--prominent {
  border: 1px solid var(--color-primary);
  border-left: 4px solid var(--color-primary);
  background: color-mix(in oklab, var(--color-primary-soft), transparent 20%);
}

/* ---------- PUBLISHED RESEARCH PLACEHOLDER ---------- */
.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (min-width: 720px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.research-card {
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--transition-interactive);
}
.research-card:hover {
  border-color: var(--color-primary);
}
.research-card__tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}
.research-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-text);
}
.research-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
  font-style: italic;
}

/* ---------- DARK MODE TWEAKS ---------- */
[data-theme='dark'] .compare-table thead th.compare-selvara {
  background: color-mix(in oklab, var(--color-primary), transparent 80%);
  color: var(--color-primary);
}
[data-theme='dark'] .compare-table td.compare-selvara {
  background: color-mix(in oklab, var(--color-primary), transparent 88%);
}
[data-theme='dark'] .callout {
  border-left-color: var(--color-primary);
}

/* =============================================================================
   VISUAL UPGRADE — Floating imagery, rounded frames, modern effects
   ============================================================================= */

/* ---------- UTILITY: rounded image frame ---------- */
.img-rounded {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(20, 16, 10, 0.08),
              0 2px 8px rgba(20, 16, 10, 0.04);
  background: var(--color-surface-offset);
  display: block;
}
.img-rounded img,
.img-rounded > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-rounded--lg { border-radius: 32px; }
.img-rounded--sm { border-radius: 18px; }

[data-theme='dark'] .img-rounded {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35),
              0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ---------- FLOAT KEYFRAMES (gentle, dreamy) ---------- */
@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50%      { transform: translate3d(0, -20px, 0) rotate(1deg); }
}
@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg); }
  50%      { transform: translate3d(0, -15px, 0) rotate(-1deg); }
}
@keyframes float-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
  50%      { transform: translate3d(0, -26px, 0) rotate(-3deg); }
}
@keyframes float-d {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50%      { transform: translate3d(0, -18px, 0) rotate(0deg); }
}
@keyframes float-soft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -14px, 0); }
}

.float-a { animation: float-a 6.5s ease-in-out infinite; }
.float-b { animation: float-b 7.5s ease-in-out infinite; animation-delay: -1.2s; }
.float-c { animation: float-c 8.5s ease-in-out infinite; animation-delay: -2.4s; }
.float-d { animation: float-d 7s ease-in-out infinite; animation-delay: -3s; }
.float-soft { animation: float-soft 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .float-d, .float-soft { animation: none; }
}

/* ---------- HERO — new floating collage layout ---------- */
.hero--collage {
  position: relative;
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding-bottom: clamp(var(--space-16), 8vw, var(--space-24));
  overflow: hidden;
  isolation: isolate;
}

/* gradient mesh background */
.hero--collage::before {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(12, 124, 132, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(217, 107, 73, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 90%, rgba(143, 212, 217, 0.18), transparent 65%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(176, 122, 42, 0.10), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

/* subtle grain overlay */
.hero--collage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

[data-theme='dark'] .hero--collage::before {
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(12, 124, 132, 0.30), transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(217, 107, 73, 0.20), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 90%, rgba(143, 212, 217, 0.16), transparent 65%);
}

.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-collage {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-16);
  }
}

.hero-collage__text { position: relative; z-index: 2; }

.hero-collage__stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  min-height: 460px;
}
@media (min-width: 960px) {
  .hero-collage__stage {
    aspect-ratio: auto;
    height: 640px;
  }
}
@media (max-width: 640px) {
  .hero-collage__stage {
    min-height: 380px;
    margin-top: var(--space-4);
  }
}

.hero-tile {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 16, 10, 0.14),
              0 4px 14px rgba(20, 16, 10, 0.08);
  background: var(--color-surface-offset);
  transform-origin: center center;
  will-change: transform;
}
.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
[data-theme='dark'] .hero-tile {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45),
              0 4px 14px rgba(0, 0, 0, 0.3);
}

/* tile positions — desktop */
.hero-tile--1 { top: 2%;  left: 4%;  width: 46%; aspect-ratio: 3/4; }
.hero-tile--2 { top: 6%;  right: 2%; width: 42%; aspect-ratio: 4/5; }
.hero-tile--3 { bottom: 4%; left: 10%; width: 38%; aspect-ratio: 5/4; }
.hero-tile--4 { bottom: 10%; right: 6%; width: 36%; aspect-ratio: 1/1; }
.hero-tile--5 { top: 42%; left: 42%; width: 30%; aspect-ratio: 1/1; z-index: 3; }

@media (max-width: 640px) {
  .hero-tile--1 { width: 52%; top: 0; left: 0; }
  .hero-tile--2 { width: 42%; top: 4%; right: 0; }
  .hero-tile--3 { width: 44%; bottom: 4%; left: 6%; }
  .hero-tile--4 { width: 40%; bottom: 8%; right: 4%; }
  .hero-tile--5 { display: none; }
}

/* floating badge — small stat card pinned into hero collage */
.hero-badge {
  position: absolute;
  z-index: 4;
  padding: var(--space-3) var(--space-4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 28px rgba(20, 16, 10, 0.10);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--color-text);
  white-space: nowrap;
}
.hero-badge strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.hero-badge--top { top: -18px; right: 20%; }
.hero-badge--bot { bottom: 6%; left: -12px; }
@media (max-width: 640px) {
  .hero-badge { font-size: 0.7rem; padding: 8px 12px; }
  .hero-badge--top { top: -8px; right: 6%; }
  .hero-badge--bot { bottom: 0; left: 4%; }
}

[data-theme='dark'] .hero-badge {
  background: rgba(30, 25, 20, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

/* ---------- GLASS METRICS CARDS ---------- */
.metrics--glass .metric {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: var(--space-8);
  box-shadow: 0 12px 40px rgba(20, 16, 10, 0.08);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.metrics--glass .metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(20, 16, 10, 0.12);
}
[data-theme='dark'] .metrics--glass .metric {
  background: rgba(40, 34, 28, 0.4);
  border-color: rgba(255, 255, 255, 0.07);
}

/* ---------- MOSAIC GALLERY ---------- */
.mosaic-section {
  position: relative;
  overflow: hidden;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 150px);
  grid-auto-flow: dense;
  gap: 16px;
}
@media (max-width: 820px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 12px;
  }
}
.mosaic__cell {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(20, 16, 10, 0.08);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms;
}
.mosaic__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mosaic__cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 16, 10, 0.14);
}
.mosaic__cell:hover img { transform: scale(1.06); }

/* cell sizes — 6 cells on 6-col x 4-row grid */
.mosaic__cell:nth-child(1) { grid-column: 1 / span 3; grid-row: 1 / span 2; } /* big 3x2 */
.mosaic__cell:nth-child(2) { grid-column: 4 / span 2; grid-row: 1 / span 2; } /* 2x2 */
.mosaic__cell:nth-child(3) { grid-column: 6 / span 1; grid-row: 1 / span 2; } /* tall 1x2 */
.mosaic__cell:nth-child(4) { grid-column: 1 / span 2; grid-row: 3 / span 2; } /* 2x2 */
.mosaic__cell:nth-child(5) { grid-column: 3 / span 3; grid-row: 3 / span 2; } /* wide 3x2 */
.mosaic__cell:nth-child(6) { grid-column: 6 / span 1; grid-row: 3 / span 2; } /* tall 1x2 */

@media (max-width: 820px) {
  .mosaic { grid-template-rows: repeat(5, 130px); }
  .mosaic__cell:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .mosaic__cell:nth-child(2) { grid-column: 1 / span 1; grid-row: 3 / span 1; }
  .mosaic__cell:nth-child(3) { grid-column: 2 / span 1; grid-row: 3 / span 1; }
  .mosaic__cell:nth-child(4) { grid-column: 1 / span 2; grid-row: 4 / span 1; }
  .mosaic__cell:nth-child(5) { grid-column: 1 / span 1; grid-row: 5 / span 1; }
  .mosaic__cell:nth-child(6) { grid-column: 2 / span 1; grid-row: 5 / span 1; }
}

.mosaic__caption {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 500;
}
[data-theme='dark'] .mosaic__caption {
  background: rgba(30, 25, 20, 0.6);
  color: var(--color-text);
}

/* ---------- FULL-BLEED IMAGE SECTION ---------- */
.bleed {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 55vh, 640px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  isolation: isolate;
}
.bleed__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.bleed__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bleed::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.25), rgba(12, 10, 8, 0.55));
}
.bleed__content {
  max-width: 820px;
  padding: var(--space-16) var(--space-8);
  text-align: center;
}
.bleed__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-6);
}
.bleed__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--space-6);
}
.bleed__title em {
  font-style: italic;
  color: #8fd4d9;
}
.bleed__sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto;
}

/* ---------- FLOATING ACCENT (absolute image by a section) ---------- */
.float-accent {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 16, 10, 0.14);
  pointer-events: none;
  z-index: 2;
}
.float-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* hide floating accents on mobile to keep layout clean */
@media (max-width: 820px) {
  .float-accent { display: none; }
}

[data-theme='dark'] .float-accent {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- ZIGZAG JOURNEY STEPS (reverse every other) ---------- */
@media (min-width: 820px) {
  .journey-step--reverse {
    grid-template-columns: 1fr 1fr 80px;
  }
  .journey-step--reverse .journey-step__num { order: 3; text-align: right; }
  .journey-step--reverse .journey-step__content { order: 2; }
  .journey-step--reverse .journey-step__visual { order: 1; }
}

.journey-step__visual {
  border-radius: 28px !important;
  box-shadow: 0 24px 60px rgba(20, 16, 10, 0.12),
              0 4px 14px rgba(20, 16, 10, 0.06) !important;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 500ms;
}
.journey-step__visual:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 32px 70px rgba(20, 16, 10, 0.16) !important;
}
[data-theme='dark'] .journey-step__visual {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4) !important;
}

/* wrapper to allow an accent beside journey step */
.journey-step__visual-wrap {
  position: relative;
}

/* ---------- SMOOTH IMAGE REVEAL ---------- */
.img-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.img-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- UPGRADE existing split media to rounded frames ---------- */
.split__media {
  border-radius: 28px !important;
  box-shadow: 0 24px 60px rgba(20, 16, 10, 0.12),
              0 4px 14px rgba(20, 16, 10, 0.06) !important;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.split__media:hover { transform: translateY(-6px); }
[data-theme='dark'] .split__media {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4) !important;
}

/* ---------- Page-hero image — upgrade radius ---------- */
.page-hero__img {
  border-radius: 32px !important;
  box-shadow: 0 30px 80px rgba(20, 16, 10, 0.14),
              0 4px 14px rgba(20, 16, 10, 0.06) !important;
}
[data-theme='dark'] .page-hero__img {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45) !important;
}

/* ---------- Ensure .hero legacy still works but hide legacy media when collage active ---------- */
.hero--collage .hero__media { display: none; }
