/* UMA website — mobile first. Tokens follow the UMA Brand Book. */
:root {
  --cream: #FBF5E6;
  --paper: #FFFDF7;
  --ink: #3B2A20;
  --muted: #7A6A5E;
  --line: #E7DCC5;
  --peri: #8FA6D3;
  --peri-ink: #4A64A0;
  --cocoa: #6E4630;
  --pink: #F2C6DA;
  --white: #FFFDF7;

  --f-display: "Archivo", "Anuphan", "Noto Sans SC", system-ui, sans-serif;
  --f-body: "Anuphan", "Archivo", "Noto Sans SC", system-ui, sans-serif;
  --f-soft: "Instrument Serif", "Anuphan", Georgia, serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --appbar-h: calc(60px + env(safe-area-inset-bottom, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --smooth: cubic-bezier(.22, 1, .36, 1);     /* long, calm settle */
  --spring: cubic-bezier(.34, 1.56, .64, 1);  /* small app-like bounce */
  color-scheme: light;
}
html:lang(zh) { --f-body: "Noto Sans SC", "Anuphan", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: var(--appbar-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; }
:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 12px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

.wordmark {
  font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%;
  letter-spacing: -.045em; line-height: .8; text-transform: lowercase; text-decoration: none;
}
.eyebrow {
  font-family: var(--f-display); font-stretch: 118%; font-weight: 700;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter-r); max-width: 1280px; margin: 0 auto; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 90; background: #0D0A08;
  display: grid; place-items: center; color: #F5EEDF;
  transition: opacity .7s var(--smooth), visibility .7s;
}
.splash-inner { display: grid; justify-items: center; gap: 16px; transition: transform 1.1s var(--smooth), filter 1.1s var(--smooth); }
.splash-word { display: flex; font-size: clamp(72px, 22vw, 150px); }
.splash-word i { font-style: normal; display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(28px); animation: letter-in .7s var(--smooth) forwards; }
.splash-word i:nth-child(2) { animation-delay: .08s; }
.splash-word i:nth-child(3) { animation-delay: .16s; }
.splash-tag { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: rgba(245, 238, 223, .55); opacity: 0; animation: fade-up .6s .4s var(--smooth) forwards; }
.splash-line { height: 1px; width: 0; background: rgba(245, 238, 223, .3); animation: line-grow .8s .35s var(--smooth) forwards; }
.splash.done { opacity: 0; visibility: hidden; }
.splash.done .splash-inner { transform: scale(1.08); filter: blur(6px); }
@keyframes letter-in { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes line-grow { to { width: 120px; } }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter-r) 10px var(--gutter);
  color: var(--ink); transition: background .3s, color .3s;
}
.topbar.on-hero { color: var(--white); }
.topbar.solid { background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-logo { font-size: 30px; }
.topbar-nav, .topbar-bag { display: none; }
.topbar-end { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.lang-switch button { min-width: 40px; min-height: 44px; padding: 0 8px; border-radius: 99px; opacity: .7; }
.lang-switch button[aria-pressed="true"] { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }

/* ---------- Bottom app bar ---------- */
.appbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: var(--appbar-h); padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.appbar a, .appbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.appbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.appbar [aria-current="page"] { color: var(--ink); }

/* ---------- Hero (3 layers) ---------- */
.hero { position: relative; height: 175svh; margin-bottom: -1px; }
.hero-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #A04134; }
.hero-stage { position: absolute; inset: 0; container-type: inline-size; }
.hero-layer { position: absolute; inset: 0; will-change: transform; }
.hero-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-bg { transform: scale(1.1); }
.hero-word {
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: 25svh; pointer-events: none;
}
.hero-word .wordmark { font-size: 37cqw; color: var(--white); text-shadow: 0 2px 30px rgba(80, 20, 10, .18); }
.hero-person { transform-origin: 50% 90%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(40, 18, 10, .55), rgba(40, 18, 10, 0) 42%); pointer-events: none; }
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 var(--gutter-r) calc(var(--appbar-h) + 22px) var(--gutter);
  color: var(--white); display: grid; gap: 10px; justify-items: start;
}
.hero-copy h1 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(30px, 8.5vw, 56px); letter-spacing: -.03em; line-height: 1; max-width: 12ch; }
.hero-copy p { font-size: 15px; max-width: 34ch; opacity: .92; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 99px; text-decoration: none;
  font-weight: 600; font-size: 15px; transition: transform .2s var(--ease), background .2s;
}
.btn:active { transform: scale(.98); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); width: 100%; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); width: 100%; }
.btn-peri { background: var(--peri); color: var(--white); width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.scroll-cue { position: absolute; right: var(--gutter-r); bottom: calc(var(--appbar-h) + 26px); z-index: 3; color: var(--white); writing-mode: vertical-rl; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.scroll-cue::after { content: ""; display: inline-block; width: 1px; height: 38px; margin-top: 10px; background: currentColor; animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.section-head a { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.page-top { padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
.page-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(28px, 7vw, 44px); letter-spacing: -.03em; margin-bottom: 6px; }
.page-sub { color: var(--muted); margin-bottom: 24px; max-width: 52ch; }

.page-title.soft-title { font-family: var(--f-soft); font-style: italic; font-weight: 400; font-stretch: normal; letter-spacing: -.01em; font-size: clamp(38px, 10vw, 64px); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter-r)) 24px calc(-1 * var(--gutter)); padding: 0 var(--gutter-r) 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 13px; font-weight: 600; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.chips a.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.menu-link { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; font-weight: 600; }
.menu-link.soft { font-family: var(--f-soft); font-style: italic; font-weight: 400; font-size: 22px; padding-left: 14px; }
.lang-switch.big { gap: 8px; font-size: 15px; }
.lang-switch.big button { padding: 10px 18px; border: 1px solid var(--line); opacity: 1; }
.lang-switch.big button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
.card { text-decoration: none; display: grid; gap: 8px; min-width: 0; }
.card-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--line); border-radius: 4px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.03); }
.badge { position: absolute; top: 8px; left: 8px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.badge.few { background: var(--pink); }
.badge.soldout { background: var(--ink); color: var(--cream); }
.card-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: 1.35; }
.card-color { font-family: var(--f-soft); font-style: italic; font-size: 17px; line-height: 1.1; margin-top: -4px; color: var(--cocoa); }
.card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.was { color: var(--muted); font-weight: 400; }
.now { color: var(--ink); font-weight: 600; }
.dots { display: flex; gap: 4px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(59, 42, 32, .2); }

