/* ============================================================
   Stride — Homepage (v4)
   Fletch PMM structure. Tokens from stride-tokens.css.
   Bound palette: ink / paper / flare / pace. No gradients by
   default (gradient is an opt-in Tweak only). Sharp corners,
   color blocks for depth, no drop shadows.
   ============================================================ */

:root {
  --warm-white: #FFFCFC;   /* primary page ground */
  --light-grey: #F5F5F4;   /* secondary section ground */
  --wrap: 1180px;
  --accent: var(--stride-flare);          /* tweakable accent */
  --display-weight: 700;                  /* tweakable display weight */
  --hero-bg: var(--stride-flare);         /* solid by default; gradient is a tweak */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; background: var(--warm-white); }
body { margin: 0; background: var(--warm-white); color: var(--ink-1);
  font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.wrap--wide { max-width: 1600px; }
.wrap--xwide { max-width: none; padding: 0 32px; }
/* centered single reading column — testimonials + client-love stack down the middle */
.wrap--mid { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-sans); font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  padding: 0 24px; height: 50px; display: inline-flex; align-items: center; gap: 9px; border: none;
  cursor: pointer; transition: transform var(--dur-quick) var(--ease-stride), background var(--dur-quick), color var(--dur-quick); border-radius: var(--r-pill); white-space: nowrap; }
.btn-primary { background: var(--ink-1); color: var(--paper-0); }
.btn-primary:hover { background: #2A2C2E; }
.btn-ghost { background: transparent; color: var(--ink-1); border: 1px solid var(--ink-1); }
.btn-ghost:hover { background: var(--ink-1); color: var(--paper-0); }
.btn:active { transform: translate(2px, 2px); }

/* ---------- Inline cross-links ---------- */
.xlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px;
  color: var(--ink-1); border-bottom: 1px solid var(--ink-1); padding-bottom: 2px; line-height: 1;
  transition: color var(--dur-quick), border-color var(--dur-quick); }
.xlink:hover { color: var(--accent); border-color: var(--accent); }
.xlink .arw { transition: transform var(--dur-base) var(--ease-stride); }
.xlink:hover .arw { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.section { padding: 112px 0; }
#packages { padding-top: 56px; padding-bottom: 56px; }
.pack-emoji { position: absolute; top: 50%; right: 56px; transform: translateY(-50%);
  font-size: 96px; line-height: 1; pointer-events: none; }
/* packages: responsive on small screens */
@media (max-width: 640px) {
  .pack { padding: 26px 24px; border-left-width: 5px; }
  .pack::after { top: 22px; right: 22px; font-size: 30px; }
  .pack-name { font-size: 28px; }
  .pack-price { font-size: 30px; }
  .pack-desc { font-size: 19px; }
  .pack-what { font-size: 18px; }
  .pack-sub { font-size: 20px; }
  .pack-list li { font-size: 17px; }
  .pack-emoji { font-size: 52px; right: 20px; opacity: 0.85; }
}
#testimonials { padding-top: 56px; }
.proofbar { background: transparent; color: var(--ink-1); padding: 40px 0; border-bottom: 1px solid var(--paper-4); }
.proofbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.proof { display: flex; flex-direction: column; gap: 8px; }
.proof-n { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.03em; line-height: 1; color: var(--stride-pace); }
.proof-l { font-size: 15px; line-height: 1.4; color: var(--ink-3); }
@media (max-width: 760px) { .proofbar-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; } }
.how-flow-frame { width: 100%; max-width: 720px; margin: 32px auto 0; aspect-ratio: 760 / 1000; }
.how-flow-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.section--tight { padding: 80px 0; }
.section--grey { background: var(--light-grey); }
.section--ink { background: var(--ink-1); }
.section--ink .sec-h { color: var(--paper-0); }
.section--ink .eyebrow { color: var(--on-ink-3); }
.section--ink .eyebrow::before { background: var(--on-ink-3); }
.section--ink .faq-item { border-top-color: rgba(255,255,255,0.22); }
.section--ink .faq-item:last-child { border-bottom-color: rgba(255,255,255,0.22); }
.section--ink .faq-trigger { color: var(--paper-0); }
.section--ink .faq-trigger:hover { color: var(--accent); }
.section--ink .faq-answer-inner { color: var(--on-ink-2); }

/* platform / VC aside — compact ink pop-out card inset on the paper band */
.platform-band { background: var(--light-grey); padding-top: 0; padding-bottom: 40px; }
.platform-lead .eyebrow { color: var(--stride-flare); }
.platform-lead .eyebrow::before { background: var(--stride-flare); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--ink-1); color: var(--paper-0); padding: 48px 56px; border-radius: 6px; }
.platform-h { margin: 16px 0 0; max-width: 16ch; color: var(--stride-white);
  font-size: clamp(30px, 3vw, 44px); }
