/* =====================================================================
   FightBred styles
   Colours and sizes live in the variables right below: change them there.
   Layout is mobile-first: base styles are for phones, @media (min-width)
   blocks add the tablet/desktop layout.
   ===================================================================== */

/* Brand font. NOTE: check the web-font licence before going live (see README). */
@font-face {
  font-family: "Serpentine";
  src: url("/fonts/serpentine-medium.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-raised: #121214;
  --panel: rgba(16, 16, 18, 0.84);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f4f2;
  --muted: #b0b0aa;
  --faint: #85857f;
  --red: #b90000;          /* the red in the logo */
  --red-bright: #d61a1a;
  --red-text: #ff5a52;     /* red that is readable as small text on black */
  --photo-bg: #97929a;     /* grey of the product photo backdrop */
  --font-display: "Serpentine", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 48px);
  --max: 1200px;
  --header-h: 64px;
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* "hidden" must always hide, even on elements that set their own display. */
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  /* The fallback when there is no 3D background: soft red light on black. */
  background:
    radial-gradient(1100px 760px at 85% -10%, rgba(185, 0, 0, 0.28), transparent 62%),
    radial-gradient(900px 700px at -10% 75%, rgba(185, 0, 0, 0.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px;
  background: #fff; color: #000; border-radius: 6px; font-weight: 700; text-decoration: none;
  transform: translateY(-150%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- 3D background layers ---------- */
.bg-canvas {
  position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s ease;
}
html.has-webgl .bg-canvas { opacity: 1; }
.bg-veil {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.35));
}
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-synthesis: none;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2.05rem, 1.3rem + 3.4vw, 3.6rem); }
h3 { font-size: 1.12rem; letter-spacing: 0.03em; line-height: 1.2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75em;
  margin: 0 0 1.1rem;
  color: var(--red-text);
  font: 700 0.76rem/1.2 var(--font-body);
  letter-spacing: 0.24em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.accent { color: var(--red-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.5rem;
  border: 1px solid transparent; border-radius: 6px;
  font: 700 0.86rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 14px 34px -14px rgba(214, 26, 26, 0.85); }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.45); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.link-button {
  display: inline-flex; align-items: center; gap: 0.45em;
  min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.link-button:hover { text-decoration-color: var(--red-text); }
.link-button .icon { width: 18px; height: 18px; color: var(--red-text); }
.icon-button {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255, 255, 255, 0.04);
}
.icon-button:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0));
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand-icon { width: 54px; height: auto; }
.brand-word { width: 118px; height: auto; }

.site-nav { order: 2; }
.menu-toggle {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(10, 10, 10, 0.4);
}
.menu-bars { display: grid; gap: 6px; width: 20px; }
.menu-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-menu {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  margin: 0; padding: 8px var(--gutter) 20px; list-style: none;
  background: rgba(10, 10, 10, 0.96); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: none;
}
.nav-menu.is-open { display: block; }
.nav-menu a {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; text-decoration: none;
}
.nav-menu li:last-child a { border-bottom: 0; }
.nav-menu a:hover { color: var(--red-text); }

