/* Prime Step Footwear — design system */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'Switzer', 'Work Sans', system-ui, sans-serif;

  --radius: 2px;
  --ease: cubic-bezier(.16,1,.3,1);
  --maxw: 1240px;
}

/* Dark (default) */
[data-theme="dark"] {
  --bg: oklch(0.145 0.006 60);
  --surface: oklch(0.195 0.008 60);
  --surface-2: oklch(0.24 0.009 60);
  --border: oklch(0.32 0.01 60);
  --text: oklch(0.955 0.005 80);
  --muted: oklch(0.72 0.012 70);
  --accent: oklch(0.78 0.115 78);
  --accent-ink: oklch(0.2 0.02 70);
  --shadow: 0 24px 60px -24px oklch(0 0 0 / .7);
}
:root, [data-theme="light"] {
  --bg: oklch(0.985 0.005 85);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.955 0.008 85);
  --border: oklch(0.88 0.008 85);
  --text: oklch(0.21 0.01 60);
  --muted: oklch(0.47 0.012 65);
  --accent: oklch(0.55 0.11 72);
  --accent-ink: oklch(0.99 0 0);
  --shadow: 0 24px 50px -28px oklch(0.4 0.02 70 / .28);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-5); }
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.eyebrow {
  font-size: var(--text-xs); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
h1, h2, h3 { font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); }
h2 { font-size: var(--text-xl); }
h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }
p { max-width: 62ch; color: var(--muted); }
.lead { color: var(--muted); font-size: var(--text-base); }

/* ---------- utility bar ---------- */
.topbar {
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: var(--text-xs); color: var(--muted);
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6);
  align-items: center; justify-content: center; padding-block: var(--space-2);
}
.topbar strong { color: var(--text); font-weight: 500; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header .wrap { display: flex; align-items: center; gap: var(--space-6); padding-block: var(--space-4); }
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; letter-spacing: .01em; }
.brand-sub { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { margin-left: auto; display: flex; gap: var(--space-5); font-size: var(--text-sm); }
.nav a { color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--border); border-radius: 50%;
  color: var(--text); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--accent); background: var(--surface); }
.icon-btn svg { width: 17px; height: 17px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: var(--space-2) var(--space-5) var(--space-5);
  }
  .nav.open { display: flex; }
  .nav a { padding-block: var(--space-3); border-bottom: 1px solid var(--border); }
  .menu-btn { display: grid; }
  .header .wrap { position: relative; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: .03em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, oklch(0.12 0.01 60 / .94) 0%, oklch(0.12 0.01 60 / .72) 48%, oklch(0.12 0.01 60 / .25) 100%);
}
.hero-inner { position: relative; padding-block: clamp(var(--space-20), 13vw, var(--space-32)); }
.hero h1 {
  font-size: var(--text-3xl); color: oklch(0.98 0.005 85); max-width: 20ch;
  margin-block: var(--space-5) var(--space-5);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p { color: oklch(0.88 0.01 85); max-width: 48ch; }
.hero .btn--ghost { color: oklch(0.97 0.005 85); border-color: oklch(1 0 0 / .45); }
.hero .btn--ghost:hover { color: var(--accent); border-color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-12);
  padding-top: var(--space-6); border-top: 1px solid oklch(1 0 0 / .18);
}
.hero-facts div { font-size: var(--text-xs); color: oklch(0.82 0.01 85); letter-spacing: .1em; text-transform: uppercase; }
.hero-facts b { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0;
  text-transform: none; color: oklch(0.98 0.005 85); font-weight: 400; margin-bottom: 2px; }

/* ---------- notice ---------- */
.notice {
  display: flex; gap: var(--space-4); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); padding: var(--space-5) var(--space-6);
  border-radius: var(--radius);
}
.notice svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.notice p { max-width: 80ch; font-size: var(--text-sm); }

