/* ============================================================
   FONTS
============================================================ */
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist/Geist-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist/Geist-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist/Geist-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist/Geist-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/InstrumentSerif/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/InstrumentSerif/InstrumentSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono/JetBrainsMono-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono/JetBrainsMono-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
  /* Brand colors */
  --color-paper:  #F5EEE2;
  --color-bone:   #FFFCF4;
  --color-sand:   #EAD9BE;
  --color-ink:    #0D0D0D;
  --color-clay:   #D75A2C;
  --color-forest: #1D3B2A;
  --color-slate:  #6B6E69;

  /* Fonts */
  --font-serif:  'Instrument Serif', Georgia, serif;
  --font-sans:   'Geist', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Courier New', monospace;

  /* Type scale */
  --text-h1:      clamp(36px, 5vw, 64px);
  --text-h2:      clamp(28px, 3.5vw, 48px);
  --text-body-lg: clamp(15px, 1.1vw, 18px);
  --text-body:    clamp(14px, 1vw, 16px);
  --text-label:   clamp(11px, 0.85vw, 13px);

  /* Spacing */
  --nav-height:       80px;
  --nav-pill-px:      32px;
  --section-px:       clamp(20px, 5vw, 96px);
  --content-max:      1200px;

  /* Radius */
  --radius-pill:  999px;
  --radius-card:  16px;
  --radius-btn:   10px;

  /* Transitions */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-ink);
  background-color: var(--color-bone);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}


/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* data-reveal: used for sticky-scroll sections (why-youtube)
   — triggered by the outer section entering the viewport, not
     individual elements, matching the original design exactly.   */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

#why-youtube [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* Staggered delays */
[data-delay="0"]   { transition-delay: 0ms; }
[data-delay="60"]  { transition-delay: 60ms; }
[data-delay="80"]  { transition-delay: 80ms; }
[data-delay="120"] { transition-delay: 120ms; }
[data-delay="160"] { transition-delay: 160ms; }
[data-delay="180"] { transition-delay: 180ms; }
[data-delay="240"] { transition-delay: 240ms; }
[data-delay="320"] { transition-delay: 320ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="480"] { transition-delay: 480ms; }


/* ============================================================
   BUTTONS
============================================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-clay);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-label);
  letter-spacing: 0.01em;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background-color: #c04e24;
  transform: translateY(-1px);
}

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

.btn-dot {
  font-size: 10px;
  line-height: 1;
  opacity: 0.85;
}


/* ============================================================
   NAVBAR
============================================================ */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 18px var(--section-px);
  /* Start transparent, JS adds .nav--scrolled */
  pointer-events: none;
}

.nav-wrapper.nav--scrolled .nav-pill {
  box-shadow: 0 4px 24px rgba(13,13,13,0.06);
}

.nav-pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  background-color: var(--color-bone);
  border: 0.5px solid var(--color-slate);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 20px;
  transition: box-shadow 0.3s ease;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo__mark {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-logo__wordmark {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  white-space: nowrap;
}

/* Nav links — grouped on the right with the CTA */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-slate);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover {
  color: var(--color-ink);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Desktop CTA */
.nav-cta {
  flex-shrink: 0;
  margin-left: 24px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.nav-hamburger:hover {
  background-color: rgba(13,13,13,0.06);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}


/* ============================================================
   MOBILE MENU
============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(13,13,13,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px var(--section-px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu:not([hidden]) {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu[hidden] {
  display: flex; /* override browser hidden to allow transition */
  visibility: hidden;
}

.mobile-menu__inner {
  width: 100%;
  max-width: 600px;
  background-color: var(--color-bone);
  border: 0.5px solid var(--color-slate);
  border-radius: 28px;
  padding: 20px 24px 28px;
  transform: translateY(-12px);
  transition: transform 0.3s var(--ease-out);
}

.mobile-menu:not([hidden]) .mobile-menu__inner {
  transform: translateY(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__close {
  font-size: 16px;
  color: var(--color-ink);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.mobile-menu__close:hover {
  background-color: rgba(13,13,13,0.06);
}

.mobile-menu__divider {
  height: 0.5px;
  background-color: var(--color-slate);
  opacity: 0.3;
  margin: 16px 0;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-menu__link {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--color-slate);
  padding: 10px 4px;
  display: block;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--color-ink);
}

.mobile-menu__cta {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 14px 20px;
}


/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  background-color: var(--color-bone);
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 96px;
}

/* Topographic BG lines */
.hero__topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.topo-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Desktop file on by default, mobile file hidden */
.topo-img--mobile  { display: none; }
.topo-img--desktop { display: block; }

/* Inner content */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
  gap: 0;
}

/* Eyebrow badge */
.hero__eyebrow {
  margin-bottom: clamp(24px, 2.2vw, 36px);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 8px 16px 8px 20px;
  border-radius: var(--radius-pill);
}

.eyebrow-badge__arrow {
  display: flex;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
}

.eyebrow-badge__arrow svg circle {
  stroke: rgba(255,255,255,0.4);
}

.eyebrow-badge__arrow svg path {
  stroke: #fff;
}

/* Copy block */
.hero__copy {
  width: 100%;
  max-width: min(1400px, 92vw);
  margin: 0 auto;
}

/* Headline */
.hero__headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-ink);
  max-width: none;
  margin: 0 0 clamp(16px, 1.6vw, 24px);
  text-wrap: balance;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.hero__line {
  display: block;
}

