/* ============ BurnFrost — editorial, water-based, typography-forward ============ */

:root {
  --paper: #f4f5f4;
  --ink: #121516;
  --ink-soft: #4c5557;
  --silver: #d7dbda;
  --silver-deep: #b9c0bf;
  --accent: #6fa8b8;        /* glacial */
  --accent-deep: #1d3a42;
  --ember: #f08229;
  --ember-deep: #b84a10;
  --coal: #0b0d0f;
  --display: "Newsreader", serif;
  --sans: "Archivo", sans-serif;
  --mono: "Spline Sans Mono", monospace;
  --ease-lux: cubic-bezier(.22, 1, .36, 1);
  --motion: 1;
}

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

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
html[data-snap="proximity"] { scroll-snap-type: y proximity; }
html[data-snap="off"] { scroll-snap-type: none; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  transition: background 1.1s var(--ease-lux), color 1.1s var(--ease-lux);
  overflow-x: hidden;
}
body[data-theme="ice"]    { background: #e9eeee; color: var(--ink); }
body[data-theme="deep"]   { background: #0c1518; color: #e9f1f2; }
body[data-theme="dark"]   { background: var(--coal); color: #f0ece7; }
body[data-theme="silver"] { background: #e3e6e5; color: var(--ink); }
body[data-theme="skin"]   { background: #e3c0a2; color: #2a1c14; }

::selection { background: var(--accent); color: #fff; }

section.panel {
  min-height: 100vh; min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(20px, 4vw, 64px);
}

/* ---------- entrance choreography ---------- */
.rise, .rise-late, .rise-later {
  opacity: 0;
  transform: translateY(calc(34px * var(--motion)));
  transition: opacity 1s var(--ease-lux), transform 1.2s var(--ease-lux);
}
.rise-late   { transition-delay: .18s; }
.rise-later  { transition-delay: .36s; }
.panel.in .rise, .panel.in .rise-late, .panel.in .rise-later {
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rise, .rise-late, .rise-later { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- chrome ---------- */
.brandmark {
  position: fixed; top: 28px; left: 36px; z-index: 60;
  font-family: var(--display); font-size: 22px; letter-spacing: .01em;
  mix-blend-mode: difference; color: #fff;
  text-decoration: none;
}
.brandmark sup { font-size: 10px; font-family: var(--sans); }

.dotnav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 14px;
  mix-blend-mode: difference;
}
.dotnav a {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  text-decoration: none; color: #fff; height: 14px;
}
.dotnav .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; opacity: 0; transform: translateX(6px);
  transition: opacity .35s, transform .35s var(--ease-lux);
  white-space: nowrap;
}
.dotnav a:hover .lbl, .dotnav a.active .lbl { opacity: .85; transform: none; }
.dotnav .dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid #fff; background: transparent;
  transition: background .35s, transform .35s var(--ease-lux);
  flex: none;
}
.dotnav a.active .dot { background: #fff; transform: scale(1.35); }

.thermo {
  position: fixed; left: 36px; bottom: 30px; z-index: 60;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  mix-blend-mode: difference; color: #fff; opacity: .8;
}

.pagenav {
  position: fixed; top: 30px; right: 64px; z-index: 60;
  display: flex; gap: 26px; mix-blend-mode: difference;
}
.pagenav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; text-decoration: none;
  opacity: .75; transition: opacity .3s;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.pagenav a:hover { opacity: 1; border-bottom-color: #fff; }
.pagenav a.here { opacity: 1; border-bottom-color: #fff; }

/* ================= S1 · HERO ================= */
#hero { flex-direction: column; }
#ripple {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .85;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr;
  align-items: center; gap: clamp(16px, 4vw, 70px);
  width: min(1240px, 100%);
}
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
/* hero eyebrow: no leading rule */
h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(52px, 7.4vw, 118px);
  line-height: 1.02; letter-spacing: -.015em;
  margin: 26px 0 30px;
  text-wrap: balance;
}
h1 em { font-style: italic; color: var(--accent-deep); }
.hero-sub {
  font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65;
  color: var(--ink-soft); max-width: 46ch; text-wrap: pretty;
}
/* hero feature marks — open editorial spec, no enclosing pill */
.hero-chips { display: flex; gap: clamp(20px, 2.6vw, 42px); margin-top: 40px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding-bottom: 8px; cursor: default;
  border-bottom: 1px solid rgba(18,21,22,.16);
}
.chip::before {
  content: "+"; font-family: var(--mono); font-size: 12px; line-height: 1;
  color: var(--accent-deep); opacity: .85;
  transition: transform .55s var(--ease-lux), color .4s;
}
.chip::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-lux);
}
.chip:hover::before { transform: rotate(135deg); color: var(--accent); }
.chip:hover::after { transform: scaleX(1); }

/* pouch 3D */
.pouch-stage { perspective: 1300px; display: grid; place-items: center; }
.pouch-3d {
  position: relative; width: min(380px, 72vw);
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
  will-change: transform;
  filter: drop-shadow(0 60px 50px rgba(18, 40, 46, .22));
}
.pouch-3d img { width: 100%; height: auto; display: block; }
.pouch-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 30%),
              rgba(255,255,255,.9), rgba(255,255,255,0) 60%);
  mix-blend-mode: soft-light;
  -webkit-mask-image: url("assets/pouch-front-800.png");
  mask-image: url("assets/pouch-front-800.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.pouch-float { animation: float 7s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(-14px * var(--motion))); }
}
@media (prefers-reduced-motion: reduce) { .pouch-float { animation: none; } }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none;
}
.scroll-cue .line {
  width: 1px; height: 44px; overflow: hidden; background: rgba(18,21,22,.15);
  position: relative;
}
.scroll-cue .line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--ink);
  animation: drip 2.2s var(--ease-lux) infinite;
}
@keyframes drip { to { top: 110%; } }