/* ---------- section head ---------- */
.shead { margin-bottom: var(--space-10); }
.shead h2 { margin-block: var(--space-3) var(--space-4); max-width: 24ch; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: var(--space-5); }
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); min-height: 300px; display: flex; align-items: flex-end;
  cursor: pointer; background: var(--surface);
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease); }
.cat:hover img { transform: scale(1.06); }
.cat::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.1 0.01 60 / .97) 0%, oklch(0.1 0.01 60 / .82) 34%, oklch(0.1 0.01 60 / .18) 78%); }
.cat-body { position: relative; padding: var(--space-6);
  background: linear-gradient(to top, oklch(0.1 0.01 60 / .92), oklch(0.1 0.01 60 / .55) 65%, transparent);
  width: 100%; }
.cat-body h3 { color: oklch(0.98 0.005 85); }
.cat-body h3 { text-shadow: 0 1px 12px oklch(0.1 0.01 60 / .8); }
.cat-body span { font-size: var(--text-xs); color: oklch(0.83 0.13 80); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.chip {
  font-family: inherit; font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase;
  padding: var(--space-2) var(--space-4); border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-5); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-2); transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.badge { display:block; text-align:center; font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; background: oklch(0.95 0.05 85); color: oklch(0.35 0.06 70); padding: 6px; border-radius: var(--radius); margin-top: var(--space-3); }
.card-body { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card-brand { font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.card-name { font-size: var(--text-sm); font-weight: 600; line-height: 1.35; color: var(--text); }
.card-meta { font-size: var(--text-xs); color: var(--muted); }
.card-foot { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.price { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); }
.stock { font-size: var(--text-xs); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.72 0.16 145); flex: none; }
.dot--low { background: oklch(0.75 0.15 70); }
.tag {
  display: inline-block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--border); color: var(--muted); border-radius: var(--radius);
}
.count { font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-5); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--border); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.ticks li { display: flex; gap: var(--space-3); font-size: var(--text-sm); color: var(--muted); }
.ticks li::before { content: "—"; color: var(--accent); flex: none; }

/* ---------- info cards ---------- */
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-5); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-6); }
.panel h3 { margin-bottom: var(--space-3); }
.panel p, .panel li { font-size: var(--text-sm); }
.hours { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.hours li { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); color: var(--muted); border-bottom: 1px dashed var(--border); padding-bottom: var(--space-2); }
.hours b { color: var(--text); font-weight: 500; }
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.contact-list li { font-size: var(--text-sm); color: var(--muted); }
.contact-list a { color: var(--text); border-bottom: 1px solid var(--accent); }
.map { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); filter: saturate(.85); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--surface-2); padding-block: var(--space-16) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--text); font-weight: 500; margin-bottom: var(--space-4); }
.footer ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer a, .footer li { font-size: var(--text-sm); color: var(--muted); }
.footer a:hover { color: var(--accent); }
.legal { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; }
.legal p { font-size: var(--text-xs); max-width: none; }