/* Collection tiles (full bleed) */
.tiles { display: grid; gap: 2px; }
.tile { position: relative; display: block; background: var(--peri); height: 82svh; min-height: 460px; overflow: hidden; color: var(--white); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 16, 10, .55), transparent 50%); }
.tile-copy { position: absolute; left: var(--gutter); right: var(--gutter-r); bottom: 28px; z-index: 1; display: grid; gap: 6px; }
.tile-copy h3 { font-family: var(--f-soft); font-style: italic; font-weight: 400; font-size: clamp(38px, 11vw, 72px); line-height: 1; letter-spacing: -.01em; }
.tile-copy p { font-size: 15px; opacity: .92; }
.tile-copy .label { margin-top: 6px; text-decoration: underline; text-underline-offset: 5px; }

/* Two sides */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side { display: grid; gap: 10px; align-content: start; text-decoration: none; }
.side .ph { aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; }
.side .ph img { width: 100%; height: 100%; object-fit: cover; }
.side h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: 22px; letter-spacing: -.03em; text-transform: lowercase; }
.side.sport h3 { color: var(--peri-ink); }
.side.soft h3 { font-family: var(--f-soft); font-style: italic; font-weight: 400; font-size: 28px; letter-spacing: 0; text-transform: none; color: var(--cocoa); }
.side p { font-size: 14px; color: var(--muted); }