/* ================= S2 · MANIFESTO ================= */
/* ================= S2 · MANIFESTO (scroll-pinned) ================= */
#manifesto { display: block; padding: 0; height: 280vh; overflow: visible; }
#manifesto .pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 4vw, 64px);
  overflow: hidden;
}
#manifesto .wrap { width: min(960px, 100%); }
.manifesto-text {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(26px, 3.3vw, 48px);
  line-height: 1.38; letter-spacing: -.01em;
  text-wrap: pretty;
}
.manifesto-text .w {
  opacity: .14; transition: opacity .5s linear;
}
.manifesto-text .w.lit { opacity: 1; }
.manifesto-text em { font-style: italic; color: var(--accent-deep); }
.manifesto-text .mline { display: block; }
.manifesto-text .mline + .mline { margin-top: 1em; }
.bf-cycle {
  display: inline-block; position: relative;
  width: 1.9em; height: 1.14em;
  vertical-align: -0.18em;
  border-radius: .32em;
  background: rgba(18,21,22,.055);
  border: 1px solid rgba(18,21,22,.12);
  overflow: hidden;
  margin-right: .08em;
}
.bf-cycle img {
  position: absolute; left: 7%; top: 7%; width: 86%; height: 86%;
  object-fit: contain;
  opacity: 0; transform: translateY(40%) scale(.8);
  transition: opacity .45s var(--ease-lux), transform .6s var(--ease-lux);
}
.bf-cycle img.on { opacity: 1; transform: none; }
.manifesto-foot {
  margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ================= S3 · ANATOMY ================= */
#anatomy .wrap {
  width: min(1200px, 100%);
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 90px); align-items: center;
}
h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1.05; letter-spacing: -.015em; text-wrap: balance;
}
h2 em { font-style: italic; }
.section-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; opacity: .55; margin-bottom: 22px;
  display: block;
}
.lede {
  margin-top: 24px; font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7; color: var(--ink-soft); max-width: 44ch; text-wrap: pretty;
}
body[data-theme="deep"] .lede, body[data-theme="dark"] .lede { color: rgba(233,241,242,.65); }
body[data-theme="deep"] .eyebrow, body[data-theme="dark"] .eyebrow { color: rgba(233,241,242,.6); }