.hero__line--3 {
  font-size: 0.9em;
}

.hero__accent {
  font-style: italic;
  color: var(--color-clay);
}

.hero__br--desktop { display: none; }

@media (min-width: 1200px) {
  .hero__headline .hero__line {
    white-space: nowrap;
  }
}

/* Sub-copy */
.hero__sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.62;
  color: var(--color-slate);
  max-width: 900px;
  margin: 0 auto clamp(34px, 3vw, 48px);
}

/* VSL video */
.hero__video {
  width: 100%;
  max-width: 680px;
  margin-bottom: 32px;
}

.hero__vsl-wrap {
  width: 100%;
  background: #111110;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero__vsl-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.loom-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0f1114;
  z-index: 1;
}

.loom-frame__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #111110;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(13,13,13,0.18);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.video-player:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(13,13,13,0.24);
}

.video-player__play {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-player:hover .video-player__play {
  opacity: 1;
  transform: scale(1.08);
}

.video-player__label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

/* Trust bar */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-slate);
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bone);
  margin-left: -10px;
  transition: transform 0.2s ease;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-avatars:hover .trust-avatar {
  margin-left: -6px;
}

.trust-avatar:hover {
  transform: translateY(-3px);
  z-index: 2;
  position: relative;
}


/* ============================================================
   RESPONSIVE — TABLET (768px – 1199px)
============================================================ */
@media (min-width: 768px) and (max-width: 1199px) {
  .nav-pill {
    max-width: 720px;
  }

  .hero__copy {
    max-width: min(980px, 94vw);
  }

  .hero__headline {
    font-size: clamp(32px, 4.2vw, 44px);
    line-height: 1.1;
  }

  .hero__video {
    max-width: 600px;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
============================================================ */
@media (max-width: 767px) {
  :root {
    --section-px: 20px;
    --nav-height: 72px;
  }

  /* Nav pill on mobile: full width, tighter */
  .nav-wrapper {
    padding: 14px 16px;
  }

  .nav-pill {
    max-width: 100%;
    padding: 10px 10px 10px 16px;
    gap: 0;
    border-radius: 28px;
  }

  /* Hide desktop nav links + CTA, show hamburger */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 36px);
    padding-bottom: 60px;
  }

  .hero__inner {
    gap: 0;
  }

  .hero__eyebrow {
    margin-bottom: 28px;
  }

  .hero__headline {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .hero__line {
    display: inline;
  }

  .hero__sub {
    margin-bottom: 32px;
    font-size: 14px;
  }

  .hero__video {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .trust-label {
    font-size: 11px;
  }

  .trust-avatar {
    width: 32px;
    height: 32px;
  }

  /* Mobile menu visibility */
  .mobile-menu[hidden] {
    visibility: hidden;
    opacity: 0;
  }

  /* Swap BG lines to mobile variant */
  .topo-img--desktop { display: none; }
  .topo-img--mobile  { display: block; object-position: top right; }

  /* Results section */
  .results {
    padding: 72px 0 96px;
  }

  .results__inner {
    padding: 0 20px;
  }

  .results__heading {
    font-size: clamp(34px, 9vw, 44px);
    margin-bottom: 28px;
  }

  .results__divider {
    margin-bottom: 48px;
  }

  .case-study {
    margin-bottom: 72px;
  }

  .profile-pill {
    padding: 8px 16px 8px 8px;
    margin-bottom: 24px;
  }

  .profile-pill__avatar {
    width: 44px;
    height: 44px;
  }

  .case-study__stat {
    font-size: clamp(26px, 7.5vw, 36px);
    margin-bottom: 20px;
  }
}


/* ============================================================
   WHY YOUTUBE SECTION
============================================================ */

/* Outer scroll container — 500vh gives ~100vh dwell per card */
.why-outer {
  position: relative;
  height: 500vh;
  background: #FFFCF4;
}

/* Sticky panel stays in viewport while outer scrolls */
.why-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 48px 0;
  overflow: hidden;
}

.why-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

/* ── Left column ── */
.why-left,
why-left {
  display: flex;
  flex-direction: column;
}

.why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink);
  border: 1px solid rgba(13,13,13,0.2);
  padding: 6px 12px;
  border-radius: 21px;
  margin-bottom: 28px;
  align-self: flex-start;
}

.why-eyebrow::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-clay);
}

.why-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  color: var(--color-ink);
  margin-bottom: 18px;
  max-width: 520px;
}

.why-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-slate);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 44px;
}

/* ── Step list ── */
.why-steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(13,13,13,0.08);
}

.why-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(13,13,13,0.08);
  cursor: pointer;
}

.why-step__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(13,13,13,0.2);
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.why-step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(13,13,13,0.35);
  min-width: 20px;
  transition: color 0.3s ease;
}

.why-step__label {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: rgba(13,13,13,0.28);
  flex: 1;
  line-height: 1.1;
  transition: color 0.3s ease;
}

