/* ============================================================
   CHULU — banana coconut chews
   Two-color discipline:
     mustard  #FFCA04   (background field)
     cream    #FDF3DC   (type + accents)
     near-black #141414 (type + accents)
   Third element only: burnt-orange #E85D26 pill/sticker tags
   ============================================================ */

:root {
  --mustard: #FFCA04;
  --cream:   #FDF3DC;
  --black:   #141414;
  --orange:  #E85D26;

  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--mustard);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--mustard);
  color: var(--black);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Shared type helpers ---- */
.kicker {
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 400;
}

.section-head {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 9vw, 7rem);
}
.section-head--cream { color: var(--cream); }

/* ---- Pills / buttons ---- */
.pill {
  display: inline-block;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: clamp(0.72rem, 1.3vw, 0.85rem);
  padding: 0.85em 1.7em;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.pill--dark {
  background: var(--black);
  color: var(--cream);
}
.pill--dark:hover { transform: translateY(-2px); background: #000; }
.pill--dark:active { transform: translateY(0); }

/* ---- Sticker tags (burnt-orange only) ---- */
.sticker {
  display: inline-block;
  background: var(--orange);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: clamp(0.6rem, 1.3vw, 0.8rem);
  padding: 0.55em 1em;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---- Utility ---- */
.is-hidden { display: none !important; }

/* ============================================================
   NAV — single-element scroll-morph
   One persistent pill, always centered (left:50% + translateX). It never
   swaps between two elements — that's what keeps the boundary flicker-free.
   Top of page: chrome (cream bg/shadow) is transparent, the element is
   wide and the wordmark is collapsed, so the links + CTA float over the
   hero. Past the threshold, JS flips one class and the SAME element morphs:
   the chrome fades in, the width contracts, the gap tightens and the CHULU
   wordmark expands — all on one shared 520ms ease so it reads as a single
   coordinated motion. CSS owns the timing, so the speed is constant no
   matter how fast the user scrolls past the threshold.
   ============================================================ */
:root {
  --nav-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-form: 520ms;
}

/* Inner symmetric padding of the pill: equals the vertical breathing room
   above/below the PRE-ORDER button, so the button (right) and the CHULU
   wordmark (left) sit with matching space on all sides. --nav-h and the
   button height are chosen so this resolves to ~13px; see NAV_PAD. */
:root {
  --nav-h: 56px;
  /* = (nav-h 56 − PRE-ORDER button height 30.3) / 2 ≈ 13px, so the button's
     top/bottom/right insets match and CHULU mirrors it on the left. The
     button font-size is fixed (below) so this holds on every breakpoint. */
  --nav-pad: 13px;
}

.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;   /* left group ↔ CTA; converge on scroll */
  height: var(--nav-h);
  /* Rest: full-width transparent bar — links flush left, CTA flush right. */
  width: calc(100% - 2 * var(--pad));
  padding: 0;
  color: var(--black);
  pointer-events: none;             /* let hero clicks through the gaps */
  transition:
    width var(--nav-form) var(--nav-ease),
    padding var(--nav-form) var(--nav-ease);
}
/* PRE-ORDER is always interactive; the left group's links/wordmark are only
   clickable once the pill has formed (they're hidden + inert at rest, so no
   invisible click targets float over the hero). pointer-events inherits. */
.nav__cta { pointer-events: auto; }

/* Chrome — the cream pill surface. Fades in as one coordinated layer. */
.nav__chrome {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(253, 243, 220, 0.95);   /* cream at 95% */
  /* 1px near-black border + soft shadow so the pill holds its shape on
     every background (it would otherwise vanish over cream sections). */
  border: 1px solid var(--black);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--nav-form) var(--nav-ease);
}

/* Left group: [wordmark + links]. Hidden at rest — only the PRE-ORDER pill
   shows top-right. Fades + scales in as one unit when the pill forms. */
.nav__left {
  display: flex;
  align-items: center;
  min-width: 0;
  opacity: 0;
  transform: scale(0.94);
  transform-origin: left center;
  pointer-events: none;
  transition:
    opacity var(--nav-form) var(--nav-ease),
    transform var(--nav-form) var(--nav-ease);
}

/* Wordmark — collapsed at the top, expands into the pill's left slot.
   Its own margin-right animates so the links glide right as it grows. */
.nav__mark {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  max-width: 0;
  margin-right: 0;
  transition:
    opacity var(--nav-form) var(--nav-ease),
    max-width var(--nav-form) var(--nav-ease),
    margin-right var(--nav-form) var(--nav-ease);
}

.nav__links {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2.25rem);
}
.nav__links a {
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 400;
}
.nav__links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
/* Fixed font-size (not the responsive pill clamp) so the button height —
   and therefore its vertical breathing room — is constant across
   breakpoints, keeping it equal to --nav-pad everywhere. */
