/* Padvio theme: tokens, base elements, sections and shop.
   Light by default; html[data-mode="dark"] switches every token to black. */
:root {
  color-scheme: light;
  --orange: #F26231;
  --orange-hi: #FF7A45;
  --orange-ink: #C8481C;
  --bronze: #B9773F;
  --silver: #A9AFB6;
  --gold: #D4A537;

  --page: #FFFFFF;
  --alt: #F5F5F7;
  --fg: #0B0B0B;
  --muted: #5E5E5E;
  --faint: #8C8C8C;
  --line: rgba(0,0,0,.1);
  --card: #FFFFFF;
  --track: #E3E3E6;
  --tile: #E4E4E6;
  --accent-text: var(--orange-ink);
  --invert-bg: #0B0B0B;
  --invert-fg: #F7F7F7;
  --solid: #0B0B0B;
  --on-solid: #FFFFFF;
  --hover: #F2F2F2;
  --pick: #FFF1EB;
  --edit: #0B0B0B;
  --edit-alt: #F4F2EE;

  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --wrap: 1080px;
  --gnav-h: 48px;
  --lnav-h: 52px;
}
html[data-mode="dark"] {
  color-scheme: dark;
  --page: #000000;
  --alt: #0F0F10;
  --fg: #F5F5F7;
  --muted: #A1A1A6;
  --faint: #7A7A7E;
  --line: rgba(255,255,255,.12);
  --card: #161617;
  --track: #2A2A2C;
  --tile: #1A1A1C;
  --accent-text: var(--orange);
  --invert-bg: #F5F5F7;
  --invert-fg: #0B0B0B;
  --solid: #F5F5F7;
  --on-solid: #0B0B0B;
  --hover: #1C1C1C;
  --pick: #3A1C10;
  --edit: #161617;
  --edit-alt: #0F0F10;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; background: var(--page); color: var(--fg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.025em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
#MainContent:focus { outline: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--solid); color: var(--on-solid); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section, .section { background: var(--bg, var(--page)); color: var(--fg); }
.alt { --bg: var(--alt); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.stack { display: grid; gap: 18px; }
.pad { padding-block: clamp(80px, 11vw, 140px); }
.pad-sm { padding-block: clamp(48px, 6vw, 72px); }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; color: var(--accent-text); }
.display { font-size: clamp(52px, 10vw, 128px); font-weight: 800; line-height: .95; letter-spacing: -0.045em; }
.display em, .h2 em { font-style: normal; color: var(--orange); }
.h2 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; line-height: 1.04; }
.h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; line-height: 1.15; }
.lede { font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); line-height: 1.35; max-width: 40ch; }
.center .lede { margin-inline: auto; }
.cap { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.small { font-size: 12px; color: var(--faint); }
.rte { color: var(--muted); line-height: 1.7; }
.rte p + p { margin-top: 1em; }
.rte a { color: var(--accent-text); text-decoration: underline; }
.rte h2, .rte h3 { color: var(--fg); margin: 1.4em 0 .5em; }
.rte ul, .rte ol { padding-left: 1.2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; transition: background .2s, color .2s, border-color .2s; background: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { border-color: var(--accent-text); color: var(--accent-text); }
.btn-ghost:hover { background: var(--accent-text); color: #fff; }
.btn-solid { background: var(--solid); color: var(--on-solid); }
.btn-solid:hover { background: var(--orange); color: #fff; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.26); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; min-height: 52px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.center .ctas { justify-content: center; }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s; padding-bottom: 2px; }
.ulink:hover { background-size: 100% 1px; }

/* ---------- Phone frame ---------- */
.phone { position: relative; width: 100%; background: #0B0B0B; padding: 2.6%; border-radius: 12.5% / 5.8%; box-shadow: 0 0 0 1.5px #2A2A2A inset, 0 30px 60px rgba(0,0,0,.22), 0 8px 18px rgba(0,0,0,.14); }
.phone > img, .phone .screens { width: 100%; border-radius: 10.4% / 4.8%; aspect-ratio: 984 / 2144; object-fit: cover; }
.phone .placeholder-svg { width: 100%; aspect-ratio: 984 / 2144; border-radius: 10.4% / 4.8%; background: #F4F2EE; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: 26px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.icon { width: 40px; height: 40px; color: var(--orange); display: block; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Reveal (starts faint, never hidden) ---------- */
.reveal { transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s ease; }
.js .reveal:not(.in) { transform: translateY(48px); opacity: .12; }
.stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.stagger > .reveal:nth-child(6) { transition-delay: .4s; }

/* =================================================================
   HOME SECTIONS
   ================================================================= */

/* ---- Brand film ---- */
.film { position: relative; height: calc(100svh - var(--gnav-h) - var(--lnav-h)); min-height: 440px; max-height: 1000px; background: #000; color: #fff; overflow: hidden; transition: height .9s cubic-bezier(.7,0,.2,1), min-height .9s cubic-bezier(.7,0,.2,1); }
.film.no-lnav { height: calc(100svh - var(--gnav-h)); }
.film.closed { height: 0; min-height: 0; }
.film video, .film .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity .8s ease; }
.film video.on { opacity: 1; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 25%, transparent 55%, rgba(0,0,0,.75) 100%); pointer-events: none; }
.film-ui { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 clamp(16px, 4vw, 48px) clamp(24px, 4vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.film-ui .tag { font-size: clamp(30px, 5vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.film-ui .tag em { font-style: italic; font-weight: 600; color: var(--orange); }
.film-ui .sub { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.film-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.round:hover { background: rgba(255,255,255,.26); }
.round svg { width: 16px; height: 16px; }
.round .i-play { display: none; }
.film.paused .round .i-play { display: block; }
.film.paused .round .i-pause { display: none; }
.film-skip { position: absolute; z-index: 2; top: clamp(14px, 2.4vw, 26px); right: clamp(16px, 4vw, 48px); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 16px; border-radius: 999px; font: 600 13px var(--font); color: #fff; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.3); cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.film-skip:hover { background: rgba(0,0,0,.55); }
.film-skip svg { width: 14px; height: 14px; }
.film-bar { position: absolute; z-index: 2; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px); bottom: 10px; display: flex; gap: 6px; }
.film-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.film-bar b { position: absolute; inset: 0; width: var(--p, 0%); background: #fff; }

/* ---- Motto hero ---- */
.hero { padding-top: clamp(72px, 10vw, 120px); overflow: hidden; }
.hero .lede { margin-top: 22px; max-width: 34ch; }
.hero .ctas { margin-top: 30px; }
.hero-title:focus { outline: none; }
.trio { --s: 0; position: relative; margin: clamp(56px, 8vw, 88px) auto 0; max-width: 900px; perspective: 1600px; display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: clamp(12px, 3vw, 36px); align-items: end; padding-inline: var(--gutter); }
.trio::before { content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: -10%; background: radial-gradient(closest-side, rgba(242,98,49,.35), transparent 75%); filter: blur(40px); }
.trio .phone { will-change: transform; transition: translate 1.3s cubic-bezier(.2,.7,.2,1), rotate 1.3s cubic-bezier(.2,.7,.2,1), opacity 1s; }
.trio .left  { transform: translateY(-6%) translateX(calc(var(--s) * -14%)) rotateY(calc(var(--s) * 22deg)); }
.trio .right { transform: translateY(-6%) translateX(calc(var(--s) * 14%)) rotateY(calc(var(--s) * -22deg)); }
.trio .mid   { margin-bottom: -18%; transform: scale(calc(1 + var(--s) * .06)); z-index: 1; }
.js .trio:not(.in) .left  { translate: 45% 12%; rotate: y 50deg; opacity: .1; }
.js .trio:not(.in) .right { translate: -45% 12%; rotate: y -50deg; opacity: .1; }
.js .trio:not(.in) .mid   { translate: 0 18%; opacity: .1; }

/* ---- Why Padvio ---- */
.statement { font-size: clamp(28px, 4vw, 50px); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; max-width: 25ch; margin-top: 20px; }
.statement .w { color: var(--muted); opacity: .35; transition: opacity .35s, color .35s; }
.statement .w.lit { color: var(--fg); opacity: 1; }
.statement .w.em.lit { color: var(--orange); }
.statement em { font-style: italic; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 7vw, 72px); }
.why-grid .card { display: grid; gap: 12px; align-content: start; }
.why-grid h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.why-grid p { color: var(--muted); font-size: 15px; }
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.versus .card { display: grid; gap: 8px; }
.versus .label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.versus .quote { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.versus .padvio { background: var(--orange); border-color: var(--orange); color: #fff; }
.versus .padvio .label { color: rgba(255,255,255,.85); }
.versus .plain .quote { color: var(--muted); }

/* ---- App story (pinned phone) ---- */
.story { position: relative; height: calc(var(--n) * 70vh + 100vh); }
.story-pin { position: sticky; top: var(--lnav-h); height: calc(100vh - var(--lnav-h)); max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 6px; }
.story-steps li { position: relative; padding: 14px 0 14px 22px; opacity: .35; transition: opacity .4s; }
.story-steps li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--track); }
.story-steps li::after { content: ""; position: absolute; left: 0; top: 14px; width: 3px; border-radius: 3px; background: var(--orange); height: 0; }
.story-steps li.on { opacity: 1; }
.story-steps li.on::after { height: calc((100% - 28px) * var(--t, 0)); }
.story-steps li.done::after { height: calc(100% - 28px); }
.story-steps b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.story-steps span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .5s; }
.story-steps li.on span { max-height: 6em; }
.story-stage { perspective: 1400px; display: grid; place-items: center; }
.story-phone { width: min(300px, calc((100vh - 140px) * .45)); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; will-change: transform; }
.screens { position: relative; overflow: hidden; background: #F4F2EE; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(10%) scale(.96); transition: opacity .55s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.screens img.on { opacity: 1; transform: none; }
.screens img.past { transform: translateY(-10%) scale(.96); }
.story-dots { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.story-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--track); transition: width .3s, background .3s; }
.story-dots i.on { width: 22px; background: var(--orange); }

/* ---- Season ---- */
.season-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: end; }
.season-top p { color: var(--muted); font-size: 18px; }
.days { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; margin-top: 48px; height: 40px; }
.days i { display: block; border-radius: 2px; background: var(--track); transform-origin: bottom; }
.days i.on { background: var(--orange); }
.days.wave i { animation: tick .5s cubic-bezier(.3,1.6,.5,1) backwards; animation-delay: calc(var(--i) * 12ms); }
@keyframes tick { from { transform: scaleY(.1); } }
.days-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.days-legend b { color: var(--orange); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 16px; margin-top: 40px; perspective: 900px; }
.tier { border-radius: 22px; padding: 22px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.medal { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 -6px 12px rgba(0,0,0,.25), inset 0 4px 10px rgba(255,255,255,.35); }
.medal svg { width: 52%; height: auto; }
.tier.bronze .medal { background: var(--bronze); }
.tier.silver .medal { background: var(--silver); }
.tier.gold .medal { background: var(--gold); }
.js .tier .medal { transition: transform 1.6s cubic-bezier(.2,.7,.2,1); transition-delay: inherit; }
.js .tier:not(.in) .medal { transform: rotateY(540deg) scale(.6); }
.tier b { display: block; font-size: 18px; font-weight: 800; }
.tier span { font-size: 13px; color: var(--muted); }
.tier.qualify { display: block; background: var(--invert-bg); color: var(--invert-fg); border-color: transparent; }
.tier.qualify b { font-size: 15px; }
.tier.qualify span { color: inherit; opacity: .7; }
.split { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-block: 10px 8px; }
.split .r { background: var(--orange); }
.split .l { background: currentColor; opacity: .35; }

/* ---- Featured products (shop teaser) ---- */
.wear-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.wear-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.wear-card { display: grid; gap: 12px; }
.wear-card .ph { aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: var(--tile); }
.wear-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.wear-card:hover .ph img { transform: scale(1.04); }
.wear-card b { font-size: 16px; font-weight: 700; }
.wear-card span { color: var(--muted); font-size: 14px; }
.free-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; justify-self: start; }
.free-pill svg { width: 22px; height: 13px; }

/* ---- App download + QR ---- */
.download .display { font-size: clamp(44px, 8vw, 96px); letter-spacing: -0.04em; }
.download-row { display: flex; gap: 32px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 14px; background: var(--invert-bg); color: var(--invert-fg); text-align: left; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 10px; font-weight: 500; opacity: .75; line-height: 1.1; }
.store b { display: block; font-size: 17px; font-weight: 700; line-height: 1.15; }
.qr { display: grid; gap: 8px; justify-items: center; }
.qr img { width: 132px; height: 132px; border-radius: 14px; background: #fff; padding: 10px; border: 1px solid var(--line); image-rendering: pixelated; }
.qr span { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---- Contact ---- */
.c-hero { padding-block: clamp(72px, 10vw, 120px) clamp(48px, 6vw, 72px); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ways .card { display: grid; gap: 10px; align-content: start; }
.ways h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ways p { color: var(--muted); font-size: 15px; }
.ways .mail { font-weight: 700; color: var(--accent-text); font-size: 15px; user-select: all; }
.ways .card.dark { background: var(--invert-bg); color: var(--invert-fg); border-color: transparent; }
.ways .card.dark p { color: inherit; opacity: .72; }
.ways .card.dark .mail { color: var(--orange); }
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field .field-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font: 500 16px var(--font); color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; }
.topics span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; background: var(--card); transition: background .2s, color .2s, border-color .2s; }
.topics input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.topics input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-note { font-size: 14px; font-weight: 600; color: var(--accent-text); }
.form-note.ok { color: #1F7A3E; }
.faq { margin-top: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .rte { padding-bottom: 20px; max-width: 70ch; }
.follow { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.follow a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: border-color .2s, transform .2s; }
.follow a:hover { border-color: var(--orange); transform: translateY(-2px); }
.follow svg { width: 18px; height: 18px; }

/* =================================================================
   SHOP
   ================================================================= */
.shop { font-size: 14px; }
.intro { text-align: center; padding-block: clamp(36px, 6vw, 64px) 18px; padding-inline: var(--gutter); }
.intro .crumbs { color: var(--faint); }
.intro h1 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; letter-spacing: -0.01em; margin-top: 12px; }
.intro .sub { color: var(--muted); margin-top: 8px; font-size: 14px; }
.cats { display: flex; gap: 6px 26px; flex-wrap: wrap; justify-content: center; padding: 18px var(--gutter) 30px; }
.cats a { font-size: 13px; font-weight: 500; color: var(--muted); padding-block: 6px; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.cats a:hover { color: var(--fg); }
.cats a[aria-current="page"] { color: var(--fg); font-weight: 700; border-bottom-color: var(--orange); }
.fbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--lnav-h)); z-index: 20; background: var(--page); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 18px; padding-inline: var(--gutter); min-height: 52px; }
.fbar.top0 { top: env(safe-area-inset-top, 0px); }
.seg { display: flex; gap: 4px; }
.seg a { padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg a[aria-current="page"] { background: var(--solid); color: var(--on-solid); }
.fbar .count { margin-left: auto; color: var(--muted); font-size: 12px; }
.fbar select { font: 500 12px var(--font); border: 1px solid var(--line); border-radius: 999px; padding: 8px 30px 8px 14px; background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 12px no-repeat; appearance: none; color: var(--fg); }

.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.pcard { position: relative; background: var(--page); display: grid; grid-template-rows: auto auto; }
.pcard .media { position: relative; display: block; aspect-ratio: 5 / 9; background: var(--tile); overflow: hidden; }
.pcard .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: opacity .5s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pcard .media img.alt { opacity: 0; }
.pcard:hover .media img.alt { opacity: 1; }
.pcard:hover .media img { transform: scale(1.025); }
.pcard .badge { position: absolute; left: 14px; top: 14px; z-index: 2; background: #fff; color: #0B0B0B; padding: 5px 9px; border-radius: 3px; }
.pcard .meta { padding: 14px 16px 22px; display: grid; gap: 4px; }
.pcard .code { color: var(--faint); font-size: 10px; letter-spacing: .14em; }
.pcard .name { font-size: 13px; font-weight: 500; }
.pcard .price { font-size: 13px; color: var(--muted); }
.pcard .price s { margin-right: 6px; color: var(--faint); }
.pcard .soldout { color: var(--accent-text); font-weight: 600; }
.edit { background: var(--edit); color: #F7F7F7; grid-column: span 2; display: grid; align-content: end; gap: 14px; padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; min-height: 100%; }
.edit.light { background: var(--edit-alt); color: var(--fg); }
.edit .mark { position: absolute; right: -6%; top: 8%; width: 62%; height: auto; }
.edit.light .mark { opacity: .12; }
.edit h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; max-width: 13ch; position: relative; }
.edit p { color: rgba(255,255,255,.72); max-width: 34ch; position: relative; }
.edit.light p { color: var(--muted); }
.edit .btn { justify-self: start; position: relative; }
.edit .btn-white { background: #fff; color: #0B0B0B; }
.edit .btn-white:hover { background: var(--orange); color: #fff; }
.empty { grid-column: 1 / -1; background: var(--page); text-align: center; padding: 80px 20px; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px var(--gutter); }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; padding: 0 12px; }
.pagination .current { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }

/* ---- Product page ---- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
/* Photos: one large photo per screen, stacked on desktop and swiped on phones */
.pdp-gallery { position: relative; min-width: 0; }
.pdp-media { display: grid; align-content: start; background: var(--tile); }
.pdp-media .details { display: contents; }
.pdp-media figure { margin: 0; position: relative; height: calc(100svh - var(--lnav-h)); min-height: 480px; max-height: 1100px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.pdp-media figure img { width: 100%; height: 100%; object-fit: contain; }
.pdp-media figcaption { position: absolute; left: 24px; bottom: 20px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pdp-count { display: none; }
.pdp-media .zoom-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pdp-media .zoom-open:focus-visible { outline-offset: -4px; }

/* Full-screen photo viewer */
.zoom { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #F4F4F5; color: #0B0B0B; overflow: hidden; overscroll-behavior: contain; }
:root[data-mode="dark"] .zoom { background: #0B0B0B; color: #fff; }
.zoom::backdrop { background: rgba(0,0,0,.6); }
.zoom[open] { animation: zoom-in .25s ease-out; }
@keyframes zoom-in { from { opacity: 0; } }
.zoom-stage { position: absolute; inset: 0; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.zoom.zoomed .zoom-stage { cursor: zoom-out; }
.zoom-img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 50% 50%; will-change: transform; transition: opacity .2s; }
.zoom-img.anim { transition: transform .32s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.zoom-img.loading { opacity: .9; }
.zoom-btn { position: absolute; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.85); color: #0B0B0B; box-shadow: 0 2px 12px rgba(0,0,0,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: opacity .2s; }
:root[data-mode="dark"] .zoom-btn { background: rgba(40,40,42,.85); color: #fff; }
.zoom-btn svg { width: 20px; height: 20px; }
.zoom-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.zoom-prev, .zoom-next { top: 50%; margin-top: -22px; }
.zoom-prev { left: 16px; }
.zoom-next { right: 16px; }
.zoom.single .zoom-prev, .zoom.single .zoom-next, .zoom.single .zoom-thumbs { display: none; }
.zoom.zoomed .zoom-prev, .zoom.zoomed .zoom-next, .zoom.zoomed .zoom-foot { opacity: 0; pointer-events: none; }
.zoom-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 10px; pointer-events: none; transition: opacity .2s; }
.zoom-hint { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.8); color: #0B0B0B; }
:root[data-mode="dark"] .zoom-hint { background: rgba(40,40,42,.85); color: #fff; }
.zoom-thumbs { position: relative; display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; pointer-events: auto; padding: 2px; }
.zoom-thumbs button { flex: none; width: 44px; height: 56px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .55; background: var(--tile); outline: 2px solid transparent; outline-offset: 1px; transition: opacity .2s; }
.zoom-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.zoom-thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--orange); }
@media (hover: none) { .zoom-prev, .zoom-next { display: none; } }
@media (prefers-reduced-motion: reduce) { .zoom[open], .zoom-img.anim { animation: none; transition: none; } }
/* Taller than the window: the panel scrolls on its own, so the buy button is always reachable */
.pdp-sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--lnav-h)); max-height: calc(100svh - var(--lnav-h)); overflow-y: auto; scrollbar-width: thin; padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 64px) 48px; display: grid; gap: 22px; font-size: 14px; }
.back { color: var(--muted); font-size: 12px; font-weight: 500; }
.pdp h1 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.pdp .price { font-size: 16px; color: var(--muted); margin-top: 6px; }
.pdp .price s { margin-right: 8px; color: var(--faint); }
.pdp .desc { color: var(--muted); line-height: 1.65; max-width: 52ch; }
.swatch-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #CFCFCF; box-shadow: inset 0 0 0 3px var(--page); background: #141414; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; border: 0; }
.sizes legend { padding: 0; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; }
.sizes span { display: grid; place-items: center; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; font-size: 13px; cursor: pointer; transition: border-color .2s; }
.sizes label:hover span { border-color: var(--fg); }
.sizes input:checked + span { border-color: var(--solid); background: var(--solid); color: var(--on-solid); }
.sizes input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.sizes input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.size-msg { color: var(--orange-ink); font-size: 12px; font-weight: 600; min-height: 18px; margin-top: 6px; }
.personal { border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 12px; }
.personal .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px); gap: 10px; }
.personal label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.personal input, .personal select { font: 600 14px var(--font); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; color: var(--fg); background: var(--page); min-width: 0; }
.personal input { text-transform: uppercase; letter-spacing: .06em; }
.perk { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.perk svg { width: 22px; height: 14px; flex: none; margin-top: 2px; }
.perk a { color: var(--fg); font-weight: 600; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding-block: 18px; font-size: 13px; font-weight: 600; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 20px; font-weight: 300; line-height: 1; }
details.acc[open] summary::after { content: "\2013"; }
.acc-body { padding-bottom: 22px; color: var(--muted); display: grid; gap: 12px; }
.acc-body ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.acc-body dl { margin: 0; display: grid; gap: 10px; }
.acc-body dt { color: var(--fg); font-weight: 600; font-size: 13px; }
.acc-body dd { margin: 2px 0 0; font-size: 13px; }
.table-wrap { overflow-x: auto; }
table.meas { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
table.meas th, table.meas td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
table.meas th:first-child, table.meas td:first-child { text-align: left; color: var(--fg); font-weight: 600; white-space: normal; }
table.meas thead th { font-weight: 700; color: var(--fg); }
table.meas .on { background: var(--pick); color: var(--orange-ink); font-weight: 700; }
.related { padding-block: 56px 0; }
.related h2 { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 28px; }

/* ---- Cart drawer & cart page ---- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 90; width: min(420px, 100%); background: var(--page); color: var(--fg); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); font-size: 14px; visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: none; border: 0; cursor: pointer; }
.x:hover { background: var(--hover); }
.x svg { width: 18px; height: 18px; }
.drawer-body { overflow-y: auto; padding: 8px 24px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.line .th { aspect-ratio: 3 / 4; background: var(--tile); overflow: hidden; border-radius: 3px; }
.line .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.line b { display: block; font-size: 13px; font-weight: 600; }
.line span { display: block; font-size: 12px; color: var(--muted); }
.line .rm { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 8px; background: none; border: 0; padding: 0; cursor: pointer; }
.line .lp { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px; }
.qty button { width: 24px; height: 24px; border-radius: 50%; font-size: 15px; background: none; border: 0; cursor: pointer; }
.qty button:hover { background: var(--hover); }
.total { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.bag-empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.bag-empty svg { width: 56px; height: auto; }
.note { font-size: 12px; color: var(--muted); text-align: center; }
.cart-page { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.cart-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 20px; }
.cart-page .drawer-foot { padding-inline: 0; border-top: 0; margin-top: 18px; }
.cart-note textarea { width: 100%; font: 500 14px var(--font); padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--fg); min-height: 80px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 160%); background: var(--solid); color: var(--on-solid); padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; z-index: 95; transition: transform .35s cubic-bezier(.2,.7,.2,1); max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); }

/* ---- Generic page / 404 / search ---- */
.page-wrap { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) var(--gutter); }
.page-wrap h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.search-form { display: flex; gap: 10px; margin-bottom: 32px; }
.search-form input { flex: 1; font: 500 16px var(--font); padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); }

/* =================================================================
   RESPONSIVE + MOTION
   ================================================================= */
@media (max-width: 1100px) { .grid { --cols: 3; } }
@media (max-width: 900px) {
  .why-grid, .wear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season-top, .form-wrap, .ways { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tier.qualify { grid-column: 1 / -1; }
  .story-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; gap: 18px; padding-block: 16px; }
  .story-copy .h2 { font-size: 28px; }
  .story-steps { margin-top: 10px; }
  .story-steps li { display: none; padding: 6px 0; }
  .story-steps li.on { display: block; }
  .story-steps li::before, .story-steps li::after { display: none; }
  .story-phone { width: min(220px, calc((100vh - 330px) * .46)); }
  .pdp { grid-template-columns: 1fr; }
  .pdp-sticky { position: static; max-height: none; overflow: visible; }
  .pdp-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pdp-media::-webkit-scrollbar { display: none; }
  .pdp-media figure { flex: 0 0 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .pdp-count { display: block; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.8); color: #0B0B0B; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
}
@media (max-width: 640px) {
  .grid { --cols: 2; }
  .edit { grid-column: 1 / -1; min-height: 320px; }
  .fbar { gap: 10px; flex-wrap: wrap; padding-block: 8px; }
  .fbar .count { display: none; }
  .versus { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { padding: 16px; }
  .film-ui { flex-direction: column; align-items: flex-start; }
  .row2, .personal .row { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .why-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .film, .screens img, .pcard .media img { transition: none; }
  .js .reveal:not(.in) { transform: none; opacity: 1; }
  .js .trio:not(.in) .phone { translate: none; rotate: none; opacity: 1; }
  .trio .left, .trio .right { transform: translateY(-6%); }
  .days.wave i { animation: none; }
  .js .tier .medal, .js .tier:not(.in) .medal { transform: none; transition: none; }
  .story-phone { transform: none !important; }
}
.pw-form { width: 100%; margin-top: 12px; }
.pw-form input { background: #161617; color: #F5F5F7; border-color: rgba(255,255,255,.2); }
