/* ============================================================================
   BehaviorScout — Landing page styles
   Built on colors_and_type.css tokens. Dark, moody, cinematic, premium.
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

html, body { margin: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  position: relative;
}

/* Ambient scene glows — luminous plum dusk fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 78% -8%, oklch(0.42 0.10 350 / 0.55) 0%, transparent 58%),
    radial-gradient(70% 55% at 8% 102%, oklch(0.36 0.085 350 / 0.40) 0%, transparent 60%);
}

main, footer, .scroll-line { position: relative; z-index: 1; }

::selection { background: var(--plum-400); color: var(--plum-990); }

/* ---- Scroll progress (a hairline, not a nav bar) ---- */
.scroll-line {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--plum-500), var(--plum-300));
  z-index: 90;
  box-shadow: 0 0 16px oklch(0.702 0.082 350 / 0.6);
}

/* ============================================================================
   Layout primitives
   ============================================================================ */
.wrap { width: min(1400px, 100% - 2 * var(--sp-8)); margin-inline: auto; }
@media (max-width: 720px){ .wrap { width: min(1400px, 100% - 2 * var(--sp-5)); } }

section { padding-block: clamp(80px, 12vh, 160px); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-3xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--plum-300);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--plum-400);
  display: inline-block;
  opacity: 0.8;
}

.section-head { max-width: 60ch; }
.section-title {
  font-weight: var(--fw-medium);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
  color: var(--fg);
  text-wrap: balance;
}
.section-title .muted { color: var(--fg-3); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--fg-2);
  font-weight: var(--fw-regular);
  max-width: 56ch;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: -0.02em; }

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-md);
  letter-spacing: -0.01em;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--plum-400);
  color: var(--plum-990);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--plum-300);
  transform: translateY(-2px);
  box-shadow: none;
}
.btn-primary:active { transform: translateY(0); background: var(--plum-500); }

.btn-ghost {
  background: oklch(1 0 0 / 0.04);
  color: var(--fg);
  border-color: var(--border-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.08); border-color: oklch(1 0 0 / 0.24); transform: translateY(-2px); }

.btn-lg { height: 60px; padding: 0 32px; font-size: var(--text-lg); }

/* ============================================================================
   Media frames — cinematic, cool, plum-graded
   ============================================================================ */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), 0 0 0 1px oklch(0 0 0 / 0.4);
  background: var(--bg-sunken);
  isolation: isolate;
}
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* desaturated, cool, cinematic grade */
  filter: grayscale(0.52) saturate(0.4) contrast(1.06) brightness(0.82);
  transform: scale(1.06);
  transition: transform 1.4s var(--ease-out), filter 1.4s var(--ease-out);
  will-change: transform;
}
.media:hover img { filter: grayscale(0.22) saturate(0.62) contrast(1.04) brightness(0.9); }
/* plum duotone wash */
.media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, oklch(0.242 0.062 350 / 0.10) 0%, oklch(0.16 0.04 350 / 0.55) 100%),
    radial-gradient(120% 120% at 70% 10%, oklch(0.586 0.10 350 / 0.28) 0%, transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* luminous inner edge */
.media::before {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.10), inset 0 0 60px oklch(0 0 0 / 0.35);
  pointer-events: none;
}

/* ============================================================================
   Reveal / motion
   ============================================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.motion .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0ms); }
  html.motion .reveal.in { opacity: 1; transform: none; }

  html.motion .reveal-img img { transform: scale(1.14); }
  html.motion .reveal-img.in img { transform: scale(1.06); }

  html.motion .reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
  html.motion .reveal-clip.in { clip-path: inset(0 0 0 0); }

  /* testimonial cards slide in from the left (staggered = left-to-right) */
  html.motion .tmint-card.reveal { transform: translateX(-40px); }
  html.motion .tmint-card.reveal.in { transform: none; }

  /* per-line / word stagger for hero */
  html.motion .line-mask > span { transform: translateY(110%); transition: transform 1.05s var(--ease-out); transition-delay: var(--d, 0ms); }
  html.motion .in .line-mask > span, html.motion .line-mask.in > span { transform: none; }
}
/* line-mask box clips regardless of motion */
.line-mask { overflow: hidden; display: block; padding-block: 0.02em; }
.line-mask > span { display: block; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: clamp(32px, 5vh, 56px); padding-bottom: clamp(48px, 8vh, 96px); overflow: hidden; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 72% 30%;
  filter: grayscale(0.5) saturate(0.45) contrast(1.08) brightness(0.62);
  transform: scale(1.08);
  will-change: transform;
}
/* plum wash — unifies the image to the brand hue */
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, oklch(0.20 0.06 350 / 0.62) 0%, oklch(0.30 0.075 350 / 0.34) 52%, oklch(0.21 0.058 350 / 0.6) 100%);
}
/* directional dark scrims for contrast + page blend */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, var(--plum-990) 0%, oklch(0.14 0.034 350 / 0.94) 28%, oklch(0.14 0.034 350 / 0.62) 56%, oklch(0.14 0.034 350 / 0.16) 80%, transparent 100%),
    linear-gradient(180deg, oklch(0.13 0.03 350 / 0.82) 0%, transparent 26%, transparent 50%, var(--plum-990) 100%),
    radial-gradient(72% 60% at 84% 18%, oklch(0.586 0.10 350 / 0.32) 0%, transparent 56%);
}

