@font-face { font-family: 'Lailiu'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/Lailiu.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fonts/PlayfairDisplay-var.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/Figtree-var.woff2) format('woff2'); unicode-range: U+00B0, U+00B7, U+00BC-00BE, U+00D7, U+2013-2014, U+215D-215E; }

:root {
  --mist: #EEF2F5;      /* page: cold sea fog */
  --paper: #E8EDF1;     /* product backdrop, matches the studio photos */
  --fog: #D5DDE5;
  --tide: #5C6F86;
  --slate: #2B3A4E;
  --ink: #0F1D2B;
  --frost: 226 240 255; /* Figma glass tint, as rgb channels */
  /* resin colours — the only saturated colour on the page lives on boards */
  --buoy: #FF5A1F; --seafoam: #2FC9B0; --lupine: #A88BFF; --lobster: #F2333F; --dune: #FFC93C; --cobalt: #2448FF;
  --display: 'Playfair Display', Georgia, serif; /* headings */
  --serif: var(--sans); /* everything that isn't a heading is Lailiu */
  --sans: 'Lailiu', 'Figtree', system-ui, sans-serif; /* Figtree only fills glyphs Lailiu lacks: · ° – — */
  --gutter: 16px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-synthesis: none; margin: 0; background: var(--mist); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--buoy); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }

.logo { display: inline-block; aspect-ratio: 189 / 50; height: 22px; background: currentColor;
  -webkit-mask: url(../assets/img/logo.svg) center / contain no-repeat; mask: url(../assets/img/logo.svg) center / contain no-repeat; }
.logo--v { aspect-ratio: 50 / 189; height: 64px; -webkit-mask-image: url(../assets/img/logo-v.svg); mask-image: url(../assets/img/logo-v.svg); }

