/* RunShoeRotation — mobile first.
   One accent only: a muted running-track red. Everything else is ink and warm neutrals,
   with the infield green kept for the quiz track and "lowest price". */
:root {
  --track: #C24A33; --track-deep: #96361F; --track-soft: #F7E6DF; --track-line: #E9B8A9;
  --infield: #4E7C5E; --infield-soft: #E5EFE8;
  --ink: #1D1B19; --ink-2: #2B2825; --muted: #67615B; --paper: #F5F3EF; --card: #FFFFFF; --line: #E4DFD8; --cream: #FFF4EA;
  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --gutter: 16px; --max: 1200px;
  --shadow: 0 1px 2px rgba(29,27,25,.06), 0 8px 24px rgba(29,27,25,.06);
  --noise: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 5.4vw, 3rem); font-weight: 800; font-stretch: 118%; }
h3 { font-size: 1.12rem; font-weight: 750; font-stretch: 108%; }
p { margin: 0 0 1em; }
.small { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--track); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.h-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--track-soft); color: var(--track); flex: none; }
.h-icon .icon { width: 18px; height: 18px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px; border: 2px solid transparent; font: 750 1rem/1 var(--display); font-stretch: 112%; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s, border-color .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--ink-2); box-shadow: 0 6px 16px rgba(29,27,25,.18); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(127,127,127,.08); }
.btn--big { font-size: 1.12rem; min-height: 58px; padding: .85em 1.7em; }
.btn .icon { width: 1.1em; height: 1.1em; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter); background: color-mix(in srgb, var(--track) 94%, transparent); backdrop-filter: blur(10px); color: var(--cream); }
body[data-view="quiz"] .site-header { display: none; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__badge { position: relative; width: 44px; height: 44px; flex: none; }
.logo__badge svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.logo__badge text { font: 800 11.2px var(--display); font-stretch: 120%; fill: currentColor; letter-spacing: .5px; }
.logo__badge i { position: absolute; inset: 15px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--track-deep); }
.logo__word { font: 700 1.05rem/1 var(--display); font-stretch: 110%; }
.logo__word b { font-weight: 900; font-style: italic; }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.site-nav a:not(.site-nav__cta) { display: none; }
.site-nav a:not(.site-nav__cta):hover { background: rgba(255,244,234,.14); }
.site-nav__cta { background: var(--cream); color: var(--ink); }
@media (min-width: 680px) { .site-nav a:not(.site-nav__cta) { display: inline-flex; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; background: var(--track); color: var(--cream); min-height: min(860px, calc(100svh - 64px));
  padding: 32px var(--gutter) 24px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); mix-blend-mode: multiply; opacity: .55; z-index: -1; pointer-events: none; }
