/* ==========================================================================
   BRONCO UP — Heritage theme
   Colors and fonts: edit the :root block. Everything else reads from it.
   ========================================================================== */
:root {
  --navy: #1e2a44;
  --navy-deep: #141d31;
  --rust: #c2561f;
  --gold: #e6a233;
  --olive: #565a34;
  --cream: #f3ead8;
  --paper: #f7f1e5;
  --sand: #e7dbc3;
  --saddle: #7a4a2a;
  --ink: #1e2a44;
  --muted: #5e6475;
  --line: rgba(30, 42, 68, 0.16);
  --stripe-1: var(--rust);
  --stripe-2: var(--gold);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-label: "Josefin Sans", "Futura", sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 6px;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
/* subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rust);
}
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0;
}
.script { font-family: var(--font-script); font-weight: 400; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(36px, 4.5vw, 56px); }
.link-arrow {
  font-family: var(--font-label); font-weight: 600; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 2px solid var(--rust); padding-bottom: 4px; white-space: nowrap;
}
.link-arrow:hover { color: var(--rust); }

/* the brand's double stripe */
.stripes { display: grid; gap: 5px; width: 120px; }
.stripes::before, .stripes::after { content: ""; height: 7px; border-radius: 1px; }
.stripes::before { background: var(--stripe-1); }
.stripes::after { background: var(--stripe-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-label); font-weight: 700; font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase;
  border: 2px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: var(--cream);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--rust); border-color: var(--rust); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--navy); color: var(--cream);
  text-align: center; padding: 9px 16px;
  font-family: var(--font-label); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 229, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 84px;
}
.nav { display: flex; gap: 26px; white-space: nowrap; }
.nav a, .header-actions button, .header-actions a {
  font-family: var(--font-label); font-weight: 600; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase;
}
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--rust); transform: scaleX(0); transition: transform .2s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .soon { color: var(--muted); }
.nav .soon small { font-size: 9px; letter-spacing: .14em; color: var(--rust); margin-left: 4px; }
.header-actions { display: flex; justify-content: flex-end; gap: 22px; align-items: center; }
.header-actions button { background: none; border: 0; display: inline-flex; gap: 8px; align-items: center; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--rust); color: #fff; font-size: 11px; letter-spacing: 0;
}
.menu-toggle { display: none !important; }

/* wordmark placeholder (replaced by brand.js logos.header) */
.wordmark { display: grid; justify-items: center; line-height: 1; color: var(--navy); }
.wordmark svg { width: 64px; height: auto; margin-bottom: -4px; }
.wordmark .script { font-size: 38px; position: relative; }
.wordmark .script::after {
  content: ""; position: absolute; left: 12%; right: -4%; bottom: 2px; height: 3px;
  background: linear-gradient(90deg, var(--rust) 60%, var(--gold) 60%);
  border-radius: 2px; transform: rotate(-2deg);
}
.wordmark sup { font-family: var(--font-body); font-size: 10px; vertical-align: top; margin-left: 2px; }
.logo-img { height: 64px; width: auto; }
.site-footer .logo-img { height: 84px; }
@media (max-width: 860px) { .logo-img { height: 46px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { position: relative; }
.hero-copy .badge-mark { width: 120px; margin-bottom: 26px; color: var(--navy); }
.hero-copy h1 { font-size: clamp(52px, 6.6vw, 96px); margin: 18px 0 22px; }
.hero-copy h1 em { font-style: normal; color: var(--rust); }
.hero-copy p { font-size: 19px; color: var(--muted); max-width: 30em; margin: 24px 0 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  aspect-ratio: 1 / 0.95;
}
.hero-art figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; background: var(--sand); }
.hero-art figure:first-child { grid-row: span 2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero-art figure:hover img { transform: scale(1.04); }
.hero-art .stamp {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--cream); color: var(--navy);
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 10px 30px rgba(20, 29, 49, .18);
  border: 2px dashed rgba(30, 42, 68, .35);
  outline: 6px solid var(--cream);
  font-family: var(--font-label); font-weight: 700; font-size: 11px; letter-spacing: .18em; line-height: 1.5;
}
.hero-art .stamp b { display: block; font-family: var(--font-display); font-size: 30px; letter-spacing: 0; color: var(--rust); }

/* ---------- marquee band ---------- */
.band { background: var(--navy); color: var(--cream); overflow: hidden; border-block: 6px solid var(--rust); box-shadow: inset 0 -6px 0 var(--gold); }
.band-track { display: flex; width: max-content; animation: marquee 38s linear infinite; padding: 18px 0 24px; }
.band-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 26px; text-transform: uppercase; letter-spacing: .08em;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.band-track span::after { content: "✦"; color: var(--gold); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--sand { background: var(--cream); }

/* shop by: men / women */
.split-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-tile { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 4.4; background: var(--sand); color: var(--cream); }
.split-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.split-tile:hover img { transform: scale(1.04); }
.split-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 29, 49, .82), rgba(20, 29, 49, 0) 55%); }
.split-tile .tile-copy { position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.split-tile .eyebrow { color: var(--gold); }
.split-tile h3 { font-size: clamp(44px, 5vw, 72px); margin-top: 8px; }
.split-tile .circle-arrow {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--cream);
  display: grid; place-items: center; flex: none; transition: background .2s, color .2s;
}
.split-tile:hover .circle-arrow { background: var(--cream); color: var(--navy); }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
.card { display: block; }
.card-media {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  background: var(--cream); margin-bottom: 14px;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card-media.fit-contain img { object-fit: contain; padding: 8%; }
.card:hover .card-media img { transform: scale(1.05); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--cream); color: var(--navy); padding: 6px 10px 4px; border-radius: 3px;
  font-family: var(--font-label); font-weight: 700; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
}
.tag--new { background: var(--rust); color: #fff; }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  padding: 12px; border: 0; border-radius: var(--radius);
  background: var(--navy); color: var(--cream);
  font-family: var(--font-label); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s, background .2s;
}
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--rust); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1.1; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 4px; color: var(--muted); font-size: 15px; }
.card-meta .price { color: var(--ink); font-weight: 600; }

