/* ==========================================================================
   Crestline Wears — "Night Match" design system
   Ink black base · Crest Gold accent · Chalk surfaces for product shots
   ========================================================================== */
:root {
  --ink: #0b0c0f;
  --ink-2: #121418;
  --ink-3: #1a1d23;
  --ink-4: #252932;
  --line: rgba(244, 241, 232, 0.09);
  --line-2: rgba(244, 241, 232, 0.16);
  --chalk: #f4f1e8;
  --chalk-2: #ebe7dc;
  --muted: #a4a8b1;
  --muted-2: #7c818c;
  --gold: #ffc629;
  --gold-2: #ffd96b;
  --gold-deep: #e0a100;
  --ember: #ff5a36;
  --ice: #7cc8ff;
  --wa: #25d366;

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-gold: 0 10px 40px -10px rgba(255, 198, 41, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* subtle film grain over the whole site */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--alt { background: var(--ink-2); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 7.4vw, 5.6rem); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.hl { color: var(--gold); font-style: normal; }
.outline-text { -webkit-text-stroke: 1.5px var(--chalk); color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; }
.section-head--split > div { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 0.98rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn:hover svg.i-arrow { transform: translateX(4px); }
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--ghost { --bg: transparent; --fg: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(255,198,41,0.06); }
.btn--wa { --bg: var(--wa); --fg: #062b14; }
.btn--wa:hover { box-shadow: 0 10px 40px -10px rgba(37, 211, 102, 0.6); }
.btn--dark { --bg: var(--ink); --fg: var(--chalk); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; }
.text-link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11, 12, 15, 0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 38px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 1.08rem; letter-spacing: 0.04em; }
.brand__name small { font-size: 0.62rem; letter-spacing: 0.42em; color: var(--gold); font-weight: 700; margin-top: 5px; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--chalk); background: rgba(244,241,232,0.06); }
.nav a[aria-current="page"] { color: var(--gold); }
.header-cta { display: none; }
.menu-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent;
  display: grid; place-items: center;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--chalk); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-toggle span:nth-child(1) { transform: translateY(-5px); }
.menu-toggle span:nth-child(3) { transform: translateY(5px); }
.menu-toggle > div { display: grid; gap: 0; }
.menu-toggle > div > span { grid-area: 1 / 1; }
.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 34px); visibility: hidden;
  transition: clip-path 0.6s var(--ease), visibility 0s 0.6s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; }
.mobile-menu li a svg { width: 22px; color: var(--gold); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 12px; }
.mobile-menu__foot p { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }

@media (min-width: 1000px) {
  :root { --header-h: 80px; }
  .nav, .header-cta { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 28px); padding-bottom: 40px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before { /* gold floodlight */
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -180px;
  background: radial-gradient(closest-side, rgba(255,198,41,0.32), rgba(255,198,41,0.08) 55%, transparent);
  filter: blur(10px);
}
.hero__bg::after { /* pitch lines */
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background:
    radial-gradient(circle at 78% 52%, transparent 238px, var(--line) 239px, var(--line) 240px, transparent 241px),
    linear-gradient(90deg, transparent calc(78% - 0.5px), var(--line) calc(78% - 0.5px), var(--line) calc(78% + 0.5px), transparent calc(78% + 0.5px));
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}
.hero__grid { display: grid; gap: 28px; align-items: center; width: 100%; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.16s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 380px; perspective: 1000px; }
.hero__ring { position: absolute; width: min(86vw, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2a2410, var(--ink-2) 65%); border: 1px solid rgba(255,198,41,0.25); box-shadow: inset 0 0 120px rgba(255,198,41,0.12); }
.hero__ring::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(255,198,41,0.28); animation: spin 60s linear infinite; }
.hero__glove { position: relative; width: min(64vw, 400px); transform-style: preserve-3d; transition: transform 0.25s ease-out; will-change: transform; }
.hero__glove img { filter: drop-shadow(0 40px 50px rgba(0,0,0,0.65)) drop-shadow(0 0 60px rgba(255,198,41,0.15)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge { position: absolute; right: 2%; bottom: 6%; width: 118px; height: 118px; display: grid; place-items: center; }
.hero__badge svg.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge .core { width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.hero__badge .core svg { width: 28px; height: 28px; }
.hero__chip {
  position: absolute; left: 0; top: 16%; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px; background: rgba(18,20,24,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); font-size: 0.82rem; line-height: 1.3; animation: float 7s ease-in-out infinite reverse;
}
.hero__chip b { display: block; font-size: 0.95rem; }
.hero__chip span.dot { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,198,41,0.14); color: var(--gold); display: grid; place-items: center; }
.hero__chip span.dot svg { width: 18px; height: 18px; }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 14px; display: none; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 60% { transform: translateY(12px); opacity: 0; } }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
  .hero__visual { min-height: 600px; }
  .hero__scroll { display: block; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; transform: rotate(-1.6deg); margin: 10px -20px; position: relative; z-index: 3; box-shadow: 0 20px 50px -20px rgba(255,198,41,0.5); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 11px; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1rem, 2.2vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; font-size: 0.9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Audience cards ---------- */
.audience { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .audience { grid-template-columns: repeat(4, 1fr); } }
.a-card {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.3s;
}
.a-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,198,41,0.22), transparent); opacity: 0; transition: opacity 0.4s; }
.a-card:hover { transform: translateY(-6px); border-color: rgba(255,198,41,0.4); }
.a-card:hover::before { opacity: 1; }
.a-card .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,198,41,0.12); color: var(--gold); display: grid; place-items: center; margin-bottom: 20px; }
.a-card .ico svg { width: 24px; height: 24px; }
.a-card h3 { margin-bottom: 8px; }
.a-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.a-card .num { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-weight: 900; color: var(--ink-4); font-size: 1.6rem; }

/* ---------- Product cards ---------- */
.products { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .products { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
.products--scroll { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.products--scroll::-webkit-scrollbar { display: none; }
.products--scroll > * { scroll-snap-align: start; }
@media (min-width: 620px) { .products--scroll { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .products--scroll { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }

.p-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--ink-2);
  border: 1px solid var(--line); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
}
.p-card:hover { transform: translateY(-8px); border-color: rgba(255,198,41,0.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,198,41,0.15); }
.p-card__media { position: relative; aspect-ratio: 4 / 3.1; background: var(--chalk); overflow: hidden; }
.p-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; transition: transform 0.8s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.07) rotate(-1.5deg); }
.p-card__tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: var(--gold); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.p-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.p-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25); }
.p-card h3 { margin-bottom: 6px; font-size: 1.35rem; }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.p-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.p-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-card__foot .text-link { font-size: 0.92rem; }
.p-card__foot .btn { position: relative; z-index: 2; }

.p-card--soon { justify-content: center; align-items: flex-start; padding: 30px 26px; background: repeating-linear-gradient(135deg, var(--ink-2) 0 14px, var(--ink-3) 14px 15px); border-style: dashed; border-color: var(--line-2); min-height: 260px; }
.p-card--soon:hover { transform: none; box-shadow: none; }
.p-card--soon h3 { font-size: 1.6rem; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font-weight: 700; font-size: 0.9rem; color: var(--muted); transition: all 0.25s;
}
.chip:hover { color: var(--chalk); border-color: var(--chalk); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.p-card.is-hidden { display: none; }

/* ---------- Anatomy (hotspots) ---------- */
.anatomy { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .anatomy { grid-template-columns: 1fr 1fr; gap: 64px; } }
.anatomy__stage { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.anatomy__stage::before { content: ""; position: absolute; inset: 8% -6% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,198,41,0.2), transparent); }
.anatomy__stage img { position: relative; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)); }
.hotspot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; padding: 0;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 0.85rem;
  box-shadow: 0 0 0 0 rgba(255,198,41,0.6); animation: pulse 2.2s infinite; transition: transform 0.3s var(--ease), background 0.3s;
}
.hotspot:hover, .hotspot[aria-pressed="true"] { transform: scale(1.18); background: var(--chalk); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(255,198,41,0); } 100% { box-shadow: 0 0 0 0 rgba(255,198,41,0); } }
.anatomy__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.anatomy__item {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--ink-2); cursor: pointer; transition: border-color 0.3s, background 0.3s;
}
.anatomy__item .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--ink-4); color: var(--gold); transition: all 0.3s; }
.anatomy__item h3 { font-size: 1.1rem; margin: 0 0 4px; }
.anatomy__item p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.anatomy__item.is-active { border-color: rgba(255,198,41,0.5); background: linear-gradient(120deg, rgba(255,198,41,0.08), var(--ink-2)); }
.anatomy__item.is-active .n { background: var(--gold); color: var(--ink); }

