/* ==========================================================================
   WIN Detergent — landing page styles
   Single static page for S3. Edit the tokens below to re-skin:
   1) BRAND TOKENS  — swap in the client's style-guide colors
   2) TYPE TOKENS   — swap in the client's fonts (also edit @font-face)
   ========================================================================== */

/* ---------- Fonts (self-hosted; Archivo, SIL Open Font License) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-italic-var.woff2") format("woff2");
  font-weight: 700 900;
  font-stretch: 100% 125%;
  font-style: italic;
  font-display: swap;
}

/* ---------- 1) BRAND TOKENS ---------- */
:root {
  /* palette sampled from the WIN logo and bottles (replace with style guide) */
  --blue: #1c57de;          /* logo blue */
  --navy: #081a5c;          /* deep blue ground */
  --orange: #ff6e26;        /* Active Fresh cap */
  --green: #00c17a;         /* Free & Clear label */
  --forest: #04382a;        /* deep green ground */
  --lime: #d7ff3d;          /* Free & Clear cap */
  --ink: #0b1638;
  --white: #ffffff;

  /* ---------- 2) TYPE TOKENS ---------- */
  --font-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* default side = Active Fresh (blue). Overridden by html[data-side="clear"] */
  --side: var(--blue);          /* bright side color (decoration, large shapes) */
  --strong: #1c57de;            /* side color for white text on it */
  --side-ink: #1c57de;          /* side color for text on light grounds */
  --deep: var(--navy);          /* dark ground */
  --paper: #f3f6ff;
  --tint: #e1e9ff;
  --line: #d3dcf3;
  --accent: var(--orange);
  --on-accent: #081a5c;
  --glow: #3e74ff;
  --muted: #46507a;             /* body copy on paper (contrast >= 7:1) */
  --board: #030a24;             /* scoreboard face */
  --board-edge: #1b2a66;

  --maxw: 1200px;
  --gutter: 20px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --slant: 12deg;
}
html[data-side="clear"] {
  --side: var(--green);
  --strong: #007a49;
  --side-ink: #007a49;
  --deep: var(--forest);
  --paper: #f1faf5;
  --tint: #d9f3e5;
  --line: #c9e6d7;
  --accent: var(--lime);
  --on-accent: #04382a;
  --glow: #2fe08e;
  --muted: #35564a;
  --board: #02140f;
  --board-edge: #0d4a37;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(76px + env(safe-area-inset-top)); scroll-padding-bottom: 20px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;       /* 17px */
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden; overflow-x: clip;
  transition: background-color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus, var(--navy)); outline-offset: 3px; border-radius: 4px; }
.on-dark, .foot, .prod { --focus: #ffffff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* display type: wide, black, forward-slanted — built like the WIN wordmark */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .96;
  text-wrap: balance;
}
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 800; font-stretch: 100%; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--side-ink);
}
.kicker::before { content: ""; width: 2.2em; height: 4px; background: currentColor; transform: skewX(calc(var(--slant) * -1)); }
.on-dark .kicker, .kicker.on-dark { color: var(--accent); }

h2.display { font-size: clamp(2rem, 5.6vw + .4rem, 3.5rem); color: var(--navy); text-transform: none; font-stretch: 106%; letter-spacing: -.02em; line-height: 1; }
html[data-side="clear"] h2.display { color: var(--forest); }
.on-dark h2.display, html[data-side="clear"] .on-dark h2.display { color: #fff; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 40em; }
.on-dark .lede { color: rgba(255,255,255,.86); }

/* buttons */
.btn {
  --h: 56px;
  font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.6em;
  font-family: var(--font-display); font-weight: 800; font-style: normal; font-stretch: 100%;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.15;
  background: var(--accent); color: var(--on-accent);
  border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 5px 0 rgba(0,0,0,.28);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.28); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0,0,0,.28); } .btn:active { transform: translateY(4px); } }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn--ghost:active { box-shadow: inset 0 0 0 2px #fff; }
@media (hover: hover) { .btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.08); } }
.btn--strong { background: var(--strong); color: #fff; }
.btn--sm { --h: 44px; padding: 0 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
/* two-line button: the scent on top, the action below */
.btn--two { --h: 60px; flex-direction: column; gap: 2px; padding: 9px 1.5em 10px; }
.btn--two small { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; line-height: 1.1; }
.btn--two b { font-weight: 800; font-size: 1.0625rem; line-height: 1.1; }

/* ---------- Header ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding-block: calc(6px + env(safe-area-inset-top)) 6px;
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.js .top { position:fixed; z-index:50; }
.top::before {
  content:""; position:absolute; inset:0; z-index:-1; opacity:0; pointer-events:none;
  background:#080f2a; border-bottom:1px solid rgba(255,255,255,.13);
  transition:opacity .18s ease-out;
}
html[data-side="clear"] .top::before { background:#09251e; }
.top.is-scrolled::before { opacity:1; }
.top .top__in { display:grid; grid-template-columns:auto 1fr auto; gap:clamp(6px,2vw,24px); min-height:46px; }
.top .top__logo { grid-column:1; grid-row:1; }
.top__nav { grid-row:1; grid-column:2; justify-self:start; }
.top #bar-buy { grid-column:-2; grid-row:1; justify-self:end; width:11rem; }
.top .bug,.top .scent-dock { display:none; }
.top.is-on .top__nav { display:none; }
.top.is-on .scent-dock { display:block; }
.top .scent-dock { grid-column:2; grid-row:1; justify-self:center; }
.top__logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.top__logo img { width: 104px; height: auto; }
.top__nav { display: none; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: .9375rem; padding: 0 8px; }
@media (hover: hover) { .top__nav a:hover { text-decoration: underline; text-underline-offset: 6px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  background: var(--deep); color: #fff;
  padding: 70px 0 60px;
  transition: background-color .5s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%);
}
.hero::before {                       /* glow thrown by the board */
  content: ""; position: absolute; z-index: -2; left: 50%; top: -8%; width: 150%; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent 72%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 46%, transparent), transparent 72%);
  transition: background .5s var(--ease);
}
.hero::after {                        /* accent edge along the slanted bottom */
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 34px; background: var(--accent);
  clip-path: polygon(0 calc(100% - 7px), 100% calc(100% - 29px), 100% calc(100% - 22px), 0 100%);
  transition: background-color .4s var(--ease);
}
/* floodlight beams */
.hero__lights { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; overflow: clip; }
.hero__lights i { position: absolute; inset: 0; }
.hero__lights i:nth-child(1) { background: conic-gradient(from 150deg at 8% -14%, transparent 0deg, rgba(255,255,255,.13) 11deg, transparent 24deg); }
.hero__lights i:nth-child(2) { background: conic-gradient(from 186deg at 96% -14%, transparent 0deg, rgba(255,255,255,.12) 12deg, transparent 26deg); }
/* diagonal stripes (closing band) */
.hero__stripes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; overflow: clip; }
.hero__stripes i {
  position: absolute; top: -10%; bottom: -10%; width: 15vw; background: var(--side); opacity: .22;
  transform: skewX(calc(var(--slant) * -1)); transition: background-color .5s var(--ease);
}
.hero__stripes i:nth-child(1) { right: 8%; }
.hero__stripes i:nth-child(2) { right: 26%; width: 5vw; opacity: .16; }
.hero__stripes i:nth-child(3) { right: -4%; width: 9vw; background: var(--accent); opacity: .85; }

.hero__grid { display: grid; gap: 18px; }
.hero__art { position: relative; order: -1; height: 210px; --px: 0; --py: 0; }