.nav__cta { padding: 0.6em 1.4em; font-size: 0.8rem; }

/* Converged (scrolled) state — same element, contracted into a pill.
   Left/right padding = --nav-pad so CHULU and PRE-ORDER get equal inset,
   matching their vertical breathing room. */
.is-scrolled .nav {
  width: min(560px, calc(100% - 24px));
  padding: 0 var(--nav-pad);
}
.is-scrolled .nav__chrome { opacity: 1; }
.is-scrolled .nav__left { opacity: 1; transform: scale(1); pointer-events: auto; }
.is-scrolled .nav__mark {
  opacity: 1;
  max-width: 140px;
  margin-right: clamp(1rem, 3vw, 1.75rem);
}

@media (prefers-reduced-motion: reduce) {
  .nav, .nav__chrome, .nav__mark { transition-duration: 0.2s; }
}

/* Mobile: the pill spans nearly full width; the links stay (shrunk) so the
   scrolled pill reads CHULU · STORY WHY STASH · PRE-ORDER at 390px and up. */
@media (max-width: 640px) {
  .nav,
  .is-scrolled .nav {
    width: calc(100% - 28px);
    padding: 0 var(--nav-pad);
  }
  /* Drop the redundant CHULU wordmark on mobile so STORY/WHY/STASH stay
     legible; the giant hero word already carries the brand. */
  .nav__mark { display: none; }
  .nav__links { gap: 0.35rem; }
  .nav__links a {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 0.65rem 0.4rem;   /* ≥32px tap target */
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem var(--pad) 48px;   /* 48px from the CTA to the bottom edge */
  overflow: hidden;
}

/* Giant condensed wordmark — texture, not logo.
   Tall enough that the tops and bottoms crop off, wide enough
   that it bleeds off both sides. No letter is fully contained. */
/* Hero wordmark — inline SVG so Anton's sharp corners get a subtle rounded
   stroke (same colour as fill, round joins, painted under the fill). Sized
   full-bleed and centred so the letters crop off the edges; the nav floats
   over the cropped tops. */
.hero__word {
  position: absolute;
  top: 50%;
  left: 50%;
  --cap: min(58vw, 102vh);            /* effective font-size */
  width: calc(var(--cap) * 2.118);    /* Anton "CHULU" advance ≈ 2.118em */
  height: calc(var(--cap) * 0.88);
  margin: 0;
  transform: translate(-50%, -53%);   /* nudge up so the tops crop slightly */
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.hero__word svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero__word text {
  font-family: "Anton", system-ui, sans-serif;
  font-weight: 400;
  fill: var(--cream);
  stroke: var(--cream);
  stroke-width: 1.5;                  /* ≈ 0.015em at the 100-unit font-size */
  stroke-linejoin: round;
  paint-order: stroke;
}

.hero__product {
  position: absolute;
  top: 49%;
  left: 50%;
  translate: -50% -50%;          /* centering — kept off the animated transform */
  z-index: 2;
  display: block;
  /* Square box capped by width AND height so it never overflows a short
     (landscape-phone) viewport. 20px padding keeps the image off the box
     edge (the PNG crops tight, matte to 0px) so the drop-shadow renders
     fully around the silhouette. */
  width: min(380px, 62vw, 68vh);
  height: auto;                  /* let width + aspect-ratio govern (the img's
                                    height="340" attr would otherwise force a
                                    non-square box and distort the cube) */
  aspect-ratio: 1;
  padding: 20px;
  object-fit: contain;
  filter: drop-shadow(0 26px 36px rgba(20, 20, 20, 0.4));
  will-change: transform;
  animation: float 6s ease-in-out infinite;
}

/* Stickers slapped onto the letterforms, overlapping strokes.
   ~55% larger than the base sticker so they read as bold slapped labels;
   PREMIUM IMPORT sits across the H's stroke, NO ADDITIVES rides the last U. */
.hero > .sticker {
  position: absolute;
  z-index: 3;
  font-size: clamp(0.9rem, 1.7vw, 1.25rem);
}
.sticker--a { top: 18%; left: 22%; transform: rotate(-6deg); }
/* bottom uses a px floor so the gap to the kicker holds on short viewports
   (the kicker sits a fixed distance from the bottom; a bare % would collapse
   toward it as the hero shortens). */
.sticker--b { bottom: max(26%, 215px); right: 14%; transform: rotate(4deg); }

.hero__foot {
  position: relative;
  z-index: 4;
  margin-top: auto;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;                 /* kicker → 16px → button (→ 48px hero pad → edge) */
  color: var(--black);
}
/* One line on desktop; mobile clamps it back to two (see media query). */
.hero__foot .kicker { max-width: 52rem; }
/* Larger CTA — ~25% more padding on both axes, one font step up. */
.hero__cta {
  padding: 1.06em 2.13em;
  font-size: 0.95rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__product { animation: none; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  position: relative;
  background: var(--cream);
  color: var(--black);
  padding: clamp(4rem, 12vw, 9rem) var(--pad);
  overflow: hidden;
}
.manifesto__lines {
  max-width: 1400px;
  margin: 0 auto;
}
.manifesto__line {
  position: relative;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.025em;
  font-size: clamp(2.2rem, 9.5vw, 8.5rem);
}
.manifesto__line + .manifesto__line { margin-top: -0.05em; }

/* The suitcase line stays flush-left like the others (no left bleed, which
   was amputating the F/S). Only its sticker rides the top-right corner. */
.manifesto__line--bleed {
  margin-left: 0;
}
.manifesto__line--bleed .sticker {
  position: absolute;
  top: -0.5em;
  right: 4%;
  transform: rotate(6deg);
  z-index: 3;
}

/* "Two Ingredients" sits top-right, clear of the first letters */
.manifesto > .sticker--c {
  position: absolute;
  top: 8%;
  right: 6%;
  transform: rotate(-7deg);
  z-index: 3;
}

@media (max-width: 640px) {
  .manifesto__line--bleed .sticker { top: -0.9em; right: 2%; }
  .manifesto > .sticker--c { top: 4%; right: 4%; }
}

/* ============================================================
   WHY CHULU
   ============================================================ */
.why {
  background: var(--mustard);
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
}
.why .section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem) clamp(1.5rem, 3.5vw, 3rem);
  max-width: 1200px;
}
.why__item {
  border-top: 2px solid var(--black);
  padding-top: 1.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--cream);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.why__item h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.7rem;
}
.why__item p {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  line-height: 1.55;
  max-width: 34ch;
}