.why-step.active .why-step__dot  { background: var(--color-ink); transform: scale(1.3); }
.why-step.active .why-step__num  { color: var(--color-clay); }
.why-step.active .why-step__label { color: var(--color-ink); font-weight: 500; }
.why-step:hover .why-step__label { color: rgba(13,13,13,0.6); }
.why-step.active:hover .why-step__label { color: var(--color-ink); }

/* ── CTA ── */
.why-cta {
  margin-top: 36px;
  align-self: flex-start;
}

/* ── Right: card stack ── */
.why-cards {
  position: relative;
  height: 560px;
  max-height: 75vh;
}

.why-card {
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  border-radius: 14px;
  overflow: hidden;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  color: var(--color-paper);
}

.why-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Card top row: icon + (optional tag) */
.why-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245,238,226,0.08);
  border: 1px solid rgba(245,238,226,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-paper);
}

/* Decorative SVG layer */
.why-card__deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.why-card__deco svg { display: block; width: 100%; height: 100%; }

/* Floating content card (bone bg) */
.why-card__body {
  position: relative;
  z-index: 2;
  background: var(--color-bone);
  color: var(--color-ink);
  border-radius: 12px;
  padding: 24px 26px;
  align-self: flex-start;
  max-width: 78%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.why-card__body-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-ink);
}

.why-card__body-text {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--color-slate);
  line-height: 1.6;
}

/* Card 4 (10× content): body stretches full width, anchors to bottom */
.why-card[data-card="3"] { justify-content: flex-start; }
.why-card[data-card="3"] .why-card__body {
  max-width: 100%;
  align-self: stretch;
  margin-top: auto;
}
.why-card[data-card="3"] .why-card__body-text { max-width: 72%; }

/* Repurpose diagram inside card 4 */
.why-repurpose {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 18px;
}

.why-repurpose__thumb {
  width: 110px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  display: block;
  flex-shrink: 0;
}

.why-repurpose__conn {
  width: 56px;
  height: 180px;
  flex-shrink: 0;
}

.why-repurpose__nodes {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-repurpose__node {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-ink);
}

.why-repurpose__node-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-clay);
  flex-shrink: 0;
}

/* Card 5 (Standard for Top Personal Brands): body and embed */
.why-card[data-card="4"] { justify-content: flex-start; }
.why-card[data-card="4"] .why-card__body {
  max-width: min(78%, 640px);
  align-self: flex-start;
  margin-top: auto;
}

.why-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  margin: 12px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.why-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Card 5 — clickable thumbnail */
.why-video-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  margin: 12px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}
.why-video-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.why-video-thumb:hover .why-video-thumb__img {
  transform: scale(1.04);
}
.why-video-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}
.why-video-thumb__play svg circle {
  transition: fill 0.25s ease;
}
.why-video-thumb:hover .why-video-thumb__play svg circle {
  fill: rgba(0,0,0,0.72);
}

/* ── Mobile / tablet ── */
@media (max-width: 900px) {
  .why-outer  { height: auto; }
  .why-sticky { position: static; height: auto; padding: 72px 0; }
  .why-container { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .why-cards  {
    display: grid;
    grid-template-areas: "stack";
    height: auto;
    max-height: none;
    background: #0D0D0D;
    padding: 32px 24px 40px;
    margin: 0 20px;
    border-radius: 20px;
    position: relative;
  }
  .why-card {
    grid-area: stack;
    position: relative;
    inset: auto;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
  }
  .why-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .why-step__label { font-size: 20px; }
  .why-card__body  { max-width: 90%; }
  .why-card[data-card="4"] .why-card__body {
    max-width: 92%;
    padding: 18px;
  }
  .why-card[data-card="4"] .why-card__body-title {
    font-size: 20px;
  }
  .why-card[data-card="4"] .why-card__body-text {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .why-card[data-card="4"] .why-video-embed {
    max-height: 220px;
    margin: 10px 0 12px;
  }
}

/* ── Mobile only (phone) ── */
@media (max-width: 640px) {
  /* Remove padding from sticky wrapper — sections handle their own */
  .why-sticky { padding: 0; }
  .why-container { gap: 0; padding: 0; }

  /* Light top section: header + steps */
  .why-left { padding: 56px 24px 44px; }

  /* Hide the desktop CTA (it's inside why-left, above the cards) */
  .why-left .why-cta { display: none; }

  /* Mobile CTA sits below the dark card block */
  .why-cta--mobile {
    display: flex;
    justify-content: flex-start;
    background: #FFFCF4;
    padding: 28px 24px 56px;
  }

  /* Step labels: tighter size for phones */
  .why-step { padding: 14px 0; }
  .why-step__label { font-size: 16px; }

  /* Card block: rounded dark rectangle with breathing room
     CSS grid stacking: all cards occupy the same cell so they're always
     rendered (no display:none reflow) and can animate via opacity/transform */
  .why-cards {
    display: grid;
    grid-template-areas: "stack";
    height: auto;
    max-height: none;
    background: #0D0D0D;
    padding: 32px 24px 40px;
    margin: 0 20px;
    border-radius: 20px;
    position: relative;
  }

  /* All cards in the same grid cell — inactive ones fade out */
  .why-card {
    grid-area: stack;
    position: relative;
    inset: auto;
    display: flex;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
  }
  .why-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  /* Card body: full width on phone */
  .why-card__body      { max-width: 100%; }
  .why-card[data-card="3"] .why-card__body-text { max-width: 100%; }
  .why-card[data-card="4"] .why-card__body {
    max-width: 100%;
    padding: 16px 18px;
  }
  .why-card[data-card="4"] .why-video-embed { max-height: 200px; }

  /* Hide the icon box inside each card */
  .why-card__top { display: none; }

  /* Repurpose diagram: scale down for narrow screens */
  .why-repurpose__thumb { width: 80px; }
  .why-repurpose__conn  { width: 40px; }
  .why-repurpose__node  { font-size: 10px; height: 30px; }
}

/* Hide mobile CTA on tablet/desktop */
@media (min-width: 641px) {
  .why-cta--mobile { display: none; }
}

/* ============================================================
   RESULTS SECTION
============================================================ */
.results {
  background: var(--color-paper);
  padding: 120px 0 160px;
}

.results__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.results__heading {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 400;
  color: var(--color-ink);
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
}

.results__divider {
  width: 100%;
  height: 1px;
  background: rgba(13, 13, 13, 0.12);
  margin-bottom: 80px;
}

/* Case study block */
.case-study {
  margin-bottom: 100px;
}
.case-study:last-child {
  margin-bottom: 0;
  margin-top: 60px;
}

/* Profile pill */
.profile-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px 10px 10px;
  border: 1px solid rgba(13, 13, 13, 0.15);
  border-radius: 100px;
  margin-bottom: 36px;
  width: 100%;
  box-sizing: border-box;
}

.profile-pill__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-pill__name {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.25;
}

.profile-pill__title {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-slate);
  line-height: 1.4;
}

