/* KEYON — storefront styles
   Layout: editorial 12-column grid on warm paper; oversized wide-grotesk type does
   the shouting so the palette can stay quiet (beige, white, warm grey, ink). */
:root {
  --paper: #F7F3ED;
  --white: #FFFFFF;
  --sand: #EBE3D6;
  --sand-2: #DDD2C0;
  --stone: #B8AD9C;
  --taupe: #6F675B;
  --ink: #1D1B18;
  --ink-2: #3A3631;
  --line: rgba(29, 27, 24, .14);
  --ok: #4B6B4A;
  --err: #A2402F;
  --band: #1D1B18;          /* dark bands: announcement, arrivals, promo, footer, menu */
  --band-fg: #F7F3ED;
  --band-card: #2B2925;
  --header-bg: rgba(247, 243, 237, .86);
  --glass: rgba(255, 255, 255, .92);
  --glow: rgba(255, 255, 255, .7);
  --card-bg: var(--sand);

  --f-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --g: clamp(16px, 4vw, 56px);
  --max: 1480px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 72px;
  color-scheme: light;
}

/* Dark theme: warm charcoal surfaces, cream type. Bands go deeper instead of inverting. */
:root[data-theme="dark"] {
  --paper: #12110F;
  --white: #1C1A17;
  --sand: #24211D;
  --sand-2: #302C26;
  --stone: #5E574C;
  --taupe: #A89F91;
  --ink: #F1ECE3;
  --ink-2: #D4CCBF;
  --line: rgba(241, 236, 227, .14);
  --ok: #8DB08B;
  --err: #E58A76;
  --band: #0A0908;
  --band-fg: #F1ECE3;
  --band-card: #1C1A17;
  --header-bg: rgba(18, 17, 15, .82);
  --glass: rgba(28, 26, 23, .92);
  --glow: rgba(255, 236, 200, .07);
  --card-bg: radial-gradient(120% 90% at 50% 35%, #3A352E 0%, #26231E 70%);
  color-scheme: dark;
}

/* Theme switch: sun/moon button + circular reveal (View Transitions) */
.theme-toggle svg { transition: transform .6s var(--ease), opacity .3s; }
.theme-toggle .i-sun { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink); transition: background-color .4s, color .4s;
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--paper); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--g), env(safe-area-inset-left, 0px));
  padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .88; text-wrap: balance; margin: 0; }
.h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; text-transform: uppercase; letter-spacing: -.015em; line-height: .95; font-size: clamp(32px, 5vw, 72px); margin: 0; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 46ch; margin: 0; text-wrap: pretty; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--taupe); }

/* line mask for reveals */
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--sand-2); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.btn--light { --bg: var(--band-fg); --fg: var(--band); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-u { position: relative; display: inline-flex; white-space: nowrap; gap: 8px; align-items: center; font-weight: 600; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform-origin: right; transform: scaleX(1); transition: transform .6s var(--ease); }
.link-u:hover::after { animation: uline .8s var(--ease); }
@keyframes uline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- announcement + header ---------- */
.announce { background: var(--band); color: var(--band-fg); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; height: 34px; display: flex; align-items: center; }
.announce__track { display: flex; gap: 48px; white-space: nowrap; animation: ticker 38s linear infinite; padding-left: 48px; }
.announce__track span { display: inline-flex; align-items: center; gap: 48px; }
.announce__track span::after { content: "✦"; opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; height: var(--header-h); transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.header.is-solid { background: var(--header-bg); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
/* The header stays visible while scrolling on every screen size. */
@supports (overflow: clip) { body { overflow-x: clip; } }
#head { display: contents; } /* preview site: lets the header stick to the page, not its wrapper */
.header__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.logo { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 26px; letter-spacing: .06em; line-height: 1; display: inline-flex; overflow: hidden; }
.logo span { display: inline-block; transition: transform .6s var(--ease); }
.logo:hover span { transform: translateY(-100%); }
.logo span::after { content: attr(data-l); position: absolute; transform: translateY(100%); left: 0; }
.logo span { position: relative; }
.logo:hover span:nth-child(2) { transition-delay: .03s; } .logo:hover span:nth-child(3) { transition-delay: .06s; } .logo:hover span:nth-child(4) { transition-delay: .09s; } .logo:hover span:nth-child(5) { transition-delay: .12s; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; position: relative; transition: background .3s; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 20px; height: 20px; }
.lang { display: inline-flex; font-family: var(--f-mono); font-size: 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); padding: 3px; margin-right: 4px; }
.lang button { padding: 5px 9px; border-radius: 999px; letter-spacing: .06em; transition: background .3s, color .3s; }
.lang button.is-on { background: var(--ink); color: var(--paper); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 10px/18px var(--f-mono); text-align: center; transform: scale(0); transition: transform .4s var(--ease); }
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.burger { display: none; }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 80; background: var(--band); color: var(--band-fg); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); display: flex; flex-direction: column; padding-top: calc(env(safe-area-inset-top, 0px) + 18px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); }
.mmenu.is-open { clip-path: inset(0 0 0 0); }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; }
.mmenu__links { margin-top: 8vh; display: flex; flex-direction: column; gap: 6px; }
.mmenu__links a { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 12vw, 72px); line-height: 1; overflow: hidden; display: block; }
.mmenu__links a span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
.mmenu.is-open .mmenu__links a span { transform: translateY(0); }
.mmenu__links a:nth-child(2) span { transition-delay: .06s; } .mmenu__links a:nth-child(3) span { transition-delay: .12s; } .mmenu__links a:nth-child(4) span { transition-delay: .18s; } .mmenu__links a:nth-child(5) span { transition-delay: .24s; } .mmenu__links a:nth-child(6) span { transition-delay: .3s; }
.mmenu__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 12px; opacity: .7; }
.mmenu .icon-btn:hover { background: rgba(255,255,255,.08); }

