/* GOALIES.CLUB — The Last Line design system */
:root {
  --color-ink: #101318;
  --color-save: #B9FF28;
  --color-graphite: #262C34;
  --color-white: #FFFFFF;
  --color-muted: #8C96A3;
  --color-muted-on-light: #5B6470; /* AA on white/ice mist */
  --color-alert: #FF563F;
  --color-canvas: #F4F6F8;
  --color-border: #D9DEE5;
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: Inter, Arial, sans-serif;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px;
  --content-width: 1280px; --reading-width: 760px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --focus-ring: 3px solid #B9FF28;
  --ease: 200ms cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--color-ink); background: var(--color-white); }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 var(--space-4); line-height: 1.05; }
p { margin: 0 0 var(--space-4); }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.skip-link { position: absolute; left: var(--space-4); top: -60px; z-index: 100; background: var(--color-save); color: var(--color-ink); padding: var(--space-3) var(--space-4); font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--space-4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--content-width); margin: 0 auto; padding: 0 var(--space-6); }
.reading { max-width: var(--reading-width); }
@media (max-width: 600px) { .container { padding: 0 var(--space-4); } }

/* Type */
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
.h1 { font-size: clamp(3.25rem, 7vw, 6.5rem); line-height: .92; }
.h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: .95; }
.h3 { font-size: 1.6rem; line-height: 1.05; }
@media (max-width: 700px) { .h1 { font-size: clamp(2.6rem, 11vw, 4.2rem); } }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted-on-light); margin-bottom: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--color-save); }
.lede { font-size: 1.125rem; line-height: 1.7; max-width: 60ch; }
.hl { color: var(--color-save); }

/* Surfaces */
.on-dark { background: var(--color-ink); color: var(--color-white); }
.on-graphite { background: var(--color-graphite); color: var(--color-white); }
.on-canvas { background: var(--color-canvas); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-6); margin-bottom: var(--space-8); flex-wrap: wrap; }
.section-head p { max-width: 52ch; margin: 0; }
.on-dark .muted, .on-graphite .muted { color: #AEB6C1; }
.muted { color: var(--color-muted-on-light); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-sm); font: 700 .95rem/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-save); color: var(--color-ink); }
.btn-primary:hover { background: #CBFF5E; }
.btn-secondary { background: transparent; color: currentColor; border-color: currentColor; }
.btn-secondary:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--color-ink); color: var(--color-white); }
.btn-dark:hover { background: var(--color-graphite); }
.btn-ghost { background: none; color: currentColor; padding: 0 var(--space-2); text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { min-height: 40px; padding: 0 var(--space-4); font-size: .875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .ext { font-size: .85em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Announcement + Header */
.announce { background: var(--color-save); color: var(--color-ink); font-size: .8125rem; font-weight: 600; text-align: center; padding: var(--space-2) var(--space-4); }
.announce a { font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-ink); color: var(--color-white); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: var(--space-6); height: 72px; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand-word span { color: var(--color-save); }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--space-3); font-size: .9rem; font-weight: 600; text-decoration: none; color: #E6E9ED; background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: var(--radius-sm); }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--color-white); background: rgba(255,255,255,.07); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--color-save); }
.nav-link .chev { width: 10px; height: 10px; transition: transform var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 0; min-width: 520px; background: var(--color-graphite); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); padding: var(--space-6); display: none; grid-template-columns: 1fr 1fr; gap: var(--space-6); box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.mega.open { display: grid; }
.mega h3 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-save); margin-bottom: var(--space-3); font-family: var(--font-body); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 6px 0; text-decoration: none; color: #E6E9ED; font-size: .9rem; }
.mega a:hover { color: var(--color-save); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: none; border: 0; color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn svg { width: 22px; height: 22px; }
.sport-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 var(--space-3); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: none; color: inherit; font: 600 .8125rem var(--font-body); cursor: pointer; }
.sport-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-save); }
.menu-toggle { display: none; }
@media (max-width: 1080px) {
  .main-nav { display: none; position: fixed; top: var(--nav-top, 72px); left: 0; right: 0; bottom: 0; background: var(--color-ink); overflow-y: auto; padding: var(--space-6) var(--space-4) var(--space-16); }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.125rem; min-height: 56px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .mega { position: static; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; background: transparent; padding: var(--space-3) var(--space-3) var(--space-6); }
  .menu-toggle { display: inline-grid; }
  .sport-chip { display: none; }
}
@media (max-width: 420px) { .header-actions .btn { display: none; } }