.hero-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ---- Composed logo (figure mark + Geist wordmark) ---- */
.logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.logo .mark { width: auto; display: block; }
.logo .wm { font-family: var(--font-sans); letter-spacing: -0.03em; line-height: 1; color: var(--fg); position: relative; }
.logo .wm .b { font-weight: 300; }
.logo .wm .s { font-weight: 600; }
.logo .wm .tm { font-size: 0.42em; font-weight: 500; vertical-align: super; margin-left: 1px; color: var(--fg-2); }
.logo .wm .sub { display: block; font-size: 0.30em; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-3); margin-top: 0.5em; }
.logo--hero .mark { height: 25.5px; }
.logo--hero .wm { font-size: 18.75px; }
.logo--foot .mark { height: 28px; }
.logo--foot .wm { font-size: 21px; }
.hero-top .tag-pill {
  font-size: var(--text-3xs); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--fg-2);
  border: 1px solid var(--border-2); border-radius: var(--r-full); padding: 8px 14px;
  background: oklch(1 0 0 / 0.03); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 8px;
}
.tag-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--plum-300); box-shadow: 0 0 10px var(--plum-300); }

.hero-body { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(40px, 8vh, 90px); }
.hero h1 {
  margin: 22px 0 0;
  font-weight: var(--fw-medium);
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 16ch;
  color: var(--fg);
}
.hero h1 .accent { color: var(--plum-300); }
.hero-sub { margin: 30px 0 0; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--fg-2); letter-spacing: -0.005em; text-wrap: pretty; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 26px; color: var(--fg-3); font-size: var(--text-sm); }
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta .mk { width: 5px; height: 5px; border-radius: 50%; background: var(--plum-400); }

.scroll-hint { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 12px; color: var(--fg-3); font-size: var(--text-xs); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 8px; }
.scroll-hint .bar { width: 34px; height: 1px; background: var(--fg-3); position: relative; overflow: hidden; }
.scroll-hint .bar::after { content:""; position:absolute; inset:0; background: var(--plum-300); transform: translateX(-100%); animation: sweep 2.6s var(--ease-in-out) infinite; }
@keyframes sweep { 0%{transform:translateX(-100%)} 55%{transform:translateX(100%)} 100%{transform:translateX(100%)} }

/* ============================================================================
   STATS band
   ============================================================================ */
.stats { padding-block: clamp(56px, 8vh, 100px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 36px); }
.stat .num { font-family: var(--font-mono); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: var(--fw-medium); letter-spacing: -0.04em; line-height: 1; color: var(--fg); display: flex; align-items: baseline; gap: 2px; }
.stat .num .unit { font-size: 0.42em; color: var(--plum-300); letter-spacing: -0.02em; }
.stat .cap { margin-top: 14px; color: var(--fg-2); font-size: var(--text-sm); line-height: 1.45; max-width: 22ch; }
@media (max-width: 860px){ .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px){ .stats-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   PROBLEM
   ============================================================================ */
.problem-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 920px){ .problem-grid { grid-template-columns: 1fr; gap: 48px; } }
.problem-media { aspect-ratio: 4 / 5; }
.problem-list { margin: 36px 0 0; display: flex; flex-direction: column; gap: 2px; }
.p-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); align-items: start; }
.p-item:last-child { border-bottom: 1px solid var(--border); }
.p-item .pn { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--plum-300); padding-top: 3px; }
.p-item h4 { margin: 0; font-size: var(--text-lg); font-weight: var(--fw-medium); letter-spacing: -0.015em; color: var(--fg); }
.p-item p { margin: 7px 0 0; color: var(--fg-2); font-size: var(--text-base); line-height: 1.5; }

/* ============================================================================
   FEATURES
   ============================================================================ */
.features-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.feature-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, oklch(0.225 0.05 350 / 0.5), oklch(0.18 0.04 350 / 0.5));
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: clamp(26px, 2.4vw, 38px);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 120% at 100% 0%, oklch(0.586 0.10 350 / 0.16) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--dur-slow) var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: oklch(0.702 0.082 350 / 0.4); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card.span-3 { grid-column: span 3; }
.card.span-2 { grid-column: span 2; }
.card.span-6 { grid-column: span 6; }
@media (max-width: 920px){ .feature-grid { grid-template-columns: 1fr 1fr; } .card.span-3, .card.span-2 { grid-column: span 1; } .card.span-6 { grid-column: span 2; } }
@media (max-width: 560px){ .feature-grid { grid-template-columns: 1fr; } .card.span-6 { grid-column: span 1; } }

.f-ico { width: 50px; height: 50px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; background: oklch(0.702 0.082 350 / 0.14); border: 1px solid oklch(0.702 0.082 350 / 0.3); color: var(--plum-300); }
.f-ico svg { width: 23px; height: 23px; }
.card h3 { margin: 22px 0 0; font-size: var(--text-xl); font-weight: var(--fw-medium); letter-spacing: -0.02em; color: var(--fg); }
.card p { margin: 12px 0 0; color: var(--fg-2); font-size: var(--text-base); line-height: 1.55; max-width: 42ch; }

