/* ============================================================
   UNCHAIND — Homepage v3 · layout-engineered, image-led
   Loads after assets/colors_and_type.css (canonical brand tokens).
   Architecture in one file: tokens-map · layout · components · sections · responsive
   ============================================================ */

/* ---- map brief's layout intent onto canonical brand tokens ---- */
:root {
  --c-bg: var(--midnight-navy);      /* #0B1B2F */
  --c-bg-deep: var(--deep-black);    /* #060F1C */
  --c-surface: var(--surface);       /* #0E2138 */
  --c-surface-soft: var(--surface-2);/* #122B47 */
  --c-cream: var(--ivory);           /* #F4F0E6 */
  --c-muted: var(--fg2);             /* ivory 80% */
  --c-subtle: var(--fg3);            /* ivory 60% */
  --c-accent: var(--ice-blue);       /* #9DBBD4 */
  --c-border: var(--hairline);       /* ivory 16% */
  --c-border-strong: var(--hairline-strong);

  --container: 1280px;
  --gutter: 24px;
  --pad-section: 120px;
  --pad-feature: 144px;
  --radius-card: 14px;
  --header-h: 88px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg); color: var(--c-cream);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- containers & grid ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--margin-page); padding-right: var(--margin-page); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }

.section { padding: var(--pad-section) 0; position: relative; }
.section--feature { padding: var(--pad-feature) 0; }
.section--dark { background: var(--c-bg-deep); }
.section--soft { background: var(--c-surface); }
.section--cream { background: var(--c-cream); color: var(--deep-black); }
.divider { border-top: 1px solid var(--c-border); }

/* ---------- type ---------- */
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--c-accent); }
.section--cream .eyebrow { color: var(--ice-600); }
.display-heading { font-weight: 600; letter-spacing: -0.045em; line-height: 0.96; text-wrap: balance; }
.h-hero { font-size: clamp(48px, 6vw, 86px); line-height: 0.96; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.h-sec { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; max-width: 15ch; }
.h3 { font-size: clamp(26px, 2.8vw, 44px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
.body-large { font-size: 18px; line-height: 1.55; color: var(--c-muted); max-width: 52ch; }
.section--cream .body-large { color: var(--light-fg2); }
.body { font-size: 16.5px; line-height: 1.6; color: var(--c-muted); max-width: 50ch; }
.section--cream .body { color: var(--light-fg2); }
.micro { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease), filter var(--dur) var(--ease), color var(--dur) var(--ease);
}
.button--primary { background: var(--c-cream); color: var(--deep-black); font-weight: var(--weight-semibold); }
.button--primary:hover { background: var(--ivory-100); filter: brightness(1.04); }
.button--primary:active { transform: scale(0.985); }
/* high-contrast accent CTA — solid Ice Blue, the brand's one attention colour, on the dark ground */
.button--accent { background: var(--ice-blue); color: var(--deep-black); font-weight: var(--weight-semibold); box-shadow: 0 6px 22px rgba(157,187,212,0.28); }
.button--accent:hover { background: var(--ice-400); box-shadow: 0 8px 28px rgba(157,187,212,0.36); }
.button--accent:active { transform: scale(0.985); }
/* paired outline CTA — clearly visible ivory border, fills on hover */
.button--outline { background: transparent; color: var(--c-cream); border-color: var(--ivory-060); }
.button--outline:hover { background: var(--ivory-008); border-color: var(--c-cream); }
.button--outline:active { transform: scale(0.985); }
.button--secondary { background: transparent; color: var(--c-cream); border-color: var(--c-border-strong); }
.button--secondary:hover { background: var(--ivory-008); border-color: var(--ivory-060); }
.button--text { background: none; min-height: 0; padding: 6px 0; border: 0; border-bottom: 1px solid var(--c-border-strong); border-radius: 0; color: var(--c-muted); }
.button--text:hover { color: var(--c-cream); border-color: var(--c-cream); }
.section--cream .button--secondary { color: var(--deep-black); border-color: var(--light-hairline); }
.section--cream .button--text { color: var(--light-fg2); border-color: var(--light-hairline); }
.section--cream .button--text:hover { color: var(--deep-black); border-color: var(--deep-black); }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- image cards ---------- */
.image-card { width: 100%; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow-matte); background: var(--c-bg-deep); }
.image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section--cream .image-card { border-color: var(--light-hairline); box-shadow: 0 24px 64px rgba(6,15,28,0.18); background: transparent; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-1610 { aspect-ratio: 16 / 10; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-32 { aspect-ratio: 3 / 2; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center;
  background: rgba(11,27,47,0.82); backdrop-filter: blur(18px) saturate(120%); border-bottom: 1px solid var(--c-border); }
.header-inner { max-width: 1560px; width: 100%; margin: 0 auto; padding: 0 var(--margin-page); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header-logo { justify-self: start; }
.header-logo img { height: 21px; width: auto; }
.header-nav { justify-self: center; display: flex; gap: 32px; }
.header-nav a { font-size: 14px; color: var(--c-muted); transition: color var(--dur) var(--ease); position: relative; padding: 4px 0; }
.header-nav a:hover { color: var(--c-cream); }
.header-cta { justify-self: end; }
.header-cta .button { min-height: 44px; padding: 0 22px; }
.menu-toggle { display: none; justify-self: end; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--c-border-strong); border-radius: var(--radius-md); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--c-cream); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--c-cream); }
.menu-toggle span::before { top: -5px; } .menu-toggle span::after { top: 5px; }

/* mobile drawer */
.mobile-menu { display: none; position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: rgba(6,15,28,0.97); backdrop-filter: blur(18px); padding: 32px var(--margin-page); flex-direction: column; gap: 6px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--c-border); letter-spacing: -0.01em; }
.mobile-menu .button { margin-top: 20px; }