/* Story */
.story { background: var(--peri); color: var(--white); }
.story .eyebrow { opacity: .8; }
.story h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(32px, 9vw, 64px); letter-spacing: -.03em; margin: 10px 0 18px; }
.story p { max-width: 58ch; font-size: 16px; }
.story-body { display: grid; gap: 14px; }
.pillars { display: grid; gap: 1px; margin-top: 32px; background: rgba(255, 253, 247, .3); border-radius: 10px; overflow: hidden; }
.pillar { background: var(--peri); padding: 18px 2px; display: grid; gap: 4px; }
.pillar b { font-family: var(--f-soft); font-style: italic; font-weight: 400; font-size: 26px; }
.pillar span { font-size: 14px; opacity: .9; }

/* Visit */
.visit { display: grid; gap: 20px; }
.visit .ph { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.visit .ph img { width: 100%; height: 100%; object-fit: cover; }
.visit h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 28px; letter-spacing: -.02em; margin: 8px 0 10px; }
.visit p { color: var(--muted); max-width: 46ch; }
.hours { margin: 18px 0; display: grid; gap: 4px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; max-width: 320px; border-bottom: 1px solid var(--line); padding-block: 6px; font-variant-numeric: tabular-nums; }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding-block: 48px 32px; }
.footer .wordmark { font-size: 64px; color: var(--peri); }
.footer-tag { margin: 14px 0 26px; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; }
.footer-links a { text-decoration: none; opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer small { display: block; margin-top: 30px; opacity: .6; font-size: 12px; }

/* ---------- Product page ---------- */
.pdp { display: grid; }
.gallery { position: relative; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  height: 78svh; min-height: 440px; background: var(--line);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery-track img.contain { object-fit: contain; background: #fff; }
.gallery-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 253, 247, .55); transition: width .3s, background .3s; }
.gallery-dots i.on { width: 18px; border-radius: 99px; background: var(--white); }
.back {
  position: absolute; top: calc(64px + env(safe-area-inset-top, 0px)); left: var(--gutter); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--paper) 85%, transparent);
  display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.back svg, .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pdp-info { padding: 22px var(--gutter-r) 28px var(--gutter); display: grid; gap: 16px; align-content: start; }
.pdp-badge { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cocoa); }
.pdp-name { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 22px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.15; }
.pdp-price { font-size: 15px; font-variant-numeric: tabular-nums; }
.pdp-price.dm { color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 56px; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; border: 1px solid transparent; padding: 2px; }
.swatch img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.swatch[aria-current="true"] { border-color: var(--ink); }
.color-name { font-size: 13px; color: var(--muted); }
.color-name b { color: var(--ink); font-weight: 600; }
.link-btn { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; justify-self: start; }
.pdp-actions { display: grid; gap: 10px; }
.sticky-add {
  position: sticky; bottom: calc(var(--appbar-h) + 10px); z-index: 5;
  box-shadow: 0 10px 30px rgba(59, 42, 32, .18);
}