.layer-stage {
  perspective: 1500px; height: clamp(360px, 46vh, 520px);
  display: grid; place-items: center;
  cursor: ns-resize;
}
.layer-stack {
  position: relative; width: min(420px, 80%);
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-32deg);
  transition: transform .8s var(--ease-lux);
}
.layer {
  position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1.25;
  border-radius: 18px;
  transform: translateZ(calc(var(--z) * var(--spread, 26px)));
  transition: transform .9s var(--ease-lux);
  display: grid; place-items: center;
  border: 1px solid rgba(18,21,22,.12);
}
.layer.film {
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(214,222,222,.5));
  backdrop-filter: blur(2px);
}
.layer.gel {
  background: linear-gradient(135deg, rgba(133,196,211,.75), rgba(82,148,166,.55));
  box-shadow: inset 0 0 50px rgba(255,255,255,.45);
}
.layer.skin { background: linear-gradient(135deg, #ecd9c8, #e0bfa4); }
.layer .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(18,21,22,.6);
}
.layer-legend { position: relative; margin-top: 32px; }
@media (min-width: 901px) { .layer-stack { margin-left: -22px; } }
.legend-row {
  display: grid; grid-template-columns: 14px 1fr; gap: 14px;
  padding: 14px 0; border-top: 1px solid rgba(18,21,22,.12);
  align-items: baseline;
}
.legend-row:first-child { border-top: 0; }
.legend-row .swatch { width: 12px; height: 12px; border-radius: 3px; margin-top: 2px; }
.legend-row strong { font-weight: 600; font-size: 14px; letter-spacing: .01em; }
.legend-row p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin-top: 4px; text-wrap: pretty; }
.stat-90 {
  font-family: var(--display); font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px); color: var(--accent-deep);
  margin-top: 26px;
}
.lede-sub { font-size: clamp(13.5px, 1.05vw, 15.5px); line-height: 1.6; color: var(--ink-soft); margin-top: 10px; max-width: 46ch; text-wrap: pretty; }

/* ================= S4 · COOLING GAME ================= */
/* #cool: product demo, default cursor */
#heat { position: absolute; inset: 0; width: 100%; height: 100%; }
.cool-ui {
  position: relative; z-index: 2; text-align: center; pointer-events: none;
}
.cool-ui h2 { color: #eef6f7; }
.cool-instruction {
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(238,246,247,.6); margin-top: 18px;
}
.temp-readout {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(54px, 8vw, 120px); letter-spacing: -.02em;
  color: #ffd9b3; margin-top: 26px;
  font-variant-numeric: tabular-nums;
  transition: color 1.2s var(--ease-lux);
}
.temp-readout.cold { color: #bfeaf2; }
.temp-readout sup { font-size: .35em; letter-spacing: 0; }
.cool-reveal {
  margin-top: 22px; font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 2vw, 26px); color: #d8eef3;
  opacity: 0; transform: translateY(14px);
  transition: opacity 1.2s var(--ease-lux), transform 1.2s var(--ease-lux);
}
.cool-reveal.show { opacity: 1; transform: none; }
.cool-foot {
  position: absolute; bottom: 36px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(238,246,247,.4); z-index: 2;
}
.cursor-orb {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(238,246,247,.8);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 3;
  display: grid; place-items: center;
  transition: opacity .4s;
}
.cursor-orb::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #eef6f7;
}

/* ================= S5 · RITUAL ================= */
#ritual .wrap { width: min(1240px, 100%); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 30px); margin-top: clamp(36px, 5vh, 60px);
}
.step {
  padding: 28px 0 10px; position: relative;
  border-top: 1px solid rgba(18,21,22,.14);
}
.step .num {
  font-family: var(--display); font-style: normal; font-weight: 300;
  font-size: clamp(44px, 4.4vw, 76px); line-height: 1;
  color: var(--silver-deep);
  transition: color .5s var(--ease-lux), transform .6s var(--ease-lux);
  display: inline-block;
}
.step:hover .num { color: var(--accent-deep); transform: translateY(-6px); }
.step h3 { font-size: 15px; font-weight: 600; margin: 18px 0 8px; letter-spacing: .01em; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.ritual-note {
  margin-top: 54px; padding-top: 20px; border-top: 1px solid rgba(18,21,22,.14);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-soft);
}
.ritual-note .warn { font-weight: 600; color: var(--ink); }