/* ---------- loader + page transition ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--band); color: var(--band-fg); display: grid; place-items: center; }
.loader__word { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(56px, 14vw, 200px); letter-spacing: .04em; display: flex; overflow: hidden; line-height: .9; }
.loader__word span { display: inline-block; }
.loader__count { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); right: max(var(--g), env(safe-area-inset-right, 0px)); font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; }
.loader__tag { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); left: max(var(--g), env(safe-area-inset-left, 0px)); font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.curtain { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain i { background: var(--band); transform: scaleY(0); transform-origin: bottom; }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink); mix-blend-mode: normal; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s; display: grid; place-items: center; }
.cursor b { font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .3s; }
.cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-view b { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: var(--line); }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; position: relative; z-index: 2; }
.hero__title { font-size: clamp(52px, 9vw, 168px); }
.hero__title .line { white-space: nowrap; }
.hero__title .line:nth-child(2) { display: flex; gap: .22em; }
.hero__title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; aspect-ratio: 4 / 5; max-width: 100%; min-width: 0; }
.hero__arch { position: absolute; inset: 0; border-radius: 999px 999px 18px 18px; background: var(--sand); overflow: hidden; }
.hero__arch::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, var(--glow), transparent 60%); }
.hero__main { position: absolute; left: 6%; right: 6%; top: 10%; bottom: 2%; }
.hero__main .garment { width: 100%; height: 100%; }
.hero__float { position: absolute; width: 34%; aspect-ratio: 4 / 5; background: var(--white); background-image: var(--card-bg); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(29,27,24,.35); padding: 6px; overflow: hidden; }
.hero__float .garment { width: 100%; height: 100%; }
.hero__float--a { left: -12%; bottom: 10%; }
.hero__float--b { right: -6%; top: 6%; width: 28%; }
.hero__float small { position: absolute; left: 10px; bottom: 8px; font: 500 10px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.badge-spin { position: absolute; right: -4%; bottom: 4%; width: clamp(96px, 10vw, 136px); aspect-ratio: 1; z-index: 3; color: var(--ink); }
.badge-spin svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-spin::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: var(--ink); }
.badge-spin text { font: 600 10.5px var(--f-mono); letter-spacing: .26em; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(32px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.perks { display: flex; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; font-size: 13px; font-weight: 500; }
.perks span { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 18px; height: 18px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.scroll-cue i { width: 1px; height: 38px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(14px, 2vw, 24px); background: var(--paper); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
.marquee__item { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 6vw, 92px); line-height: 1; white-space: nowrap; transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.4px var(--ink); }
.marquee__item:hover { color: var(--taupe); }
.marquee__star { width: clamp(22px, 3vw, 44px); height: clamp(22px, 3vw, 44px); flex: none; animation: spin 8s linear infinite; }

/* ---------- section heads ---------- */
.section { padding-block: clamp(64px, 10vw, 140px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sec-head p { margin: 0; color: var(--taupe); max-width: 42ch; }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); row-gap: clamp(28px, 3vw, 48px); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card__frame { position: relative; border-radius: 14px; overflow: hidden; isolation: isolate; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--card-bg); max-width: 100%; }
.card__media .garment { position: absolute; inset: 6% 8% 2%; width: 84%; height: 92%; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card__media .alt { opacity: 0; transform: scale(1.06) rotate(-2deg); }
.card:hover .card__media .main { opacity: 0; transform: scale(.96) rotate(2deg); }
.card:hover .card__media .alt { opacity: 1; transform: scale(1) rotate(0); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(29,27,24,.06)); pointer-events: none; }
.tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 9px; border-radius: 999px; background: var(--white); color: var(--ink); }
.tag--dark { background: var(--ink); color: var(--paper); }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 12px; padding: 10px; transform: translateY(calc(100% + 14px)); transition: transform .6s var(--ease); }
.card__frame:hover .quick, .card__frame:focus-within .quick { transform: translateY(0); }
.quick p { margin: 0 0 8px; font: 600 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.quick__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.quick__sizes button { min-width: 38px; height: 32px; padding: 0 8px; border-radius: 8px; font: 500 12px var(--f-mono); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s; }
.quick__sizes button:hover { background: var(--ink); color: var(--paper); }
.quick__sizes button[disabled] { opacity: .35; text-decoration: line-through; pointer-events: none; }
.card__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.card__name { font-weight: 600; font-size: 15px; margin: 0; }
.card__cat { font-size: 13px; color: var(--taupe); grid-column: 1; }
.price { font-family: var(--f-mono); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price s { color: var(--taupe); margin-right: 6px; }
.swatches { display: flex; gap: 6px; grid-column: 1 / -1; margin-top: 4px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }

/* ---------- manifesto ---------- */
.manifesto { background: var(--white); }
.manifesto__in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); }
.manifesto__text { font-family: var(--f-display); font-stretch: 100%; font-weight: 600; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: pretty; }
.manifesto__text .w { display: inline-block; }
.manifesto__sig { margin-top: 32px; display: flex; gap: 16px; align-items: center; color: var(--taupe); font: 500 13px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- horizontal arrivals ---------- */
.hscroll { position: relative; overflow: hidden; background: var(--band); color: var(--band-fg); }
.hscroll__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(56px, 8vw, 96px); gap: clamp(28px, 4vw, 48px); }
.hscroll .eyebrow, .hscroll .sec-head p { color: rgba(247,243,237,.6); }
.hscroll .sec-head { margin-bottom: 0; }
.hscroll__track { display: flex; gap: clamp(14px, 2vw, 28px); will-change: transform; padding-left: max(var(--g), env(safe-area-inset-left, 0px)); padding-right: max(var(--g), env(safe-area-inset-right, 0px)); width: max-content; }
.hcard { width: clamp(220px, min(24vw, 40vh), 360px); flex: none; display: flex; flex-direction: column; gap: 14px; }
.hcard .card__media { background: var(--band-card); }
.hcard .card__cat { color: rgba(247,243,237,.55); }
.hcard__idx { font: 500 12px var(--f-mono); letter-spacing: .1em; color: rgba(247,243,237,.5); }
.hscroll__bar { height: 2px; background: rgba(247,243,237,.15); position: relative; overflow: hidden; }
.hscroll__bar i { position: absolute; inset: 0; background: var(--band-fg); transform-origin: left; transform: scaleX(.12); }
.hscroll__foot { display: flex; align-items: center; gap: 24px; }
.hscroll__foot .hscroll__bar { flex: 1; }
.hscroll .btn--light::after { background: var(--sand-2); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.cat { position: relative; aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: var(--sand); display: block; max-width: 100%; }
.cat:nth-child(2), .cat:nth-child(6) { background: var(--white); }
.cat:nth-child(4) { background: var(--sand-2); }
.cat .garment { position: absolute; right: -4%; bottom: -6%; width: 62%; height: 100%; transition: transform 1.1s var(--ease); }
.cat:hover .garment { transform: scale(1.08) rotate(-4deg) translateY(-2%); }
.cat__label { position: absolute; left: 22px; top: 20px; right: 40%; display: flex; flex-direction: column; gap: 8px; }
.cat__label strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px); line-height: .95; }
.cat__label span { font: 500 12px var(--f-mono); color: var(--taupe); letter-spacing: .08em; }
.cat__go { position: absolute; left: 22px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transform: scale(.8) rotate(-45deg); opacity: .0; transition: transform .6s var(--ease), opacity .4s; }
.cat:hover .cat__go, .cat:focus-visible .cat__go { transform: scale(1) rotate(0); opacity: 1; }
.cat__go svg { width: 18px; height: 18px; }

