/* ==========================================================
   FLOW MOTION — stylesheet
   ========================================================== */
:root {
  /* Palette — every text colour meets WCAG AA (4.5:1) on --bg and --paper */
  --bg: #F5F4EF;
  --paper: #FBFAF7;
  --ink: #0A0A0A;
  --ink-2: #2B2A27;
  --muted: #6D6D66;
  --line: #DCD8CF;
  --tile: #E9E6DE;
  --accent: #B1A494;          /* brand orange: fills, icons, large display text */
  --accent-text: #6D6D66;     /* orange for small text */
  --on-accent: #0A0A0A;
  --ok: #2F7D4F;
  --danger: #B42318;          /* errors (not the brand orange) */
  --on-ink: #FFFFFF;          /* text on solid ink fills (buttons, chips) */
  --field: #FFFFFF;           /* form inputs */
  --dark: #0E0E0E;            /* always-dark blocks: announcement, footer, spotlight */
  --header-bg: rgba(245,244,239,.92);
  --glass: rgba(250,249,246,.9);
  --hover: rgba(0,0,0,.06);
  --disabled: #b5b2aa;
  --wordmark: #1e1e1e;
  --shadow: rgba(0,0,0,.12);
  color-scheme: light;
  --radius: 4px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 68px;
  --display: 'Michroma', 'Arial Black', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Dark theme: follows the device unless the visitor picks one (data-theme on <html>) */
:root[data-theme="dark"] {
  --bg: #0A0A0A;
  --paper: #1A1A18;
  --ink: #F2F0EB;
  --ink-2: #D6D3CC;
  --muted: #9C9991;
  --line: #2F2E2B;
  --tile: #2B2A27;
  --on-ink: #0E0E0E;
  --field: #161615;
  --dark: #080808;
  --header-bg: rgba(17,17,16,.88);
  --glass: rgba(26,26,24,.9);
  --hover: rgba(255,255,255,.08);
  --disabled: #55534E;
  --wordmark: #161615;
  --shadow: rgba(0,0,0,.5);
  --accent: #B1A494;
  --accent-text: #C9BEAE;
  --on-accent: #0A0A0A;
  --ok: #5CBF8A;
  --danger: #FF6B5E;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0A0A0A;
  --paper: #1A1A18;
  --ink: #F2F0EB;
  --ink-2: #D6D3CC;
  --muted: #9C9991;
  --line: #2F2E2B;
  --tile: #2B2A27;
  --on-ink: #0E0E0E;
  --field: #161615;
  --dark: #080808;
  --header-bg: rgba(17,17,16,.88);
  --glass: rgba(26,26,24,.9);
  --hover: rgba(255,255,255,.08);
  --disabled: #55534E;
  --wordmark: #161615;
  --shadow: rgba(0,0,0,.5);
  --accent: #B1A494;
  --accent-text: #C9BEAE;
  --on-accent: #0A0A0A;
  --ok: #5CBF8A;
  --danger: #FF6B5E;
  color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); transition: background-color .3s, color .3s;
  font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { padding-inline: var(--gutter); }
.eyebrow { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.link { text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink);
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn--block { width: 100%; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; position: relative; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--hover); }
.icon-btn svg, .service svg, .socials svg, .wish svg, .qty svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font: 700 10px/17px var(--sans); text-align: center; }

/* ---------- logo ---------- */
.logo { display: inline-flex; flex-direction: column; font-family: var(--display); font-size: 17px; line-height: .98; letter-spacing: .04em; }
.logo sup { font-family: var(--sans); font-size: 8px; font-weight: 700; margin-left: 2px; vertical-align: top; position: relative; top: -2px; }
.logo--sm { font-size: 14px; }

/* ---------- announcement ---------- */
.announce { background: var(--dark); color: #fff; height: 34px; overflow: hidden; position: relative; }
.announce__track p {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease);
}
.announce__track p.is-on { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--gutter); }
.site-header .logo { justify-self: center; }
.main-nav { display: flex; gap: 26px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; height: 100%; align-items: center; }
.main-nav a { position: relative; padding: 6px 0; }
.main-nav > a::after, .has-mega > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:hover::after, .main-nav a.is-active::after, .has-mega:hover > a::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.currency select { border: 0; background: transparent; font: 600 12px var(--sans); letter-spacing: .08em; padding: 6px 4px; cursor: pointer; }
.currency--block { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); border-top: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.currency--block select { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: var(--field); }