/* ================= S6 · CREDIBILITY ================= */
#proof .wrap {
  width: min(1100px, 100%);
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 5vw, 80px); align-items: center;
}
.ledger {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, #eceeed 0%, #d3d8d7 45%, #eef0ef 70%, #cfd4d3 100%);
  border: 1px solid rgba(18,21,22,.14);
  box-shadow: 0 40px 70px rgba(18, 40, 46, .14);
  padding: clamp(26px, 3vw, 44px);
}
.ledger::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 1.4s var(--ease-lux);
  pointer-events: none;
}
.ledger:hover::before { transform: translateX(120%); }
.ledger-row {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid rgba(18,21,22,.12);
  align-items: baseline;
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(18,21,22,.5); white-space: nowrap;
}
.ledger-row .v {
  font-size: 13.5px; text-align: right; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ledger-row .v.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.proof-disclaimer {
  margin-top: 26px; font-size: 12px; line-height: 1.6; color: var(--ink-soft);
  max-width: 46ch; text-wrap: pretty;
}

/* ================= S7 · B2B ================= */
#b2b .wrap {
  width: min(1200px, 100%);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 80px); align-items: center;
}
#b2b h2 { color: #f4efe9; }
#b2b h2 em { color: var(--accent); }
.b2b-art {
  position: relative; border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 90px rgba(0,0,0,.55);
  transform: rotate(2.5deg);
  transition: transform .8s var(--ease-lux);
}
.b2b-art:hover { transform: rotate(0deg) scale(1.02); }
.b2b-art img { width: 100%; height: auto; display: block; }
.b2b-points { margin-top: 36px; display: grid; gap: 0; }
.b2b-point {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid rgba(240,236,231,.16);
  color: rgba(240,236,231,.85); font-size: 14px; line-height: 1.55;
}
.b2b-point .n { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.cta-ember {
  position: relative; overflow: hidden; z-index: 0;
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 38px; padding: 16px 30px; border-radius: 3px;
  border: 1px solid rgba(240,130,41,.55);
  color: #f4efe9; text-decoration: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  transition: color .5s var(--ease-lux), border-color .5s;
}
.cta-ember::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
  background: var(--accent); transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-lux); z-index: -1;
}
.cta-ember:hover { color: var(--coal); border-color: var(--accent); }
.cta-ember:hover::before { transform: scaleY(1); }

/* ================= S8 · CLOSE ================= */
#close { flex-direction: column; text-align: center; }
.close-word {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(64px, 11vw, 190px); letter-spacing: -.02em; line-height: 1;
}
.close-word em { font-style: italic; color: var(--accent-deep); }
.close-sub {
  margin: 26px auto 0; font-size: 15px; color: var(--ink-soft); max-width: 52ch;
  line-height: 1.7; text-wrap: pretty;
}
.close-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
/* buttons — squared editorial frame; fill rises like water on hover */
.btn-ghost {
  position: relative; overflow: hidden; z-index: 0;
  padding: 16px 30px; border-radius: 3px; text-decoration: none;
  border: 1px solid rgba(18,21,22,.32); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  transition: color .5s var(--ease-lux), border-color .5s;
}
.btn-ghost::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-lux); z-index: -1;
}
.btn-ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn-ghost:hover::before { transform: scaleY(1); }
.btn-ghost.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost.solid::before { background: var(--accent-deep); }
.btn-ghost.solid:hover { color: var(--paper); border-color: var(--accent-deep); }
.close-footer {
  margin: clamp(48px, 8vh, 90px) auto 0;
  width: min(1000px, 100%);
  padding-top: 28px;
  border-top: 1px solid rgba(18,21,22,.14);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  text-align: left;
}
.foot-col .foot-k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-soft); opacity: .75;
  display: block; margin-bottom: 10px;
}
.foot-col p {
  font-size: 12px; line-height: 1.75; color: var(--ink-soft); text-wrap: pretty;
}

/* bottom page nav — the Burn Book lives here */
.foot-nav {
  margin: clamp(40px, 6vh, 64px) auto 0;
  display: flex; gap: clamp(16px, 2.4vw, 34px); flex-wrap: wrap; justify-content: center;
}
.foot-nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; position: relative; padding-bottom: 4px;
  transition: color .35s;
}
.foot-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent-deep); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-lux);
}
.foot-nav a:hover { color: var(--ink); }
.foot-nav a:hover::after { transform: scaleX(1); }