.platform-intro { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--on-ink-2);
  margin: 16px 0 0; max-width: 42ch; }
.platform-cta { margin-top: 28px; }
.platform-list { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.platform-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
  font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--stride-white); }
.platform-marker { font-family: var(--font-display); font-weight: 700; color: var(--stride-flare); line-height: 1.3; }
.platform-close { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3; letter-spacing: -0.02em; color: var(--ink-1); margin: 32px 0 0; padding-top: 28px;
  border-top: 2px solid var(--ink-1); max-width: 36ch; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ink-4); }
.flare { color: var(--accent); }

.sec-head { margin-bottom: 52px; max-width: 760px; }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-h { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(32px, 4vw, 50px);
  line-height: 1.03; letter-spacing: -0.03em; margin: 0; }
.sec-intro { font-size: 18px; color: var(--ink-3); line-height: 1.55; margin: 20px 0 0; max-width: 640px; }

.corner-mark { position: absolute; font-family: var(--font-display); font-weight: 500; font-size: 13px;
  letter-spacing: -0.01em; color: var(--ink-4); }

/* ===========================================================
   NAV
   =========================================================== */
.nav { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between;
  align-items: center; padding: 16px 40px; background: rgba(255,252,252,0.94);
  border-bottom: 1px solid var(--paper-4); gap: 32px; }
.nav-mark { display: flex; align-items: center; gap: 12px; }
.nav-swoosh { height: 30px; width: auto; display: block; color: var(--ink-1); transition: transform var(--dur-base) var(--ease-stride); }
.nav-mark:hover .nav-swoosh { transform: translate(1px, 1px); }
.nav-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -0.04em; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 16px; font-weight: 500; color: var(--ink-1); white-space: nowrap; transition: color var(--dur-quick); }
.nav-link:hover { color: var(--accent); }
.nav .btn { height: 46px; font-size: 15px; padding: 0 26px; }
.nav-cta { background: transparent; color: var(--ink-1); border: 4px solid var(--ink-1); border-radius: 8px;
  text-transform: none; letter-spacing: -0.005em; font-weight: 600;
  transition: transform var(--dur-quick) var(--ease-stride), color var(--dur-quick), border-color var(--dur-quick); }
.nav-cta:hover { color: var(--stride-flare); border-color: var(--stride-flare); }
.nav-cta:active { transform: translate(6px, -6px); background: transparent; border-color: var(--stride-yellow); color: var(--ink-1); }

/* ===========================================================
   1 — HERO  (Version H: paper ground, Swiss grid, circular tinted photo)
   =========================================================== */
.hero { position: relative; overflow: hidden; background: var(--paper-0); color: var(--stride-ink); isolation: isolate; min-height: 640px; }
.hero-h1 .accent { color: var(--stride-flare); }
.hero-grid { display: none; }
.hero-grid--unused { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20,21,22,0.07) 2px, transparent 2px),
    linear-gradient(rgba(20,21,22,0.07) 2px, transparent 2px),
    linear-gradient(90deg, rgba(20,21,22,0.07) 2px, transparent 2px),
    linear-gradient(90deg, rgba(20,21,22,0.07) 2px, transparent 2px);
  background-size: 100% 136px, 100% 136px, 136px 100%, 136px 100%;
  background-position: 0 0, 0 16px, 0 0, 16px 0; }
.hero .corner { position: absolute; z-index: 4; font-family: var(--font-display); font-weight: 700;
  font-size: 40px; letter-spacing: -0.02em; color: var(--stride-ink); line-height: 1; }
.hero .c-tl { top: 28px; left: 40px; } .hero .c-tr { top: 28px; right: 40px; }
.hero .c-bl { bottom: 28px; left: 40px; } .hero .c-br { bottom: 28px; right: 40px; }
.hero-photo-stack { position: absolute; z-index: 1; right: 4%; top: 50%; transform: translateY(-50%) translateY(-52px);
  width: 448px; height: 516px; pointer-events: none; }
