/* HyperNatural — components
   Header, hero, chapters, media, technical chrome, cards, tables, FAQ, products, footer. */

/* ===================== Header ===================== */
.promo {
  background: var(--color-ink); color: var(--color-cotton);
  font-size: var(--fs-caption); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  text-align: center; padding: 9px var(--gutter);
}
.promo a { border-bottom: 1px solid currentColor; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-cotton) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-dusk) 70%, transparent);
}
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; gap: var(--space-3); }
.nav { display: flex; gap: clamp(16px, 2vw, 28px); }
.nav a { font-size: var(--fs-body-s); font-weight: 500; letter-spacing: 0.02em; color: var(--color-ink); padding: 8px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: right var(--dur) var(--ease-out); }
.nav a:hover::after, .nav a[aria-current='page']::after { right: 0; }
/* Official marks. Wordmark PNG is used as a mask so it takes currentColor (ink by day, cotton at night). */
.wordmark__img {
  display: inline-block; width: calc(var(--wm-h, 18px) * 6.1429); height: var(--wm-h, 18px);
  background: currentColor;
  -webkit-mask: url('/assets/brand/wordmark.png') center / contain no-repeat;
  mask: url('/assets/brand/wordmark.png') center / contain no-repeat;
}
.bird { display: inline-block; width: var(--bird, 24px); height: calc(var(--bird, 24px) * 1.034); fill: currentColor; }
.lockup { justify-self: center; display: inline-flex; align-items: center; gap: 12px; color: var(--color-ink); --wm-h: 17px; }
.lockup__bird { width: 22px; height: 23px; fill: currentColor; color: var(--color-magpie); }
.band--night .lockup, .footer .lockup { color: inherit; }
.header__right { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 1.5vw, 20px); }
.header__right a { font-size: var(--fs-body-s); font-weight: 500; color: var(--color-ink); }
.header__right .btn { min-height: 36px; padding: 0 14px; font-size: var(--fs-label); }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ''; display: block; width: 20px; height: 1.5px; background: var(--color-ink); position: relative; transition: transform 300ms var(--ease-out), opacity 300ms; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.header.is-open .menu-btn span { background: transparent; }
.header.is-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.header.is-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1200px) {
  .header__in { grid-template-columns: auto 1fr auto; }
  .header__in .lockup { justify-self: start; order: 1; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; order: 3; }
  .header__right { order: 2; justify-self: end; }
  .header__right .nav-join { display: none; }
  .header.is-open .nav {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-cotton); border-bottom: 1px solid var(--color-dusk);
    padding: var(--space-3) var(--gutter) var(--space-4);
  }
  .header.is-open .nav a { font-family: var(--font-heading); font-size: var(--fs-h4); font-weight: 300; padding: 10px 0; }
  .header.is-open .nav a::after { display: none; }
}