.bag-button {
  order: 3; position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(10, 10, 10, 0.4);
  transition: background-color 0.2s, border-color 0.2s;
}
.bag-button:hover { border-color: rgba(255, 255, 255, 0.5); }
.bag-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800; line-height: 1;
  transform: scale(0); transition: transform 0.25s var(--ease);
}
.bag-count.has-items { transform: scale(1); }
.bag-button.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.15); } 100% { transform: none; } }

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .brand-icon { width: 62px; }
  .brand-word { width: 136px; }
  .site-nav { order: 1; margin-right: 12px; }
  .menu-toggle { display: none; }
  .nav-menu {
    position: static; display: flex; gap: 4px; padding: 0; border: 0;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-menu a {
    min-height: 44px; padding: 0 14px; border: 0;
    font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.14em; color: #dcdcd7;
  }
  .nav-menu a:hover { color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: var(--header-h);
}
.hero-grid { display: grid; gap: 28px; padding-bottom: 36px; }
/* Phones: the photo fills the top of the screen and the text starts over its darkened bottom. */
.hero-media { position: absolute; inset: 0 0 auto 0; height: 70vh; height: 70svh; z-index: -1; }
.hero-copy { padding-top: calc(70vh - 170px - var(--header-h)); padding-top: calc(70svh - 170px - var(--header-h)); }
.hero-photo {
  position: relative; height: 100%; margin: 0; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 30%, rgba(185, 0, 0, 0.35), transparent 70%), #111;
  /* Phones: fade the photo out at the bottom so it melts into the background. */
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; filter: contrast(1.04); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0) 16%,
    rgba(10, 10, 10, 0) 42%, rgba(10, 10, 10, 0.8) 68%, #0a0a0a 97%);
}
.hero-gear { display: none; }
.hero-copy { position: relative; }
.hero-copy > * { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.hero-logo { display: none; width: min(300px, 100%); margin: 0 0 18px; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.6)); }
.hero-title { font-size: clamp(2.5rem, 1.6rem + 4.6vw, 4.6rem); line-height: 0.98; margin-bottom: 16px; }
.hero-lede { max-width: 30rem; color: #e2e2dd; font-size: 1.06rem; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 28px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line);
}
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; text-transform: uppercase; line-height: 1.1; }
.hero-facts span { color: var(--muted); font-size: 0.78rem; line-height: 1.35; }

/* Hero photo missing: a branded panel instead of a broken image. */
[data-fallback].is-missing img { visibility: hidden; }
.hero-photo.is-missing,
.story-photo.is-missing {
  background:
    url("/img/brand/icon-white.png") center 42% / 46% auto no-repeat,
    radial-gradient(70% 55% at 50% 40%, rgba(214, 26, 26, 0.45), transparent 70%),
    #0d0d0d;
}