/* ---------- collections (expanding panels) ---------- */
.colls { display: flex; gap: clamp(10px, 1.2vw, 18px); height: clamp(420px, 52vw, 640px); }
.coll { position: relative; flex: 1; min-width: 0; border-radius: 18px; overflow: hidden; background: var(--sand); transition: flex-grow .9s var(--ease); display: block; }
.coll:nth-child(2) { background: var(--stone); }
.coll:nth-child(3) { background: var(--sand-2); }
.colls:hover .coll { flex-grow: .7; }
.colls .coll:hover { flex-grow: 2; }
.coll__art { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.coll__art .garment { width: min(70%, 380px); height: 78%; transition: transform 1.1s var(--ease); }
.coll:hover .coll__art .garment { transform: translateY(-3%) scale(1.04); }
.coll__copy { position: absolute; left: 22px; right: 22px; top: 22px; display: flex; flex-direction: column; gap: 10px; }
.coll__copy strong { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 72px); line-height: .9; }
.coll__copy p { margin: 0; max-width: 28ch; font-size: 14px; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease); }
.coll:hover .coll__copy p, .coll:focus-visible .coll__copy p { opacity: 1; transform: none; }
.coll__count { position: absolute; left: 22px; bottom: 22px; font: 500 12px var(--f-mono); letter-spacing: .08em; }