/* floating CTA */
.float-cta {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  padding: 13px 24px; border-radius: 3px; text-decoration: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid #fff; color: #fff;
  mix-blend-mode: difference;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .6s var(--ease-lux), transform .6s var(--ease-lux), background .4s;
}
body.show-cta .float-cta { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { background: #fff; color: #000; }

/* ---------- eyebrow styles (tweakable) ---------- */
html[data-eyebrow="serif"] .eyebrow,
html[data-eyebrow="serif"] .section-eyebrow {
  font-family: var(--display); font-style: italic; font-size: 17px;
  letter-spacing: .02em; text-transform: none; opacity: .8;
}
html[data-eyebrow="sans"] .eyebrow,
html[data-eyebrow="sans"] .section-eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
}
html[data-eyebrow="hidden"] .eyebrow,
html[data-eyebrow="hidden"] .section-eyebrow { display: none; }

/* hero CTA */
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.hero-cta .btn-ghost { white-space: nowrap; }

/* authority pair (proof) */
.authority { margin-top: clamp(24px, 4vh, 40px); display: grid; gap: 16px; max-width: 46ch; }
.authority blockquote {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(15px, 1.35vw, 18.5px); line-height: 1.45; text-wrap: pretty;
  padding-left: 16px; border-left: 1px solid rgba(18,21,22,.25); margin: 0;
}
.authority cite {
  display: block; margin-top: 7px; font-style: normal;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.authority-more {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep); text-decoration: none;
  border-bottom: 1px solid rgba(29,58,66,.3); padding-bottom: 3px; width: fit-content;
  transition: border-color .3s;
}
.authority-more:hover { border-bottom-color: currentColor; }
@media (max-height: 720px) { .authority blockquote + blockquote { display: none; } }

/* waitlist */
.waitlist { margin: clamp(32px, 6vh, 54px) auto 0; width: min(460px, 100%); text-align: left; scroll-margin-top: 18vh; }
.w-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); display: block; margin-bottom: 10px;
}
.w-row { display: flex; gap: 10px; }
.waitlist input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 3px;
  border: 1px solid rgba(18,21,22,.3); background: transparent;
  font: 14px var(--sans); color: var(--ink); outline: none;
  transition: border-color .3s;
}
.waitlist input:focus { border-color: var(--accent-deep); }
.waitlist button {
  flex: none; padding: 14px 22px; border-radius: 3px; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .35s, border-color .35s;
}
.waitlist button:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.w-note { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-soft); }
.w-done { font-family: var(--display); font-style: italic; font-size: 17px; padding: 9px 0; display: block; }

/* ---------- pointer-type helpers ---------- */
.if-coarse { display: none; }
@media (pointer: coarse) {
  .if-fine { display: none; }
  .if-coarse { display: inline; }
  #cool { cursor: auto; }
  .cursor-orb { display: none; }
}
#cool, .layer-stage, .pouch-stage { touch-action: pan-y; }