/* ===================== Hero / statement over media ===================== */
.hero {
  position: relative; min-height: min(92dvh, 960px); display: grid; align-items: end;
  overflow: hidden; background: var(--color-ink); color: var(--color-cotton);
  isolation: isolate;
}
.hero--center { align-items: center; text-align: center; }
.hero--center .hero__body { justify-items: center; }
.hero--short { min-height: min(78dvh, 820px); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media > img, .hero__media > video, .hero__media > canvas { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(61,57,53,0.82) 0%, rgba(61,57,53,0.45) 35%, rgba(61,57,53,0.12) 70%, rgba(61,57,53,0.10) 100%); }
.hero--light { background: var(--color-cotton); color: var(--color-ink); }
.hero--light .hero__media::after { background: linear-gradient(to top, rgba(241,238,230,0.55), rgba(241,238,230,0) 50%); }
.hero--center .hero__media::after { background: rgba(61,57,53,0.42); }
.hero--light.hero--center .hero__media::after { background: radial-gradient(ellipse at 50% 45%, rgba(241,238,230,0.55), rgba(241,238,230,0.05) 70%); }
.hero__body { position: relative; z-index: 1; display: grid; gap: var(--space-4); padding-block: var(--section) var(--block); }
.hero__body .label { color: color-mix(in srgb, currentColor 72%, transparent); }
.hero__foot { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; padding: 0 var(--gutter) 20px; pointer-events: none; }
.hero__foot > * { pointer-events: auto; }
@media (max-width: 720px) {
  .hero__body { padding-bottom: 80px; }
  .hero__foot > .caption { display: none; }
  .hero__foot .caption-rail .caption + .caption { display: none; }
}
.hero__body .btn { border-color: currentColor; color: inherit; }
.hero__body .btn--key { background: var(--color-magpie); border-color: var(--color-magpie); color: var(--color-cotton); }
.hero__body .btn--key:hover { background: #12365E; border-color: #12365E; color: var(--color-cotton); }
.hero__body .btn:hover { background: var(--color-cotton); color: var(--color-ink); }

/* ===================== Video / placeholder chip ===================== */
.media { overflow: hidden; } /* positioning comes from the host (.hero__media, .chapter__media, .frame …) */
.media--zoom > video { transform: scale(1.08); } /* hides letterboxing baked into a source clip */
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease-out); }
.media.is-playing video { opacity: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-caption); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--radius-sm);
  background: rgba(61,57,53,0.55); color: var(--color-cotton);
  border: 1px solid rgba(241,238,230,0.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip::before { content: ''; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; opacity: 0.9; }
.chip--still::before { display: none; }
.chip--pos { position: absolute; left: 16px; bottom: 16px; z-index: 2; }

/* ===================== Technical chrome (Atlas / Anima register) ===================== */
.tick { position: relative; }
.tick::before, .tick::after, .tick > .tick-b::before, .tick > .tick-b::after {
  content: ''; position: absolute; width: 14px; height: 14px; border-color: currentColor; border-style: solid; opacity: 0.55; pointer-events: none;
}
.tick::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.tick::after { right: 0; top: 0; border-width: 1px 1px 0 0; }
.tick > .tick-b::before { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.tick > .tick-b::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.tick-b { position: absolute; inset: 0; pointer-events: none; }
.hairgrid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.22;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 96px;
  /* fade top/bottom, and fade out to the right so copy sits clean */
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent), linear-gradient(to right, black 38%, transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent), linear-gradient(to right, black 38%, transparent 62%);
  mask-composite: intersect; -webkit-mask-composite: source-in;
}
.index { display: inline-flex; align-items: baseline; gap: 10px; }
.index .label { color: inherit; opacity: 0.7; }
.index__n { font-family: var(--font-heading); font-weight: 300; font-size: var(--fs-h4); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--key); }
.caption-rail { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.caption-rail .caption { color: inherit; opacity: 0.7; }

/* ===================== Section head ===================== */
.sec-head { display: grid; gap: var(--space-3); margin-bottom: var(--block); }
.sec-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--space-5); }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ===================== Punchline band ===================== */
.punch { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-5); align-items: start; }
.punch__claims { display: grid; gap: 0; }
.punch__claims > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: 16px 0; border-top: 1px solid var(--rule); }
.punch__claims > div:last-child { border-bottom: 1px solid var(--rule); }
.punch__claims .stat { font-family: var(--font-heading); font-weight: 300; font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.02em; }
@media (max-width: 900px) { .punch { grid-template-columns: 1fr; } }

/* ===================== Ingredient cards / exploded yarn ===================== */
.yarn { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 1.3fr) 1fr; gap: var(--space-4); align-items: center; }
.yarn__stage { position: relative; aspect-ratio: 1; border-radius: var(--radius-card); overflow: hidden; background: var(--bg-raised); border: 1px solid var(--rule); }
.yarn__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.yarn__stage .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yarn__col { display: grid; gap: var(--space-4); }
.icard { padding: var(--space-4); border-radius: var(--radius-md); background: var(--bg-raised); border: 1px solid var(--rule); display: grid; gap: 10px; position: relative; }
.icard__row { display: flex; justify-content: space-between; align-items: center; }
.icard__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--fiber)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--fiber)) 18%, transparent); }
.icard .h4 { font-size: var(--fs-sub); }
.icard p { color: var(--fg-muted); font-size: var(--fs-body-s); line-height: 1.5; }
@media (max-width: 1024px) { .yarn { grid-template-columns: 1fr; } .yarn__stage { max-width: 560px; margin-inline: auto; width: 100%; } .yarn__col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .yarn__col { grid-template-columns: 1fr; } }

