/* SWEAT FREE — Liquid Studio design system */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin.woff2?v=510b8100') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-ext.woff2?v=a791cc00') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* sampled from the new pack photography */
  --studio: #FCFCFC;      /* exact ground of the product photos */
  --orange: #F78606;      /* box orange */
  --logo-red: #B03008;    /* SWEAT FREE wordmark */
  --ink: #1D1813;
  --ink-soft: #5A5048;
  --night: #0B0D12;
  --gel: #6FB6F0;
  --magenta: #901B76;
  --rule: rgb(29 24 19 / 0.14);

  --ground: var(--studio);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --line: var(--rule);
  --focus: var(--ink);

  --font: 'Archivo', system-ui, sans-serif;
  --fs-display: clamp(2.5rem, 0.9rem + 5.4vw, 5.6rem);
  --fs-h1: clamp(2.3rem, 1.1rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 1.1rem + 2.9vw, 3.6rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead: clamp(1.08rem, 0.98rem + 0.5vw, 1.35rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --gutter: clamp(1.1rem, 0.4rem + 3.2vw, 3.25rem);
  --section: clamp(4rem, 2.6rem + 6vw, 9rem);
  --max: 86rem;
  --radius: 1.75rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-liquid: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-photo: 0 2.5rem 4rem -2rem rgb(29 24 19 / 0.35), 0 0.6rem 1.2rem -0.6rem rgb(29 24 19 / 0.18);
  --glass: rgb(252 252 252 / 0.62);
  --glass-line: rgb(255 255 255 / 0.75);
}

/* ---------- fields ---------- */
.field--paper { --ground: var(--studio); --fg: var(--ink); --fg-soft: var(--ink-soft); --line: var(--rule); --focus: var(--ink); }
.field--orange { --ground: var(--orange); --fg: var(--ink); --fg-soft: #3B2611; --line: rgb(29 24 19 / 0.28); --focus: var(--ink); }
.field--navy { --ground: var(--night); --fg: #F3F4F7; --fg-soft: #A9B1BF; --line: rgb(255 255 255 / 0.14); --focus: var(--gel); }
.field--magenta { --ground: var(--magenta); --fg: #FFF6FB; --fg-soft: #FBE9F4; --line: rgb(255 255 255 / 0.25); --focus: #fff; }
[class*='field--'] { background: var(--ground); color: var(--fg); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; scrollbar-color: var(--ink) var(--studio); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.55; color: var(--ink); background: var(--studio); font-kerning: normal; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: var(--orange); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
table { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--ink); color: var(--studio); padding: 0.75rem 1.1rem; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.5); }
.measure { max-width: 64ch; }

/* ---------- type ---------- */
.display, .h1, .h2 { font-family: var(--font); font-stretch: 118%; font-weight: 900; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.02em; }
.display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); margin-bottom: 0.45em; }
.h3 { font-size: var(--fs-h3); font-weight: 700; font-stretch: 100%; line-height: 1.2; margin-bottom: 0.4em; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--fg-soft); max-width: 48ch; }
.small { font-size: var(--fs-small); color: var(--fg-soft); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.label { font-stretch: 112%; font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }


/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--studio);
  position: relative; display: inline-flex; align-items: center; gap: 0.7em;
  min-height: 3.1rem; padding: 0.75em 1.45em; border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 650 1rem/1.1 var(--font); text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s;
  box-shadow: 0 0.5rem 1.4rem -0.6rem rgb(29 24 19 / 0.5);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0.9rem 1.8rem -0.7rem rgb(29 24 19 / 0.55); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn--line:hover { background: var(--fg); color: var(--ground); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn--glass { background: var(--glass); color: var(--ink); box-shadow: inset 0 0 0 1px var(--glass-line), 0 0.6rem 1.6rem -0.8rem rgb(29 24 19 / 0.35); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.field--navy .btn:not(.btn--line), .field--magenta .btn:not(.btn--line), .layers .btn:not(.btn--line) { --btn-bg: #FFFFFF; --btn-fg: var(--ink); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- glass navigation ---------- */
.masthead { position: fixed; inset: 0.9rem 0 auto; z-index: 40; pointer-events: none; }
.masthead__bar {
  pointer-events: auto; margin-inline: auto; width: min(calc(100% - 2 * var(--gutter)), 64rem);
  display: flex; align-items: center; gap: 1rem; min-height: 3.6rem; padding: 0.35rem 0.4rem 0.35rem 1.1rem;
  border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line), 0 0.8rem 2.4rem -1rem rgb(29 24 19 / 0.28);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: transform 0.5s var(--ease-out);
}
.masthead.is-hidden .masthead__bar { transform: translateY(-140%); }
.masthead__brand { flex: none; display: block; }
.masthead__brand img { width: clamp(7.5rem, 6rem + 4vw, 9.5rem); height: auto; }
.masthead__nav { margin-left: auto; }
.masthead__nav ul { display: flex; align-items: center; gap: 0.15rem; }
.masthead__nav a { display: block; white-space: nowrap; padding: 0.55rem 0.8rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink); transition: background-color 0.2s; }
@media (hover: hover) { .masthead__nav a:hover { background: rgb(29 24 19 / 0.07); } }
.masthead__nav a[aria-current='page'] { background: rgb(29 24 19 / 0.09); }
.masthead__buy a { margin-left: 0.3rem; padding: 0.7rem 1.15rem; background: var(--ink); color: var(--studio); }
.masthead__buy a:hover, .masthead__buy a[aria-current='page'] { background: #3A3029; }
.masthead__toggle { display: none; }
/* over the night stage the glass turns dark */
.masthead.is-dark .masthead__bar { background: rgb(16 19 26 / 0.58); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 0.8rem 2.4rem -1rem rgb(0 0 0 / 0.6); }
.masthead.is-dark .masthead__nav a { color: #F3F4F7; }
.masthead.is-dark .masthead__nav a:hover, .masthead.is-dark .masthead__nav a[aria-current='page'] { background: rgb(255 255 255 / 0.1); }
.masthead.is-dark .masthead__buy a { background: #FFFFFF; color: var(--ink); }
.masthead.is-dark .masthead__brand img { filter: brightness(1.35) saturate(1.15); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .masthead__bar, .btn--glass, .humidity { background: rgb(252 252 252 / 0.95); } }

@media (max-width: 52rem) {
  .masthead__toggle { display: inline-flex; align-items: center; gap: 0.55rem; margin-left: auto; min-height: 2.9rem; padding: 0.4rem 1rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--studio); font: 650 0.95rem var(--font); cursor: pointer; }
  .masthead__toggle-lines, .masthead__toggle-lines::before, .masthead__toggle-lines::after { display: block; width: 1rem; height: 2px; background: currentColor; position: relative; transition: transform 0.3s var(--ease-out); }
  .masthead__toggle-lines::before, .masthead__toggle-lines::after { content: ''; position: absolute; left: 0; }
  .masthead__toggle-lines::before { top: -5px; }
  .masthead__toggle-lines::after { top: 5px; }
  .masthead__toggle[aria-expanded='true'] .masthead__toggle-lines { background: transparent; }
  .masthead__toggle[aria-expanded='true'] .masthead__toggle-lines::before { transform: translateY(5px) rotate(45deg); }
  .masthead__toggle[aria-expanded='true'] .masthead__toggle-lines::after { transform: translateY(-5px) rotate(-45deg); }
  .masthead__nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 0.6rem); display: none; padding: 0.6rem; border-radius: 1.6rem; background: #FCFCFC; box-shadow: inset 0 0 0 1px var(--glass-line), 0 1.4rem 3rem -1rem rgb(29 24 19 / 0.35); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
  .masthead__nav.is-open { display: block; animation: drop-in 0.4s var(--ease-out); }
  .masthead__nav ul { flex-direction: column; align-items: stretch; }
  .masthead__nav a { padding: 0.95rem 1rem; font-size: 1.1rem; }
  .masthead__buy a { margin: 0.4rem 0 0; text-align: center; }
  .masthead.is-dark .masthead__nav a { color: var(--ink); }
  .masthead.is-dark .masthead__buy a { background: var(--ink); color: var(--studio); }
  .masthead.is-dark .masthead__toggle { background: #FFFFFF; color: var(--ink); }
  html:not(.js) .masthead__toggle { display: none; }
/* over the night stage the glass turns dark */
.masthead.is-dark .masthead__bar { background: rgb(16 19 26 / 0.58); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 0.8rem 2.4rem -1rem rgb(0 0 0 / 0.6); }
.masthead.is-dark .masthead__nav a { color: #F3F4F7; }
.masthead.is-dark .masthead__nav a:hover, .masthead.is-dark .masthead__nav a[aria-current='page'] { background: rgb(255 255 255 / 0.1); }
.masthead.is-dark .masthead__buy a { background: #FFFFFF; color: var(--ink); }
.masthead.is-dark .masthead__brand img { filter: brightness(1.35) saturate(1.15); }
  html:not(.js) .masthead__nav { position: static; display: block; box-shadow: none; background: none; padding: 0; }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-0.6rem) scale(0.98); } }

/* ---------- liquid canvas ---------- */
.liquid { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.liquid canvas { width: 100%; height: 100%; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 7rem; padding-bottom: clamp(4.5rem, 3rem + 4vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.hero__copy h1 { margin: 0 0 0.5em; }
.hero__copy .display { display: block; }
.hero__kicker { display: block; margin-bottom: 1rem; font-stretch: 112%; font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--logo-red); }
.hero__copy .lead { margin-bottom: 2rem; }
.hero__product { position: relative; justify-self: center; width: min(100%, 30rem, calc((100svh - 10rem) * 0.87)); perspective: 1200px; }
.hero__box { transform-style: preserve-3d; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform 0.8s var(--ease-out); will-change: transform; }
.hero__box img { width: 100%; translate: 5.4% 0; } /* the box sits 5.4% left inside its photo (shadow on the right); this centres it */
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.6rem; display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.scroll-cue span { width: 1.4rem; height: 2.2rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; position: relative; }
.scroll-cue span::after { content: ''; position: absolute; left: 50%; top: 0.45rem; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; }
@media (max-width: 52rem) {
  .hero { align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 6.5rem; padding-bottom: 6rem; }
  .hero__product { width: min(80%, 22rem); }
  .scroll-cue { display: none; }
}

/* ---------- inside the pad: astral layer stage ---------- */
.layers { position: relative; height: 620vh; background: var(--night); color: #F3F4F7; --fg: #F3F4F7; --fg-soft: #A9B1BF; --line: rgb(255 255 255 / 0.14); --ground: var(--night); --focus: var(--gel); }
.layers__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.layers__stage::before { content: ''; position: absolute; inset: -20%; background: radial-gradient(40% 35% at 62% 52%, rgb(111 182 240 / calc(0.10 + var(--glow, 0) * 0.22)), transparent 70%); z-index: -1; }
.layers__intro { position: absolute; left: var(--gutter); top: clamp(6.5rem, 14vh, 9rem); max-width: 30rem; transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.layers__intro .lead { color: #A9B1BF; }
.layers[data-phase='steps'] .layers__intro, .layers[data-phase='collapse'] .layers__intro, .layers[data-phase='outro'] .layers__intro { opacity: 0; transform: translateY(-1rem); }
/* no preserve-3d: each plate is projected by the scene's perspective but painted in z-index order,
   so tilted planes never slice through each other (that drew straight lines across the trail) */
.layers__scene { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 45%; pointer-events: none; }
/* each plate is positioned entirely by JS (stack pose ↔ isolated pose); CSS gives the no-JS stacked default */
.plate { position: absolute; left: 0; top: 0; width: min(44vw, 36rem); aspect-ratio: 960 / 612; transform-origin: 50% 50%; transform: translate(calc(60vw - 50%), calc(55svh - 50%)) rotateX(58deg) rotateZ(-30deg) translateZ(var(--z0, 0px)); will-change: transform; }
.plate[data-layer='1'] { --z0: 96px; } .plate[data-layer='2'] { --z0: 48px; } .plate[data-layer='4'] { --z0: -48px; } .plate[data-layer='5'] { --z0: -96px; }
.plate__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate__echo { position: absolute; left: 0; top: 0; width: calc(min(44vw, 36rem) * 1.1); aspect-ratio: 1056 / 708; height: auto; transform-origin: 50% 50%; z-index: 15; will-change: transform, opacity; }
.plate__img { filter: drop-shadow(0 22px 26px rgb(0 0 0 / 0.55)); transition: opacity 0.45s var(--ease-out); }
.plate.is-dim .plate__img { opacity: 0.3; }
.plate.is-active .plate__img { filter: drop-shadow(0 0 30px rgb(111 182 240 / 0.55)) drop-shadow(0 26px 30px rgb(0 0 0 / 0.6)); }
/* astral echoes: pre-tinted, pre-blurred copies (padded so the blur is never clipped), strung along the path between shell and plate */
.plate__echo { opacity: 0; mix-blend-mode: screen; }
.layers__list { position: absolute; left: var(--gutter); top: 54%; width: min(24rem, 30vw); }
.layers__item { position: absolute; left: 0; top: 0; width: 100%; transform: translateY(-50%); padding: 1.5rem 1.6rem; border-radius: var(--radius); background: rgb(20 24 32 / 0.6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 1.5rem 3rem -1.5rem rgb(0 0 0 / 0.6); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); opacity: 0; translate: 0 1.5rem; transition: opacity 0.45s var(--ease-out), translate 0.6s var(--ease-out); }
.layers__item.is-active { opacity: 1; translate: 0 0; }
.layers__num { display: block; font-stretch: 118%; font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--gel); font-variant-numeric: tabular-nums; margin-bottom: 0.5rem; }
.layers__item h3 { font-size: 1.45rem; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.layers__item p { color: #C9CFD9; margin: 0; }
.layers__leader { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 0.3s; }
.layers[data-phase='steps'] .layers__leader { opacity: 1; }
.layers__leader line { stroke: rgb(111 182 240 / 0.85); stroke-width: 1.5; stroke-dasharray: 4 5; }
.layers__leader circle { fill: var(--gel); }
.layers__rail { position: absolute; right: var(--gutter); top: clamp(6.5rem, 14vh, 9rem); display: grid; gap: 0.9rem; }
.layers__rail li { display: flex; align-items: center; gap: 0.7rem; justify-content: flex-end; font-size: var(--fs-label); font-stretch: 112%; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7C8597; transition: color 0.3s; }
.layers__rail li::after { content: ''; width: 3rem; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0.53); transform-origin: right; transition: transform 0.4s var(--ease-out), background-color 0.3s; }
.layers__rail li.is-active { color: #F3F4F7; }
.layers__rail li.is-active::after { transform: scaleX(1); background: var(--gel); }
.layers__outro { position: absolute; left: 50%; bottom: clamp(2rem, 7vh, 4.5rem); transform: translate(-50%, 1.5rem); width: min(calc(100% - 2 * var(--gutter)), 52rem); text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.5s, transform 0.7s var(--ease-out); }
.layers[data-phase='outro'] .layers__outro { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.layers__outro .h2 { margin-bottom: 0.3em; }
.layers__outro .actions { justify-content: center; margin-top: 1.3rem; }
@media (max-width: 52rem) {
  .plate { width: 78vw; }
  .plate__echo { width: calc(78vw * 1.1); }
  .layers__list { left: var(--gutter); right: var(--gutter); top: auto; bottom: 3.6rem; width: auto; }
  .layers__item { top: auto; bottom: 0; transform: none; padding: 1.1rem 1.2rem; }
  .layers__num { font-size: 2.1rem; }
  .layers__item h3 { font-size: 1.15rem; }
  .layers__item p { font-size: 0.95rem; }
  .layers__rail, .layers__leader { display: none; }
  .layers__intro { top: 6.2rem; right: var(--gutter); }
  .layers__outro { top: auto; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  .layers__outro .h2 { font-size: clamp(1.6rem, 7.5vw, 2.4rem); }
}
/* static: no JS or reduced motion — the exploded diagram with every layer described */
.layers--static { height: auto; }
.layers--static .layers__stage { position: relative; height: auto; overflow: clip; padding: var(--section) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--gutter); max-width: var(--max); margin-inline: auto; }
.layers--static .layers__intro, .layers--static .layers__list, .layers--static .layers__item { position: static; transform: none; translate: none; opacity: 1; width: auto; max-width: none; }
.layers--static .layers__intro { grid-column: 1 / -1; }
.layers--static .layers__scene { position: relative; inset: auto; height: 36rem; }
.layers--static .layers__list { display: grid; gap: 1rem; align-self: center; }
.layers--static .layers__rail, .layers--static .layers__outro, .layers--static .layers__leader, .layers--static .plate__echo, .layers--static .layers__hint { display: none; }
@media (max-width: 52rem) { .layers--static .layers__stage { grid-template-columns: 1fr; } .layers--static .layers__scene { height: 24rem; } .layers--static .layers__item { padding: 1.2rem; } }
html:not(.js) .layers { height: auto; }
html:not(.js) .layers__stage { position: relative; height: auto; overflow: clip; padding: var(--section) var(--gutter); }
html:not(.js) .layers__scene { position: relative; height: 34rem; }
html:not(.js) .plate { transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-30deg) translateZ(var(--z0, 0px)); left: 50%; top: 50%; }
html:not(.js) .layers__intro, html:not(.js) .layers__list, html:not(.js) .layers__item { position: static; transform: none; translate: none; opacity: 1; width: auto; max-width: none; }
html:not(.js) .layers__list { display: grid; gap: 1rem; }
html:not(.js) .layers__rail, html:not(.js) .layers__outro, html:not(.js) .layers__leader, html:not(.js) .plate__echo, html:not(.js) .layers__hint { display: none; }

/* ---------- flowing claims ---------- */
.flow { overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.flow__track { display: flex; white-space: nowrap; will-change: transform; transform: translate3d(var(--x, 0px), 0, 0); }
.flow__track + .flow__track { margin-top: 0.5rem; }
.flow__word { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 1.3rem + 4.6vw, 5.8rem); line-height: 1.05; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 0.45em; padding-right: 0.45em; }
.flow__word::after { content: ''; width: 0.38em; height: 0.5em; background: currentColor; border-radius: 50% 50% 50% 50% / 64% 64% 36% 36%; opacity: 0.9; }
.flow__track--ghost .flow__word { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.flow__track--ghost .flow__word::after { background: none; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- product duo with liquid reveal ---------- */
.reveal { aspect-ratio: 1; }
.reveal svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 52rem) { .duo { grid-template-columns: 1fr; } .duo__half:first-child > * { margin-left: 0; } }

/* ---------- facts ---------- */
.facts { border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
.facts li > span:first-child { font-weight: 600; }
.facts li > span:first-child { flex: none; }
.facts li > span:last-child { text-align: right; }
.nowrap { white-space: nowrap; }

/* ---------- fit flow ---------- */
.steps-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.steps-layout > figure { position: sticky; top: 7rem; }
@media (max-width: 52rem) { .steps-layout { grid-template-columns: 1fr; } .steps-layout > figure { position: static; } }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding-block: clamp(1.4rem, 1rem + 2vw, 2.6rem); border-top: 1px solid var(--line); align-items: baseline; transition: opacity 0.5s var(--ease-out); }
/* text stays full contrast; only the decorative numeral lights up as each step reaches mid-screen */
.js .steps--flow li::before { color: rgb(29 24 19 / 0.18); transition: color 0.6s var(--ease-out); }
.js .steps--flow li.is-on::before, .reduce .steps--flow li::before { color: var(--logo-red); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-stretch: 125%; font-weight: 900; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--logo-red); }
.field--orange .steps li::before, .field--magenta .steps li::before, .field--navy .steps li::before { color: var(--fg); }
.steps strong { display: block; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); margin-bottom: 0.2rem; }
.diagram-figure { margin: 0; display: grid; gap: 0.6rem; padding: clamp(1.2rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--radius); background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule), 0 1.5rem 3rem -2rem rgb(29 24 19 / 0.25); }
.diagram { width: 100%; height: auto; }
.diagram .d-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.diagram .d-seam { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 6; }
.diagram .d-pad { fill: #FFFFFF; stroke: var(--ink); stroke-width: 2.5; }
.diagram .d-adhesive { fill: none; stroke: #2E7CC0; stroke-width: 2.5; stroke-dasharray: 2 5; }
.diagram .d-accent { fill: var(--orange); stroke: var(--ink); stroke-width: 2; }
.diagram text { font: 600 14px var(--font); fill: var(--ink); }
.diagram-figure .small { color: var(--ink-soft); }

/* ---------- tables ---------- */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); } /* positioned so .vh spans inside are clipped too */
.table-wrap:focus-visible { outline-offset: 3px; }
.bulletin { width: 100%; border-collapse: collapse; min-width: 40rem; }
.bulletin th, .bulletin td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.bulletin tbody tr:last-child th, .bulletin tbody tr:last-child td { border-bottom: 0; }
.bulletin thead th { font-stretch: 112%; font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); }
.bulletin tbody th { font-weight: 650; }
.bulletin .r { text-align: right; }
.bulletin td.r { white-space: nowrap; }
.bulletin tr.is-us { background: rgb(247 134 6 / 0.12); }
.field--orange .bulletin tr.is-us { background: rgb(255 255 255 / 0.3); }
.field--navy .bulletin tr.is-us { background: rgb(111 182 240 / 0.12); }
.bulletin caption { caption-side: bottom; text-align: left; padding: 0.9rem 1.2rem 1.1rem; font-size: var(--fs-small); color: var(--fg-soft); border-top: 1px solid var(--line); }


/* ---------- product pages ---------- */
.product-hero { position: relative; overflow: hidden; isolation: isolate; }
.product-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; padding-top: clamp(7rem, 6rem + 3vw, 9rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.product-hero__grid .h1 { margin-bottom: 0.35em; }
.product-hero__media { justify-self: center; width: min(100%, 36rem); margin: 0; }
.product-hero__media img { width: 100%; mix-blend-mode: multiply; }
.field--magenta .product-hero__media img { mix-blend-mode: normal; border-radius: 1.2rem; box-shadow: 0 2.5rem 4rem -2rem rgb(0 0 0 / 0.5); }
@media (max-width: 52rem) { .product-hero__grid { grid-template-columns: 1fr; } .product-hero__media { width: min(86%, 24rem); } }

@media (max-width: 30rem) { .buybox__row { grid-template-columns: 1fr; } }

@media (max-width: 36rem) { .spec { grid-template-columns: 1fr; } .spec dt { border-bottom: 0; padding-bottom: 0; } }

.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--studio); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.photo img { width: 100%; }
.photo figcaption { padding: 0.9rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: var(--fs-small); color: var(--ink-soft); border-top: 1px solid var(--rule); }

/* ---------- layout helpers ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); }
.cols--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.heading-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 1rem + 2.5vw, 3.5rem); }
.heading-row .h2 { margin-bottom: 0; }
.heading-row p { max-width: 44ch; margin: 0; color: var(--fg-soft); }

.ledger h3 { padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.ledger li { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.ledger li strong { display: block; }
.ledger li span { display: block; color: var(--fg-soft); font-size: 0.95em; margin-top: 0.2rem; }

/* ---------- FAQ ---------- */

/* ---------- band ---------- */
.band__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
@media (max-width: 52rem) { .band__grid { grid-template-columns: 1fr; } }
.band .facts li > span:last-child { text-align: right; }
.band--ruled { border-top: 1px solid var(--rule); }

/* ---------- read-page header ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; }
.page-head__inner { position: relative; z-index: 1; padding-top: clamp(8rem, 7rem + 4vw, 11rem); padding-bottom: clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.page-head .h1 { max-width: 16ch; margin-bottom: 0.4em; }
.page-head .lead { max-width: 54ch; }

.channels li { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: 0.25rem 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.channels li:first-child { border-top: 1px solid var(--line); }
.channels a { font-weight: 650; font-size: 1.1rem; }
@media (max-width: 36rem) { .channels li { grid-template-columns: 1fr; } }

/* ---------- close band ---------- */
.close-band { position: relative; overflow: hidden; isolation: isolate; }
.close-band__grid { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; }
.close-band .h2 { max-width: 18ch; margin: 0; }

/* ---------- colophon ---------- */
.colophon { background: var(--ink); color: #F4F1EC; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2rem; }
.colophon ::selection { background: var(--orange); color: var(--ink); }
.colophon :focus-visible { outline-color: var(--orange); }
.colophon__grid { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 52rem) { .colophon__grid { grid-template-columns: 1fr 1fr; } .colophon__company { grid-column: 1 / -1; } }
.colophon__title { font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em; margin-bottom: 1rem; color: var(--orange); }
.colophon address, .colophon p { color: #CFC7BC; margin-bottom: 1rem; }
.colophon li + li { margin-top: 0.55rem; }
.colophon a { color: #F4F1EC; }
.colophon__legal { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); margin: 3rem auto 0; padding-top: 1.25rem; border-top: 1px solid #3D352E; font-size: var(--fs-small); color: #B3AA9E; }

.ext { display: inline-block; width: 0.8em; height: 0.8em; margin-left: 0.25em; vertical-align: -0.05em; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__box { transform: none; }
}
@media print { .masthead, .colophon, .liquid, .humidity { display: none; } [class*='field--'] { background: #fff; color: #000; } }

/* ---------- consent (only shown when analytics is configured) ---------- */
.linklike { appearance: none; border: 0; padding: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.consent { position: fixed; z-index: 50; left: var(--gutter); bottom: var(--gutter); width: min(calc(100% - 2 * var(--gutter)), 26rem); padding: 1.2rem 1.3rem; border-radius: 1.4rem; background: rgb(252 252 252 / 0.9); color: var(--ink); box-shadow: inset 0 0 0 1px var(--glass-line), 0 1.4rem 3rem -1rem rgb(29 24 19 / 0.4); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); animation: drop-in 0.5s var(--ease-out); }
.consent p { margin: 0 0 0.9rem; font-size: var(--fs-small); color: var(--ink-soft); }
.consent strong { display: block; margin-bottom: 0.3rem; color: var(--ink); font-size: 1rem; }
.consent .actions { gap: 0.5rem; }
.consent .btn { min-height: 2.6rem; padding: 0.55em 1.1em; font-size: 0.92rem; }
.consent .btn--line { --fg: var(--ink); --ground: var(--studio); }

/* ---------- why choose ---------- */
.why__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 0 clamp(1.5rem, 1rem + 3vw, 4rem); }
.why__list li { padding-block: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; align-content: start; }
.why__list h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.why__list p { margin: 0; color: var(--fg-soft); }

/* the price card stays readable: opaque ground above; tags keep their natural width when rows stack */
@media (max-width: 52rem) {
  /* phones: product-page liquid lives only around the photo below the text; text-only headers drop it */
  .product-hero .liquid { top: auto; height: 42%; }
  .page-head .liquid { display: none; }
}

/* ---------- guides ---------- */
/* grid items default to min-width:auto and would grow to a table's width; 0 lets .table-wrap scroll instead */
@media (max-width: 60rem) { .article__grid { grid-template-columns: minmax(0, 1fr); } }
.article .prose h2 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin-top: 2.2em; }
.article .prose h2:first-child { margin-top: 0; }
.article .prose ol { list-style: decimal; padding-left: 1.3em; }
.article .prose li::marker { color: var(--logo-red); font-weight: 700; }
.article .table-wrap { margin-block: 1.5em; }
@media (max-width: 60rem) { .article__aside { position: static; } }

html:not(.js) .layers__scene { display: none; } /* plates load via JS; without it the full text list stands alone */
.article .bulletin { min-width: 30rem; } /* narrower than the phone column + gutter, so the next column always peeks in as a scroll hint */

/* ---------- product showcase (home) ---------- */
.showcase__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.showcase__copy { display: grid; gap: 1.6rem; }
.showcase__copy .h2 { margin: 0; }
.showcase .reveal { width: 100%; max-width: 34rem; justify-self: center; }
@media (max-width: 52rem) { .showcase__grid { grid-template-columns: minmax(0, 1fr); } }
/* ---------- praise ---------- */
/* compare: our advantages, numbered and ruled in brand orange */
.bulletin tr.is-us strong { font-weight: 800; }
/* breadcrumb link gets a thumb-sized hit area */
/* outline buttons stay solid over the liquid in closing bands */
.close-band .btn--line { background: var(--ground); }
@media (max-width: 52rem) {
  /* phones: liquid stays clear of headlines and buttons */
  .hero .liquid { top: 50%; }
  .close-band .liquid { display: none; }
}
/* phones: tables become stacked cards; build.mjs gives each cell a data-label from its column heading */
@media (max-width: 40rem) {
  .table-wrap { overflow: hidden; }
  .bulletin, .article .bulletin { min-width: 0; }
  .bulletin { display: flex; flex-direction: column; }
  .bulletin tbody, .bulletin tr, .bulletin th, .bulletin td, .bulletin caption { display: block; }
  .bulletin caption { order: 1; }
  .bulletin thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bulletin tbody tr { padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
  .bulletin tbody tr:last-child { border-bottom: 0; }
  .bulletin tbody th, .bulletin tbody td, .bulletin .r { padding: 0; border: 0; text-align: left; white-space: normal; }
  .bulletin tbody th { font-size: 1.05em; margin-bottom: 0.5rem; }
  .bulletin tbody td + td, .bulletin tbody th + td { margin-top: 0.55rem; }
  .bulletin td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; font-stretch: 112%; font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); }
}
/* smallest phones (320px): long single words like SPECIFICATIONS must fit the column */
@media (max-width: 22.5rem) { .h2 { font-size: 1.6rem; } .h1 { font-size: 2.1rem; } }


/* ---------- compare: anonymous brands, recognisable by pack colour ---------- */

/* ---------- Fresh N Free ---------- */
.fnf__eyebrow { margin-bottom: 1rem; }
.fnf__pack img { width: 100%; border-radius: var(--radius); box-shadow: 0 1.6rem 3rem -1.6rem rgb(0 0 0 / 0.55); }
.fnf__four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.fnf__pictures { padding-top: 0; }
.fnf__gallery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 20rem); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: start; margin-top: 1.5rem; }
.fnf__gallery .photo img { display: block; background: #fff; }
@media (max-width: 52rem) { .fnf__gallery { grid-template-columns: minmax(0, 1fr); } .fnf__gallery .photo:last-child { max-width: 24rem; } }

/* ---------- reviews: cards drift right to left; a JS clone makes the loop seamless ---------- */
.reviews__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.stars--4 svg:last-child { fill: none; stroke: currentColor; stroke-width: 1.4; }
.marquee { display: flex; overflow-x: auto; padding-block: 0.5rem 1.5rem; scrollbar-width: none; }
.marquee.is-moving { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { flex: none; display: flex; gap: 1.25rem; padding-right: 1.25rem; padding-left: var(--gutter); }
.marquee.is-moving .marquee__track { padding-left: 0; animation: marquee 55s linear infinite; }
.marquee.is-moving:hover .marquee__track, .marquee.is-moving:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.review-card { flex: none; width: min(80vw, 22rem); display: grid; gap: 0.6rem; align-content: start; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 1.2rem 2.4rem -1.6rem rgb(29 24 19 / 0.25); }
.review-card__title { margin: 0; font-weight: 800; font-size: 1.1rem; }
.review-card__text { margin: 0; color: var(--fg-soft); }
.review-card__who { margin: 0; font-size: var(--fs-small); font-weight: 650; }

/* ---------- contact: the form is the page ---------- */
.contact { padding-top: clamp(7.5rem, 6.5rem + 3vw, 9.5rem); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__form .h1 { margin-bottom: 0.3em; }
.contact__form .lead { margin-bottom: 1.5rem; }
.form-embed { border-radius: var(--radius); overflow: hidden; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.form-embed iframe { display: block; width: 100%; height: 1180px; border: 0; }
.contact__details { position: sticky; top: 6rem; }
.contact__details .h3 { margin-bottom: 1rem; }
@media (max-width: 64rem) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__details { position: static; }
}
@media (max-width: 52rem) { .form-embed iframe { height: 1320px; } }
.channels a { overflow-wrap: anywhere; }

/* ---------- legal pages: plain, readable text ---------- */
.legal { padding-top: clamp(7.5rem, 6.5rem + 3vw, 9.5rem); }
.legal__body { max-width: 46rem; }
.legal__body h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.legal__date { color: var(--fg-soft); margin-bottom: 2rem; }
.legal__body h2 { font-size: 1.3rem; font-weight: 800; margin: 2.2rem 0 0.6rem; }
.legal__body h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 0.4rem; }
.legal__body p, .legal__body li, .legal__body address { line-height: 1.65; }
.legal__body p + p, .legal__body address { margin-top: 0.8rem; }
.legal__body ul { list-style: disc; padding-left: 1.4rem; margin: 0.6rem 0 0.8rem; display: grid; gap: 0.35rem; }
.legal__body address { font-style: normal; }
.legal__body a { text-decoration: underline; }

/* paired buttons (Amazon + Flipkart etc.) share one row on phones, iPhone included */
@media (max-width: 40rem) {
  .actions--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .actions--pair .btn { justify-content: center; padding-inline: 0.75rem; white-space: nowrap; font-size: clamp(0.85rem, 3.9vw, 1rem); }
  .actions--pair .btn svg { display: none; }
}
/* tablets (two-column hero, narrow): keep clear space between the headline and the box */
@media (min-width: 52.01rem) and (max-width: 64rem) { .hero .display { font-size: min(var(--fs-display), 6.3vw); } }

/* ---------- phones: icon-only menu button, solid menu, no "last tapped" highlight ---------- */
@media (max-width: 52rem) {
  .masthead__toggle { width: 2.9rem; height: 2.9rem; padding: 0; justify-content: center; }
  .masthead__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .masthead__toggle-lines, .masthead__toggle-lines::before, .masthead__toggle-lines::after { width: 1.15rem; }
  .masthead__nav a[aria-current='page'] { background: none; }
  .masthead__nav a:active { background: rgb(29 24 19 / 0.07); }
}

/* ---------- phones: shorter layer section; the heading clears out as the layers separate ---------- */
@media (max-width: 52rem) {
  .layers { height: 460vh; }
  .layers[data-phase='explode'] .layers__intro { opacity: 0; transform: translateY(-1rem); }
}

/* ---------- phones and tablets: the scrolling words stay readable ---------- */
@media (max-width: 64rem) {
  .flow { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
  .flow__word { font-size: clamp(1.7rem, 1rem + 3.6vw, 3.4rem); }
  .flow__track--ghost .flow__word { color: rgb(29 24 19 / 0.62); -webkit-text-stroke: 0; }
  .flow__track--ghost .flow__word::after { background: rgb(29 24 19 / 0.62); box-shadow: none; }
}

/* reviews: label that the cards are a summary */
.reviews__summary { margin: 0 0 1rem; color: var(--fg-soft); }
