/* =========================================================
   The Select Few — Court Edition storefront
   Court Green #193B31 · Chalk #F6F1E5 · Clay #9C492E · Sage #D7DFCE
   ========================================================= */

@font-face {
  font-family: "Luxury";
  src: url("../fonts/Luxury.woff2") format("woff2"), url("../fonts/Luxury.woff") format("woff");
  font-display: swap;
}

:root {
  --green: #193B31;
  --chalk: #F6F1E5;
  --clay: #9C492E;
  --sage: #D7DFCE;

  --bg: #F6F1E5;
  --bg-2: #EFE7D6;
  --card: #FBF8F1;
  --panel: #D7DFCE;
  --ink: #193B31;
  --ink-2: #536A60;
  --line: rgba(25, 59, 49, .16);
  --line-strong: rgba(25, 59, 49, .38);
  --accent: #9C492E;
  --accent-hover: #873D25;
  --on-accent: #F6F1E5;
  --btn: #193B31;
  --btn-ink: #F6F1E5;
  --hero-bg: #193B31;
  --hero-ink: #F6F1E5;
  --hero-line: rgba(246, 241, 229, .28);
  --shadow: 0 30px 60px -30px rgba(25, 59, 49, .35);

  --display: "Luxury", Georgia, "Times New Roman", serif;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0F241D;
  --bg-2: #132C24;
  --card: #14302A;
  --panel: #1C3C32;
  --ink: #F2ECDD;
  --ink-2: #A7B6AC;
  --line: rgba(246, 241, 229, .14);
  --line-strong: rgba(246, 241, 229, .34);
  --accent: #C9714F;
  --accent-hover: #D9845F;
  --on-accent: #0F241D;
  --btn: #F2ECDD;
  --btn-ink: #0F241D;
  --hero-bg: #152F27;
  --hero-ink: #F6F1E5;
  --hero-line: rgba(246, 241, 229, .22);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 620px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--btn-ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-2); margin-top: 10px; }