/* ---------- invisible expanded touch targets (≥44px effective) ---------- */
.pagenav a, .brandmark, .float-cta, .btn-ghost, .cta-ember, .chip,
.foot-col p a, .dotnav a, .scroll-cue { position: relative; }
.pagenav a::after, .brandmark::after, .float-cta::after {
  content: ""; position: absolute; left: -10px; right: -10px; top: -12px; bottom: -12px;
}
.btn-ghost::after, .cta-ember::after {
  content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px;
}
.dotnav a::after {
  content: ""; position: absolute; left: -16px; right: -8px; top: -7px; bottom: -7px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, #anatomy .wrap, #proof .wrap, #b2b .wrap {
    grid-template-columns: 1fr; gap: 36px;
  }
  .pouch-stage { order: -1; }
  .pouch-3d { width: min(240px, 56vw); }
  .steps { grid-template-columns: 1fr 1fr; }
  .dotnav { right: 12px; }
  .dotnav .lbl { display: none; }
  .brandmark { left: 20px; top: 20px; font-size: 19px; }
  .thermo { left: 20px; bottom: 18px; }
  .pagenav { right: 16px; top: 24px; gap: 14px; }
  .pagenav a { font-size: 10px; letter-spacing: .12em; }
  section.panel { padding: 76px 22px 60px; }
  .layer-stage { height: 300px; }
  #b2b .b2b-art { max-width: 320px; margin: 0 auto; }
  .close-footer { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .float-cta { right: 34px; bottom: 18px; padding: 11px 18px; font-size: 10px; }
  .hero-grid { gap: 22px; }
  .hero-chips { margin-top: 24px; }
  h1 { margin: 18px 0 20px; }
  .manifesto-foot { gap: 14px 28px; margin-top: 36px; flex-direction: column; }
  .legend-row p { font-size: 13px; }
  .ledger { padding: 22px; }
  .ledger-row { grid-template-columns: 1fr; gap: 4px; }
  .ledger-row .v { text-align: left; }
  .temp-readout { font-size: clamp(64px, 18vw, 96px); }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-height: 660px) {
  h1 { font-size: clamp(40px, 6vw, 72px); margin: 18px 0 20px; }
  h2 { font-size: clamp(30px, 4vw, 54px); }
  .hero-chips { margin-top: 20px; }
  .hero-sub { font-size: 14px; }
  .pouch-3d { width: min(260px, 30vw); }
  .scroll-cue { display: none; }
  section.panel { padding: 64px clamp(20px, 4vw, 64px) 56px; }
  .layer-stage { height: 260px; }
  .close-word { font-size: clamp(54px, 9vw, 120px); }
  .close-footer { margin-top: 34px; }
}