.hero-photo-rect { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 338px; height: 466px; z-index: 0; }
.hero-photo-rect image-slot { width: 100%; height: 100%; pointer-events: auto; }
.hero-photo-rect image-slot::part(image) { filter: grayscale(1); }
.hero-photo-disc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 448px; height: 448px; z-index: 1; opacity: 0.85; }
.hero-photo-disc image-slot { width: 100%; height: 100%; pointer-events: auto; }
.hero-inner { position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; padding: 84px 40px 48px; }
/* on desktop, keep the text column clear of the right-side photo */
@media (min-width: 1025px) { .hero-inner { padding-right: 500px; } }
/* desktop: tighten hero footprint so the logo sliders sit within the first screen */
@media (min-width: 1025px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 20px; padding-bottom: 36px; }
}
.hero-eyebrow { color: var(--stride-flare); margin-bottom: 24px; }
.hero-eyebrow::before { background: var(--stride-flare); }
/* portfolio logos spread across the bottom of the hero, below the CTAs */
.hero-logos { position: relative; z-index: 3; order: 2; max-width: var(--wrap); margin: -19px auto 0; padding: 8px 0; }
.hero-logos .logo-marquee { padding: 0; }
/* scrolling carousel like the studio bar below, with larger marks */
.hero-logos .logo-marquee--scroll .logo-half { gap: 60px; padding-right: 60px; }
.hero-logos .logo-marquee--scroll .logo-half image-slot,
.hero-logos .logo-marquee--scroll .logo-mirror { width: 168px; height: 76px; }
.hero-logos .logo-marquee--scroll .logo-mirror .cap { font-size: 20px; }
/* uniform sizing across the loop: drop the per-mark scale tuning (mirror has no ids) */
.hero-logos .logo-marquee--scroll #portco-4,
.hero-logos .logo-marquee--scroll #portco-5 { transform: none; }
/* logos are now transparent SVG/PNG — render as-is; no white-removal blend (it boxed on mobile) */
.hero-logos .logo-marquee--scroll .logo-half image-slot::part(image),
.hero-logos .logo-marquee--scroll .logo-mirror img { mix-blend-mode: normal; filter: none; }
@media (max-width: 760px) {
  .hero-logos .logo-marquee--scroll .logo-half { gap: 40px; padding-right: 40px; }
  .hero-logos .logo-marquee--scroll .logo-half image-slot,
  .hero-logos .logo-marquee--scroll .logo-mirror { width: 132px; height: 62px; }
}
.hero-h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98; letter-spacing: -0.045em; margin: 0 0 36px; max-width: 100%; }
.hero-sub { font-size: clamp(25px, 2.25vw, 31px); line-height: 1.45; color: var(--ink-1); max-width: 100%; margin: 0 0 44px; font-weight: 500; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-hero { background: var(--stride-flare); color: var(--ink-1); border: 4px solid var(--ink-1); border-radius: 10px; height: 54px; font-size: 17px; padding: 0 30px; }
.btn-hero:hover { background: #E64825; color: var(--ink-1); }
.btn-hero-ghost { background: transparent; color: var(--ink-1); border: 4px solid var(--ink-1); border-radius: 10px; height: 54px; font-size: 17px; padding: 0 30px; }
.btn-hero-ghost:hover { background: var(--ink-1); color: var(--stride-paper); }

/* hero entrance */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-h1, .hero-sub, .hero-actions, .hero-eyebrow { opacity: 0; transform: translateY(22px); animation: rise 0.7s var(--ease-stride) forwards; }
.hero-eyebrow { animation-delay: 0.02s; }
.hero-h1 { animation-delay: 0.10s; }
.hero-sub { animation-delay: 0.26s; }
.hero-actions { animation-delay: 0.40s; }
.hero-photo-stack { opacity: 0; animation: fadeIn 0.9s var(--ease-stride) 0.30s forwards; }

/* scroll reveal */
.pre-reveal { opacity: 0; transform: translateY(18px); }
.is-revealed { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-stride), transform 0.6s var(--ease-stride); }

/* entrance failsafe — guarantees content is visible even if animations don't run */
html.force-show .hero-h1,
html.force-show .hero-sub,
html.force-show .hero-actions,
html.force-show .hero-eyebrow { opacity: 1 !important; transform: none !important; }
html.force-show .hero-photo-stack { opacity: 1 !important; }
html.force-show .pre-reveal { opacity: 1 !important; transform: none !important; }

/* ===========================================================
   2 — LOGO BAR
   =========================================================== */
.logobar { padding-top: 32px; padding-bottom: 8px; }
.logobar-lead { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(42px, 4.8vw, 62px);
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 26px; max-width: 22ch; }
.logobar-desc { font-size: clamp(24px, 2.1vw, 31px); line-height: 1.55; color: var(--ink-1); margin: 0 0 52px; max-width: 70ch; background: none; }
.logobar-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(40px, 5.2vw, 74px);
  letter-spacing: -0.035em; line-height: 1.02; color: var(--ink-1); margin: 0 0 24px; max-width: 30ch; }