/* ---------- type ---------- */
.label {
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.label a:hover { color: var(--accent); }
.num { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-right: 10px; letter-spacing: .08em; }
.display-xl { font-family: var(--display); font-size: clamp(46px, 8vw, 112px); line-height: .98; letter-spacing: -.01em; }
.display { font-family: var(--display); font-size: clamp(36px, 5vw, 68px); line-height: 1.02; }
.display-sm { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; }
.display-xl em, .display em, .hero-title em, .footer-mark em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 60ch; margin-top: 22px; }
.dot-sep { opacity: .6; margin: 0 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  background: var(--btn); color: var(--btn-ink);
  border: 1px solid var(--btn);
  font: 700 14px/1 var(--sans); letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-clay { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-clay:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
:root[data-theme="dark"] .btn-clay { color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--hero-ink); border-color: var(--hero-line); }
.btn-ghost-light:hover { border-color: var(--hero-ink); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 15px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.link-quiet { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; display: inline-block; margin-top: 14px; }
.link-quiet:hover { color: var(--ink); }
.link-arrow { font: 700 14px var(--sans); display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { border: 1px solid var(--line-strong); padding: 8px 16px; font-size: 13px; border-radius: 999px; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip-solid { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }

/* ---------- announcement ---------- */
.announce { background: var(--green); color: var(--chalk); overflow: hidden; font: 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
:root[data-theme="dark"] .announce { background: #0A1A15; border-bottom: 1px solid var(--line); }
.announce-track { display: flex; gap: 80px; padding: 11px 0; width: max-content; animation: marquee 38s linear infinite; }
.announce-track span { white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: 76px; }
.brand { display: block; width: clamp(150px, 16vw, 210px); }
.logo { width: 100%; height: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 40px); }
.main-nav a { font-size: 14.5px; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: var(--ink); border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--bg-2); }
.menu-btn { display: none; }
.theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 10.5px/18px var(--sans); text-align: center; }
.bag-count.bump { animation: bump .5s var(--ease); }

/* ---------- mobile nav & search ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--hero-bg); color: var(--hero-ink); }
.mobile-nav-inner { display: flex; flex-direction: column; height: 100%; padding: 16px var(--gutter) 32px; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.mobile-nav-top .label { color: inherit; opacity: .7; margin: 0; }
.mobile-nav .icon-btn { color: inherit; }
.mobile-nav .icon-btn:hover { background: rgba(255,255,255,.08); }
.mobile-nav nav { display: flex; flex-direction: column; margin-top: 24px; border-top: 1px solid var(--hero-line); }
.mobile-nav nav a { font-family: var(--display); font-size: 38px; line-height: 1; padding: 20px 0; border-bottom: 1px solid var(--hero-line); display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(12px); }
.mobile-nav nav a span { font: 12px var(--mono); color: #E0A58C; }
.mobile-nav.is-open nav a { animation: rise .55s var(--ease) forwards; }
.mobile-nav.is-open nav a:nth-child(2) { animation-delay: .05s; }
.mobile-nav.is-open nav a:nth-child(3) { animation-delay: .1s; }
.mobile-nav.is-open nav a:nth-child(4) { animation-delay: .15s; }
.mobile-nav.is-open nav a:nth-child(5) { animation-delay: .2s; }
.mobile-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 14px; opacity: .8; }

.search-panel { position: fixed; inset: 0 0 auto; z-index: 55; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px 0 32px; animation: drop .35s var(--ease); }
.search-row { display: flex; gap: 10px; align-items: center; }
.search-row input { flex: 1; min-width: 0; font-family: var(--display); font-size: clamp(26px, 4vw, 44px); border: 0; border-bottom: 1px solid var(--line-strong); background: none; padding: 8px 0; outline: none; }
.search-row input:focus { border-color: var(--accent); }

/* ---------- toasts ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.toast { background: var(--btn); color: var(--btn-ink); padding: 14px 18px; font-size: 14px; box-shadow: var(--shadow); animation: rise .4s var(--ease); border-left: 3px solid var(--sage); }
.toast-error { border-left-color: var(--accent); }

/* ---------- hero ---------- */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(var(--hero-line), var(--hero-line)) left calc(var(--gutter) - 1px) top 0 / 1px 100% no-repeat; opacity: .6; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero .label { color: rgba(246, 241, 229, .7); }
.hero-title { font-family: var(--display); font-size: clamp(64px, 11.5vw, 172px); line-height: .9; letter-spacing: -.015em; }
.hero-title .line { display: block; }
.hero-title em { font-size: .78em; }
.court-rule { border: 0; height: 1px; background: var(--hero-line); width: min(360px, 70%); margin: clamp(26px, 3.5vw, 44px) 0; }
.hero-lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 44ch; color: rgba(246, 241, 229, .86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; }
.hero-court { display: block; position: relative; aspect-ratio: 2 / 3; max-height: 78vh; margin-left: auto; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); }
.hero-court img, .hero-court .court-svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-court:hover img, .hero-court:hover .court-svg { transform: scale(1.03); }
.hero-dress { transform-origin: 200px 120px; animation: sway 5.5s ease-in-out infinite; }
.hero-dress .pleats path { transform-origin: top center; transform-box: fill-box; animation: pleat 5.5s ease-in-out infinite; }
.hero-dress .pleats path:nth-child(1) { animation-delay: -.2s; }
.hero-dress .pleats path:nth-child(4) { animation-delay: -.4s; }
.court-lines { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s .2s var(--ease) forwards; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; background: linear-gradient(to top, rgba(15, 36, 29, .78), transparent); color: #F6F1E5; }
.hero-caption .label { grid-column: 1 / -1; margin: 0; color: rgba(246, 241, 229, .75); }
.hero-caption-name { font-family: var(--serif); font-size: 20px; }
.hero-caption-price { font-family: var(--sans); font-size: 15px; align-self: end; }

/* ---------- ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 22px 0; animation: marquee 40s linear infinite; }
.ticker span { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); white-space: nowrap; }
.ticker i { color: var(--accent); font-style: normal; font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tint { background: var(--bg-2); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.sec-head-side p { color: var(--ink-2); max-width: 52ch; }
.empty-note { text-align: center; padding: 64px 16px; border: 1px solid var(--line); }
.empty-note .btn { margin-top: 18px; }

/* ---------- grid & cards ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 28px); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.card-media .pv-img, .card-media .garment { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.card-media .pv-alt { opacity: 0; }
.card:hover .pv-alt { opacity: 1; }
.card:hover .card-media .pv-img:not(.pv-alt), .card:hover .garment { transform: scale(1.045); }
.card:hover .garment .pleats { animation: pleat 1.4s ease-in-out; transform-origin: top; transform-box: fill-box; }
.tag { position: absolute; top: 12px; left: 12px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 9px; background: rgba(246, 241, 229, .92); color: #193B31; }
.tag-style { background: rgba(215, 223, 206, .95); }
.tag-sold, .tag-sale { left: auto; right: 12px; background: #193B31; color: #F6F1E5; }
.tag-sale { background: var(--clay); }
.tag-inline { position: static; display: inline-block; margin-right: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.card-body { padding: 16px 2px 4px; }
.card-body .label { margin-bottom: 6px; font-size: 10.5px; }
.card-title { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.card-title a:hover { color: var(--accent); }
.card-price { margin-top: 6px; font-size: 15px; }
.card-price s, .pdp-price s { color: var(--ink-2); margin-right: 6px; }

/* ---------- point of view ---------- */
.pov { background: var(--panel); }
:root[data-theme="dark"] .pov { background: var(--bg-2); }
.pov-quote { background: var(--hero-bg); color: var(--hero-ink); padding: clamp(32px, 5vw, 72px); margin-bottom: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.pov-quote .label { color: rgba(246, 241, 229, .7); }
.pov-quote blockquote { margin: 0; max-width: 18ch; }
.pov-quote blockquote { position: relative; z-index: 1; max-width: 15ch; }
.pov-quote::after { content: ""; position: absolute; right: clamp(24px, 5vw, 72px); top: 24px; bottom: 24px; width: 18%; border: 1px solid var(--hero-line); border-right: 0; pointer-events: none; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 24px; padding: 28px 0; border-top: 1px solid var(--line-strong); align-items: baseline; }
.rows li:last-child { border-bottom: 1px solid var(--line-strong); }
.rows h3 { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); }
.rows p { color: var(--ink); opacity: .85; }
.rows-tight li { grid-template-columns: 44px 1fr; padding: 16px 0; }
.rows-tight li p { grid-column: 2; }

/* ---------- brands ---------- */
.brand-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); }
.brand-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.brand-list li { border-bottom: 1px solid var(--line); }
.brand-list a { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; transition: color .25s, padding .35s var(--ease); }
.brand-list a:hover { color: var(--accent); padding-left: 12px; }
.brand-list sup { font: 12px var(--mono); color: var(--ink-2); }
.brand-list .muted { padding: 18px 0; }
.brands-page { padding-bottom: 96px; }
.brand-group { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line-strong); }
.brand-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brand-cards a { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); min-height: 180px; transition: border-color .25s, transform .35s var(--ease), background .25s; }
.brand-cards a:hover { border-color: var(--ink); transform: translateY(-3px); background: var(--card); }
.brand-cards .brand-name { font-family: var(--display); font-size: 32px; line-height: 1; }
.brand-cards .label { margin: auto 0 0; color: var(--accent); }