/* ---------- Tabs (cut guide) ---------- */
.tabs__list { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; width: max-content; max-width: 100%; margin-bottom: 30px; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 11px 20px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; color: var(--muted); transition: all 0.3s var(--ease); }
.tab[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.tab-panel { display: grid; gap: 28px; align-items: center; animation: fadeUp 0.6s var(--ease); }
.tab-panel[hidden] { display: none; }
@media (min-width: 900px) { .tab-panel { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.tab-panel__media { border-radius: var(--radius); background: var(--chalk); overflow: hidden; aspect-ratio: 3 / 2; }
.tab-panel__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tab-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tab-panel p { color: var(--muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }

/* ---------- Process timeline ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(5, 1fr); } }
.process li { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); counter-increment: step; }
.process li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 18px; }
.process h3 { font-size: 1.12rem; margin-bottom: 6px; }
.process p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.process .time { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* ---------- Split / feature ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.media-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--chalk); }
.media-card img { width: 100%; mix-blend-mode: multiply; }
.media-card__label { position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 12px; background: var(--ink); font-size: 0.85rem; font-weight: 700; }
.media-card__label b { color: var(--gold); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.stat { padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--ink-2); }
.stat b { display: block; font-family: var(--font-display); font-stretch: 120%; font-weight: 900; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--gold); line-height: 1.1; margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Feature grid ---------- */
.features { display: grid; gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,198,41,0.12); color: var(--gold); margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq--center { margin-inline: auto; }
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--ink-2); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: rgba(255,198,41,0.4); background: var(--ink-3); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink-4); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--gold); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq .answer a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 6vw, 72px); background: var(--gold); color: var(--ink); overflow: hidden; isolation: isolate; }
.cta-band::before { content: "GLOVES"; position: absolute; right: -2%; bottom: -18%; z-index: -1; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 18vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(11,12,15,0.12); }
.cta-band h2 { max-width: 16ch; }
.cta-band p { max-width: 56ch; font-size: 1.1rem; color: rgba(11,12,15,0.75); font-weight: 500; }
.cta-band .eyebrow { color: var(--ink); }
.cta-band .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(11,12,15,0.35); }
.cta-band .btn--ghost:hover { background: rgba(11,12,15,0.06); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cta-band .btn:not(.btn--ghost):not(.btn--wa) { --bg: var(--ink); --fg: var(--chalk); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(closest-side, rgba(255,198,41,0.22), transparent); }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); max-width: 18ch; }
.breadcrumbs { margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-4); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--chalk); }