.why__closer {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 2px solid var(--black);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 8vw, 6rem);
}

@media (max-width: 640px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   THE STASH
   ============================================================ */
.stash {
  background: var(--black);
  color: var(--cream);
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
}
.stash .section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.stash__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 1200px;
}
.card {
  position: relative;
  background: var(--cream);
  color: var(--black);
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 20px -14px rgba(20, 20, 20, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 40px -20px rgba(20, 20, 20, 0.55);
}
.card--pop { outline: 3px solid var(--orange); outline-offset: -3px; }

.tag {
  position: absolute;
  top: -0.8rem;
  right: 1.25rem;
  background: var(--orange);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 0.45em 0.9em;
  border-radius: 999px;
}
.tag--gateway { transform: rotate(-5deg); left: 1.25rem; right: auto; }
.tag--pop { transform: rotate(4deg); }
.tag--value { transform: rotate(5deg); }

.card__name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
.card__price {
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
}
.card__per {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
  margin-top: -0.2rem;
}
/* Piece count under the name — small, muted, consistent on all three cards */
.card__pieces {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(20, 20, 20, 0.5);
  margin-top: -0.2rem;
}
/* Free-shipping perk — small, uppercase, letterspaced (3-pack + stash) */
.card__ship {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--black);
  margin-top: -0.1rem;
}
.card__line {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0.4rem 0;
  flex-grow: 1;
}
.card__cta { align-self: flex-start; margin-top: 0.5rem; }

@media (max-width: 820px) {
  .stash__grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ============================================================
   PRE-ORDER
   ============================================================ */
.preorder {
  background: var(--mustard);
  padding: clamp(4rem, 11vw, 8.5rem) var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preorder__head {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 6vw, 4.5rem);
  max-width: 20ch;
  margin-bottom: 1.75rem;
}

/* Scarcity progress bar (static) */
.scarcity {
  width: 100%;
  max-width: 460px;
  margin-bottom: 2.25rem;
}
.scarcity__track {
  height: 10px;
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 999px;
  overflow: hidden;
}
.scarcity__fill {
  width: 12%;
  height: 100%;
  background: var(--black);
  border-radius: 999px;
}
.scarcity__caption {
  margin-top: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.preorder__form {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  max-width: 520px;
  flex-wrap: wrap;
  justify-content: center;
}
.preorder__input {
  flex: 1 1 260px;
  min-width: 0;
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 0.85em 1.4em;
  font-family: inherit;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--black);
}
.preorder__input::placeholder { color: rgba(20, 20, 20, 0.5); }
.preorder__input:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  border-color: var(--black);
}
.preorder__submit { flex: 0 0 auto; }

.preorder__done {
  max-width: 520px;
  text-align: center;
  align-items: center;
}
.preorder__done-title {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.02em;
}
.preorder__done-body {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.4rem;
}