.glass { background: linear-gradient(94deg, rgb(var(--frost) / .38) 13%, rgb(var(--frost) / .08) 90%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgb(255 255 255 / .18); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) 12px; color: #fff; transition: color .4s; }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: rgb(238 242 245 / .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgb(15 29 43 / .06); }
.nav.is-solid { color: var(--ink); }
.nav.is-solid::before { opacity: 1; }
.nav.is-solid .nav__actions .glass { background: rgb(15 29 43 / .06); border-color: rgb(15 29 43 / .08); }
.nav__logo { display: flex; align-items: center; min-height: 44px; }
.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.snd { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; color: inherit; cursor: pointer; transition: background .3s, border-color .3s, transform .2s; }
.snd:active { transform: scale(.94); }
.snd:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.snd__label { display: none; }
.snd__icon { flex: none; overflow: visible; }
.snd__mute, .snd__waves { transition: opacity .35s ease, transform .35s ease; transform-box: fill-box; transform-origin: left center; }
.snd__waves { opacity: 0; transform: scale(.6); }
.snd[aria-pressed="true"] .snd__mute { opacity: 0; transform: scale(.6); }
.snd[aria-pressed="true"] .snd__waves { opacity: 1; transform: none; }
.snd__w1, .snd__w2 { transform-box: fill-box; transform-origin: left center; }
.snd[aria-pressed="true"] .snd__w1 { animation: sndw 1.6s ease-in-out infinite; }
.snd[aria-pressed="true"] .snd__w2 { animation: sndw 1.6s ease-in-out -.5s infinite; }
@keyframes sndw { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .45; transform: scale(.88); } }
@media (prefers-reduced-motion: reduce) { .snd[aria-pressed="true"] .snd__w1, .snd[aria-pressed="true"] .snd__w2 { animation: none; } .snd__mute, .snd__waves { transition: opacity .2s; transform: none !important; } }
@media (max-width: 899px) { .snd { padding: 0; width: 44px; } }
.bagbtn { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; }
.bagbtn__count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; transition: transform .3s var(--ease-out); }
.nav.is-solid .bagbtn__count { background: var(--ink); color: #fff; }
.bagbtn__count.is-bump { transform: scale(1.3); }
.burger { display: grid; place-content: center; gap: 4px; width: 44px; height: 44px; border-radius: 50%; padding: 0; }
.burger span { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .22s ease, opacity .09s ease; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { transform: scaleX(0); opacity: 0; transition: transform .12s ease, opacity .09s ease; }
.nav.is-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
/* Cadence pill-menu panel: glass grows in from zero rather than fading, so the frost never snaps */
.menu { position: absolute; right: var(--gutter); top: calc(100% - 2px); min-width: 220px; padding: 8px; border-radius: 18px; display: grid;
  background: rgb(15 29 43 / 0); -webkit-backdrop-filter: blur(0) saturate(100%); backdrop-filter: blur(0) saturate(100%); border-color: transparent;
  transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none;
  transition: background .18s ease, backdrop-filter .18s ease, -webkit-backdrop-filter .18s ease, border-color .18s ease, transform .22s var(--ease-out), box-shadow .18s; }
.menu a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: 0; transition: opacity .18s ease, background .14s ease; }
.menu a:hover, .menu a:focus-visible { background: rgb(255 255 255 / .1); }
.nav.is-open .menu { pointer-events: auto; transform: none; background: rgb(15 29 43 / .55); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-color: rgb(255 255 255 / .1); box-shadow: 0 16px 40px rgb(0 0 0 / .35); color: #fff; }
.nav.is-open .menu a { opacity: 1; }
@media (min-width: 900px) {
  .burger, .menu { display: none; }
  .snd__label { display: inline; }
  .nav__links { display: flex; gap: 48px; position: absolute; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
  .nav__links a { text-decoration: none; opacity: .62; transition: opacity .2s; padding: 12px 0; }
  .nav__links a:hover, .nav__links a.is-active { opacity: 1; }
  .logo { height: 26px; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--slate); color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__poster, .hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; object-position: 50% 60%; transform-origin: 50% 100%; scale: 1.16; }
.hero__gl { opacity: 0; transition: opacity .8s; }
.has-gl .hero__gl { opacity: 1; }
.hero__title { position: absolute; left: 0; right: 0; top: 17svh; display: grid; justify-items: center; pointer-events: none; }
.hero__arc { width: min(78vw, 560px); margin-bottom: 9%; overflow: visible; }
.hero__arc text { fill: rgb(255 255 255 / .82); font: 500 24px var(--sans); letter-spacing: .6em; text-transform: uppercase; }
/* the stage is the box the board fills: the shader reads its rect, and without WebGL the <img> inside is the board */
.hero__stage { position: relative; display: block; width: 100%; height: 30svh; }
.hero__board { position: absolute; left: 50%; top: 50%; width: 92%; height: auto; max-width: none; translate: -50% -50%;
  filter: drop-shadow(18px 26px 30px rgb(11 22 34 / .4)); }
.has-gl .hero__board { visibility: hidden; }
.hero__cluster { position: absolute; left: 0; right: 0; bottom: 19svh; display: grid; grid-template-columns: repeat(6, min(14.5vw, 64px));
  justify-content: center; justify-items: center; align-items: center; gap: 14px 5px; }
/* each circle is solid grey with the board cut-out (transparent) contained and tilted so the full length fits */
.dot { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, #d3dae2, #b4bec9 75%);
  box-shadow: 0 8px 22px rgb(15 29 43 / .22), inset 0 0 0 1px rgb(255 255 255 / .55); transition: translate .4s var(--ease-out), scale .4s var(--ease-out); }
.dot img { width: 100%; height: 100%; object-fit: contain; rotate: -32deg; scale: .86; filter: drop-shadow(2px 4px 4px rgb(15 29 43 / .3)); transition: rotate .5s var(--ease-out); }
/* with WebGL the shader draws the circles and the cloud band from these boxes; the DOM keeps them as layout, links and focus targets */
.has-gl .dot { background: none; box-shadow: none; }
.has-gl .dot img, .has-gl .hero__foam { visibility: hidden; }
.dot:focus-visible { outline-offset: 4px; }
.dot:hover { translate: 0 -4px; scale: 1.06; } /* hover uses translate/scale; GSAP's intro owns transform */
.dot:hover img { rotate: -20deg; }
.explore { grid-column: 1 / -1; order: 1; display: grid; place-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: #fff; color: var(--ink);
  text-decoration: none; font-size: 15px; box-shadow: 0 10px 30px rgb(15 29 43 / .25); transition: scale .4s var(--ease-out); }
.explore:hover { scale: 1.06; }
.hero__note { position: absolute; left: 0; right: 0; bottom: calc(19svh - 62px); margin: 0; text-align: center; font-size: 14px; color: var(--slate); opacity: .9; }
.hero__foam { position: absolute; left: 50%; bottom: -2px; height: 40svh; width: auto; min-width: 112vw; max-width: none; pointer-events: none; z-index: 2; } /* centred and drifted by GSAP (xPercent) */
.hero__cluster, .hero__note { z-index: 3; }
/* nav guard: hero items fade out once they would slide under the fixed nav (main.js toggles the class) */
.hero__note { transition: filter .35s ease; } /* filter, not opacity, so it never fights GSAP's opacity tweens */
.hero__note.under-nav { filter: opacity(0); }
.hero__cluster.is-guarded { transition: opacity .35s ease; } /* reduced motion only: GSAP doesn't animate the row then */
.hero__cluster.under-nav { opacity: 0; pointer-events: none; }
/* soft fade from the cloud sea into the white statement section, so the hero has no hard bottom edge or exposed band */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34svh; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(255 255 255 / .55) 45%, rgb(255 255 255 / .92) 75%, #fff); }
@media (min-aspect-ratio: 1/1) {
  .hero__poster { object-position: 50% 50%; }
  .hero__title { top: 8svh; }
  .hero__stage { height: 40svh; margin-top: -4svh; }
  .hero__board { width: 62%; }
  .hero__arc { width: min(40vw, 520px); margin-bottom: 3%; }
  .hero__foam { height: 52svh; }
  .hero__cluster { left: 0; right: 0; bottom: 15svh; display: flex; justify-content: center; gap: clamp(8px, 1.3vw, 18px); }
  .hero__note { bottom: calc(15svh - 52px); }
  .dot { width: clamp(56px, 7.2vw, 112px); flex: none; }
  .explore { order: 0; width: clamp(96px, 8.4vw, 120px); height: auto; aspect-ratio: 1; min-height: 0; padding: 0; margin: 0 clamp(8px, 1.5vw, 22px); border-radius: 50%; }
}

/* ---------- statement ---------- */
.statement { position: relative; z-index: 3; margin-top: -1px; background: linear-gradient(#fff, var(--mist) 50vh); padding: 8px var(--gutter) 22vh; display: grid; justify-items: center; gap: 40px; text-align: center; }
.badge { position: relative; width: 132px; height: 132px; display: grid; place-items: center; color: var(--tide); }
.badge svg { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.badge text { fill: currentColor; font: 600 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.badge .logo--v { height: 64px; transform: rotate(28deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.reveal-text { margin: 0; max-width: 24ch; font: 400 clamp(1.8rem, 6.6vw, 4.6rem)/1.12 var(--serif); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.reveal-text .c { color: rgb(15 29 43 / .14); transition: color .12s linear; }
.reveal-text .c.is-lit { color: var(--ink); }
@media (min-width: 900px) { .reveal-text { max-width: 22ch; } .statement { padding-top: 16px; } }

/* ---------- scroll film ---------- */
.film { position: relative; height: 460vh; background: #0b1622; color: #fff; }
.film__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 22 34 / .45) 0, rgb(11 22 34 / 0) 24%, rgb(11 22 34 / 0) 46%, rgb(11 22 34 / .85) 100%), linear-gradient(90deg, rgb(11 22 34 / .45), rgb(11 22 34 / 0) 55%); pointer-events: none; }
.film__copy { text-shadow: 0 1px 18px rgb(11 22 34 / .55); }
.film__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(32px + env(safe-area-inset-bottom)); display: grid; gap: 18px; }
.film__title { font: 500 clamp(2.3rem, 9.5vw, 5.2rem)/.98 var(--display); letter-spacing: -.02em; max-width: 10ch; }
.film__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 6px 28px; font-size: 15px; white-space: nowrap; }
.film__steps li { opacity: .45; transition: opacity .4s; }
.film__steps li span { font-variant-numeric: tabular-nums; opacity: .7; margin-right: 4px; }
.film__steps li.is-on { opacity: 1; }
.film__steps em { display: none; }
.film__note { grid-column: 1 / -1; }
.film__caption { margin: 0; max-width: 34ch; font-size: 15px; min-height: 3.2em; color: rgb(255 255 255 / .86); }
.film__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14px; height: 2px; background: rgb(255 255 255 / .16); border-radius: 2px; overflow: hidden; }
.film__bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.film__loading { position: absolute; top: 50%; left: 0; right: 0; text-align: center; margin: 0; font-size: 14px; opacity: .6; transition: opacity .5s; }
.film__loading.is-done { opacity: 0; }
@media (min-width: 900px) {
  .film__copy { left: var(--gutter); right: auto; bottom: 56px; width: min(560px, 40vw); }
  .film__steps { grid-template-columns: 1fr; gap: 10px; font-size: 16px; }
  .film__steps em { display: block; font-style: normal; font-size: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease-out), opacity .4s; color: rgb(255 255 255 / .78); }
  .film__steps li.is-on em { max-height: 3.2em; opacity: 1; margin-top: 2px; }
  .film__caption { display: none; }
}

/* ---------- ride ---------- */
.ride { position: relative; padding: 18vh var(--gutter) 14vh; display: grid; gap: 28px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 40%, #fff 0, var(--mist) 60%); }
.ride__title { font: 500 clamp(2.8rem, 12.5vw, 6.4rem)/.96 var(--display); letter-spacing: -.025em; }
.ride__hero { position: relative; justify-self: center; width: min(92vw, 640px); }
.ride__rider { width: 100%; aspect-ratio: 1400 / 1738; object-fit: cover; mix-blend-mode: multiply; filter: saturate(1.05);
  -webkit-mask-image: radial-gradient(closest-side at 50% 54%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 54%, #000 62%, transparent 100%); }
.ride__o { position: absolute; left: 50%; top: 50%; translate: -50% -51%; font: 400 min(110vw, 900px)/1 var(--serif); color: rgb(255 255 255 / .06);
  -webkit-text-stroke: 1.2px rgb(255 255 255 / .95); text-shadow: 0 0 2px rgb(15 29 43 / .08), 0 0 60px rgb(255 255 255 / .9), -12px 0 30px rgb(168 139 255 / .18), 12px 0 30px rgb(47 201 176 / .18);
  pointer-events: none; will-change: transform; }
.ride__pills { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.ride__pills li { flex: 1; max-width: 140px; aspect-ratio: 9 / 17; border-radius: 999px; overflow: hidden; box-shadow: 0 14px 30px rgb(15 29 43 / .15); }
.ride__pills li:nth-child(2) { transform: translateY(14%); }
.ride__pills img { width: 100%; height: 100%; object-fit: cover; }
.ride__aside { display: grid; gap: 20px; justify-items: start; max-width: 36ch; margin-top: 24px; }
.ride__aside p { margin: 0; }
@media (min-width: 900px) {
  .ride { grid-template-columns: 1.15fr 1.3fr 1fr; grid-template-rows: auto 1fr auto; padding: 22vh var(--gutter) 12vh; }
  .ride__title { grid-column: 1 / 3; grid-row: 1; align-self: start; z-index: 2; font-size: clamp(3.2rem, 4.6vw, 6.2rem); }
  .ride__hero { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 100%; }
  .ride__o { font-size: min(64vw, 1000px); }
  .ride__pills { grid-column: 1; grid-row: 3; align-self: end; }
  .ride__aside { grid-column: 3; grid-row: 3; align-self: end; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; box-shadow: 0 10px 30px rgb(15 29 43 / .12);
  transition: transform .3s var(--ease-out), background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--board { background: var(--b, var(--ink)); color: var(--bi, #fff); width: 100%; }

/* ---------- lineup ---------- */
/* phones: copy sits on a sky-blue band above the photo so it never covers the rider; landscape: copy over the open sky */
.lineup { position: relative; display: flex; flex-direction: column-reverse; overflow: hidden; color: #fff; background: #1a4879; }
.lineup picture { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; }
.lineup picture::before { content: ''; position: absolute; inset: 0 0 auto; height: 14%; z-index: 1; background: linear-gradient(#1a4879, rgb(26 72 121 / 0)); }
.lineup__img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.lineup__copy { padding: 104px var(--gutter) 28px; display: grid; gap: 22px; justify-items: start; }
.lineup h2 { font: 500 clamp(2.8rem, 12vw, 7rem)/.96 var(--display); letter-spacing: -.025em; }
@media (min-aspect-ratio: 1/1) {
  .lineup { display: block; height: 100svh; min-height: 640px; }
  .lineup picture { position: absolute; inset: 0; aspect-ratio: auto; }
  .lineup picture::before { display: none; }
  .lineup::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(11 22 34 / .4), rgb(11 22 34 / 0) 40%); pointer-events: none; }
  .lineup__img { object-position: 50% 0; }
  .lineup__copy { position: absolute; z-index: 1; left: var(--gutter); top: 13svh; padding: 0; max-width: 34vw; }
  .lineup h2 { font-size: clamp(2.6rem, 4.2vw, 5.2rem); }
  .lineup h2 { text-shadow: 0 2px 30px rgb(11 22 34 / .35); }
}

/* ---------- quiver ---------- */
.quiver { padding: 12vh var(--gutter) 14vh; }
.quiver__head { display: grid; gap: 14px; margin-bottom: 28px; }
.quiver__head h2 { font: 500 clamp(2.8rem, 12vw, 7rem)/.96 var(--display); letter-spacing: -.025em; }
.quiver__head p { margin: 0; max-width: 46ch; color: var(--slate); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 24px; padding: 2px var(--gutter); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(15 29 43 / .14); background: transparent; font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.card { position: relative; display: grid; gap: 10px; }
.card.is-hidden { display: none; }
.card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper); isolation: isolate; }
.card__media::before { content: ''; position: absolute; inset: 0; background: var(--b); opacity: 0; transition: opacity .6s var(--ease-out); z-index: -1; }
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease-out); }
.card__info { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 8px; }
.card__name { font: 400 1.35rem/1.1 var(--serif); }
.card__price { font-weight: 600; font-size: 15px; }
.card__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--tide); }
.card__meta i { width: 10px; height: 10px; border-radius: 50%; background: var(--b); flex: none; }
.card__add { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .9); font-size: 22px; line-height: 1;
  box-shadow: 0 6px 16px rgb(15 29 43 / .12); transition: transform .3s var(--ease-out), background .3s, color .3s; }
.card__add:hover { background: var(--b); color: var(--bi); transform: rotate(90deg); }
@media (hover: hover) {
  .card__media:hover::before { opacity: .22; }
  .card__media:hover img { transform: translateY(-3%) scale(1.03); }
}
@media (max-width: 759px) { .card__info { grid-template-columns: 1fr; } .card__name { font-size: 1.25rem; } .card__price { order: 2; } .card__meta { order: 3; } }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } .card__name { font-size: 1.7rem; } }
@media (min-width: 900px) { .quiver__head { grid-template-columns: 1fr auto; align-items: end; } .quiver__head p { max-width: 38ch; } .chips { margin-left: 0; padding-left: 0; } }

/* ---------- custom ---------- */
.custom { padding: 12vh var(--gutter); background: var(--paper); display: grid; gap: 40px; }
.custom h2 { font: 500 clamp(2.4rem, 10vw, 5.4rem)/.98 var(--display); letter-spacing: -.02em; max-width: 12ch; margin-bottom: 18px; }
.custom__intro p { max-width: 44ch; color: var(--slate); }
.custom address { font-style: normal; margin-top: 24px; font-size: 14px; color: var(--slate); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--slate); }
.form input, .form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgb(15 29 43 / .14); background: #fff; font-size: 16px; color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.form input[aria-invalid="true"] { border-color: var(--lobster); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; min-height: 1.5em; font-size: 14px; }
.swatches { border: 0; padding: 0; margin: 0; }
.swatches legend { font-size: 14px; color: var(--slate); margin-bottom: 8px; padding: 0; }
.swatches div { display: flex; flex-wrap: wrap; gap: 6px; }
.sw { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw span { width: 30px; height: 30px; border-radius: 50%; background: var(--b); box-shadow: inset 0 0 0 1px rgb(15 29 43 / .1); transition: transform .25s var(--ease-out), box-shadow .25s; }
.sw input:checked + span { transform: scale(1.1); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--b); }
.sw input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (min-width: 900px) { .custom { grid-template-columns: 1fr 1fr; gap: 6vw; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--mist); padding: 64px var(--gutter) calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 40px; }
.foot__logo { height: auto; width: 100%; max-width: 1100px; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 14px; }
.foot__cols p { margin: 0; line-height: 1.9; }
.foot__cols a { text-decoration: none; opacity: .8; }
.foot__cols a:hover { opacity: 1; }
.foot__fine { margin: 0; font-size: 12px; opacity: .5; }
@media (min-width: 900px) { .foot__cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- sheet + bag ---------- */
.sheet, .bag { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden], .bag[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgb(11 22 34 / .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow-y: auto; background: var(--mist); border-radius: 26px 26px 0 0;
  padding-bottom: env(safe-area-inset-bottom); }
.sheet__x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .9); font-size: 24px; line-height: 1; }
.sheet__media { position: relative; height: 46svh; background: color-mix(in srgb, var(--b) 18%, var(--paper)); }
.sheet__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sheet__body { padding: 22px var(--gutter) 28px; display: grid; gap: 12px; }
.sheet__type { margin: 0; font-size: 14px; color: var(--tide); }
.sheet__body h3 { font: 500 2.6rem/1.05 var(--display); letter-spacing: -.015em; }
.sheet__price { margin: 0; font-size: 18px; font-weight: 600; }
.sheet__body > p { margin: 0; }
.sheet__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0; }
.sheet__specs div { padding: 10px; border-radius: 12px; background: #fff; }
.sheet__specs dt { font-size: 11px; color: var(--tide); }
.sheet__specs dd { margin: 0; font-weight: 600; font-size: 14px; }
.sizes { border: 0; padding: 0; margin: 0 0 6px; }
.sizes legend { padding: 0; font-size: 14px; color: var(--tide); margin-bottom: 8px; }
.sizes div { display: flex; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 72px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(15 29 43 / .16); font-size: 14px; transition: background .2s, color .2s; }
.size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--buoy); outline-offset: 2px; }
@media (min-width: 900px) {
  .sheet__panel { left: 50%; top: 50%; bottom: auto; right: auto; width: min(1040px, 92vw); max-height: 88vh; transform: translate(-50%, -50%); border-radius: 28px;
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
  .sheet__media { height: auto; min-height: 560px; }
  .sheet__body { padding: 48px 40px; align-content: center; overflow-y: auto; }
}
.bag__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--mist); display: grid; grid-template-rows: auto 1fr auto; }
.bag__head { position: relative; padding: max(20px, env(safe-area-inset-top)) var(--gutter) 12px; }
.bag__head h3 { font: 500 2rem/1.15 var(--display); }
.bag__head .sheet__x { top: max(12px, env(safe-area-inset-top)); }
.bag__list { list-style: none; margin: 0; padding: 0 var(--gutter); overflow-y: auto; }
.bag__empty { padding: 28px 0; color: var(--slate); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgb(15 29 43 / .08); }
.line__img { width: 72px; height: 96px; border-radius: 12px; background: color-mix(in srgb, var(--b) 20%, var(--paper)); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__name { font: 400 1.2rem/1.2 var(--serif); }
.line__meta { font-size: 14px; color: var(--tide); }
.qty { display: flex; align-items: center; gap: 2px; margin-top: 6px; }
.qty button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(15 29 43 / .14); background: #fff; position: relative; }
.qty button::after { content: ''; position: absolute; inset: -4px; }
.qty output { min-width: 26px; text-align: center; font-size: 14px; }
.line__price { font-weight: 600; font-size: 15px; align-self: start; }
.bag__foot { padding: 16px var(--gutter) max(20px, env(safe-area-inset-bottom)); border-top: 1px solid rgb(15 29 43 / .08); display: grid; gap: 10px; }
.bag__total { display: flex; justify-content: space-between; margin: 0; font-size: 18px; }
.bag__ship { margin: 0; font-size: 14px; color: var(--tide); }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 140%); padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 30px rgb(0 0 0 / .25); transition: transform .5s var(--ease-out), visibility 0s .5s; visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .reveal-text .c { color: var(--ink); }
}