/* ---------- Product detail ---------- */
.pdp { display: grid; gap: 32px; padding-top: calc(var(--header-h) + 24px); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; } .pdp__gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery__main { position: relative; border-radius: var(--radius); background: var(--chalk); overflow: hidden; aspect-ratio: 1 / 1; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s ease, opacity 0.3s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.is-zoom img { transform: scale(1.9); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 84px; aspect-ratio: 1; border-radius: 14px; border: 2px solid transparent; background: var(--chalk); padding: 4px; overflow: hidden; transition: border-color 0.2s; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__info .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--muted); }
.tag--gold { background: rgba(255,198,41,0.12); border-color: rgba(255,198,41,0.4); color: var(--gold); }
.pdp__info h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.pdp__info .lead { margin-bottom: 22px; }
.pdp__colour { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--muted); font-weight: 600; }
.pdp__colour .swatches i { width: 22px; height: 22px; }
.pdp__cta { display: grid; gap: 10px; margin-bottom: 14px; }
@media (min-width: 520px) { .pdp__cta { grid-template-columns: 1fr 1fr; } }
.pdp__note { font-size: 0.86rem; color: var(--muted-2); margin-bottom: 28px; display: flex; gap: 8px; align-items: center; }
.pdp__note svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; color: var(--muted); font-weight: 600; padding-right: 16px; }
.pdp__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; }
.perk { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 700; line-height: 1.3; }
.perk svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.prose { color: var(--muted); }
.prose h2 { color: var(--chalk); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.4em; }
.prose h3 { color: var(--chalk); margin-top: 1.2em; }
.prose strong { color: var(--chalk); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.size-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.size-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.92rem; }
.size-table th, .size-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--ink-3); color: var(--gold); font-weight: 800; }
.size-table tbody th { text-align: left; color: var(--muted); font-weight: 600; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; } }
.contact-cards { display: grid; gap: 12px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease); }
a.c-card:hover { border-color: rgba(255,198,41,0.45); transform: translateX(4px); }
.c-card .ico { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255,198,41,0.12); color: var(--gold); }
.c-card .ico--wa { background: rgba(37,211,102,0.14); color: var(--wa); }
.c-card .ico svg { width: 24px; height: 24px; }
.c-card small { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.c-card b { font-size: 1.05rem; word-break: break-word; }

.form { padding: clamp(22px, 4vw, 40px); border-radius: calc(var(--radius) + 4px); background: var(--ink-2); border: 1px solid var(--line-2); }
.form h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.field label span, .field legend span { color: var(--muted-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--ink);
  color: var(--chalk); font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC629' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,198,41,0.15); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chips label { margin: 0; }
.check-chips input { position: absolute; opacity: 0; pointer-events: none; }
.check-chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 0.88rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.check-chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.check-chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__actions { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 620px) { .form__actions { grid-template-columns: 1fr 1fr; } }
.form__fine { font-size: 0.82rem; color: var(--muted-2); margin: 14px 0 0; }
.form__status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.35); font-weight: 600; }
.form__status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 calc(28px + 76px); background: var(--ink); overflow: hidden; }
@media (min-width: 1000px) { .site-footer { padding-bottom: 28px; } }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 800; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a, .site-footer address { color: var(--muted); font-style: normal; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--chalk); }
.footer-about p { color: var(--muted); max-width: 40ch; margin-top: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: all 0.25s; }
.socials a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-word { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 13vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin: 56px 0 28px; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted-2); font-size: 0.85rem; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Sticky mobile action bar & floating WhatsApp ---------- */
.action-bar {
  position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(11,12,15,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar .btn { min-height: 48px; padding: 0 14px; font-size: 0.92rem; }
.wa-float { display: none; }
@media (min-width: 1000px) {
  .action-bar { display: none; }
  .wa-float {
    position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
    background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(37,211,102,0.65); transition: transform 0.35s var(--ease);
  }
  .wa-float:hover { transform: scale(1.08) rotate(-6deg); }
  .wa-float svg { width: 32px; height: 32px; }
  .wa-float::after { content: attr(data-label); position: absolute; right: 74px; white-space: nowrap; padding: 9px 14px; border-radius: 10px; background: var(--chalk); color: var(--ink); font-weight: 700; font-size: 0.86rem; opacity: 0; transform: translateX(8px); transition: all 0.3s var(--ease); pointer-events: none; }
  .wa-float:hover::after { opacity: 1; transform: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.divider-pitch { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.notice { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px dashed rgba(255,198,41,0.45); background: rgba(255,198,41,0.06); color: var(--chalk); }
.err-code { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 22vw, 14rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
.notice svg { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: var(--gold); }
.notice .text-link { margin-top: 8px; }