/* feature hero card (AI scoring) */
.card-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
@media (max-width: 720px){ .card-feature { grid-template-columns: 1fr; } }
.score-demo { background: oklch(0.14 0.034 350 / 0.6); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 22px; }
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.score-row:last-child { border-bottom: none; }
.score-row .who { display: flex; align-items: center; gap: 12px; }
.score-row .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--plum-500), var(--plum-700)); color: var(--grey-0); display: inline-flex; align-items: center; justify-content: center; font-weight: var(--fw-semibold); font-size: 13px; flex: none; }
.score-row .nm { font-size: var(--text-sm); color: var(--fg); font-weight: var(--fw-medium); }
.score-row .role { font-size: var(--text-2xs); color: var(--fg-3); font-family: var(--font-mono); }
.score-pill { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: var(--fw-medium); padding: 4px 11px; border-radius: var(--r-full); }
.score-pill.hi { background: oklch(0.702 0.082 350 / 0.2); color: var(--plum-200); border: 1px solid oklch(0.702 0.082 350 / 0.4); }
.score-pill.mid { background: oklch(1 0 0 / 0.06); color: var(--fg-2); border: 1px solid var(--border-2); }
.score-bar { height: 3px; border-radius: 2px; background: oklch(1 0 0 / 0.08); margin-top: 9px; overflow: hidden; }
.score-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--plum-500), var(--plum-300)); border-radius: 2px; width: 0; transition: width 1.2s var(--ease-out); }

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.how { position: relative; }
.how-grid { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
@media (max-width: 1040px){ .how-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
@media (max-width: 560px){ .how-grid { grid-template-columns: 1fr; } }
.step { padding: 30px 24px 30px 0; border-top: 1px solid var(--border-2); position: relative; }
.step + .step { padding-left: 24px; }
.how-grid .step:not(:first-child)::after { content:""; }
.step .sn { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--plum-300); letter-spacing: 0.02em; }
.step .dot-line { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.step .sd { width: 9px; height: 9px; border-radius: 50%; background: var(--plum-400); box-shadow: 0 0 12px var(--plum-400); flex: none; }
.step .track { height: 1px; flex: 1; background: var(--border-2); }
.step h4 { margin: 18px 0 0; font-size: var(--text-md); font-weight: var(--fw-medium); letter-spacing: -0.01em; color: var(--fg); }
.step p { margin: 8px 0 0; color: var(--fg-3); font-size: var(--text-sm); line-height: 1.5; }

/* ============================================================================
   SOURCING
   ============================================================================ */
.sourcing { padding-block: clamp(48px, 6vh, 72px); }
.sourcing-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
@media (max-width: 920px){ .sourcing-grid { grid-template-columns: 1fr; gap: 48px; } }
.sourcing-media { position: relative; }
.sourcing-media img { position: absolute; inset: 0; }
.src-cards { margin-top: 34px; display: grid; gap: 16px; }
.src-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 32px; border: 1px solid var(--border-2); border-radius: var(--r-lg); background: oklch(0.18 0.04 350 / 0.4); backdrop-filter: blur(10px); transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.src-card:hover { border-color: oklch(0.702 0.082 350 / 0.4); background: oklch(0.2 0.045 350 / 0.5); }
.src-card h4 { margin: 0; font-size: var(--text-lg); font-weight: var(--fw-medium); letter-spacing: -0.015em; }
.src-card .tag { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--plum-300); text-transform: uppercase; letter-spacing: 0.06em; }
.src-card p { margin: 2px 0 0; color: var(--fg-2); font-size: var(--text-base); line-height: 1.55; }

/* ============================================================================
   TESTIMONIALS — white, horizontal 3-up
   ============================================================================ */
.tmint { overflow: hidden; }
.tmint .wrap { position: relative; z-index: 2; }
.tmint-head { max-width: 760px; margin-inline: auto; text-align: center; }
.tmint-head .eyebrow { justify-content: center; }
.tmint-head .hl { font-weight: var(--fw-medium); color: var(--plum-400); }
.tmint-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 1.8vw, 28px);
  align-items: stretch;
}
.tmint-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: calc(clamp(28px, 2.4vw, 40px) + 10px) clamp(28px, 2.4vw, 40px);
  overflow: hidden;
}
/* oversized watermark quote glyph */
.tmint-mark {
  position: absolute; z-index: -1; top: clamp(-26px, -1.6vw, -10px); right: 14px;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: clamp(120px, 11vw, 180px); line-height: 1;
  color: var(--plum-400); opacity: 0.16; pointer-events: none;
}
.tmint-card blockquote {
  margin: 4px 0 28px; font-size: var(--text-lg); line-height: 1.55;
  letter-spacing: -0.01em; color: var(--fg); text-wrap: pretty;
}
.tmint-card blockquote strong { font-weight: var(--fw-semibold); color: var(--plum-700); }
.tmint-by {
  margin-top: auto; padding-top: clamp(22px, 2.2vw, 30px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.tmint-mono {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-quiet); color: var(--plum-700);
  border: 1px solid oklch(0.586 0.10 350 / 0.26);
  font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.03em;
}
.tmint-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tmint-name { font-weight: var(--fw-medium); color: var(--fg); font-size: var(--text-base); letter-spacing: -0.01em; }
.tmint-role { font-size: var(--text-xs); color: var(--fg-3); line-height: 1.35; }
@media (max-width: 980px){
  .tmint-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .tmint-card { padding: 28px; }
}

/* ============================================================================
   IMAGE BAND — full-bleed cinematic parallax strip
   ============================================================================ */
.imgband { padding-block: 0; height: 350px; overflow: hidden; }
.imgband-media { position: absolute; inset: 0; }
/* dark-plum overlay (desktop only) */
.imgband::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--plum-950); opacity: 0.5;
}
.imgband-media img {
  position: absolute; left: 0; top: -16%;
  width: 100%; height: 132%;
  object-fit: cover; object-position: 50% 38%;
  filter: grayscale(0.42) saturate(0.52) contrast(1.04) brightness(0.9);
  will-change: transform;
}
@media (max-width: 680px){ .imgband { height: 240px; } .imgband::after { display: none; } }