/* ---------- promo band ---------- */
.promo { background: var(--band); color: var(--band-fg); overflow: hidden; position: relative; }
.promo__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(64px, 9vw, 120px); }
.promo .eyebrow { color: rgba(247,243,237,.6); }
.promo__big { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(64px, 13vw, 210px); line-height: .82; letter-spacing: -.03em; margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .1em; }
.promo__big small { display: block; width: 100%; font-size: clamp(22px, 2.6vw, 38px); font-stretch: 112%; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: 12px; }
.promo__side { display: flex; flex-direction: column; gap: 24px; }
.promo__side p { margin: 0; color: rgba(247,243,237,.75); font-size: 17px; max-width: 40ch; }
.code { display: flex; align-items: center; gap: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(247,243,237,.35); padding: 6px 6px 6px 22px; width: fit-content; max-width: 100%; }
.code span { font: 600 16px var(--f-mono); letter-spacing: .16em; margin-right: 18px; user-select: all; }
.code button { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--band-fg); color: var(--band); font-weight: 600; font-size: 14px; transition: background .3s; }
.code button:hover { background: var(--sand-2); }
.promo__ring { position: absolute; right: -8vw; top: 50%; width: 46vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(247,243,237,.08); transform: translateY(-50%); pointer-events: none; }
.promo__ring::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(247,243,237,.08); }

/* ---------- values row ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); padding-left: 24px; }
.value:first-child { padding-left: 0; }
.value:last-child { border-right: 0; }
.value svg { width: 28px; height: 28px; }
.value strong { font-weight: 600; }
.value span { color: var(--taupe); font-size: 14px; }

/* ---------- newsletter ---------- */
.news { background: var(--sand); }
.news__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding-block: clamp(56px, 8vw, 110px); }
.news form { display: flex; flex-direction: column; gap: 10px; }
.field-line { display: flex; align-items: center; border-bottom: 1.5px solid var(--ink); position: relative; }
.field-line input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 18px 0; font-size: clamp(18px, 2vw, 24px); outline: none; }
.field-line input::placeholder { color: var(--taupe); }
.field-line button { height: 48px; width: 48px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.field-line button:hover { transform: rotate(-45deg); }
.field-line button svg { width: 18px; height: 18px; }
.form-msg { min-height: 1.4em; font-size: 14px; margin: 0; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--err); }