/* patches feature */
.patch-feature { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.patch-feature h2 { font-size: clamp(40px, 5vw, 64px); margin: 14px 0 18px; }
.patch-feature p { color: var(--muted); font-size: 18px; max-width: 28em; }
.patch-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.patch-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.patch-media figure:first-child { grid-column: span 2; aspect-ratio: 1056 / 189; }
.patch-media figure:not(:first-child) { aspect-ratio: 1 / 1; }
.patch-media img { width: 100%; height: 100%; object-fit: cover; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat { text-align: center; }
.cat-media {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  background: var(--sand); margin-bottom: 16px; border: 6px solid var(--cream); box-shadow: 0 0 0 1px var(--line);
}
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat:hover .cat-media img { transform: scale(1.05); }
.cat h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; text-transform: uppercase; margin: 0; }
.cat span { font-family: var(--font-label); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rust); }

/* next drop */
.next-drop { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.next-drop .eyebrow { color: var(--gold); }
.next-drop h2 { font-size: clamp(44px, 6vw, 80px); margin: 14px 0 16px; }
.next-drop p { color: rgba(243, 234, 216, .78); font-size: 18px; margin: 0; max-width: 28em; }
.next-drop .mtn { position: absolute; right: -40px; bottom: -10px; width: 560px; opacity: .12; color: var(--cream); pointer-events: none; }
.signup { display: flex; gap: 10px; position: relative; }
.signup input {
  flex: 1; min-width: 0; padding: 16px 18px; border-radius: var(--radius); border: 2px solid rgba(243, 234, 216, .3);
  background: rgba(243, 234, 216, .06); color: var(--cream); font: inherit;
}
.signup input::placeholder { color: rgba(243, 234, 216, .55); }
.signup .btn { background: var(--rust); border-color: var(--rust); color: #fff; }
.signup .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.signup-done { font-family: var(--font-label); letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--gold); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(243, 234, 216, .8); padding: 72px 0 32px; margin-top: clamp(64px, 8vw, 112px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer .wordmark { color: var(--cream); justify-items: start; }
.site-footer p { max-width: 22em; font-size: 15px; }
.site-footer h4 { font-family: var(--font-label); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer a:hover { color: var(--cream); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(243, 234, 216, .14); margin-top: 56px; padding-top: 24px; font-size: 13px; }
.footer-base .stripes { width: 80px; }

/* ---------- collection page ---------- */
.coll-hero { position: relative; padding: clamp(48px, 6vw, 80px) 0 36px; border-bottom: 1px solid var(--line); }
.coll-hero h1 { font-size: clamp(52px, 7vw, 104px); margin: 14px 0 12px; }
.coll-hero p { color: var(--muted); max-width: 34em; font-size: 18px; margin: 0; }
.coll-hero .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.tabs { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 5px; border: 1px solid var(--line); }
.tabs a { padding: 10px 22px; border-radius: 999px; font-family: var(--font-label); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.tabs a[aria-current="true"] { background: var(--navy); color: var(--cream); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 0 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 16px 7px;
  font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.chip[aria-pressed="true"] { background: var(--rust); border-color: var(--rust); color: #fff; }
.chip:hover:not([aria-pressed="true"]) { border-color: var(--navy); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select { font: inherit; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; }
.count { font-size: 14px; color: var(--muted); }

/* ---------- product page ---------- */
.crumbs { padding: 24px 0; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--rust); }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: 150px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.main-img.fit-contain img { object-fit: contain; padding: 6%; }
.pdp-info h1 { font-size: clamp(44px, 5vw, 68px); margin: 12px 0 10px; }
.pdp-price { font-size: 24px; font-weight: 600; margin: 0 0 22px; }
.pdp-desc { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
.opt-label { font-family: var(--font-label); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; display: flex; justify-content: space-between; }
.opt-label span { font-weight: 400; letter-spacing: .08em; text-transform: none; font-family: var(--font-body); font-size: 15px; color: var(--muted); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.sizes button { min-width: 58px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; font-weight: 600; }
.sizes button[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.sizes button:hover:not([aria-pressed="true"]) { border-color: var(--navy); }
.buy-row { display: grid; grid-template-columns: 128px 1fr; gap: 12px; margin-bottom: 14px; }
.qty { display: grid; grid-template-columns: 40px 1fr 40px; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; text-align: center; }
.qty button { background: none; border: 0; height: 100%; font-size: 20px; }
.ship-note { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin: 8px 0 30px; }
.size-hint { color: var(--rust); font-size: 14px; min-height: 20px; margin: -14px 0 12px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ul { color: var(--muted); font-size: 16px; margin: 14px 0 0; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 29, 49, .45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 90;
  background: var(--paper); transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  display: grid; grid-template-rows: auto auto 1fr auto; box-shadow: -20px 0 60px rgba(20, 29, 49, .2);
}
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 32px; }
.drawer-head button { background: none; border: 0; font-size: 28px; line-height: 1; }
.ship-bar { padding: 16px 24px; font-size: 14px; border-bottom: 1px solid var(--line); }
.ship-bar .bar { height: 6px; background: var(--sand); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--rust), var(--gold)); transition: width .4s; }
.lines { overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.line h4 { margin: 0; font-family: var(--font-display); font-size: 19px; text-transform: uppercase; font-weight: 600; line-height: 1.1; }
.line .sub { font-size: 13px; color: var(--muted); }
.line .mini-qty { display: inline-flex; gap: 12px; align-items: center; margin-top: 8px; font-size: 14px; }
.line .mini-qty button, .line .remove { background: none; border: 1px solid var(--line); border-radius: 4px; width: 26px; height: 26px; line-height: 1; }
.line .remove { border: 0; text-decoration: underline; width: auto; font-size: 12px; color: var(--muted); }
.line .lp { text-align: right; font-weight: 600; display: grid; align-content: space-between; justify-items: end; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty .script { font-size: 34px; color: var(--navy); display: block; margin-bottom: 8px; }
.drawer-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); background: var(--cream); }
.drawer-foot .total { display: flex; justify-content: space-between; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.drawer-foot small { display: block; color: var(--muted); margin-bottom: 16px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 20px); opacity: 0;
  background: var(--navy); color: var(--cream); padding: 12px 20px; border-radius: var(--radius);
  font-size: 15px; transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 20px; }
}
@media (max-width: 860px) {
  .site-header .wrap { height: 70px; }
  .nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 85vw); z-index: 90;
    flex-direction: column; gap: 0; padding: 90px 28px; background: var(--paper);
    transform: translateX(-100%); transition: transform .3s; box-shadow: 20px 0 60px rgba(20, 29, 49, .2);
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .menu-open .nav { transform: none; }
  .menu-open .scrim { opacity: 1; pointer-events: auto; }
  .menu-toggle { display: inline-flex !important; justify-self: start; background: none; border: 0; padding: 6px; }
  .header-actions .search-btn { display: none; }
  .wordmark svg { width: 48px; }
  .wordmark .script { font-size: 30px; }
  .hero .wrap, .patch-feature, .next-drop, .pdp { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .stamp { left: auto; right: 14px; bottom: 14px; width: 92px; height: 92px; font-size: 9px; }
  .hero-art .stamp b { font-size: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 64px); order: 2; }
  .quick-add { opacity: 1; transform: none; padding: 9px; font-size: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .split-tiles { grid-template-columns: 1fr; }
  .split-tile { aspect-ratio: 4 / 3.6; }
  .section-head { flex-direction: column; align-items: start; }
  .signup { flex-direction: column; }
  .card h3 { font-size: 18px; }
  .footer-base { flex-direction: column; }
}

/* ---------- collection switcher ---------- */
.switcher-bar { border-top: 1px solid var(--line); }
.switcher { display: flex; justify-content: center; align-items: stretch; gap: 0; max-width: var(--max); margin: 0 auto; }
.switch {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px 12px; background: none; border: 0;
  font-family: var(--font-label); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
}
.switch + .switch::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.switch[aria-current="true"]::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: -1px; height: 6px;
  background: linear-gradient(var(--stripe-1) 0 3px, var(--stripe-2) 3px 6px);
}
.switch .short { display: none; }
.switch--soon { color: var(--muted); opacity: .55; cursor: pointer; transition: opacity .2s; }
.switch--soon:hover, .switch--soon:focus-visible { opacity: 1; }
.switch--soon em {
  font-style: normal; font-size: 9px; letter-spacing: .16em; padding: 4px 7px 3px; border-radius: 3px;
  border: 1px solid currentColor;
}

.btn--rust { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn--rust:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

@media (max-width: 560px) {
  .switch { padding: 11px 16px 10px; font-size: 11px; letter-spacing: .16em; gap: 8px; }
  .switch .full { display: none; }
  .switch .short { display: inline; }
  .switch[aria-current="true"]::after { left: 16px; right: 16px; }
}

/* ==========================================================================
   ATHLETIC COLLECTION theme (body[data-collection="athletic"])
   ========================================================================== */
body[data-collection="athletic"] {
  --a-navy: #182a48;
  --a-orange: #e2581e;
  --rust: var(--a-orange);
  --stripe-1: var(--a-orange);
  --stripe-2: var(--a-navy);
}
.ath-hero { position: relative; overflow: hidden; background: var(--a-navy); color: #fff; padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 120px); --stripe-2: #fff; }
.ath-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ath-hero .eyebrow { color: var(--a-orange); }
.ath-hero h1 { font-size: clamp(56px, 7vw, 104px); margin: 16px 0 10px; }
.ath-tag { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin: 0 0 24px; }
.ath-copy > p:not(.ath-tag):not(.signup-done) { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 30em; margin: 24px 0 28px; }
.ath-copy .signup input { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; }
.ath-copy .signup input::placeholder { color: rgba(255, 255, 255, .55); }
.ath-copy .signup-done { font-family: var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--a-orange); margin: 8px 0; }
.ath-back { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.ath-back:hover { color: #fff; }
.ath-art { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / .9; }
.ath-art figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.ath-art figure:first-child { grid-row: span 2; }
.ath-art img { width: 100%; height: 100%; object-fit: cover; }
.ath-mtn { position: absolute; left: -2%; right: -2%; bottom: -12px; color: #fff; opacity: .07; pointer-events: none; }
.ath-mtn svg { width: 100%; height: auto; }
.ath-note { color: var(--muted); font-size: 15px; margin: 0; }
.ath-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.ath-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.ath-grid .wide { grid-column: span 2; }
.ath-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ath-grid figure:hover img { transform: scale(1.04); }
body[data-collection="athletic"] .site-footer { background: var(--a-navy); }
body[data-collection="athletic"] .site-footer h4 { color: var(--a-orange); }
@media (max-width: 860px) {
  .ath-hero .wrap { grid-template-columns: 1fr; }
  .ath-art { order: -1; }
  .ath-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 560px) { .ath-grid .wide { grid-column: span 2; } }
.switch--soon[aria-current="true"] { opacity: 1; color: var(--navy); }
body[data-collection="athletic"] .site-footer { --stripe-2: #fff; }