/* Stat line */
.case-study__stat {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.stat-num {
  color: var(--color-clay);
}

/* Media row — dark card left, right stacked column */
.case-study__media {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  align-items: stretch;
}

.media-card--dark {
  background: #1c1c1c;
  border-radius: 16px;
  overflow: hidden;
  padding: 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Analytics screenshot — fills dark card naturally (Victor) */
.media-card--dark img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px 8px 0 0;
  display: block;
}

/* Victor analytics card: match Steven-style edge-to-edge visual */
.case-study--victor .media-card--dark {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
}

.case-study--victor .media-card--dark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

/* Right stacked column */
.media-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

/* Base thumb style */
.media-right > .media-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  flex: none;
}

/* ── Steven: match original balanced split layout ── */
.case-study--steven .case-study__media {
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  align-items: start;
}

.case-study--steven .media-card--dark {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171717;
}

.case-study--steven .media-card--dark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 0;
}

.case-study--steven .media-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 18px;
  min-height: 0;
}

.case-study--steven .media-right .media-thumb {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

@media (max-width: 900px) {
  .case-study--steven .case-study__media {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-study--steven .media-right {
    padding-top: 0;
    gap: 12px;
  }

  .case-study--steven .media-right .media-thumb {
    height: auto;
  }
}

.media-card--light {
  background: var(--color-bone);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card--light img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(13,13,13,0.08);
  display: block;
}

/* 2-col thumbnail grid (Victor) */
.media-thumbs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-thumb {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* KPI stat boxes */
.case-study__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 0;
}

.kpi-box {
  background: var(--color-bone);
  border-radius: 16px;
  padding: 20px 24px 24px;
}

.kpi-box__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-slate);
  margin-bottom: 14px;
}

.kpi-box__val {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 3vw, 44px);
  color: var(--color-clay);
  line-height: 1;
}

/* ============================================================
   PROCESS SECTION
============================================================ */
.process {
  background: #0D0D0D;
  padding: 120px var(--section-px) 140px;
}

.process__inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header row */
.process__header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}

.process__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.process__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}

.process__accent {
  color: var(--color-clay);
  font-style: italic;
}

.process__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  flex-shrink: 0;
}

.process__badge .badge-dot {
  color: var(--color-clay);
}

.process__subtext {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
}

/* 2-col grid */
.process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.process__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Process cards */
.process-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 24px 48px;
  overflow: hidden;
}


/* Number + title row */
.process-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.process-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-slate);
  flex-shrink: 0;
}

.process-card__num--clay {
  color: var(--color-clay);
}

.process-card__num--lg {
  font-size: 40px;
  line-height: 1;
  align-self: center;
}

.process-card__title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.process-card__title--clay {
  color: var(--color-clay);
}

.process-card__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-clay);
}

.process-card__body {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* Checklist for card 01 */
.process-card__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-card__checklist li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.process-card__checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-clay);
  font-size: 11px;
  line-height: 1.6;
}

/* Icons */
.process-card__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.process-card__icon--br {
  position: absolute;
  bottom: 18px;
  right: 18px;
}

/* Highlighted card — 06 Conversion Engine */
.process-card--highlight {
  border-color: rgba(215, 90, 44, 0.35);
  border-right: 3px solid var(--color-clay);
}