/* Search dialog */
.dialog { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(640px, calc(100vw - 32px)); background: var(--color-white); color: var(--color-ink); }
.dialog::backdrop { background: rgba(16,19,24,.75); }
.dialog-body { padding: var(--space-6); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.dialog-head h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.75rem; margin: 0; }
.dialog .icon-btn:hover { background: var(--color-canvas); }
.input { width: 100%; min-height: 52px; padding: 0 var(--space-4); border: 2px solid var(--color-border); border-radius: var(--radius-sm); font: 1rem var(--font-body); background: var(--color-white); color: var(--color-ink); }
.input:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 3px var(--color-save); }
.search-results { list-style: none; margin: var(--space-4) 0 0; padding: 0; max-height: 50vh; overflow: auto; }
.search-results a { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3); border-radius: var(--radius-sm); text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--color-canvas); }
.search-results small { color: var(--color-muted-on-light); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .7rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--color-ink); color: var(--color-white); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-12); align-items: center; min-height: min(78vh, 760px); padding: var(--space-16) 0; }
.hero h1 { margin-bottom: var(--space-6); }
.hero .lede { color: #D3D8DE; margin-bottom: var(--space-8); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%); }
.hero-meta { display: flex; gap: var(--space-8); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero-meta div { font-size: .8125rem; color: #AEB6C1; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--color-white); text-transform: uppercase; line-height: 1.1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: var(--space-12) 0; gap: var(--space-8); } .hero-art { max-width: 360px; justify-self: center; order: -1; } }
@media (max-width: 600px) { .hero-art { max-width: 240px; } }

.trajectory { stroke-dasharray: 6 10; animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }

/* Sport selector */
.sport-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); }
@media (max-width: 1080px) { .sport-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sport-grid { grid-template-columns: repeat(2, 1fr); } }
.sport-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3/4; padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-graphite); color: var(--color-white); text-decoration: none; overflow: hidden; transition: transform var(--ease); isolation: isolate; }
.sport-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(16,19,24,.9)); }
.sport-tile svg.art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: .9; transition: transform 400ms ease; }
.sport-tile:hover { transform: translateY(-4px); }
.sport-tile:hover svg.art { transform: scale(1.06); }
.sport-tile .num { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--color-save); }
.sport-tile h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; margin: 0; line-height: .95; }
.sport-tile p { font-size: .8rem; color: #C3C9D1; margin: var(--space-1) 0 0; }
.sport-tile .go { position: absolute; top: var(--space-4); right: var(--space-4); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background var(--ease), color var(--ease); }
.sport-tile:hover .go { background: var(--color-save); color: var(--color-ink); }

/* Value strip */
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.value-strip > div { padding: var(--space-8) var(--space-6); display: flex; gap: var(--space-4); align-items: flex-start; }
.value-strip > div + div { border-left: 1px solid var(--color-border); }
.value-strip h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin: 0 0 var(--space-1); }
.value-strip p { margin: 0; font-size: .925rem; color: var(--color-muted-on-light); }
.value-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--color-ink); color: var(--color-save); display: grid; place-items: center; }
.value-icon svg { width: 22px; height: 22px; }
@media (max-width: 800px) { .value-strip { grid-template-columns: 1fr; } .value-strip > div + div { border-left: 0; border-top: 1px solid var(--color-border); } }