/* Cream footnote at the foot of the pre-order section — subtle on mustard */
.preorder__note {
  margin-top: clamp(2.75rem, 7vw, 4.5rem);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 400;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--cream);
  color: var(--black);
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
}
.faq .section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.faq__list { max-width: 820px; }
.faq__item {
  border-top: 2px solid var(--black);
  padding: 1.4rem 0;
}
.faq__item:last-child { border-bottom: 2px solid var(--black); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-weight: 800;
  font-size: 1.6em;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  line-height: 1.6;
  max-width: 62ch;
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--mustard);
  padding: clamp(3rem, 8vw, 6rem) 0 0;
  overflow: hidden;
}

/* Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 0.55rem 0;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.marquee__track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0 var(--pad);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
/* Full CHULU as inline SVG (same rounded-Anton as the hero): ~120vw wide and
   centered so the C and U bleed off both side edges, pulled down so the
   bottom half crops off the page bottom. The viewport crops a complete
   word — never a pre-truncated fragment. */
.footer__word {
  width: 120vw;
  margin-left: -10vw;            /* centre the 120vw word on the 100vw viewport */
  margin-bottom: -25vw;          /* ~bottom half sits below the clipped edge */
  line-height: 0;
  pointer-events: none;
  user-select: none;
}
.footer__word svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.footer__word text {
  font-family: "Anton", system-ui, sans-serif;
  font-weight: 400;
  fill: var(--cream);
  stroke: var(--cream);
  stroke-width: 1.5;             /* rounded terminals, like the hero */
  stroke-linejoin: round;
  paint-order: stroke;
}

/* ============================================================
   REVEAL (IntersectionObserver adds .is-visible)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MOBILE PASS  (<=430px)
   ============================================================ */
/* Keep the word legible (not over-cropped) on narrow screens too:
   width-locked, with a height cap for landscape phones. */
/* Phone-class devices — narrow width OR a touch device in landscape (short
   height + coarse pointer), so rotating a phone doesn't flip to desktop. */
@media (max-width: 640px), (pointer: coarse) and (max-height: 600px) {
  /* Massive + left-anchored: caps ~70vh, the word runs off-canvas to the
     right (viewport shows ~CHU). Height-driven — do NOT clamp to width. */
  .hero__word {
    --cap: 50vh;
    left: 0;
    transform: translate(-2%, -50%);
  }
  /* Stickers onto the visible left-hand letterforms. */
  /* Both stickers sit ON the visible CHU strokes, well clear of the kicker:
     PREMIUM IMPORT over the C (upper-left), NO ADDITIVES on the U (right,
     mid-hero) — never near the bottom kicker/CTA zone. */
  .sticker--a { top: 26%; left: 5%;  right: auto; bottom: auto; }
  .sticker--b { top: 42%; right: 4%; left: auto;  bottom: auto; }
  /* Clamp the kicker back to two lines on mobile. */
  .hero__foot .kicker { max-width: 20rem; }
}

@media (max-width: 430px) {
  .hero > .sticker { font-size: 0.82rem; }

  .manifesto__line { font-size: clamp(2rem, 13vw, 3.2rem); }

  .why__item h3 { font-size: 1.75rem; }
  .why__closer { font-size: clamp(1.9rem, 10vw, 3rem); }
}

/* ============================================================
   LANDSCAPE PHONES — a distinct case (wide but very short).
   The portrait "massive left-anchored CHU" treatment hides the word behind
   an oversized cube and drops the kicker behind it. Landscape has the width
   for the full word, so: desktop wordmark, an accent-sized cube up top, and
   the CTA (and kicker if it fits) forced to the foreground at the bottom.
   Placed after the portrait block so it wins for landscape phones.
   ============================================================ */
@media (pointer: coarse) and (orientation: landscape) and (max-height: 500px) {
  /* Full CHULU, desktop treatment — spans the width, height-capped, crops
     top/bottom (overrides the portrait left-anchored override above). */
  .hero__word {
    --cap: min(58vw, 96vh);
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /* Cube becomes a small accent, upper-centre, sitting behind the text. */
  .hero__product {
    width: min(180px, 40vh);
    top: 32%;
    z-index: 2;
  }
  /* Foreground text pinned to the bottom, above the cube. Force the foot out
     of its .reveal initial state (opacity 0 + translateY(28px)) so it can't
     land invisible/clipped in this cramped case. */
  .hero { padding-bottom: 14px; }
  .hero__foot {
    gap: 6px;
    z-index: 5;
    opacity: 1;
    transform: none;
  }
  .hero__foot .kicker { max-width: none; font-size: 0.6rem; }
  .hero__cta { padding: 0.72em 1.6em; font-size: 0.82rem; }
  /* At most one sticker — PREMIUM IMPORT on a letterform; drop the other. */
  .sticker--a { top: 14%; left: 9%; right: auto; bottom: auto; }
  .sticker--b { display: none; }
}