/* ============================================================
   RESULTS — MOBILE OVERRIDES (< 768px)
============================================================ */
@media (max-width: 767px) {
  .case-study__media {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .media-card--dark {
    padding: 16px 16px 0;
  }

  .media-card--light {
    padding: 16px;
  }

  .media-thumbs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .case-study__kpis {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .kpi-box {
    padding: 16px 18px 20px;
  }

  .kpi-box__val {
    font-size: clamp(28px, 8vw, 36px);
  }
}


/* ============================================================
   OFFER / COMPARISON SECTION
============================================================ */
.offer {
  background: var(--color-paper);
  padding: 120px 60px;
}

.offer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header */
.offer__header {
  text-align: center;
  margin-bottom: 72px;
}

.offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(13, 13, 13, 0.18);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-bottom: 20px;
}

.offer__badge .badge-dot {
  color: var(--color-clay);
}

.offer__heading {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0;
}

.offer__heading-accent {
  font-style: italic;
  color: var(--color-clay);
}

/* Matrix wrapper: y-axis + grid + x-axis */
.offer__matrix {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 16px;
  align-items: stretch;
}

/* Y-axis label — rotated text on left */
.offer__y-axis {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  transform: translateX(12px);
}

.offer__y-axis::before {
  display: none;
}

.offer__y-axis::after {
  display: none;
}

.offer__axis-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--color-slate);
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.offer__y-axis .offer__axis-label {
  position: relative;
  z-index: 1;
  background: var(--color-paper);
  padding: 4px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.offer__y-axis .offer__axis-label:first-child {
  margin-top: 10px;
}

.offer__y-axis .offer__axis-label:last-child {
  margin-bottom: 10px;
}

.offer__y-axis-arrow-bottom {
  display: none;
}

/* X-axis labels below the grid */
.offer__x-axis {
  grid-column: 2;
  grid-row: 2;
  padding-top: 12px;
}

.offer__x-arrow {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}

.offer__x-arrow::before {
  display: none;
}

.offer__x-arrow::after {
  display: none;
}

.offer__x-arrow .offer__axis-label:first-child::before {
  display: none;
}

.offer__x-arrow .offer__axis-label {
  position: relative;
  margin-top: 8px;
}

/* 2 × 3 card grid */
.offer__grid {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 24px;
  overflow: hidden;
}

.offer__grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(13, 13, 13, 0.12);
  transform: translateX(-0.5px);
  pointer-events: none;
}

.offer__grid::after {
  display: none;
}

/* Individual cards — share borders via grid lines */
.offer-card {
  position: relative;
  padding: 32px 36px 36px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

/* Real row dividers that follow content height */
.offer-card:nth-child(n + 3) {
  border-top: 1px solid rgba(13, 13, 13, 0.12);
}

/* Icon + title inline row */
.offer-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* Icon wrapper — icons have sand bg baked in, so wrapper is transparent */
.offer-card__icon-wrap {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 13, 13, 0.16);
  border-radius: 14px;
  background: transparent;
}

.offer-card__icon-wrap img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

/* Targeted alignment fix for cards where icon artwork sits optically high */
.offer-card--icon-down .offer-card__icon-wrap img {
  transform: translateY(2px);
}

/* Nudge the entire DIY / Just LinkedIn cards slightly lower */
.offer-card--icon-down {
  padding-top: 54px;
}

.offer-card__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.3;
}

.offer-card__body {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-slate);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.offer-card__tag {
  display: none;
}

/* CTA button — hidden by default, revealed on highlight card hover */
.offer-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-clay);
  text-decoration: none;
  border: 1px solid rgba(215, 90, 44, 0.35);
  border-radius: 100px;
  padding: 8px 16px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.offer-card--highlight:hover .offer-card__cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.offer-card__cta:hover {
  background: var(--color-clay);
  border-color: var(--color-clay);
  color: #fff;
}

/* Highlighted card — YouTube Growth Engine */
.offer-card--highlight {
  background: rgba(215, 90, 44, 0.03);
  box-shadow: inset -4px 0 0 var(--color-clay);
}

.offer-card--highlight:hover {
  background: rgba(215, 90, 44, 0.06);
}

/* ============================================================
   OFFER — MOBILE OVERRIDES (< 768px)
============================================================ */
@media (max-width: 767px) {
  .offer {
    padding: 80px 20px;
  }

  .offer__header {
    margin-bottom: 48px;
  }

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

  .offer__y-axis {
    display: none;
  }

  .offer__grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .offer__grid::before,
  .offer__grid::after {
    display: none;
  }

  .offer-card {
    border: none;
    border-top: 1px solid rgba(13, 13, 13, 0.14);
    padding: 24px 24px 28px;
  }

  .offer-card__tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 2px 0 12px;
    padding: 7px 10px;
    border: 1px solid rgba(13, 13, 13, 0.2);
    border-radius: 999px;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6f6762;
    line-height: 1;
    white-space: nowrap;
  }

  .offer-card:first-child {
    border-top: none;
  }

  .offer-card--highlight {
    box-shadow: inset -3px 0 0 var(--color-clay), inset 3px 0 0 var(--color-clay);
  }

  .offer__x-axis {
    display: none;
  }
}

/* ============================================================
   ELIGIBILITY SECTION
============================================================ */
.eligibility {
  position: relative;
  background: var(--color-ink);
  padding: 120px 60px 140px;
  overflow: hidden;
}

/* Topo lines — upper-left corner, diagonal */
.eligibility__topo {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  pointer-events: none;
  z-index: 0;
}