/* Cards */
.grid { display: grid; gap: var(--space-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { position: relative; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.card:hover { border-color: var(--color-ink); box-shadow: 0 12px 32px rgba(16,19,24,.08); }
.card-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card h3 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 700; line-height: 1.3; margin: 0; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { font-size: .925rem; color: var(--color-muted-on-light); margin: 0; }
.card-media { aspect-ratio: 16/10; background: var(--color-ink); position: relative; overflow: hidden; }
.card-media svg { width: 100%; height: 100%; }
.on-dark .card, .on-graphite .card { background: var(--color-graphite); border-color: rgba(255,255,255,.08); color: var(--color-white); }
.on-dark .card p, .on-graphite .card p { color: #AEB6C1; }
.on-dark .card:hover { border-color: var(--color-save); }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--color-canvas); color: var(--color-ink); width: fit-content; }
.tag-save { background: var(--color-save); color: var(--color-ink); }
.tag-dark { background: var(--color-ink); color: var(--color-white); }
.on-dark .tag, .on-graphite .tag { background: rgba(255,255,255,.08); color: #E6E9ED; }
.on-dark .tag-save { background: var(--color-save); color: var(--color-ink); }
.meta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; font-size: .8125rem; color: var(--color-muted-on-light); }
.on-dark .meta-row, .on-graphite .meta-row { color: #AEB6C1; }

/* Shop by need */
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 800px) { .need-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .need-grid { grid-template-columns: 1fr; } }
.need { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-md); text-decoration: none; background: var(--color-white); transition: background var(--ease), color var(--ease), border-color var(--ease); }
.need:hover { background: var(--color-ink); color: var(--color-white); border-color: var(--color-ink); }
.need strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.need span { font-size: .8125rem; color: var(--color-muted-on-light); }
.need:hover span { color: #AEB6C1; }
.need .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; flex-shrink: 0; }
.need:hover .arrow { background: var(--color-save); color: var(--color-ink); border-color: var(--color-save); }

/* Product card */
.product-media { aspect-ratio: 1; background: var(--color-canvas); display: grid; place-items: center; padding: var(--space-6); position: relative; }
.product-media svg { width: 70%; height: auto; }
.product-media .tag { position: absolute; top: var(--space-3); left: var(--space-3); }
.price { font-weight: 700; font-size: 1.125rem; }
.price small { font-weight: 500; font-size: .75rem; color: var(--color-muted-on-light); display: block; }
.offer-line { display: flex; justify-content: space-between; align-items: end; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.compare-check { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; cursor: pointer; position: relative; z-index: 2; min-height: 44px; }
.compare-check input { width: 18px; height: 18px; accent-color: var(--color-ink); }
.card .btn { position: relative; z-index: 2; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; }
.rating .bar { width: 60px; height: 6px; border-radius: 3px; background: var(--color-border); overflow: hidden; }
.rating .bar i { display: block; height: 100%; background: var(--color-ink); }

/* Disclosure */
.disclosure { display: flex; gap: var(--space-3); align-items: flex-start; font-size: .8125rem; line-height: 1.5; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--color-canvas); border-left: 3px solid var(--color-ink); }
.disclosure svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.on-dark .disclosure { background: rgba(255,255,255,.05); border-left-color: var(--color-save); color: #D3D8DE; }
.sample-note { font-size: .75rem; font-weight: 600; color: var(--color-muted-on-light); display: inline-flex; gap: 6px; align-items: center; }
.sample-note::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: repeating-linear-gradient(45deg, var(--color-muted-on-light) 0 2px, transparent 2px 4px); }

/* Training feature */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.drill-card .card-media { aspect-ratio: 16/9; }
.drill-card .play { position: absolute; right: var(--space-3); bottom: var(--space-3); width: 44px; height: 44px; border-radius: 50%; background: var(--color-save); color: var(--color-ink); display: grid; place-items: center; }
.level { display: inline-flex; gap: 3px; }
.level i { width: 6px; height: 12px; border-radius: 1px; background: rgba(140,150,163,.4); }
.level i.on { background: var(--color-save); }
.card:not(.on-dark *) .level i.on { background: var(--color-ink); }

/* Community */
.community-band { position: relative; overflow: hidden; }
.quote { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); text-transform: uppercase; line-height: 1; margin: 0 0 var(--space-4); font-weight: 700; }
.challenge { border: 1px solid rgba(185,255,40,.4); border-radius: var(--radius-lg); padding: var(--space-8); background: linear-gradient(135deg, rgba(185,255,40,.08), transparent 60%); }
.progress-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: var(--space-6) 0; }
.progress-days span { aspect-ratio: 1; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #AEB6C1; }
.progress-days span.done { background: var(--color-save); color: var(--color-ink); border-color: var(--color-save); }
.tribes { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tribes a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); text-decoration: none; font-size: .8125rem; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; }
.tribes a:hover { border-color: var(--color-save); color: var(--color-save); }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; gap: var(--space-6); } }
.form-row { display: flex; gap: var(--space-2); }
@media (max-width: 480px) { .form-row { flex-direction: column; } }
.field-error { color: #C2321D; font-size: .8125rem; font-weight: 600; margin-top: var(--space-2); min-height: 1.2em; }
.on-dark .field-error { color: #FF8A78; }
.input[aria-invalid="true"] { border-color: var(--color-alert); }
.consent { font-size: .75rem; color: var(--color-muted-on-light); margin-top: var(--space-3); }
.checkbox { display: flex; gap: var(--space-2); align-items: flex-start; font-size: .8125rem; margin-top: var(--space-3); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-ink); flex-shrink: 0; }

/* Footer */
.site-footer { background: var(--color-ink); color: #C3C9D1; padding: var(--space-16) 0 var(--space-8); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--space-8); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-white); margin-bottom: var(--space-4); font-family: var(--font-body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; text-decoration: none; }
.site-footer a:hover { color: var(--color-save); }
.footer-tag { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; color: var(--color-white); line-height: .95; margin: var(--space-6) 0 var(--space-4); font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--space-12); padding-top: var(--space-6); font-size: .8125rem; color: #AEB6C1; }
.socials { display: flex; gap: var(--space-2); }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.socials svg { width: 18px; height: 18px; }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; font-size: .8125rem; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); opacity: .5; }
.breadcrumb a { text-decoration: none; opacity: .8; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current] { font-weight: 600; }

