/* ==========================================================================
   WAY IN — storefront styles. FORM YOUR OWN.
   Palette: deep black + warm beige dominate, light cream for pages, charcoal for depth,
   burnt orange as a sparing accent, antique gold for premium details.
   Type: Montserrat (display, uppercase) + Inter (body). No blue anywhere —
   including browser-default focus rings, selection, autofill and tap states.
   ========================================================================== */
@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url(/fonts/montserrat-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url(/fonts/montserrat-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url(/fonts/montserrat-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 900; font-display: swap; src: url(/fonts/montserrat-latin-900-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); }

:root {
  /* Official WAY IN colours */
  --black: #151412; --beige: #D8C2A3; --light-cream: #F3EBDD; --charcoal: #292825; --orange: #E87919; --gold: #B58A4F; --white: #FFFFFF;
  /* Roles */
  --paper: var(--light-cream); --cream: #E9DCC6; --ink: var(--black); --ink-2: var(--charcoal); --stone: #6B6358; --taupe: #A39886;
  --sand: var(--beige); --brand: var(--black); --brass: var(--gold); --accent: var(--orange); --burgundy: #A63A12; --olive: #5E6B45; --studio: #CFC6B8;
  --line: rgba(21, 20, 18, .12); --line-2: rgba(21, 20, 18, .22);
  --line-dark: rgba(216, 194, 163, .16); --line-dark-2: rgba(216, 194, 163, .32);
  --f-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: var(--f-display);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* --nav-h: logo/menu row; --tabs-h: Woman | Man row; --header-h: the whole sticky header. */
  --nav-h: 56px; --tabs-h: 36px; --header-h: calc(var(--nav-h) + var(--tabs-h)); --ann-h: 34px;
  --gutter: clamp(16px, 3.2vw, 48px);
  color-scheme: light; accent-color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--taupe) transparent; }
body { margin: 0; font: 400 15px/1.6 var(--f-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sand); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-footer :focus-visible, .wi-hero :focus-visible, .newsletter :focus-visible, .announce :focus-visible, .section--dark :focus-visible, .wi-details :focus-visible { outline-color: var(--beige); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset; -webkit-text-fill-color: var(--ink); caret-color: var(--ink); transition: background-color 9999s; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--stone); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .02em; }
.mt { margin-top: 22px; } .mt-lg { margin-top: 56px; }
.text-alert { color: var(--burgundy); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1.4 var(--f-display); letter-spacing: .28em; text-transform: uppercase; color: var(--stone); }
.section-head .eyebrow::before, .wi-story .eyebrow::before, .newsletter .eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.display { font: 800 clamp(32px, 4.6vw, 64px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.display--xl { font-size: clamp(42px, 7vw, 108px); letter-spacing: -.02em; }
.display-sm { font: 800 clamp(22px, 2.4vw, 32px)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.display em, .display-sm em, .mega-soon em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn { --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 30px;
  font: 700 11.5px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .2s; white-space: nowrap; position: relative; overflow: hidden; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--dark { --bg: var(--ink); --fg: var(--paper); }
.btn--dark:hover:not(:disabled) { --bg: var(--ink-2); }
.btn--line:hover:not(:disabled) { --bg: var(--ink); --fg: var(--paper); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--light:hover { --bg: var(--sand); --bd: var(--sand); }
.btn--accent { --bg: var(--orange); --fg: var(--black); --bd: var(--orange); }
.btn--accent:hover:not(:disabled) { --bg: var(--beige); --bd: var(--beige); }
.btn--accent .icon { transition: transform .3s var(--ease); }
.btn--accent:hover .icon { transform: translateX(4px); }
.btn--ghost-light { --fg: var(--beige); --bd: rgba(216, 194, 163, .55); min-width: 168px; backdrop-filter: blur(2px); }
.btn--ghost-light:hover { --bg: var(--beige); --fg: var(--ink); --bd: var(--beige); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 11px; }
.btn--icon { width: 56px; min-height: 56px; padding: 0; }
.btn:disabled { opacity: .45; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 1.5px solid currentColor; border-color: var(--fg) var(--fg) transparent transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-done { --bg: var(--olive); --bd: var(--olive); --fg: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link-btn:hover { text-decoration-color: var(--ink); }
.link-btn .icon { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon, a:hover .link-arrow .icon { transform: translateX(5px); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: rgba(21, 20, 18, .06); }
.icon-btn--line { border: 1px solid var(--line-2); }
.icon-btn--line:hover { background: var(--ink); color: var(--paper); }
.badge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--orange); color: var(--black); font: 700 10px/17px var(--f-display); text-align: center; }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Announcement ---------- */
.announce { background: var(--black); color: var(--beige); height: var(--ann-h); overflow: hidden; border-bottom: 1px solid rgba(181, 138, 79, .28); }
.announce-track { position: relative; height: 100%; }
.announce-item { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; text-align: center; font: 600 10.5px/1.2 var(--f-display);
  letter-spacing: .24em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce-item.is-active { opacity: 1; transform: none; }

/* ---------- Header (deep black, like the WAY IN hang tags) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--black); color: var(--light-cream); border-bottom: 1px solid var(--line-dark); transition: box-shadow .3s, transform .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .55); }
.site-header :focus-visible { outline-color: var(--beige); }
.site-header .icon-btn:hover { background: rgba(243, 235, 221, .08); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--nav-h); max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); }
/* Logo: the official bird + the official "WAY IN" lettering (a mask, so it takes the text colour) */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); line-height: 0; flex: none; }
.logo--light { color: var(--beige); }
.logo-bird { display: block; height: 38px; aspect-ratio: 358 / 480; background: url(/media/brand/bird.png) center / contain no-repeat; transition: transform .4s var(--ease); }
.logo-bird--light { background-image: url(/media/brand/bird-light.png); }
.logo-word { display: block; height: 14px; aspect-ratio: 547 / 93; background: currentColor;
  -webkit-mask: url(/media/brand/wordmark.png) center / contain no-repeat; mask: url(/media/brand/wordmark.png) center / contain no-repeat; }
.logo:hover .logo-bird { transform: translateY(-2px) rotate(-3deg); }
.logo--sm .logo-bird { height: 34px; } .logo--sm .logo-word { height: 12px; }
.footer-brand .logo-bird { height: 64px; } .footer-brand .logo-word { height: 22px; }
.checkout-head .logo-bird { height: 44px; } .checkout-head .logo-word { height: 16px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; gap: clamp(14px, 2.2vw, 38px); }
.nav-link { position: relative; display: inline-flex; align-items: center; height: var(--nav-h); font: 600 11px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: rgba(243, 235, 221, .82); transition: color .25s; }
.nav-link:visited { color: rgba(243, 235, 221, .82); }
.nav-item:hover .nav-link, .nav-link.is-current { color: var(--beige); }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--beige); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-link.is-current::after { background: var(--orange); height: 2px; }
.nav-item:hover .nav-link::after, .nav-link:focus-visible::after, .nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.only-mobile { display: none; }

/* Mega menu (light cream panel under the black bar) */
.mega { position: absolute; left: 0; right: 0; top: 100%; color: var(--ink); background: var(--paper); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(21, 20, 18, .3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.mega-inner { max-width: 1520px; margin: 0 auto; padding: 36px var(--gutter) 40px; display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) 1.3fr; gap: 40px; }
.mega-inner--cols { grid-template-columns: 1fr repeat(3, 1fr); }
.mega-col ul { display: grid; gap: 10px; margin-top: 14px; }
.mega-col a { font-size: 14px; color: var(--ink-2); transition: color .2s, padding .25s var(--ease); }
.mega-col a:hover { color: var(--ink); padding-left: 4px; }
.mega-colors a { display: flex; align-items: center; gap: 10px; }
.mega-feature { position: relative; display: block; overflow: hidden; background: var(--studio); aspect-ratio: 4/5; max-height: 360px; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: var(--paper); font-size: 13px; background: linear-gradient(transparent, rgba(21, 20, 18, .6)); display: grid; gap: 4px; }
.mega-feature-cap .eyebrow { color: rgba(243, 235, 221, .8); }
.mega-empty { grid-template-columns: 1fr; }
.mega-soon { font: 800 30px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; margin: 10px 0; }
.mega :focus-visible { outline-color: var(--ink); }
.mega-empty .btn { margin-top: 18px; }

/* Swatches */
.sw { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--cream) center/cover; box-shadow: inset 0 0 0 1px rgba(21, 20, 18, .18); flex: none; }
.sw--xs { width: 11px; height: 11px; }
.sw--lg { width: 34px; height: 34px; }

/* ---------- Drawers / overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(21, 20, 18, .42); opacity: 0; transition: opacity .3s; }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 90; width: min(440px, 92vw); background: var(--paper); display: flex; flex-direction: column; transition: transform .45s var(--ease), visibility 0s .45s; visibility: hidden; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); min-height: 64px; }
.drawer-title { font: 800 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.drawer-title span { color: var(--stone); }
.drawer-body { flex: 1; overflow-y: auto; }
.mobile-nav { padding: 8px 20px 30px; display: flex; flex-direction: column; }
.mobile-nav > a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 800 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav summary .icon { transition: transform .3s; }
.mobile-nav details .mega-inner { display: flex; flex-direction: column; gap: 22px; padding: 18px 0; }
.mobile-nav details .mega-feature { display: none; }
.mobile-sub { display: grid; gap: 14px; padding: 16px 0; }
.mobile-nav-foot { margin-top: 28px; display: grid; gap: 16px; font-size: 14px; }
.mobile-nav-foot a { display: flex; align-items: center; gap: 10px; }

/* Search */
.search-panel { position: fixed; left: 0; right: 0; top: 0; z-index: 95; background: var(--paper); max-height: 100svh; overflow-y: auto; transform: translateY(-104%);
  transition: transform .45s var(--ease), visibility 0s .45s; visibility: hidden; box-shadow: 0 30px 60px -30px rgba(21, 20, 18, .4); }
.search-panel.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.search-inner { max-width: 1100px; margin: 0 auto; padding: 22px var(--gutter) 40px; }
.search-form { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding: 10px 0; }
.search-form input { flex: 1; border: 0; background: transparent; font: 800 clamp(18px, 2.4vw, 28px)/1.2 var(--f-display); letter-spacing: 0; text-transform: uppercase; padding: 6px 0; min-width: 0; }
.search-form input::placeholder { color: var(--taupe); text-transform: none; font-family: var(--f-body); font-size: 17px; letter-spacing: 0; }
.search-results { padding-top: 26px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.sr-col h3 { margin-bottom: 14px; }
.sr-terms { display: grid; gap: 10px; }
.sr-terms a, .sr-terms button { display: flex; align-items: center; gap: 10px; font-size: 14px; text-align: left; }
.sr-terms .icon { width: 16px; height: 16px; color: var(--stone); }
.sr-terms a:hover, .sr-terms button:hover { text-decoration: underline; text-underline-offset: 3px; }
.sr-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sr-prod { display: grid; gap: 8px; font-size: 13px; }
.sr-prod img { aspect-ratio: 2/3; object-fit: cover; background: var(--studio); width: 100%; }
.sr-prod mark { background: var(--sand); color: inherit; }
.sr-empty { grid-column: 1/-1; }
.sr-all { margin-top: 20px; }
.sr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal::before { content: ''; position: absolute; inset: 0; background: rgba(21, 20, 18, .5); opacity: 0; transition: opacity .3s; }
.modal.is-open::before { opacity: 1; }
.modal-box { position: relative; background: var(--paper); width: min(980px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .3s, transform .4s var(--ease); }
.modal.is-open .modal-box { opacity: 1; transform: none; }
.modal-close { position: absolute; right: 10px; top: 10px; z-index: 3; background: var(--paper); }
.modal--narrow .modal-box { width: min(760px, 100%); }
.modal--full .modal-box { width: 100%; height: 100%; max-height: none; background: var(--ink); }

/* Toasts */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--paper); padding: 14px 16px; font-size: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  animation: toastIn .45s var(--ease); }
.toast img { width: 44px; height: 66px; object-fit: cover; background: var(--studio); }
.toast .icon { width: 20px; height: 20px; }
.toast a { text-decoration: underline; text-underline-offset: 3px; margin-left: auto; white-space: nowrap; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.toast--error { background: var(--burgundy); }
.toast.is-out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); height: calc(100svh - var(--header-h) - var(--ann-h)); min-height: 560px; max-height: 920px; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero-bg { position: absolute; inset: -40px; z-index: 0; }
.hero-bg-slide { position: absolute; inset: 0; background: center/cover; filter: blur(28px) brightness(.5) saturate(.6); transform: scale(1.1); opacity: 0; transition: opacity 1.4s; }
.hero-bg-slide.is-active { opacity: 1; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px clamp(20px, 4vw, 64px); }
.hero-titles { display: grid; }
.hero-title-slide { grid-area: 1/1; opacity: 0; transform: translateY(18px); transition: opacity .9s, transform 1s var(--ease); }
.hero-title-slide.is-active { opacity: 1; transform: none; transition-delay: .25s; }
.hero-kicker { font: 500 11px/1.4 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: rgba(243, 235, 221, .78); margin-bottom: 22px; }
.hero-title { font: 500 clamp(40px, 4.6vw, 74px)/1.04 var(--f-display); letter-spacing: .14em; text-transform: uppercase; margin-right: -.14em; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.hero-media { position: relative; z-index: 1; }
.hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; opacity: 0; transition: opacity 1.2s; }
.hero-slide.is-active { opacity: 1; }
.hero-fig { margin: 0; overflow: hidden; background: var(--studio); }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active .hero-fig img { transform: scale(1); }
.hero-fig--b { border-left: 1px solid rgba(243, 235, 221, .25); }
.hero-caption { position: absolute; right: 22px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(243, 235, 221, .92); color: var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background .3s; }
.hero-caption span { color: var(--stone); }
.hero-caption .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hero-caption:hover { background: var(--paper); }
.hero-caption:hover .icon { transform: translateX(4px); }
.hero-progress { position: absolute; z-index: 3; left: clamp(20px, 4vw, 64px); bottom: 26px; display: flex; gap: 8px; }
.hero-progress button { width: 44px; height: 20px; display: grid; align-items: center; }
.hero-progress span { display: block; height: 2px; background: rgba(243, 235, 221, .3); position: relative; overflow: hidden; }
.hero-progress span::after { content: ''; position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.hero-progress [aria-selected=true] span::after { animation: heroBar var(--hero-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-progress [aria-selected=true] span::after { animation-play-state: paused; }
@keyframes heroBar { to { transform: scaleX(1); } }

/* Marquee */
.marquee { background: var(--beige); color: var(--black); overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; font: 800 13px/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tint { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .link-arrow { white-space: nowrap; flex: none; }
.page-pad { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 100px); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); }
/* ---------- "Find your fit" cards: 3 x 2, same shape; tilt + glare (public/js/home.js) ---------- */
.cat-tile { position: relative; display: block; aspect-ratio: 4/5; color: var(--paper); perspective: 1000px; }
/* Entrance: each card unveils upwards, one after another */
.js .cat-tile.reveal { transform: none; }
.js .cat-tile.reveal .cat-card { clip-path: inset(100% 0 0 0); }
.js .cat-tile.reveal.is-in .cat-card { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease) calc(var(--d, 0) * 110ms), transform .5s var(--ease), box-shadow .5s; }
.cat-card { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--studio); transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s; will-change: transform; }
.cat-tile:hover .cat-card { box-shadow: 0 28px 50px -26px rgba(21, 20, 18, .55); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-img-a { transition: transform 1.4s var(--ease), filter .6s; }
.cat-tile:hover .cat-img-a { transform: scale(1.08); filter: saturate(1.05); }
/* the flat-lay slides up over the model shot */
.cat-img-b { clip-path: inset(100% 0 0 0); transition: clip-path .75s var(--ease), transform 1.4s var(--ease); transform: scale(1.06); }
.cat-tile:hover .cat-img-b { clip-path: inset(0 0 0 0); transform: none; }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(21, 20, 18, .66)); transition: opacity .5s; }
.cat-tile:hover .cat-card::after { opacity: 1; background: linear-gradient(180deg, transparent 30%, rgba(21, 20, 18, .72)); }
/* thin inner frame that draws in on hover */
.cat-card::before { content: ''; position: absolute; inset: 12px; z-index: 2; border: 1px solid rgba(243, 235, 221, .55); opacity: 0; transform: scale(.97); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.cat-tile:hover .cat-card::before { opacity: 1; transform: none; }
.cat-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: soft-light; }
.cat-tile:hover .cat-glare { opacity: 1; }
.cat-num { position: absolute; z-index: 3; top: 22px; left: 24px; font: 500 13px/1 var(--f-body); letter-spacing: .2em; color: rgba(243, 235, 221, .85); transition: transform .5s var(--ease); }
.cat-tile:hover .cat-num { transform: translateY(-2px); }
.cat-info { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 4px; transform: translateY(6px); transition: transform .55s var(--ease); }
.cat-tile:hover .cat-info { transform: none; }
.cat-name { font: 800 clamp(20px, 1.9vw, 30px)/1 var(--f-display); text-transform: uppercase; letter-spacing: 0; }
.cat-count { font-size: 12px; color: rgba(243, 235, 221, .78); }
/* the short line opens up on hover */
.cat-blurb { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .4s; }
.cat-blurb > span { overflow: hidden; font-size: 14px; line-height: 1.45; padding-top: 4px; }
.cat-tile:hover .cat-blurb, .cat-tile:focus-visible .cat-blurb { grid-template-rows: 1fr; opacity: 1; }
.cat-link { position: relative; display: inline-flex; align-items: center; gap: 8px; width: max-content; margin-top: 10px; padding-bottom: 4px; font: 600 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.cat-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cat-tile:hover .cat-link::after { transform: none; }
.cat-link .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.cat-tile:hover .cat-link .icon { transform: translateX(6px); }
.cat-tile:focus-visible { outline: none; }
.cat-tile:focus-visible .cat-card { outline: 2px solid var(--ink); outline-offset: 4px; }
/* "Coming soon" cards: the outlined word fills with colour on hover */
.cat-tile--soon { color: var(--ink); }
.cat-tile--soon .cat-card { background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.cat-tile--soon .cat-card::after { display: none; }
.cat-tile--soon .cat-card::before { border-color: var(--line-2); }
.cat-tile--soon .cat-num, .cat-tile--soon .cat-count { color: var(--stone); }
.cat-soon-mark { position: absolute; z-index: 1; left: 0; right: 0; top: 16%; text-align: center; font: 900 clamp(40px, 5vw, 80px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px var(--taupe); background: linear-gradient(90deg, var(--brand) 50%, transparent 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; transition: background-position .8s var(--ease), -webkit-text-stroke-color .4s, transform 1s var(--ease); }
.cat-tile--soon:hover .cat-soon-mark { background-position: 0 0; -webkit-text-stroke-color: var(--brand); transform: translateY(-6px); }
.cat-tile--soon .cat-info::before { content: ''; height: 1px; margin-bottom: 16px; background: var(--line-2); }
.cat-tile--soon .cat-link { color: var(--stone); }
.section--tint .cat-tile--soon .cat-card { background: var(--paper); }
@media (max-width: 760px) {
  .cat-info { left: 14px; right: 14px; bottom: 14px; }
  .cat-num { top: 14px; left: 14px; font-size: 11px; }
  .cat-name { font-size: 20px; }
  .cat-card::before { inset: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .cat-tile.reveal .cat-card { clip-path: none; }
  .cat-card, .cat-img-a, .cat-img-b, .cat-info, .cat-blurb { transition-duration: .01s; }
}

/* ---------- Product grid / cards ---------- */
.grid--products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(10px, 1.4vw, 22px); }
.card { position: relative; display: flex; flex-direction: column; animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card-media { position: relative; overflow: hidden; background: var(--studio); aspect-ratio: 2/3; }
.card-media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(181, 138, 79, 0); transition: box-shadow .45s var(--ease); }
@media (hover: hover) { .card:hover .card-media::after { box-shadow: inset 0 0 0 1px var(--gold); } }
.card-img { position: absolute; inset: 0; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card-img-b { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img-b { opacity: 1; }
  .card:hover .card-img img { transform: scale(1.035); }
  .card:hover .quick-add, .card:focus-within .quick-add { transform: none; opacity: 1; }
  .quick-view-btn span { max-width: 0; overflow: hidden; transition: max-width .35s var(--ease), margin .35s; }
  .quick-view-btn:hover span, .quick-view-btn:focus-visible span { max-width: 100px; margin-left: 6px; }
  .card:hover .quick-view-btn { opacity: 1; }
}
.is-soldout .card-img img { filter: grayscale(.6) opacity(.7); }
.labels { position: absolute; z-index: 2; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.label { padding: 6px 9px 5px; font: 700 9px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; background: var(--light-cream); color: var(--ink); }
.label--new { background: var(--black); color: var(--beige); }
.label--best { background: var(--gold); color: var(--black); }
.label--trending { background: var(--charcoal); color: var(--light-cream); }
.label--limited { background: var(--orange); color: var(--black); }
.label--soldout { background: var(--stone); color: var(--paper); }
.wish-btn { position: absolute; z-index: 3; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(243, 235, 221, .92); transition: transform .2s, background .2s; }
.wish-btn .icon { width: 19px; height: 19px; transition: fill .2s, color .2s; fill: transparent; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn[aria-pressed=true] .icon { fill: var(--orange); color: var(--orange); }
.wish-btn.pop .icon { animation: heart .5s var(--ease); }
@keyframes heart { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }
.wish-btn--inline { position: static; border-radius: 0; background: transparent; }
.quick-add { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 8px; padding: 12px; background: rgba(21, 20, 18, .92); color: var(--light-cream); backdrop-filter: blur(8px);
  transform: translateY(calc(100% + 12px)); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.quick-add-title { display: flex; justify-content: space-between; font: 700 9.5px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; color: var(--beige); }
.quick-add-title span { color: rgba(243, 235, 221, .55); font-weight: 600; }
.quick-add-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.qa-size { flex: 1 0 34px; height: 34px; border: 1px solid var(--line-dark-2); color: var(--light-cream); font: 600 12px/1 var(--f-display); transition: background .2s, color .2s, border-color .2s; }
.qa-size:hover:not(:disabled) { background: var(--beige); color: var(--black); border-color: var(--beige); }
.qa-size:disabled { color: rgba(243, 235, 221, .3); text-decoration: line-through; border-color: var(--line-dark); }
.qa-size.is-loading { opacity: .5; }
.quick-view-btn { position: absolute; z-index: 3; right: 8px; top: 50px; height: 36px; min-width: 36px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 18px; background: var(--black); color: var(--beige);
  font: 700 9.5px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s, background .25s; }
.quick-view-btn:hover { background: var(--orange); color: var(--black); }
.quick-view-btn .icon { width: 18px; height: 18px; }
@media (hover: none) { .quick-add { display: none; } .quick-view-btn span { display: none; } }
.card-body { padding-top: 14px; display: grid; gap: 6px; }
.card-title { font: 700 12.5px/1.35 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.card-meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--stone); }
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; font: 600 14px/1.2 var(--f-display); letter-spacing: .02em; }
.price-now { font-weight: 700; }
.price-now.is-sale { color: inherit; }
.price-was { color: var(--stone); font-size: .88em; font-weight: 500; }
.price-off { padding: 4px 6px 3px; font: 700 10px/1 var(--f-display); letter-spacing: .08em; background: var(--orange); color: var(--black); text-transform: uppercase; }
.price--lg { font-size: 22px; gap: 6px 14px; margin: 14px 0 4px; }
.price--lg .price-off { font-size: 11px; padding: 5px 8px 4px; }
.price--sm { font-size: 13px; }

/* Rails */
.rail { position: relative; }
.grid--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 3 * clamp(10px, 1.4vw, 22px)) / 4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.grid--rail::-webkit-scrollbar { display: none; }
.grid--rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.section--rv .grid--products > .card:nth-child(n+5) { display: none; }

/* Editorial collections */
.ed-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.6vw, 24px); }
.ed-card { position: relative; display: block; overflow: hidden; }
.ed-card--1 { grid-row: span 2; }
.ed-card--4 { grid-column: 2 / span 1; }
.ed-media { overflow: hidden; background: var(--studio); aspect-ratio: 4/5; height: 100%; }
.ed-card--1 .ed-media { aspect-ratio: auto; height: 100%; min-height: 560px; }
.ed-card--2 .ed-media { aspect-ratio: 4/5; }
.ed-card--3 .ed-media { aspect-ratio: 4/6; margin-top: 60px; }
.ed-card--4 .ed-media, .ed-card--5 .ed-media { aspect-ratio: 1/1; }
.ed-card--5 .ed-media { margin-top: -60px; }
.ed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ed-card:hover .ed-media img { transform: scale(1.05); }
.ed-cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 70px 22px 22px; color: var(--light-cream); background: linear-gradient(transparent, rgba(21, 20, 18, .78)); display: grid; gap: 6px; }
.ed-cap h3 { font: 800 clamp(20px, 2.1vw, 32px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.ed-cap p { font-size: 14px; color: var(--beige); }
.ed-num { font: 500 12px/1 var(--f-body); letter-spacing: .2em; opacity: .75; }
.ed-cap .link-arrow { margin-top: 6px; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 110px); padding: clamp(60px, 8vw, 120px) var(--gutter); max-width: 1520px; margin: 0 auto; }
.story-media { position: relative; }
.story-media > img { width: 78%; aspect-ratio: 2/3; object-fit: cover; background: var(--studio); }
.story-media-2 { position: absolute; right: 0; bottom: -40px; width: 40%; border: 10px solid var(--paper); }
.story-media-2 img { aspect-ratio: 2/3; object-fit: cover; background: var(--studio); }
.story-copy { display: grid; gap: 24px; justify-items: start; }

/* Newsletter */
.newsletter { background: var(--charcoal); color: var(--light-cream); padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid rgba(181, 138, 79, .35); }
.newsletter .display { color: var(--beige); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.newsletter .eyebrow { color: var(--gold); margin-bottom: 14px; }
.newsletter p { color: rgba(243, 235, 221, .78); max-width: 44ch; margin-top: 14px; }
.nl-field { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(216, 194, 163, .5); padding-bottom: 8px; }
.nl-field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--paper); padding: 14px 0; font-size: 16px; }
.nl-field input::placeholder { color: rgba(243, 235, 221, .5); }
.nl-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--charcoal) inset; -webkit-text-fill-color: var(--paper); }
.nl-fine { font-size: 12px; color: rgba(243, 235, 221, .45) !important; }
.newsletter .form-msg.is-ok { color: var(--sand); }
.newsletter .form-msg.is-err { color: #F2A46B; }

/* Footer */
.site-footer { background: var(--black); color: rgba(243, 235, 221, .72); padding-top: clamp(50px, 6vw, 84px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: grid; gap: 18px; justify-items: start; max-width: 340px; }
.footer-brand p { font-size: 14px; }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-size: 14px; }
.footer-mail .icon { width: 18px; height: 18px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(243, 235, 221, .22); border-radius: 50%; color: var(--paper); transition: background .25s, color .25s; }
.socials a:hover { background: var(--beige); color: var(--ink); }
.socials .icon { width: 18px; height: 18px; }
.footer-col h3 { font: 700 11px/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; color: var(--beige); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; font-size: 14px; }
.footer-col a:hover { color: var(--beige); }
.footer-wordmark { display: grid; justify-items: center; gap: 14px; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0 var(--gutter) clamp(20px, 3vw, 34px); user-select: none; }
.footer-word { display: block; width: 100%; text-align: center; font: 900 clamp(64px, 19.5vw, 330px)/.8 var(--f-display); letter-spacing: -.02em; color: var(--beige); white-space: nowrap; }
.footer-since { display: flex; align-items: center; gap: 14px; font: 700 clamp(10px, 1vw, 12px)/1 var(--f-display); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.footer-since i { width: 40px; height: 1px; background: currentColor; }
.footer-tagline { font: 800 18px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--beige); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(243, 235, 221, .12); font-size: 12px; color: rgba(243, 235, 221, .5); position: relative; }

/* ---------- Listing ---------- */
.listing { padding-top: clamp(22px, 3vw, 40px); padding-bottom: 90px; }
.listing-head { margin-bottom: clamp(20px, 3vw, 36px); display: grid; gap: 14px; }
.listing-intro { max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--stone); }
.crumbs a:hover { color: var(--ink); }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.toolbar-filter { display: none; }
.result-count { font-size: 13px; color: var(--stone); }
.result-count strong { color: var(--ink); font-weight: 600; }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 0; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 14px; border: 1px solid var(--line-2); border-radius: 16px; font-size: 12.5px; transition: background .2s, border-color .2s; }
.chip .icon { width: 15px; height: 15px; }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-clear { font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.listing-body { display: grid; grid-template-columns: 250px 1fr; gap: clamp(24px, 3vw, 48px); padding-top: 26px; }
.filters { align-self: start; position: sticky; top: calc(var(--header-h) + 70px); max-height: calc(100svh - var(--header-h) - 90px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.filters-head, .filters-foot { display: none; }
.f-group { border-bottom: 1px solid var(--line); }
.f-group summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; list-style: none; font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; }
.f-group summary::-webkit-details-marker { display: none; }
.f-group summary .icon { width: 18px; height: 18px; transition: transform .3s; }
.f-group[open] summary .icon { transform: rotate(180deg); }
.f-body { padding-bottom: 18px; }
.f-list { display: grid; gap: 4px; }
.f-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; }
.f-check input, .f-size input, .pay-opt input, .size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.f-check .box { width: 17px; height: 17px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s; }
.f-check .box .icon { width: 13px; height: 13px; color: var(--paper); opacity: 0; transform: scale(.6); transition: .2s var(--ease); }
.f-check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.f-check input:checked + .box .icon { opacity: 1; transform: none; }
.f-check input:focus-visible + .box, .f-check input:focus-visible + .switch { outline: 2px solid var(--ink); outline-offset: 2px; }
.f-check:hover .box { border-color: var(--ink); }
.f-label { flex: 1; }
.f-count { font-size: 12px; color: var(--stone); }
.f-check.is-empty { color: var(--taupe); }
.f-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.f-size { position: relative; cursor: pointer; }
.f-size span { display: grid; place-items: center; height: 40px; border: 1px solid var(--line-2); font-size: 13px; transition: .2s; }
.f-size:hover span { border-color: var(--ink); }
.f-size input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.f-size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.f-size.is-empty span { color: var(--taupe); border-style: dashed; }
.f-prices { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip-btn { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 16px; font-size: 12.5px; transition: .2s; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.f-range { display: flex; align-items: end; gap: 6px; }
.f-range label { flex: 1; display: grid; gap: 4px; font-size: 11px; color: var(--stone); }
.f-range input { width: 100%; height: 38px; border: 1px solid var(--line-2); background: transparent; padding: 0 10px; font-size: 13px; }
.f-range input:focus { border-color: var(--ink); }
.dash { padding-bottom: 8px; }
.switch { width: 32px; height: 18px; border-radius: 9px; background: var(--line-2); position: relative; flex: none; transition: background .25s; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.f-toggle input:checked + .switch { background: var(--ink); }
.f-toggle input:checked + .switch::after { transform: translateX(14px); }
.results { min-width: 0; }
.results .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results .grid--products[aria-busy=true] { opacity: .45; transition: opacity .2s; pointer-events: none; }
.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 56px; }
.progress { width: 200px; height: 2px; background: var(--line); }
.progress span { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.pager a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); }
.pager .is-current { background: var(--ink); color: var(--paper); }
.empty-results { grid-column: 1/-1; display: grid; justify-items: center; text-align: center; gap: 14px; padding: 70px 20px; border: 1px dashed var(--line-2); }
.empty-results .muted { max-width: 46ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }

/* Dropdown (custom — avoids native OS highlight colours) */
.dropdown, .ds { position: relative; margin-left: auto; }
.ds { margin-left: 0; }
.dropdown-btn, .ds-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 4px 0 12px; font-size: 13px; border: 1px solid transparent; white-space: nowrap; }
.dropdown-btn:hover { border-color: var(--line-2); }
.dropdown-btn .icon, .ds-btn .icon { width: 18px; height: 18px; transition: transform .25s; }
.dropdown.is-open .dropdown-btn .icon, .ds.is-open .ds-btn .icon { transform: rotate(180deg); }
.dropdown-menu, .ds-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; max-height: 300px; overflow-y: auto; background: var(--paper); border: 1px solid var(--line-2); padding: 6px;
  box-shadow: 0 20px 40px -20px rgba(21, 20, 18, .35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .2s var(--ease); }
.dropdown.is-open .dropdown-menu, .ds.is-open .ds-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu li, .ds-menu li { padding: 10px 12px; font-size: 13.5px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.dropdown-menu li:hover, .dropdown-menu li:focus, .ds-menu li:hover, .ds-menu li:focus, .ds-menu li.is-active { background: var(--cream); outline: none; }
.dropdown-menu li[aria-selected=true], .ds-menu li[aria-selected=true] { font-weight: 600; }
.dropdown-menu li[aria-selected=true]::after, .ds-menu li[aria-selected=true]::after { content: '✓'; }
.ds select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.ds-btn { width: 100%; justify-content: space-between; height: 48px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; text-align: left; }
.ds-btn:hover, .ds.is-open .ds-btn { border-color: var(--ink); }
.ds-menu { left: 0; right: 0; min-width: 0; }
.ds.is-invalid .ds-btn { border-color: var(--burgundy); }

/* Collection banner / index */
.col-banner { display: grid; grid-template-columns: 1fr 1fr; min-height: min(70svh, 640px); background: var(--cream); }
.col-banner-media { overflow: hidden; background: var(--studio); }
.col-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.col-banner-copy { display: grid; align-content: center; gap: 18px; padding: 40px clamp(20px, 5vw, 80px); }
.col-index { display: grid; gap: clamp(30px, 5vw, 70px); }
.col-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding-top: 30px; border-top: 1px solid var(--line); }
.col-row-num { font: 700 15px/1 var(--f-display); letter-spacing: .16em; color: var(--stone); align-self: start; }
.col-row-media { overflow: hidden; aspect-ratio: 4/5; background: var(--studio); }
.col-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.col-row:hover .col-row-media img { transform: scale(1.04); }
.col-row-copy { display: grid; gap: 16px; justify-items: start; }
.col-row:nth-child(even) .col-row-media { order: 3; }

/* ---------- Product page ---------- */
.pd { padding-top: 20px; }
.pd .crumbs { margin-bottom: 20px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery-thumbs { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-thumbs { display: grid; gap: 10px; align-content: start; }
.thumb { position: relative; aspect-ratio: 2/3; overflow: hidden; background: var(--studio); opacity: .55; transition: opacity .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; }
.thumb.is-active::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--ink); }
.gallery-main { position: relative; overflow: hidden; background: var(--studio); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 2/3; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
.gallery-slide.is-zoomed img { transform: scale(2); }
.gallery-expand { position: absolute; z-index: 2; right: 12px; bottom: 12px; background: rgba(243, 235, 221, .9); }
.gallery-dots { display: none; position: absolute; left: 0; right: 0; bottom: 14px; justify-content: center; gap: 6px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 235, 221, .6); transition: .3s; }
.gallery-dots .is-active { background: var(--ink); width: 18px; border-radius: 3px; }
.pd-info { display: grid; gap: 4px; align-content: start; position: sticky; top: calc(var(--header-h) + 16px); }
.pd-title { font: 800 clamp(24px, 2.6vw, 38px)/1.02 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; margin-top: 10px; }
.pd-sub { display: flex; align-items: center; gap: 16px; margin-top: 8px; color: var(--stone); }
.pd-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.pd-colour { margin: 22px 0 6px; display: grid; gap: 10px; }
.pd-colours { display: flex; flex-wrap: wrap; gap: 8px; }
.colour-link { padding: 3px; border: 1px solid transparent; border-radius: 50%; transition: border-color .2s; }
.colour-link:hover { border-color: var(--line-2); }
.colour-link.is-current { border-color: var(--ink); }
.pd-label { font-size: 13px; }
.pd-label strong { font-weight: 600; }
.pd-selected { font-weight: 600; }
.pd-row { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.size-opt { position: relative; cursor: pointer; }
.size-opt span { display: grid; place-items: center; height: 50px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: .2s; }
.size-opt:hover span { border-color: var(--ink); }
.size-opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.size-opt.is-out { cursor: not-allowed; }
.size-opt.is-out span { color: var(--taupe); border-color: var(--line); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-2) 50%, transparent calc(50% + .5px)); }
.size-grid.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.form-msg { font-size: 13px; color: var(--burgundy); min-height: 0; }
.form-msg:not(:empty) { margin-top: 8px; }
.form-msg.is-ok { color: var(--olive); }
.stock-note { font-size: 13px; color: var(--burgundy); }
.stock-note:empty { display: none; }
.pd-qty-row { display: flex; gap: 10px; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 56px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; }
.qty button:disabled { opacity: .3; }
.qty button .icon { width: 18px; height: 18px; }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-weight: 500; }
.qty--sm { height: 34px; }
.qty--sm button { width: 32px; }
.qty--sm input { width: 28px; font-size: 13px; }
.pd-qty-row .wish-btn--inline { width: 56px; height: 56px; border: 1px solid var(--line-2); margin-left: auto; }
.pd-actions { display: grid; gap: 10px; margin-top: 10px; }
.pd-perks { display: grid; gap: 10px; margin: 24px 0 8px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.pd-perks li { display: flex; align-items: center; gap: 12px; }
.pd-perks .icon { width: 20px; height: 20px; color: var(--stone); }
.accs { margin-top: 8px; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; list-style: none; cursor: pointer; font: 600 11.5px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.acc[open] summary .icon { transform: rotate(45deg); }
.acc-body { padding-bottom: 20px; font-size: 14px; color: var(--ink-2); display: grid; gap: 10px; justify-items: start; }
.acc-body a { text-decoration: underline; text-underline-offset: 3px; }
.specs { display: grid; margin: 0; width: 100%; }
.specs div { display: grid; grid-template-columns: 140px 1fr; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.specs dt { color: var(--stone); }
.specs dd { margin: 0; }

.stars { display: inline-flex; gap: 1px; color: var(--line-2); }
.stars .on { color: var(--ink); }
.stars .icon { width: 14px; height: 14px; }
.stars--lg .icon { width: 20px; height: 20px; }
.reviews-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 80px); }
.reviews-summary { display: grid; gap: 12px; align-content: start; justify-items: start; }
.rating-big { font: 800 64px/1 var(--f-display); }
.rating-big span { font-size: 24px; color: var(--stone); }
.reviews-list { display: grid; gap: 0; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.review:first-child { padding-top: 0; }
.review h3 { font-size: 15px; font-weight: 600; }
.review-top { display: flex; justify-content: space-between; }
.review-form { display: grid; gap: 14px; padding: 24px; background: var(--cream); margin-bottom: 26px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--line-2); }
.rating-input label .icon { width: 28px; height: 28px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--ink); }
.rating-input input:focus-visible + label { outline: 2px solid var(--ink); }

.sticky-atc { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 235, 221, .97); border-top: 1px solid var(--line); backdrop-filter: blur(10px); transform: translateY(100%); transition: transform .35s var(--ease); }
.sticky-atc.is-on { transform: none; }
.sticky-atc-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sticky-atc-info img { width: 40px; height: 60px; object-fit: cover; background: var(--studio); }
.sticky-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Lightbox */
.lightbox { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.lightbox img { max-width: 100%; max-height: 100svh; object-fit: contain; cursor: zoom-in; transition: transform .3s ease-out; }
.lightbox.is-zoomed img { cursor: zoom-out; transform: scale(2.2); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(243, 235, 221, .92); }
.lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }
.lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--paper); font-size: 12px; letter-spacing: .2em; }