/* sticky mobile CTA bar */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(6,15,28,0.92); backdrop-filter: blur(16px); border-top: 1px solid var(--c-border); transform: translateY(120%); transition: transform var(--dur) var(--ease-out); }
.sticky-cta.show { transform: none; }
.sticky-cta .button { width: 100%; }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: 64px 0 56px; overflow: hidden; position: relative;
  background: #000611;
}
/* navy base removed — copy sits in its own navy zone, image keeps a defined left edge */
.hero::before { display: none; }
.hero .container { position: relative; z-index: 2; width: 100%; max-width: none; }
.hero-copy { max-width: 520px; margin-left: 190px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-copy .body-large { max-width: 34ch; }
.hero-status { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-top: 2px; }

/* full-bleed hero photo, anchored right, edge-to-edge top/right/bottom, dissolving into navy on the left */
.hero-photo { position: absolute; top: 0; right: -2%; bottom: 0; width: 78%; z-index: 0; pointer-events: none; box-sizing: border-box; padding: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block;
  filter: saturate(1.26);
  transform: rotate(15deg) scale(1);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 14%, #000 34%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 14%, #000 34%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
          mask-composite: intersect;
}
.hero-photo::after { content: none; }


/* ---------- belief strip ---------- */
.belief { background: var(--c-bg-deep); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); height: 64px; display: flex; align-items: center; overflow: hidden; }
.belief-track { display: flex; gap: 28px; align-items: center; white-space: nowrap; width: max-content; animation: belief-marquee 42s linear infinite;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--c-muted); }
.belief-track i { color: var(--c-accent); font-style: normal; }
@keyframes belief-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- two-column feature layouts ---------- */
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.col-media-5 { grid-column: 1 / 6; } .col-copy-7 { grid-column: 7 / 13; }
.col-copy-5 { grid-column: 1 / 6; } .col-media-7 { grid-column: 7 / 13; }
.col-media-6 { grid-column: 1 / 7; } .col-copy-6b { grid-column: 7 / 13; }
.col-copy-6 { grid-column: 1 / 7; } .col-media-6b { grid-column: 7 / 13; }

/* bullets */
.bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--c-muted); }
.bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); flex: none; }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--c-border-strong); color: var(--c-muted); }
.section--cream .tag { border-color: var(--light-hairline); color: var(--light-fg2); }

/* ---------- the UNCHAIND standard (dark bento) ----------
   Three columns: oversized headline + photo on the left; four quiet cards of
   gains on navy panels with hairlines. One accent, no icons, no textures. */
.std-grid { display: grid; grid-template-columns: 1.15fr 0.95fr 0.95fr; gap: 24px; align-items: stretch; }
/* the standard block is the page's darkest moment: framed by hairlines and given
   extra vertical air so it reads as a destination, not a continuation */
#organic.section--feature { padding: clamp(120px, 11vw, 176px) 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.std-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.std-col--lead { gap: 40px; }
.std-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-right: 24px; }
.std-title { font-size: clamp(42px, 4.2vw, 66px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; color: var(--c-cream); max-width: 14ch; }
.std-head .body { max-width: 40ch; }
.std-photo { margin: 0; flex: 1; min-height: 300px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-bg); }
.std-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.std-card {
  flex: 1; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-card);
  padding: 36px 32px; display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color var(--dur) var(--ease);
}
.std-card:hover { border-color: var(--c-border-strong); }
.std-card--deep { background: var(--c-bg-deep); flex: 1.25; }
.std-label { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--c-accent); }
.std-card-title { margin-top: 16px; font-size: clamp(24px, 1.9vw, 32px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; color: var(--c-cream); }
.std-card-body { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--c-muted); max-width: 36ch; }
.std-stats { margin-top: auto; padding-top: 28px; display: flex; gap: 28px; width: 100%; }
.std-stats span { font-size: 13px; line-height: 1.45; color: var(--c-muted); }
.std-curve { margin-top: auto; padding-top: 20px; width: 100%; height: auto; color: var(--c-accent); opacity: 0.65; }
.std-foot { margin-top: auto; padding-top: 24px; width: 100%; display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--c-muted); white-space: nowrap; }
.std-card .std-curve + .std-foot { margin-top: 0; padding-top: 14px; }
.std-foot i { flex: 1; border-top: 1px solid var(--c-border); }
.std-fine { margin-top: 26px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }

@media (max-width: 1023px) {
  .std-grid { grid-template-columns: 1fr 1fr; }
  .std-col--lead { grid-column: 1 / -1; }
  .std-photo { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
}
@media (max-width: 767px) {
  .std-grid { grid-template-columns: 1fr; gap: 16px; }
  .std-col { gap: 16px; }
  .std-col--lead { gap: 28px; }
  .std-head { padding-right: 0; }
  .std-photo { aspect-ratio: 4 / 3; }
  .std-card { padding: 28px 24px; }
  .std-stats { gap: 18px; flex-wrap: wrap; }
}

/* ---------- founder ---------- */
.founder-portrait { grid-column: 1 / 6; }
.founder-frame { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow-matte); background: var(--c-surface); }
.founder-frame image-slot { width: 100%; height: 100%; display: block; }
.founder-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 72%; }
.founder-note { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.founder-lead { font-size: 21px; line-height: 1.5; color: var(--c-cream); font-weight: 500; letter-spacing: -0.01em; max-width: 32ch; }
.founder-body { display: flex; flex-direction: column; gap: 14px; }
.founder-body p { font-size: 16px; line-height: 1.68; color: var(--c-muted); max-width: 54ch; }
.signature { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; margin-top: 4px; border-top: 1px solid var(--c-border); width: 100%; max-width: 360px; }
.sig-name { font-size: 18px; font-weight: 600; }
.sig-role { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- trust cards ---------- */
.trust-head { margin-bottom: 44px; display: flex; flex-direction: column; gap: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card { border: 1px solid rgba(157,187,212,0.22); border-radius: 12px; padding: 30px; min-height: 230px; display: flex; flex-direction: column; gap: 10px; background: var(--c-surface); transition: border-color var(--dur) var(--ease); }
.trust-card:hover { border-color: rgba(157,187,212,0.5); }
.trust-card.accent { background: linear-gradient(180deg, rgba(157,187,212,0.08), transparent 62%), var(--c-surface); }
.trust-card .tc-eyebrow { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; }
.trust-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.trust-card p { font-size: 14px; line-height: 1.56; color: var(--c-muted); }
.legal { max-width: 80ch; margin: 40px auto 0; font-size: 12px; line-height: 1.6; color: var(--fg-muted); padding-top: 24px; border-top: 1px solid var(--c-border); text-align: center; }

/* ---------- final CTA ---------- */
.final-cta { min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; }
.final-cta .inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final-cta .h-sec { max-width: 18ch; }
.final-cta .body-large { max-width: 46ch; }
.cta-fine { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--c-bg-deep); border-top: 1px solid var(--c-border); padding: 72px var(--margin-page) 34px; }
.footer-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 21px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--fg3); letter-spacing: 0.03em; max-width: 28ch; }
.footer-col .footer-h { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--c-muted); padding: 6px 0; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--c-cream); }
.footer-base { max-width: var(--container); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--c-border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- reveal / motion ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .belief-track { animation: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* narrower desktops & laptops (e.g. MacBook): SAME structure and full-size text —
   only the packshot is constrained to the area right of the copy, so it shrinks
   just enough to never cross the headline. Wide monitors (≥1600px) keep the
   original full-bleed layout untouched. */
@media (min-width: 1024px) and (max-width: 1599px) {
  .hero-copy { margin-left: clamp(24px, 6vw, 190px); }
  /* photo box starts just after the copy column (copy margin + 520px width + 16px
     gap), pulling the bar as far LEFT as it can go without crossing the headline —
     on a ~1500px MacBook this lands at ≈41% of the viewport, the same ratio as
     the 27" full-bleed layout. */
  .hero-photo { width: auto; left: calc(clamp(24px, 6vw, 190px) + 536px); right: -2%; }
}

@media (max-width: 1023px) {
  :root { --pad-section: 88px; --pad-feature: 104px; }
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  /* tablet: keep 2-col but ease columns */
  .hero .grid-12 { gap: 48px; }
}

@media (max-width: 767px) {
  :root { --margin-page: 20px; --pad-section: 72px; --pad-feature: 80px; --header-h: 72px; }
  .grid-12 { grid-template-columns: 1fr; gap: 32px; }
  /* every 2-col block stacks to one column */
  .hero-copy,
  .col-media-5, .col-copy-7, .col-copy-5, .col-media-7,
  .col-media-6, .col-copy-6b, .col-copy-6, .col-media-6b,
  .founder-portrait, .founder-note { grid-column: 1 / -1; }

  /* mobile hero: photo as full-bleed backdrop behind copy with a vertical navy scrim */
  .hero { min-height: 78vh; padding: 48px 0 56px; }
  .hero::before { display: none; }
  .hero-photo { width: 100%; left: auto; }
  .hero-photo img { object-position: 50% 38%; }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(11,27,47,0.62) 0%, rgba(11,27,47,0.86) 30%, rgba(11,27,47,0.74) 58%, rgba(11,27,47,0.5) 100%);
  }
  .hero-copy { max-width: 100%; margin-left: 0; }

  /* media-first sections: show image above copy on mobile */
  .order-media-first .feature-copy { order: 2; }
  .order-media-first .image-card { order: 1; }

  .belief { height: 48px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-card { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 10px; }
  .cta-row { width: 100%; }
  .cta-row .button--primary { width: 100%; }
  .sticky-cta { display: block; }
  .final-cta { min-height: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  /* hero too narrow for side-by-side here: use full-bleed backdrop behind copy */
  .hero { min-height: 78vh; }
  .hero::before { display: none; }
  .hero-photo { width: 100%; left: auto; }
  .hero-photo img { object-position: 52% 36%; }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(11,27,47,0.82) 0%, rgba(11,27,47,0.92) 30%, rgba(11,27,47,0.82) 62%, rgba(11,27,47,0.6) 100%);
  }
  .hero-copy { max-width: 100%; margin-left: 0; }
}

/* ============================================================
   v4 sections — stats / benefits / split / deal / risks / faq
   ============================================================ */