/* ---------- legal pages ---------- */
.doc { max-width: 76ch; margin-inline: auto; }
.doc h1 { font-family: var(--font-display); font-size: var(--text-2xl); margin-block: var(--space-4) var(--space-4); }
.doc h2 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; margin-top: var(--space-10); margin-bottom: var(--space-3); }
.doc h3 { font-size: var(--text-base); margin-top: var(--space-6); margin-bottom: var(--space-2); }
.doc p, .doc li { font-size: var(--text-base); color: var(--muted); }
.doc p + p { margin-top: var(--space-4); }
.doc ul, .doc ol { padding-left: var(--space-5); display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.doc .updated { font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin-top: var(--space-4); font-size: var(--text-sm); }
.doc th, .doc td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* featured real products */
.feat { display:grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 880px){ .feat{ grid-template-columns:1fr; } }
.fcard { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; display:flex; flex-direction:column; }
.fmain { aspect-ratio: 4/3; background:#fff; display:grid; place-items:center; }
.fmain img { width:100%; height:100%; object-fit:contain; }
.thumbs { display:flex; gap: var(--space-2); padding: var(--space-3) var(--space-5) 0; flex-wrap: wrap; }
.thumbs button { width:64px; height:52px; padding:0; border:1px solid var(--border); background:#fff; cursor:pointer; border-radius: var(--radius); overflow:hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.thumbs img { width:100%; height:100%; object-fit:contain; }
.fbody { padding: var(--space-5); display:flex; flex-direction:column; gap: var(--space-2); }
.fbody p { font-size: var(--text-sm); }
.catstrip { display:grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: var(--space-3); }
.catstrip button { font-family:inherit; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: var(--space-3); cursor:pointer; color: var(--text); font-size: var(--text-xs); font-weight:500; display:flex; flex-direction:column; align-items:center; gap: var(--space-2); transition: border-color .2s, transform .2s; }
.catstrip button:hover { border-color: var(--accent); transform: translateY(-2px); }
.catstrip img { width:100%; aspect-ratio:4/3; object-fit:contain; background:#fff; }

.hero2 { background: var(--surface-2); border-bottom:1px solid var(--border); }
.hero2-grid { display:grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-10); align-items:center; padding-block: clamp(var(--space-12),7vw,var(--space-24)); }
@media (max-width: 880px){ .hero2-grid{ grid-template-columns:1fr; } }
.hero2 h1 { font-size: var(--text-2xl); margin-block: var(--space-4); max-width: 16ch; }
.hero2-media { border-radius: 4px; overflow:hidden; box-shadow: var(--shadow); }
.hero2-media img { width:100%; aspect-ratio: 5/4; object-fit: cover; }
.hero-points { list-style:none; padding:0; margin-top: var(--space-8); display:grid; gap: var(--space-2); font-size: var(--text-sm); color: var(--muted); }
.hero-points li::before { content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--accent); margin-right: var(--space-3); vertical-align: middle; }
.card-media img { object-fit: cover !important; padding: 0 !important; }
.card .thumbs { padding: var(--space-3) var(--space-5) 0; }
.card .thumbs button { width:48px; height:40px; }
.card .thumbs img { object-fit: cover; }
.card-link { font-size: var(--text-xs); font-weight:600; color: var(--accent); letter-spacing:.04em; }
.about-box { display:grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-10); background: var(--surface); border:1px solid var(--border); padding: clamp(var(--space-6),4vw,var(--space-12)); border-radius: 4px; align-items:center; }
@media (max-width: 880px){ .about-box{ grid-template-columns:1fr; } }
.card .thumbs{flex-wrap:nowrap;overflow-x:auto;gap:6px}.card .thumbs button{flex:none;width:40px;height:34px}

/* Background theme: clean white page with deep navy bands */
:root, [data-theme="light"] {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f6f9; --border: #e3e7ee;
  --text: #0f1b2d; --muted: #4f5b6d; --accent: #b8862b; --accent-ink: #ffffff;
}
.topbar { background: #0f1b2d; color: #c9d2e0; border-bottom: 0; }
.topbar strong { color: #fff; }
.header { background: rgba(255,255,255,.94); }
.hero2 { background: linear-gradient(135deg, #0f1b2d 0%, #1c3150 100%); border-bottom: 0; }
.hero2 h1 { color: #fff; }
.hero2 p, .hero2 .hero-points { color: #c9d2e0; }
.hero2 .eyebrow { color: #e0b560; }
.hero2 .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero2 .btn--ghost:hover { color: #e0b560; border-color: #e0b560; }
.footer { background: #0f1b2d; border-top: 0; }
.footer h4 { color: #fff; }
.footer a, .footer li, .footer p, .legal p { color: #aeb9ca !important; }
.footer a:hover { color: #e0b560 !important; }
.legal { border-top-color: rgba(255,255,255,.12); }