/* Quick view */
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { position: relative; background: var(--studio); overflow: hidden; }
.qv-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.qv-track::-webkit-scrollbar { display: none; }
.qv-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 2/3; object-fit: cover; scroll-snap-align: start; }
.qv-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(243, 235, 221, .9); }
.qv-prev { left: 10px; } .qv-next { right: 10px; }
.qv-info { padding: 40px 32px 32px; display: grid; gap: 6px; align-content: start; }
.qv-info .labels { position: static; margin-bottom: 8px; }
.qv-title { font: 800 28px/1.02 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.qv-desc { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.qv .pd-actions { grid-template-columns: 1fr 56px; }
.qv .link-arrow { margin-top: 16px; }

/* Size guide */
.size-guide { padding: 40px clamp(20px, 4vw, 44px); display: grid; gap: 14px; }
.sg-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 8px; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button { padding: 10px 16px; font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.seg .is-on { background: var(--ink); color: var(--paper); }
.seg--block { display: flex; }
.seg--block button { flex: 1; padding: 14px; }
.sg-finder { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.sg-finder label { display: flex; align-items: center; gap: 8px; }
.sg-finder input { width: 76px; height: 38px; border: 1px solid var(--line-2); background: transparent; padding: 0 10px; }
.sg-result { font-size: 14px; }
.sg-result:empty { display: none; }
.table-wrap { overflow-x: auto; }
.sg-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.sg-table th, .sg-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.sg-table thead th { font: 600 10.5px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.sg-table tr.is-match { background: var(--cream); }
.sg-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.sg-how h3 { font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }

/* ---------- Cart drawer ---------- */
.cart-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-ship { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; display: grid; gap: 10px; }
.cart-ship .bar { height: 3px; background: var(--cream); overflow: hidden; }
.cart-ship .bar span { display: block; height: 100%; background: var(--olive); transition: width .6s var(--ease); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 20px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: cardIn .4s var(--ease) both; }
.cart-item img { width: 84px; height: 126px; object-fit: cover; background: var(--studio); }
.cart-item-info { display: grid; gap: 4px; align-content: start; font-size: 13px; }
.cart-item-name { font-size: 14px; font-weight: 500; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-remove { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--stone); }
.cart-remove:hover { color: var(--ink); }
.cart-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.cart-line { display: flex; justify-content: space-between; font-size: 14px; }
.cart-line--total { font-weight: 600; font-size: 16px; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 40px 20px; }
.cart-empty .icon { width: 44px; height: 44px; color: var(--taupe); }
.skeleton-list { padding: 20px; display: grid; gap: 16px; }
.sk, .sk-card { background: linear-gradient(90deg, var(--cream) 0%, #EFE5D4 50%, var(--cream) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.sk { height: 126px; }
.sk-card { aspect-ratio: 2/3; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; font-size: 13px; }
.field > span { color: var(--ink-2); font-weight: 500; }
.field em { color: var(--stone); font-style: normal; font-weight: 400; }
.field input, .field textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; font-size: 15px; transition: border-color .2s; border-radius: 0; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--burgundy); }
.field-err { color: var(--burgundy); font-size: 12px; }
.field-err:empty { display: none; }
.field--full { grid-column: 1/-1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

/* ---------- Checkout ---------- */
.checkout { padding-bottom: 80px; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.checkout-head p { display: flex; align-items: center; gap: 6px; }
.checkout-head .icon { width: 16px; height: 16px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.checkout-form { display: grid; gap: 30px; }
.checkout-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.checkout-form legend { font: 800 18px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 16px; padding: 0; }
.steps { display: flex; gap: 8px; font: 600 10.5px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.steps li + li::before { content: '—'; margin-right: 8px; }
.steps .is-on { color: var(--ink); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-opt strong { display: block; font-size: 14px; }
.pay-opt small { color: var(--stone); font-size: 12.5px; }
.pay-box { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink); flex: none; display: grid; place-items: center; }
.pay-box::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .2s var(--ease); }
.pay-opt:has(input:checked) { border-color: var(--ink); background: rgba(216, 194, 163, .25); }
.pay-opt input:checked + .pay-box::after { transform: scale(1); }
.pay-opt input:focus-visible + .pay-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.pay-opt.is-disabled { opacity: .5; cursor: not-allowed; }
.checkout-form .small { display: flex; align-items: center; gap: 8px; }
.checkout-form .small .icon { width: 16px; height: 16px; }
.summary { position: sticky; top: 24px; background: var(--cream); padding: clamp(20px, 3vw, 34px); display: grid; gap: 18px; }
.summary-title { font: 800 18px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.summary-items { display: grid; gap: 14px; }
.summary-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; }
.summary-img { position: relative; }
.summary-img img { width: 60px; height: 90px; object-fit: cover; background: var(--studio); }
.qty-badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.summary-name { font-size: 14px; font-weight: 500; }
.summary-price { font-size: 14px; font-weight: 500; }
.code-form { display: flex; gap: 8px; }
.code-form input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line-2); background: var(--paper); padding: 0 12px; text-transform: uppercase; }
.code-form input:focus { border-color: var(--ink); }
.totals { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals dd { margin: 0; }
.totals-grand { padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 18px; font-weight: 600; }
.savings { font-size: 13px; color: var(--olive); font-weight: 500; }

/* Order / account */
.confirm { max-width: 900px; display: grid; gap: 34px; }
.confirm-head { display: grid; gap: 14px; justify-items: start; }
.confirm-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--olive); color: var(--paper); display: grid; place-items: center; animation: pop .6s var(--ease); }
.confirm-icon.is-pending { background: var(--taupe); }
.confirm-icon .icon { width: 28px; height: 28px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.order-card { border: 1px solid var(--line-2); padding: clamp(18px, 3vw, 30px); display: grid; gap: 24px; margin-bottom: 20px; background: var(--paper); }
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; font-size: 14px; }
.order-meta .eyebrow { margin-bottom: 6px; }
.order-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; font-size: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.order-foot .eyebrow { margin-bottom: 8px; }
.status { display: inline-block; padding: 4px 9px; font: 600 10.5px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; background: var(--cream); }
.status--confirmed, .status--processing { background: var(--sand); }
.status--shipped { background: var(--ink); color: var(--paper); }
.status--delivered { background: var(--olive); color: var(--paper); }
.status--cancelled, .status--returned, .status--needs_attention { background: var(--burgundy); color: var(--paper); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; color: var(--taupe); }
.timeline li { position: relative; padding-top: 18px; }
.timeline li::before { content: ''; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline li::after { content: ''; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.timeline .is-done { color: var(--ink); }
.timeline .is-done::before { background: var(--ink); }
.timeline .is-done::after { background: var(--ink); }
.auth { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(30px, 6vw, 100px); align-items: center; min-height: 60svh; }
.auth-copy { display: grid; gap: 20px; }
.auth-box { display: grid; gap: 24px; padding: clamp(22px, 3vw, 36px); background: var(--cream); }
.auth-box form { display: grid; gap: 14px; }
.account-grid { display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
.account-nav { display: grid; gap: 4px; align-content: start; }
.account-nav a, .account-nav button { padding: 10px 0; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.account-nav .is-on { font-weight: 600; }

/* Static pages */
.prose-page { max-width: 860px; }
.prose { display: grid; gap: 16px; font-size: 15.5px; color: var(--ink-2); }
.prose h2 { font: 800 19px/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); margin-top: 18px; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.prose ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-cards > div { background: var(--cream); padding: 22px; display: grid; gap: 8px; align-content: start; }
.contact-cards h2 { margin-top: 0; font-size: 20px; }
.notfound { display: grid; gap: 16px; justify-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .main-nav > ul { gap: 16px; }
  .nav-link { font-size: 10.5px; letter-spacing: .12em; }
  .results .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  :root { --nav-h: 50px; --tabs-h: 34px; }
  .main-nav { display: none; }
  .only-mobile { display: inline-grid; }
  .header-row .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .header-row .logo-bird { height: 32px; } .header-row .logo-word { height: 12px; }
  .header-row { position: relative; gap: 8px; }
  .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .listing-body { grid-template-columns: 1fr; }
  .toolbar-filter { display: inline-flex; }
  .filters { position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; width: min(400px, 90vw); max-height: none; background: var(--paper); padding: 0; display: flex; flex-direction: column;
    transform: translateX(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .filters.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--line); }
  .filters-head h2 { font: 800 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
  .filters-form { flex: 1; overflow-y: auto; padding: 0 20px; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .ed-grid { grid-template-columns: 1fr 1fr; }
  .ed-card--1 { grid-row: auto; grid-column: 1 / -1; }
  .ed-card--1 .ed-media { min-height: 0; aspect-ratio: 16/11; }
  .ed-card--3 .ed-media, .ed-card--5 .ed-media { margin-top: 0; }
  .ed-card--4 { grid-column: auto; }
  .ed-card--5 { grid-column: 1 / -1; }
  .ed-card--5 .ed-media { aspect-ratio: 16/9; }
  .ed-card--2 .ed-media, .ed-card--3 .ed-media, .ed-card--4 .ed-media { aspect-ratio: 4/5; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 1fr; height: calc(100svh - var(--header-h) - var(--ann-h)); max-height: 820px; }
  .hero-copy { grid-area: 1/1; justify-content: flex-end; padding-bottom: 90px; background: linear-gradient(180deg, transparent 35%, rgba(21, 20, 18, .7)); }
  .hero-media { grid-area: 1/1; }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-fig--b { display: none; }
  .hero-fig img { object-position: center 20%; }
  .hero-caption { top: 16px; bottom: auto; right: 16px; padding: 9px 12px; font-size: 10.5px; }
  .hero-progress { left: 50%; transform: translateX(-50%); bottom: 30px; }
  .hero-bg { display: none; }
  .hero-ctas { margin-top: 26px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story-media { padding-bottom: 40px; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pd-grid { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; margin: 0 calc(-1 * var(--gutter)); }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .gallery-slide { cursor: default; }
  .pd-info { position: static; }
  .gallery-thumbs { position: static; }
  .pd .crumbs { display: none; }
  .sticky-atc { display: flex; }
  body[data-page=product] .site-footer { padding-bottom: 80px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .qv { grid-template-columns: 1fr; }
  .qv-track img { aspect-ratio: 4/5; }
  .qv-info { padding: 24px 20px; }
  .col-banner { grid-template-columns: 1fr; }
  .col-banner-media { aspect-ratio: 4/3; }
  .col-row { grid-template-columns: 1fr; }
  .col-row-num { display: none; }
  .col-row:nth-child(even) .col-row-media { order: 0; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .auth { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .order-meta { grid-template-columns: 1fr 1fr; }
  .order-foot { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: 1fr; gap: 24px; }
  .contact-cards, .sg-how { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .grid--products, .results .grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .grid--rail { grid-auto-columns: 46%; grid-template-columns: none; }
  .sr-products { grid-template-columns: repeat(2, 1fr); }
  .section-head .link-arrow { font-size: 11px; }
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal-box { max-height: 92svh; }
  .modal--full { align-items: stretch; }
  .section--rv .grid--products > .card:nth-child(n+5) { display: flex; }
}
@media (max-width: 600px) {
  :root { --ann-h: 32px; }
  .announce-item { font-size: 10px; letter-spacing: .14em; }
  .hide-xs { display: none; }
  .header-actions { gap: 0; }
  .icon-btn { width: 38px; height: 38px; }
  .card-title { font-size: 13px; }
  .price { font-size: 13px; }
  .price-off { font-size: 10px; }
  .label { font-size: 8.5px; padding: 4px 6px 3px; }
  .wish-btn { width: 32px; height: 32px; }
  .quick-view-btn { top: 46px; height: 32px; min-width: 32px; padding: 0 7px; }
  .hero-title { letter-spacing: .1em; }
  .btn--ghost-light { min-width: 0; flex: 1; }
  .hero-ctas { width: 100%; }
  .toolbar { gap: 10px; }
  .dropdown-btn { padding: 0 0 0 8px; font-size: 12px; }
  .result-count { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .story-media > img { width: 82%; }
  .specs div { grid-template-columns: 110px 1fr; }
}
@media (max-width: 360px) {
  .grid--products, .results .grid--products { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Brand: "Form your own" band + details ---------- */

.brand-details { background: var(--cream); }
.bd-grid { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 24px); }
.bd-card { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.bd-card img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.bd-card:hover img { transform: scale(1.045); }
.bd-card--wide { grid-row: span 2; }
.bd-card--wide img { aspect-ratio: auto; min-height: 100%; }
.bd-card figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; background: rgba(243, 235, 221, .92); color: var(--ink); font: 500 11px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.bd-card figcaption span { font-family: var(--f-display); color: var(--brand); font-size: 13px; }
.bd-note { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(24px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); color: var(--brand); }

.bd-note .lead { color: var(--ink-2); max-width: 60ch; }
@media (max-width: 900px) {
  .bd-grid { grid-template-columns: 1fr 1fr; }
  .bd-card--wide { grid-column: 1 / -1; grid-row: auto; }
  .bd-card--wide img { aspect-ratio: 3 / 2; }
  .bd-note { grid-template-columns: auto 1fr; }
  .bd-note .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .bd-grid { grid-template-columns: 1fr; }
  .bd-note { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- Password show / hide ---------- */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap > input { width: 100%; padding-right: 50px !important; }
.pw-toggle { position: absolute; top: 0; right: 0; bottom: 0; width: 46px; display: grid; place-items: center; color: var(--stone); background: none; border: 0; border-radius: 0 8px 8px 0; transition: color .2s; }
.pw-toggle:hover, .pw-toggle[aria-pressed=true] { color: var(--ink); }
.pw-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
input::-ms-reveal, input::-ms-clear { display: none; } /* hide Edge's own eye so there is only one */
.account-pw { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.account-pw-form { display: grid; gap: 16px; max-width: 440px; margin-top: 20px; }
.account-pw-form .btn { justify-self: start; }
.order-track { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0; padding: 16px 18px; background: var(--cream); }
.order-track p + p { margin-top: 4px; }

/* Coming soon page for sections without products yet */
.soon-panel { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 14px; padding: 90px 20px 70px; margin-bottom: 40px; background: var(--cream); border: 1px solid var(--line); }
.soon-panel > *:not(.soon-mark) { position: relative; }
.soon-panel .muted { max-width: 48ch; }
.soon-mark { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font: 900 clamp(70px, 14vw, 210px)/.85 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; white-space: nowrap; }
.soon-more { padding-top: 24px; }
@media (max-width: 640px) { .soon-panel { padding: 56px 18px 44px; margin-bottom: 16px; } }

/* ---------- Woman | Man tabs under the main nav ---------- */
.gender-tabs { display: flex; justify-content: center; gap: clamp(36px, 4vw, 60px); height: var(--tabs-h); align-items: stretch; margin-top: -4px; }
.gender-tab { position: relative; display: flex; align-items: center; padding: 0 6px; font: 700 11px/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; color: rgba(243, 235, 221, .5); transition: color .25s; }
.gender-tab:visited { color: rgba(243, 235, 221, .5); }
.gender-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .35s var(--ease); }
.gender-tab:hover { color: var(--light-cream); }
.gender-tab:hover::after { transform: scaleX(.4); }
.gender-tab.is-on, .gender-tab.is-on:visited { color: var(--beige); }
.gender-tab.is-on::after { transform: none; }
@media (max-width: 760px) { .gender-tabs { gap: 40px; margin-top: -2px; } .gender-tab::after { bottom: 4px; } }

/* ---------- "Coming soon" homepage for a side with no styles yet ---------- */
.g-soon { position: relative; overflow: hidden; display: grid; place-items: center; min-height: min(78svh, 760px); padding: 80px 0;
  background: radial-gradient(120% 90% at 50% 0%, #2f2d29, var(--black) 65%); color: var(--light-cream); text-align: center; }
.g-soon .eyebrow { color: var(--gold); }
.g-soon-ghost { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font: 900 clamp(110px, 24vw, 380px)/.8 var(--f-display); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(216, 194, 163, .14); white-space: nowrap; pointer-events: none; }
.g-soon-inner { position: relative; display: grid; justify-items: center; gap: 18px; }
.g-soon-title { position: relative; display: grid; justify-items: center; gap: 14px; margin: 6px 0 10px; line-height: 1; }
.g-soon-word { font: 900 clamp(56px, 10vw, 150px)/.9 var(--f-display); letter-spacing: -.02em; color: var(--beige); }
.g-soon-script { font: 700 clamp(13px, 1.4vw, 16px)/1 var(--f-display); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.g-soon-sub { max-width: 46ch; color: rgba(243, 235, 221, .75); font-size: clamp(15px, 1.2vw, 18px); }
.g-soon-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.g-soon .btn--line { --fg: var(--beige); --bd: var(--line-dark-2); }
.g-soon .btn--line:hover { --bg: var(--beige); --fg: var(--black); --bd: var(--beige); }

/* ---------- Dark sections (deep black, beige type) ---------- */
.section--dark { background: var(--black); color: var(--light-cream); }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .display, .section--dark .display-sm { color: var(--beige); }
.section--dark .link-arrow, .section--dark .card-title a, .section--dark .price { color: var(--light-cream); }
.section--dark .card-meta, .section--dark .price-was { color: rgba(243, 235, 221, .55); }
.section--dark .card-media { background: var(--charcoal); }
.section--dark .icon-btn--line { border-color: var(--line-dark-2); color: var(--light-cream); }
.section--dark .icon-btn--line:hover { background: var(--beige); color: var(--black); border-color: var(--beige); }
.section--dark .sw { box-shadow: inset 0 0 0 1px rgba(243, 235, 221, .3); }

/* Section headings: oversized, with a gold rule */
.section-head .display { max-width: 18ch; }
.collections-ed { background: var(--paper); }
.trust-strip .icon { color: var(--gold); }

/* Dead-simple image placeholder (no photo yet) */
.img-ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--charcoal); color: var(--beige); font: 900 18px/1 var(--f-display); letter-spacing: .1em; }