/* ---------- footer ---------- */
.footer { background: var(--band); color: var(--band-fg); padding-top: clamp(56px, 8vw, 100px); overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.footer h4 { margin: 0 0 16px; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(247,243,237,.55); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { opacity: .88; transition: opacity .3s; }
.footer ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__tag { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; text-transform: uppercase; margin: 0 0 16px; max-width: 16ch; }
.footer__word { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; line-height: .78; font-size: clamp(64px, 22vw, 380px); white-space: nowrap; letter-spacing: -.01em; margin-top: clamp(40px, 6vw, 80px); display: flex; justify-content: space-between; overflow: hidden; padding-top: .04em; }
.footer__word span { display: inline-block; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(247,243,237,.14); font: 500 12px var(--f-mono); letter-spacing: .06em; color: rgba(247,243,237,.6); }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay span { padding: 5px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(247,243,237,.25); font: 600 11px var(--f-mono); letter-spacing: .06em; color: var(--band-fg); }

/* ---------- shop ---------- */
.page-head { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.page-head .display { font-size: clamp(48px, 9vw, 140px); }
.crumbs { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); padding-bottom: 120px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 28px; }
.fgroup { display: flex; flex-direction: column; gap: 12px; }
.fgroup h5 { margin: 0; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.fgroup .chips { gap: 6px; }
.fgroup .chip { height: 34px; padding: 0 12px; font-size: 13px; }
.fcolors { display: flex; flex-wrap: wrap; gap: 8px; }
.fcolors button { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; transition: transform .3s var(--ease); }
.fcolors button:hover { transform: scale(1.12); }
.fcolors button.is-on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ink); }
.range { width: 100%; accent-color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.select { height: 40px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0 36px 0 16px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231D1B18' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; font-size: 14px; }
.shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { padding: 80px 0; text-align: left; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.filter-toggle { display: none; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-block: 24px 96px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px)); }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--card-bg); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s; padding: 4px; }
.thumbs button.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.thumbs .garment { width: 100%; height: 100%; }
.stage { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--card-bg); cursor: zoom-in; max-width: 100%; }
.stage .garment { position: absolute; inset: 5% 7% 2%; width: 86%; height: 93%; transition: transform .7s var(--ease); }
.stage.is-zoom .garment { transform: scale(1.8); cursor: zoom-out; }
.buy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.buy__title { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; text-transform: uppercase; font-size: clamp(34px, 4vw, 60px); line-height: .95; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
.buy__price { font: 500 22px var(--f-mono); display: flex; gap: 12px; align-items: baseline; }
.buy__price s { color: var(--taupe); font-size: 17px; }
.opt { display: flex; flex-direction: column; gap: 12px; }
.opt__head { display: flex; justify-content: space-between; font-size: 14px; }
.opt__head b { font-weight: 600; }
.opt__head button { text-decoration: underline; text-underline-offset: 3px; color: var(--taupe); font-size: 13px; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.colors button { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; transition: transform .3s var(--ease); }
.colors button.is-on::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ink); }
.colors button:hover { transform: scale(1.08); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.sizes button { height: 48px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font: 500 14px var(--f-mono); position: relative; transition: background .25s, color .25s, box-shadow .25s; }
.sizes button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.sizes button.is-on { background: var(--ink); color: var(--paper); }
.sizes button.is-out { color: var(--stone); background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px); }
.sizes button.is-out.is-on { background: var(--stone); color: var(--paper); }
.stock { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 1.4em; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock.low i { background: #B88A2E; } .stock.out i { background: var(--err); }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; height: 54px; }
.qty button { width: 46px; height: 100%; font-size: 18px; }
.qty span { min-width: 26px; text-align: center; font-family: var(--f-mono); }
.buy__row { display: flex; gap: 10px; }
.buy__row .btn { flex: 1; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 22px var(--f-mono); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.acc details > div p { margin: 0 0 8px; }

/* ---------- drawer, search, modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(29,27,24,.4); opacity: 0; pointer-events: none; transition: opacity .5s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 75; width: min(460px, 100%); background: var(--paper); transform: translateX(100%); transition: transform .7s var(--ease); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 750; text-transform: uppercase; font-size: 22px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.ship-bar { display: flex; flex-direction: column; gap: 8px; font-size: 13px; padding: 16px 24px; background: var(--sand); }
.ship-bar__track { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ship-bar__track i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .8s var(--ease); }
.line-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item__img { aspect-ratio: 4 / 5; border-radius: 10px; background: var(--card-bg); padding: 4px; }
.line-item__img .garment { width: 100%; height: 100%; }
.line-item h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.line-item p { margin: 0; font-size: 13px; color: var(--taupe); }
.line-item .qty { height: 36px; margin-top: 10px; }
.line-item .qty button { width: 34px; font-size: 15px; }
.line-item__end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line-item__end button { font-size: 12px; color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; }
.sum-row b { font-family: var(--f-mono); font-weight: 500; }
.sum-row.total { font-size: 18px; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); }
.cart-empty { padding: 60px 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cart-empty .garment { width: 140px; opacity: .6; }

.search { position: fixed; inset: 0 0 auto; z-index: 76; background: var(--paper); transform: translateY(-102%); transition: transform .8s var(--ease); max-height: 92vh; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); }
.search.is-open { transform: translateY(0); }
.search__in { padding-block: 24px 40px; display: flex; flex-direction: column; gap: 24px; }
.search__bar { display: flex; align-items: center; gap: 16px; border-bottom: 1.5px solid var(--ink); }
.search__bar svg { width: 26px; height: 26px; flex: none; }
.search__bar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 18px 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(24px, 4vw, 48px); text-transform: uppercase; }
.search__bar input::placeholder { color: var(--stone); }
.search .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.search .card__name { font-size: 14px; }

.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.modal.is-on { opacity: 1; pointer-events: auto; }
.modal__box { background: var(--paper); border-radius: 18px; padding: 28px; width: min(620px, 100%); max-height: 86vh; overflow: auto; transform: translateY(20px) scale(.98); transition: transform .5s var(--ease); position: relative; }
.modal.is-on .modal__box { transform: none; }
.modal__x { position: absolute; top: 16px; right: 16px; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 95; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: center; transition: transform .6s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; flex: none; }

.cookie { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 65; width: min(380px, calc(100% - 32px)); background: var(--white); border-radius: 16px; padding: 20px; box-shadow: 0 24px 60px -24px rgba(29,27,24,.4); display: flex; flex-direction: column; gap: 14px; font-size: 14px; transform: translateY(140%); transition: transform .8s var(--ease); }
.cookie.is-on { transform: none; }
.cookie p { margin: 0; }
.cookie div { display: flex; gap: 8px; }
.cookie .btn { height: 42px; padding: 0 18px; font-size: 13px; flex: 1; }

.flyer { position: fixed; z-index: 120; pointer-events: none; border-radius: 12px; overflow: hidden; background: var(--sand); }
.flyer .garment { width: 100%; height: 100%; }

/* ---------- forms (checkout, account, contact) ---------- */
.form { display: flex; flex-direction: column; gap: 32px; }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fieldset legend { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; text-transform: uppercase; font-size: 20px; margin-bottom: 14px; padding: 0; display: flex; gap: 12px; align-items: center; }
.fieldset legend em { font: 500 12px var(--f-mono); font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-grid; place-items: center; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.row3 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { position: relative; display: flex; flex-direction: column; min-width: 0; }
.field input, .field select, .field textarea { height: 56px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); padding: 22px 16px 6px; font-size: 15px; outline: none; transition: box-shadow .3s; width: 100%; appearance: none; -webkit-appearance: none; }
.field textarea { height: 140px; resize: vertical; padding-top: 26px; }
.field label { position: absolute; left: 16px; top: 18px; font-size: 15px; color: var(--taupe); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 8px; font-size: 11px; letter-spacing: .04em; }
.field.bad input, .field.bad select, .field.bad textarea { box-shadow: inset 0 0 0 1.5px var(--err); }
.field .err { color: var(--err); font-size: 12px; margin-top: 6px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .3s; }
.radio-card:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.radio-card input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.radio-card span { flex: 1; font-size: 15px; }
.radio-card b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--ink); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.co { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-bottom: 120px; align-items: start; }
.co__sum { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); background: var(--white); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.co__sum h3 { margin: 0 0 4px; }
.co__sum .line-item { grid-template-columns: 64px minmax(0, 1fr) auto; }
.promo-row { display: flex; gap: 8px; }
.promo-row .field { flex: 1; }
.promo-row .btn { height: 56px; }
.note { font-size: 13px; color: var(--taupe); display: flex; gap: 8px; align-items: flex-start; }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.card-fields { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 0; }

.done { padding-block: clamp(56px, 10vw, 140px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 900px; }
.done__check { width: 84px; height: 84px; }
.done__check circle { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s var(--ease) forwards; }
.done__check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done .display { font-size: clamp(44px, 8vw, 120px); }
.done__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 72px); padding-bottom: 120px; align-items: start; }
.panel { background: var(--white); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); width: fit-content; }
.tabs button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.tabs button.is-on { background: var(--ink); color: var(--paper); }
.status { font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--sand); display: inline-flex; gap: 6px; align-items: center; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #B88A2E; }
.status.shipped::before { background: #4B5E7C; } .status.delivered::before { background: var(--ok); }

.about-hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.about-hero .display { font-size: clamp(44px, 7.4vw, 120px); }
.about-art { aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; background: var(--sand); position: relative; overflow: hidden; max-width: 100%; }
.about-art .garment { position: absolute; inset: 12% 8% 2%; width: 84%; height: 86%; }
.about-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); font-size: 18px; color: var(--ink-2); }
.about-body p { margin: 0; max-width: 56ch; }
.vals3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); padding-bottom: 120px; }
.vals3 .panel strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; text-transform: uppercase; font-size: 22px; }
.vals3 .panel p { margin: 0; color: var(--taupe); }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 72px); padding-bottom: 120px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__info dl { margin: 0; display: grid; gap: 18px; }
.contact__info dt { font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: 4px; }
.contact__info dd { margin: 0; font-size: 17px; }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-bottom: 120px; align-items: start; }
.legal nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); }
.legal nav a { padding: 10px 14px; border-radius: 10px; font-weight: 500; transition: background .3s; }
.legal nav a:hover { background: var(--sand); }
.legal nav a.is-on { background: var(--ink); color: var(--paper); }
.legal article { max-width: 68ch; display: flex; flex-direction: column; gap: 28px; }
.legal article h3 { margin: 0 0 8px; }
.legal article p { margin: 0; color: var(--ink-2); }
.draft { padding: 14px 16px; border-radius: 12px; background: var(--sand); font-size: 14px; color: var(--ink-2); }