.logobar-head { background: none; color: var(--ink-1); margin: 0; padding: 0; }
.logobar-head .logobar-desc { color: var(--ink-1); margin-bottom: 0; }
.logobar-head .desc-link:hover { color: var(--ink-4); }
.desc-link { color: inherit; text-decoration: none; transition: color var(--dur-quick); }
.desc-link:hover { color: var(--ink-4); }
.logo-label { font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 20px; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.logo-grid image-slot { width: 100%; height: 92px; }
.portco-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.portco-grid image-slot { width: 100%; height: 80px; }
/* logos blend with the page — no frame fill, no dashed outline */
.logo-grid image-slot::part(frame),
.logo-half image-slot::part(frame),
.portco-grid image-slot::part(frame) { background: transparent; box-shadow: none; outline: none; }
.logo-grid image-slot::part(ring),
.logo-half image-slot::part(ring),
.portco-grid image-slot::part(ring) { display: none; }
/* dropped logos: knock out white bg, keep original colours */
.logo-half image-slot::part(image),
.portco-grid image-slot::part(image) { mix-blend-mode: multiply; }
/* lift light-grey baked-in squares to white so multiply knocks them out */
.logo-half image-slot::part(image) { filter: contrast(1.45) brightness(1.12); }
/* light-text-on-dark logos: invert so the text reads black and the dark
   background lifts to white and is knocked out by the multiply blend */
.logo-half #studio-6::part(image),
.logo-half #studio-8::part(image) { filter: invert(1) contrast(1.3) brightness(1.08); }
.logo-block { background: var(--stride-white); padding: 14px 32px; }
.logo-block--bare { background: none; padding-left: 0; padding-right: 0; margin-top: -26px; }
.logo-block + .logo-block { margin-top: 40px; }

/* logo rows */
.logo-marquee { position: relative; width: 100%; padding: 18px 0; }
.logo-marquee + .logo-marquee { padding-top: 0; }
.logo-mirror { width: 180px; height: 76px; display: grid; place-items: center; }

/* static row (portfolio) — spread evenly, no animation, mirror hidden */
.logo-marquee--static { overflow: visible; }
.logo-marquee--static .logo-track { display: flex; width: 100%; animation: none; }
.logo-marquee--static .logo-half[aria-hidden="true"] { display: none; }
.logo-marquee--static .logo-half { display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding-right: 0; width: 100%; flex-wrap: wrap; }
.logo-marquee--static .logo-half > * { flex: 1 1 0; }

/* moving slider (studios) — seamless horizontal scroll */
.logo-marquee--scroll { overflow: hidden; }
.logo-marquee--scroll .logo-track { display: flex; width: max-content; animation: logoscroll 38s linear infinite; }
.logo-marquee--scroll:hover .logo-track { animation-play-state: paused; }
.logo-marquee--scroll .logo-half { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.logo-marquee--scroll .logo-half > * { flex: 0 0 auto; }
.logo-marquee--scroll .logo-half image-slot { height: 48px; }
.logo-half image-slot { width: 180px; height: 76px; }
.logo-mirror { width: 180px; height: 76px; display: grid; place-items: center; }
.logo-mirror img { max-width: 100%; max-height: 100%; object-fit: contain; display: block;
  mix-blend-mode: multiply; }
.logo-mirror .cap { font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink-1); white-space: nowrap; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logoscroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ===========================================================
   3 — PACKAGES + PRICING
   =========================================================== */
.packs { margin-top: 8px; display: flex; flex-direction: column; gap: 18px; }
.pack { display: block; position: relative; cursor: pointer; padding: 36px 64px 36px 44px;
  background: var(--paper-0); color: var(--ink-1);
  border: 2px solid var(--ink-1); border-left-width: 6px;
  transition: transform var(--dur-quick) var(--ease-stride); }
.pack::after { content: "+"; position: absolute; top: 30px; right: 40px; font-family: var(--font-display);
  font-weight: 400; font-size: 36px; line-height: 1; color: var(--ink-3); transition: transform var(--dur-base) var(--ease-stride); }
.pack.open::after { content: "\2013"; }
.pack-detail { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease-stride), opacity .3s ease, margin-top .3s ease; }
.pack.open .pack-detail { max-height: 3000px; opacity: 1; margin-top: 28px; } /* fallback cap; homepage-v4.js sets the exact content height inline so it never clips */
.pack-what { font-size: 22px; line-height: 1.5; color: var(--ink-2); margin: 0 0 26px; max-width: 62ch; }
.pack-sub { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--ink-1); margin: 0 0 14px; max-width: 60ch; }
.pack:hover { transform: translate(2px, 2px); }
/* color OUTLINE only — text stays black on white */
.pack.lead, .pack--ink { border-color: var(--ink-1); }
.pack--flare { border-color: var(--stride-flare); }
.pack--pace { border-color: var(--stride-pace); }
.pack-head { display: flex; flex-direction: column; gap: 16px; }
.pack-name { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.025em; line-height: 1.02; }
.pack-price { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; line-height: 1; color: var(--ink-1); }
.pack-price small { font-family: var(--font-mono); font-weight: 400; font-size: 14px; letter-spacing: 0.04em; color: var(--ink-4); display: block; margin-top: 8px; text-transform: uppercase; }
.pack-tag { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.pack.lead .pack-tag, .pack--ink .pack-tag { color: var(--ink-3); }
.pack--flare .pack-tag { color: var(--stride-flare); }
.pack--pace .pack-tag { color: #c98a00; }
.pack-desc { font-size: 26px; line-height: 1.5; color: var(--ink-2); margin: 0 0 30px; max-width: 62ch; }
#platform .pack-desc { font-size: 21px; margin-bottom: 8px; }
/* platform pack: black card, white text, orange accents kept */
#platform .pack { background: var(--ink-1); border-color: var(--stride-flare); }
#platform .pack::after { color: var(--stride-paper); }
#platform .pack-name { color: var(--stride-white); }
#platform .pack-desc { color: var(--on-ink-2); }
#platform .pack-gets { color: var(--on-ink-3); }
#platform .pack-list li { color: var(--stride-white); }
#platform .pack-list li::before { color: var(--stride-flare); }
.pack-gets { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 18px; }
.pack-list { display: flex; flex-direction: column; gap: 13px; }
.pack-list li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; font-size: 22px; line-height: 1.5; color: var(--ink-1); }
.pack-list li::before { content: "→"; font-weight: 600; color: var(--ink-1); }
.pack.lead .pack-list li::before, .pack--ink .pack-list li::before { color: var(--ink-1); }
.pack--flare .pack-list li::before { color: var(--stride-flare); }
.pack--pace .pack-list li::before { color: #c98a00; }
.packs-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.packs-foot p { margin: 0; font-size: 16px; color: var(--ink-3); }

/* ---------- Module C pricing tiers + card CTAs ---------- */
.pack-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 22px; }
.pack-tiers .tier { border: 1px solid var(--paper-4); border-radius: var(--r-4); padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.pack-tiers .tier-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.pack-tiers .tier-vol { font-size: 15px; color: var(--ink-3); }
.pack-tiers .tier-price { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--ink-1); }
.pack-tiers .tier-price small { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--ink-4); }
.pack-note { font-size: 15px; font-style: italic; color: var(--ink-4); margin: 0 0 20px; }
.pack-more { margin-top: 2px; }
.pack-learn { margin-top: 4px; }
@media (max-width: 560px) { .pack-tiers { grid-template-columns: 1fr; } }