/* ---------- stats bar ---------- */
.stats { background: var(--c-bg-deep); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 56px 0 30px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 8px 28px; border-left: 1px solid var(--c-border); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { font-size: clamp(44px, 5.4vw, 84px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.9; }
.stat-n i { font-style: normal; font-size: 0.45em; font-weight: 500; color: var(--c-accent); margin-left: 2px; }
.stat-l { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--c-muted); max-width: 22ch; }
.stat-l sup { color: var(--c-accent); }
.stats-fine { margin-top: 34px; font-size: 12.5px; line-height: 1.5; color: var(--fg-muted); max-width: 72ch; }
.stats-fine sup { color: var(--c-accent); }

/* ---------- benefits ---------- */
.ben-head { margin-bottom: 56px; }
.ben-head .h-sec { margin-top: 18px; max-width: 18ch; }
.ben-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.ben-list { display: flex; flex-direction: column; }
.ben { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 34px 0; border-top: 1px solid var(--c-border); }
.ben:last-child { border-bottom: 1px solid var(--c-border); }
.ben-num { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--c-accent); padding-top: 8px; font-variant-numeric: tabular-nums; }
.ben h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.ben p { font-size: 16px; line-height: 1.6; color: var(--c-muted); max-width: 52ch; }
.ben-proof { margin-top: 14px; padding: 13px 16px; border-left: 2px solid var(--c-accent); background: var(--surface); font-size: 13.5px !important; line-height: 1.55 !important; border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0; }
.ben-proof b { color: var(--c-accent); font-weight: 600; text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.14em; display: block; margin-bottom: 4px; }
.ben-photo { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.ben-photo img { width: 100%; border-radius: var(--radius-card); border: 1px solid var(--c-border); display: block; }
.ben-photo figcaption { margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- what's in / what's not ---------- */
.section--cream .eyebrow { color: #3F586E; }
.split-head { margin-bottom: 52px; }
.split-head .h-sec { margin-top: 18px; color: var(--deep-black); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--light-hairline); border-radius: var(--radius-card); overflow: hidden; }
.split-col { padding: clamp(28px, 3.5vw, 52px); }
.split-col--never { background: var(--deep-black); color: var(--ivory); }
.split-title { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.split-note { font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: rgba(6,15,28,0.5); }
.split-col--never .split-note { color: var(--ivory-040, rgba(244,240,230,0.4)); }
.split-list { list-style: none; display: flex; flex-direction: column; }
.split-list li { padding: 15px 0 15px 34px; position: relative; font-size: 16.5px; border-top: 1px solid rgba(6,15,28,0.1); }
.split-col--never .split-list li { border-top-color: rgba(244,240,230,0.12); }
.split-list--in li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 14px; height: 8px; border-left: 2px solid #2E5E3F; border-bottom: 2px solid #2E5E3F; transform: translateY(-70%) rotate(-45deg); }
.split-list--out li { color: rgba(244,240,230,0.75); }
.split-list--out li::before { content: '×'; position: absolute; left: 4px; top: 50%; transform: translateY(-52%); font-size: 19px; font-weight: 600; color: #C8553D; line-height: 1; }
.split-fine { margin-top: 30px; font-size: 13px; color: rgba(6,15,28,0.55); max-width: 70ch; }

/* ---------- the deal ---------- */
.deal-head { margin-bottom: 56px; }
.deal-head .h-sec { margin-top: 18px; max-width: 22ch; }
.deal-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.deal-sub { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--c-accent); margin-bottom: 22px; }
.deal-list { list-style: none; display: flex; flex-direction: column; }
.deal-list li { padding: 17px 0 17px 30px; border-top: 1px solid var(--c-border); font-size: 16px; line-height: 1.55; color: var(--c-muted); position: relative; }
.deal-list li:last-child { border-bottom: 1px solid var(--c-border); }
.deal-list li::before { content: ''; position: absolute; left: 2px; top: 26px; width: 12px; height: 7px; border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); transform: rotate(-45deg); }
.deal-list b { color: var(--c-cream); font-weight: 600; }
.dim { color: var(--fg-muted); font-size: 0.9em; }
.deal-card { background: var(--surface); border: 1px solid var(--c-border); border-radius: var(--radius-card); overflow: hidden; }
.deal-card img { width: 100%; display: block; }
.deal-card-rows { padding: 20px 24px 24px; display: flex; flex-direction: column; }
.deal-card-rows > div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--c-border); font-size: 14.5px; color: var(--c-muted); }
.deal-card-rows > div:first-child { border-top: 0; }
.deal-card-rows b { font-size: 17px; font-weight: 600; color: var(--c-cream); font-variant-numeric: tabular-nums; }
.deal-card-rows .strike { text-decoration: line-through; color: var(--fg-muted); font-weight: 400; }
.deal-card-rows > div:last-child b { color: var(--c-accent); }

.timeline { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--c-border-strong); }
.tl-step { padding: 0 28px 0 0; display: flex; flex-direction: column; gap: 7px; position: relative; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c-bg-deep); border: 1.5px solid var(--c-border-strong); position: relative; z-index: 1; margin-bottom: 12px; }
.tl-step.done .tl-dot { background: var(--c-accent); border-color: var(--c-accent); }
.tl-step b { font-size: 15.5px; font-weight: 600; }
.tl-step span:not(.tl-dot) { font-size: 13px; line-height: 1.5; color: var(--c-muted); max-width: 24ch; }
.tl-step i { color: var(--fg-muted); font-style: normal; }

.guarantee { margin-top: 64px; padding: clamp(26px, 3vw, 40px); background: var(--surface); border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent); border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 24px; }
.guarantee p { font-size: 17px; line-height: 1.6; max-width: 70ch; color: var(--c-muted); }
.guarantee b { color: var(--c-cream); }
.pay-note { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- honest risks ---------- */
.risks { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.risks-inner .h-sec { margin-top: 18px; max-width: 22ch; }
.risks-cols { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.risks-cols p { font-size: 15.5px; line-height: 1.65; color: var(--c-muted); }
.risks-cols b { display: block; color: var(--c-cream); font-weight: 600; margin-bottom: 10px; font-size: 17px; }
.risks-legal { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--c-border); font-size: 12px; line-height: 1.6; color: var(--fg-muted); max-width: 100ch; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 880px; }
.faq-head { margin-bottom: 40px; }
.faq-head .h-sec { margin-top: 18px; }
.faq details { border-top: 1px solid var(--c-border); }
.faq details:last-child { border-bottom: 1px solid var(--c-border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--c-accent); flex: 0 0 auto; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; font-size: 15.5px; line-height: 1.65; color: var(--c-muted); max-width: 64ch; }

.footer-plain { font-size: 14px; color: var(--c-muted); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .stats-row { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .ben-grid, .deal-grid { grid-template-columns: 1fr; }
  .ben-photo { position: static; order: -1; }
  .split-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { display: none; }
  .risks-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 14px 0 0; border-left: 0; }
  .ben { grid-template-columns: 1fr; gap: 6px; }
}

/* why-price explainer */
.why-price { margin-top: 34px; padding: 24px 26px; border: 1px solid var(--c-border); border-radius: var(--radius-card); background: linear-gradient(135deg, rgba(157,187,212,0.06), rgba(157,187,212,0)); }
.why-price h4 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--c-accent); margin-bottom: 12px; }
.why-price p { font-size: 15.5px; line-height: 1.65; color: var(--c-muted); max-width: 62ch; }