.has-mega { height: 100%; display: flex; align-items: center; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease); }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 32px; padding: 36px var(--gutter) 40px; text-transform: none; letter-spacing: 0; }
.mega h4 { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.mega__inner > div a { display: block; font: 500 15px/1 var(--sans); padding: 7px 0; transition: opacity .2s; }
.mega__inner > div a:hover { opacity: .55; }
.mega__all { margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; font-size: 13px !important; }
.mega__feature { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature span { position: absolute; left: 18px; bottom: 16px; color: #fff; font: 600 18px/1.1 var(--sans); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.mega__feature small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }

.only-mobile { display: none; }
@media (max-width: 960px) {
  .main-nav, .only-desktop { display: none !important; }
  .only-mobile { display: grid; }
  :root { --header-h: 58px; }
  .logo { font-size: 14px; }
}

/* ---------- overlay & drawers ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10,10,10,.4); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.is-on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transition: transform .45s var(--ease), visibility .45s; visibility: hidden; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); width: min(380px, 92%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.drawer__foot { padding: 20px var(--gutter); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot:empty { display: none; }
.drawer__foot .row { display: flex; justify-content: space-between; font-size: 16px; }
.mobile-nav { flex: 1; overflow: auto; padding: 8px var(--gutter); }
.mobile-nav > a, .mobile-nav summary { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font: 600 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: '+'; float: right; font-weight: 400; }
.mobile-nav details[open] summary::after { content: '–'; }
.mobile-nav details a { display: block; padding: 10px 0 10px 12px; font-size: 15px; }
.mobile-nav details[open] { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mobile-nav details[open] summary { border-bottom: 0; }

/* ---------- cart ---------- */
.ship-meter { padding: 14px var(--gutter); background: var(--bg); font-size: 13px; }
.ship-meter:empty { display: none; }
.meter { height: 4px; background: var(--line); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }
.cart-lines { flex: 1; overflow: auto; padding: 0 var(--gutter); }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img { background: var(--tile); border-radius: var(--radius); aspect-ratio: 4/5; padding: 6px; }
.line__img svg { width: 100%; height: 100%; }
.line__name { font-weight: 600; }
.line__info .muted { font-size: 13px; margin-top: 2px; }
.line__row { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.line__price { font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; }
.qty svg { width: 14px; height: 14px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 600; }
.empty { text-align: center; padding: 60px 0; display: grid; gap: 18px; justify-items: center; }

/* ---------- search ---------- */
.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 110; background: var(--paper); transform: translateY(-100%); transition: transform .45s var(--ease), visibility .45s; visibility: hidden; box-shadow: 0 30px 60px var(--shadow); max-height: 90vh; overflow: auto; }
.search-panel.is-open { transform: none; visibility: visible; }
.search-panel__inner { padding: 20px var(--gutter) 36px; max-width: 1100px; margin: 0 auto; }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; }
.search-form > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.search-form input { flex: 1; border: 0; background: transparent; font-size: clamp(18px, 3vw, 26px); outline: none; padding: 10px 0; min-width: 0; }
.search-suggest { padding-top: 24px; }
.search-suggest h4 { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.suggest-popular button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin: 0 6px 8px 0; font-size: 13px; transition: .2s; }
.suggest-popular button:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.suggest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 18px; }
.suggest-item { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: var(--radius); transition: background .2s; }
.suggest-item:hover { background: var(--bg); }
.suggest-item__img { width: 64px; flex: none; aspect-ratio: 4/5; background: var(--tile); border-radius: var(--radius); padding: 4px; }
.suggest-item small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(10,10,10,.45); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; background: var(--paper); border-radius: 8px; max-width: 760px; width: 100%; max-height: 90vh; overflow: auto; padding: 36px; transform: translateY(16px); transition: transform .4s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__x { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--paper); }
.modal--popup .modal__box { padding: 0; max-width: 820px; }
.popup { display: grid; grid-template-columns: 1fr 1fr; }
.popup img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.popup__body { padding: 44px 36px; display: grid; gap: 16px; align-content: center; }
.popup__body h2 { font: 400 24px/1.2 var(--display); text-transform: uppercase; }
@media (max-width: 640px) { .popup { grid-template-columns: 1fr; } .popup img { min-height: 0; height: 200px; } .popup__body { padding: 28px 22px; } }