/* ===========================================================
   4 — TESTIMONIAL
   =========================================================== */
.quote-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink-1); }
.quote-card { margin: 0; padding: 44px 26px 36px; border-right: 1px solid var(--paper-4); display: flex; flex-direction: column; }
.quote-card:last-child { border-right: none; }
.quote-mark { font-family: var(--font-display); font-weight: 700; font-size: 90px; line-height: 0.62;
  color: var(--accent); height: 46px; display: block; }
.quote-body { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.22; letter-spacing: -0.02em; margin: 26px 0 32px; flex: 1; }
.quote-attr { font-size: 14px; color: var(--ink-3); line-height: 1.5; margin-top: auto; }
.quote-attr b { color: var(--accent); font-weight: 600; font-size: 15px; display: block; }
.sec-h .heart { width: 0.78em; height: 0.78em; display: inline-block; vertical-align: -0.04em; color: var(--stride-flare); margin: 0 0.04em; }
.quote-card--empty .quote-body { color: var(--ink-4); font-style: italic; }
.quote-card--empty .quote-mark { color: var(--ink-4); }
.quote-card--empty .quote-attr b { color: var(--ink-4); }
.quote-card--empty .quote-attr { color: var(--ink-4); }

/* text-message-style masonry bubbles — auto-fills more columns as it widens */
.love-masonry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.love-card { background: var(--light-grey);
  border-radius: 16px; padding: 26px 28px 22px; margin: 0; }
.love-card p { margin: 0 0 18px; font-size: 16px; line-height: 1.52; color: var(--ink-1); }
.love-attr { font-size: 14px; line-height: 1.4; display: flex; align-items: center; gap: 12px; }
.love-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.love-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.love-attr b { font-weight: 600; font-size: 15px; color: var(--ink-1); line-height: 1.25; }
.love-attr .love-meta span { color: var(--ink-4); line-height: 1.3; }

/* ===========================================================
   5 — PROBLEM CHECKER  (interactive)
   =========================================================== */
.checker-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; margin-top: 8px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.check-row { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; cursor: pointer;
  border: 1px solid var(--paper-4); background-color: var(--paper-0); padding: 22px 24px;
  transition: border-color var(--dur-quick), transform var(--dur-quick) var(--ease-stride); }