/* ============================================================
   WARM PASS — flip light/dark ratio, warm neutrals, grain,
   calm motion. Brand-safe: navy+ivory+Archivo, ice-blue demoted
   to a detail colour on light sections.
   ============================================================ */

/* warm-tinted neutrals on dark (yellow-biased ivory alphas, no blue-grays) */
:root {
  --c-muted: rgba(236, 229, 212, 0.78);
  --warm-ink: #131A14;              /* ink with green-brown undertone for light sections */
  --warm-taupe: #6E6757;            /* muted text on ivory */
  --warm-line: rgba(19, 26, 20, 0.14);
  --warm-accent: #3F586E;           /* navy-slate for labels on light — calmer than ice */
}

/* film-grain overlay — kills the flat hex-code look */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* warm photographic grade on real photography */
.ben-photo img, .deal-card img, .founder-frame img, .hero-photo img {
  filter: sepia(0.10) saturate(1.06) contrast(0.99) brightness(1.01);
}

/* ---------- light (ivory) section variant ---------- */
.section--ivory { background: var(--ivory); color: var(--warm-ink); }
.section--ivory .eyebrow { color: var(--warm-accent); }
.section--ivory .h-sec { color: var(--warm-ink); }
.section--ivory .body, .section--ivory p { color: var(--warm-taupe); }

/* stats on ivory */
.stats.section--ivory { background: var(--ivory); border-top: 0; border-bottom: 1px solid var(--warm-line); padding: 72px 0 40px; }
.stats.section--ivory .stat { border-left-color: var(--warm-line); }
.stats.section--ivory .stat-n { color: var(--warm-ink); }
.stats.section--ivory .stat-n i, .stats.section--ivory .stat-l sup, .stats.section--ivory .stats-fine sup { color: var(--warm-accent); }
.stats.section--ivory .stat-l { color: var(--warm-taupe); }
.stats.section--ivory .stats-fine { color: rgba(110, 103, 87, 0.75); }

/* benefits on ivory */
.section--ivory .ben { border-color: var(--warm-line); }
.section--ivory .ben:last-child { border-bottom-color: var(--warm-line); }
.section--ivory .ben-num { color: var(--warm-accent); }
.section--ivory .ben h3 { color: var(--warm-ink); }
.section--ivory .ben p { color: var(--warm-taupe); }
.section--ivory .ben-proof { background: rgba(11, 27, 47, 0.045); border-left-color: var(--warm-accent); }
.section--ivory .ben-proof b { color: var(--warm-accent); }
.section--ivory .ben-photo img { border-color: var(--warm-line); }
.section--ivory .ben-photo figcaption { color: rgba(110, 103, 87, 0.8); }

/* faq on ivory */
.section--ivory .faq details, .section--ivory .faq details:last-child { border-color: var(--warm-line); }
.section--ivory .faq summary { color: var(--warm-ink); }
.section--ivory .faq summary::after { color: var(--warm-accent); }
.section--ivory .faq details p { color: var(--warm-taupe); }

/* split section: warm its fine print */
.split-fine { color: rgba(110, 103, 87, 0.85); }
.split-note { color: rgba(110, 103, 87, 0.8); }

/* handwritten signature — single human mark on the page */
.sig-hand { font-family: 'Caveat', cursive; font-size: 34px; font-weight: 500; letter-spacing: 0; color: var(--c-cream); transform: rotate(-2deg); display: inline-block; }

/* calmer motion */
.button, .faq summary::after, .acc__q { transition-duration: 0.45s; }

/* prominent price-honesty block */
.why-price--big { margin: 0 0 56px; padding: clamp(30px, 4vw, 48px); border-left: 3px solid var(--c-accent); }
.why-price--big h4 { font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.015em; text-transform: none; color: var(--c-cream); margin-bottom: 14px; font-weight: 600; }
.why-price--big p { font-size: 16.5px; line-height: 1.7; max-width: 78ch; }

/* language switcher */
.header-cta { display: flex; align-items: center; gap: 20px; }
.lang-switch { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--c-muted); text-decoration: none; padding: 6px 2px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.lang-switch:hover { color: var(--c-cream); border-bottom-color: var(--c-border-strong); }


/* ============================================================
   HERO v2 — cocoa product-hero composition + floating pill nav
   (Pantry composition × WHOOP premium, on the brand's own
   espresso/cocoa alternative colorway)
   ============================================================ */

/* ---------- floating pill navbar ---------- */
.site-header { position: fixed; top: 14px; left: 16px; right: 16px; height: auto; background: transparent; border: 0; pointer-events: none; }
.header-inner { pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 60px; padding: 0 10px 0 26px;
  background: rgba(18, 13, 9, 0.55); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(244, 240, 230, 0.13); border-radius: 999px; box-shadow: 0 8px 32px rgba(6, 8, 12, 0.35); }
.header-cta .button { border-radius: 999px; min-height: 42px; }
.mobile-menu { inset: 88px 16px auto; border-radius: 24px; border: 1px solid rgba(244,240,230,0.12); padding: 24px 28px 28px; }