/* ---------- footer v2: icy, cinematic ---------- */
.ft { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); padding: 34vh var(--gutter) calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, var(--mist), #fff 30%, #e6edf3 72%, #d6e0ea); }
.ft__sky { position: absolute; inset: 0 0 auto; height: 70vh; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.ft__peak { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 50%, transparent 92%); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 50%, transparent 92%); }
.ft__cloud { position: absolute; left: -10%; bottom: 8%; width: 120%; max-width: none; height: 50%; object-fit: cover; object-position: 50% 100%; opacity: .85; }
.ft__snow { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 20%, #fff 50%, transparent 51%),
  radial-gradient(2.5px 2.5px at 40% 70%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 85% 60%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 10% 85%, #fff 50%, transparent 51%);
  background-size: 260px 260px; animation: ftSnow 18s linear infinite; opacity: .9; }
.ft__snow--far { background-size: 160px 160px; animation-duration: 30s; opacity: .55; }
@keyframes ftSnow { to { background-position: 40px 260px; } }
.ft__inner { position: relative; display: grid; gap: 48px; max-width: 1280px; margin: 0 auto; }
.ft__kicker { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--tide); }
.ft__title { margin: 0; font: 500 clamp(34px, 9vw, 64px)/1.02 var(--display); letter-spacing: -.01em; }
.ft__lede { margin: 14px 0 22px; max-width: 42ch; color: var(--slate); }
.ft__form { display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 480px; padding: 6px; border-radius: 999px;
  background: rgb(255 255 255 / .9); border: 1px solid rgb(15 29 43 / .1); box-shadow: 0 18px 40px rgb(43 58 78 / .12); }