.check-row:hover { border-color: var(--ink-1); }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { width: 26px; height: 26px; border: 2px solid var(--ink-1); display: grid; place-items: center;
  transition: border-color var(--dur-quick); margin-top: 1px; }
.check-box svg { width: 16px; height: 16px; stroke: var(--paper-0); stroke-width: 3; opacity: 0; transition: opacity var(--dur-quick); }
.check-row.checked { background-color: var(--ink-1); border-color: var(--ink-1); transform: translate(2px, 2px); }
.check-row.checked .check-text { color: var(--paper-0); }
.check-row.checked .check-box { background-color: var(--accent); border-color: var(--accent); }
.check-row.checked .check-box svg { opacity: 1; }
.check-text { font-size: 18px; line-height: 1.4; color: var(--ink-1); font-weight: 500; }

/* verdict panel */
.verdict { border: 1px solid var(--ink-1); background: var(--paper-0); padding: 32px 30px; position: sticky; top: 96px; }
.verdict-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 18px; }
.verdict-top { display: flex; align-items: center; gap: 18px; }
.verdict-emoji { font-size: 56px; line-height: 1; }
.verdict-string { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; line-height: 1.02; }
.meter { margin-top: 26px; }
.meter-track { height: 10px; background: var(--paper-2); overflow: hidden; }
.meter-fill { height: 100%; width: 0%; background: var(--ink-4); }
.meter-dots { display: flex; gap: 8px; margin-top: 14px; }
.meter-dot { width: 100%; height: 6px; background: var(--paper-2); }
.meter-dot.on { background: var(--ink-1); }
.verdict-cta { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--paper-4); display: none; }
.verdict-cta.show { display: block; animation: rise 0.4s var(--ease-stride); }
.verdict-cta p { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: var(--ink-2); font-weight: 500; }

/* compact variant — fits the whole problem-checker in one viewport */
.section--checker { padding: 56px 0; }
.section--checker .sec-head { margin-bottom: 24px; }
.section--checker .sec-h { font-size: clamp(28px, 3vw, 38px); }
.section--checker .checker-grid { gap: 40px; }
.section--checker .checklist { gap: 8px; }
.section--checker .check-row { padding: 13px 18px; gap: 13px; grid-template-columns: 22px 1fr; }
.section--checker .check-box { width: 22px; height: 22px; }
.section--checker .check-box svg { width: 13px; height: 13px; }
.section--checker .check-text { font-size: 18px; line-height: 1.4; }
.section--checker .verdict { padding: 22px 22px; top: 88px; }
.section--checker .verdict-label { margin: 0 0 12px; }
.section--checker .verdict-top { gap: 14px; }
.section--checker .verdict-emoji { font-size: 40px; }
.section--checker .verdict-string { font-size: clamp(20px, 2vw, 26px); }
.section--checker .meter { margin-top: 16px; }
.section--checker .verdict-cta { margin-top: 16px; padding-top: 16px; }
.section--checker .verdict-cta p { margin: 0 0 12px; font-size: 15px; }
.section--checker .verdict-cta .btn { height: 44px; font-size: 14px; }

/* ===========================================================
   6 — DELIVERABLES  (alternating rows)
   =========================================================== */
.deliv-pkg { border: 2px solid var(--ink-1); border-left-width: 6px; padding: 12px 40px 36px; margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; align-items: start; }
.deliv-pkg:first-of-type { margin-top: 8px; }
.deliv-label { grid-column: 1 / -1; }
.deliv-pkg--ink { border-color: var(--ink-1); }
.deliv-pkg--flare { border-color: var(--stride-flare); }
.deliv-pkg--pace { border-color: var(--stride-pace); }
.deliv-label { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); margin: 24px 0 0; line-height: 1.1; }
.deliv-label--ink { color: var(--ink-1); }
.deliv-label--flare { color: var(--stride-flare); }
.deliv-label--pace { color: #c98a00; }
.deliv-row { padding: 16px 0 8px; }
.deliv-media { display: none; }
.deliv-h { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(26px, 2.5vw, 36px);
  letter-spacing: -0.03em; line-height: 1.07; margin: 0 0 18px; max-width: 22ch; }
.deliv-copy p { margin: 0; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }

/* ===========================================================
   7 — PROCESS TIMELINE
   =========================================================== */
.timeline { margin-top: 8px; border-left: 2px solid var(--paper-4); margin-left: 8px; }
.step { position: relative; padding: 0 0 60px 56px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -11px; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); border: 4px solid var(--warm-white); }
.section--grey .step::before { border-color: var(--light-grey); }
.step-num { font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 12px; }
.step-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; }
.step-h .when { color: var(--accent); }
.step-body { font-size: 22px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin: 0; }