/* ---------- cocoa hero ---------- */
.hero { min-height: 100svh; padding: calc(60px + 14px + 48px) 0 64px;
  background: radial-gradient(115% 95% at 72% 38%, #3D2C1F 0%, #2A2019 46%, #1A130E 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-copy { margin-left: 0; max-width: 560px; }
.hero .eyebrow { color: var(--alt-espresso-sand, #E8D9B5); }
.hero-cta { box-shadow: 0 10px 36px rgba(6, 8, 12, 0.4); }

/* product stage — cutout bar + drop-in floating ingredient slots */
.hero-stage { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; pointer-events: none; }
.hero-stage::before { content: ''; position: absolute; top: 50%; left: 55%; width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 217, 181, 0.16), rgba(232, 217, 181, 0) 70%); }
.hero-bar { position: absolute; top: 50%; left: 52%; transform: translate(-50%, -52%) rotate(7deg);
  height: min(72vh, 620px); width: auto;
  filter: drop-shadow(0 34px 60px rgba(6, 8, 12, 0.55)) sepia(0.06) saturate(1.04);
  animation: bar-drift 7s ease-in-out infinite alternate; }
@keyframes bar-drift {
  from { transform: translate(-50%, -52%) rotate(7deg); }
  to   { transform: translate(-50%, -49%) rotate(8.5deg); }
}

/* float slots — appear automatically when hero-float-N.png files exist */
.hero-float { position: absolute; width: clamp(56px, 7vw, 120px); height: auto;
  filter: drop-shadow(0 16px 28px rgba(6, 8, 12, 0.45)) sepia(0.06) saturate(1.04);
  animation: float-drift 6s ease-in-out infinite alternate; }
.hero-float.f1 { top: 10%; left: 12%; animation-delay: -1s; }
.hero-float.f2 { top: 22%; right: 8%; width: clamp(72px, 9vw, 150px); animation-delay: -2.5s; }
.hero-float.f3 { bottom: 30%; right: 4%; animation-delay: -4s; }
.hero-float.f4 { bottom: 12%; left: 18%; width: clamp(48px, 6vw, 100px); animation-delay: -3s; }
.hero-float.f5 { top: 48%; left: 2%; width: clamp(44px, 5vw, 90px); animation-delay: -5s; }
@keyframes float-drift {
  from { transform: translateY(0) rotate(-3deg); }
  to   { transform: translateY(-16px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bar, .hero-float { animation: none; }
}

@media (max-width: 980px) {
  .site-header { top: 10px; left: 10px; right: 10px; }
  .hero { padding-top: calc(60px + 10px + 28px); min-height: auto; }
  .hero-stage { position: relative; width: 100%; height: 52vh; min-height: 360px; margin-top: 8px; order: 2; }
  .hero .container { display: flex; flex-direction: column; }
  .hero-bar { height: min(46vh, 420px); }
}

/* hero photo back on the cocoa ground — slow Ken Burns drift */
.hero-photo img { animation: hero-kenburns 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-kenburns {
  from { transform: rotate(15deg) scale(1); }
  to   { transform: rotate(16.5deg) scale(1.06) translateY(-1.5%); }
}
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }

/* ============================================================
   HERO v3b — full-bleed photo (no seams by construction)
   ============================================================ */
.hero-photo { position: absolute; inset: 0; width: 100%; right: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center;
  -webkit-mask-image: none; mask-image: none;
  filter: saturate(1.12);
  transform: none;
  animation: hero-kb2 18s ease-in-out infinite alternate; }
@keyframes hero-kb2 {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.07) translateX(-1.2%); }
}
/* legibility scrim: warm dark from the copy side, subtle bottom anchor */
.hero-photo::after { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20, 13, 9, 0.93) 0%, rgba(20, 13, 9, 0.72) 30%, rgba(20, 13, 9, 0.25) 52%, rgba(20, 13, 9, 0) 68%),
    linear-gradient(to top, rgba(16, 11, 8, 0.55) 0%, rgba(16, 11, 8, 0) 22%); }
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }
@media (max-width: 1440px) { .hero-photo { left: 0; } }
@media (max-width: 980px) {
  .hero-photo img { object-position: 62% center; }
  .hero-photo::after { background:
    linear-gradient(to right, rgba(20,13,9,0.9) 0%, rgba(20,13,9,0.55) 45%, rgba(20,13,9,0.2) 75%),
    linear-gradient(to top, rgba(16,11,8,0.6) 0%, rgba(16,11,8,0) 30%); }
}

/* ============================================================
   HERO v3c — WHOOP-style: solid cocoa + right-anchored photo,
   one clean gradient transition (starts at the exact bg color)
   ============================================================ */
.hero { background: #261C13; }
.hero-photo { inset: 0 0 0 auto; left: auto; width: 68%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center;
  -webkit-mask-image: none; mask-image: none; filter: saturate(1.1); transform: none;
  animation: hero-kb3 18s ease-in-out infinite alternate; }
@keyframes hero-kb3 {
  from { transform: scale(1); }
  to   { transform: scale(1.07) translateX(-1%); }
}
.hero-photo::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, #261C13 0%, rgba(38, 28, 19, 0.55) 22%, rgba(38, 28, 19, 0) 48%); }
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }
@media (max-width: 1440px) { .hero-photo { left: auto; } }
@media (max-width: 980px) {
  .hero-photo { width: 100%; }
  .hero-photo::after { background: linear-gradient(to right, rgba(38,28,19,0.92) 0%, rgba(38,28,19,0.6) 45%, rgba(38,28,19,0.25) 80%); }
}

/* v3c.1 — longer, eased transition; crop the photo's own dark left edge */
.hero-photo img { object-position: 74% center; }
.hero-photo::after { background: linear-gradient(to right,
  #261C13 0%, #261C13 9%,
  rgba(38, 28, 19, 0.88) 20%,
  rgba(38, 28, 19, 0.62) 32%,
  rgba(38, 28, 19, 0.34) 44%,
  rgba(38, 28, 19, 0.12) 55%,
  rgba(38, 28, 19, 0) 66%); }