/* LED numerals: heavy condensed figures cut into lamp dots */
.led {
  display: inline-block; font-weight: 900; font-style: normal; font-stretch: 62%; line-height: .86; font-variant-numeric: tabular-nums;
  --dot: max(3px, .056em);
  -webkit-mask: radial-gradient(circle closest-side, #000 70%, transparent 84%) 0 0 / var(--dot) var(--dot);
          mask: radial-gradient(circle closest-side, #000 70%, transparent 84%) 0 0 / var(--dot) var(--dot);
}
/* the board */
.jumbo {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 16px; background: var(--board); color: #fff;
  box-shadow: 0 0 0 3px var(--board-edge), 0 0 0 5px rgba(255,255,255,.16), 0 22px 50px rgba(0,0,0,.45);
  transition: background-color .5s var(--ease);
}
.jumbo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1.6px) 0 0 / 7px 7px; }
.jumbo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(168deg, rgba(255,255,255,.1), transparent 34%); }
.jumbo__cell { display: grid; grid-template-rows: auto 1fr auto; align-items: center; padding: 10px 12px 9px; min-width: 0; }
.jumbo__cell--funk { justify-items: start; }
.jumbo__cell--fresh { justify-items: end; text-align: right; }
.jumbo__cell span { font-weight: 800; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.jumbo__cell em { font-style: italic; font-weight: 900; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); transition: color .4s var(--ease); white-space: nowrap; }
.jumbo__cell strong { font-size: var(--led, 6.9rem); color: #ffdc6a; text-shadow: 0 0 18px rgba(255,220,106,.75); min-width: .5em; text-align: center; }
.jumbo__cell--fresh strong { color: #7dffb2; text-shadow: 0 0 18px rgba(125,255,178,.75); }
.jumbo__q {
  position: absolute; z-index: 2; left: 50%; top: 0; transform: translateX(-50%); margin: 0; padding: 5px 14px 6px; border-radius: 0 0 10px 10px;
  background: var(--accent); color: var(--on-accent); font-weight: 900; font-style: italic; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.jumbo--hero {
  position: absolute; left: 0; right: 0; top: 13%; height: 70%;
  transform: translate(calc(var(--px) * -10px), calc(var(--py) * -6px)); transition: transform .5s var(--ease);
}

/* the bottle stands in front of the board, with a floor reflection */
.bottle {
  position: absolute; z-index: 2; left: 50%; top: 0; height: 100%; aspect-ratio: 615 / 1400;
  transform: translate(calc(-50% + var(--px) * 14px), calc(var(--py) * 8px));
  transition: opacity .45s var(--ease), transform .5s var(--ease);
}
.bottle img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
.bottle > img:first-child { filter: drop-shadow(0 18px 24px rgba(0,0,0,.42)); }
.bottle .bottle__ref {              /* only the strip nearest the floor shows, so it never reaches the copy below */
  top: 99.2%; transform: scaleY(-1); opacity: .2; clip-path: inset(89% 0 0 0);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 11%); mask-image: linear-gradient(to top, #000, transparent 11%);
}
.hero__copy { position: relative; z-index: 3; }
html:not([data-side="clear"]) .bottle--clear, html[data-side="clear"] .bottle--fresh { opacity: 0; transform: translate(-50%, 16px) scale(.96); pointer-events: none; }
.hero__floor {                       /* contact shadow under the bottle */
  position: absolute; z-index: 1; left: 50%; bottom: -11px; width: 62%; max-width: 420px; height: 22px; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.62), transparent);
}
/* oxygen fizz: plays twice on load and after each side change, then rests */
.fizz { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fizz i {
  position: absolute; left: var(--l); bottom: var(--b); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  border: 1.5px solid rgba(255,255,255,.85); background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.7), rgba(255,255,255,.08) 55%);
}
.fizz i:nth-child(1) { --l: 30%; --b: 14%; --s: 16px; --dl: 0s; }
.fizz i:nth-child(2) { --l: 68%; --b: 22%; --s: 11px; --dl: .5s; }
.fizz i:nth-child(3) { --l: 24%; --b: 40%; --s: 10px; --dl: 1.1s; }
.fizz i:nth-child(4) { --l: 73%; --b: 46%; --s: 18px; --dl: .25s; }
.fizz i:nth-child(5) { --l: 36%; --b: 58%; --s: 9px; --dl: 1.5s; }
.fizz i:nth-child(6) { --l: 64%; --b: 8%; --s: 14px; --dl: .9s; }
.fizz i:nth-child(7) { --l: 18%; --b: 24%; --s: 12px; --dl: 1.8s; }
.fizz i:nth-child(8) { --l: 78%; --b: 62%; --s: 10px; --dl: 1.3s; }
.fizz.go i { animation: fizz 2.6s ease-in var(--dl) 2 both; }
@keyframes fizz { 0% { transform: translateY(0) scale(.4); opacity: 0; } 14% { opacity: .95; } 100% { transform: translateY(-120px) scale(1.15); opacity: 0; } }

.hero h1 { text-transform: uppercase; font-size: clamp(2.05rem, 8.2vw + .1rem, 4.7rem); margin: 8px 0 10px; }
.hero h1 em { font-style: inherit; color: var(--accent); transition: color .4s var(--ease); }
.hero .lede { font-size: 1rem; line-height: 1.5; }