/* ---------- reveal helpers (only hidden once JS + motion are active) ---------- */
.motion [data-reveal] { will-change: transform, opacity; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(3) { padding-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__in { grid-template-columns: auto 1fr auto; }
  .header__in .logo { justify-self: start; }
  .lang { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 460px); justify-self: center; margin-top: 8px; }
  .hero__float--a { left: -4%; }
  .hero__float--b { right: -2%; }
  .badge-spin { right: 0; }
  .manifesto__in { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colls { flex-direction: column; height: auto; }
  .coll { height: 280px; flex: none; }
  .colls:hover .coll, .colls .coll:hover { flex-grow: 0; }
  .coll__copy p { opacity: 1; transform: none; }
  .coll__art { justify-content: flex-end; padding-right: 6%; }
  .coll__art .garment { width: 46%; height: 92%; }
  .coll__copy { right: 50%; }
  .promo__in, .news__in { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols > div:first-child { grid-column: 1 / -1; }
  .shop { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; z-index: 77; background: var(--paper); border-radius: 18px 18px 0 0; padding: 24px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); max-height: 82vh; overflow-y: auto; transform: translateY(102%); transition: transform .7s var(--ease); top: auto; }
  .filters.is-open { transform: translateY(0); }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; }
  .co, .account, .contact, .legal, .about-hero, .about-body { grid-template-columns: 1fr; }
  .co__sum { position: relative; top: 0; order: -1; }
  .legal nav { position: relative; top: 0; flex-direction: row; flex-wrap: wrap; }
  .vals3 { grid-template-columns: 1fr; }
  .hscroll__pin { min-height: 0; }
  .hscroll__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hscroll__track { scroll-padding-inline: max(var(--g), env(safe-area-inset-left, 0px)); }
  .hcard { scroll-snap-align: start; width: min(72vw, 300px); }
}
@media (max-width: 560px) {
  .grid, .shop .grid, .search .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 16 / 10; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .value:first-child { border-top: 0; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .quick { display: none; }
  .card__name { font-size: 14px; }
  .card__info { grid-template-columns: minmax(0, 1fr); }
  .card__info .price { grid-row: 2; }
  .card__cat { grid-row: 3; }
  .icon-btn { width: 38px; height: 38px; }
  .hero__float--b { display: none; }
  .code { padding-left: 16px; }
  .code span { font-size: 14px; margin-right: 10px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