/* ===================== Chapters (full-bleed, type in the picture) ===================== */
.chapters { display: grid; gap: 2px; }
.chapter {
  position: relative; display: grid; align-items: end; min-height: min(86dvh, 820px);
  overflow: hidden; background: var(--color-ink); color: var(--color-cotton); isolation: isolate;
}
.chapter__media { position: absolute; inset: 0; z-index: 0; }
.chapter__media > img, .chapter__media > video, .chapter__media > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1600ms var(--ease-out); }
.chapter:hover .chapter__media > img, .chapter:hover .chapter__media > video { transform: scale(1.05); }
.chapter__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(61,57,53,0.78) 0%, rgba(61,57,53,0.15) 55%, rgba(61,57,53,0.25) 100%); }
.chapter__body { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: end; padding-block: var(--block); }
.chapter__head { display: grid; gap: var(--space-3); }
.chapter__aside { display: grid; gap: var(--space-3); justify-items: start; }
.chapter__aside p { max-width: 36ch; opacity: 0.9; }
.chapter .index { position: absolute; z-index: 1; left: var(--gutter); top: var(--block); }
.chapter .btn { color: inherit; border-color: currentColor; }
.chapter .btn:hover { background: var(--color-cotton); color: var(--color-ink); }
@media (max-width: 900px) { .chapter__body { grid-template-columns: 1fr; } .chapter__aside { justify-items: start; } }

/* ===================== Mechanism lanes (01 / 02 / 03) ===================== */
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.lane { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-right: 1px solid var(--rule); display: grid; gap: var(--space-3); align-content: start; }
.lane:last-child { border-right: 0; }
.lane:not(:first-child) { padding-left: var(--space-4); }
.lane__n { font-family: var(--font-heading); font-weight: 300; font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.02em; color: var(--key); }
.lane .h4 { font-size: var(--fs-sub); }
.lane p { color: var(--fg-muted); font-size: var(--fs-body-s); }
.lane__viz { height: clamp(180px, 15vw, 250px); border-radius: var(--radius-md); background: var(--bg-raised); border: 1px solid var(--rule); overflow: hidden; position: relative; }
.lane__viz svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .lanes { grid-template-columns: 1fr; } .lane { border-right: 0; border-bottom: 1px solid var(--rule); padding-left: 0 !important; } .lane:last-child { border-bottom: 0; } }

/* ===================== GL stage (mechanism visualizations) ===================== */
.stage { position: relative; overflow: hidden; background: var(--bg-raised); border: 1px solid var(--rule); border-radius: var(--radius-card); }
.stage canvas, .stage .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage .fallback { transition: opacity 600ms var(--ease-out); }
.stage.has-gl .fallback { opacity: 0; }
.stage--21x9 { aspect-ratio: 21 / 9; }
.stage--16x9 { aspect-ratio: 16 / 9; }
.stage--4x3 { aspect-ratio: 4 / 3; }
.stage--sq { aspect-ratio: 1; }
.stage__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; }
.stage__hud .row { gap: var(--space-4); }
.stage__hud .label { color: inherit; opacity: 0.75; }
.stage__readout { font-family: var(--font-heading); font-weight: 300; font-size: var(--fs-h1); line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stage__readout small { font-size: 0.4em; letter-spacing: -0.01em; vertical-align: 0.9em; margin-left: 0.1em; }
.stage--night { --bg-raised: var(--color-ink); color: var(--color-cotton); border-color: #5A554E; }
.stage--pin { position: sticky; top: 72px; }
@media (max-width: 900px) { .stage--21x9 { aspect-ratio: 4 / 5; } .stage--16x9 { aspect-ratio: 4 / 5; } .stage--pin { position: relative; top: 0; } }

/* ===================== Spec / compare table ===================== */
.spec { width: 100%; font-size: var(--fs-body-s); }
.spec th, .spec td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec thead th { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); padding-top: 0; }
.spec tbody th { font-weight: 500; color: var(--fg); width: 30%; }
.spec td.hn { color: var(--fg); }
.spec td.hn strong { font-family: var(--font-heading); font-weight: 400; font-size: var(--fs-sub); letter-spacing: -0.01em; }
.spec td.them { color: var(--fg-muted); }
.spec td .pill { display: inline-block; font-size: var(--fs-caption); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid var(--rule); color: var(--fg-muted); }
.spec td .pill--yes { border-color: var(--key); color: var(--key); }
@media (max-width: 640px) { .spec thead { display: none; } .spec tbody th, .spec td { display: block; width: 100%; padding: 6px 0; border: 0; } .spec tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); } .spec td.them::before { content: 'Polyester · '; } .spec td.hn::before { content: 'HyperNatural · '; color: var(--fg-muted); } }