.hero__lanes { position: absolute; inset: -10% -10% auto; height: 120%; z-index: -2; }
.hero__lanes svg { width: 100%; height: 100%; }
.hero__floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.floater { position: absolute; width: 58vw; max-width: 420px; will-change: transform; filter: drop-shadow(0 16px 16px rgba(0,0,0,.22)); }
.floater svg { animation: bob 7s ease-in-out infinite; }
.floater--0 { right: -16vw; top: 6%; }
.floater--0 svg { rotate: -12deg; }
.floater--1 { right: 2vw; top: 40%; width: 44vw; }
.floater--1 svg { rotate: 8deg; animation-delay: -2s; }
.floater--2 { left: -22vw; top: 46%; width: 42vw; opacity: .8; }
.floater--2 svg { rotate: -4deg; scale: -1 1; animation-delay: -4s; }
.floater--1, .floater--2, .floater--3, .floater--4 { display: none; } /* on phones only one shoe, so it never sits behind the text */
@keyframes bob { 50% { translate: 0 -8px; } }
.hero__copy { position: relative; z-index: 2; max-width: 980px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; background: rgba(29,27,25,.18); padding: 6px 12px 6px 10px; border-radius: 999px; margin-bottom: 18px; }
.hero__eyebrow .icon { width: 16px; height: 16px; }
.hero__title { font-size: clamp(3rem, 14.5vw, 8.8rem); font-weight: 900; font-style: italic; line-height: .86; letter-spacing: -.03em;
  font-stretch: 112%; margin: 0 0 22px; text-shadow: 0 3px 0 var(--track-deep); }
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: .45em; }
.hero__lede { max-width: 32em; font-size: 1.08rem; margin-bottom: 26px; }
.hero__markers { position: relative; z-index: 2; list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid rgba(255,244,234,.7); }
.hero__markers li { padding: 14px 10px 4px 14px; border-left: 2px solid rgba(255,244,234,.7); display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; }
.hero__markers li:nth-child(odd) { border-left: 0; padding-left: 0; }
.hero__markers [data-icon] { grid-row: span 2; opacity: .9; }
.hero__markers [data-icon] .icon { width: 26px; height: 26px; }
.hero__markers b { font: 900 italic clamp(1.9rem, 8vw, 3.4rem)/.95 var(--display); font-stretch: 130%; }
.hero__markers span:last-child { font-size: .85rem; opacity: .92; }
@media (min-width: 720px) {
  .hero { padding-top: 56px; }
  .hero__markers { grid-template-columns: repeat(4, 1fr); }
  .hero__markers li:nth-child(odd) { border-left: 2px solid rgba(255,244,234,.7); padding-left: 14px; }
  .hero__markers li:first-child { border-left: 0; padding-left: 0; }
  .floater--1, .floater--2 { display: block; }
  .floater { width: 34vw; } .floater--0 { right: -4vw; top: 8%; } .floater--1 { width: 26vw; right: 20vw; top: 46%; } .floater--2 { left: auto; right: -6vw; top: auto; bottom: 20%; width: 30vw; }
  .floater--3 { display: block; right: 30vw; top: -2%; width: 18vw; opacity: .6; }
  .floater--3 svg { rotate: 18deg; }
}
@media (min-width: 980px) {
  .hero__copy { max-width: none; }
  .hero__title { font-size: clamp(3rem, 7.4vw, 8.2rem); }
  .hero__title span { white-space: nowrap; }
  .hero__title span:nth-child(2) { padding-left: 1em; }
  .hero__lede { max-width: 30em; }
}
@media (min-width: 1100px) { .floater--4 { display: block; right: 34vw; bottom: 30%; width: 13vw; opacity: .5; } }