.eligibility__topo-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85;
}

/* Inner content */
.eligibility__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

/* Header */
.eligibility__header {
  text-align: center;
  margin-bottom: 72px;
}

.eligibility__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.eligibility__badge .badge-dot {
  color: var(--color-clay);
}

.eligibility__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--color-paper);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

/* 2-col card grid */
.eligibility__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Individual cards */
.elig-card {
  background: #141414;
  border-radius: 16px;
  padding: 48px 48px 56px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Card title */
.elig-card__title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-paper);
  line-height: 1.3;
  margin: 0 0 32px;
}

.elig-card__accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-clay);
}

/* Item list */
.elig-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Each list item */
.elig-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Icon badge */
.elig-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.elig-item__icon svg {
  width: 12px;
  height: 12px;
}

.elig-item--yes .elig-item__icon {
  background: var(--color-clay);
}

.elig-item--no .elig-item__icon {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   ELIGIBILITY — MOBILE OVERRIDES (< 768px)
============================================================ */
@media (max-width: 767px) {
  .eligibility {
    padding: 80px 20px 100px;
  }

  .eligibility__header {
    margin-bottom: 48px;
  }

  .eligibility__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .elig-card {
    padding: 32px 28px 40px;
  }

  .eligibility__topo {
    width: 100%;
  }
}

/* ============================================================
   BOOKING SECTION
============================================================ */
/* ============================================================
   SECTION 9 — LINKEDIN POSTS
============================================================ */
.s9 {
  background: #08090b;
  padding: 84px 0 112px;
}

.s9__inner {
  max-width: none;
  margin: 0 auto;
}

.s9__panel {
  position: relative;
  background: #08090b;
  border: none;
  padding: 96px 88px 72px;
}

.s9__header {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 34px;
}

.s9__header-line {
  display: none;
}

.s9__header-stem {
  display: none;
}

.s9__heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  color: #f4efe4;
  padding-left: 10px;
}

.s9__sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.28;
  color: rgba(255, 255, 255, 0.56);
  max-width: 420px;
}

.s9__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}

.s9-card {
  text-decoration: none;
  display: block;
  color: inherit;
  transition: transform 0.24s var(--ease-out);
}

.s9-card:hover {
  transform: translateY(-3px);
}

.s9-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
  margin-bottom: 12px;
}

.s9-card__title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.s9-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
  .s9 {
    padding: 68px 24px 74px;
  }

  .s9__heading {
    padding-left: 0;
  }

  .s9__panel {
    padding: 56px 24px 36px;
  }

  .s9__header {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .s9__header-line {
    margin-bottom: 26px;
  }

  .s9__header-stem {
    display: none;
  }

  .s9__sub {
    font-size: 16px;
    max-width: none;
  }

  .s9__grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .s9-card__title {
    font-size: 15px;
  }

  .s9-card__pill {
    font-size: 12px;
    min-width: 86px;
    padding: 6px 10px;
  }
}

@media (max-width: 640px) {
  .s9 {
    padding: 62px 16px 68px;
  }

  .s9__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .s9__heading {
    font-size: 30px;
  }

  .s9-card__title {
    font-size: 15px;
  }
}

/* ============================================================
   BOOKING SECTION
============================================================ */
.booking {
  background: var(--color-paper);
  padding: 80px 40px;
}

/* Card container — bone bg, border, rounded corners */
.booking__card {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: #F5EEE2;
  border: 1px solid var(--color-sand);
  border-radius: 24px;
  overflow: hidden;
  padding: 80px 64px 64px;
}

/* Topographic lines inside the card */
.booking__topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.booking__topo .topo-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: multiply;
  opacity: 0.45;
}

/* Header: heading + sub + avatars */
.booking__header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 80px 56px;
}

.booking__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.1;
  margin-bottom: 20px;
}

.booking__sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-slate);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
}

.booking__br--desktop { display: inline; }

.booking__trust {
  display: flex;
  justify-content: center;
}

/* Cal.com embed wrapper */
.booking__cal-wrap {
  position: relative;
  z-index: 1;
  background: var(--color-bone);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

/* Cal.com embed container */
.booking__cal {
  width: 100%;
  min-height: 700px;
}

/* ============================================================
   PROCESS — MOBILE OVERRIDES (< 768px)
============================================================ */
@media (max-width: 767px) {
  .process {
    padding: 80px 22px 100px;
  }

  .process__inner {
    padding: 0;
  }

  .process__header {
    gap: 12px;
    margin-bottom: 32px;
  }

  .process__header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .process__subtext {
    font-size: 15px;
    line-height: 1.6;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process__col {
    gap: 12px;
  }

  .process-card {
    padding: 20px 20px 44px;
  }

  .process-card:has(.process-card__head) {
    padding-bottom: 20px;
  }
}

/* ============================================================
   BOOKING — MOBILE OVERRIDES (< 768px)
============================================================ */
@media (max-width: 767px) {
  .booking {
    padding: 48px 16px;
  }

  .booking__card {
    padding: 48px 24px 40px;
    border-radius: 20px;
  }

  .booking__header {
    padding: 0 0 36px;
  }

  .booking__sub {
    font-size: 15px;
  }

  .booking__br--desktop { display: none; }

  .booking__cal-wrap {
    border-radius: 12px;
  }

  .booking__cal {
    min-height: 580px;
  }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--color-ink);
  padding: 64px 32px 16px;
  display: flex;
  justify-content: center;
  border-radius: 28px 28px 0 0;
}

/* Dark rounded-top card that holds all footer content */
.footer__card {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  background: var(--color-ink);
  border-radius: 36px;
  padding: 42px 46px;
  overflow: hidden;
}

/* Main flex row: left brand + right pills */
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

/* ── Left column ── */
.footer__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 6px;
  margin-left: -10px;
}

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