@media (min-width: 900px) {
  .hero { justify-content: center; min-height: min(100svh, 1000px); padding-block: calc(var(--header-h) + 32px) 56px; }
  .hero-copy { padding-top: 0; }
  .hero-logo { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-bottom: 0; }
  .hero-media { position: relative; inset: auto; z-index: auto; height: auto; justify-self: end; width: 100%; max-width: 500px; }
  .hero-photo {
    -webkit-mask-image: none; mask-image: none;
    height: auto; aspect-ratio: 867 / 1280; max-height: min(76svh, 740px); margin-left: auto;
    border-radius: var(--radius); border: 1px solid var(--line-strong);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(214, 26, 26, 0.15), 0 0 120px -20px rgba(214, 26, 26, 0.35);
    transform: rotate(1.4deg);
  }
  .hero-photo::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0) 58%, rgba(10, 10, 10, 0.7) 100%); }
  .hero-gear {
    position: absolute; left: -15%; bottom: 9%; z-index: 2;
    display: flex; align-items: center; gap: 14px; width: 270px; padding: 10px 16px 10px 10px;
    border-radius: 14px; border: 1px solid var(--line-strong);
    background: rgba(14, 14, 16, 0.92); text-decoration: none;
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.9);
    transform: rotate(-4deg);
    animation: float 7s ease-in-out infinite;
    transition: border-color 0.2s;
  }
  .hero-gear:hover { border-color: rgba(255, 90, 82, 0.7); }
  .hero-gear img { width: 76px; height: 95px; object-fit: cover; border-radius: 8px; background: var(--photo-bg); }
  .hero-gear-text { display: grid; gap: 3px; line-height: 1.25; }
  .hero-gear-kicker { color: var(--red-text); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
  .hero-gear strong { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 1rem; }
  .hero-gear-meta { color: var(--muted); font-size: 0.84rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-facts { max-width: 520px; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 1; overflow: hidden;
  border-block: 1px solid var(--line); background: rgba(10, 10, 10, 0.7);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-group { display: flex; flex: none; }
.ticker span {
  display: inline-flex; align-items: center; gap: 22px; padding: 16px 0 16px 22px;
  font-family: var(--font-display); font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.06em; color: #d9d9d4; white-space: nowrap;
}
.ticker span::after { content: ""; width: 7px; height: 7px; background: var(--red-bright); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(76px, 10vw, 140px); }
.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-intro { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }

/* ---------- Shop ---------- */
.shop-card {
  display: grid; gap: 30px;
  padding: 14px; border-radius: calc(var(--radius) + 6px);
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 50px 120px -60px rgba(0, 0, 0, 0.9);
}
.gallery { min-width: 0; }
.gallery-viewport { position: relative; border-radius: 16px; overflow: hidden; background: var(--photo-bg); }
.gallery-track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: -4px; }
.gallery-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: center; scroll-snap-stop: always; background: var(--photo-bg); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 10, 0.55); color: #fff;
  transition: background-color 0.2s, opacity 0.2s;
}
.gallery-nav:hover { background: rgba(10, 10, 10, 0.8); }
.gallery-nav:disabled { opacity: 0; pointer-events: none; }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-count {
  position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 4px 10px;
  border-radius: 999px; background: rgba(10, 10, 10, 0.6); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
}
.gallery-count:empty { display: none; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.gallery-thumb {
  position: relative; aspect-ratio: 4 / 5; min-height: 44px; padding: 0; overflow: hidden;
  border: 2px solid transparent; border-radius: 10px; background: var(--photo-bg);
  opacity: 0.6; transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb[aria-current="true"] { opacity: 1; border-color: var(--red-bright); }

.product { min-width: 0; padding: 4px 6px 10px; }
.product-name { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
.product-tagline { margin: 10px 0 0; color: var(--red-text); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.82rem; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 18px; }
.price-amount { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; min-width: 4ch; }
.price-currency { color: var(--muted); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; }
.product-desc { color: #d6d6d1; }
.product-highlights { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.product-highlights li { position: relative; padding-left: 28px; font-weight: 600; }
.product-highlights li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px;
  border-left: 2px solid var(--red-text); border-bottom: 2px solid var(--red-text); transform: rotate(-45deg);
}

.buy-form { display: grid; gap: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.size-field { min-width: 0; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.field-head .link-button { font-size: 0.88rem; }
.field-label, .qty-field label {
  padding: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.qty-field label { margin-bottom: 10px; }
.size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-option { position: relative; flex: 1 1 0; min-width: 96px; }
.size-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.size-option input:disabled { cursor: not-allowed; }
.size-option span {
  display: grid; place-items: center; gap: 2px; min-height: 60px; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.size-option b { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1; }
.size-option small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; }
.size-option input:hover:not(:disabled) + span { border-color: rgba(255, 255, 255, 0.55); }
.size-option input:checked + span { background: #fff; border-color: #fff; color: #0a0a0a; }
.size-option input:checked + span small { color: #444; }
.size-option input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.size-option input:disabled + span { opacity: 0.5; }
.size-option input:disabled + span b { text-decoration: line-through; text-decoration-thickness: 2px; }
.size-field.has-error .size-option span { border-color: var(--red-text); }
.field-error { margin: 10px 0 0; color: var(--red-text); font-weight: 600; font-size: 0.92rem; }

.qty-field label { display: block; }
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden;
}
.stepper button { display: grid; place-items: center; width: 48px; height: 50px; border: 0; background: rgba(255, 255, 255, 0.03); }
.stepper button:hover { background: rgba(255, 255, 255, 0.1); }
.stepper .icon { width: 18px; height: 18px; }
.stepper input {
  width: 56px; height: 50px; border: 0; border-inline: 1px solid var(--line); background: transparent;
  text-align: center; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-status { min-height: 1.4em; margin: -8px 0 0; color: var(--muted); font-size: 0.92rem; }
.form-status:empty { display: none; }

.assurances { display: grid; gap: 12px; margin: 26px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); color: #d0d0cb; font-size: 0.94rem; }
.assurances li { display: flex; align-items: center; gap: 12px; }
.assurances .icon { color: var(--red-text); width: 20px; height: 20px; }

@media (min-width: 760px) {
  .shop-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4.5vw, 64px); padding: 22px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .product { padding: 18px 18px 18px 0; }
}
/* One-column layouts: keep the big photos from filling a whole tablet screen. */
@media (max-width: 899px) {
  .specs-media, .story-photo { max-width: 520px; }
}

/* ---------- Why bag mitts ---------- */
.benefits {
  display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr);
  margin: 48px 0 0; padding: 0; list-style: none; counter-reset: benefit;
}
.benefit {
  position: relative; padding: 26px 22px 28px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.92), rgba(14, 14, 16, 0.92));
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.benefit::before {
  counter-increment: benefit; content: "0" counter(benefit);
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: rgba(255, 255, 255, 0.08);
}
.benefit::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--red-bright), transparent); opacity: 0; transition: opacity 0.25s;
}
.benefit:hover { border-color: rgba(214, 26, 26, 0.45); transform: translateY(-3px); }
.benefit:hover::after { opacity: 1; }
.benefit .icon { width: 42px; height: 42px; color: var(--red-text); stroke-width: 1.5; }
.benefit h3 { margin: 22px 0 10px; }
.benefit p { margin: 0; color: var(--muted); }
@media (min-width: 560px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Specs ---------- */
.specs-grid { display: grid; gap: 40px; }
.specs-media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--photo-bg); aspect-ratio: 4 / 5; }
.specs-media img { width: 100%; height: 100%; object-fit: cover; }
.specs-media figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px;
  background: rgba(10, 10, 10, 0.72); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em;
}
.spec-list { margin: 30px 0 0; counter-reset: spec; }
.spec-list > div {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.spec-list > div::before {
  counter-increment: spec; content: "0" counter(spec);
  grid-row: span 2; color: var(--red-text); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5;
}
.spec-list dt { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.02em; }
.spec-list dd { margin: 4px 0 0; color: var(--muted); }
.sizing-note { margin-top: 10px; padding: 20px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.sizing-note p { margin: 0 0 6px; color: #d6d6d1; }
@media (min-width: 900px) {
  .specs-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
}

/* ---------- Story ---------- */
.story-grid { display: grid; gap: 40px; }
.story-photo {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5;
  background: #111; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -40px rgba(214, 26, 26, 0.45);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.story-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.55));
}
.story-bio { color: #dcdcd6; font-size: 1.06rem; margin: 22px 0 0; }
.pull-quote {
  margin: 36px 0 22px; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); line-height: 1.05; color: #fff;
}
.founder-quote { margin: 0; }
.founder-quote blockquote { margin: 0; padding-left: 22px; border-left: 2px solid var(--red-bright); }
.founder-quote blockquote p { color: #e6e6e1; }
.founder-quote figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; color: var(--muted);
}
.founder-quote figcaption::before { content: ""; width: 28px; height: 2px; background: var(--red-bright); }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .story-photo { position: sticky; top: calc(var(--header-h) + 28px); }
}

/* ---------- Follow the journey (full-width photo band) ---------- */
.follow { position: relative; z-index: 1; }
.follow-band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 560px; display: flex; align-items: flex-end;
}
.follow-media { position: absolute; inset: 0; z-index: -1; margin: 0; background: radial-gradient(60% 60% at 30% 40%, rgba(214, 26, 26, 0.35), transparent 70%), #0d0d0d; }
.follow-media img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 30%; }
.follow-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0a0a0a 0%, rgba(10, 10, 10, 0.15) 18%, rgba(10, 10, 10, 0.15) 38%, rgba(10, 10, 10, 0.88) 70%, #0a0a0a 100%);
}
.follow-inner { padding-block: 48px 40px; }
.follow-copy { max-width: 540px; }
.follow-copy > p:not(.eyebrow) { color: #deded9; font-size: 1.08rem; margin-top: 16px; }
.social-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px;
  border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(10, 10, 10, 0.55);
  font-weight: 700; text-decoration: none; letter-spacing: 0.04em;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.social-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }
.social-btn.is-unset, .footer-icons a.is-unset { opacity: 0.6; cursor: default; }
.social-btn.is-unset:hover { background: rgba(10, 10, 10, 0.55); border-color: var(--line-strong); transform: none; }
.photo-credit { margin: 0; padding-top: 10px; text-align: right; color: var(--faint); font-size: 0.74rem; letter-spacing: 0.04em; }
.follow:has(.follow-media.is-missing) .photo-credit { display: none; }
@media (min-width: 900px) {
  .follow-band { min-height: clamp(520px, 50vw, 760px); align-items: center; }
  .follow-media img { object-position: 50% 30%; }
  .follow-media::after {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0) 28%, rgba(10, 10, 10, 0.78) 60%, rgba(10, 10, 10, 0.94) 100%),
      linear-gradient(180deg, #0a0a0a 0%, rgba(10, 10, 10, 0) 16%, rgba(10, 10, 10, 0) 84%, #0a0a0a 100%);
  }
  .follow-inner { display: flex; justify-content: flex-end; padding-block: 80px; }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 16px 2px; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.06rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--red-text); transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: #fff; }