/* ---------- Sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(30, 20, 14, .38); animation: fade .25s both; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 86svh; overflow: auto;
  background: var(--paper); border-radius: 18px 18px 0 0;
  padding: 10px var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  animation: up .35s var(--ease) both;
}
.sheet-grip { width: 40px; height: 4px; border-radius: 99px; background: var(--line); margin: 0 auto 10px; }
.sheet-close { position: absolute; top: 8px; right: var(--gutter-r); width: 44px; height: 44px; display: grid; place-items: center; }
.sheet-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.sheet h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 18px; letter-spacing: -.01em; padding-right: 44px; margin: 6px 0 16px; text-transform: uppercase; }
.sheet h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 22px 0 8px; }
.size-list { display: grid; border-top: 1px solid var(--line); }
.size-list button { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; text-align: left; }
.size-list button span { color: var(--muted); font-weight: 400; font-size: 13px; font-variant-numeric: tabular-nums; }
.size-list button:hover, .size-list button:focus-visible { background: var(--cream); }
.detail-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.tbl-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.added { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.added img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.added b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.added span { font-size: 13px; color: var(--muted); }
.sheet .stack { display: grid; gap: 10px; }
.copy-box { width: 100%; min-height: 140px; font: 14px/1.5 var(--f-body); border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--cream); color: var(--ink); resize: vertical; }

/* ---------- Bag ---------- */
.bag-list { display: grid; border-top: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.bag-item img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.bag-item .info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.bag-item .name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.bag-item .meta { font-size: 13px; color: var(--muted); }
.bag-item .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 18px; }
.qty output { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-size: 14px; }
.remove { min-height: 44px; padding: 0 4px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; padding-block: 18px 4px; font-weight: 600; }
.how { margin: 22px 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.how ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.order-btns { display: grid; gap: 10px; }
.empty { padding-block: 40px; display: grid; gap: 18px; justify-items: start; }

/* ---------- Thanks ---------- */
.thanks h1 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(24px, 6.4vw, 40px); letter-spacing: -.02em; text-transform: uppercase; line-height: 1.1; max-width: 18ch; }
.thanks dl { margin: 28px 0; display: grid; gap: 22px; }
.thanks dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.thanks dd { margin: 0; font-size: 15px; }
.thanks .ref { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 18px; letter-spacing: .04em; }
.mini-row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.mini-row .card { scroll-snap-align: start; }

/* ---------- v2 blocks ---------- */
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 18px; height: 18px; }
.note.center { text-align: center; }
.note a { color: var(--ink); }
.btn .icon { width: 18px; height: 18px; }
.btn-ink { background: var(--ink); color: var(--cream); }

/* 3 steps (Sporty side: periwinkle numbers, tight type) */
.steps { background: var(--paper); border-block: 1px solid var(--line); }
.steps.compact { background: none; border: 0; padding-block: 8px 48px; }
.steps .eyebrow { color: var(--peri-ink); }
.steps-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(24px, 6.6vw, 40px); letter-spacing: -.03em; margin: 8px 0 22px; }
.steps.compact .steps-title { font-size: 20px; margin-top: 0; }
.steps-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.steps-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px; background: var(--cream); border-radius: 14px; }
.steps-list .step-n { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--peri); color: var(--white); font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 20px; }
.steps-list b { font-size: 16px; }
.steps-list li > span:last-child { font-size: 14px; color: var(--muted); }

/* Manifesto: exaggerated type, one sporty word + soft serif */
.manifesto { text-align: left; }
.manifesto-line { font-size: clamp(54px, 17vw, 200px); line-height: .9; letter-spacing: -.04em; }
.m-sport { display: block; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%; text-transform: lowercase; color: var(--peri-ink); }
.m-soft { display: block; font-family: var(--f-soft); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--cocoa); font-size: .62em; margin-top: .12em; padding-left: .5em; }
.manifesto-text { margin-top: 26px; max-width: 34ch; font-size: 17px; color: var(--muted); }

/* Run Club band */
.club { background: var(--pink); padding-block: 48px; }
.club-inner { display: grid; gap: 12px; justify-items: start; }
.club .eyebrow { color: var(--cocoa); }
.club h2 { font-family: var(--f-soft); font-style: italic; font-weight: 400; font-size: clamp(40px, 11vw, 80px); line-height: 1; }
.club p { max-width: 40ch; font-size: 16px; }
.club .btn { margin-top: 6px; }