/* Page hero (inner) */
.page-hero { background: var(--color-ink); color: var(--color-white); padding: var(--space-12) 0 var(--space-16); position: relative; overflow: hidden; }
.page-hero .breadcrumb { margin-bottom: var(--space-8); color: #C3C9D1; }
.page-hero .lede { color: #D3D8DE; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: var(--space-12); align-items: end; position: relative; z-index: 2; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; gap: var(--space-6); } }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius-md); overflow: hidden; }
.stat-list div { background: var(--color-graphite); padding: var(--space-4); }
.stat-list dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #AEB6C1; font-weight: 700; }
.stat-list dd { margin: 4px 0 0; font-weight: 600; font-size: .95rem; }

/* Sub nav (in-page) */
.subnav { position: sticky; top: 72px; z-index: 30; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.subnav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: flex; align-items: center; white-space: nowrap; min-height: 52px; padding: 0 var(--space-4); text-decoration: none; font-size: .875rem; font-weight: 600; color: var(--color-muted-on-light); border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.active { color: var(--color-ink); border-bottom-color: var(--color-save); }

/* Glossary */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-8); margin: 0; }
@media (max-width: 700px) { .glossary { grid-template-columns: 1fr; } }
.glossary div { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.glossary dt { font-weight: 700; }
.glossary dd { margin: 4px 0 0; color: var(--color-muted-on-light); font-size: .925rem; }

/* Accordion */
.accordion { border-top: 1px solid var(--color-border); }
.accordion details { border-bottom: 1px solid var(--color-border); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-6) 0; font-weight: 700; font-size: 1.05rem; min-height: 44px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 var(--space-6); color: var(--color-muted-on-light); max-width: 70ch; }

/* Listing page */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 960px) { .listing { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 96px; }
.filters fieldset { border: 0; border-bottom: 1px solid var(--color-border); padding: var(--space-4) 0; margin: 0; }
.filters legend { font-weight: 700; font-size: .875rem; padding: 0; margin-bottom: var(--space-2); float: left; width: 100%; }
.filters fieldset > div { clear: both; }
.filters label { display: flex; align-items: center; gap: var(--space-2); padding: 6px 0; font-size: .9rem; cursor: pointer; min-height: 36px; }
.filters input[type=checkbox], .filters input[type=radio] { width: 18px; height: 18px; accent-color: var(--color-ink); }
.filters .count { margin-left: auto; font-size: .75rem; color: var(--color-muted-on-light); }
.filter-toggle { display: none; }
@media (max-width: 960px) {
  .filters { position: fixed; inset: 0; z-index: 80; background: var(--color-white); padding: var(--space-6); overflow-y: auto; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .toolbar { position: sticky; top: 72px; z-index: 20; background: var(--color-white); padding: var(--space-3) 0; }
}
.filters-head { display: none; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
@media (max-width: 960px) { .filters-head { display: flex; } }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.select { min-height: 44px; padding: 0 36px 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); font: 600 .875rem var(--font-body); background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23101318' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color: var(--color-ink); }
.empty-state { text-align: center; padding: var(--space-16) var(--space-6); border: 2px dashed var(--color-border); border-radius: var(--radius-md); }
.empty-state h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.75rem; }

/* Compare tray */
.compare-tray { position: fixed; left: 50%; bottom: var(--space-4); transform: translate(-50%, 140%); z-index: 60; background: var(--color-ink); color: var(--color-white); border-radius: var(--radius-md); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-6); display: flex; align-items: center; gap: var(--space-4); box-shadow: 0 16px 40px rgba(0,0,0,.35); transition: transform var(--ease); width: max-content; max-width: calc(100vw - 32px); }
.compare-tray.show { transform: translate(-50%, 0); }
.compare-tray .slots { display: flex; gap: 6px; }
.compare-tray .slots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }
.compare-tray .slots i.on { background: var(--color-save); border-color: var(--color-save); }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.table-wrap:focus-visible { outline: var(--focus-ring); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
.compare-table th, .compare-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--color-ink); color: var(--color-white); position: sticky; top: 0; }
.compare-table tbody th { position: sticky; left: 0; background: var(--color-canvas); font-weight: 600; min-width: 150px; }
.compare-table .best { font-weight: 700; }
.compare-table .best::before { content: "● "; color: #4F7A00; }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: var(--space-8); } }
.gallery-main { aspect-ratio: 1; background: var(--color-canvas); border-radius: var(--radius-lg); display: grid; place-items: center; padding: var(--space-12); position: relative; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-3); }
.gallery-thumbs button { aspect-ratio: 1; border-radius: var(--radius-sm); border: 2px solid transparent; background: var(--color-canvas); cursor: pointer; padding: var(--space-3); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--color-ink); }
.best-for { background: var(--color-ink); color: var(--color-white); border-radius: var(--radius-md); padding: var(--space-6); margin: var(--space-6) 0; }
.best-for strong { color: var(--color-save); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: var(--space-2); }
.offers { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.offer { display: grid; grid-template-columns: 1fr auto auto; gap: var(--space-4); align-items: center; padding: var(--space-4); border-bottom: 1px solid var(--color-border); }
.offer:last-child { border-bottom: 0; }
.offer .merchant { font-weight: 700; }
.offer .checked { font-size: .75rem; color: var(--color-muted-on-light); }
@media (max-width: 520px) { .offer { grid-template-columns: 1fr auto; } .offer .btn { grid-column: 1 / -1; } }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { padding: var(--space-2) 0 var(--space-2) 28px; position: relative; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.pros-cons li::before { position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.pros li::before { content: "+"; background: var(--color-save); color: var(--color-ink); }
.cons li::before { content: "–"; background: var(--color-ink); color: var(--color-white); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.spec-table th, .spec-table td { text-align: left; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--color-muted-on-light); }
.not-confirmed { font-style: italic; color: var(--color-muted-on-light); }
.tabs [role=tablist] { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--color-border); overflow-x: auto; }
.tabs [role=tab] { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 var(--space-4); min-height: 52px; font: 600 .925rem var(--font-body); color: var(--color-muted-on-light); cursor: pointer; white-space: nowrap; }
.tabs [role=tab][aria-selected=true] { color: var(--color-ink); border-bottom-color: var(--color-save); }
.tabs [role=tabpanel] { padding: var(--space-8) 0; }
.reviewer { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--color-ink); color: var(--color-save); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }

/* Drill page */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-12); align-items: start; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; margin-top: var(--space-12); }
.prose ol.steps { counter-reset: step; list-style: none; padding: 0; }
.prose ol.steps li { counter-increment: step; position: relative; padding: 0 0 var(--space-6) 56px; }
.prose ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--color-ink); background: var(--color-save); width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; }
.callout { padding: var(--space-6); border-radius: var(--radius-md); background: var(--color-canvas); margin: var(--space-6) 0; }
.callout.safety { background: #FFF1EE; border-left: 4px solid var(--color-alert); }
.callout h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; display: flex; gap: var(--space-2); align-items: center; }
.side-card { position: sticky; top: 96px; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-6); }
.side-card dl { margin: 0; }
.side-card dl div { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); font-size: .9rem; }
.side-card dt { color: var(--color-muted-on-light); }
.side-card dd { margin: 0; font-weight: 600; text-align: right; }
.video { aspect-ratio: 16/9; background: var(--color-ink); border-radius: var(--radius-lg); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--color-white); }
.video button { width: 72px; height: 72px; border-radius: 50%; background: var(--color-save); border: 0; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.video svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Gear finder */
.finder { max-width: 820px; margin: 0 auto; }
.finder-progress { height: 4px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; margin-bottom: var(--space-8); }
.finder-progress i { display: block; height: 100%; background: var(--color-save); transition: width var(--ease); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); margin: var(--space-6) 0; border: 0; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4); border: 2px solid rgba(255,255,255,.15); border-radius: var(--radius-md); cursor: pointer; min-height: 72px; justify-content: center; font-weight: 700; transition: border-color var(--ease), background var(--ease); }
.choice span small { font-weight: 500; color: #AEB6C1; font-size: .8rem; }
.choice input:checked + span { border-color: var(--color-save); background: rgba(185,255,40,.08); }
.choice input:focus-visible + span { outline: var(--focus-ring); outline-offset: 2px; }
.choice span:hover { border-color: rgba(255,255,255,.4); }
.reason-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; font-size: .875rem; }
.reason-list li { padding-left: 20px; position: relative; margin-bottom: 4px; }
.reason-list li::before { content: "✓"; position: absolute; left: 0; color: #4F7A00; font-weight: 800; }
.caution { font-size: .8125rem; background: #FFF1EE; border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); margin-top: var(--space-3); color: #7A1D0E; }

/* Toast */
.toast { position: fixed; top: 88px; right: var(--space-4); z-index: 90; background: var(--color-ink); color: var(--color-white); padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); border-left: 4px solid var(--color-save); box-shadow: 0 12px 32px rgba(0,0,0,.3); transform: translateX(130%); transition: transform var(--ease); max-width: calc(100vw - 32px); font-weight: 600; font-size: .9rem; }
.toast.show { transform: translateX(0); }

/* Consent */
.consent-bar { position: fixed; left: var(--space-4); bottom: var(--space-4); z-index: 70; max-width: 420px; background: var(--color-white); color: var(--color-ink); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-6); box-shadow: 0 16px 48px rgba(16,19,24,.2); font-size: .875rem; }
.consent-bar h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: var(--space-2); }
.consent-bar[hidden] { display: none; }
@media (max-width: 480px) { .consent-bar { left: var(--space-2); right: var(--space-2); bottom: var(--space-2); max-width: none; } }