.faq-answer { padding: 0 2px 22px; color: var(--muted); max-width: 68ch; }
.faq-answer a { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 64px 0 28px; border-top: 1px solid var(--line); background: rgba(8, 8, 9, 0.9); }
.footer-grid { display: grid; gap: 36px; }
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 30ch; }
.footer-label { margin: 0 0 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.footer-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: #d6d6d1; }
.footer-nav a:hover { color: #fff; }
.footer-icons { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-icons a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); transition: background-color 0.2s, border-color 0.2s;
}
.footer-icons a:not(.is-unset):hover { background: var(--red); border-color: var(--red); }
.footer-contact { margin-top: 16px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #d6d6d1; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Dialogs: bag drawer and size guide ---------- */
/* Open = visible by default; @starting-style animates the opening in browsers that
   support it, and the "is-closing" class (set by js/ui.js) animates the closing. */
dialog { padding: 0; border: 0; color: var(--text); background: transparent; }
dialog::backdrop { background: rgba(0, 0, 0, 0.62); opacity: 1; transition: opacity 0.3s ease; }
dialog.is-closing::backdrop { opacity: 0; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }

.drawer:modal { width: 100%; height: 100%; height: 100dvh; max-width: 100%; max-height: 100%; max-height: 100dvh; margin: 0; overflow: hidden; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: #111113; border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.8);
  transform: none; transition: transform 0.38s var(--ease);
}
.drawer.is-closing .drawer-panel { transform: translateX(100%); }
@starting-style { .drawer[open] .drawer-panel { transform: translateX(100%); } }
.drawer-head, .modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px 16px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head h2, .modal-head h2 { font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.bag-empty { display: grid; justify-items: start; gap: 6px; padding: 28px 0; color: var(--muted); }
.bag-lines { margin: 0; padding: 0; list-style: none; }
.bag-line {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.bag-line img { width: 76px; height: 95px; object-fit: cover; border-radius: 10px; background: var(--photo-bg); }
.bag-line-top { display: flex; justify-content: space-between; gap: 10px; }
.bag-line-name { margin: 0; font-weight: 700; line-height: 1.3; }
.bag-line-meta { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; }
.bag-line-total { font-weight: 700; white-space: nowrap; }
.bag-line-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.bag-line .stepper button { width: 44px; height: 44px; }
.bag-line .stepper span { display: grid; place-items: center; width: 40px; height: 44px; font-weight: 700; border-inline: 1px solid var(--line); }
.remove-button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
  border: 0; background: none; color: var(--muted); font-size: 0.86rem; text-decoration: underline; text-underline-offset: 3px;
}
.remove-button:hover { color: #fff; }
.remove-button .icon { width: 17px; height: 17px; }
.bag-line-warning { margin: 8px 0 0; color: var(--red-text); font-size: 0.86rem; font-weight: 600; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0e0e10; }
.ship-to { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-weight: 600; }
.ship-to select {
  min-height: 44px; padding: 0 40px 0 14px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: #18181b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center no-repeat;
  appearance: none; -webkit-appearance: none;
}
.totals { margin: 0 0 14px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: #d6d6d1; }
.totals dd { margin: 0; }
.totals .totals-sum { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); color: #fff; font-weight: 800; font-size: 1.1rem; }
.free-note { margin: -4px 0 14px; color: var(--muted); font-size: 0.88rem; }
.checkout-msg { margin: 12px 0 0; color: #ffd2cf; font-size: 0.92rem; }
.checkout-msg:empty { display: none; }
.checkout-msg.is-info { color: #e6e6e1; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.fine-print { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--faint); font-size: 0.8rem; }
.fine-print .icon { width: 15px; height: 15px; }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
[data-checkout][aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal:modal {
  width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto;
  border-radius: 18px; border: 1px solid var(--line-strong); background: #121214;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9);
  opacity: 1; transform: none; transition: opacity 0.25s ease, transform 0.3s var(--ease);
}
.modal.is-closing { opacity: 0; transform: translateY(16px) scale(0.98); }
@starting-style { .modal[open] { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modal-panel { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.modal-body { overflow-y: auto; padding: 20px 22px 24px; }
.modal-body h3 { margin: 26px 0 12px; }
.table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.size-table th, .size-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.size-table tbody th { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.measure-steps { display: grid; gap: 10px; margin: 0; padding-left: 1.3em; color: #d6d6d1; }
.measure-steps strong { color: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
  max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 10px;
  background: #fff; color: #0a0a0a; font-weight: 700; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, 150%); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal on scroll (only when JavaScript runs) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Simple pages (thank you, 404) ---------- */
.page-simple { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 96px 0 48px; position: relative; z-index: 1; }
.page-card {
  max-width: 640px; margin-inline: auto; padding: clamp(28px, 5vw, 48px);
  border-radius: 24px; background: var(--panel); border: 1px solid var(--line); text-align: center;
}
.page-card .page-icon { width: 120px; margin: 0 auto 22px; }
.page-card h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); margin-bottom: 18px; }
.page-card p { color: #d6d6d1; }
.page-card p.eyebrow { color: var(--red-text); }
.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Policy pages (shipping, returns, privacy, terms) ---------- */
.page-bar { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: rgba(10, 10, 10, 0.86); }
.page-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.page-bar .btn { min-height: 44px; padding: 0 16px; font-size: 0.74rem; }
.policy { position: relative; z-index: 1; padding-block: clamp(40px, 7vw, 88px); }
.policy-body { max-width: calc(760px + var(--gutter) * 2); }
.policy-body h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); }
.policy-body h2 { margin: 40px 0 12px; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }
.policy-body p, .policy-body li { color: #d6d6d1; }
.policy-body ul { display: grid; gap: 8px; margin: 0 0 1em; padding-left: 1.2em; }
.policy-body li::marker { color: var(--red-text); }
.policy-body a { color: var(--text); text-decoration-color: var(--red-text); text-underline-offset: 3px; }
.policy-body p.policy-updated { margin: 14px 0 0; color: var(--faint); font-size: 0.9rem; }
.policy-body p.policy-lede { margin-top: 24px; color: #e6e6e1; font-size: 1.08rem; }
.policy-footer { margin-top: 0; padding: 32px 0 28px; }
.policy-footer-inner { display: grid; gap: 14px; color: var(--faint); font-size: 0.88rem; }
.policy-footer-inner p { margin: 0; }
.policy-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.policy-links a { display: inline-flex; align-items: center; min-height: 44px; color: #d6d6d1; text-decoration: none; }
.policy-links a:hover, .policy-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--red-text); text-underline-offset: 4px; }

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