.footer__logo-mark {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer__logo-text {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 16px;
}

.footer__nav-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer__nav-link:hover {
  color: rgba(255, 255, 255, 0.78);
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-clay);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  align-self: flex-start;
  letter-spacing: 0.01em;
}

.footer__cta:hover {
  opacity: 0.82;
}

/* ── Right column: stacked contact pills + copyright ── */
.footer__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  align-items: flex-start;
  min-width: 420px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 9px 18px;
  text-decoration: none;
  min-width: 0;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.contact-pill__icon {
  display: block;
  flex-shrink: 0;
  opacity: 0.55;
}

.contact-pill span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
}

/* ── Bottom bar: divider + copyright (inside right column) ── */
.footer__bottom {
  align-self: stretch;
  margin-top: 6px;
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 12px;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.24);
  text-align: left;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ============================================================
   FOOTER — MOBILE OVERRIDES (< 768px)
   Keep the 2-column layout — just scale everything to fit
============================================================ */
@media (max-width: 767px) {
  .footer {
    padding: 28px 12px 16px;
  }

  .footer__card {
    width: 100%;
    padding: 24px 16px;
    border-radius: 18px;
    margin: 0 auto;
  }

  .footer__content {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .footer__left {
    width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .footer__logo {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  .footer__logo-mark {
    width: 20px;
    height: 20px;
  }

  .footer__logo-text {
    font-size: 11px;
    white-space: nowrap;
    line-height: 1.2;
    max-width: none;
  }

  .footer__nav {
    gap: 7px;
    padding-left: 12px;
  }

  .footer__nav-link {
    font-size: 10px;
  }

  .footer__cta {
    font-size: 10px;
    padding: 8px 12px;
    align-self: flex-start;
  }

  .footer__right {
    width: 100%;
    min-width: 0;
    align-items: stretch;
    gap: 10px;
  }

  .contact-pill {
    min-width: 0;
    width: 100%;
    padding: 8px 12px;
    gap: 8px;
  }

  .contact-pill__icon {
    width: 14px;
    flex-shrink: 0;
  }

  .contact-pill span {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer__bottom {
    margin-top: 16px;
    padding-bottom: 0;
  }

  .footer__copy {
    text-align: left;
    font-size: 9px;
  }
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP (>= 1440px)
============================================================ */
@media (min-width: 1440px) {
  .nav-pill {
    max-width: 1320px;
  }

  .hero__headline {
    font-size: 72px;
    max-width: 1320px;
  }

  .hero__sub {
    font-size: 18px;
  }

  .hero__video {
    max-width: 760px;
  }
}


/* ============================================================
   FAQ SECTION
============================================================ */
.faq-section {
  position: relative;
  overflow: hidden;
  background: #0D0D0D;
  padding: 120px var(--section-px) 140px;
}

.faq-section__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.faq-section__header {
  margin-bottom: 72px;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(245,238,226,.16);
  border-radius: var(--radius-pill);
  background: rgba(255,252,244,.04);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,238,226,.82);
}

.faq-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-clay);
  box-shadow: 0 0 0 3px rgba(215,90,44,.16);
}

.faq-section__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .96;
  letter-spacing: -0.02em;
  margin: 22px 0 18px;
  max-width: 18ch;
  color: #FFFCF4;
}

.faq-section__title em {
  font-style: italic;
  color: var(--color-sand);
}

.faq-section__lede {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(245,238,226,.65);
  max-width: 60ch;
  font-weight: 400;
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  align-items: start;
}

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

.faq-card {
  background: rgba(255,252,244,.04);
  border: 1px solid rgba(245,238,226,.10);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  cursor: pointer;
  color: #FFFCF4;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.faq-card:hover {
  background: rgba(255,252,244,.07);
  border-color: rgba(245,238,226,.18);
}

.faq-card__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.faq-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: rgba(245,238,226,.40);
  padding-top: 6px;
  min-width: 28px;
}

.faq-card__question {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #FFFCF4;
  padding: 2px 0;
}

.faq-card__toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245,238,226,.18);
  background: rgba(255,252,244,.06);
  display: grid;
  place-items: center;
  color: #FFFCF4;
  transition: transform .4s cubic-bezier(.2,.7,.2,1.2), background .35s ease, border-color .35s ease;
  margin-top: -2px;
}

.faq-card__toggle svg {
  width: 14px;
  height: 14px;
  display: block;
}

.faq-card__toggle .bar {
  transform-origin: center;
  transition: transform .4s cubic-bezier(.2,.7,.2,1.2), opacity .25s ease;
}