/* ===== S4 · product demo (from heat to calm) ===== */
/* registered colour so the edge tint can smoothly interpolate red -> blue */
@property --edge {
  syntax: "<color>"; inherits: false; initial-value: rgba(196,72,36,.42);
}
#cool {
  position: relative; overflow: hidden;
  --edge: rgba(220,78,28,.62);
  background-color: #160e0b;
  box-shadow: inset 0 0 150px 30px rgba(150,52,24,.34);
  transition: --edge 1.6s var(--ease-lux), box-shadow 1.6s var(--ease-lux), background-color 1.6s var(--ease-lux);
}
/* once the dressing settles, the whole room cools from fire to ice */
#cool.cooling {
  --edge: rgba(58,128,170,.52);
  background-color: #0c1418;
  box-shadow: inset 0 0 150px 30px rgba(46,110,150,.30);
  transition: --edge 7s var(--ease-lux), box-shadow 7s var(--ease-lux), background-color 7s var(--ease-lux);
}
/* the fire — radial glow rising from the floor of the section, tinted by --edge */
#cool::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(135% 80% at 50% 114%, var(--edge), transparent 60%),
    radial-gradient(58% 56% at 16% 106%, color-mix(in srgb, var(--edge), #ffd6a2 54%), transparent 64%),
    radial-gradient(60% 58% at 84% 104%, color-mix(in srgb, var(--edge), #ffbd80 46%), transparent 66%),
    radial-gradient(48% 46% at 50% 98%, color-mix(in srgb, var(--edge), #fff1da 62%), transparent 58%);
  filter: blur(6px);
  animation: coolFire 4.6s ease-in-out infinite;
  transition: opacity 3s var(--ease-lux);
}
#cool.cooling::before { animation-duration: 11s; opacity: .8; }
@keyframes coolFire {
  0%, 100% { opacity: .9;  transform: translateY(0) scaleX(1); }
  34%      { opacity: 1;   transform: translateY(-1.6%) scaleX(1.035); }
  62%      { opacity: .84; transform: translateY(-.5%) scaleX(.99); }
}
@media (prefers-reduced-motion: reduce) { #cool::before { animation: none; } }
/* dark vignette framing the scene */
#cool::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(122% 102% at 50% 44%, transparent 50%, rgba(10,7,5,.34) 84%, rgba(6,4,4,.62));
}
.demo-wrap {
  position: relative; z-index: 2; width: min(1120px, 100%);
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(30px, 5vw, 80px); align-items: center;
}
.demo-copy h2 { color: #f4ede7; transition: color 2s var(--ease-lux); }
.demo-copy h2 em { color: #8fd2e2; font-style: italic; }
.demo-sub { margin-top: 20px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: rgba(244,237,231,.74); max-width: 42ch; text-wrap: pretty; transition: color 2s var(--ease-lux); }

/* snowfall layer — revealed once the room drops below 30° */
.snowfall { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.8s var(--ease-lux); }
#cool.frost .snowfall { opacity: 1; }
.snowfall .flake {
  position: absolute; top: -8%; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 38% 32%, #ffffff, rgba(232,244,250,.55) 70%, rgba(232,244,250,0));
  box-shadow: 0 0 6px rgba(255,255,255,.55);
  animation: snowFall linear infinite;
}
@keyframes snowFall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift, 12px), 116vh, 0) rotate(300deg); }
}
@media (prefers-reduced-motion: reduce) { .snowfall .flake { animation: none; opacity: 0 !important; } }

/* frost: the room turns whitish-blue and copy flips dark for contrast */
#cool.frost { background-color: #c6d8e4; box-shadow: inset 0 0 150px 30px rgba(120,162,192,.34); }
#cool.frost::before { opacity: .2; }
#cool.frost::after { background: radial-gradient(122% 102% at 50% 44%, transparent 54%, rgba(120,150,176,.22) 84%, rgba(96,128,156,.4)); }
#cool.frost .demo-copy h2 { color: #16313d; }
#cool.frost .demo-copy h2 em { color: #2f7187; }
#cool.frost .demo-sub { color: rgba(22,49,61,.78); }
#cool.frost .rd-label { color: rgba(22,49,61,.62); }
#cool.frost .rd-label.done { color: #2f7187; }
#cool.frost .demo-replay { border-color: rgba(22,49,61,.34); color: #16313d; }
#cool.frost .demo-replay:hover { background: #16313d; color: #eef6f7; }
.demo-readout { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.rd-temp { font-family: var(--mono); font-weight: 400; font-size: clamp(40px, 5vw, 70px); letter-spacing: -.02em; color: #ffcfa0; font-variant-numeric: tabular-nums; transition: color 1.4s var(--ease-lux); }
.rd-temp.cold { color: #bfeaf2; }
.rd-temp sup { font-size: .34em; letter-spacing: 0; }
.rd-label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,237,231,.55); transition: color .6s; }
.rd-label.done { color: #8fd2e2; }
.demo-replay {
  margin-top: 28px; align-self: flex-start; padding: 12px 22px; border-radius: 3px; cursor: pointer;
  background: transparent; border: 1px solid rgba(238,246,247,.32); color: #eef6f7;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  transition: background .4s, color .4s;
}
.demo-replay:hover { background: #eef6f7; color: #0c1518; }
.demo-stage {
  position: relative; width: 100%; max-width: 348px; aspect-ratio: 0.72;
  justify-self: center; overflow: visible;
}
.demo-stage .skin {
  position: absolute; inset: 0;
  background-color: #dba886;
  background-image:
    radial-gradient(circle at 22% 28%, rgba(150,95,70,.20) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 63% 21%, rgba(150,95,70,.16) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 38% 60%, rgba(150,95,70,.18) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 80% 68%, rgba(150,95,70,.14) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 52% 84%, rgba(150,95,70,.13) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 13% 72%, rgba(150,95,70,.12) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 88% 40%, rgba(150,95,70,.12) 0 1.4px, transparent 2.4px),
    repeating-linear-gradient(58deg, rgba(120,75,55,.045) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-32deg, rgba(120,75,55,.038) 0 2px, transparent 2px 9px),
    radial-gradient(135% 120% at 50% 30%, #eccaad, #d9a982 56%, #c2855e);
}
.demo-stage .skin {
  display: block; border-radius: 16px;
  box-shadow: 0 44px 84px rgba(0,0,0,.55), 0 10px 26px rgba(0,0,0,.42), inset 0 0 60px rgba(120,60,40,.26);
}
/* soft blurred frame so the patch edges melt into the scene */
.demo-stage .skin::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 40px 8px rgba(120,68,46,.42);
}
.demo-stage .burn {
  position: absolute; left: 50%; top: 50%; width: 74%; height: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(235,72,28,.92), rgba(214,80,30,.5) 46%, rgba(214,80,30,0) 72%);
  filter: blur(7px);
  transition: opacity 1s var(--ease-lux);
  opacity: .9;
}
@keyframes burnPulse { 0%,100% { opacity: .92; } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.04); } }
.demo-stage.applying .burn { opacity: 1; transition: opacity 1s var(--ease-lux); }
.demo-stage.cooled .burn { animation: none; opacity: 0; transition: opacity 7s var(--ease-lux); }
.demo-stage .shimmer {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: repeating-linear-gradient(0deg, rgba(255,170,110,0) 0 5px, rgba(255,165,105,.12) 6px 7px);
  animation: heatwave 3s ease-in-out infinite; transition: opacity 1.2s;
}
@keyframes heatwave { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-7px); opacity: .9; } }
.demo-stage.cooled .shimmer { opacity: 0; }
.demo-stage .cool-wash {
  position: absolute; left: 50%; top: 50%; width: 12%; height: 12%;
  transform: translate(-50%, -50%) scale(0); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(240,250,250,.5), rgba(216,236,238,.18) 55%, rgba(216,236,238,0) 75%);
  transition: transform 6s var(--ease-lux), opacity 6s var(--ease-lux);
}
.demo-stage.cooled .cool-wash { transform: translate(-50%,-50%) scale(6); opacity: .4; }
.demo-stage .ripples { display: none; }
.demo-stage .sheet {
  position: absolute; left: 50%; top: 50%; width: 90%; height: 40%;
  transform: translate(-50%, -240%) rotate(-2.5deg);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(220,236,238,.26));
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 24px 44px rgba(0,0,0,.28), inset 0 0 60px rgba(255,255,255,.46);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: transform 2.3s var(--ease-lux);
}
.demo-stage.applying .sheet { transform: translate(-50%, -50%) rotate(0deg); }
.demo-stage .sheet-sheen { position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(58% 50% at 30% 24%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%); }
@media (max-width: 900px) {
  .demo-wrap { grid-template-columns: 1fr; gap: 30px; }
  .demo-stage { order: -1; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-stage .burn, .demo-stage .shimmer, #cool.cooling .cool-ripples span { animation: none; }
  .demo-stage *, .rd-temp { transition: none; }
}

/* gradient phrases — each letter takes colour as the scroll highlight reaches it; colour flows */
.manifesto-text .hot-phrase, .manifesto-text .cool-phrase { font-style: normal; }
.manifesto-text .gl {
  opacity: 1; font-style: normal;
  color: #15181a;
  transition: color .55s ease;
}
.manifesto-text .gl.lit { color: var(--c, #15181a); animation: glFlow 3.4s ease-in-out infinite; }
@keyframes glFlow { 0%, 100% { color: var(--c, #15181a); } 50% { color: var(--c2, var(--c, #15181a)); } }
@media (prefers-reduced-motion: reduce) { .manifesto-text .gl.lit { animation: none; } }

/* composition spec — anatomy (horizontal strip) */
.composition { list-style: none; margin-top: 28px; display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px 0; max-width: none; }
.composition li { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 0 clamp(16px, 1.6vw, 26px); border-top: 0; border-left: 1px solid rgba(18,21,22,.16); }
.composition li:first-child { padding-left: 0; border-left: 0; }
.composition .pct { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(30px, 3vw, 46px); line-height: 1; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.composition .pct .u { font-size: .42em; font-style: normal; margin-left: 1px; }
.composition .cn { font-size: 12px; color: var(--ink-soft); letter-spacing: .01em; }
.comp-base { margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); opacity: .75; }

/* manifesto packaging cycler — no box, larger */
.bf-cycle { width: 2.5em; height: 1.7em; vertical-align: -0.5em; overflow: visible; background: none; border: 0; border-radius: 0; margin: 0 .14em; }
.bf-cycle img { left: 0; top: -12%; width: 100%; height: 124%; filter: drop-shadow(0 6px 12px rgba(18,40,46,.22)); }