/* ===================== Proof band ===================== */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof__i { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-right: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.proof__i:not(:first-child) { padding-left: var(--space-4); }
.proof__i:last-child { border-right: 0; }
.proof__n { font-family: var(--font-heading); font-weight: 300; font-size: var(--fs-h1); line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.proof__n small { font-size: 0.42em; vertical-align: 0.95em; letter-spacing: 0; }
.proof__i p { color: var(--fg-muted); font-size: var(--fs-body-s); max-width: 24ch; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr 1fr; } .proof__i:nth-child(2) { border-right: 0; } .proof__i:nth-child(3) { padding-left: 0; border-top: 1px solid var(--rule); } .proof__i:nth-child(4) { border-top: 1px solid var(--rule); } }

/* Giant single stat */
.bigstat { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; position: relative; }
.bigstat__n { font-family: var(--font-heading); font-weight: 300; font-size: clamp(7rem, 2rem + 22vw, 22rem); line-height: 0.85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.bigstat__n sup { font-size: 0.3em; vertical-align: 1.6em; letter-spacing: -0.02em; }
@media (max-width: 900px) { .bigstat { grid-template-columns: 1fr; } }

/* ===================== Read the label (nutrition facts) ===================== */
.nutri { background: var(--bg-raised); color: var(--fg); border: 1px solid var(--fg); padding: 18px 20px; display: grid; gap: 6px; font-size: var(--fs-body-s); max-width: 420px; }
.nutri__title { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-h4); letter-spacing: -0.02em; line-height: 1; padding-bottom: 8px; border-bottom: 8px solid var(--fg); }
.nutri__sub { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--fg); font-weight: 500; }
.nutri__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.nutri__row.thick { border-bottom: 4px solid var(--fg); }
.nutri__row span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; }
.nutri__row .in { padding-left: 14px; color: var(--fg-muted); }
.nutri__foot { font-size: var(--fs-caption); color: var(--fg-muted); padding-top: 6px; line-height: 1.4; }
.nutri--them { border-color: var(--rule); color: var(--fg-muted); }
.nutri--them .nutri__title, .nutri--them .nutri__sub, .nutri--them .nutri__row.thick { border-color: var(--rule); }
.labels { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: var(--space-5); }
@media (max-width: 760px) { .labels { grid-template-columns: 1fr; } }

/* ===================== Essay with scattered stills ===================== */
.essay { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.essay__copy { display: grid; gap: var(--space-4); align-content: start; position: sticky; top: 104px; }
.essay__blocks { display: grid; gap: var(--block); }
.essay__block { display: grid; gap: 12px; padding-top: var(--space-3); border-top: 1px solid var(--rule); }
.essay__block .lane__n { font-size: var(--fs-h3); }
.essay__block p { color: var(--fg-muted); max-width: 40ch; }
.essay__block .frame { margin-top: 8px; }
@media (max-width: 900px) { .essay { grid-template-columns: 1fr; } .essay__copy { position: static; } }

.scatter { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-3); align-items: start; }
.scatter .frame { width: 100%; }
.scatter__a { grid-column: 1 / span 5; }
.scatter__b { grid-column: 7 / span 6; margin-top: 18%; }
.scatter__c { grid-column: 3 / span 4; margin-top: 0; }
.scatter__d { grid-column: 8 / span 4; margin-top: 4%; }
@media (max-width: 900px) { .scatter__a { grid-column: 1 / span 7; } .scatter__b { grid-column: 6 / span 7; } .scatter__c { grid-column: 1 / span 6; } .scatter__d { grid-column: 7 / span 6; } }

/* ===================== Timeline ===================== */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--rule); }
.tl { position: relative; padding: 28px var(--space-4) 0 0; display: grid; gap: 8px; }
.tl::before { content: ''; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg); }
.tl--hit::before { background: var(--key); border-color: var(--key); }
.tl .label { color: var(--fg-muted); }
.tl .stat { font-family: var(--font-heading); font-weight: 300; font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.02em; }
.tl p { color: var(--fg-muted); font-size: var(--fs-body-s); max-width: 26ch; }
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr; gap: var(--space-4); } .timeline::before { display: none; } }

