/* One day under the sun: the page runs sunrise to night, then starts over.
   Palette, radii and the yellow frame come from the Sunwash Figma file. */
:root {
  color-scheme: light;
  --volcano: #f20819; --amber: #fc942d; --limon: #e5fe6c; --pine: #034537; --turq: #458287;
  --watermint: #b2fff0; --sky: #d1eefe; --ultra: #001aff; --blueberry: #b3b5de; --amethyst: #241358; --velvet: #7c0c31;
  --yellow: #ffee00; --series: #d4ff98; --gold: #e9a93a; --night: #07060c; --ink: #0a0a12; --paper: #ffffff;

  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 2.6vw, 44px);
  --pad-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --pad-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  --radius-lg: clamp(28px, 5vw, 84px);
  --radius-md: clamp(18px, 2.2vw, 34px);
  --nav-h: 56px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --t-mega: clamp(50px, 7.15vw, 150px);
  --t-h2: clamp(38px, 6vw, 104px);
  --t-h3: clamp(24px, 2.6vw, 40px);
  --t-lede: clamp(19px, 1.9vw, 30px);
  --t-body: clamp(15px, 1.12vw, 18px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; overflow-x: clip; background: var(--sky); color: var(--ink);
  font: 400 var(--t-body)/1.5 var(--text); font-stretch: 106%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--yellow); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ultra); outline-offset: 3px; border-radius: 6px; }
.panther :focus-visible, .faq :focus-visible, .foot :focus-visible, .how :focus-visible { outline-color: var(--yellow); }
.skip { position: fixed; left: var(--pad-l); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Shared pieces */
.wm {
  display: block; width: 100%; aspect-ratio: 460 / 62; background: currentColor;
  -webkit-mask: url(../assets/vector/wordmark.svg) center / contain no-repeat;
  mask: url(../assets/vector/wordmark.svg) center / contain no-repeat;
}
.glass { background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25); border-radius: var(--radius-md); color: var(--ink); }
.overline { font-weight: 700; font-stretch: 125%; font-size: 12px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-stretch: 112%; font-size: 15px; white-space: nowrap; text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s, color .2s, opacity .2s;
}
.btn:hover:not(:disabled) { transform: translateY(-2px) scale(1.02); }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--gold { background: var(--gold); color: #120b02; }
.link { font-weight: 700; font-stretch: 112%; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.link--gold { color: var(--gold); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; display: grid; place-items: center; background: rgba(10, 10, 18, .07); transition: background-color .2s; }
.icon-btn:hover { background: rgba(10, 10, 18, .16); }

/* Ticker */
.ticker { background: var(--yellow); color: var(--ink); overflow: hidden; padding-block: 7px; padding-top: calc(7px + env(safe-area-inset-top, 0px)); font-weight: 700; font-stretch: 118%; font-size: 12px; letter-spacing: .02em; position: relative; z-index: 6; }
.ticker__run { display: flex; gap: 42px; width: max-content; animation: run-left 46s linear infinite; white-space: nowrap; padding-left: 42px; }
.ticker__run span { display: inline-flex; align-items: center; gap: 42px; }
.ticker__run span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--volcano); }
@keyframes run-left { to { transform: translateX(-50%); } }

/* Nav: a frosted pill, legible on every color the day turns */
.nav {
  position: fixed; z-index: 40; top: calc(env(safe-area-inset-top, 0px) + 40px); left: var(--pad-l); right: var(--pad-r);
  height: var(--nav-h); display: flex; align-items: center; gap: 12px; padding: 0 8px 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  transition: top .35s var(--ease);
}
.nav.is-scrolled { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.nav__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-height: 44px; }
.nav__logo img { width: 26px; height: 33px; object-fit: contain; }
.nav__logo .wm { width: 118px; }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-stretch: 112%; font-size: 14px; transition: background-color .2s; }
.nav__links a:hover { background: rgba(10, 10, 18, .08); }
.nav__shop { display: none; margin-left: auto; padding: 10px 14px; font-weight: 700; font-stretch: 112%; font-size: 14px; text-decoration: none; }
.nav__bag { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-stretch: 112%; font-size: 14px; }
.nav__count { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease); }
.nav__count.is-bump { transform: scale(1.3); }