/* Member card link */
.member-wrap { padding-bottom: 48px; }
.member { display: grid; grid-template-columns: 76px 1fr; gap: 6px 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); text-decoration: none; margin-top: 24px; }
.member-card { grid-row: span 2; width: 76px; aspect-ratio: 1.58; border-radius: 8px; background: var(--peri); color: var(--white); display: grid; place-content: center; text-align: center; transform: rotate(-6deg); box-shadow: 0 6px 14px rgba(74, 100, 160, .3); }
.member-card i { font-family: "Archivo", sans-serif; font-style: normal; font-weight: 900; font-stretch: 125%; font-size: 18px; line-height: .9; letter-spacing: -.04em; }
.member-card small { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.member-copy { display: grid; gap: 2px; }
.member-copy b { font-size: 15px; }
.member-copy span { font-size: 13px; color: var(--muted); }
.member-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--peri-ink); }
.member-cta .icon { width: 16px; height: 16px; }

/* Product page: colour, sizes, accordions */
.pdp-color { font-family: var(--f-soft); font-style: italic; font-size: 24px; line-height: 1; color: var(--cocoa); margin-top: -8px; }
.save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--pink); font-size: 12px; font-weight: 700; color: var(--ink); }
.sizes { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.sizes legend { margin-bottom: 10px; color: var(--muted); }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip { min-width: 56px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 700; font-size: 15px; }
.size-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.size-chip:disabled { opacity: .4; text-decoration: line-through; }
.size-note { min-height: 1.4em; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sizes.need .size-chip { border-color: var(--cocoa); }
.sizes.need { animation: nudge .45s var(--ease); }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.fit { font-size: 14px; color: var(--muted); }
.help { justify-self: start; font-size: 13px; }
.pdp-delivery { font-size: 13px; color: var(--muted); text-align: center; }
.accordions { border-top: 1px solid var(--line); }
.accordions details, .faq-list details { border-bottom: 1px solid var(--line); }
.accordions summary, .faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-weight: 700; font-size: 15px; }
.accordions summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.chev { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .3s var(--ease); }
details[open] > summary .chev { transform: rotate(180deg); }
.accordions details > :not(summary) { margin-bottom: 16px; }

/* PromptPay */
.pay { margin: 8px 0 28px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.pay h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.pay-card { width: min(100%, 320px); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(59, 42, 32, .14); border: 1px solid var(--line); }
.pay-brand { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #113566; color: #fff; font-size: 12px; }
.pay-brand b { font-size: 15px; letter-spacing: .02em; }
.qr { padding: 14px 22px 6px; }
.qr svg { width: 100%; height: auto; display: block; }
.pay-amount, .pay-name { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 18px; font-size: 13px; color: var(--muted); }
.pay-amount b { font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-name b { color: var(--ink); font-size: 14px; }
.pay-ref { padding: 8px 18px 16px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.pay-ref b { color: var(--ink); }
.pay-how { max-width: 36ch; font-size: 14px; }
.pay .btn { width: min(100%, 320px); }
.pay .note { max-width: 36ch; }
.pay-dm { grid-template-columns: 28px 1fr; justify-items: start; text-align: left; align-items: center; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; }
.pay-dm .icon { width: 26px; height: 26px; }

/* FAQ */
.faq-page { max-width: 760px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list summary { min-height: 60px; font-size: 16px; }
.faq-list p { padding-bottom: 18px; color: var(--muted); max-width: 60ch; }
.faq-more { display: grid; gap: 12px; justify-items: start; margin-top: 32px; }
.faq-more .btn { width: auto; }

/* Footer columns */
.footer-cols { display: grid; gap: 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--appbar-h) + 16px); z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 99px; font-size: 14px;
  transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Page transitions ---------- */
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  :root { --appbar-h: 0px; }
  .appbar { display: none; }
  .topbar { padding-block: 16px; }
  .topbar-nav { display: flex; gap: 22px; font-size: 13px; font-weight: 500; }
  .topbar-nav a, .topbar-bag { text-decoration: none; }
  .topbar-nav a:hover, .topbar-bag:hover { text-decoration: underline; text-underline-offset: 4px; }
  .topbar-bag { display: inline; font-size: 13px; font-weight: 600; }

  .hero { height: 190svh; }
  .hero-sticky { background: var(--cream); display: grid; grid-template-columns: 1fr minmax(0, 66svh); }
  .hero-stage { position: relative; inset: auto; height: 100svh; overflow: hidden; grid-column: 2; background: #A04134; }
  .hero-shade { display: none; }
  .hero-copy { position: relative; grid-column: 1; grid-row: 1; align-self: end; color: var(--ink); padding: 0 48px 9svh var(--gutter); gap: 18px; }
  .hero-copy .eyebrow { color: var(--peri-ink); }
  .hero-copy h1 { font-size: clamp(48px, 5.6vw, 92px); }
  .hero-copy p { font-size: 18px; color: var(--muted); opacity: 1; }
  .hero .btn-light { background: var(--ink); color: var(--cream); }
  .scroll-cue { display: none; }
  .hero-word .wordmark { font-size: 32cqw; }
  .topbar.on-hero { background: linear-gradient(to bottom, color-mix(in srgb, var(--cream) 85%, transparent), transparent); }
  .topbar.on-hero { color: var(--ink); }

  .section { padding-block: 88px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile { height: 88svh; }
  .sides { gap: 24px; }
  .story-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
  .pillars { margin-top: 0; }
  .visit { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 56px; }

  .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); align-items: start; padding-top: 64px; }
  .gallery-track { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; overflow: visible; background: none; }
  .gallery-track img { height: auto; aspect-ratio: 3 / 4; }
  .gallery-track img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .gallery-dots, .back { display: none; }
  .pdp-info { position: sticky; top: 72px; padding: 40px 56px; max-width: 520px; }
  .sticky-add { position: static; box-shadow: none; }
  .sheet { left: auto; right: 0; top: 0; bottom: 0; width: 440px; max-height: none; border-radius: 0; animation-name: side-in; padding-top: 28px; }
  .sheet-grip { display: none; }
  .bag-page { max-width: 720px; }
  .mini-row { grid-auto-columns: 22%; }
  .toast { bottom: 28px; }
}
@keyframes side-in { from { transform: translateX(100%); } }
@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps-list li { padding: 24px; grid-template-columns: 1fr; row-gap: 8px; }
  .steps-list .step-n { grid-row: auto; margin-bottom: 10px; }
  .steps.compact .steps-list li { padding: 18px; }
  .manifesto .wrap { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 48px; }
  .manifesto-text { margin: 0 0 1.2em; font-size: 19px; }
  .sides { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
  .side.soft { margin-top: 120px; }
  .side .ph { aspect-ratio: 4 / 5; }
  .side h3 { font-size: 34px; }
  .side.soft h3 { font-size: 44px; }
  .side p { font-size: 16px; }
  .club { padding-block: 88px; }
  .club-inner { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
  .club-inner > * { grid-column: 1; }
  .club .btn { grid-column: 2; grid-row: 2 / span 2; align-self: end; width: auto; }
  .member { max-width: 560px; }
  .footer-cols { grid-template-columns: auto auto; justify-content: start; gap: 64px; }
  .footer-links { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
  .pdp-info .accordions { margin-top: 8px; }
  .pdp-delivery { text-align: left; }
  .pay { justify-items: start; text-align: left; }
}


/* ==========================================================
   Motion — calm entrances, small springy feedback like an app
   ========================================================== */

/* Hero entrance, starts when the intro fades (html.ready) */
html.ready .hero-bg img { animation: hero-bg-in 2s var(--smooth) both; }
html.ready .hero-word .wordmark { animation: word-in 1.5s .12s var(--smooth) both; }
html.ready .hero-person img { animation: person-in 1.5s .28s var(--spring) both; }
html.ready .hero-copy > * { animation: fade-up 1s var(--smooth) both; }
html.ready .hero-copy > :nth-child(1) { animation-delay: .55s; }
html.ready .hero-copy > :nth-child(2) { animation-delay: .65s; }
html.ready .hero-copy > :nth-child(3) { animation-delay: .75s; }
html.ready .hero-copy > :nth-child(4) { animation-delay: .9s; animation-timing-function: var(--spring); }
html.ready:not(.no-intro) .topbar { animation: drop-in .9s .45s var(--smooth) both; }
html.ready:not(.no-intro) .appbar { animation: bar-up .9s .6s var(--spring) both; }
html.no-intro .hero-copy > * { animation-duration: .6s !important; animation-delay: 0s !important; }
@keyframes hero-bg-in { from { opacity: 0; transform: scale(1.18); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(40px); letter-spacing: .04em; } to { opacity: 1; transform: none; } }
@keyframes person-in { from { opacity: 0; transform: translateY(70px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-16px); } }
@keyframes bar-up { from { transform: translateY(100%); } }

/* Page change: soft rise + fade */
.view { animation: view-in .6s var(--smooth) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(16px) scale(.995); } }

/* Scroll reveal: below-the-fold items wait, then spring up in a short stagger */
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(34px); }
.reveal.in { animation: rise .9s var(--d, 0ms) var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(34px) scale(.98); } to { opacity: 1; transform: none; } }

/* Press feedback */
.btn, .card, .tile, .swatch, .chips a, .lang-switch button, .size-list button, .menu-link, .qty button, .back, .sheet-close, .link-btn {
  transition: transform .5s var(--spring), background .25s, color .25s, border-color .25s, opacity .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active, .chips a:active, .lang-switch button:active, .back:active, .sheet-close:active { transform: scale(.95); transition-duration: .12s; }
.card:active, .tile:active { transform: scale(.975); transition-duration: .15s; }
.swatch:active, .qty button:active { transform: scale(.88); transition-duration: .12s; }
.size-list button:active, .menu-link:active { transform: scale(.985); transition-duration: .12s; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); }
  .btn:hover { transform: translateY(-2px); }
}

/* App bar: icons squish on tap and pop when active */
.appbar a, .appbar button { -webkit-tap-highlight-color: transparent; }
.appbar svg { transition: transform .5s var(--spring); }
.appbar a:active svg, .appbar button:active svg { transform: scale(.78); transition-duration: .1s; }
.appbar [aria-current="page"] svg { animation: pop .6s var(--spring); }
@keyframes pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
.bag-count { display: inline-block; }
.bag-count.bump { animation: bump .7s var(--spring); color: var(--peri-ink); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.6); } 100% { transform: scale(1); } }