/* ===================== Certified ===================== */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.cert { padding: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-raised); display: grid; gap: 10px; align-content: start; min-height: 220px; }
.cert .h4 { font-size: var(--fs-sub); }
.cert p { color: var(--fg-muted); font-size: var(--fs-body-s); }
.cert__mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.04em; color: var(--fg-muted); }
@media (max-width: 900px) { .certs { grid-template-columns: 1fr; } .cert { min-height: 0; } }

/* ===================== FAQ ===================== */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 22px 0; font-family: var(--font-heading); font-size: var(--fs-sub); font-weight: 400; letter-spacing: -0.005em; }
.faq summary::after { content: '+'; font-family: var(--font-body); font-weight: 300; font-size: 28px; line-height: 1; color: var(--fg-muted); transition: transform 300ms var(--ease-out); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--fg-muted); max-width: 60ch; }

/* ===================== Products ===================== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.product { display: grid; gap: 12px; }
.product .frame { aspect-ratio: 4 / 5; border-radius: var(--radius-md); background: #E6E1D6; }
.product .frame img { transition: transform 1200ms var(--ease-out); }
.product:hover .frame img { transform: scale(1.03); }
.product__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product__name { font-weight: 500; }
.product__fab { font-size: var(--fs-body-s); color: var(--fg-muted); }
.product__price { font-variant-numeric: tabular-nums; font-size: var(--fs-body-s); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr 1fr; } }

/* ===================== Bridge CTA ===================== */
.bridge { display: grid; grid-template-columns: 1fr auto; gap: var(--space-5); align-items: end; padding-block: var(--section); border-top: 1px solid var(--rule); }
.bridge .h2 { max-width: 16ch; }
@media (max-width: 900px) { .bridge { grid-template-columns: 1fr; } }

/* ===================== Mischief + footer ===================== */
/* Magpie-blue band, the bird large at the right edge. No media. */
.mischief { position: relative; overflow: hidden; background: var(--color-magpie); color: var(--color-cotton); isolation: isolate; }
.mischief__bird { position: absolute; z-index: 0; right: 5%; top: 50%; transform: translateY(-50%); height: 82%; aspect-ratio: 196.64 / 203.35; color: #245B99; pointer-events: none; }
.mischief__bird svg { width: 100%; height: 100%; display: block; }
.mischief__mark { display: block; fill: currentColor; }
.mischief__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-5); align-items: end; padding-block: var(--section); }
.mischief .label { color: #B7CBE3; }
.mischief form { display: flex; gap: 8px; max-width: 480px; }
.mischief input { flex: 1; min-height: 48px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid rgba(241,238,230,0.45); background: rgba(241,238,230,0.08); color: var(--color-cotton); font: inherit; }
.mischief input::placeholder { color: rgba(241,238,230,0.65); }
.mischief .btn { border-color: var(--color-cotton); color: var(--color-cotton); }
.mischief .btn:hover { background: var(--color-cotton); color: var(--color-magpie); }
@media (max-width: 900px) {
  .mischief__in { grid-template-columns: 1fr; }
  .mischief__bird { top: auto; bottom: 4%; transform: none; right: 4%; height: 36%; opacity: .7; }
}

.footer { background: var(--color-cotton); color: var(--color-ink); border-top: 1px solid var(--color-dusk); }
.footer__in { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: var(--space-4); padding-block: var(--block); }
.footer h4 { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-label); margin-bottom: 14px; }
.footer li { padding: 5px 0; font-size: var(--fs-body-s); }
.footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid var(--color-dusk); font-size: var(--fs-caption); color: var(--color-label); }
@media (max-width: 900px) { .footer__in { grid-template-columns: 1fr 1fr; } .footer__in > :first-child { grid-column: 1 / -1; } }