/* ============================================================================
   QUOTE BAND — full-bleed cinematic
   ============================================================================ */
.quote-band { position: relative; overflow: hidden; padding-block: clamp(120px, 22vh, 240px); }
.qb-bg { position: absolute; inset: 0; z-index: 0; }
.qb-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: grayscale(0.55) saturate(0.4) contrast(1.05) brightness(0.7); transform: scale(1.08); }
.qb-tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, oklch(0.20 0.06 350 / 0.55) 0%, oklch(0.26 0.07 350 / 0.3) 55%, oklch(0.20 0.055 350 / 0.5) 100%); }
.qb-scrim { position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(90deg, var(--plum-990) 0%, oklch(0.14 0.034 350 / 0.92) 30%, oklch(0.14 0.034 350 / 0.5) 58%, transparent 100%),
  linear-gradient(180deg, var(--plum-990) 0%, transparent 26%, transparent 64%, var(--plum-990) 100%); }
.qb-inner { position: relative; z-index: 3; max-width: 660px; }
.qb-quote { margin: 22px 0 0; font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: var(--fw-medium); line-height: 1.16; letter-spacing: -0.03em; color: var(--fg); text-wrap: balance; }
.qb-quote .accent { color: var(--plum-300); }

/* ============================================================================
   FINAL CTA + FOOTER
   ============================================================================ */
.final { padding-top: clamp(6px, 1.6vh, 20px); padding-bottom: clamp(40px, 7vh, 100px); }
.cta { position: relative; overflow: hidden; border-radius: var(--r-2xl); border: 1px solid var(--glass-border); padding: clamp(56px, 9vw, 130px) clamp(28px, 5vw, 80px); text-align: center; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; filter: grayscale(0.82) saturate(0.3) contrast(1.06) brightness(0.46); transform: scale(1.08); }
.cta-bg::after { content:""; position:absolute; inset:0; background: radial-gradient(68% 86% at 50% 48%, oklch(0.20 0.058 350 / 0.62) 0%, oklch(0.13 0.03 350 / 0.95) 76%), linear-gradient(0deg, var(--plum-990) 4%, transparent 62%); }
.cta .eyebrow { justify-content: center; }
.cta h2 { margin: 22px auto 0; font-weight: var(--fw-medium); font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.0; letter-spacing: -0.04em; max-width: 18ch; color: var(--fg); }
.cta p { margin: 26px auto 0; max-width: 50ch; color: var(--fg-2); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; }
.cta .hero-cta { justify-content: center; margin-top: 40px; }