.faq-card__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1), margin-top .45s ease;
  margin-top: 0;
}

.faq-card__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-card__answer-body {
  padding: 14px 0 4px 46px;
  color: rgba(245,238,226,.78);
  font-size: 15.5px;
  line-height: 1.62;
  max-width: 62ch;
}

.faq-card__answer-body p {
  margin: 0 0 10px;
}

.faq-card__answer-body p:last-child {
  margin-bottom: 0;
}

.faq-card.open {
  background: #FFFCF4;
  border-color: #FFFCF4;
  box-shadow: 0 30px 60px -30px rgba(13,13,13,.35);
}

.faq-card.open .faq-card__question {
  color: #0D0D0D;
}

.faq-card.open .faq-card__num {
  color: rgba(13,13,13,.40);
}

.faq-card.open .faq-card__toggle {
  background: var(--color-clay);
  border-color: var(--color-clay);
  color: #fff;
  transform: rotate(45deg);
}

.faq-card.open .faq-card__answer {
  grid-template-rows: 1fr;
  margin-top: 6px;
}

.faq-card.open .faq-card__answer-body {
  color: rgba(13,13,13,.80);
}

.faq-foot {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(245,238,226,.12);
}

.faq-foot__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,238,226,.55);
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #FFFCF4;
  background: #FFFCF4;
  color: #0D0D0D;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.faq-btn:hover {
  background: var(--color-clay);
  border-color: var(--color-clay);
  color: #fff;
}

@media (max-width: 920px) {
  .faq-section { padding: 80px 22px 100px; }
  .faq-section__header { margin-bottom: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .faq-section__title { font-size: 48px; }
  .faq-card__question { font-size: 16px; }
}

/* ============================================================
   LATEST POSTS SECTION (redesign)
============================================================ */
.posts-section {
  position: relative;
  overflow: hidden;
  background: #FFFCF4;
  padding: 120px var(--section-px) 140px;
}

.posts-section__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.posts-header {
  margin-bottom: 64px;
}

.posts-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(13,13,13,.12);
  border-radius: var(--radius-pill);
  background: rgba(13,13,13,.03);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(13,13,13,.70);
}

.posts-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-clay);
  box-shadow: 0 0 0 3px rgba(215,90,44,.18);
}

.posts-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .96;
  letter-spacing: -0.02em;
  margin: 22px 0 18px;
  max-width: 14ch;
  color: #0D0D0D;
}

.posts-title em {
  font-style: italic;
  color: var(--color-clay);
}

.posts-lede {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(13,13,13,.55);
  max-width: 46ch;
  font-weight: 400;
  margin: 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.posts-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 28px;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  isolation: isolate;
}

.post-stamp {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(13,13,13,.50);
  margin-bottom: 14px;
}

.post-stamp__cat {
  color: var(--color-clay);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-stamp__cat::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-clay);
  box-shadow: 0 0 0 3px rgba(215,90,44,.18);
}

.post-stamp__sep { color: rgba(13,13,13,.30); }

.post-plate {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(13,13,13,.06);
  border: 1px solid rgba(13,13,13,.08);
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
}

.post-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
  transform: scale(1.001);
}

.post-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .45s ease;
}

.post-read-cue {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 16px;
  background: #FFFCF4;
  color: #0D0D0D;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
  pointer-events: none;
}

.post-read-cue svg {
  width: 14px;
  height: 14px;
  transition: transform .35s ease;
}

.post-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #0D0D0D;
  margin: 0 0 14px;
  max-width: 24ch;
  display: inline;
  background-image: linear-gradient(var(--color-clay), var(--color-clay));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .5s cubic-bezier(.2,.7,.2,1);
  padding-bottom: 2px;
}

.post-card__title em {
  font-style: italic;
  color: var(--color-clay);
}

.post-card__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(13,13,13,.55);
  max-width: 48ch;
  margin: 8px 0 0;
}

.post-card--lead .post-plate { aspect-ratio: 16 / 9.7; margin-bottom: 28px; }
.post-card--lead .post-card__title { font-size: clamp(36px, 3.6vw, 52px); max-width: 18ch; }

.post-card--compact .post-plate { aspect-ratio: 16 / 8.7; margin-bottom: 18px; }
.post-card--compact .post-card__title { font-size: 26px; max-width: 22ch; }
.post-card--compact .post-card__excerpt { font-size: 14px; }

.post-card:hover .post-plate img { transform: scale(1.045); }
.post-card:hover .post-plate::after { opacity: .7; }
.post-card:hover .post-read-cue { transform: translateY(0); opacity: 1; }
.post-card:hover .post-read-cue svg { transform: translateX(2px); }
.post-card:hover .post-card__title { background-size: 100% 1px; }

.posts-foot {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(13,13,13,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.posts-foot__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(13,13,13,.40);
}

@media (max-width: 1100px) {
  .posts-grid { grid-template-columns: 1fr; }
  .posts-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 24px; }
}

@media (max-width: 760px) {
  .posts-section { padding: 80px 22px 100px; }
  .posts-header { margin-bottom: 40px; }
  .posts-stack { grid-template-columns: 1fr; }
  .post-card--lead .post-card__title { font-size: 36px; }
  .post-card--compact .post-card__title { font-size: 24px; }
}