/* v3c.2 — clip the ken-burns overflow that painted a dark strip left of the container */
.hero-photo { overflow: hidden; }

/* ============================================================
   HERO v4 — native full-bleed scene (image generated FOR this
   layout: bar right, empty dark left). Zero compositing.
   ============================================================ */
.hero { background: #050201; }
.hero-photo { inset: 0; left: 0; width: 100%; }
.hero-photo img { object-position: 70% center; }
.hero-photo::after { background: none; }
@media (max-width: 980px) {
  .hero-photo { width: 100%; }
  .hero-photo img { object-position: 74% center; }
  .hero-photo::after { background: linear-gradient(to right, rgba(5,2,1,0.82) 0%, rgba(5,2,1,0.45) 45%, rgba(5,2,1,0.1) 80%); }
}

/* v4.1 — zoom out the scene (image edges match bg, so it can shrink
   seamlessly) + more breathing room around the hero content */
.hero { padding: calc(74px + 72px) 0 96px; }
.hero-photo img {
  position: absolute; right: -1%; top: 50%; height: 84%; width: auto; max-width: none;
  object-fit: contain; object-position: center;
  animation: hero-kb4 18s ease-in-out infinite alternate;
}
@keyframes hero-kb4 {
  from { transform: translateY(-50%) scale(1); }
  to   { transform: translateY(-50%) scale(1.045); }
}
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; transform: translateY(-50%); } }
@media (max-width: 980px) {
  .hero { padding-top: calc(70px + 28px); }
  .hero-photo img { position: static; height: 100%; width: 100%; object-fit: cover; object-position: 74% center; transform: none; animation: none; }
}

/* v4.2 — respect the page margin grid: scene's right edge sits on the
   same margin the content uses (no bleed past the layout) */
@media (min-width: 981px) {
  .hero-photo img { right: var(--margin-page, 64px); }
}

/* v4.3 — dissolve the image's hard edges into the bg (short fade;
   edge tones already ≈ bg so the cut line vanishes) */
@media (min-width: 981px) {
  .hero-photo img {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-composite: intersect;
  }
}

/* v4.4 — wider, softer edge dissolve */
@media (min-width: 981px) {
  .hero-photo img {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,0.45) 8%, #000 19%, #000 81%, rgba(0,0,0,0.45) 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.45) 9%, #000 21%, #000 79%, rgba(0,0,0,0.45) 91%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,0.45) 8%, #000 19%, #000 81%, rgba(0,0,0,0.45) 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.45) 9%, #000 21%, #000 79%, rgba(0,0,0,0.45) 91%, transparent 100%);
    mask-composite: intersect;
  }
}

/* v4.5 — no CSS mask at all: the image's own rim is blended to the bg
   colour in the file itself; interior stays fully vivid */
@media (min-width: 981px) {
  .hero-photo img { -webkit-mask-image: none; mask-image: none; }
}

/* ============================================================
   HERO v5 — transparent rotated scene (no bg in the file at all):
   sits inside the margin grid, no blending needed by construction
   ============================================================ */
@media (min-width: 981px) {
  .hero-photo img {
    right: calc(var(--margin-page, 64px) + 1%);
    height: 88%;
    -webkit-mask-image: none; mask-image: none;
    filter: saturate(1.08) drop-shadow(0 30px 60px rgba(0,0,0,0.45));
  }
}

/* ============================================================
   v5.1 — WHOOP-style display treatment on the existing Archivo
   variable font (wght+wdth axes): heavier, wider, athletic
   ============================================================ */
.h-hero { font-weight: 780; font-stretch: 112%; letter-spacing: -0.025em; }
.h-sec { font-weight: 740; font-stretch: 110%; letter-spacing: -0.02em; }
.display-heading { font-weight: 800; font-stretch: 114%; }
.eyebrow { font-stretch: 106%; }
.button { font-stretch: 105%; }
.stat-n { font-weight: 760; font-stretch: 112%; }

/* ============================================================
   HERO FINAL (consolidado) — todas as propriedades pinadas para
   eliminar qualquer fuga de regras históricas em caches velhas
   ============================================================ */