/* ===========================================================
   8 — FAQ ACCORDION
   =========================================================== */
.faq { max-width: 1040px; margin-top: 8px; }
.faq-item { border-top: 1px solid var(--ink-1); }
.faq-item:last-child { border-bottom: 1px solid var(--ink-1); }
.faq-trigger { width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.025em; color: var(--ink-1); line-height: 1.18; transition: color var(--dur-quick); }
.faq-trigger:hover { color: var(--accent); }
.faq-plus { flex: none; width: 30px; height: 30px; position: relative; transition: transform var(--dur-base) var(--ease-stride); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: currentColor; }
.faq-plus::before { left: 0; right: 0; top: 14px; height: 2px; }
.faq-plus::after { top: 0; bottom: 0; left: 14px; width: 2px; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-stride); }
.faq-answer-inner { padding: 0 4px 38px; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.5; color: var(--ink-2); max-width: 80ch; }

/* ===========================================================
   BOOKING CALENDAR (Cal.com inline embed)
   =========================================================== */
.cal-embed { width: 100%; min-height: 640px; border: 1px solid var(--ink-1); background: var(--paper-0); overflow: hidden; }
.cal-embed iframe { border: none !important; }

/* ===========================================================
   BOOKING CALENDAR
   =========================================================== */
.cal-frame { border: 1px solid var(--ink-1); background: var(--paper-0); padding: 8px; }
.cal-inline { width: 100%; min-height: 640px; overflow: hidden; }
.cal-inline iframe { border: none; }
.cal-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  text-align: center; min-height: 640px; padding: 40px; }
.cal-fallback p { margin: 0; font-size: 17px; color: var(--ink-3); max-width: 42ch; line-height: 1.55; }

/* ===========================================================
   FINAL CTA
   =========================================================== */
.final { text-align: center; padding: 84px 0 96px; background: var(--warm-white); color: var(--ink-1); }
.final .eyebrow { color: var(--ink-4); justify-content: center; }
.final .eyebrow::before { background: var(--ink-4); }
.final-h { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(44px, 7vw, 92px);
  letter-spacing: -0.04em; line-height: 0.96; margin: 22px 0 24px; color: var(--ink-1); }
.final-intro { max-width: 40ch; margin: 0 auto 48px; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.45; color: var(--ink-3); }
.final .btn-hero { background: var(--ink-1); color: var(--paper-0); height: 56px; font-size: 16px; padding: 0 32px; }
.final .btn-hero:hover { background: var(--accent); color: var(--ink-1); }
.final-tag { margin-top: 44px; font-style: italic; font-size: 18px; color: var(--ink-4); }

.final .cal-frame { max-width: 1500px; margin: 8px auto 0; text-align: left; }
.final .cal-fallback p { color: var(--ink-3); }

/* ===========================================================
   FOOTER
   =========================================================== */
.foot { background: var(--ink-1); color: var(--paper-0); padding: 80px 40px 32px; border-top: 1px solid rgba(255,255,255,0.12); }
.foot-in { max-width: var(--wrap); margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-mark { font-family: var(--font-display); font-weight: 700; font-size: 80px; letter-spacing: -0.04em; line-height: 0.9; color: var(--paper-0); }
.foot-tag { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--on-ink-2); margin: 0; max-width: none; white-space: nowrap; text-align: right; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 48px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .col-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 6px; }
.foot-col a { font-size: 14px; color: var(--on-ink-2); transition: color var(--dur-quick); }
.foot-col a:hover { color: var(--paper-0); }
.foot-social { display: inline-flex; margin-top: 6px; color: var(--on-ink-2); transition: color var(--dur-quick); }
.foot-social:hover { color: var(--paper-0); }
.foot-bottom { display: flex; justify-content: space-between; color: var(--on-ink-4); padding-top: 24px; margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.08); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }

/* ===========================================================
   COOKIE CONSENT
   =========================================================== */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--ink-1); color: var(--paper-0); border-top: 2px solid var(--stride-flare);
  padding: 18px 24px; transform: translateY(110%); transition: transform 0.4s var(--ease-stride); }
