:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-soft: #1a1515;
  --fg: #f5f0e8;
  --muted: #a39a8f;
  --line: rgba(245, 240, 232, 0.12);
  --burgundy: #5a2a30;
  --burgundy-hot: #7a3a42;
  --sand: #c4a882;
  --cream: #f5f0e8;
  --max: 1200px;
  --nav-h: 64px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --display: "Bebas Neue", "Inter", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--cream); color: #000; padding: 0.5rem 1rem; z-index: 1000;
}
.skip:focus { left: 0; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; font-size: 0.85rem;
}
.nav-brand img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--line);
}
.nav-links {
  display: flex; align-items: center; gap: 1.25rem;
}
.nav-links a {
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.nav-links a:hover { color: var(--fg); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--fg); margin: 5px 0;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--burgundy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--burgundy-hot); }
.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.72rem; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--fg); background: transparent; }
.btn-light {
  background: var(--cream);
  color: #111;
}
.btn-light:hover { background: #fff; }
.text-link {
  color: var(--sand);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.text-link:hover { text-decoration: underline; }

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 3.5rem 1.25rem 4rem;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 50% -5%, #2a181c 0%, transparent 60%),
    linear-gradient(180deg, #120e0e 0%, var(--bg) 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 42rem; }
.hero-logo {
  width: 128px; height: 128px; margin: 0 auto 1.5rem;
  border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(196, 168, 130, 0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--sand);
  font-weight: 600;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 12vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  font-weight: 400;
}
.tagline {
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.live-free-line {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 30rem;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
}

/* SECTIONS */
.section {
  padding: 4.5rem 1.25rem;
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: var(--max);
  margin: 0 auto 2.25rem;
  text-align: center;
}
.section-head h2,
.story-copy h2,
.cta-band h2,
.pdp h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  font-weight: 400;
  line-height: 1;
}
.lede {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
}

/* PRODUCT GRID */
.product-grid,
.race-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media {
  display: block;
  background: #0f0f0f;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card:hover .card-media img { transform: scale(1.03); }
.card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.card-body .btn,
.card-body .text-link { align-self: flex-start; margin-top: 0.5rem; }
.card-tight .card-media { aspect-ratio: 4 / 5; }
.shop-note {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}
.cta-row {
  max-width: var(--max);
  margin: 2rem auto 0;
  text-align: center;
}

/* ON-SITE PRODUCT DETAILS */
.pdp-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.pdp-media {
  border-radius: 10px;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid var(--line);
}
.pdp-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.pdp-copy .eyebrow { margin-bottom: 0.5rem; }
.pdp-copy p { color: var(--muted); }
.pdp-copy .btn { margin-top: 0.75rem; }
.pdp-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.pdp-meta li {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px solid rgba(196, 168, 130, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

/* STORY */
.story { background: linear-gradient(180deg, #100d0d 0%, var(--bg) 100%); }
.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.story-visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0f0f;
}
.story-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-copy blockquote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--cream);
  font-weight: 500;
}
.tagline-soft {
  color: var(--sand);
  font-weight: 600;
  margin: 0 0 1.5rem;
}

/* CTA BAND */
.cta-band {
  padding: 3.5rem 1.25rem;
  text-align: center;
  background: var(--burgundy);
  color: #fff;
}
.cta-band p { margin: 0 0 1.25rem; opacity: 0.9; }
.cta-band .btn-light { border-color: transparent; }

/* SOCIAL */
.social-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.social-grid a {
  display: block;
  text-decoration: none;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.social-grid a:hover {
  border-color: var(--sand);
  background: #1b1714;
}
.social-name {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.social-handle { color: var(--muted); font-size: 0.9rem; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.25rem 3rem;
  color: var(--muted);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-brand {
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem;
}
.footer-brand img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
}
.footer-brand strong {
  display: block; color: var(--fg); letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.85rem;
}
.footer-brand p { margin: 0.15rem 0 0; font-size: 0.85rem; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.25rem; margin-bottom: 1.25rem;
}
.footer-nav a {
  text-decoration: none; color: var(--fg); font-size: 0.85rem; font-weight: 600;
}
.footer-nav a:hover { color: var(--sand); }
.footer-note { font-size: 0.78rem; max-width: 40rem; line-height: 1.5; }
.copy { margin: 1rem 0 0; font-size: 0.78rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-grid,
  .race-grid { grid-template-columns: 1fr 1fr; }
  .pdp,
  .story-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links .btn { text-align: center; }
  .product-grid,
  .race-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2.5rem; }
}

/* CATEGORY STRIP (No Fear / Fast House merch clarity) */
.cat-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e0e0e;
}
.cat-strip a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
}
.cat-strip a:hover {
  color: var(--fg);
  border-color: var(--sand);
}
.product-grid.featured {
  grid-template-columns: repeat(3, 1fr);
}
.product-grid.dense {
  grid-template-columns: repeat(3, 1fr);
}
.shop-cat .section-head { margin-bottom: 1.75rem; }
@media (max-width: 900px) {
  .product-grid.featured,
  .product-grid.dense { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .product-grid.featured,
  .product-grid.dense { grid-template-columns: 1fr; }
  .nav-links { max-height: 70vh; overflow-y: auto; }
}

/* Active category nav */
.nav-links a.is-active {
  color: var(--sand, #e8dcc8);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.cat-strip-page {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding-bottom: 2rem;
}


/* === No Fear–inspired shop upgrades (structure only) === */
.price {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.card-body .price { order: 0; }
.card-body h3 { margin-bottom: 0.1rem; }
.card-body > p:not(.price) {
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Category image tiles */
.cat-tiles {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.cat-tile {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: #0f0f0f;
}
.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.85rem 0.85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 70%);
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.cat-tile-count {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

/* Collection hero band */
.collection-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.collection-hero .eyebrow { margin-bottom: 0.5rem; }
.collection-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0 0 0.75rem;
  font-weight: 400;
}
.collection-hero .lede {
  margin: 0;
  max-width: 36rem;
  text-align: left;
}
.collection-hero .count-pill {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px solid rgba(196, 168, 130, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}
.collection-hero + .section > .section-head { display: none; }
.shop-cat .product-grid { margin-top: 2rem; }
.race .race-grid { margin-top: 2rem; }

/* Story chapters 01 / 02 / 03 */
.chapters {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.chapter {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.35rem 1.6rem;
}
.chapter-num {
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  color: var(--sand);
  line-height: 1;
  margin: 0 0 0.5rem;
}
.chapter h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  font-weight: 400;
  line-height: 1;
}
.chapter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .chapters { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cat-tiles { grid-template-columns: 1fr 1fr; }
  .collection-hero { padding-top: 2rem; }
}