footer { padding-block: clamp(48px, 6vh, 80px); border-top: 1px solid var(--border); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-logo { height: 26px; width: auto; opacity: 0.92; }
.foot-right { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
/* footer demo button — 30% smaller than base .btn */
.foot-right .btn-demo { height: 37.8px; padding: 0 18.2px; font-size: 11.2px; gap: 7px; }
.foot-legal { display: flex; align-items: center; gap: 22px; }
.foot-link { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; color: var(--fg-3); font-size: var(--text-xs); text-decoration: none; transition: color 0.18s ease; }
.foot-link:link, .foot-link:visited { color: var(--fg-3); text-decoration: none; }
.foot-link:hover, .foot-link:focus-visible { color: var(--fg-1); text-decoration: none; }
.foot-copy { color: var(--fg-3); font-size: var(--text-xs); }
.foot-tm { color: var(--fg-3); font-size: var(--text-2xs); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ============================================================================
   LIGHT SECTIONS — gallery-clean white blocks with plum ink (for contrast)
   The Stats + Features sections carry data-theme="light"; these overrides retune
   the accent-coloured bits (which were authored for dark) to read on near-white.
   ============================================================================ */
section.section--light {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* accent text + eyebrow need a darker plum on white */
.section--light .eyebrow { color: var(--plum-700); }
.section--light .eyebrow::before { background: var(--plum-500); opacity: 0.7; }

/* --- Stats --- */
.section--light.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--light .stat .num .unit { color: var(--plum-600); }

/* --- Features cards: solid white surfaces, soft cool shadow --- */
.section--light .card {
  background: var(--surface);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section--light .card:hover {
  border-color: oklch(0.586 0.100 350 / 0.45);
  box-shadow: var(--shadow-lg);
}
.section--light .f-ico {
  background: var(--accent-quiet);
  border-color: oklch(0.586 0.100 350 / 0.22);
  color: var(--plum-700);
}
.section--light .score-demo {
  background: var(--bg-sunken);
  border-color: var(--border-2);
}
.section--light .score-pill.hi {
  background: var(--accent-quiet);
  color: var(--plum-700);
  border-color: oklch(0.586 0.100 350 / 0.3);
}
.section--light .score-pill.mid {
  background: oklch(0.232 0.011 300 / 0.05);
  color: var(--fg-2);
  border-color: var(--border-2);
}
.section--light .score-bar { background: oklch(0.232 0.011 300 / 0.12); }
.section--light .score-bar i { background: linear-gradient(90deg, var(--plum-600), var(--plum-400)); }

/* --- Light media treatment: brighter, cool, hairline-framed (for white sections) --- */
.media--light { border: 1px solid var(--border-2); box-shadow: var(--shadow-md); background: var(--bg-sunken); }
.media--light img { filter: grayscale(0.30) saturate(0.62) contrast(1.02) brightness(1.0); }
.media--light:hover img { filter: grayscale(0.12) saturate(0.78) contrast(1.02) brightness(1.02); }
.media--light::after {
  background:
    linear-gradient(180deg, transparent 45%, oklch(0.586 0.10 350 / 0.12) 100%),
    radial-gradient(120% 120% at 72% 8%, oklch(0.586 0.10 350 / 0.10) 0%, transparent 56%);
  mix-blend-mode: normal;
}
.media--light::before { box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.45); }

/* ============================================================================
   STAFFING GAP (white, image-rich editorial section)
   ============================================================================ */
.gap-head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.gap-head .lead { margin-top: 0; }
@media (max-width: 860px){ .gap-head { grid-template-columns: 1fr; gap: 18px; align-items: start; } }

.gap-media {
  margin-top: clamp(36px, 5vw, 64px);
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  height: clamp(340px, 42vw, 480px);
}
.gap-media .gm-a, .gap-media .gm-b { height: 100%; }
.gap-media .media img { height: 100%; }
.gm-card {
  position: absolute; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 6;
  width: min(280px, 64%);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.gm-card .gm-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: var(--fw-medium); letter-spacing: -0.045em; line-height: 0.95; color: var(--plum-700); }
.gm-card .gm-cap { font-size: var(--text-sm); color: var(--fg-2); line-height: 1.45; }
.gm-card .gm-cap .gm-hl { font-weight: var(--fw-bold); color: var(--plum-400); }

.gap-figs { margin-top: clamp(30px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-2); }
.gf { padding: clamp(22px, 2.4vw, 32px) 28px 0 0; display: flex; flex-direction: column; }
.gf + .gf { padding-left: 28px; border-left: 1px solid var(--border); }
.gf .gf-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: var(--fw-medium); letter-spacing: -0.035em; color: var(--plum-700); line-height: 1; }
.gf h4 { margin: 16px 0 0; font-size: var(--text-lg); font-weight: var(--fw-medium); letter-spacing: -0.015em; color: var(--fg); }
.gf p { margin: 8px 0 0; color: var(--fg-2); font-size: var(--text-base); line-height: 1.5; max-width: 30ch; }

/* ============================================================================
   QUOTE BAND — white typographic statement
   ============================================================================ */
.section--light.quote-band { padding-block: clamp(96px, 17vh, 190px); overflow: hidden; }
.section--light .qb-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.section--light .qb-inner .eyebrow { justify-content: center; }
.section--light .qb-quote { color: var(--fg); margin-top: 26px; font-weight: 300; letter-spacing: -0.035em; }
.section--light .qb-quote .accent { color: var(--plum-700); font-weight: var(--fw-bold); }
.qb-cta { margin-top: clamp(28px, 4vh, 44px); display: flex; justify-content: center; position: relative; z-index: 3; }
/* compact, dark-plum demo button (quote band) */
.qb-cta .qb-demo { height: 38px; padding: 0 18px; font-size: var(--text-sm); gap: 7px; background: var(--plum-950); color: var(--grey-0); box-shadow: none; }
.qb-cta .qb-demo:hover { background: var(--plum-900); color: var(--grey-0); transform: translateY(-2px); box-shadow: none; }
.qb-cta .qb-demo .arrow { font-size: 1em; }

/* ============================================================================
   RESPONSIVE — a deliberate mobile layout (scaled type, imagery & rhythm)
   ============================================================================ */

/* Tablet / small laptop */
@media (max-width: 900px){
  section { padding-block: clamp(64px, 10vh, 104px); }
  .quote-band { padding-block: clamp(88px, 16vh, 150px); }
}

/* Phone */
@media (max-width: 680px){
  section { padding-block: clamp(56px, 9vh, 80px); }

  /* tighter section heads + leads */
  .section-title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); letter-spacing: -0.03em; }
  .lead { font-size: clamp(1rem, 4.4vw, 1.15rem); margin-top: 18px; }
  .eyebrow { font-size: var(--text-3xs); }

  /* ---- hero ---- */
  .hero { min-height: 100svh; padding-top: 24px; padding-bottom: 0; }
  .hero-top { flex-wrap: wrap; gap: 12px; }
  .hero-top .tag-pill { display: none; }
  .logo--hero .mark { height: 28px; }
  .logo--hero .wm { font-size: 21px; }
  .logo--hero .wm .sub { font-size: 7px; letter-spacing: 0.14em; margin-top: 0.7em; }
  .hero-body { padding-top: 0; padding-bottom: 34px; justify-content: flex-start; }
  .hero-body .eyebrow { margin-top: auto; }
  .hero-body .hero-cta { margin-top: auto; }
  .hero-body .hero-meta { margin-top: 16px; }
  .hero h1 { font-size: clamp(2.7rem, 13.5vw, 3.9rem); line-height: 1.0; letter-spacing: -0.04em; margin-top: 18px; }
  .hero-sub { margin-top: 22px; font-size: clamp(1.02rem, 4.6vw, 1.18rem); max-width: 38ch; }
  .hero-cta { margin-top: 28px; gap: 10px; width: 100%; flex-wrap: nowrap; }
  .hero-cta .btn { width: auto; flex: 1 1 0; min-width: 0; height: 46px; font-size: var(--text-sm); padding: 0 10px; gap: 6px; white-space: nowrap; }
  .hero-meta { margin-top: 26px; gap: 12px 22px; font-size: var(--text-xs); }
  /* legible image scrim on a narrow viewport */
  .hero-scrim {
    background:
      linear-gradient(180deg, oklch(0.13 0.03 350 / 0.55) 0%, oklch(0.14 0.034 350 / 0.30) 36%, oklch(0.14 0.034 350 / 0.55) 66%, var(--plum-990) 100%),
      linear-gradient(90deg, var(--plum-990) 0%, oklch(0.14 0.034 350 / 0.74) 52%, oklch(0.14 0.034 350 / 0.40) 100%);
  }
  .hero-bg img { object-position: 64% 26%; }
  .scroll-hint { display: none; }

  /* ---- buttons full-width, comfortable tap target ---- */
  .btn { width: 100%; justify-content: center; }
  .btn-lg { height: 56px; font-size: var(--text-md); }

  /* ---- staffing gap ---- */
  .gap-media { grid-template-columns: 1fr; height: auto; gap: 12px; }
  .gap-media .gm-a, .gap-media .gm-b { height: 280px; }
  .gm-card { position: static; width: 100%; margin-top: 2px; border: none; box-shadow: none; background: transparent; padding: 0; }
  .gap-figs { grid-template-columns: 1fr; margin-top: 26px; border-top: none; }
  .gf { padding: 22px 0; border-top: 1px solid var(--border); }
  .gf + .gf { padding-left: 0; border-left: none; }
  .gf h4 { margin-top: 12px; font-size: var(--text-md); }
  .gf p { font-size: var(--text-sm); max-width: none; }

  /* ---- problem ---- */
  .problem-grid { gap: 0; }
  .problem-media { display: none; }
  .problem-list { margin-top: 28px; }
  .p-item { gap: 16px; padding: 18px 0; }
  .p-item h4 { font-size: var(--text-md); }
  .p-item p { font-size: var(--text-sm); }

  /* ---- quote band ---- */
  .section--light.quote-band { padding-block: clamp(72px, 12vh, 110px); height: auto !important; }
  .section--light .qb-inner { max-width: 100%; }
  .qb-quote { font-size: clamp(1.7rem, 8vw, 2.3rem); line-height: 1.18; }
  .qb-cta { margin-top: 30px; }
  .qb-cta .qb-demo { width: auto; }
  .quote-band .puzzle--center .puzzle-img { transform: scaleY(1.32); }

  /* ---- features ---- */
  .features-head { gap: 18px; }
  .feature-grid { margin-top: 28px; gap: 14px; }
  .card { padding: 24px; }
  .card h3 { margin-top: 18px; font-size: var(--text-lg); }
  .card p { font-size: var(--text-sm); }
  .card-feature { gap: 22px; }
  .f-ico { width: 44px; height: 44px; }
  .f-ico svg { width: 21px; height: 21px; }
  .score-demo { padding: 18px; }

  /* ---- how it works ---- */
  .how-grid { margin-top: 30px; gap: 0; }
  .step { padding: 22px 0; }
  .step + .step { padding-left: 0; }
  .step .dot-line { margin-top: 14px; }
  .step h4 { margin-top: 14px; }

  /* ---- sourcing ---- */
  .sourcing-grid { gap: 36px; }
  .sourcing-media { aspect-ratio: 3 / 2; order: -1; }
  .src-cards { margin-top: 26px; }
  .src-card { padding: 24px 24px; gap: 9px; }
  .src-card h4 { font-size: var(--text-md); }
  .src-card p { font-size: var(--text-sm); }

  /* ---- final CTA ---- */
  .cta { padding: clamp(44px, 12vw, 64px) clamp(22px, 7vw, 36px); }
  .cta h2 { font-size: clamp(2rem, 9vw, 2.9rem); }
  .cta p { font-size: clamp(1rem, 4.4vw, 1.15rem); margin-top: 20px; }
  .cta .hero-cta { margin-top: 30px; }
  .closer-cta .btn { width: auto; }

  /* ---- footer ---- */
  footer { padding-block: 44px; }
  .foot { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .logo--foot .wm { display: none; }
  .foot-right { flex-direction: column; align-items: center; gap: 16px; width: 100%; }
  .foot-right .btn-demo { display: none; }
  .foot-copy { text-align: center; }
}

/* Narrow phones */
@media (max-width: 440px){
  .hero-meta { gap: 10px 18px; }
  .hero-meta span { font-size: var(--text-2xs); }
}

/* ============================================================================
   FLOATING GLASS PUZZLE PIECES — premium ambient motion
   Three composed transform layers so parallax (.puzzle), entrance (.puzzle-spin)
   and idle float (.puzzle-img) never fight each other.
   ============================================================================ */
section { position: relative; }
.puzzle {
  position: absolute;
  z-index: -1;                       /* behind text, above the flat section bg */
  pointer-events: none;
  width: var(--size, 200px);
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1.4s var(--ease-out);
}
.puzzle.in { opacity: var(--op, 0.7); }
.puzzle--front { z-index: 2; }        /* hero: above the photo, below the headline */
.section--light .puzzle { z-index: 1; } /* light sections have an opaque bg, so sit the piece in front (placed in whitespace) */
/* big centered watermark piece (quote band): centered via margins so JS parallax (transform) stays free */
.puzzle--center {
  left: 50%;
  top: 50%;
  margin-left: calc(var(--size) / -2);
  margin-top: calc(var(--size) * -0.485);
}
.puzzle--center .puzzle-img { animation: none; }
.puzzle-spin {
  display: block;
  transform: scale(0.55) rotate(calc(var(--rot, 0deg) - 45deg));
  transition: transform 1.7s var(--ease-out);
  transform-origin: center;
  will-change: transform;
}
.puzzle.in .puzzle-spin { transform: scale(1) rotate(var(--rot, 0deg)); }
.puzzle-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 24px oklch(0.586 0.10 350 / 0.28));
}
.section--light .puzzle-img { filter: drop-shadow(0 16px 28px rgba(40, 14, 31, 0.26)) drop-shadow(0 2px 6px rgba(40, 14, 31, 0.22)); }