.consent.show { transform: none; }
.consent-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.consent-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-ink-2); max-width: 64ch; }
.consent-text a { color: var(--stride-flare); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.consent-btn { font-family: var(--font-text); font-weight: 600; font-size: 14px; line-height: 1;
  padding: 11px 24px; border-radius: 8px; cursor: pointer; border: 2px solid transparent;
  transition: transform var(--dur-quick) var(--ease-stride), background var(--dur-quick), color var(--dur-quick); }
.consent-accept { background: var(--stride-flare); border-color: var(--stride-flare); color: var(--ink-1); }
.consent-accept:hover { transform: translate(2px, 2px); }
.consent-reject { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--paper-0); }
.consent-reject:hover { border-color: var(--paper-0); }
@media (max-width: 640px) {
  .consent { padding: 16px 18px; }
  .consent-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; padding: 12px 18px; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  /* Hero switches to stacked (photo below text) earlier than other sections,
     so the circle never overlaps the copy or clips on narrow-desktop widths. */
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-inner { padding: 72px 40px 44px; order: 1; }
  /* hero photo hidden on smaller screens — never stacks as a row below */
  .hero-photo-stack { display: none; }
  .hero .corner { font-size: 30px; }
  .hero .c-tl, .hero .c-tr { top: 20px; } .hero .c-bl, .hero .c-br { bottom: 20px; }
  .hero-h1 { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  /* testimonials: 2-up on tablet rather than a full single-column stack */
  .quote-3 { grid-template-columns: 1fr 1fr; border-top: none; column-gap: 32px; }
  .quote-card { margin: 0; border-right: none; border-top: 2px solid var(--ink-1); padding: 30px 0 28px; }
}

@media (max-width: 920px) {
  .wrap { padding: 0 24px; }
  .section { padding: 80px 0; }
  .nav { padding: 14px 24px; }
  .nav-right { gap: 14px; }
  .hero-inner { padding: 72px 24px 88px; }
  .hero-photo-stack { max-width: 420px; height: 440px; }
  .hero .corner { font-size: 26px; }
  .hero .c-tl, .hero .c-tr { top: 16px; } .hero .c-bl, .hero .c-br { bottom: 16px; }
  .hero .c-tl, .hero .c-bl { left: 24px; } .hero .c-tr, .hero .c-br { right: 24px; }
  .hero-h1 { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero-actions .btn { width: auto; }
  .platform-grid { grid-template-columns: 1fr; gap: 36px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .portco-grid { grid-template-columns: repeat(3, 1fr); }
  .pack { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  /* reserve clearance for the absolutely-positioned +/- toggle so the name can't run under it */
  .pack-head { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-right: 44px; }
  .quote-3 { grid-template-columns: 1fr 1fr; border-top: none; column-gap: 28px; }
  .quote-card { margin: 0; border-right: none; border-top: 2px solid var(--ink-1); padding: 28px 0 26px; }
  .checker-grid { grid-template-columns: 1fr; gap: 32px; }
  .verdict { position: static; }
  .deliv-pkg { padding: 8px 22px 24px; grid-template-columns: 1fr; gap: 0; }
  .deliv-row { grid-template-columns: 1fr; gap: 0; padding: 18px 0; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .foot-tag { text-align: left; white-space: normal; }
  .foot-mark { font-size: 56px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 34px; }
  /* nav: logo + compact CTA; drop the text link to save room */
  .nav { padding: 12px 16px; gap: 12px; }
  .nav-right { gap: 12px; }
  .nav-link { display: none; }
  .nav-wordmark { font-size: 21px; }
  .nav-swoosh { height: 24px; }
  .nav-cta { padding: 0 16px; font-size: 12px; height: 42px; border-width: 2px; }
  /* hero */
  .hero-inner { padding: 56px 18px 44px; }
  .hero-photo-stack { max-width: 340px; height: 360px; margin: 0 auto 44px; }
  .hero .corner { font-size: 22px; }
  .hero .c-tl, .hero .c-tr { top: 14px; } .hero .c-bl, .hero .c-br { bottom: 14px; }
  .hero .c-tl, .hero .c-bl { left: 18px; } .hero .c-tr, .hero .c-br { right: 18px; }
  /* logos */
  .portco-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .logo-half { gap: 44px; padding-right: 44px; }
  .logo-half image-slot, .logo-mirror { width: 140px; height: 64px; }
  /* packages */
  .pack { padding: 26px 18px; }
  /* stack the head cleanly and keep clear of the +/- toggle (no row/wrap jump) */
  .pack-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; flex-wrap: nowrap; gap: 12px; padding-right: 40px; }
  .pack::after { top: 24px; right: 18px; font-size: 30px; }
  .pack-name { font-size: 24px; }
  .pack-price { font-size: 25px; }
  /* final + calendar */
  .final { padding: 60px 0 68px; }
  .cal-frame { padding: 6px; }
  /* footer */
  .foot { padding: 64px 18px 28px; }
  .quote-3 { grid-template-columns: 1fr; }
  .love-masonry { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-mark { font-size: 46px; }
  .foot-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-h1, .hero-sub, .hero-actions {
    opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-photo-stack { opacity: 1 !important; animation: none !important; }
  .pre-reveal { opacity: 1 !important; transform: none !important; }
}