.hero { background: #050201; padding: calc(74px + 64px) 0 88px; min-height: 100svh; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; overflow: hidden; pointer-events: none; }
.hero-photo::before, .hero-photo::after { content: none; background: none; }
.hero-photo img {
  position: absolute; right: calc(var(--margin-page, 64px) + 1%); top: 50%; left: auto;
  height: 86%; width: auto; max-width: none;
  object-fit: contain; object-position: center;
  -webkit-mask-image: none; mask-image: none;
  filter: saturate(1.08) drop-shadow(0 26px 50px rgba(0, 0, 0, 0.4));
  transform: translateY(-50%);
  animation: hero-final 18s ease-in-out infinite alternate;
}
@keyframes hero-final {
  from { transform: translateY(-50%) scale(1); }
  to   { transform: translateY(-50%) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }
@media (max-width: 980px) {
  .hero { padding-top: calc(70px + 24px); min-height: auto; }
  .hero-photo { position: relative; height: 48vh; min-height: 340px; order: 2; }
  .hero .container { display: flex; flex-direction: column; }
  .hero-photo img { position: absolute; right: 4%; height: 96%; }
}

/* ---- tipografia: moderar o tratamento WHOOP (estava grande demais) ---- */
.h-hero { font-size: clamp(42px, 4.8vw, 72px); font-weight: 730; font-stretch: 107%; letter-spacing: -0.022em; }
.h-sec { font-size: clamp(32px, 3.4vw, 52px); font-weight: 710; font-stretch: 106%; }
.display-heading { font-weight: 760; font-stretch: 108%; }
.stat-n { font-weight: 720; font-stretch: 108%; }

/* ============================================================
   HERO FINAL v2 — volta à cena completa (hero-scene2, fundo baked
   + rim-blend no ficheiro): rendering mais robusto, zero recortes
   ============================================================ */
.hero-photo img {
  position: absolute; right: var(--margin-page, 64px); top: 50%; left: auto;
  height: 84%; width: auto; max-width: none;
  object-fit: contain; object-position: center;
  -webkit-mask-image: none; mask-image: none;
  filter: none;
  transform: translateY(-50%);
  animation: hero-final2 18s ease-in-out infinite alternate;
}
@keyframes hero-final2 {
  from { transform: translateY(-50%) scale(1); }
  to   { transform: translateY(-50%) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }
@media (max-width: 980px) {
  .hero-photo img { position: absolute; right: 0; height: 96%; }
}

/* ============================================================
   FIX CRÍTICO UX — conteúdo visível por defeito.
   O sistema .reveal escondia secções inteiras durante o scroll
   (ecrãs vazios até o IntersectionObserver disparar).
   ============================================================ */
html.js-reveal .reveal, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* v6.3 — fundo do hero = cor exata da scene4; navbar mais opaca sobre claro */
.hero { background: #060200; }
.header-inner { background: rgba(16, 11, 8, 0.82); }

/* v6.4 — scene5 + deslocada ~3cm para a esquerda */
@media (min-width: 981px) {
  .hero-photo img { right: calc(var(--margin-page, 64px) + 110px); }
}

/* v6.5 — cena dimensionada pela largura: nunca invade a coluna de texto,
   espaço a respirar dos dois lados, dentro das margens */
@media (min-width: 981px) {
  .hero-photo img {
    right: var(--margin-page, 64px);
    width: min(45vw, 720px);
    height: auto;
    max-height: 86%;
  }
}

/* v6.6 — cena maior: ocupa o espaço à direita até quase tocar o texto */
@media (min-width: 981px) {
  .hero-photo img {
    right: calc(var(--margin-page, 64px) - 24px);
    width: min(56vw, 920px);
    height: auto;
    max-height: 96%;
  }
}

/* v6.7 — cena a 70% */
@media (min-width: 981px) {
  .hero-photo img {
    width: min(70vw, 1150px);
    max-height: 100%;
  }
}

/* ============================================================
   PREMIUM PASS v7 — Clash Display + header fix + micro-interações
   ============================================================ */

/* ---- header: matar a barra de blur full-width; pílula é o único blur ---- */
.site-header { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 0 !important;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.site-header.nav-hide { transform: translateY(-140%); }

/* ---- tipografia display: Clash Display ---- */
.h-hero, .h-sec, .display-heading, .stat-n, .ben h3, .founder-lead, .why-price h4, .split-title, .deal-sub {
  font-family: 'Clash Display', 'Archivo', sans-serif; }
.h-hero { font-weight: 600; font-stretch: 100%; letter-spacing: -0.015em; }
.h-sec { font-weight: 600; font-stretch: 100%; letter-spacing: -0.012em; }
.display-heading { font-weight: 700; font-stretch: 100%; }
.stat-n { font-weight: 600; font-stretch: 100%; }
.ben h3 { font-weight: 600; }
.founder-lead { font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.01em; }

/* ---- micro-interações: cada movimento premium, nada de poluição ---- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.button { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s cubic-bezier(.2, .8, .2, 1), background-color .3s ease, color .3s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.button:active { transform: translateY(0); transition-duration: .12s; }

.header-nav a { position: relative; }
.header-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px;
  background: var(--alt-espresso-sand, #E8D9B5); transition: right .35s cubic-bezier(.2, .8, .2, 1); }
.header-nav a:hover::after { right: 0; }

.deal-list li, .split-list li { transition: padding-left .35s cubic-bezier(.2, .8, .2, 1), background-color .3s ease; }
.deal-list li:hover, .split-list li:hover { padding-left: 38px; }

.ben-proof { transition: border-color .3s ease, background-color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.ben:hover .ben-proof { border-left-color: var(--alt-espresso-sand, #E8D9B5); transform: translateX(4px); }

.faq summary { transition: color .3s ease; }
.faq summary:hover { color: var(--warm-accent, #3F586E); }
.faq details p { animation: faq-open .4s cubic-bezier(.2,.8,.2,1); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.deal-card, .ben-photo img { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.deal-card:hover, .ben-photo:hover img { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(6,8,12,.35); }

/* ---- founder: pull-quote + foto tratada ---- */
.founder-frame { border-radius: 20px; }
.founder-frame img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.founder-portrait:hover .founder-frame img { transform: scale(1.025); }
.founder-body p:first-child { font-size: 19px; line-height: 1.55; color: var(--c-cream); padding-left: 18px; border-left: 2px solid var(--alt-espresso-sand, #E8D9B5); }
.sig-hand { font-size: 40px; }

/* ---- selo rotativo (craft cue) no painel de transparência ---- */
.stamp { position: absolute; top: -44px; right: 6%; width: 104px; height: 104px; pointer-events: none; z-index: 2; }
.stamp svg { width: 100%; height: 100%; animation: stamp-spin 36s linear infinite; }
.stamp text { font-size: 11.5px; font-weight: 600; letter-spacing: 2.5px; fill: var(--deep-black); text-transform: uppercase; }
.stamp circle.core { fill: var(--alt-espresso-sand, #E8D9B5); }
@keyframes stamp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stamp svg { animation: none; } }
.split-grid { position: relative; overflow: visible; }

/* ---- why-price dentro da coluna do deal ---- */
.deal-get .why-price { margin-top: 30px; margin-bottom: 0; padding: 24px 26px; }
.deal-get .why-price h4 { font-size: 19px; }