@media (prefers-reduced-motion: no-preference) {
  .puzzle-img { animation: pzFloat var(--float, 7s) var(--ease-in-out) infinite alternate; }
}
@keyframes pzFloat {
  from { transform: translateY(-11px) rotate(-2.6deg); }
  to   { transform: translateY(11px)  rotate(2.6deg); }
}

/* keep the composition calm on phones — shrink and drop the busier pieces */
@media (max-width: 680px) {
  .puzzle:not(.puzzle--center) { width: calc(var(--size, 200px) * 0.62); }
  .puzzle.in { opacity: calc(var(--op, 0.7) * 0.8); }
  .puzzle--hide-sm { display: none; }
}

/* ============================================================================
   THIN DISPLAY TREATMENT + TIME-BACK SECTION
   ============================================================================ */
.section-title--thin { font-weight: 300; }
.section--light .section-title--thin .accent { font-weight: var(--fw-bold); color: var(--plum-700); }
.tmint-head .section-title--thin .hl { font-weight: var(--fw-medium); color: var(--plum-400); }

/* centered watermark piece sits behind the quote text */
.quote-band .qb-inner { position: relative; z-index: 2; }

/* ----- Time back (white, time-saved) ----- */
.timeback { overflow: hidden; }
.timeback .wrap { position: relative; z-index: 2; }   /* central content above the floating photos */
.tb-head { max-width: 760px; margin-inline: auto; text-align: center; }
.tb-head .lead { margin-inline: auto; }