/* Hero */
.hero { position: relative; overflow: clip; min-height: clamp(620px, calc(100svh - 32px), 1040px); isolation: isolate; color: #fff; }
.hero__field { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #ff7a00; animation: dawn-field 1.8s ease-out both; }
/* As in the Figma frame: the image runs 215% wide from the left, which crops out the silhouette on its right side. */
.hero__field::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 217%; background: url(../assets/brand/orange-field.webp) left center / cover no-repeat; }
@keyframes dawn-field { from { filter: brightness(.42) saturate(1.2); } to { filter: none; } }
.hero__brand { position: absolute; left: var(--pad-l); top: clamp(98px, 14vh, 150px); width: clamp(230px, 37vw, 680px); z-index: 2; will-change: transform; }
.hero__sun { aspect-ratio: 1863.81 / 1957; animation: sun-rise 1.9s var(--ease) both; }
.hero__sun img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 83%; opacity: .92; }
@keyframes sun-rise { from { transform: translateY(46%) scale(.86); } to { transform: none; } }
.hero__mark { position: absolute; left: -1.6%; right: -6%; top: 40%; color: #fff; animation: fade-up 1s .5s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__man { position: absolute; z-index: 3; right: 0; bottom: -15%; height: 118%; width: auto; max-width: none; filter: brightness(.8); mix-blend-mode: hard-light; opacity: .92; animation: fade-in 1.6s .2s ease-out both; will-change: transform; }
@keyframes fade-in { from { opacity: 0; } to { opacity: .92; } }
.hero__pill { position: absolute; z-index: 4; right: 3.5%; top: clamp(108px, 14vh, 150px); width: clamp(84px, 9.6vw, 170px); aspect-ratio: 978 / 1662; border-radius: 999px; overflow: hidden; animation: fade-up 1.1s .75s var(--ease) both; will-change: transform; }
.hero__pill img { width: 100%; height: 100%; object-fit: cover; }
.hero__slot { position: absolute; z-index: 5; left: 37%; bottom: 1%; height: min(84%, 800px); aspect-ratio: .62; }
.hero__card { position: absolute; z-index: 6; left: var(--pad-l); bottom: var(--gutter); width: min(560px, 44vw); padding: clamp(18px, 2vw, 30px) clamp(20px, 2.4vw, 36px); animation: fade-up 1s .9s var(--ease) both; }
.hero__lede { font-weight: 300; font-stretch: 125%; font-size: var(--t-lede); line-height: 1.15; letter-spacing: .005em; }
.hero__sub { margin-top: 10px; font-weight: 300; font-stretch: 125%; font-size: clamp(13px, 1.02vw, 16px); line-height: 1.32; }
.hero__cta { margin-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__from { font-weight: 700; font-stretch: 112%; font-size: 14px; }

/* Bottle slots hold the still until the live bottle takes over */
.bottle-slot { -webkit-user-select: none; user-select: none; }
.bottle-still { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: opacity .35s; -webkit-user-drag: none; }
.is-live .bottle-still { opacity: 0; pointer-events: none; }
.bottle-canvas { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; transform-origin: 0 0; opacity: 0; will-change: transform; transition: opacity .3s; }
.bottle-canvas.is-on { opacity: 1; }
.pdp-open .bottle-canvas { z-index: 61; }

/* Story: three stacked posters */
.story { background: var(--sky); padding: 76px var(--pad-r) 8px var(--pad-l); }
.poster { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); height: calc(100svh - 92px); min-height: 500px; margin-bottom: 24px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff; transform-origin: 50% 0; will-change: transform; }
.poster__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.poster__line { font: 800 var(--t-mega)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.stamp { position: absolute; width: clamp(96px, 10vw, 170px); aspect-ratio: 1.05; }
.stamp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 83%; opacity: .95; }
.stamp .wm { position: absolute; left: -3%; right: -3%; width: 106%; top: 42%; color: #fff; }

.poster--wear { border: clamp(6px, .8vw, 12px) solid var(--yellow); background: #0f6e9f; }
.poster--wear .poster__img { object-position: 50% 26%; }
.poster--wear .poster__line { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding-inline: 3vw; text-align: center; text-shadow: 0 2px 36px rgba(10, 10, 60, .28); }
.poster--wear .stamp { left: clamp(20px, 5vw, 90px); bottom: clamp(18px, 7%, 70px); }

.poster--like { background: linear-gradient(180deg, #1f7f9d 0%, #3a93ad 48%, #5ca9bc 100%); }
.poster__backdrop { display: none; }
.poster--like .poster__img { width: auto; height: 100%; aspect-ratio: 1; right: auto; }
.poster--like .poster__line { position: absolute; right: clamp(20px, 5vw, 90px); bottom: clamp(36px, 15%, 150px); left: 26%; text-align: right; }
.poster--like .stamp { right: clamp(20px, 5vw, 90px); top: clamp(20px, 9%, 80px); }

.poster--shower { background: var(--ultra); display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 5vw, 90px); }
.poster--shower .poster__img { left: auto; right: 0; width: 52%; mix-blend-mode: screen; opacity: .95; object-position: 50% 20%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.poster--shower .poster__line { font-size: clamp(60px, 11vw, 230px); }
.poster__stack { display: flex; flex-direction: column; gap: 8px; }
.poster__aside { font-weight: 300; font-stretch: 125%; font-size: clamp(22px, 2.6vw, 44px); line-height: 1.1; }
.poster__kicker { position: absolute; left: clamp(24px, 5vw, 90px); bottom: clamp(24px, 7%, 70px); max-width: 26ch; font: 700 clamp(19px, 2vw, 32px)/1.14 var(--display); letter-spacing: -.012em; color: var(--yellow); }

/* The wash: sticky scene, driven by scroll */
.wash { position: relative; height: calc(100svh + var(--steps) * 66svh); }
.wash__pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg, var(--watermint)); color: var(--t, var(--ink)); transition: background-color .5s ease, color .4s ease; --bg: var(--watermint); --w: var(--pine); --t: var(--ink); }
.wash__pin[data-step="1"] { --bg: var(--ultra); --w: #fff; --t: #fff; }
.wash__pin[data-step="2"] { --bg: var(--amber); --w: var(--velvet); --t: var(--ink); }
.wash__pin[data-step="3"] { --bg: var(--volcano); --w: #fff; --t: #fff; }
.wash__pin[data-step="4"] { --bg: var(--sky); --w: var(--ultra); --t: var(--ink); }
.wash__pin[data-step="5"] { --bg: var(--limon); --w: var(--pine); --t: var(--ink); }
.wash__words { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.wash__word { grid-area: 1 / 1; font: 800 clamp(58px, 14.4vw, 330px)/.9 var(--display); letter-spacing: -.045em; white-space: nowrap; color: var(--w); opacity: 0; transform: translateY(5%) scale(.97); transition: opacity .35s, transform .6s var(--ease), color .4s; }
.wash__word.is-on { opacity: 1; transform: none; }
.wash__slot { position: absolute; left: 50%; top: 50%; height: min(90svh, 960px); aspect-ratio: .62; transform: translate(-50%, -48%); }
.wash__copy { position: absolute; left: var(--pad-l); bottom: clamp(24px, 6vh, 56px); width: min(32vw, 440px); display: grid; gap: 10px; }
.wash__lines { display: grid; }
.wash__line { grid-area: 1 / 1; font: 700 clamp(20px, 2vw, 32px)/1.14 var(--display); letter-spacing: -.012em; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .5s var(--ease); }
.wash__line.is-on { opacity: 1; transform: none; }
.wash__list { position: absolute; right: var(--pad-r); top: calc(env(safe-area-inset-top, 0px) + 84px); padding: clamp(16px, 1.8vw, 26px) clamp(20px, 2.2vw, 34px); display: grid; gap: 4px; text-align: center; font: 700 clamp(16px, 1.55vw, 25px)/1.32 var(--text); font-stretch: 122%; }
.wash__list li { opacity: .26; transition: opacity .3s; }
.wash__list li.is-on { opacity: 1; }

/* The range */
.range { background: #fff; padding: clamp(56px, 8vw, 120px) var(--pad-r) clamp(48px, 7vw, 100px) var(--pad-l); position: relative; z-index: 1; }
.range__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.4vw, 48px); }
.range__title { font: 800 var(--t-h2)/.98 var(--display); letter-spacing: -.035em; }
.range__intro { margin-top: 12px; max-width: 54ch; font-size: clamp(15px, 1.25vw, 19px); }
.range__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button, .toggle button { min-height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-stretch: 112%; font-size: 14px; transition: background-color .2s, color .2s; }
.chips button { background: var(--sky); }
.chips button:hover { background: #b6e3fc; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle { display: flex; padding: 3px; border-radius: 999px; background: var(--sky); }
.toggle button[aria-pressed="true"] { background: #fff; }
.range__body { display: grid; grid-template-columns: minmax(330px, 36%) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: start; }
.range__body[data-mode="shelf"] { grid-template-columns: minmax(0, 1fr); }
.range__body[data-mode="shelf"] .stage, .range__body[data-mode="shelf"] .index { display: none; }
.range__body[data-mode="index"] .shelf { display: none; }

.stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); height: calc(100svh - 96px); min-height: 560px; max-height: 900px; border-radius: var(--radius-lg); overflow: clip; isolation: isolate; background: var(--stage-bg, #0a8cff); transition: background-color .4s; }
.stage__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: blur(26px) saturate(1.15); transform: scale(1.22); opacity: .96; transition: opacity .35s; }
.stage__slot { position: absolute; left: 50%; top: 2%; height: 67%; aspect-ratio: .62; transform: translateX(-50%); touch-action: pan-y; cursor: grab; }
.stage__slot:active { cursor: grabbing; }
.stage__card { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 18px 12px; display: grid; gap: 2px; }
.stage__name { font: 800 clamp(24px, 2.3vw, 38px)/1.02 var(--display); letter-spacing: -.025em; }
.stage__line { font-size: 14px; line-height: 1.3; margin-top: 2px; }
.stage__notes { font-weight: 300; font-stretch: 122%; font-size: 12.5px; line-height: 1.3; opacity: .78; margin-top: 2px; }
.stage__buy { margin-top: 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stage__buy .btn { min-height: 46px; padding: 0 20px; font-size: 14px; }

.index { display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(11, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); height: calc(100svh - 96px); min-height: 560px; max-height: 900px; }
.index li { display: flex; min-height: 0; }
.row { display: flex; width: 100%; align-items: center; gap: clamp(10px, 1vw, 16px); text-align: left; transition: opacity .25s; border-radius: 12px; }
.row__art { flex: none; width: clamp(62px, 6vw, 112px); aspect-ratio: 1195 / 300; border-radius: clamp(6px, .7vw, 12px); object-fit: cover; transition: width .4s var(--ease), border-radius .3s; background: var(--swatch); }
.row__name { font: 800 clamp(17px, 1.95vw, 36px)/1.08 var(--display); letter-spacing: -.022em; min-width: 0; }
.index:hover .row:not(:hover) { opacity: .34; }
.index:has(.row:focus-visible) .row:not(:focus-visible):not(:hover) { opacity: .34; }
.row:hover .row__art, .row:focus-visible .row__art { width: clamp(86px, 8.6vw, 150px); }

.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.card { position: relative; border-radius: var(--radius-md); background: var(--card-bg); color: var(--card-ink); overflow: clip; display: flex; flex-direction: column; isolation: isolate; }
.card__open { display: block; width: 100%; text-align: left; flex: 1; padding: 14px 16px 0; }
.card__bottle { width: 78%; aspect-ratio: .62; margin: 6px auto 8px; object-fit: contain; object-position: 50% 100%; transition: transform .5s var(--ease); filter: drop-shadow(0 14px 18px rgba(10, 10, 18, .28)); }
.card:hover .card__bottle { transform: translateY(-8px) rotate(-3deg) scale(1.03); }
.card__name { font: 800 clamp(18px, 1.5vw, 24px)/1.06 var(--display); letter-spacing: -.02em; }
.card__line { font-size: 13px; line-height: 1.3; margin-top: 4px; min-height: 2.6em; }
.card__tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 5px 10px; border-radius: 99px; background: var(--gold); color: #120b02; font-weight: 700; font-stretch: 118%; font-size: 11px; }
.card__foot { padding: 10px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__price { font-weight: 700; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.card__add { min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--card-ink); color: var(--card-bg); font-weight: 700; font-stretch: 112%; font-size: 13px; transition: transform .2s var(--ease); }
.card__add:hover { transform: scale(1.05); }

/* Three-pack */
.pack { background: var(--amber); padding: clamp(56px, 8vw, 120px) var(--pad-r) clamp(48px, 6vw, 90px) var(--pad-l); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 64px); align-items: end; position: relative; z-index: 1; }
.pack__title { font: 800 var(--t-h2)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; color: var(--velvet); }
.pack__sub { margin-top: 14px; font-size: clamp(16px, 1.4vw, 22px); max-width: 34ch; line-height: 1.3; }
.pack__tray { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 16px); }
.tray-slot { aspect-ratio: .74; border-radius: var(--radius-md); border: 2px dashed rgba(124, 12, 49, .5); display: grid; place-items: center; position: relative; overflow: clip; font-weight: 700; font-stretch: 118%; font-size: 13px; color: var(--ink); transition: background-color .2s; width: 100%; }
.tray-slot.is-full { background: var(--slot-bg); border: 0; color: var(--ink); }
.tray-slot img { width: 76%; aspect-ratio: .62; object-fit: contain; animation: drop-in .5s var(--ease); }
@keyframes drop-in { from { transform: translateY(-24%) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.tray-slot__x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); display: grid; place-items: center; font-size: 17px; line-height: 1; }
.pack__rail { grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; }
.rail-item { flex: none; width: clamp(64px, 6.2vw, 92px); border-radius: 14px; padding: 6px 4px 8px; display: grid; gap: 4px; justify-items: center; font-size: 10.5px; line-height: 1.12; font-weight: 600; text-align: center; transition: background-color .2s, transform .25s var(--ease); }
.rail-item:hover { background: rgba(255, 255, 255, .34); transform: translateY(-4px); }
.rail-item img { width: 86%; aspect-ratio: .62; object-fit: contain; }
.rail-item[aria-pressed="true"] { background: rgba(255, 255, 255, .55); }
.pack__buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.pack__status { font-weight: 700; font-stretch: 112%; }

/* How it works: long light */
.how { background: linear-gradient(180deg, var(--amber) 0%, var(--volcano) 34%, var(--velvet) 100%); color: #fff; padding: clamp(40px, 6vw, 90px) var(--pad-r) clamp(56px, 8vw, 110px) var(--pad-l); position: relative; z-index: 1; }
.how__title { font: 800 var(--t-h2)/.98 var(--display); letter-spacing: -.035em; max-width: 13ch; text-wrap: balance; }
.how__steps { margin-top: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); counter-reset: step; }
.how__step { counter-increment: step; display: grid; gap: 12px; align-content: start; }
.how__step:nth-child(2) { margin-top: clamp(24px, 6vw, 96px); }
.how__step:nth-child(3) { margin-top: clamp(48px, 12vw, 192px); }
.how__step img { width: 100%; aspect-ratio: .82; object-fit: cover; border-radius: var(--radius-lg); }
.how__step h3 { font: 800 clamp(30px, 4.2vw, 72px)/1 var(--display); letter-spacing: -.03em; margin-top: 4px; }
.how__step h3::before { content: counter(step); display: block; font: 700 12px/1.3 var(--text); font-stretch: 125%; letter-spacing: .14em; margin-bottom: 6px; }
.how__step p { max-width: 34ch; }
.how__note { margin-top: clamp(32px, 4vw, 56px); display: inline-block; padding: 14px 20px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; font-stretch: 108%; line-height: 1.25; }

/* Drift */
.drift { background: var(--velvet); padding-block: 0 clamp(40px, 5vw, 72px); overflow: hidden; position: relative; z-index: 1; }
.drift__run { display: flex; gap: clamp(10px, 1.2vw, 18px); padding-right: clamp(10px, 1.2vw, 18px); width: max-content; animation: run-left 90s linear infinite; }
.drift:hover .drift__run { animation-play-state: paused; }
.drift__run img { height: clamp(240px, 34vw, 520px); width: auto; aspect-ratio: auto; border-radius: var(--radius-md); object-fit: cover; }

/* Sun Panther: night */
.panther { position: relative; z-index: 1; overflow: clip; background: var(--night); color: #fff; padding: clamp(64px, 9vw, 130px) var(--pad-r) clamp(56px, 8vw, 110px) var(--pad-l); isolation: isolate; }
.panther__stars { position: absolute; inset: 0; z-index: -1; opacity: .85; background-image:
  radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 62%, #ffe9b8, transparent), radial-gradient(1.6px 1.6px at 44% 12%, #fff, transparent),
  radial-gradient(1px 1px at 61% 38%, #ffd98a, transparent), radial-gradient(1.5px 1.5px at 78% 22%, #fff, transparent), radial-gradient(1px 1px at 89% 71%, #ffe9b8, transparent),
  radial-gradient(1.2px 1.2px at 7% 84%, #fff, transparent), radial-gradient(1px 1px at 52% 90%, #ffd98a, transparent), radial-gradient(1.3px 1.3px at 95% 44%, #fff, transparent),
  radial-gradient(1px 1px at 35% 34%, #fff, transparent), radial-gradient(1px 1px at 70% 83%, #fff, transparent); background-size: 520px 520px; }
.panther__over { color: var(--gold); }
.panther__title { margin-top: 10px; font: 800 clamp(64px, 15.2vw, 340px)/.86 var(--display); letter-spacing: -.05em; color: var(--gold); white-space: nowrap; }
.panther__grid { margin-top: clamp(20px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(190px, .62fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 32px); align-items: end; }
.panther__poster { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(233, 169, 58, .45); }
.panther__poster img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.panther__slot { aspect-ratio: .62; width: 100%; }
.panther__info { display: grid; gap: 22px; padding-bottom: 8px; }
.panther__body { font-size: clamp(16px, 1.45vw, 22px); line-height: 1.34; max-width: 36ch; }
.panther__buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.panther__next { border-top: 1px solid rgba(233, 169, 58, .35); padding-top: 14px; display: grid; gap: 8px; color: var(--gold); }
.panther__next ul { display: flex; flex-wrap: wrap; gap: 4px 16px; color: #fff; font: 800 clamp(18px, 1.7vw, 26px)/1.2 var(--display); letter-spacing: -.015em; }

/* FAQ */
.faq { position: relative; z-index: 1; background: var(--amethyst); color: #fff; padding: clamp(56px, 8vw, 120px) var(--pad-r) clamp(56px, 8vw, 120px) var(--pad-l); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(20px, 4vw, 72px); align-items: start; }
.faq__title { font: 800 clamp(36px, 4.8vw, 84px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.faq__list { display: grid; }
.faq details { border-top: 1px solid rgba(255, 255, 255, .24); }
.faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .24); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; font: 700 clamp(18px, 1.8vw, 28px)/1.16 var(--display); letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.3em; line-height: 1; transition: transform .3s var(--ease); color: var(--yellow); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; max-width: 58ch; color: #e9e6f6; }

/* Footer: the day starts over */
.foot { position: relative; overflow: clip; isolation: isolate; color: #fff; background: linear-gradient(180deg, var(--amethyst) 0%, var(--velvet) 26%, var(--volcano) 60%, var(--amber) 100%); padding: clamp(48px, 7vw, 100px) var(--pad-r) calc(clamp(20px, 2vw, 32px) + 44px) var(--pad-l); }
.foot__sun { position: absolute; z-index: -1; left: 50%; bottom: 8%; width: clamp(260px, 46vw, 820px); transform: translate(-50%, var(--rise, 34%)); aspect-ratio: 1.05; will-change: transform; }
.foot__sun img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 83%; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px 40px; flex-wrap: wrap; }
.foot__line { font: 800 clamp(30px, 4vw, 68px)/1 var(--display); letter-spacing: -.03em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot__links a { padding: 10px 14px; font-weight: 700; font-stretch: 112%; text-decoration: none; border-radius: 999px; transition: background-color .2s; }
.foot__links a:hover { background: rgba(255, 255, 255, .18); }
.foot__mark { margin-top: clamp(90px, 15vw, 240px); color: #fff; }
.foot__legal { margin-top: 18px; max-width: 86ch; font-size: 12.5px; line-height: 1.45; color: #2a0510; }

/* UV clock */
.uv { position: fixed; z-index: 35; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .84); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-variant-numeric: tabular-nums; transition: opacity .25s; }
.uv__read { display: grid; line-height: 1.12; }
.uv__time { font-weight: 700; font-stretch: 112%; font-size: 13px; }
.uv__idx { font-weight: 400; font-stretch: 112%; font-size: 12px; white-space: nowrap; }
.pdp-open .uv, .cart-open .uv { opacity: 0; pointer-events: none; }

/* Product overlay: opens as a growing sun */
.pdp { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: #fff; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.pdp.is-open { clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%)); }
.pdp__stage { position: sticky; top: 0; height: 100svh; min-height: 520px; overflow: clip; isolation: isolate; background: var(--p-bg); }
.pdp__art { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); max-width: none; object-fit: cover; z-index: -2; filter: blur(5px) saturate(1.08); }
.pdp__stage::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(92%, 86vh); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 10, 18, .4), rgba(10, 10, 18, 0)); }
.pdp__slot { position: absolute; left: 50%; top: 50%; height: 88%; aspect-ratio: .62; transform: translate(-50%, -50%); touch-action: pan-y; cursor: grab; }
.pdp__slot:active { cursor: grabbing; }
.pdp__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .84); font-weight: 600; font-stretch: 112%; font-size: 12px; white-space: nowrap; }
.pdp__info { padding: clamp(68px, 7vw, 96px) max(clamp(20px, 4vw, 64px), env(safe-area-inset-right, 0px)) 48px clamp(20px, 4vw, 64px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.pdp__close { position: fixed; z-index: 2; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(env(safe-area-inset-top, 0px) + 14px); background: rgba(255, 255, 255, .9); }
.pdp__name { font: 800 clamp(44px, 5.8vw, 96px)/.96 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.pdp__line { font: 700 clamp(19px, 1.8vw, 28px)/1.16 var(--display); letter-spacing: -.012em; }
.pdp__desc { font-weight: 300; font-stretch: 122%; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.34; }
.pdp__notes { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp__notes li { padding: 7px 14px; border-radius: 99px; background: var(--sky); font-weight: 600; font-stretch: 112%; font-size: 13px; }
.plans { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #f3f6f9; cursor: pointer; border: 2px solid transparent; transition: border-color .2s, background-color .2s; }
.plan:has(input:checked) { border-color: var(--ink); background: #fff; }
.plan:has(input:focus-visible) { outline: 3px solid var(--ultra); outline-offset: 2px; }
.plan input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.plan__label { font-weight: 700; font-stretch: 110%; }
.plan__label small { display: block; font-weight: 400; font-size: 13px; }
.plan__price { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.pdp__buy { display: flex; gap: 10px; }
.pdp__buy .btn { flex: 1; min-height: 58px; font-size: 16px; }
.pdp__acc details { border-top: 1px solid rgba(10, 10, 18, .16); }
.pdp__acc details:last-child { border-bottom: 1px solid rgba(10, 10, 18, .16); }
.pdp__acc summary { list-style: none; cursor: pointer; padding-block: 14px; font-weight: 700; font-stretch: 110%; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 400; transition: transform .3s var(--ease); }
.pdp__acc details[open] summary::after { transform: rotate(45deg); }
.pdp__acc details p { padding-bottom: 16px; max-width: 58ch; }
.pdp__pairs h3 { font: 700 clamp(19px, 1.5vw, 24px)/1.1 var(--display); letter-spacing: -.012em; margin-bottom: 10px; }
.pdp__pairs ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pair { width: 100%; padding: 10px 8px 12px; border-radius: 16px; background: var(--card-bg); color: var(--card-ink); display: grid; gap: 6px; justify-items: center; text-align: center; font: 800 clamp(13px, 1.05vw, 16px)/1.08 var(--display); letter-spacing: -.012em; transition: transform .25s var(--ease); }
.pair:hover { transform: translateY(-4px); }
.pair img { width: 74%; aspect-ratio: .62; object-fit: contain; }
.pdp__nav { display: flex; justify-content: space-between; gap: 12px; }

/* Bag */
.scrim { position: fixed; inset: 0; z-index: 79; background: rgba(10, 10, 18, .42); }
.cart { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 18px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 18px) 20px; transform: translateX(100%); transition: transform .45s var(--ease); }
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; }
.cart__head h2 { font: 800 30px/1 var(--display); letter-spacing: -.025em; }
.cart__ship { margin-top: 12px; font-size: 13px; font-weight: 600; font-stretch: 108%; }
.ship-bar { position: relative; height: 8px; margin-top: 10px; border-radius: 99px; background: var(--sky); }
.ship-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--amber), var(--volcano)); transition: width .4s var(--ease); }
.ship-bar b { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--yellow), var(--volcano)); transition: left .4s var(--ease); }
.cart__lines { flex: 1; overflow-y: auto; margin-top: 14px; display: grid; gap: 10px; align-content: start; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: #f3f6f9; }
.line__thumb { width: 72px; height: 88px; border-radius: 10px; background: var(--card-bg); display: flex; align-items: end; justify-content: center; overflow: hidden; }
.line__thumb img { height: 96%; width: auto; object-fit: contain; }
.line__thumb--pack img { height: 74%; margin-inline: -7px; }
.line__name { font: 800 17px/1.08 var(--display); letter-spacing: -.015em; }
.line__meta { font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border-radius: 99px; background: #fff; }
.qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 16px; }
.qty button:hover { background: rgba(10, 10, 18, .08); }
.qty span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.line__price { font-weight: 700; font-variant-numeric: tabular-nums; align-self: start; padding: 6px 6px 0 0; }
.cart__empty { padding: 28px 8px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.cart__empty p { font: 700 20px/1.15 var(--display); }
.cart__foot { padding-top: 14px; display: grid; gap: 10px; }
.cart__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.cart__checkout { width: 100%; }
.cart__msg { font-size: 13px; line-height: 1.35; min-height: 0; }
.cart__msg:empty { display: none; }
.cart-open .nav { z-index: 20; }

/* Tablet */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__shop { display: block; }
  .range__body[data-mode="index"] { grid-template-columns: minmax(0, 1fr); }
  .stage { position: relative; top: 0; height: 620px; }
  .panther__grid { grid-template-columns: minmax(0, 1fr) minmax(170px, .6fr); }
  .panther__info { grid-column: 1 / -1; }
  .wash__list { display: none; }
  .wash__copy { width: auto; right: var(--pad-r); text-align: center; justify-items: center; }
  .pack { grid-template-columns: minmax(0, 1fr); }
}

/* Phone: the Figma poster, close to as drawn */
@media (max-width: 760px) {
  .hero { min-height: max(640px, calc(100svh - 32px)); }
  .hero__brand { top: 102px; width: 62vw; }
  .hero__pill { left: auto; right: var(--pad-r); top: 108px; width: 25vw; }
  .hero__man { right: 0; bottom: 110px; height: 64%; }
  .hero__slot { left: -3%; bottom: 186px; height: 46%; }
  .hero__card { left: var(--pad-l); right: var(--pad-r); width: auto; bottom: var(--pad-l); }
  .hero__sub { font-size: 12.5px; }

  .story { padding-top: 72px; }
  .poster { min-height: 460px; height: calc(100svh - 84px); }
  .poster__line { font-size: clamp(50px, 14.6vw, 104px); }
  .poster--wear .poster__line { padding-inline: 18px; text-align: left; }
  .poster--wear .stamp { left: 18px; bottom: 16px; }
  .poster--like .poster__img { width: 100%; height: 66%; object-position: 50% 0; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
  .poster--like .poster__line { left: 18px; right: 18px; bottom: 62px; text-align: left; }
  .poster--like .stamp { right: 14px; top: 14px; }
  .poster--shower { justify-content: flex-start; padding: 26px 20px; }
  .poster--shower .poster__img { width: 100%; top: auto; height: 62%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 34%); mask-image: linear-gradient(180deg, transparent, #000 34%); }
  .poster--shower .poster__line { font-size: clamp(64px, 20vw, 130px); }
  .poster__kicker { left: 20px; right: 20px; bottom: 62px; }

  .wash { height: calc(100svh + var(--steps) * 60svh); }
  .wash__words { place-items: start center; padding-top: 86px; }
  .wash__word { font-size: 15vw; }
  .wash__slot { height: min(64svh, 560px); top: 54%; transform: translate(-50%, -50%); }
  .wash__copy { bottom: 66px; }
  .wash__copy .overline { display: none; }
  .wash__line { font-size: 19px; }

  .range__head { align-items: flex-start; }
  .range__controls { width: 100%; }
  .toggle { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad-l)) calc(-1 * var(--pad-r)); padding-inline: var(--pad-l) var(--pad-r); scrollbar-width: none; }
  .chips button { flex: none; }
  .range__body, .range__body[data-mode="index"] { grid-template-columns: minmax(0, 1fr); }
  .range__body .stage, .range__body .index { display: none; }
  .range__body .shelf, .range__body[data-mode="index"] .shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card__open { padding: 12px 12px 0; }
  .card__foot { padding: 8px 12px 12px; }
  .card__line { font-size: 12px; }

  .how__steps { grid-template-columns: minmax(0, 1fr); }
  .how__step:nth-child(n) { margin-top: 0; }
  .how__note { border-radius: 18px; }

  .panther__title { font-size: 16.4vw; }
  .panther__grid { grid-template-columns: minmax(0, 1fr) 44%; align-items: center; }
  .faq { grid-template-columns: minmax(0, 1fr); }

  .pdp { display: block; }
  .pdp__stage { position: relative; height: 66svh; min-height: 440px; }
  .pdp__info { padding-top: 22px; padding-bottom: 96px; }
  .pdp__buy { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 10px) max(16px, env(safe-area-inset-left, 0px)); background: rgba(255, 255, 255, .94); }

  body:not(.past-hero) .uv { opacity: 0; pointer-events: none; }
  .uv { padding: 6px 12px 6px 8px; gap: 7px; }
  .uv__arc { width: 34px; height: 18px; }
  .uv__time { font-size: 12px; }
  .uv__idx { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__run { animation: none; }
  .drift { overflow-x: auto; }
  .drift__run { animation: none; }
  .hero__man { opacity: .92; }
}