/* ---------- buying test ---------- */
.test-band { background: var(--accent); color: #F6F1E5; padding: clamp(56px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.test-band::before, .test-band::after { content: ""; position: absolute; border: 1px solid rgba(246, 241, 229, .25); pointer-events: none; }
.test-band::before { inset: 20px; }
.test-band::after { top: 20px; bottom: 20px; left: 50%; width: 0; border-width: 0 0 0 1px; }
.test-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 18px; }
.test-band .label { color: rgba(246, 241, 229, .78); }
.test-q { max-width: 20ch; }
.test-side { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: end; justify-content: space-between; max-width: 900px; }
.test-side p { max-width: 50ch; margin: 0; color: rgba(246, 241, 229, .9); }

/* ---------- select girls ---------- */
.girls-band { background: var(--hero-bg); color: var(--hero-ink); }
.girls-band .label { color: rgba(246, 241, 229, .7); }
.girls-band .sec-head { border-color: var(--hero-line); }
.girls-band .sec-head-side p { color: rgba(246, 241, 229, .85); }
.girls-band .chip-solid { background: var(--chalk); color: var(--green); border-color: var(--chalk); }
.girls-band .display-sm { margin-top: 10px; color: rgba(246, 241, 229, .85); }
.format-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hero-line); border: 1px solid var(--hero-line); }
.format-grid li { background: var(--hero-bg); padding: clamp(24px, 3vw, 40px); min-height: 240px; display: flex; flex-direction: column; gap: 12px; }
.format-grid h3 { font-family: var(--display); font-size: clamp(32px, 3.2vw, 44px); }
.format-grid p { color: rgba(246, 241, 229, .8); margin-top: auto; }
.format-grid .num { color: #E0A58C; }
.feature { display: flex; flex-direction: column; background: var(--card); color: var(--ink); }
.girls-band .feature { background: rgba(246, 241, 229, .06); color: var(--hero-ink); }
.feature-media { aspect-ratio: 4 / 5; overflow: hidden; }
.feature-media img, .feature-media svg { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 22px; }
.feature blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.page-head-dark { background: var(--hero-bg); color: var(--hero-ink); }
.page-head-dark .label, .page-head-dark .lede { color: rgba(246, 241, 229, .8); }
.page-head-dark .display-sm { margin-top: 12px; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.share-grid > div > p { color: var(--ink-2); margin: 20px 0 28px; }
.card-form { background: var(--card); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); }

/* ---------- page head & shop ---------- */
.page-head { padding: clamp(48px, 8vw, 112px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head-sm { padding-bottom: 36px; }
.cat-tabs-wrap { border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cat-tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { padding: 18px 0; font-size: 14.5px; white-space: nowrap; color: var(--ink-2); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .2s; }
.cat-tabs a:hover { color: var(--ink); }
.cat-tabs a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.shop { padding-top: 28px; padding-bottom: 96px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 32px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 16px; font-size: 13.5px; border-radius: 999px; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--btn); color: var(--btn-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.filter-selects { display: flex; flex-wrap: wrap; gap: 10px; }
.select select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23889' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 36px 9px 16px; font-size: 13.5px; cursor: pointer; }
.select select option { background: var(--bg); color: var(--ink); }
.result-count { margin: 0 0 0 auto; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 14px; }
.pager a.is-active { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }

/* ---------- product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); padding-bottom: 40px; }
.pdp-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.pdp-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease); }
.pdp-slide.is-active { opacity: 1; }
.pdp-slide img, .pdp-slide svg { width: 100%; height: 100%; object-fit: cover; }
.pdp-slide .garment .pleats { animation: pleat 5s ease-in-out infinite; transform-origin: top; transform-box: fill-box; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pdp-thumbs button { flex: 0 0 84px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid transparent; background: none; opacity: .6; transition: .25s; }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs button.is-active, .pdp-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.pdp-sticky { position: sticky; top: 100px; }
.pdp-title { font-family: var(--display); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
.pdp-price { font-size: 20px; margin: 16px 0 18px; }
.intent-line { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-short { margin: 18px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.buy { margin-top: 26px; }
.sizes { border: 0; padding: 0; margin: 0 0 18px; }
.sizes legend { padding: 0; }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 58px; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: 14px; transition: .2s; }
.size input:hover:not(:disabled) + span { border-color: var(--ink); }
.size input:checked + span { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size.is-out span { color: var(--ink-2); text-decoration: line-through; opacity: .55; cursor: not-allowed; }
.stock-note { font-size: 13px; color: var(--accent); min-height: 1.4em; margin: 10px 0 0; }
.form-error { color: var(--accent); font-size: 14px; margin-top: 10px; min-height: 0; }
.why { background: var(--panel); padding: 24px 26px; margin: 28px 0; position: relative; }
.why::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.why-text { font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 18px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--sans); font-size: 20px; color: var(--ink-2); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.mobile-buy { display: none; }

/* ---------- forms ---------- */
.stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.field > span { color: var(--ink-2); }
.field em { font-style: normal; opacity: .7; }
.field input, .field textarea, .field select, .coupon input, .news-form input {
  width: 100%; background: transparent; border: 1px solid var(--line-strong); padding: 13px 14px; font-size: 16px; border-radius: 0; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .coupon input:focus, .news-form input:focus { outline: none; border-color: var(--ink); }
.field.has-error input { border-color: var(--accent); }
.field small { color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--accent); }

/* ---------- cart / checkout ---------- */
.cart, .checkout, .order-view { padding-top: 36px; padding-bottom: 96px; }
.cart-grid, .checkout-grid, .order-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.cline { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cline-img, .dline-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); position: relative; }
.cline-img img, .cline-img svg, .dline-img img, .dline-img svg { width: 100%; height: 100%; object-fit: cover; }
.cline-name { font-family: var(--serif); font-size: 21px; display: block; margin-bottom: 4px; }
.cline .label { margin-bottom: 6px; }
.cline-total { font-size: 16px; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.qty > button:not(.link-quiet) { width: 34px; height: 34px; border: 1px solid var(--line-strong); background: none; font-size: 16px; }
.qty > button:disabled { opacity: .35; }
.qty > span { min-width: 34px; text-align: center; }
.qty .link-quiet { margin: 0 0 0 14px; }
.summary { background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); position: sticky; top: 100px; }
.summary h2 { margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.sum-total { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 16px; font-size: 19px; font-family: var(--serif); }
.summary .btn-block { margin-top: 20px; }
.coupon { display: flex; gap: 8px; margin-top: 18px; }
.coupon input { padding: 10px 12px; font-size: 14px; }
.coupon .btn { min-height: 44px; padding: 0 16px; }
.checkout-form fieldset { border: 0; padding: 0; margin: 0 0 40px; }
.checkout-form legend { margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }
.pay-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pay { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .2s, background .2s; }
.pay:has(input:checked) { border-color: var(--ink); background: var(--card); }
.pay input { accent-color: var(--accent); margin-top: 4px; }
.pay small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.mini-lines { list-style: none; margin: 0 0 16px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.mini-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 10px 0; font-size: 14px; }
.mini-lines li:has(> .mini-name:first-child) { grid-template-columns: 1fr auto; }
.mini-img { position: relative; width: 56px; aspect-ratio: 4 / 5; background: var(--bg-2); display: block; }
.mini-img img, .mini-img svg { width: 100%; height: 100%; object-fit: cover; }
.mini-img b { position: absolute; top: -8px; right: -8px; background: var(--ink-2); color: var(--bg); font: 700 11px/20px var(--sans); width: 20px; text-align: center; border-radius: 50%; }
.mini-name small { display: block; color: var(--ink-2); font-size: 12.5px; }
.progress { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; font-size: 13px; color: var(--ink-2); }
.progress li span { display: block; height: 3px; background: var(--line); margin-bottom: 10px; }
.progress li.is-done { color: var(--ink); }
.progress li.is-done span { background: var(--accent); }
.status-pill { display: inline-block; border: 1px solid var(--line-strong); padding: 8px 14px; margin-bottom: 32px; }
.order-grid h2 { margin: 24px 0 10px; }
.prose { padding-top: 40px; padding-bottom: 96px; font-size: 17px; }
.prose a { color: var(--accent); text-decoration: underline; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10, 26, 21, .45); opacity: 0; transition: opacity .35s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); box-shadow: var(--shadow); transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel > div { display: flex; flex-direction: column; min-height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head sup { font: 12px var(--mono); color: var(--accent); }
.drawer-empty { padding: 48px 24px; text-align: center; }
.drawer-empty .btn { margin-top: 16px; }
.ship-meter { padding: 16px 24px; font-size: 13px; border-bottom: 1px solid var(--line); }
.ship-meter p { margin-bottom: 8px; }
.ship-meter span { display: block; height: 3px; background: var(--line); position: relative; }
.ship-meter span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--accent); transition: width .6s var(--ease); }
.drawer-lines { list-style: none; margin: 0; padding: 0 24px; flex: 1; }
.dline { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dline .label { margin-bottom: 4px; font-size: 10px; }
.dline-name { font-family: var(--serif); font-size: 17px; line-height: 1.25; display: block; }
.dline .muted { font-size: 13px; margin: 2px 0 0; }
.dline .qty { margin-top: 8px; }
.dline .qty > button { width: 28px; height: 28px; }
.dline-price { font-size: 14px; }
.drawer-foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--bg); text-align: center; }
.drawer-foot .btn { margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: var(--chalk); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
:root[data-theme="dark"] .site-footer { background: #0A1A15; border-top: 1px solid var(--line); }
.site-footer .label { color: rgba(246, 241, 229, .6); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-news h2 { margin-bottom: 22px; max-width: 18ch; }
.news-form { display: flex; gap: 8px; max-width: 460px; }
.news-form input { border-color: rgba(246, 241, 229, .35); color: var(--chalk); }
.news-form input::placeholder { color: rgba(246, 241, 229, .55); }
.news-form input:focus { border-color: var(--chalk); }
.site-footer .fine { color: rgba(246, 241, 229, .55); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols a { display: block; padding: 5px 0; font-size: 14.5px; color: rgba(246, 241, 229, .86); word-break: break-word; }
.footer-cols a:hover { color: #fff; }
.footer-mark { font-family: var(--display); font-size: min(13vw, 178px); line-height: .85; letter-spacing: -.02em; white-space: nowrap; border-top: 1px solid rgba(246, 241, 229, .2); padding-top: 32px; color: rgba(246, 241, 229, .95); }
.footer-mark em { color: #E0A58C; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 32px; font: 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 241, 229, .55); }

/* ---------- coming-soon / 404 ---------- */
.soon { background: #193B31; color: #F6F1E5; min-height: 100vh; display: grid; place-items: center; text-align: center; }
.soon-main { padding: 32px 16px; }
.soon-logo { width: min(360px, 80vw); margin: 0 auto 40px; }
.soon .label { color: rgba(246, 241, 229, .65); }
.soon h1 { margin-bottom: 20px; }
.soon-debug { margin-top: 24px; font-size: 12px; opacity: .6; white-space: pre-wrap; }
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes pleat { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(-4deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .court-lines { stroke-dashoffset: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header-row { grid-template-columns: auto 1fr auto; height: 64px; gap: 8px; }
  .menu-btn { display: inline-grid; margin-left: -10px; }
  .main-nav { display: none; }
  .brand { justify-self: center; width: clamp(140px, 42vw, 180px); }
  .cat-tabs-wrap { top: 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-court { aspect-ratio: 4 / 4.6; max-height: none; margin: 0; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows li { grid-template-columns: 40px 1fr; }
  .rows li p { grid-column: 2; }
  .brand-split { grid-template-columns: 1fr; }
  .brand-group { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .format-grid li { min-height: 0; }
  .share-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { margin: 0 calc(var(--gutter) * -1); }
  .pdp-thumbs { padding: 0 var(--gutter); }
  .pdp-sticky { position: static; }
  .cart-grid, .checkout-grid, .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-top { grid-template-columns: 1fr; }
  .test-band::after { display: none; }
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-buy.is-visible { transform: none; }
  .mobile-buy .label { display: block; margin: 0 0 2px; font-size: 10px; }
  .mobile-buy .btn { min-height: 46px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .grid { gap: 22px 12px; }
  .card-title { font-size: 16.5px; }
  .card-price { font-size: 14px; }
  .tag { top: 8px; left: 8px; font-size: 9.5px; padding: 6px 7px; }
  .tag-sold, .tag-sale { left: auto; right: 8px; }
  .header-tools .theme-btn { width: 38px; }
  .header-tools .icon-btn { width: 38px; height: 38px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .filters { gap: 12px; }
  .seg { width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .filter-selects { width: 100%; }
  .filter-selects .select { flex: 1 1 30%; }
  .select select { width: 100%; padding-left: 12px; padding-right: 28px; background-position: right 10px center; }
  .result-count { margin-left: 0; }
  .fields { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .cline { grid-template-columns: 88px 1fr; }
  .cline-total { grid-column: 2; }
  .brand-cards { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .news-form { flex-direction: column; }
  .progress { grid-template-columns: repeat(5, 1fr); font-size: 10.5px; }
  .pov-quote::after { display: none; }
  .search-row .btn { display: none; }
}
@media (max-width: 400px) {
  .header-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px; }
  .brand { width: auto; max-width: 150px; justify-self: center; }
  .header-tools { gap: 0; }
  .header-tools .icon-btn, .menu-btn { width: 34px; height: 34px; }
  .menu-btn { margin-left: -6px; }
}