/* Utility */
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: var(--space-8); }
.center { text-align: center; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid var(--color-save); padding-bottom: 2px; }
.link-arrow:hover { gap: 10px; }
.divider-line { height: 1px; background: var(--color-border); border: 0; margin: var(--space-12) 0; }

/* Photography (migrated from the current site) */
.hero.has-photo .hero-photo, .page-hero.has-photo .page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero.has-photo .hero-photo { object-position: 70% 40%; }
.hero.has-photo::after, .page-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(16,19,24,.97) 0%, rgba(16,19,24,.9) 38%, rgba(16,19,24,.45) 70%, rgba(16,19,24,.25) 100%), linear-gradient(0deg, rgba(16,19,24,.85), transparent 35%); }
.page-hero.has-photo .container { position: relative; z-index: 2; }
.page-hero.has-photo .page-hero-photo { object-position: 70% 35%; }
@media (max-width: 900px) {
  .hero.has-photo::after, .page-hero.has-photo::after { background: linear-gradient(180deg, rgba(16,19,24,.55) 0%, rgba(16,19,24,.88) 45%, rgba(16,19,24,.97) 100%); }
  .hero.has-photo .hero-grid > div[aria-hidden] { display: none; }
  .hero.has-photo .hero-photo { height: 64vw; bottom: auto; object-position: 35% 20%; }
  .hero.has-photo::after { background: linear-gradient(180deg, rgba(16,19,24,.1) 0%, rgba(16,19,24,.25) 35vw, #101318 64vw); }
  .hero.has-photo .hero-grid { padding-top: 52vw; }
}
.sport-tile .tile-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; filter: saturate(.9); }
.sport-tile:hover .tile-photo { transform: scale(1.06); }
.sport-tile::after { background: linear-gradient(180deg, rgba(16,19,24,.15) 0%, rgba(16,19,24,.35) 45%, rgba(16,19,24,.95) 100%); }

/* Migrated articles */
.legacy-post { font-size: 1.0625rem; }
.legacy-post h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: var(--space-12); }
.legacy-post figure { margin: var(--space-6) 0; }
.legacy-post figure img { width: 100%; height: auto; border-radius: var(--radius-md); background: var(--color-canvas); }
.legacy-post figcaption { font-size: .8125rem; color: var(--color-muted-on-light); margin-top: var(--space-2); }
.legacy-post a { text-decoration-color: var(--color-save); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legacy-post ul { padding-left: 1.25rem; }
.legacy-post li { margin-bottom: var(--space-2); }

/* Mobile overrides (keep last) */
@media (max-width: 600px) { .compare-tray { left: var(--space-4); right: var(--space-4); width: auto; transform: translateY(140%); padding-left: var(--space-4); gap: var(--space-2); justify-content: space-between; } .compare-tray.show { transform: none; } .compare-tray .slots { display: none; } .compare-tray > span:first-child { white-space: nowrap; } }
body:has(.main-nav.open) .compare-tray, body:has(.main-nav.open) .consent-bar { display: none; }