/* Sheets: springy slide up, smooth slide away */
.sheet { animation: sheet-up .6s var(--spring) both; margin-bottom: -40px; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.sheet-backdrop { animation: fade .4s var(--smooth) both; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.sheet.closing { animation: sheet-down .28s var(--smooth) both; }
.sheet-backdrop.closing { animation: fade-out .28s var(--smooth) both; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade-out { to { opacity: 0; } }
.sheet-body > * { animation: fade-up .5s var(--smooth) both; }
.sheet-body > :nth-child(2) { animation-delay: .05s; }
.sheet-body > :nth-child(3) { animation-delay: .1s; }
.sheet-body > :nth-child(n+4) { animation-delay: .15s; }

/* Toast springs in */
.toast { transition: opacity .3s, transform .55s var(--spring); }

/* Gallery images settle in */
.gallery-track img { animation: img-in 1.1s var(--smooth) both; }
@keyframes img-in { from { opacity: 0; transform: scale(1.06); } }

@media (min-width: 900px) {
  .sheet { margin-bottom: 0; padding-bottom: 24px; animation: side-in .55s var(--smooth) both; }
  .sheet.closing { animation: side-out .28s var(--smooth) both; }
  @keyframes side-out { to { transform: translateX(100%); } }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal:not(.in) { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero { height: 100svh; }
}