/* ---------- toast & cookie ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--on-ink); padding: 12px 20px; border-radius: 999px; font-size: 13px; z-index: 130; opacity: 0; pointer-events: none; transition: .35s var(--ease); white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 115; max-width: 420px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: 0 20px 50px var(--shadow); display: grid; gap: 14px; font-size: 13px; transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease); }
.cookie.is-on { transform: none; }
.cookie a { text-decoration: underline; }
.cookie div { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 520px) { .cookie { right: 16px; } }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100svh - var(--header-h) - 34px); min-height: 520px; max-height: 920px; overflow: hidden; background: #111; color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-on { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-on img { transform: scale(1); }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.6)); }
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 9vh, 96px); z-index: 2; display: grid; gap: 18px; justify-items: start; }
.hero__copy h1, .hero__copy h2 { font: 400 clamp(30px, 6.2vw, 88px)/1 var(--display); text-transform: uppercase; max-width: 14ch; }
.hero__copy > * { opacity: 0; transform: translateY(24px); transition: .9s var(--ease); }
.hero__slide.is-on .hero__copy > * { opacity: 1; transform: none; }
.hero__slide.is-on .hero__copy > :nth-child(2) { transition-delay: .12s; }
.hero__slide.is-on .hero__copy > :nth-child(3) { transition-delay: .24s; }
.hero__nav { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 22px; display: flex; gap: 12px; align-items: center; }
.hero__dots { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.hero__dot { flex: 1; height: 26px; display: flex; align-items: center; }
.hero__dot i { display: block; height: 2px; width: 100%; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__dot i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-done i::after { transform: scaleX(1); }
.hero__dot.is-on i::after { animation: heroProgress var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-on i::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero__arrows { margin-left: auto; display: flex; gap: 6px; }
.hero__arrows button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.hero__arrows button:hover { background: #fff; color: var(--ink); }
.hero__arrows svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero__counter { font: 600 12px/1 var(--sans); letter-spacing: .1em; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-inline: var(--gutter); margin-bottom: 28px; }
.section-head h2 { font: 400 clamp(20px, 2.6vw, 34px)/1.1 var(--display); text-transform: uppercase; }
.section-head p { color: var(--muted); margin-top: 8px; }
.section-head__actions { display: flex; align-items: center; gap: 10px; }
.arrow-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.arrow-btn:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.arrow-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 640px) { .arrow-btn { display: none; } }

/* ---------- rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 640px) { .rail { grid-auto-columns: 72%; } }

/* ---------- product card ---------- */
.card { position: relative; }
.card__media { position: relative; aspect-ratio: 4/5; background: var(--tile); border-radius: var(--radius); overflow: hidden; }
.card__link { position: absolute; inset: 0; }
.card__render { position: absolute; inset: 8%; transition: transform .6s var(--ease), opacity .5s; }
.card__render svg { width: 100%; height: 100%; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
@media (hover: hover) { .card:hover .card__link:has(.card__photo) .card__img { opacity: 0; } }
.card__price s { font-size: 13px; margin-left: 6px; }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s, transform 1s var(--ease); transform: scale(1.04); }
@media (hover: hover) {
  .card:hover .card__photo { opacity: 1; transform: none; }
  .card:hover .card__link:has(.card__photo) .card__render { opacity: 0; }
}
.tag { position: absolute; top: 12px; left: 12px; background: var(--paper); padding: 5px 9px; border-radius: 2px; font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.wish { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); transition: .2s; z-index: 2; }
.wish svg { width: 18px; height: 18px; }
.wish:hover { background: var(--paper); }
.wish.is-on svg { fill: var(--accent); stroke: var(--accent); }
.quick-add { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--radius); padding: 10px; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transform: translateY(calc(100% + 12px)); transition: transform .4s var(--ease); z-index: 2; }
.quick-add__sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.quick-add__sizes button { flex: 1; min-width: 36px; height: 32px; border: 1px solid var(--line); border-radius: 2px; font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; transition: .15s; background: var(--field); }
.quick-add__sizes button:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.quick-add__sizes button:disabled { color: var(--disabled); text-decoration: line-through; pointer-events: none; }
@media (hover: hover) { .card:hover .quick-add, .card:focus-within .quick-add { transform: none; } }
.card__body { padding: 12px 2px 0; display: grid; gap: 3px; }
.card__meta { font: 600 10px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__title { font: 600 14px/1.3 var(--sans); }
.card__price { font-size: 14px; }
.swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(128,128,128,.35); position: relative; }
.swatch::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid transparent; transition: .2s; }
.swatch.is-on::after { border-color: var(--ink); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 14px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; } }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-inline: var(--gutter); }
.tile { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); color: #fff; background: #222; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.tile__copy { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: grid; gap: 8px; justify-items: start; }
.tile__copy h3 { font: 400 clamp(18px, 2vw, 26px)/1.1 var(--display); text-transform: uppercase; }
.tile__copy p { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tile__cta { margin-top: 6px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1.5px solid #fff; padding-bottom: 4px; }
@media (max-width: 820px) {
  .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
}

/* ---------- spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--dark); color: #fff; min-height: 640px; }
.spotlight__media { position: relative; overflow: hidden; }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.spotlight__body { padding: clamp(36px, 6vw, 88px) var(--gutter); display: grid; align-content: center; gap: 22px; }
.spotlight__body h2 { font: 400 clamp(26px, 3.6vw, 52px)/1.05 var(--display); text-transform: uppercase; }
.spotlight__body > p { color: #bdbab3; max-width: 46ch; }
.spotlight__render { background: #1c1c1c; border-radius: var(--radius); aspect-ratio: 5/4; max-width: 360px; padding: 18px; }
.spotlight__render svg { width: 100%; height: 100%; }
.spotlight .swatches { gap: 10px; }
.spotlight .swatch { width: 22px; height: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.spotlight .swatch.is-on::after { border-color: #fff; }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #333; border: 1px solid #333; border-radius: var(--radius); overflow: hidden; }
.spec-list div { background: var(--ink); padding: 14px; }
.spec-list strong { display: block; font: 400 18px/1.1 var(--display); }
.spec-list span { font-size: 11px; color: #9a978f; letter-spacing: .08em; text-transform: uppercase; }
.spotlight__price { font-size: 20px; font-weight: 600; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } .spotlight__media { aspect-ratio: 4/3; } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(70px, 11vw, 150px) var(--gutter); text-align: center; }
.manifesto p { font: 400 clamp(22px, 3.8vw, 52px)/1.2 var(--display); text-transform: uppercase; max-width: 22ch; margin: 0 auto; }
.manifesto em { font-style: normal; color: var(--accent-text); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; font: 400 clamp(14px, 1.6vw, 20px)/1 var(--display); text-transform: uppercase; }
.marquee__track span::after { content: '✦'; margin-left: 48px; font-size: .7em; vertical-align: middle; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- lookbook ---------- */
.lookbook { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; aspect-ratio: 2 / 1.15; }
.lookbook__item { position: relative; overflow: hidden; border-radius: var(--radius); background: #222; color: #fff; }
.lookbook__item--main { grid-row: span 2; }
.lookbook__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lookbook__item:hover img { transform: scale(1.05); }
.lookbook__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
.lookbook__cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font: 600 15px/1.2 var(--sans); }
.lookbook__item--main .lookbook__cap { font: 400 clamp(20px, 2.4vw, 34px)/1.1 var(--display); text-transform: uppercase; left: 24px; bottom: 22px; }
.lookbook__cap small { display: block; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; opacity: .85; }
@media (max-width: 820px) {
  .lookbook { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .lookbook__item { aspect-ratio: 4/5; }
  .lookbook__item--main { grid-column: span 2; grid-row: auto; aspect-ratio: 1; }
}

/* ---------- journal cards ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-inline: var(--gutter); }
.story { display: grid; gap: 14px; align-content: start; }
.story__img { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--tile); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story:hover .story__img img { transform: scale(1.04); }
.story h3 { font: 600 19px/1.25 var(--sans); }
.story p { color: var(--muted); font-size: 14px; }
.story .eyebrow { color: var(--muted); }
@media (max-width: 820px) { .journal-grid { grid-template-columns: 1fr; } }

/* ---------- newsletter block ---------- */
.signup { margin: 0 var(--gutter); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: #fff; }
.signup img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.signup__body { padding: clamp(32px, 5vw, 72px); display: grid; gap: 16px; align-content: center; }
.signup__body h2 { font: 400 clamp(22px, 3vw, 40px)/1.1 var(--display); text-transform: uppercase; }
.signup__body p { color: #bdbab3; }
.signup small { color: #8d8a83; }
.signup small a { text-decoration: underline; }
@media (max-width: 820px) { .signup { grid-template-columns: 1fr; } .signup img { min-height: 0; height: 240px; } }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid #555; background: transparent; color: inherit; }
.news-form input::placeholder { color: #8d8a83; }
.news-form--stack { flex-direction: column; }
.news-form--stack input { border-color: var(--line); background: var(--field); color: var(--ink); }
.news-ok { padding: 12px 0; font-weight: 600; }

/* ---------- services & footer ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 110px); }
.service { display: flex; gap: 16px; padding: 34px var(--gutter); border-right: 1px solid var(--line); transition: background .2s; }
.service:last-child { border-right: 0; }
.service:hover { background: var(--paper); }
.service svg { flex: none; width: 26px; height: 26px; }
.service h3 { font: 600 14px/1.2 var(--sans); margin-bottom: 6px; }
.service p { font-size: 13px; color: var(--muted); }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } .service { border-right: 0; border-bottom: 1px solid var(--line); } }

.site-footer { background: var(--dark); color: #fff; padding-top: 64px; overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; padding-inline: var(--gutter); }
.footer-news { display: grid; gap: 14px; align-content: start; max-width: 460px; }
.footer-news h3 { font: 400 20px/1.1 var(--display); text-transform: uppercase; }
.footer-news p, .footer-news small { color: #a9a69e; }
.footer-news small a { text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8d8a83; margin-bottom: 16px; }
.footer-cols a { display: block; padding: 6px 0; font-size: 14px; transition: opacity .2s; }
.footer-cols a:hover { opacity: .6; }
.footer-wordmark { font: 400 clamp(40px, 11.6vw, 190px)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; text-align: center; margin: 64px 0 0; color: var(--wordmark); user-select: none; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px var(--gutter); border-top: 1px solid #262626; font-size: 12px; color: #8d8a83; }
.socials { display: flex; gap: 6px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .2s; }
.socials a:hover { background: #262626; }
.socials svg { width: 18px; height: 18px; }
.legal { display: flex; gap: 18px; }
.legal a:hover { color: #fff; }
@media (max-width: 820px) { .site-footer__top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, 1fr); } }

/* ---------- page head ---------- */
.page-head { padding: clamp(36px, 5vw, 64px) var(--gutter) 24px; display: grid; gap: 10px; }
.page-head h1 { font: 400 clamp(26px, 4vw, 54px)/1.05 var(--display); text-transform: uppercase; }
.page-head p { color: var(--muted); max-width: 60ch; }
.crumbs { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.banner { position: relative; height: clamp(260px, 38vw, 480px); overflow: hidden; color: #fff; background: #222; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.55)); }
.banner__copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 32px; display: grid; gap: 10px; }
.banner__copy h1 { font: 400 clamp(28px, 5vw, 68px)/1 var(--display); text-transform: uppercase; }
.banner__copy p { max-width: 52ch; }

/* ---------- shop ---------- */
.cat-pills { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 500; transition: .2s; white-space: nowrap; }
.pill:hover { border-color: var(--ink); }
.pill.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 24px var(--gutter) 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar select { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--paper); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.chip::after { content: '×'; font-size: 14px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters__head { display: none; }
.filter { border-top: 1px solid var(--line); padding: 16px 0; }
.filter summary { display: flex; justify-content: space-between; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; list-style: none; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary::after { content: '+'; font-size: 14px; }
.filter[open] summary::after { content: '–'; }
.filter__body { padding-top: 14px; display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.check .count { color: var(--muted); font-size: 12px; margin-left: auto; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.size-grid label { position: relative; }
.size-grid input, .color-grid input { position: absolute; opacity: 0; }
.size-grid span { display: grid; place-items: center; height: 36px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; font-weight: 600; cursor: pointer; transition: .15s; }
.size-grid input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.size-grid input:focus-visible + span, .color-grid input:focus-visible + span { outline: 2px solid var(--accent); }
.color-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.color-grid label { position: relative; }
.color-grid span { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.color-grid span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 1px solid transparent; outline-offset: 2px; }
.color-grid input:checked + span::before { outline-color: var(--ink); }
.price-range { display: grid; gap: 8px; }
.price-range input[type=range] { width: 100%; accent-color: var(--ink); }
.filter-btn { display: none; }
.no-results { padding: 60px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .filter-btn { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 90%); max-height: none; z-index: 100; background: var(--paper); padding: 0 var(--gutter) 24px; transform: translateX(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; position: sticky; top: 0; background: var(--paper); z-index: 1; }
  .filters__head h2 { font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
}

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); padding: 20px var(--gutter) 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery__item { background: var(--tile); border-radius: var(--radius); aspect-ratio: 4/5; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery__item--render { padding: 6%; }
.gallery__item svg, .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item:first-child { grid-column: span 2; aspect-ratio: 5/4; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; gap: 22px; }
.pdp__title h1 { font: 600 clamp(22px, 2.4vw, 30px)/1.15 var(--sans); margin-top: 8px; }
.pdp__price { font-size: 20px; margin-top: 10px; }
.pdp__tech { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pdp__tech a { text-decoration: underline; color: var(--ink); }
.opt-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.opt-label strong { font-weight: 600; }
.pdp .swatches { gap: 12px; margin: 0; }
.pdp .swatch { width: 30px; height: 30px; }
.pdp .swatch::after { inset: -5px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.sizes button { height: 46px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font-weight: 600; font-size: 13px; transition: .15s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.sizes button:disabled { color: var(--disabled); background: transparent; text-decoration: line-through; cursor: not-allowed; }
.sizes.is-error button:not(:disabled) { border-color: var(--danger); }
.size-error { color: var(--danger); font-size: 13px; margin-top: 8px; }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; }
.buy-row .qty { height: 52px; }
.buy-row .btn { height: 52px; }
.buy-row .wish { position: static; width: 52px; height: 52px; border: 1px solid var(--line); background: var(--paper); }
.perks { display: grid; gap: 10px; font-size: 13px; padding: 16px; background: var(--paper); border-radius: var(--radius); }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 18px 0; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 16px; font-weight: 400; }
.accordion details[open] summary::after { content: '–'; }
.accordion .acc-body { padding-bottom: 20px; font-size: 14px; color: var(--ink-2); display: grid; gap: 10px; }
.accordion ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter); display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .35s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .btn { flex: none; height: 44px; }
.sticky-buy__info { flex: 1; min-width: 0; font-size: 13px; }
.sticky-buy__info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; padding-inline: 0; }
  .pdp__info { position: static; padding-inline: var(--gutter); }
  .gallery { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item, .gallery__item:first-child { grid-column: auto; aspect-ratio: 4/5; scroll-snap-align: center; }
  .sticky-buy { display: flex; }
}
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.size-table th, .size-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table th { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.lightbox .modal__box { max-width: 1000px; padding: 0; background: var(--tile); }
.lightbox img, .lightbox svg { width: 100%; max-height: 86vh; object-fit: contain; }

/* ---------- cart page & checkout ---------- */
.cart-page { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 0 var(--gutter); align-items: start; }
.cart-page .line { grid-template-columns: 110px 1fr auto; }
.summary { background: var(--paper); border-radius: 8px; padding: 24px; display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.summary .row { display: flex; justify-content: space-between; font-size: 14px; }
.summary .row--total { font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 14px; }
.promo { display: flex; gap: 6px; }
.promo input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--field); text-transform: uppercase; }
.promo .btn { height: 44px; border-radius: var(--radius); }
.promo-msg { font-size: 12px; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.err { color: var(--danger); }
@media (max-width: 900px) { .cart-page { grid-template-columns: 1fr; } .summary { position: static; } }

.checkout { display: grid; grid-template-columns: 1fr 420px; min-height: 100vh; }
.checkout__main { padding: 32px clamp(16px, 5vw, 72px) 60px; display: grid; gap: 28px; align-content: start; max-width: 720px; justify-self: end; width: 100%; }
.checkout__side { background: var(--paper); border-left: 1px solid var(--line); padding: 32px clamp(16px, 3vw, 40px); }
.checkout__side .summary { background: none; padding: 0; top: 32px; }
.checkout .logo { font-size: 16px; }
.steps { display: flex; gap: 8px; font-size: 12px; color: var(--muted); }
.steps b { color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
legend { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; }
.field input, .field select, .field textarea { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--field); width: 100%; }
.field textarea { height: auto; padding: 12px 14px; min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input:user-invalid { border-color: var(--danger); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two, .three { grid-template-columns: 1fr; } }
.radio-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--field); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card input { accent-color: var(--ink); width: 18px; height: 18px; }
.radio-card span { flex: 1; font-size: 14px; }
.radio-card small { display: block; color: var(--muted); font-size: 12px; }
.pay-note { border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; background: var(--field); font-size: 13px; color: var(--muted); }
.mini-lines .line { grid-template-columns: 64px 1fr auto; padding: 12px 0; }
.mini-lines .line__img { position: relative; }
.mini-lines .line__img b { position: absolute; top: -6px; right: -6px; background: var(--muted); color: var(--on-ink); width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .checkout__main { justify-self: stretch; max-width: none; }
}
.confirm { max-width: 640px; margin: 0 auto; padding: 60px var(--gutter); text-align: center; display: grid; gap: 18px; justify-items: center; }
.confirm__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.confirm__tick svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ---------- about / content pages ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); padding-inline: var(--gutter); align-items: center; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.split__copy { display: grid; gap: 18px; max-width: 520px; }
.split__copy h2 { font: 400 clamp(22px, 3vw, 40px)/1.1 var(--display); text-transform: uppercase; }
.split__copy p { color: var(--ink-2); }
.split--rev > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stats div { padding: 36px var(--gutter); border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font: 400 clamp(26px, 3.4vw, 46px)/1 var(--display); }
.stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-inline: var(--gutter); }
.tech-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: grid; }
.tech-card img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.tech-card div { padding: 20px; display: grid; gap: 8px; }
.tech-card h3 { font: 400 17px/1.1 var(--display); text-transform: uppercase; }
.tech-card p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 1000px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: 1fr; } }

.article { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 20px; font-size: 17px; line-height: 1.7; }
.article__hero { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); margin: 0 var(--gutter); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }

.help { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 0 var(--gutter); }
.help nav { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; gap: 4px; }
.help nav a { padding: 8px 12px; border-radius: var(--radius); font-size: 14px; font-weight: 500; }
.help nav a:hover { background: var(--paper); }
.help section { padding-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.help section h2 { font: 400 22px/1.1 var(--display); text-transform: uppercase; }
.help section p, .help section li { color: var(--ink-2); max-width: 68ch; }
.help .accordion { max-width: 760px; }
.contact-form { display: grid; gap: 12px; max-width: 620px; }
@media (max-width: 820px) { .help { grid-template-columns: 1fr; } .help nav { position: static; display: flex; overflow-x: auto; } .help nav a { white-space: nowrap; } }

.tabs { display: flex; gap: 6px; padding-inline: var(--gutter); margin-bottom: 24px; }
.orders { display: grid; gap: 12px; padding-inline: var(--gutter); max-width: 900px; }
.order { background: var(--paper); border-radius: 8px; padding: 20px; display: grid; gap: 10px; }
.order__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.order__thumbs { display: flex; gap: 8px; }
.order__thumbs span { width: 56px; aspect-ratio: 4/5; background: var(--tile); border-radius: var(--radius); padding: 3px; }
.status { font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--tile); padding: 6px 8px; border-radius: 2px; }

/* ---------- reveal ---------- */
/* Scroll motion is a gentle slide only: content is never transparent, so it can't leave an empty gap
   even if the browser pauses animations (background tabs, battery saver, slow devices). */
html.can-reveal .reveal { transform: translateY(18px); transition: transform .7s var(--ease); }
html.can-reveal .reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- theme toggle ---------- */
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.appearance { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px var(--gutter); border-top: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg button.is-on { background: var(--ink); color: var(--on-ink); }

/* ---------- polish ---------- */
::selection { background: var(--accent); color: var(--on-accent); }
html { scrollbar-color: var(--line) var(--bg); }
.tag { color: var(--ink); }
.tag--accent { background: var(--accent); color: var(--on-accent); }

/* ---------- order tracking ---------- */
.track { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.track__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.track__form .btn { height: 48px; }
.track__form .size-error { grid-column: 1 / -1; margin: 0; }
.track__card { margin-top: 32px; background: var(--paper); border-radius: 12px; padding: clamp(18px, 4vw, 32px); display: grid; gap: 24px; }
.track__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.track__head h2 { font: 400 clamp(18px, 3vw, 24px)/1.2 var(--display); text-transform: uppercase; margin-top: 6px; }
.track__lines .line { grid-template-columns: 64px 1fr auto; padding: 12px 0; }
.track__lines .line:last-child { border-bottom: 0; }
.status-chip { flex: none; font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; --c: var(--accent-text); color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.status-chip--Delivered { --c: var(--ok); }
.status-chip--Cancelled, .status-chip--Returned { --c: var(--danger); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; position: relative; padding-bottom: 22px; color: var(--muted); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.is-done::before { background: var(--ink); }
.timeline__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); position: relative; z-index: 1; }
.timeline li.is-done .timeline__dot { background: var(--ink); border-color: var(--ink); }
.timeline li.is-done .timeline__dot::after { content: ''; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid var(--on-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.timeline li.is-now .timeline__dot { border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); background: var(--accent); }
.timeline li.is-done, .timeline li.is-now { color: var(--ink); }
.timeline strong { display: block; font-size: 15px; }
.timeline span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .track__form { grid-template-columns: 1fr; } .track__form .btn { width: 100%; } }

/* ---------- phone & touch polish ---------- */
a, button, label, summary { -webkit-tap-highlight-color: transparent; }
button, .btn, .pill, .chip { touch-action: manipulation; }
/* iOS zooms into inputs under 16px: keep form text at 16px on touch screens */
@media (pointer: coarse), (max-width: 960px) {
  input, select, textarea { font-size: max(16px, 1em) !important; }
}
/* larger invisible tap area around colour dots */
.swatch::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; }
/* notched phones: keep bottom UI above the home indicator */
.sticky-buy { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.toast { bottom: calc(24px + env(safe-area-inset-bottom)); }
.cookie { bottom: calc(16px + env(safe-area-inset-bottom)); }
.drawer__foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
body[data-page="product"] .site-footer { padding-bottom: 72px; }
@media (max-width: 480px) {
  .announce__track p { font-size: 10px; letter-spacing: .08em; padding: 0 12px; }
  .section-head { flex-wrap: wrap; align-items: start; }
  .section-head__actions .btn { height: 34px; }
  .hero__copy h1, .hero__copy h2 { font-size: clamp(28px, 9vw, 40px); }
  .hero__counter { display: none; }
  .spec-list strong { font-size: 15px; }
  .spec-list div { padding: 10px; }
  .toolbar { gap: 8px; }
  .toolbar label, .toolbar select { width: 100%; }
  .buy-row { grid-template-columns: auto 1fr auto; }
  .line { grid-template-columns: 72px 1fr auto; gap: 12px; }
  .cart-page .line { grid-template-columns: 80px 1fr auto; }
  .summary { padding: 18px; }
  .page-head h1 { font-size: clamp(24px, 7.5vw, 34px); }
  .footer-wordmark { margin-top: 40px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
/* very small phones: theme toggle moves into the menu only */
@media (max-width: 379px) {
  .header-actions .theme-btn { display: none; }
  .logo { font-size: 13px; }
}
/* checkout: collapsible order summary on phones */
.summary-toggle { display: none; }
@media (max-width: 900px) {
  .summary-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; font-weight: 600; font-size: 14px; color: var(--ink); }
  .summary-toggle span:first-child::after { content: ' ▾'; font-size: 11px; }
  .summary-toggle[aria-expanded="true"] span:first-child::after { content: ' ▴'; }
  .checkout__side { padding-top: 4px; padding-bottom: 4px; }
  .checkout__side .summary:not(.is-open) { display: none; }
  .checkout__side .summary { padding-bottom: 16px; }
}
/* newsletter blocks: never wider than the screen; stack the button on phones */
.signup, .signup__body, .footer-news, .news-form { min-width: 0; }
@media (max-width: 480px) {
  .signup .news-form, .footer-news .news-form { flex-direction: column; }
  .signup .news-form .btn, .footer-news .news-form .btn { width: 100%; }
}
/* grid children may shrink below their content width (prevents sideways scroll on phones) */
.cart-page > *, .checkout > *, .pdp > *, .shop > *, .help > *, .split > * { min-width: 0; }
@media (max-width: 900px) { .cart-page { grid-template-columns: minmax(0, 1fr); } }
.line__info { min-width: 0; }
.line__name { overflow-wrap: anywhere; }
.summary { grid-template-columns: minmax(0, 1fr); }
.promo input, .news-form input { width: 100%; }

/* brand logo: double-slash symbol + stacked wordmark */
.logo { flex-direction: row; align-items: center; gap: 10px; }
.logo__sym { width: 34px; height: auto; fill: currentColor; flex: none; }
.logo__word { display: inline-flex; flex-direction: column; -webkit-text-stroke: .02em currentColor; }
.marquee__track span::after { content: "//"; letter-spacing: -.1em; color: var(--accent); font-style: italic; }
@media (max-width: 480px) { .logo__sym { width: 26px; } .logo { gap: 7px; } }

/* ---------- phone tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  :root { --tabbar-h: 60px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .tabbar__item {
    display: grid; place-items: center; align-content: center; gap: 3px;
    font: 600 10px/1 var(--sans); letter-spacing: .04em; color: var(--muted);
    position: relative; transition: color .15s;
  }
  .tabbar__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar__item.is-on { color: var(--ink); }
  .tabbar__item.is-on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px; background: var(--ink); }
  .tabbar__item:active { transform: scale(.94); }
  .tabbar__icon { position: relative; display: block; }
  .tabbar__icon .badge { top: -6px; right: -10px; }

  /* the bar replaces header search + bag on phones */
  .header-actions [data-open="search"], .header-actions [data-open="cart"] { display: none; }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }

  /* everything that sits at the bottom moves above the bar */
  .toast { bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)); left: 12px; right: 12px; max-width: none; }
  .sticky-buy { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  body[data-page="product"] .site-footer { padding-bottom: 72px; }

  /* shorter, punchier hero on phones */
  .hero { height: min(76svh, 620px); min-height: 440px; max-height: none; }
  .hero__copy { bottom: 64px; gap: 14px; }
  .hero__nav { bottom: 18px; }

  /* tighter vertical rhythm */
  .section { padding: 44px 0; }
  .section--tight { padding: 30px 0; }
  .section-head { margin-bottom: 18px; }
  .manifesto { padding: 56px var(--gutter); }
  .services { margin-top: 44px; }
  .site-footer { padding-top: 44px; }
  .footer-wordmark { margin-top: 36px; }
}
/* hide the bar while typing on phones so it never covers inputs */
@media (max-width: 760px) {
  body.keyboard-open .tabbar { transform: translateY(110%); }
  .tabbar { transition: transform .25s ease; }
}

/* ================= header / footer logo ================= */
.site-header .logo { gap: 0; }
.footer-brand { padding: 0 var(--gutter) 40px; }
.logo--footer { color: #F5F4EF; font-size: 22px; gap: 14px; }
.logo--footer .logo__sym { width: 48px; }
@media (max-width: 760px) { .footer-brand { padding-bottom: 28px; } .logo--footer { font-size: 18px; } .logo--footer .logo__sym { width: 38px; } }

/* ================= light / dark consistency ================= */
/* Light buttons always sit on dark photos or dark blocks: fixed colours in both themes */
.btn--light { background: #F5F4EF; color: #0A0A0A; border-color: #F5F4EF; }
.btn--light:hover { background: transparent; color: #F5F4EF; border-color: #F5F4EF; }
/* Outline buttons on always-dark blocks (spotlight) */
.spotlight .btn--light[style*="transparent"] { color: #F5F4EF !important; }
/* Primary + ghost buttons follow the theme */
.btn:hover { background: var(--bg); color: var(--ink); }
.btn--ghost { color: var(--ink); border-color: var(--ink); }
/* Always-dark blocks keep light text in both themes */
.announce, .spotlight, .signup, .site-footer { color: #F5F4EF; }
.signup .news-form input, .site-footer .news-form input { color: #F5F4EF; border-color: #3a3a37; }
.signup .news-form input::placeholder, .site-footer .news-form input::placeholder { color: #8f8d86; }

/* Dark theme: product imagery sits on a light studio card so black garments stay visible */
:root[data-theme="dark"] { --tile: #DDD8CE; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tile: #DDD8CE; } }
:root[data-theme="dark"] .card__body, :root[data-theme="dark"] .suggest-item small { color: var(--ink); }
/* Text placed on top of tiles (tags, quick add, wish) uses the light-card palette in both themes */
.tag { background: #F5F4EF; color: #0A0A0A; }
.tag--accent { background: #0A0A0A; color: #F5F4EF; }
.quick-add { color: #0A0A0A; }
.quick-add__sizes button { color: #0A0A0A; background: #FFFFFF; border-color: #D8D4CB; }
.quick-add__sizes button:hover { background: #0A0A0A; color: #F5F4EF; }
.wish { background: rgba(245,244,239,.92); color: #0A0A0A; }
.wish:hover { background: #FFFFFF; }
.line__img, .suggest-item__img, .gallery__item { color: #0A0A0A; }
/* Form controls follow the theme everywhere */
input, select, textarea { color: var(--ink); }
.toolbar select, .currency select, .currency--block select { background: var(--field); color: var(--ink); }
.quick-add { background: rgba(245,244,239,.96); }
/* spotlight is always dark: spec cells use the fixed dark surface, not the theme ink */
.spec-list { background: #2a2a28; border-color: #2a2a28; }
.spec-list div { background: #0A0A0A; color: #F5F4EF; }
.spec-list span { color: #A3A199; }

/* ================= adaptive homepage (no empty slots) ================= */
section[hidden], .marquee[hidden] { display: none !important; }
@media (min-width: 821px) {
  .tiles { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .tiles--wide .tile { aspect-ratio: 21 / 8; }
}
@media (max-width: 820px) {
  .tiles--wide { grid-auto-columns: 100%; }
  .tiles--wide .tile { aspect-ratio: 4 / 3; }
}
.btn--outline-light { background: transparent; color: #F5F4EF; border-color: rgba(245,244,239,.45); }
.btn--outline-light:hover { background: #F5F4EF; color: #0A0A0A; border-color: #F5F4EF; }
.spot-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #D6D3CC; }
.spot-features li { padding-left: 22px; position: relative; }
.spot-features li::before { content: '//'; position: absolute; left: 0; color: var(--accent); font-weight: 700; letter-spacing: -.1em; }
.spotlight--solo { grid-template-columns: 1fr; min-height: 0; }
.spotlight--solo .spotlight__body { max-width: 760px; }