.stamp { animation: stamp .42s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes stamp { from { transform: scale(1.7); opacity: .2; } to { transform: none; opacity: 1; } }

/* side switch */
.side { margin: 12px 0 12px; }
.side__label { font-weight: 800; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 10px; }
.side__opts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px; max-width:520px; padding:4px; border-radius:15px; background:#071123c9; border:1px solid #ffffff60; }
.scent-choice,.scent-dock__trigger { --dose:#ffc08d; --dose-ink:#aa3e09; --wash:#ffe9d5; }
.scent-choice[data-side="clear"],html[data-side="clear"] .scent-dock__trigger { --dose:#d8fc6b; --dose-ink:#277951; --wash:#e5f4dc; }
.scent-choice {
  position:relative; isolation:isolate; display:grid; align-content:center; align-items:center;
  grid-template-columns:auto minmax(0,1fr); column-gap:10px; row-gap:2px; overflow:hidden;
  min-height:61px; padding:8px 12px; text-align:left; border:1px solid transparent; border-radius:10px;
  cursor:pointer; color:#fff; background:transparent; -webkit-tap-highlight-color:transparent;
}
.scent-choice::before {
  content:""; position:absolute; inset:0; z-index:-1; opacity:0; background:linear-gradient(160deg,#fff 20%,var(--wash));
}
.scent-choice[aria-checked="true"] { color:#101e35; border-color:#fff; }
.scent-choice[aria-checked="true"]::before { opacity:1; }
.scent-choice b { font:900 italic 1.04rem/1.1 var(--font-body); text-transform:uppercase; }
.scent-choice small { grid-column:2; font:600 .78rem/1.24 var(--font-body); opacity:.86; }
.scent-choice:focus-visible,.scent-dock__trigger:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.scent-choice:focus-visible { outline-offset:-3px; outline-color:var(--dose); }
.scent-choice[aria-checked="true"]:focus-visible { outline-color:var(--dose-ink); }
@media (hover:hover) { .scent-choice:hover { border-color:#ffffffa0; } }

.dose-cap {
  --rim:var(--dose); --ink:var(--dose);
  display:block; position:relative; align-self:center; grid-row:1 / 3; flex:none;
  width:29px; height:29px; color:var(--rim); pointer-events:none;
}
.dose-cap__cup {
  position:absolute; overflow:hidden; inset:3px 2px 1px;
  border:1.5px solid currentColor; border-radius:3px 3px 6px 6px;
  transform:perspective(43px) rotateX(-12deg); background:#ffffff12;
}
.dose-cap::before { content:""; position:absolute; z-index:1; top:2px; left:0; right:0; height:3px; border:1px solid currentColor; border-radius:50%; background:var(--rim); }
.dose-cap__liquid {
  position:absolute; inset:0 -25% -25%; border-radius:49% 52% 0 0 / 10% 9% 0 0;
  background:linear-gradient(135deg,var(--dose),var(--dose-ink)); border-top:2px solid #ffffffce;
  transform:translateY(72%) rotate(-5deg); transition:transform .62s cubic-bezier(.2,.8,.24,1);
}
.scent-choice[aria-checked="true"] .dose-cap { --rim:var(--dose-ink); --ink:#17303c; }
.scent-choice[aria-checked="true"] .dose-cap__liquid,.scent-dock__trigger .dose-cap__liquid { transform:translateY(28%) rotate(2deg); }
.dose-cap__marks { position:absolute; z-index:1; width:6px; height:1px; left:4px; top:10px; background:var(--ink); box-shadow:0 4px 0 var(--ink),0 8px 0 var(--ink); }
@media (max-width:699px) {
  .scent-choice { column-gap:6px; padding:8px; }
  .scent-choice b { font-size:clamp(.77rem,3.36vw,.98rem); }
  .scent-choice small { font-size:clamp(.68rem,2.9vw,.78rem); }
  .dose-cap { width:23px; height:25px; }
}

.hero__cta { display: grid; gap: 12px; }
.hero__fine { font-size: .875rem; color: rgba(255,255,255,.85); margin-top: 4px; }

/* ---------- Story ---------- */
.story { background: #fff; border-bottom: 1px solid var(--line); margin-top: -22px; padding: 46px 0 34px; position: relative; z-index: 0; }
.story__in { display: grid; gap: 14px 40px; align-items: start; }
.story__year { font-weight: 900; font-style: italic; font-stretch: 70%; font-size: 4.2rem; line-height: .82; color: var(--side-ink); font-variant-numeric: tabular-nums; transition: color .4s var(--ease); }
.story__year span { display: block; font-stretch: 100%; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.story__copy { display: grid; gap: 10px; max-width: 44em; }
.story h2 { font-weight: 900; font-stretch: 105%; font-size: clamp(1.4rem, 4.2vw, 1.9rem); line-height: 1.1; letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
html[data-side="clear"] .story h2 { color: var(--forest); }
.story__copy p { color: var(--muted); }
.story__facts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 4px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.story__facts b { font-weight: 900; }

/* ---------- Wash Test (signature) ---------- */
.sec { padding: 64px 0; position: relative; }
.wash { background: var(--paper); }
.wash__grid { display: grid; gap: 32px; }
.wash__copy { display: grid; gap: 18px; align-content: start; }
.facts { display: grid; gap: 14px; margin-top: 6px; }
.facts li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--side-ink); transition: border-color .4s var(--ease); }
.facts b { display: block; font-weight: 900; font-stretch: 108%; text-transform: uppercase; font-size: 1.0625rem; line-height: 1.2; color: var(--navy); }
html[data-side="clear"] .facts b { color: var(--forest); }
.facts span { color: var(--muted); font-size: 1rem; }
.formula-detail__seal, .formula-detail__sheet { display: none; }
html[data-side="clear"] .facts .formula-detail {
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 8px;
  background: #fff;
  border: 1px solid #acc9ba;
  border-left: 3px solid var(--forest);
}
html[data-side="clear"] .formula-detail__seal {
  display: block;
  width: 46px;
  height: auto;
}
html[data-side="fresh"] .formula-detail__sheet[href="#fresh-ingredients"],
html[data-side="clear"] .formula-detail__sheet[href="#clear-ingredients"] {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 800;
  color: var(--side-ink);
  text-underline-offset: .2em;
}
@media (min-width: 1000px) {
  html[data-side="clear"] .wash__grid { grid-template-columns: 1.1fr .9fr; }
  html[data-side="clear"] .wash__copy { grid-area: 1 / 2; }
  html[data-side="clear"] .wash .wt { grid-area: 1 / 1; }
}

.wt { display: grid; gap: 12px; }
.wt__stage {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto;
  border-radius: 22px; overflow: hidden; background: #3b4054; user-select: none; -webkit-user-select: none;
  touch-action: pan-y pinch-zoom; cursor: ew-resize;
  box-shadow: 0 0 0 3px var(--navy), 8px 10px 0 var(--navy);
  --pos: 50%;
}
html[data-side="clear"] .wt__stage { box-shadow: 0 0 0 3px var(--forest), 8px 10px 0 var(--forest); }
.wt__layer { position: absolute; inset: 0; }
.wt__layer svg { width: 100%; height: 100%; }
/* fabric colors: a tired, greyed version of the side color before; the full side color after */
.wt__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.wt__tag {
  position: absolute; top: 12px; z-index: 6; pointer-events: none; padding: 7px 11px 8px; border-radius: 9px;
  font-weight: 900; font-stretch: 100%; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1;
  transition: opacity .25s var(--ease);
}
.all-win .wt__tag--before, .all-reg .wt__tag--after { opacity: 0; }
.wt__where { transition: opacity .25s var(--ease); }
.all-win .wt__where { opacity: 0; }
.wt__tag--before { left: 12px; background: #23273a; color: #fff; }
.wt__tag--after { right: 12px; background: var(--accent); color: var(--on-accent); transition: background-color .4s var(--ease), color .4s var(--ease); }
.wt__where {
  position: absolute; z-index: 5; left: 12px; bottom: 12px; white-space: nowrap; pointer-events: none;
  padding: 6px 11px 7px; border-radius: 999px; background: rgba(2,8,31,.78); color: #fff;
  font-weight: 800; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.1;
}
.wt__handle { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.wt__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pos) - 2px); width: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(8,26,92,.35); }
.wt__knob {
  position: absolute; top: 50%; left: clamp(36px, var(--pos), calc(100% - 36px)); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff; color: var(--navy); display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--navy), 0 5px 0 rgba(0,0,0,.28);
}
.wt__knob svg { width: 28px; height: 28px; }
.wt__range { position: absolute; inset: 0; z-index: 5; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; touch-action: pan-y pinch-zoom; }
.wt__range:focus-visible ~ .wt__handle .wt__knob { outline: 4px solid var(--deep); outline-offset: 2px; box-shadow: 0 0 0 3px #fff, 0 5px 0 rgba(0,0,0,.28); }
.wt__cap { text-align: center; font-size: .875rem; color: var(--muted); }
.wt__hint { text-align: center; font-weight: 800; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--side-ink); }
.no-js .wt__range, .no-js .wt__knob, .no-js .wt__hint { display: none; }
.no-js .wt__stage { cursor: default; }

/* funk wisps (before) and oxygen bubbles (after): they move for a few seconds after the stage appears or is touched, then rest */
.wisp { fill: none; stroke: #c9cf5a; stroke-width: 5; stroke-linecap: round; opacity: .7; animation: wisp 4.2s ease-in-out infinite; animation-play-state: paused; transform-box: fill-box; transform-origin: 50% 100%; }
.wisp:nth-child(2) { animation-delay: -1.4s; }
.wisp:nth-child(3) { animation-delay: -2.8s; }
.wisp:nth-child(4) { animation-delay: -.7s; }
.wisp:nth-child(5) { animation-delay: -2.1s; }
.bub { fill: url(#g-bub); stroke: #fff; stroke-opacity: .85; stroke-width: 1.6; animation: bub 3.4s ease-in-out infinite; animation-play-state: paused; transform-box: fill-box; }
.bub:nth-child(3n) { animation-delay: -1.1s; }
.bub:nth-child(3n+1) { animation-delay: -2.2s; }
.is-live .wisp, .is-live .bub { animation-play-state: running; }
@keyframes wisp { 0%,100% { transform: translateY(0) scaleY(1); opacity: .8; } 50% { transform: translateY(-9px) scaleY(1.05); opacity: .45; } }
@keyframes bub { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Benefits ---------- */
.benefits { background: var(--deep); color: #fff; transition: background-color .5s var(--ease); }
.benefits h2 { margin-bottom: 28px; }
.box { position: relative; isolation: isolate; border-radius: var(--radius); background: var(--board); box-shadow: 0 0 0 2px rgba(255,255,255,.2), 8px 10px 0 rgba(0,0,0,.35); overflow: hidden; }
.box__head, .q, .box__total { display: grid; grid-template-columns: 64px 1fr 44px 52px; gap: 0 12px; padding-inline: 14px; align-items: center; }
.box__head { padding-block: 10px 8px; font-weight: 800; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.box__head span:nth-child(n+3) { text-align: center; }
.q { padding-block: 18px; border-top: 2px solid rgba(255,255,255,.12); align-items: start; }
.q__no { font-weight: 900; font-style: italic; font-stretch: 70%; font-size: 1.9rem; line-height: .9; color: var(--accent); transition: color .4s var(--ease); }
.q h3 { font-weight: 900; font-style: italic; font-stretch: 110%; text-transform: uppercase; font-size: 1.25rem; line-height: 1.04; margin-bottom: 6px; }
.q__play p { color: rgba(255,255,255,.86); font-size: 1rem; }
.q--lead h3 { font-size: clamp(1.6rem, 6vw, 2.6rem); color: var(--accent); transition: color .4s var(--ease); }
.q__pts { display: contents; }
/* phone: score line on top (quarter + points), then the play runs full width below */
.q__play { display: contents; }
.q__no { grid-column: 1; grid-row: 1; align-self: center; }
.q h3 { grid-column: 1 / -1; grid-row: 2; margin-top: 10px; }
.q__play p { grid-column: 1 / -1; grid-row: 3; }
.q__funk { grid-column: 3; grid-row: 1; }
.q__fresh { grid-column: 4; grid-row: 1; }
.q__funk, .q__fresh { display: block; font-weight: 900; font-stretch: 70%; font-size: 2.2rem; line-height: .9; text-align: center; font-variant-numeric: tabular-nums; }
.box::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.6px) 0 0 / 7px 7px; }
.q__funk { text-shadow: 0 0 10px rgba(255,220,106,.3); }
.q__fresh { text-shadow: 0 0 10px rgba(125,255,178,.3); }
.q__funk.led, .q__fresh.led { -webkit-mask: none; mask: none; }   /* table figures stay solid; the lamp-dot cut is for the big boards */
.q__funk { color: #ffdc6a; }
.q__fresh { color: #7dffb2; }
.box__total { padding-block: 12px 14px; border-top: 3px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.box__total > span:not(.sr-only) { grid-column: 1 / 3; text-align: right; font-weight: 900; font-style: italic; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Pick your side (face-off) ---------- */
.sec.pick { background: var(--paper); padding-bottom: 0; z-index: 1; }
.pick, .season { --bottle-overhang: clamp(32px, 5.2vw, 80px); }
.pick__head { display: grid; gap: 12px; margin-bottom: 28px; }
.duel { position: relative; display: grid; overflow-x: clip; }
.prod {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--pc);
  padding: 30px var(--gutter) 36px;
}
.prod--fresh { --pc: #0f3aa8; --pa: var(--orange); --po: var(--navy); --pg: #2f6bff; }
.prod--clear { --pc: #006b40; --pa: var(--lime); --po: var(--forest); --pg: #19c97c; }
.prod::before {                       /* light pooled behind the bottle */
  content: ""; position: absolute; z-index: -1; right: -34%; top: -40px; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--pg), transparent 70%); opacity: .6;
}
.prod::after {                        /* slanted accent bar behind the bottle, like the hero edge */
  content: ""; position: absolute; z-index: -1; right: 24%; top: -30px; height: 400px; width: 30px; background: var(--pa); opacity: .9;
  transform: skewX(calc(var(--slant) * -1));
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 86%); mask-image: linear-gradient(180deg, #000 62%, transparent 86%);
}
.prod--clear { padding-top: 54px; overflow: visible; clip-path: inset(0 0 calc(-1 * var(--bottle-overhang) - 64px)); }
.prod--clear .prod__bottle { top: 58px; }
.prod__in { position: relative; z-index: 1; display: grid; gap: 12px; }
.prod__bottle {
  position: absolute; z-index: 0; right: 12px; top: 28px; height: 300px; width: auto; max-width: none;
  transform: rotate(7deg); filter: drop-shadow(0 9px 11px rgba(0,0,0,.34));
}
.prod__tag { display: inline-block; justify-self: start; background: var(--pa); color: var(--po); font-weight: 900; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 8px; }
.prod h3 { font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.2rem, 10.4vw, 3.4rem); line-height: .94; max-width: 4.6em; }
.prod p { color: rgba(255,255,255,.94); }
.prod ul { display: grid; gap: 8px; margin: 2px 0 4px; }
.prod li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; line-height: 1.3; }
.prod li svg { width: 22px; height: 22px; color: var(--pa); margin-top: 1px; }
.prod .btn:not(.btn--ghost) { background: var(--pa); color: var(--po); }
.prod__top { display: flex; align-items: center; gap: 10px; }
.prod__badge { width: 42px; height: auto; background: #fff; border-radius: 8px; padding: 3px; }
.prod__links { display: grid; gap: 10px; margin-top: 6px; }
.prod__choose { display: none; }
.prod__links .btn--ghost { color: #fff; background: rgba(0,0,0,.18); }
/* phones: the name and checks sit beside the bottle; the description runs full width under it */
.prod__in > h3, .prod__in > ul, .prod__in > .prod__tag, .prod__in > .prod__top { max-width: 56%; }
.prod__in > ul { order: 1; min-height: 192px; align-content: start; }
.prod__in > p { order: 2; }
.prod__in > .prod__links { order: 3; }
.duel__vs {                           /* sits on the seam between the two sides */
  position: relative; z-index: 4; justify-self: center; width: 58px; height: 58px; margin: -29px 0; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  font-weight: 900; font-style: italic; font-stretch: 108%; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 5px 0 rgba(0,0,0,.28);
}

/* ---------- Season (journey) ---------- */
.season { background: var(--deep); color: #fff; position: relative; overflow: hidden; overflow: clip; padding: 72px 0 80px; transition: background-color .5s var(--ease); }
.season__scent, .season__phone-title { display: none; }
.season__head { position: relative; display: grid; gap: 12px; margin-bottom: 30px; }
.steps { position: relative; display: grid; gap: 38px 0; }
.steps__play { display: none; position: relative; }
.steps__play i { position: absolute; left: 34px; top: 6px; bottom: 6px; border-left: 3px dashed var(--accent); transition: border-color .4s var(--ease); }
.steps__play i::before, .steps__play i::after { content: ""; position: absolute; left: -8px; width: 13px; height: 13px; border-radius: 50%; border: 3px solid var(--accent); background: var(--deep); transition: border-color .4s var(--ease), background-color .5s var(--ease); }
.steps__play i::before { top: -8px; }
.steps__play i::after { bottom: -8px; background: var(--accent); }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-content: start; }
.step > * { grid-column: 2; }
/* the shelf: bottle at true relative size, with its load count on a small board */
.step__art {
  grid-column: 1 / -1; position: relative; isolation: isolate; overflow: hidden; height: 268px; margin-bottom: 14px; border-radius: 22px;
  background: var(--strong); background: color-mix(in srgb, var(--strong) 72%, var(--deep)); transition: background-color .4s var(--ease);
}
.step--go .step__art { background: var(--strong); box-shadow: inset 0 0 0 4px var(--accent); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.step__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 46% 62% at 74% 46%, rgba(255,255,255,.26), transparent 70%); }   /* light on the product */
.step__art::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 26%; background: radial-gradient(ellipse 24% 46% at 74% 70%, rgba(0,0,0,.5), transparent 72%), rgba(0,0,0,.22); }   /* shelf and contact shadow */
.step__img { position: absolute; right: 15%; bottom: 7%; height: 84%; width: auto; max-width: none; filter: drop-shadow(0 14px 14px rgba(0,0,0,.4)); }
.step--go .step__img { height: 90%; right: 6%; }
.loads {
  position: absolute; left: 16px; top: 16px; margin: 0; display: grid; justify-items: center; gap: 4px; padding: 10px 14px 8px; border-radius: 12px;
  background: var(--board); box-shadow: 0 0 0 2px rgba(255,255,255,.22), 0 5px 0 rgba(0,0,0,.3);
}
.loads strong { -webkit-mask: none; mask: none; font-stretch: 75%; font-size: 4.4rem; color: #ffdc6a; text-shadow: 0 0 12px rgba(255,220,106,.7); }
.loads span { font-weight: 800; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.step .step__no { grid-column: 1; grid-row: 2 / span 3; align-self: start; font-weight: 900; font-stretch: 62%; font-style: italic; font-size: 3.4rem; line-height: .86; color: var(--accent); transition: color .4s var(--ease); }
.step h3 { font-weight: 900; font-stretch: 110%; text-transform: none; letter-spacing: -.01em; font-size: 1.75rem; line-height: 1.02; }
.step p { color: rgba(255,255,255,.9); }
.step .btn { justify-self: start; margin-top: 10px; }
.season__also { position: relative; margin-top: 30px; font-size: .9375rem; color: rgba(255,255,255,.88); }
.season__also a { font-weight: 800; }
.season__also a, .faq .ans a { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* ---------- Proof ---------- */
.proof { background: #fff; }
.proof__head { display: grid; gap: 14px; margin-bottom: 26px; }
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating__num { font-weight: 900; font-stretch: 70%; font-size: 4.2rem; line-height: .85; color: var(--navy); }
html[data-side="clear"] .rating__num { color: var(--forest); }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }
.rating small { display: block; font-weight: 700; color: var(--muted); }
/* reviews run as one ruled column: a lead quote, then two shorter ones */
.quotes { display: grid; gap: 0; }
.quote { display: grid; gap: 10px; align-content: start; padding: 24px 0; border-top: 2px solid var(--line); }
.quote h3 { font-weight: 900; font-stretch: 108%; text-transform: none; letter-spacing: -.01em; font-size: 1.25rem; line-height: 1.15; color: var(--navy); }
html[data-side="clear"] .quote h3 { color: var(--forest); }
.quote p { color: var(--ink); }
.quote cite { font-style: normal; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.quote--lead { border-top: 0; border-left: 6px solid var(--accent); padding: 4px 0 4px 20px; margin-bottom: 26px; transition: border-color .4s var(--ease); }
.quote--lead h3, html[data-side="clear"] .quote--lead h3 { color: var(--side-ink); font-size: clamp(1.6rem, 5.4vw, 2.5rem); line-height: 1.02; }
.quote--lead p { font-size: 1.125rem; line-height: 1.5; }

/* ---------- Tips + FAQ ---------- */
.know { background: var(--paper); }
.know h2.display { font-size: clamp(1.9rem, 5.2vw, 2.7rem); }
.know__grid { display: grid; gap: 34px; }
.tips { display: grid; margin-top: 22px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.tip { padding: 18px 20px 20px; }
.tip + .tip { border-top: 2px solid var(--line); }
.tip h3 { font-weight: 900; font-stretch: 108%; text-transform: none; letter-spacing: -.01em; font-size: 1.1875rem; line-height: 1.1; margin-bottom: 6px; color: var(--navy); }
html[data-side="clear"] .tip h3 { color: var(--forest); }
.tip p { color: var(--muted); }
.tip--hot { background: var(--deep); transition: background-color .5s var(--ease); }
.tip--hot h3, html[data-side="clear"] .tip--hot h3 { color: var(--accent); }
.tip--hot p { color: rgba(255,255,255,.94); }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; min-height: 56px; font-weight: 800; font-size: 1.0625rem; line-height: 1.3; color: var(--navy);
  -webkit-tap-highlight-color: transparent;
}
html[data-side="clear"] .faq summary { color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 2px;
  border-right: 4px solid var(--side-ink); border-bottom: 4px solid var(--side-ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details[open] { border-color: var(--side-ink); }
.faq .ans { padding: 0 18px 18px; color: var(--muted); display: grid; gap: 10px; }
.faq .ans a { color: var(--side-ink); font-weight: 700; }

/* ---------- Final CTA ---------- */
.final { background: var(--deep); color: #fff; text-align: left; position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: 72px 0 88px; transition: background-color .5s var(--ease); }
.final__grid { position: relative; display: grid; gap: 34px; }
.final h2 { text-transform: uppercase; font-stretch: 112%; letter-spacing: -.01em; line-height: .96; font-size: clamp(2.2rem, 8.6vw, 4.4rem); margin: 0 0 14px; max-width: 13em; color: #fff; }
.final p { margin: 0 0 26px; max-width: 34em; color: rgba(255,255,255,.9); }
.final__btns { display: grid; gap: 12px; max-width: 420px; }
.final .final__fine { margin: 18px 0 0; font-size: .875rem; color: rgba(255,255,255,.85); }
/* the last board: the score the page has been keeping */
.jumbo--final { order: -1; width: 100%; max-width: 420px; height: 176px; --led: 8rem; transform: rotate(-2deg); }
.jumbo--final .jumbo__cell { padding: 30px 26px 12px; grid-template-rows: auto 1fr; }
.jumbo--final .jumbo__cell--funk { justify-items: center; }
.jumbo--final .jumbo__cell--fresh { justify-items: center; text-align: center; }
.jumbo--final .jumbo__cell + .jumbo__cell { border-left: 2px solid rgba(255,255,255,.14); }
.final .jumbo__q { margin: 0; color: var(--on-accent); }

/* ---------- Footer ---------- */
.foot { background: #050e33; color: rgba(255,255,255,.88); padding: 44px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .9375rem; }
html[data-side="clear"] .foot { background: #021f17; }
.foot__top { display: grid; gap: 26px; }
.foot__logo { display: inline-flex; align-items: center; min-height: 44px; }
.foot__logo img { width: 120px; }
.foot a { color: #fff; }
.foot__cols { display: grid; gap: 22px; }
.foot h2 { font-weight: 900; font-stretch: 100%; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.foot__links { display: grid; gap: 4px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
@media (hover: hover) { .social a:hover { background: var(--accent); color: var(--on-accent); } }
.disc { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px; }
.disc details { border: 2px solid rgba(255,255,255,.28); border-radius: 14px; }
.disc summary { list-style: none; cursor: pointer; padding: 14px 18px; min-height: 52px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.disc summary::-webkit-details-marker { display: none; }
.disc summary::after { content: "+"; content: "+" / ""; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.disc details[open] summary::after { content: "–"; content: "–" / ""; }
.disc__body { padding: 4px 18px 20px; display: grid; gap: 16px; font-size: .875rem; line-height: 1.55; color: rgba(255,255,255,.86); }
.disc__body h3 { font-weight: 800; font-size: .9375rem; color: #fff; margin-bottom: 6px; }
.disc__body ul { display: grid; gap: 2px; list-style: disc; padding-left: 20px; }
.disc__docs { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.disc__docs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.legal { margin-top: 28px; display: grid; gap: 4px; font-size: .8125rem; color: rgba(255,255,255,.72); }

/* The compact score uses the same type and lamp colors as the full board. */
.bug { align-items:baseline; gap:6px; font-family:"Archivo",sans-serif; white-space:nowrap; line-height:1; }
.bug span,.bug i { font-weight:800; font-size:.625rem; letter-spacing:.1em; text-transform:uppercase; }
.bug span { color:#d3dae5; }
.bug b { font-size:1.15rem; font-weight:900; color:#ffdc6a; font-variant-numeric:tabular-nums; }
.bug b:first-of-type { margin-right:5px; }
.bug #bug-fresh { color:#7dffb2; }
.bug i { min-width:4.6em; padding-left:10px; margin-left:4px; border-left:1px solid #ffffff44; font-style:normal; color:#d3dae5; }
.scent-dock__trigger {
  appearance:none; display:flex; align-items:center; gap:7px; min-height:44px; padding:4px 10px;
  line-height:1; border:1px solid #ffffff5c; border-radius:10px; background:#ffffff0d; color:white;
  text-align:left; cursor:pointer;
}
.scent-dock__trigger::after { content:""; flex:none; width:6px; height:6px; border-right:1.5px solid; border-bottom:1.5px solid; transform:translateY(-2px) rotate(45deg); margin-left:2px; }
.scent-dock__trigger[aria-expanded="true"]::after { transform:translateY(2px) rotate(225deg); }
.scent-dock__trigger .dose-cap { width:22px; height:24px; }
.scent-dock__label { display:grid; gap:2px; }
.scent-dock__label small { font:700 .62rem/1 var(--font-body); letter-spacing:.045em; color:#d8e2e8; }
.scent-dock__label b { font:900 italic .88rem/1.06 var(--font-body); white-space:nowrap; }
.scent-panel {
  position:absolute; top:calc(100% + 4px); right:max(12px,env(safe-area-inset-right)); width:min(247px,calc(100vw - 24px));
  padding:4px; border:1px solid #ffffff70; border-radius:13px; background:var(--board); box-shadow:0 8px 22px #04121f55;
}
.scent-panel[hidden] { display:none; }
.scent-panel .scent-choice { width:100%; min-height:53px; }
.scent-panel .scent-choice + .scent-choice { margin-top:3px; }
.scent-panel .scent-choice b { font-size:.91rem; }
.scent-panel .scent-choice small { font-size:.75rem; }
@media (min-width:700px) {
  .scent-dock { position:relative; }
  .scent-panel { right:0; top:calc(100% + 10px); }
  .scent-dock__trigger { width:10.15rem; gap:10px; }
  .scent-dock__trigger::after { margin-left:auto; }
}
.buybar__long { display:none; }
@media (max-width:699px) {
  .top .top__in,.intro__top .top__in { padding-left:max(12px,env(safe-area-inset-left)); padding-right:max(12px,env(safe-area-inset-right)); }
  .top .top__logo,.intro__top .top__logo { padding-inline:7px; }
  .top .top__logo img,.intro__top .top__logo img { width:clamp(54px,16vw,78px); }
  .scent-dock__trigger { width:clamp(125px,35vw,153px); padding-inline:7px; gap:5px; }
  .scent-dock__trigger::after { margin-left:auto; }
  .scent-dock__trigger .dose-cap { width:19px; height:21px; }
  .scent-dock__label b { font-size:.8rem; }
  .top #bar-buy { --h:44px; width:5rem; font-size:.76rem; padding-inline:8px; }
}
/* ---------- Reveal (script adds .js; no-JS shows everything) ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 700px) {
  :root { --gutter: 32px; }
  body { font-size: 1.125rem; }
  .top__logo img { width: 128px; }
  .hero { padding: 112px 0 84px; }
  .hero__art { height: 400px; }
  .jumbo--hero { left: 50%; right: auto; width: min(100%, 620px); margin-left: calc(min(100%, 620px) / -2); }
  .jumbo__cell { padding: 16px 22px 14px; }
  .jumbo__cell span { font-size: .8125rem; }
  .jumbo__cell em { font-size: .75rem; }
  .jumbo--hero { --led: 12.5rem; }
  .story__in { grid-template-columns: auto 1fr; }
  .story__year { font-size: 6rem; }
  .box__head, .q, .box__total { grid-template-columns: 72px 1fr 84px 84px; gap: 0 24px; padding-inline: 28px; }
  .q { padding-block: 26px; }
  .q__play { display: block; grid-column: 2; grid-row: 1; }
  .q h3 { margin-top: 0; }
  .q__no { align-self: start; }
  .q--lead h3 { font-size: clamp(2rem, 2.6vw, 2.6rem); }
  .q__no { font-size: 2.6rem; }
  .q__funk, .q__fresh { font-size: 4.4rem; }
  .q h3 { font-size: 1.6rem; }
  .sec { padding: 88px 0; }
  /* face-off: wide bands, bottle large on the outer edge */
  .prod { padding: 48px var(--gutter) 52px; min-height: 480px; display: grid; align-items: center; }
  .prod__in { max-width: min(400px, 52%); gap: 14px; }
  .prod__in > h3, .prod__in > ul, .prod__in > .prod__tag, .prod__in > .prod__top { max-width: none; }
  .prod__in > ul, .prod__in > p, .prod__in > .prod__links { order: 0; min-height: 0; }
  .prod__bottle { right: 7%; top: auto; bottom: -96px; height: 600px; transform: rotate(8deg); }
  .prod--clear .prod__in { justify-self: end; }
  .prod--clear .prod__bottle { right: auto; left: 7%; bottom: calc(-1 * var(--bottle-overhang)); height: min(530px, 100%); transform: rotate(-6deg); }
  .prod::before { right: -10%; top: -30%; width: 56%; }
  .prod--clear::before { right: auto; left: -10%; }
  .prod::after { right: 26%; top: 0; bottom: 0; height: auto; width: 54px; -webkit-mask-image: none; mask-image: none; }
  .prod--clear::after { right: auto; left: 26%; }
  .prod--clear { padding-top: 48px; }
  .prod--clear .prod__bottle { top: auto; }
  .prod__badge { position: absolute; right: 0; top: -6px; width: 60px; border-radius: 10px; padding: 4px; }   /* out of the flow, so both sides line up */
  .duel__vs { width: 72px; height: 72px; margin: -36px 0; font-size: 1.375rem; }
  .steps { grid-template-columns: 1fr 64px 1fr; gap: 0; }
  .steps__play { display: block; }
  .step__art { height: 340px; }
  .steps__play { height: 340px; }
  .steps__play i { left: 8px; right: 8px; top: 50%; bottom: auto; border-left: 0; border-top: 3px dashed var(--accent); }
  .steps__play i::before, .steps__play i::after { top: -8px; bottom: auto; }
  .steps__play i::before { left: -8px; }
  .steps__play i::after { left: auto; right: -8px; }
  .loads { left: 18px; top: 18px; }
  .step--go .step__img { height: 80%; }
  .quote--lead { padding: 6px 0 6px 30px; margin-bottom: 34px; }
  .quote--lead blockquote p { font-size: 1.375rem; line-height: 1.45; max-width: 46em; }
  .quotes { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .quote--lead { grid-column: 1 / -1; }
  .final__btns { grid-template-columns: auto auto; justify-content: start; max-width: none; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; }
  .foot__top { grid-template-columns: 1fr 2fr; align-items: start; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buybar__long { display: inline; }
  .buybar__short { display: none; }
}
@media (min-width: 1000px) {
  html { scroll-padding-top: 84px; }
  .top__nav { display: flex; gap: 14px; color: #fff; }
  .top__in { gap: 28px; }
  .top .top__in { grid-template-columns:auto 1fr auto auto; }
  .top__nav { grid-column:2/4; }
  .top.is-on .bug { display:flex; grid-column:2; grid-row:1; justify-self:start; }
  .top .scent-dock { grid-column:3; }
  .hero { padding: 132px 0 120px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
  .hero h1 { font-size: clamp(2.7rem, 4.15vw, 3.75rem); }
  .hero__art { order: 2; height: clamp(440px, 43vw, 620px); }
  .bottle .bottle__ref { clip-path: inset(74% 0 0 0); -webkit-mask-image: linear-gradient(to top, #000, transparent 26%); mask-image: linear-gradient(to top, #000, transparent 26%); }
  .jumbo--hero { left: 0; right: 0; width: auto; margin-left: 0; top: 15%; height: 62%; --led: clamp(10rem, 17vw, 16rem); }
  .jumbo__cell { padding: 20px 26px 16px; }
  .jumbo__cell span { font-size: .875rem; }
  .jumbo__cell em { font-size: .8125rem; }
  .hero .lede { font-size: 1.125rem; }
  .wash__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .step h3 { font-size: 2.1rem; }
  .step .step__no { font-size: 4.2rem; }
  .step__art { height: 380px; }
  .steps__play { height: 380px; }
  .loads { left: 22px; top: 22px; }
  .loads strong { font-size: 5.6rem; }
  .step--go .step__img { height: 90%; }
  .proof .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
  .proof { padding-bottom: 64px; }
  .proof__head { position: sticky; top: 108px; margin-bottom: 0; }
  .proof h2.display { font-size: 2.7rem; }
  .quotes { grid-template-columns: 1fr; }
  .quote--lead { margin-bottom: 30px; }
  .know__grid { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
  .final { padding: 96px 0 100px; }
  .final__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .jumbo--final { order: 0; justify-self: end; height: 250px; max-width: 460px; --led: 11.5rem; transform: rotate(3deg); }
  .jumbo--final .jumbo__cell { padding: 40px 30px 18px; }

}
/* face-off side by side: bottles on the outer flanks, leaning in */
@media (min-width: 1180px) {
  .duel { grid-template-columns: 1fr 1fr; }
  .duel__vs { position: absolute; left: 50%; top: 50%; margin: -36px 0 0 -36px; }
  .prod--clear { padding-top: 64px; }
  .prod { min-height: 640px; padding-block: 64px 68px; }
  .prod--fresh { padding-left: 0; padding-right: 46px; }
  .prod--clear { padding-right: 0; padding-left: 46px; }
  .prod__in { max-width: 318px; }
  .prod--fresh .prod__in { justify-self: end; }
  .prod--clear .prod__in { justify-self: start; }
  .prod--fresh { overflow: visible; clip-path: inset(0 0 calc(-1 * var(--bottle-overhang) - 64px)); }
  .prod .prod__bottle { bottom: calc(-1 * var(--bottle-overhang)); height: auto; width: clamp(188px, calc(46vw - 349px), 302px); }
  .prod--fresh .prod__bottle { right: auto; left: max(20px, calc(50vw - 690px)); transform: rotate(5deg); }
  .prod--clear .prod__bottle { left: auto; right: max(20px, calc(50vw - 690px)); transform: rotate(-5deg); }
  .season { padding-top: calc(var(--bottle-overhang) + 42px); }
  .prod::before { width: 76%; top: -6%; }
  .prod--fresh::before { right: auto; left: -24%; }
  .prod--clear::before { left: auto; right: -24%; }
  .prod--fresh::after { right: auto; left: 8%; }
  .prod--clear::after { left: auto; right: 8%; }
}
@media (min-width: 1180px) and (max-width: 1439px) {
  .prod__in { max-width: 290px; }
  .prod .btn { font-size: .9375rem; padding: 0 1em; }
  .prod h3 { font-size: 3rem; }
  .prod__badge { width: 50px; }
}

@media (min-width: 700px) and (max-width: 899px) {     /* small tablets: a slightly smaller bottle keeps clear of the copy */
  .prod__bottle { height: 500px; bottom: -70px; right: 4%; }
  .prod--clear .prod__bottle { left: 4%; }
}
@media (min-width: 1000px) and (max-width: 1240px) {
  .hero__cta { grid-template-columns: 1fr; justify-items: start; }
}
/* A11Y-2 / A11Y-3 / C10: below the desktop layout the copy sits under the lights and glow, so keep them off the text */
@media (max-width: 699px) {
  .box__head span:nth-child(2) { visibility: hidden; } /* the play text runs full width below the score line on phones */
}
@media (max-width: 999px) {
  .final .hero__stripes { display: none; }
  .hero__lights { -webkit-mask-image: linear-gradient(180deg, #000 0 34%, transparent 46%); mask-image: linear-gradient(180deg, #000 0 34%, transparent 46%); }
  .hero::before { top: -14%; background: radial-gradient(closest-side, rgba(255,255,255,.1), transparent 72%); background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 38%, transparent), transparent 72%); }
}

/* ---------- Intro (plays once per visit; the script in <head> adds .intro-on to <html>) ----------
   Act 1: LED board on a canvas.  Act 2: both bottles under the lights.  Act 3: wipe to the page. */
.intro { display: none; }
.intro-on .intro, .intro-out .intro {
  display: block; position: fixed; inset: 0; z-index: 200; overflow: hidden; overflow: clip;
  background: #02081f; color: #fff;
  animation: intro-bail 1ms linear 12s forwards;      /* safety net: the page is never left behind the intro */
}
html[data-side="clear"] .intro { background: #021a13; }
@keyframes intro-bail { to { visibility: hidden; } }
html.intro-lock { overflow: hidden; scrollbar-gutter: stable; background: #02081f; }   /* background also fills the scrollbar gutter */
html.intro-lock[data-side="clear"] { background: #021a13; }
.intro.is-clear { background: transparent !important; pointer-events: none; }
.intro.is-gone { opacity: 0; transition: opacity .26s linear; }

.intro__led { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .3s linear; }
.intro[data-act="2"] .intro__led, .intro[data-act="3"] .intro__led { opacity: 0; }

.intro__arena {
  position: absolute; inset: 0; opacity: 0; transition: opacity .4s linear;
  background:
    radial-gradient(95% 62% at 50% 112%, var(--strong), transparent 72%),
    radial-gradient(70% 40% at 50% -6%, rgba(255,255,255,.1), transparent 70%);
}
.intro[data-act="2"] .intro__arena, .intro[data-act="3"] .intro__arena { opacity: 1; }
.intro.is-clear .intro__arena { opacity: 0; transition: none; }
.intro__beam {                                        /* one floodlight: a soft cone hung from the top edge */
  position: absolute; top: -12%; width: 160vmax; height: 160vmax; margin-left: -80vmax;
  transform-origin: 50% 0; transform: rotate(var(--from, 0deg)); opacity: 0;
  background: conic-gradient(from 171deg at 50% 0, transparent 0deg, rgba(255,255,255,.3) 9deg, transparent 18deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 58%); mask-image: linear-gradient(180deg, #000 0, transparent 58%);
}
.intro[data-act="2"] .intro__beam, .intro[data-act="3"] .intro__beam { animation: intro-beam 1.1s var(--ease) forwards; }
@keyframes intro-beam { from { opacity: 0; transform: rotate(var(--from)); } to { opacity: 1; transform: rotate(var(--to)); } }
.intro__stands, .intro__stands::after {               /* camera flashes up in the dark stands */
  position: absolute; inset: 0 0 46% 0; content: "";
  background:
    radial-gradient(circle at 7% 31%, #fff 0 1.4px, transparent 3.2px), radial-gradient(circle at 16% 58%, #fff 0 1px, transparent 2.6px),
    radial-gradient(circle at 24% 22%, #fff 0 1.2px, transparent 3px), radial-gradient(circle at 33% 47%, #fff 0 1px, transparent 2.4px),
    radial-gradient(circle at 41% 15%, #fff 0 1.5px, transparent 3.4px), radial-gradient(circle at 58% 26%, #fff 0 1px, transparent 2.6px),
    radial-gradient(circle at 67% 52%, #fff 0 1.3px, transparent 3px), radial-gradient(circle at 76% 18%, #fff 0 1px, transparent 2.4px),
    radial-gradient(circle at 85% 41%, #fff 0 1.5px, transparent 3.4px), radial-gradient(circle at 93% 63%, #fff 0 1px, transparent 2.6px);
  opacity: .5; animation: intro-twinkle 1.3s steps(1) infinite;
}
.intro__stands::after { inset: 0; transform: scaleX(-1) translateY(9%); animation-delay: -.65s; }
@keyframes intro-twinkle { 0%, 100% { opacity: .55; } 25% { opacity: .1; } 50% { opacity: .8; } 75% { opacity: .25; } }
.intro__court {                                       /* centre circle and halfway line painted on the floor */
  position: absolute; left: var(--px, 50%); top: var(--floor, 70%); width: calc(var(--bh, 300px) * 2.5); height: calc(var(--bh, 300px) * .46);
  margin: calc(var(--bh, 300px) * -.23) 0 0 calc(var(--bh, 300px) * -1.25); border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.3); opacity: 0; transition: opacity .6s linear .1s;
}
.intro__court::before { content: ""; position: absolute; top: 50%; left: -100vmax; right: -100vmax; height: 3px; margin-top: -1px; background: rgba(255,255,255,.22); }
.intro[data-act="2"] .intro__court, .intro[data-act="3"] .intro__court { opacity: 1; }
.intro__pool {
  position: absolute; left: var(--px, 50%); top: var(--floor, 70%); width: calc(var(--bh, 300px) * 2); height: calc(var(--bh, 300px) * .2);
  margin: calc(var(--bh, 300px) * -.1) 0 0 calc(var(--bh, 300px) * -1); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.32), transparent); opacity: 0; transition: opacity .6s linear .2s;
}
.intro[data-act="2"] .intro__pool, .intro[data-act="3"] .intro__pool { opacity: 1; }

.intro__bottle {                                      /* a bottle and its floor reflection; moved by the script through --tx/--ty/--rot/--sc */
  position: absolute; z-index: 4; left: var(--bx, 50%); top: var(--by, 47%); height: var(--bh, 300px); width: var(--bw, 222px);
  margin: calc(var(--bh, 300px) / -2) 0 0 calc(var(--bw, 222px) / -2);
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--sc, 1));
  opacity: 0; will-change: transform;
  transition: transform .8s cubic-bezier(.2, 1.05, .3, 1), opacity .15s linear;
}
.intro__bottle img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--ease); }
.intro__img { filter: drop-shadow(0 calc(22px * var(--inv, 1)) calc(28px * var(--inv, 1)) rgba(0,0,0,.38)); }
.intro__bottle .intro__refl {                         /* mirrored about the line where the bottle meets the floor */
  top: var(--refl, 83.54%); transform: scaleY(-1) rotate(var(--rot, 0deg)); opacity: .32; transition: transform .8s var(--ease), opacity .15s linear;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 38%); mask-image: linear-gradient(to top, #000, transparent 38%);
}
.intro[data-act="3"] .intro__refl { opacity: 0; }

.intro__card { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: max(22px, 6%); display: grid; gap: 6px; justify-items: start; }
.intro__k, .intro__name { overflow: hidden; }
.intro__k > span, .intro__name > span { display: inline-grid; transform: translateX(-104%); transition: transform .5s var(--ease); }
.intro__k.is-in > span, .intro__name.is-in > span { transform: none; }
.intro[data-act="3"] .intro__k > span, .intro[data-act="3"] .intro__name > span { transform: translateX(-104%); transition-duration: .3s; }
.intro__k > span {
  background: var(--accent); color: var(--on-accent); padding: 6px 20px 5px 12px;
  font-weight: 900; font-style: italic; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.intro__name > span {
  gap: 1px; background: #fff; color: var(--navy); padding: 8px 34px 9px 14px; border-left: 8px solid var(--c);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.intro__name--fresh { --c: var(--blue); }
.intro__name--clear { --c: var(--green); }
.intro__name b { font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 3rem); line-height: 1; }
.intro__name small { font-weight: 700; font-size: clamp(.875rem, 1.2vw, 1.0625rem); color: #2c365e; }

.intro__wipe {                                        /* three slanted bars cross the screen; the page is revealed behind the last one */
  position: absolute; z-index: 3; top: -25%; bottom: -25%; left: 50%; width: 270vmax; margin-left: -135vmax; display: flex; gap: 5vmax;
  transform: translateX(-225vmax) skewX(calc(var(--slant) * -1));
}
.intro__wipe i { flex: none; width: 15vmax; background: var(--accent); }
.intro__wipe i:nth-child(2) { width: 230vmax; background: var(--strong); }
.intro__wipe i:nth-child(3) { background: #fff; }
.intro[data-act="3"] .intro__wipe { animation: intro-wipe 1s linear forwards; }
@keyframes intro-wipe { to { transform: translateX(225vmax) skewX(calc(var(--slant) * -1)); } }

.intro__top { position:absolute; z-index:6; inset:0 0 auto; padding-top:calc(6px + env(safe-area-inset-top)); }
.intro__top .top__in { min-height:46px; }
.intro__skip {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer; background: rgba(2,8,31,.55); color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
  font-weight: 800; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  transition: opacity .2s linear;
}
.intro__skip:focus-visible { outline-color: #fff; }
.intro.is-clear .intro__skip { opacity: 0; }

/* the page waits under the intro, then steps in as the wipe passes */
.intro-on .hero__copy > *, .intro-on .top__nav, .intro-on .top .btn, .intro-on .score--hero, .intro-on .jumbo--hero { opacity: 0; }
.intro-on .hero__copy > * { transform: translateY(24px); }
.intro-out .hero__copy > * { transition: opacity .6s var(--ease) .12s, transform .7s var(--ease) .12s; }
.intro-out .hero__copy > :nth-child(2) { transition-delay: .19s; }
.intro-out .hero__copy > :nth-child(3) { transition-delay: .26s; }
.intro-out .hero__copy > :nth-child(4) { transition-delay: .33s; }
.intro-out .hero__copy > :nth-child(5) { transition-delay: .4s; }
.intro-out .top__nav, .intro-out .top .btn, .intro-out .score--hero, .intro-out .jumbo--hero { transition: opacity .5s linear .3s; }
.intro-bottle .hero .bottle, .intro-bottle .hero__floor { opacity: 0 !important; }
.intro-bottle .hero .bottle, .intro-settle .hero .bottle { transition: none !important; }

@media (min-width: 700px) {
  .intro__card { left: max(32px, 6%); right: auto; bottom: max(30px, 9%); gap: 8px; }
  .intro__name > span { padding: 10px 44px 11px 18px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .btn, .scent-choice, .scent-dock__trigger, .tips, .quote, .box { border: 2px solid CanvasText; }
  .scent-choice[aria-checked="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .scent-choice[aria-checked="true"]::before { background:Highlight; }
}

/* ---------- Scent-switch wipe (restored from the original campaign) ---------- */
.wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; visibility: hidden; --w-accent: var(--orange); --w-deep: var(--navy); }
.wipe[data-to="clear"] { --w-accent: var(--lime); --w-deep: var(--forest); }
.wipe.go { visibility: visible; }
.wipe i { position: absolute; inset: -12% -24%; transform: translateX(-128%) skewX(-12deg); }
.wipe i:nth-child(1) { z-index: 3; background: #fff; }
.wipe i:nth-child(2) { z-index: 2; background: var(--w-accent); }
.wipe i:nth-child(3) { z-index: 1; background: var(--w-deep) url("images/win-official-white.svg") center / min(44vw, 380px) auto no-repeat; }
.wipe.go i:nth-child(1) { animation: wipe1 .84s linear both; }
.wipe.go i:nth-child(2) { animation: wipe2 .84s linear both; }
.wipe.go i:nth-child(3) { animation: wipe3 .84s linear both; }
@keyframes wipe1 { 0% { transform: translateX(-128%) skewX(-12deg); animation-timing-function: cubic-bezier(.5,0,.2,1); } 26% { transform: translateX(0) skewX(-12deg); } 30% { transform: translateX(0) skewX(-12deg); animation-timing-function: cubic-bezier(.6,0,.4,1); } 58%, 100% { transform: translateX(128%) skewX(-12deg); } }
@keyframes wipe2 { 0% { transform: translateX(-128%) skewX(-12deg); animation-timing-function: cubic-bezier(.5,0,.2,1); } 28% { transform: translateX(0) skewX(-12deg); } 33% { transform: translateX(0) skewX(-12deg); animation-timing-function: cubic-bezier(.6,0,.4,1); } 61%, 100% { transform: translateX(128%) skewX(-12deg); } }
@keyframes wipe3 { 0% { transform: translateX(-128%) skewX(-12deg); animation-timing-function: cubic-bezier(.5,0,.2,1); } 30% { transform: translateX(0) skewX(-12deg); } 64% { transform: translateX(0) skewX(-12deg); animation-timing-function: cubic-bezier(.6,0,.3,1); } 100% { transform: translateX(128%) skewX(-12deg); } }
/* while the wipe runs, the page's colour changes wait until the screen is covered, then land at once */
html.wiping *, html.wiping *::before, html.wiping *::after { transition-delay: .24s !important; transition-duration: .01s !important; }
html.wiping .wipe, html.wiping .wipe * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .wipe { display: none; } }
.facts b .nocaps { text-transform: none; color: inherit; font-size: inherit; }