.ft__form input { min-width: 0; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; color: var(--ink); }
.ft__form input::placeholder { color: var(--tide); }
.ft__form input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.ft__form .btn { min-height: 48px; border-radius: 999px; padding: 0 26px; }
.ft__form[data-state="error"] { border-color: var(--lobster); }
.ft__msg { grid-column: 1 / -1; margin: 0; padding: 0 18px; font-size: 14px; min-height: 0; }
.ft__msg:empty { display: none; }
.ft__form[data-state="error"] .ft__msg { color: #B3141F; padding-bottom: 6px; }
.ft__form[data-state="ok"] .ft__msg { color: #0B6B5B; padding-bottom: 6px; }
.ft__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.ft__cols h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); }
.ft__cols ul, .ft__social { list-style: none; margin: 0; padding: 0; }
.ft__cols li + li { margin-top: 2px; }
.ft__cols a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.ft__cols a:hover, .ft__cols a:focus-visible { background-size: 100% 1px; }
.ft a:focus-visible, .ft button:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.ft__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-top: 24px; border-top: 1px solid rgb(15 29 43 / .12); }
.ft__addr { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--slate); margin-right: auto; }
.ft__social { display: flex; gap: 8px; }
.ft__social a, .ft__top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: rgb(255 255 255 / .75);
  border: 1px solid rgb(15 29 43 / .1); transition: transform .35s var(--ease-out), background .2s, color .2s; }
.ft__social a:hover, .ft__top:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }
.ft svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ft__top { width: 52px; height: 52px; background: var(--ink); color: #fff; }
.ft__top:hover { background: var(--cobalt); }
.ft__mark { position: relative; margin: 40px calc(var(--gutter) * -1) 0; overflow: hidden; padding: 0 var(--gutter); }
.ft__logo { display: block; width: min(100%, 1280px); height: auto; margin: 0 auto; background: linear-gradient(to bottom, var(--slate), var(--tide) 60%, rgb(92 111 134 / .35)); }
.ft__fine { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 18px auto 0; max-width: 1280px; font-size: 12px; color: var(--slate); }
@media (min-width: 768px) {
  .ft__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ft__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); align-items: end; column-gap: 72px; }
  .ft__meta { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .ft__snow { animation: none; } .ft__social a, .ft__top, .ft__cols a { transition: none; } }