/* ===================== Home ===================== */
/* Hero with the interactive cloth: light cotton ground, sheet bleeds the frame, copy sits left. */
.hero--cloth { min-height: min(100dvh, 1000px); align-items: center; }
.hero__media--plain::after { display: none; }
.hero--cloth .hero__media canvas { touch-action: pan-y; cursor: grab; }
.hero--cloth .hero__media .fallback { opacity: 0; object-fit: cover; object-position: 70% 50%; }
.hero--cloth .hero__media:not(.has-gl) .fallback { opacity: 1; }
.hero--cloth .hero__media:not(.has-gl)::after { display: block; content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(241,238,230,0.96) 35%, rgba(241,238,230,0.35) 70%, rgba(241,238,230,0.1)); }
.hero__body--cloth { pointer-events: none; }
.hero__body--cloth > * { pointer-events: auto; }
.hero--light.hero--cloth .lede { color: var(--color-label); }
.hero--light.hero--cloth .label { color: var(--color-magpie); }
@media (max-width: 720px) {
  /* narrow: the curtain hangs in the top half; copy sits beneath it */
  .hero--cloth { align-items: end; min-height: calc(100dvh - 104px); }
  .hero--cloth .hero__body { padding-top: 34dvh; padding-bottom: 64px; gap: var(--space-3); }
  .hero--cloth .hero__media .fallback { object-position: 50% 0; }
  .hero--cloth .hero__media:not(.has-gl)::after { background: linear-gradient(to top, rgba(241,238,230,1) 45%, rgba(241,238,230,0.2)); }
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-5); align-items: end; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Story tiles — editorial grid, media behind, copy bottom-left. */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: var(--space-3); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-cotton); display: block; isolation: isolate; }
.tile > img, .tile > video, .tile > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.02); transition: transform 1400ms var(--ease-out), opacity 600ms; }
.tile > video { opacity: 0; }
.tile.is-playing > video { opacity: 1; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(29,27,25,0.86) 0%, rgba(29,27,25,0.35) 45%, rgba(29,27,25,0.05) 75%); transition: opacity 600ms; }
.tile:hover > img, .tile:hover > video, .tile:hover > canvas { transform: scale(1.06); }
.tile__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.2vw, 32px); display: grid; gap: 8px; }
.tile__body .label { color: #CFE3FF; }
.tile__body .h3 { max-width: 14ch; }
.tile__body .body-s { max-width: 40ch; opacity: 0.85; }
.tile__body .link { justify-self: start; }
.tile--c .h3, .tile--d .h3, .tile--e .h3 { font-size: var(--fs-h4); }
.tile--a { grid-column: 1 / span 7; grid-row: span 2; min-height: 520px; }
.tile--b { grid-column: 8 / span 5; grid-row: span 2; min-height: 520px; }
.tile--c { grid-column: 1 / span 4; min-height: 300px; }
.tile--d { grid-column: 5 / span 4; min-height: 300px; }
.tile--e { grid-column: 9 / span 4; min-height: 300px; background: var(--color-ink); }
.tile--e > canvas { transform: none; }
.link--light { color: var(--color-cotton); border-color: rgba(241,238,230,0.4); }
.link--light:hover { border-color: var(--color-cotton); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--a, .tile--b { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .tile--c, .tile--d, .tile--e { grid-column: auto; min-height: 260px; }
  .tile--e { grid-column: 1 / -1; }
}

/* Press */
.press { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); align-items: start; }
.press__big { font-family: var(--font-heading); font-weight: 300; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.press__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); }
.press__list li { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--rule); }
.press__list q { font-family: var(--font-heading); font-size: var(--fs-sub); line-height: 1.25; letter-spacing: -0.01em; quotes: '“' '”'; }
.press__list .label { color: var(--key); }
@media (max-width: 900px) { .press { grid-template-columns: 1fr; } .press__list { grid-template-columns: 1fr; } }

/* Gallery — five frames in a staggered row. */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); margin-block: var(--block); align-items: start; }
.gallery .frame { border-radius: var(--radius-md); }
.gallery__a { margin-top: 12%; }
.gallery__b { margin-top: 0; }
.gallery__c { margin-top: 22%; }
.gallery__d { margin-top: 6%; }
.gallery__e { margin-top: 16%; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > * { margin-top: 0 !important; }
  .gallery__e { display: none; }
}

/* Magpie */
.magpie { display: grid; grid-template-columns: 5fr 6fr; gap: var(--space-6); align-items: center; }
.magpie__img .frame { border-radius: var(--radius-card); max-width: 520px; }
.bird--lg { --bird: 56px; }
@media (max-width: 900px) { .magpie { grid-template-columns: 1fr; } }