/* ── Sections ── */
.section { padding: 64px var(--gutter); max-width: var(--max); margin: 0 auto; }
.section + .section { padding-top: 8px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.section__head a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.section__lede { color: var(--muted); max-width: 40em; }
.steps { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.steps li { background: var(--card); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; }
.steps .h-icon { grid-row: span 2; width: 44px; height: 44px; }
.steps .h-icon .icon { width: 22px; height: 22px; }
.steps h3 { margin: 6px 0 2px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.card-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px; }
@media (min-width: 720px) { .card-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.shoe-card { scroll-snap-align: start; background: var(--card); border-radius: var(--r-md); padding: 14px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); border: 1.5px solid transparent; transition: border-color .15s, transform .15s; }
.shoe-card:hover { border-color: var(--track-line); transform: translateY(-2px); }
.shoe-card__brand { font-size: .8rem; color: var(--muted); font-weight: 700; margin-top: 6px; }
.shoe-card__name { font: 750 1.12rem/1.15 var(--display); font-stretch: 110%; }
.shoe-card__cat { font-size: .82rem; color: var(--track); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.shoe-card__cat .icon { width: 15px; height: 15px; }

.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
@media (min-width: 720px) { .types { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .types { grid-template-columns: repeat(4, 1fr); } }
.type-tile { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); text-decoration: none; font-weight: 700; line-height: 1.2; border: 1.5px solid transparent; font-size: .95rem; }
.type-tile:hover { border-color: var(--track-line); }
.type-tile small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }

.band { background: var(--ink); color: var(--cream); }
.band .section { padding-block: 56px; display: grid; gap: 8px 40px; align-items: center; }
.band h2 { font-size: clamp(2.2rem, 7vw, 4rem); font-style: italic; font-weight: 900; font-stretch: 125%; margin: 0; }
.band p { max-width: 40em; color: rgba(255,244,234,.85); margin: 0; }
@media (min-width: 900px) { .band .section { grid-template-columns: auto 1fr; } }

.seo { max-width: 860px; }
.seo p { max-width: 42em; }
.faq { margin-top: 26px; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 700 1.02rem/1.35 var(--body); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--display); color: var(--track); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ── Kayem (our training-plan app) ── */
.kayem { background: #0A0B0D; color: #F2F3F5; overflow: hidden; }
.kayem__inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 0; display: grid; gap: 28px; align-items: center; }
.kayem__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; line-height: 1.25; }
.kayem__brand img { border-radius: 11px; }
.kayem__brand small { display: block; color: #9AA0A8; font-size: .82rem; }
.kayem h2 { font-size: clamp(2rem, 6.5vw, 3.4rem); font-weight: 900; font-stretch: 118%; }
.kayem h2 em { font-style: italic; color: #CCFF3D; }
.kayem p { color: #C9CDD3; max-width: 34em; }
.kayem__points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.kayem__points li { display: flex; gap: 12px; align-items: center; }
.kayem__points [data-icon] { color: #CCFF3D; display: inline-flex; }
.kayem__note { font-size: .85rem; margin-top: 10px; color: #9AA0A8 !important; }
.kayem__shot { width: min(440px, 92%); height: auto; justify-self: center; margin-bottom: -40px; }
.kayem__shot { -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
@media (min-width: 900px) {
  .kayem__inner { grid-template-columns: 1.1fr 1fr; padding-top: 72px; }
  .kayem__shot { margin-bottom: -70px; }
}

/* ── Shoe figure & gallery ── */
.shoe-figure { margin: 0; position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center; }
.shoe-figure img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shoe-figure__fallback { display: none; width: 100%; }
.shoe-figure.is-broken img { display: none; } .shoe-figure.is-broken .shoe-figure__fallback { display: block; }
.shoe-art { width: 100%; height: auto; overflow: visible; }
.gallery { background: var(--card); border-radius: var(--r-md); padding: 12px; box-shadow: var(--shadow); margin: 14px 0; color: var(--ink); }
.gallery__main { aspect-ratio: 3 / 2; border-radius: var(--r-sm); background: #fff; overflow: hidden; padding: 6px; }
.gallery__main img { object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px; }
.gallery__thumbs button { flex: 0 0 74px; height: 56px; padding: 4px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--track); box-shadow: 0 0 0 2px var(--track-soft); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__note { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 8px 2px 0; }
.gallery__note .icon { width: 15px; height: 15px; }

/* ── Quiz ── */
.quiz { min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: var(--cream); }
.quiz__bar { display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,244,234,.3); background: transparent; color: var(--cream); cursor: pointer; flex: none; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--cream); }
.progress { flex: 1; display: flex; gap: 4px; }
.progress i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,244,234,.16); transition: background .3s; }
.progress i.done { background: var(--track); } .progress i.now { background: var(--cream); }
.quiz__stage { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.quiz__field { position: relative; padding: 0 8px; contain: layout; }
.track-wrap { width: 100%; max-width: 820px; margin: 0 auto; }
.track { width: 100%; height: auto; }
.track__surface { fill: var(--track); }
.track__lane { fill: none; stroke: rgba(255,244,234,.65); stroke-width: 2; }
.track__infield { fill: var(--infield); stroke: rgba(255,244,234,.85); stroke-width: 3; }
.track__finish { stroke: var(--cream); stroke-width: 6; stroke-dasharray: 6 6; }
.token { transition: opacity .2s; }
.counter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); text-align: center; pointer-events: none; z-index: 2; }
.counter b { display: block; font: 900 italic clamp(3rem, 16vw, 6.5rem)/.85 var(--display); font-stretch: 140%; color: var(--cream); text-shadow: 0 3px 0 rgba(0,0,0,.3); }
.counter span { font-weight: 700; font-size: .9rem; }
.counter.bump b { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.08); } }
.survivors { max-width: 820px; margin: 6px auto 0; padding: 0 8px; }
.survivors p { margin: 0 0 6px; font-size: .8rem; opacity: .7; }
.survivors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.survivors li { font-size: .78rem; font-weight: 700; padding: 4px 9px 4px 7px; border-radius: 999px; background: rgba(255,244,234,.08); border-left: 5px solid var(--c, #fff); animation: pop .35s ease; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.quiz__card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom)); margin-top: 14px; flex: 1; }
.q-step { font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.q-title { font-size: clamp(1.45rem, 6vw, 2.1rem); font-weight: 800; font-stretch: 108%; line-height: 1.08; margin-bottom: 10px; }
.q-help { color: var(--muted); font-size: .92rem; }
.q-options { display: grid; gap: 10px; margin-top: 14px; }
.q-options--multi { grid-template-columns: repeat(2, 1fr); }
.opt { text-align: left; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 14px; padding: 11px 16px 11px 12px; min-height: 60px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--card); cursor: pointer; transition: background .12s, border-color .12s, box-shadow .12s; }
.opt:hover { border-color: var(--track-line); box-shadow: var(--shadow); }
.opt .h-icon { grid-row: span 2; }
.opt__label { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.opt__sub { font-size: .85rem; color: var(--muted); grid-column: 2; line-height: 1.35; }
.opt[aria-checked="true"] { background: var(--track-soft); border-color: var(--track); }
.opt[aria-checked="true"] .h-icon { background: var(--track); color: var(--cream); }
.q-options--multi .opt { grid-template-columns: 1fr; min-height: 50px; padding-left: 16px; }
.q-options--multi .opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); text-decoration: line-through; }
.q-next { margin-top: 16px; width: 100%; }
.q-card.enter { animation: cardIn .35s cubic-bezier(.2,.9,.3,1.1); }
@keyframes cardIn { from { opacity: 0; transform: translateX(32px); } }
@media (min-width: 980px) {
  .quiz { height: 100svh; }
  .quiz__stage { flex-direction: row; align-items: stretch; min-height: 0; }
  .quiz__field { flex: 1.35; display: flex; flex-direction: column; justify-content: center; padding: 20px; }
  .quiz__card { flex: 1; margin: 0 20px 20px 0; border-radius: var(--r-lg); padding: clamp(28px, 8vh, 80px) 40px 36px; overflow-y: auto; }
  .counter { top: calc(50% - 30px); }
}

/* ── Results ── */
.results { padding-bottom: 40px; }
.podium { background: var(--track); color: var(--cream); padding: 28px var(--gutter) 0; position: relative; overflow: hidden; isolation: isolate; }
.podium::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); mix-blend-mode: multiply; opacity: .45; z-index: -1; }
.podium__head { max-width: var(--max); margin: 0 auto; }
.podium__kicker { font-weight: 600; margin-bottom: 8px; opacity: .95; display: flex; gap: 8px; align-items: center; }
.podium__title { font-size: clamp(2.5rem, 10vw, 5.4rem); font-weight: 900; font-style: italic; font-stretch: 122%; line-height: .9; text-shadow: 0 3px 0 var(--track-deep); margin-bottom: 12px; }
.podium__lede { max-width: 36em; margin-bottom: 16px; }
.podium__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.podium__actions .btn { min-height: 42px; padding: .5em 1.05em; font-size: .9rem; }
.picks { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick { position: relative; text-align: left; background: rgba(255,255,255,.86); color: var(--ink); border: 0; border-radius: var(--r-md) var(--r-md) 0 0; padding: 12px 10px 14px; cursor: pointer;
  display: flex; flex-direction: column; transform: translateY(10px); transition: transform .25s ease, background .2s; }
.pick.is-active { transform: translateY(0); background: #fff; box-shadow: inset 0 4px 0 var(--ink); }
.pick__place { position: absolute; top: 10px; left: 10px; font: 700 .76rem/1 var(--body); background: var(--track-soft); color: var(--track-deep); padding: 5px 9px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.pick__place .icon { width: 13px; height: 13px; }
.pick.is-active .pick__place { background: var(--ink); color: var(--cream); }
.pick .shoe-figure { margin: 18px -4px 4px; max-height: 260px; }
.pick__brand { font-size: .78rem; font-weight: 700; color: var(--muted); }
.pick__name { font: 800 clamp(1.05rem, 4.4vw, 1.7rem)/1.05 var(--display); font-stretch: 108%; }
.pick__match { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.pick__match b { font: 900 italic 1.25rem/1 var(--display); font-stretch: 125%; color: var(--track); }
.compare { max-width: var(--max); margin: 0 auto; padding: 26px var(--gutter) 0; }
.compare h2 { font-size: clamp(1.4rem, 4.6vw, 2rem); display: flex; align-items: center; gap: 10px; }
.compare__wrap { overflow-x: auto; background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 750 .95rem/1.2 var(--display); font-stretch: 108%; background: var(--paper); }
.compare thead th small { display: block; font: 600 .75rem/1.3 var(--body); color: var(--muted); }
.compare tbody th { font-weight: 600; color: var(--muted); white-space: nowrap; width: 1%; }
.compare tbody th span { display: inline-flex; align-items: center; gap: 8px; }
.compare tbody th .icon { width: 16px; height: 16px; color: var(--track); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .win { font-weight: 700; color: var(--infield); }
.details { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.detail { display: none; padding-top: 22px; }
.detail.is-active { display: block; animation: cardIn .3s ease; }
.detail { scroll-margin-top: 70px; }
.detail__switch { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-sm); border: 1.5px dashed var(--track-line); background: var(--track-soft); color: var(--track-deep); font-weight: 600; font-size: .88rem; text-align: left; cursor: pointer; }
.detail__brand { font-weight: 700; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.tag { font-size: .78rem; background: var(--track-soft); color: var(--track-deep); padding: 3px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.tag .icon { width: 14px; height: 14px; }
.detail__name { font-size: clamp(2rem, 8.5vw, 3.4rem); font-weight: 900; font-stretch: 118%; }
.detail__summary { font-size: 1.06rem; max-width: 38em; }
.detail__head .btn { margin: 6px 6px 0 0; }
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 4px; }
.detail__actions .btn { margin: 0; }
.slot-empty { margin: 0; padding: 0; }
.whats-new { display: flex; gap: 10px; align-items: flex-start; max-width: 40em; margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--card); box-shadow: var(--shadow); font-size: .93rem; line-height: 1.5; color: var(--ink); }
.whats-new .icon { color: var(--track); margin-top: 2px; }
.shoe-hero .whats-new { background: rgba(255,244,234,.12); box-shadow: none; color: var(--cream); }
.shoe-hero .whats-new .icon { color: var(--cream); }
.why { background: var(--card); border-radius: var(--r-md); padding: 16px 18px; margin: 16px 0 10px; box-shadow: var(--shadow); }
.why h3 { display: flex; align-items: center; gap: 10px; }
.why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.why li { display: flex; gap: 10px; align-items: flex-start; }
.why li .icon { color: var(--infield); margin-top: 3px; }
@media (min-width: 1100px) {
  .picks { gap: 24px; }
  /* The two shoes share one set of rows, so every section lines up across the columns
     however long each shoe's name, summary or reviews are. */
  .details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .detail, .detail.is-active { display: grid; grid-template-rows: subgrid; grid-row: span 20; align-content: start; }
  .detail.is-active { animation: none; }
  .detail__head { display: contents; }
  .detail__switch { display: none; }
  .pick { transform: none; }
}

/* ── Panels ── */
.panel { background: var(--card); border-radius: var(--r-md); padding: 18px; margin: 14px 0; box-shadow: var(--shadow); }
.panel { display: flow-root; } /* contains the floated shoe pictures */
.panel__media { margin: 0; }
.panel__media--side { float: right; width: 40%; max-width: 190px; margin: -6px -4px 8px 14px; }
.panel__media--wide { width: 100%; max-width: 380px; margin: -6px auto 6px; }
.shoe-figure.is-flipped svg { scale: -1 1; }
img.flip { scale: -1 1; }
.panel > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.detail-grid { display: grid; gap: 0 14px; }
@media (min-width: 640px) and (max-width: 1099px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { font-size: .82rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-transform: capitalize; }
.chip--plain { text-transform: none; }
.chip--feel { background: var(--track-soft); border-color: var(--track-line); color: var(--track-deep); }
.chip--best { background: var(--card); border-color: var(--line); text-transform: none; display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.chip--best .icon { width: 14px; height: 14px; color: var(--track); }
.panel--deals { outline: 1.5px solid var(--ink); scroll-margin-top: 90px; }
.deals { display: grid; gap: 8px; }
.deal { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 12px; padding: 8px 14px 8px 8px; border-radius: var(--r-sm); border: 1.5px solid var(--line); text-decoration: none; transition: border-color .15s, background .15s; }
.deal:hover { border-color: var(--ink); }
.deal > .icon { color: var(--muted); }
.deal__store { font-weight: 700; line-height: 1.25; }
.deal__store small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.deal__thumb { width: 62px; aspect-ratio: 3 / 2; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 3px 5px; grid-row: span 2; }
.deal__thumb img { mix-blend-mode: multiply; }
.deal--best .deal__thumb { box-shadow: inset 0 0 0 1px rgba(78,124,94,.35); }
@media (min-width: 720px) { .deal__thumb { width: 84px; } }
.deal__price { font: 800 1.12rem/1 var(--display); font-stretch: 110%; text-align: right; }
.deal__price s { font-size: .82rem; color: var(--muted); font-weight: 500; }
.deal__price--check { font: 650 .9rem/1 var(--body); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.deal__price--check .icon { width: 15px; height: 15px; }
.deal__flag { grid-column: 2 / -1; font-size: .75rem; font-weight: 700; color: var(--infield); }
.deal--best { border-color: var(--infield); background: var(--infield-soft); }
.deal--best > .icon { color: var(--infield); }
.deal--brand .deal__store { color: var(--muted); font-weight: 600; }
.meter { margin: 12px 0; }
.meter__head { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 5px; }
.meter__head b { color: var(--ink); }
.meter__track { position: relative; height: 8px; border-radius: 4px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.meter__track::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 4px; background: var(--track-line); }
.meter__track i { position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: var(--track); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--track); }
.fit-verdict { font: 900 italic 1.5rem/1 var(--display); font-stretch: 118%; margin-bottom: 8px; }
.fit-verdict--small, .fit-verdict--large { color: var(--track); }
.ticks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.tick { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.tick .icon { margin-top: 3px; }
.tick--up .icon { color: var(--infield); }
.tick--down .icon { color: var(--track); }
.panel--quotes blockquote { margin: 0 0 14px; padding-left: 14px; border-left: 3px solid var(--track-line); }
.panel--quotes blockquote p { font-size: 1.04rem; margin: 0 0 4px; font-style: italic; }
.panel--quotes footer { font-size: .85rem; color: var(--muted); }
.panel--empty p { color: var(--muted); }
.videos { display: grid; gap: 12px; margin-bottom: 8px; }
@media (min-width: 640px) { .videos { grid-template-columns: repeat(3, 1fr); } } /* side by side on tablets and desktops */
.yt__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; aspect-ratio: 16/9; background: #000; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt__btn:hover img { transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; translate: -50% -50%; border-radius: 50%; background: rgba(29,27,25,.82); color: #fff; display: grid; place-items: center; }
.yt__play .icon { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.yt iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r-sm); }
.yt__meta { font-size: .85rem; font-weight: 700; margin: 6px 0 0; line-height: 1.35; }
@media (min-width: 640px) { .yt__meta { font-size: .8rem; } }
.yt__meta span { display: inline-block; font-weight: 400; color: var(--muted); margin-right: 6px; }
.link-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); text-decoration: none; font-weight: 700; border: 1.5px solid var(--line); line-height: 1.3; }
.link-tile:hover { border-color: var(--ink); }
.link-tile small { display: block; font-weight: 400; color: var(--muted); }
.panel--reddit { background: #FFF2EC; outline: 1.5px solid #FFC7B2; }
.panel--reddit > h3 { color: #3A1407; }
.panel--reddit .threads a { text-decoration-color: rgba(255,69,0,.45); }
.panel--reddit .threads li > .icon { color: #FF4500; }
.panel__lede { margin: -6px 0 14px; color: var(--muted); font-size: .92rem; }
.h-icon--img { background: none; }
.h-icon--img img { width: 34px; height: 34px; }
.threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.threads li { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; }
.threads li > .icon { color: var(--muted); margin-top: 3px; grid-row: span 2; }
.threads a { font-weight: 700; }
.threads span { font-size: .8rem; color: var(--muted); }
.insta-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(330px, 86%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-bottom: 8px; }
.insta-post { scroll-snap-align: start; min-width: 0; }
.insta-post .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border-radius: var(--r-sm) !important; }
.insta-post blockquote:not(.instagram-media-rendered) { min-height: 120px; display: grid; place-items: center; background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--r-sm); padding: 16px; text-align: center; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.specs div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; }
.specs .icon { grid-row: span 2; color: var(--track); width: 18px; height: 18px; }
.specs dt { font-size: .78rem; color: var(--muted); }
.specs dd { margin: 0; font: 750 1.02rem/1.2 var(--display); font-stretch: 108%; }
.panel--sponsored { outline: 1.5px dashed var(--track-line); }
.panel--sponsored img { border-radius: var(--r-sm); margin-bottom: 10px; }
.sponsored-label { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; background: var(--track-soft); color: var(--track-deep); padding: 3px 10px; border-radius: 999px; }
.sponsored-label .icon { width: 14px; height: 14px; }
.also { max-width: var(--max); margin: 30px auto 0; padding: 0 var(--gutter); }
.also h2 { font-size: clamp(1.5rem, 4.6vw, 2.2rem); }
.also__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.also__item { background: var(--card); border-radius: var(--r-md); padding: 12px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); border: 1.5px solid transparent; }
.also__item:hover { border-color: var(--track-line); }
.also__item span { font-weight: 700; font-size: .9rem; line-height: 1.25; }
.also__item b { font: 900 italic 1.05rem/1 var(--display); color: var(--track); }
@media (min-width: 900px) { .also__list { grid-template-columns: repeat(4, 1fr); } }

/* ── Ads ── */
.ad-slot { max-width: 760px; margin: 28px auto; padding: 0 var(--gutter); }
.ad-slot__label { font-size: .7rem; color: var(--muted); margin: 0 0 4px; }
body[data-view="quiz"] .ad-slot--home, body[data-view="results"] .ad-slot--home { display: none; }
.house-ad { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 1px dashed var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--muted); font-size: .85rem; }
.house-ad b { color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: rgba(255,244,234,.8); padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom)); font-size: .9rem; }
.site-footer > * { max-width: var(--max); margin-inline: auto; }
.site-footer a { color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer__brand { font: 700 1.5rem/1 var(--display); font-stretch: 118%; color: var(--cream); }
.site-footer__brand b { font-style: italic; color: var(--track-line); }
.site-footer .small { color: rgba(255,244,234,.55); }
body[data-view="quiz"] .site-footer { display: none; }
.app-error { margin: 40px var(--gutter); padding: 16px; background: var(--track-soft); border-radius: var(--r-md); font-weight: 700; }
.region-switch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.region-switch label { font-size: .85rem; }
.region-switch select { font: inherit; font-size: .9rem; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,244,234,.45); background: transparent; color: var(--cream); }
.region-switch option { color: var(--ink); }

/* ── Static shoe pages, browse & guides ── */
.page { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 40px; }
.shoe-hero { background: var(--track); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; padding: 28px var(--gutter) 24px; }
.shoe-hero::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); mix-blend-mode: multiply; opacity: .45; z-index: -1; }
.shoe-hero__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 10px; align-items: center; }
.shoe-hero h1 { font-size: clamp(2.3rem, 10vw, 5rem); font-weight: 900; font-style: italic; font-stretch: 122%; line-height: .9; text-shadow: 0 3px 0 var(--track-deep); }
.shoe-hero__brand { font-weight: 700; margin: 0 0 6px; }
.breadcrumb { font-size: .85rem; margin-bottom: 10px; }
.shoe-hero .breadcrumb a { color: var(--cream); }
.page .breadcrumb { color: var(--muted); }
@media (min-width: 900px) { .shoe-hero__inner { grid-template-columns: 1fr 1.05fr; gap: 40px; } }
.cta-band { background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: 26px; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(1.35rem, 4.2vw, 2rem); margin: 0 0 4px; }
.cta-band p { margin: 0; color: rgba(255,244,234,.8); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 18px; }
.filters button { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 13px; font-weight: 600; cursor: pointer; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.filters button .icon { width: 15px; height: 15px; color: var(--track); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.filters button[aria-pressed="true"] .icon { color: var(--cream); }
.browse { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 720px) { .browse { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .browse { grid-template-columns: repeat(4, 1fr); } }
.page-title { font-size: clamp(2.1rem, 8vw, 3.8rem); font-weight: 900; font-stretch: 118%; }
.guide-intro { max-width: 44em; font-size: 1.05rem; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 20px 0; }
.guide-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow); }
.guide-item h2 { font-size: 1.2rem; margin: 0 0 4px; font-stretch: 108%; }
.guide-item h2 a { text-decoration: none; }
.guide-item p { margin: 0 0 6px; color: var(--muted); font-size: .92rem; }
.guide-item .chips { margin: 0; }
@media (min-width: 720px) { .guide-item { grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 22px; } }
.guide-list + h2, .plain-list + h2, .guide-intro + h2 { margin-top: 1.2em; }
.plain-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; max-width: 46em; }
.plain-list li { display: flex; gap: 10px; align-items: flex-start; }
.plain-list li > .icon { color: var(--track); margin-top: 3px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* ── Scroll motion (see initMotion in extras.js) ── */
.motion [data-drift] { translate: 0 var(--drift, 0px); will-change: translate; }
.motion .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease var(--rv-delay, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--rv-delay, 0ms); }
.motion .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