.tb-focal { margin: clamp(36px, 5vw, 64px) auto 0; max-width: 680px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.tb-num { font-family: var(--font-mono); font-weight: var(--fw-medium); font-size: clamp(4.5rem, 14vw, 9rem); line-height: 0.86; letter-spacing: -0.06em; color: var(--plum-700); display: inline-flex; align-items: flex-start; }
.tb-num .tb-plus { font-size: 0.5em; line-height: 1; margin-top: 0.08em; }
.tb-num .tb-unit { font-size: 0.3em; color: var(--plum-500); letter-spacing: -0.02em; align-self: flex-end; margin-bottom: 0.55em; margin-left: 0.18em; }
.tb-cap { font-size: var(--text-lg); color: var(--fg-2); line-height: 1.5; max-width: 34ch; text-wrap: pretty; }
.tb-figs { margin-top: clamp(40px, 5vw, 64px); max-width: 980px; margin-inline: auto; }

.tb-float-wrap { position: absolute; z-index: 1; pointer-events: none; width: var(--w, 200px); will-change: transform; }
.tb-float { margin: 0; width: 100%; aspect-ratio: 4 / 5; transform: rotate(var(--rot, 0deg)); }
.tb-f1 { --w: 196px; --rot: -7deg; top: 15%; left: 0%; }
.tb-f2 { --w: 214px; --rot: 6deg;  top: 22%; right: 0%; }
.tb-f3 { --w: 158px; --rot: 9deg;  top: 55%; left: 3%; }
@media (max-width: 1040px) {
  .tb-f1 { --w: 138px; top: 7%; }
  .tb-f2 { --w: 150px; top: 9%; }
  .tb-f3 { display: none; }
}
@media (max-width: 680px) {
  .tb-float-wrap { display: none; }
  .tb-focal { gap: 12px; }
  .tb-cap { font-size: var(--text-md); }
}

/* ============================================================================
   WATCH / VIDEO — plum section with soft light gradients + click-to-play embed
   ============================================================================ */
.watch {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(72% 60% at 50% -4%, oklch(0.42 0.095 350 / 0.55) 0%, transparent 60%),
    radial-gradient(60% 80% at 10% 108%, oklch(0.46 0.10 350 / 0.40) 0%, transparent 56%),
    radial-gradient(55% 70% at 92% 26%, oklch(0.50 0.10 350 / 0.30) 0%, transparent 52%),
    var(--plum-990);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.watch-head { max-width: 720px; margin-inline: auto; text-align: center; }
.watch-head .eyebrow { justify-content: center; }
.watch-head .lead { margin-inline: auto; }

.watch-player { margin: clamp(36px, 5vw, 60px) auto 0; max-width: 588px; }
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  background: #000;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), 0 0 0 1px oklch(0 0 0 / 0.4), 0 50px 130px -36px oklch(0.586 0.10 350 / 0.55);
}
.yt-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.92) contrast(1.02) brightness(0.92);
  transform: scale(1.01);
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease-out);
}
.yt:hover .yt-thumb { transform: scale(1.05); filter: saturate(1) contrast(1.02) brightness(1); }
.yt-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, oklch(0.13 0.03 350 / 0.18) 0%, oklch(0.13 0.03 350 / 0.5) 100%),
    radial-gradient(58% 58% at 50% 50%, transparent 42%, oklch(0.13 0.03 350 / 0.5) 100%);
}
.yt-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg);
  background: oklch(0.13 0.03 350 / 0.55);
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  padding: 6px 13px;
  backdrop-filter: blur(8px);
}
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; width: clamp(64px, 7vw, 90px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid oklch(1 0 0 / 0.35);
  background: oklch(0.702 0.082 350 / 0.94); color: var(--plum-990);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 44px -8px oklch(0.586 0.10 350 / 0.7);
  transition: transform 0.28s var(--ease-out), background 0.28s var(--ease-out);
}
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.09); background: var(--plum-300); }
.yt-play svg { width: 40%; height: 40%; margin-left: 7%; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt--playing .yt-thumb,
.yt--playing .yt-scrim,
.yt--playing .yt-play,
.yt--playing .yt-badge { display: none; }

@media (max-width: 680px) {
  .yt { border-radius: var(--r-lg); }
  .yt-badge { top: 12px; left: 12px; }
}

/* ============================================================================
   CLOSER — bold last-ditch CTA (plum gradient band)
   ============================================================================ */
.closer {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(84px, 15vh, 180px);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(82% 72% at 50% -12%, oklch(0.30 0.080 350 / 0.65) 0%, transparent 60%),
    radial-gradient(70% 80% at 10% 122%, oklch(0.26 0.070 350 / 0.55) 0%, transparent 56%),
    radial-gradient(60% 70% at 92% 18%, oklch(0.32 0.078 350 / 0.42) 0%, transparent 50%),
    var(--plum-990);
}
/* faded child photo behind the closer — ~25% opacity, blended into the plum */
.closer-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.closer-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  opacity: 0.25;
  filter: grayscale(0.5) saturate(0.45) contrast(1.02) brightness(0.85);
  will-change: transform;
}
.closer-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(68% 74% at 50% 44%, transparent 0%, var(--plum-990) 64%),
    linear-gradient(180deg, var(--plum-990) 0%, transparent 28%, transparent 66%, var(--plum-990) 100%);
}
.closer-inner { max-width: 840px; margin-inline: auto; position: relative; z-index: 2; }
.closer .eyebrow { justify-content: center; }
.closer-title {
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin: 20px 0 0;
  text-wrap: balance;
}
.closer-title .accent { color: var(--plum-300); }
.closer-title .hl { font-weight: var(--fw-medium); color: var(--plum-400); }
.closer-sub {
  margin: 26px auto 0;
  max-width: 56ch;
  color: var(--fg-2);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.closer-cta { margin-top: 34px; display: flex; justify-content: center; }
/* closer demo button — 30% smaller than btn-lg, proportions preserved */
.closer-cta .btn-lg { height: 42px; padding: 0 22.4px; font-size: 13.3px; gap: 7px; }
.closer-fine { display: block; margin-top: 34px; color: #fff; font-size: var(--text-sm); letter-spacing: 0.01em; }
