:root {
  color-scheme: light;
  --ink: oklch(18% 0.02 250);
  --ink-2: oklch(30% 0.018 250);
  --muted: oklch(47% 0.015 250);
  --paper: oklch(97% 0.012 92);
  --paper-2: oklch(94% 0.018 95);
  --white: #fff;
  --line: oklch(85% 0.015 95);
  --line-strong: oklch(40% 0.02 250);
  --volt: oklch(82% 0.23 135);
  --volt-soft: oklch(82% 0.23 135 / 0.25);
  --crimson: oklch(56% 0.22 28);
  --cobalt: oklch(53% 0.16 255);
  --radius: 10px;
  --shadow-soft: 0 18px 44px oklch(18% 0.02 250 / 0.1);
  --shadow-card: 0 10px 24px oklch(18% 0.02 250 / 0.08);
  --font-display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --gutter: clamp(1rem, 4vw, 4.5rem);
}

/* Shopping controls extend the approved mock's typography and surface palette. */
.storefront-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
}
.storefront-status p { margin: 0; max-width: 70ch; }
.store-control {
  min-height: 44px;
  padding: .55rem .9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.store-control:hover { background: var(--volt-soft); }
.shop-dialog {
  width: min(560px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.shop-dialog::backdrop { background: oklch(18% 0.02 250 / .6); }
.shop-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.shop-dialog h2 { margin: 0; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; overflow-wrap: anywhere; }
.choice-image { width: 100%; height: 230px; object-fit: contain; margin-bottom: 1.5rem; background: var(--white); border-radius: var(--radius); }
.shop-dialog label { display: block; font-weight: 600; }
.shop-dialog select, .shop-dialog input {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .6rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  caret-color: var(--ink);
}
.shop-dialog select { display: block; width: 100%; margin-top: .5rem; }
.shop-dialog .button { min-height: 44px; width: 100%; margin-top: .75rem; }
.shop-dialog [hidden] { display: none; }
.shop-dialog button:disabled, .store-control:disabled { opacity: .6; cursor: not-allowed; }
.shop-dialog :focus-visible, .storefront-status :focus-visible, .product-card a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.cart-line { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cart-line h3 { margin: 0; font-size: 1.15rem; overflow-wrap: anywhere; }
.cart-line p { margin: .35rem 0 1rem; overflow-wrap: anywhere; }
.cart-line-controls { display: flex; align-items: end; gap: .75rem; }
.cart-line-controls input { display: block; width: 5rem; margin-top: .25rem; }
.cart-line-controls strong { margin-left: auto; align-self: center; font-variant-numeric: tabular-nums; }
.cart-subtotal { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.cart-fine-print { color: var(--muted); }
.shop-dialog ::selection { background: var(--volt); color: var(--ink); }
/* Store photo in the Visit section. Version A (default): the photo sits behind the whole section under a dark wash so the
   copy stays readable. Version B (?look=b): a framed photo above the store details. */
.visit-photo { display: none; margin: 0; }
.visit-photo img, .about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--ink); }
body[data-visit-look="b"] .visit-photo { display: block; }
body:not([data-visit-look="b"]) .visit-section {
  background:
    linear-gradient(100deg, oklch(18% 0.02 250 / 0.9) 0%, oklch(18% 0.02 250 / 0.62) 42%, oklch(18% 0.02 250 / 0.08) 100%),
    url("assets/store-interior.jpg") center 28% / cover no-repeat;
  color: var(--paper);
}
/* Client (2026-12-02): show more of the store, with the "History of New York" sign in view. */
@media (width < 900px) {
  /* Phones: the whole photo as a full-width band on top, fading into the dark panel that holds the text. */
  body:not([data-visit-look="b"]) .visit-section {
    padding-top: calc(70vw + var(--space-4));
    background:
      linear-gradient(180deg, oklch(18% 0.02 250 / 0) 45vw, oklch(18% 0.02 250) 75vw),
      url("assets/store-interior.jpg") center top / 100% auto no-repeat,
      oklch(18% 0.02 250);
  }
}
@media (min-width: 900px) {
  body:not([data-visit-look="b"]) .visit-section { min-height: clamp(680px, 50vw, 780px); align-content: end; align-items: end; }
}
body:not([data-visit-look="b"]) .visit-section .eyebrow { color: var(--volt); }
body:not([data-visit-look="b"]) .visit-copy h2 { color: var(--paper); }
body:not([data-visit-look="b"]) .visit-copy p:not(.eyebrow) { color: oklch(92% 0.012 92); }
body:not([data-visit-look="b"]) .visit-section .button.secondary { background: transparent; color: var(--paper); border-color: var(--paper); }
body:not([data-visit-look="b"]) .visit-block { color: var(--ink); }
.gift-section { display: grid; gap: 2rem; }
.gift-section[hidden] { display: none; }
.gift-intro { max-width: 40rem; }
.gift-intro h2 { margin: 0 0 1rem; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .95; }
.gift-intro p:not(.eyebrow) { margin: 0; font-size: 1.1rem; color: var(--ink-2); }
.gift-form { display: grid; gap: 2rem; padding: clamp(1.25rem, 4vw, 2.5rem); background: linear-gradient(105deg, var(--volt-soft), transparent 55%), var(--white); border: 1px solid var(--ink); border-radius: var(--radius); }
.gift-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.gift-form legend, .gift-field > span { display: block; margin-bottom: .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gift-field > span em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.gift-preview { position: relative; aspect-ratio: 1.586; overflow: hidden; border-radius: 14px; background: var(--paper-2); box-shadow: 0 18px 40px oklch(18% 0.02 250 / 0.22); transform: rotate(-2deg); }
.gift-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gift-preview-amount { position: absolute; right: .9rem; bottom: .9rem; padding: .3rem .8rem; border-radius: 999px; background: var(--ink); color: var(--volt); font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; line-height: 1.1; }
.gift-form .gift-designs { margin-top: 1.75rem; }
.gift-design-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.gift-design-option { position: relative; display: block; cursor: pointer; border-radius: 6px; }
.gift-design-option input, .gift-amount-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gift-design-option img { display: block; width: 100%; height: auto; aspect-ratio: 1.586; object-fit: cover; border-radius: 6px; border: 2px solid transparent; transition: border-color 130ms ease, transform 130ms ease; }
.gift-design-option:hover img { transform: translateY(-2px); }
.gift-design-option input:checked + img { border-color: var(--ink); box-shadow: 0 0 0 2px var(--volt); }
.gift-design-option input:focus-visible + img { outline: 3px solid var(--ink); outline-offset: 2px; }
.gift-fields { display: grid; gap: 1.1rem; align-content: start; }
.gift-amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: .5rem; }
.gift-amount-option { display: block; cursor: pointer; }
.gift-amount-option span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: .5rem; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--white); font-weight: 800; letter-spacing: .03em; transition: background 130ms ease, color 130ms ease; }
.gift-amount-option:hover span { background: var(--volt-soft); }
.gift-amount-option input:checked + span { background: var(--ink); color: var(--volt); }
.gift-amount-option input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.gift-custom { margin-top: .75rem; }
.gift-custom[hidden] { display: none; }
.gift-field { display: block; }
.gift-field input, .gift-field textarea { display: block; width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; }
.gift-field textarea { resize: vertical; min-height: 6rem; }
.gift-field input:focus-visible, .gift-field textarea:focus-visible { outline: 3px solid var(--volt); outline-offset: 1px; border-color: var(--ink); }
.gift-counter { display: block; margin-top: .3rem; text-align: right; color: var(--ink-2); }
.gift-error { margin: 0; padding: .7rem .9rem; border-radius: 8px; background: oklch(94% 0.05 25); color: oklch(42% 0.17 25); font-weight: 700; }
.gift-error[hidden] { display: none; }
.gift-submit { width: 100%; cursor: pointer; }
.gift-submit:disabled { opacity: .6; cursor: progress; transform: none; }
.gift-note { margin: 0; font-size: .95rem; color: var(--ink-2); }
.gift-note a { white-space: nowrap; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .gift-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; } .gift-design { position: sticky; top: 6rem; } }
@media (max-width: 479px) { .gift-design-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gift-preview { transform: none; } }
.about-section { display: grid; gap: 2rem; align-items: center; }
.about-section[hidden] { display: none; }
.about-photo { margin: 0; }
.about-copy h2 { margin: 0 0 1rem; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .95; }
.about-copy p:not(.eyebrow) { max-width: 52ch; font-size: 1.1rem; color: var(--ink-2); }
@media (min-width: 900px) { .about-section { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; } }

/* Color swatches in the picker and product view: one per colorway, showing that colorway's own photo. */
.color-swatches { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.color-swatches[hidden] { display: none; }
.color-swatch { display: grid; justify-items: center; gap: .2rem; width: 4.75rem; padding: .35rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
.color-swatch img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.color-swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--volt); }
.color-swatch:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Browse, help and product views replace the homepage sections in place, inside the same header and footer. */
body.view-browse main > :not(.browse-section), body.view-info main > :not(.info-section), body.view-product main > :not(.product-section) { display: none; }
.browse-section[hidden], .info-section[hidden], .product-section[hidden], .product-detail[hidden], .product-related[hidden] { display: none; }
.info-section h2:focus, .product-section h2:focus { outline: none; }
.info-section h2:focus-visible, .product-section h2:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.info-grid { display: grid; gap: 1rem; }
.info-block { padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.info-block h3, .info-policies h3, .product-related h3 { margin: 0 0 .75rem; font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; }
.info-block ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; }
.info-block p { margin: 0 0 .6rem; }
.info-block a, .info-policies a, .product-back a, .product-detail-note a, .choice-details a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.info-policies { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; margin-top: 1.5rem; }
.info-policies h3 { flex-basis: 100%; }
.product-back { margin: 0 0 1.25rem; }
.product-detail { display: grid; gap: 1.5rem; align-items: start; }
.product-detail-media { width: 100%; max-width: 30rem; border: 1px solid var(--line); border-radius: var(--radius); }
.product-detail-info h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; overflow-wrap: anywhere; }
.product-detail-price { margin: .75rem 0 1.25rem; font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
#product-form { display: grid; gap: .5rem; max-width: 26rem; }
#product-form label { font-weight: 700; }
#product-form select { min-height: 44px; padding: .6rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
#product-form p { margin: 0; color: var(--muted); }
#product-form .button { min-height: 44px; }
#product-form button:disabled { opacity: .6; cursor: not-allowed; }
.product-detail-note { color: var(--muted); }
.product-related { margin-top: var(--space-12); }
.choice-details { margin: 1rem 0 0; text-align: center; }
#product-save { margin-top: .75rem; }
#product-save[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: var(--white); }
.wishlist-button.has-items svg { fill: var(--crimson); stroke: var(--crimson); }
.wishlist-line { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: center; }
.wishlist-line h3 a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wishlist-line p { grid-column: 1; margin: 0; }
.wishlist-line button { grid-column: 2; grid-row: 1 / span 2; }
@media (min-width: 900px) {
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
  .product-detail-media { max-width: none; }
}
.browse-section h2:focus { outline: none; }
.browse-section h2:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.browse-controls {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin: 0 0 1.5rem;
}
.browse-controls label { display: grid; gap: .4rem; font-weight: 700; }
.browse-search-row { display: flex; gap: .5rem; }
.browse-controls input, .browse-controls select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
.browse-search-row .button { min-height: 44px; flex: none; }
.browse-controls :focus-visible, .browse-pager :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.browse-controls [hidden], .browse-pager[hidden] { display: none; }
.browse-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: var(--space-8) 0 0;
  font-variant-numeric: tabular-nums;
}
.browse-pager p { margin: 0; font-weight: 700; }
.browse-pager button:disabled { opacity: .6; cursor: not-allowed; }
@media (min-width: 900px) {
  .browse-controls { grid-template-columns: minmax(16rem, 2fr) minmax(12rem, 1.2fr) minmax(10rem, 1fr) auto; }
}
@media (max-width: 600px) {
  .storefront-status { align-items: flex-start; flex-direction: column; }
  .cart-line-controls { flex-wrap: wrap; }
  .shop-dialog-heading h2 { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-dialog *, .store-control { animation: none !important; transition: none !important; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 60;
  transform: translateY(-160%);
  background: var(--volt);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: oklch(97% 0.012 92 / 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.promo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.5rem var(--space-4);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-align: center;
}

.promo-strip span:nth-child(n + 2) {
  display: none;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  min-height: 74px;
  padding: 0 var(--gutter);
}

.brand-mark {
  width: 116px;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.site-menu {
  position: fixed;
  inset: 118px 1rem auto 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.site-menu.open {
  display: flex;
}

.site-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-menu a:hover {
  background: var(--volt);
}

.menu-button,
.icon-button,
.cart-button,
.heart-button {
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
}

.menu-button {
  justify-self: end;
  display: grid;
  gap: 4px;
  width: 44px;
  height: 44px;
  place-content: center;
}

.menu-button span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: var(--space-2);
}

/* Keep the session cart reachable when the full navigation is collapsed. */
@media (max-width: 899px) {
  .nav-actions { display: flex; }
  .nav-actions .icon-button { display: none; }
  .nav-actions .icon-button.search-button, .nav-actions .icon-button.wishlist-button { display: inline-grid; }
}

.icon-button,
.cart-button,
.heart-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.icon-button svg,
.cart-button svg,
.heart-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button {
  grid-template-columns: auto auto;
  gap: 0.4rem;
  width: auto;
  padding: 0 0.8rem;
  font-weight: 700;
}

/* ============ HERO ============ */

.hero {
  display: grid;
  gap: var(--space-6);
  padding: clamp(1.75rem, 6vw, 4.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(circle at 84% 8%, var(--volt-soft), transparent 34%),
    linear-gradient(150deg, var(--paper) 0%, var(--paper-2) 60%, oklch(92% 0.04 135) 100%);
}

.hero-copy {
  align-self: center;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--crimson);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

h1 {
  margin-bottom: var(--space-3);
  font-size: clamp(3rem, 10.5vw, 7.5rem);
  font-weight: 800;
}

.hero-text {
  max-width: 42ch;
  margin-bottom: var(--space-4);
  color: var(--ink-2);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.hero-actions .button {
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button.primary {
  background: var(--volt);
  color: var(--ink);
}

.button.secondary {
  background: var(--white);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px oklch(18% 0.02 250 / 0.14);
}

.need-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
}

.need-links span {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.need-links a {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.6);
  font-weight: 600;
  transition: background 140ms ease, border-color 140ms ease;
}

.need-links a:hover {
  background: var(--volt);
  border-color: var(--ink);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-self: center;
}

.feature-shoe {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--space-3);
  overflow: hidden;
  min-height: 340px;
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.flag {
  width: max-content;
  background: var(--ink);
  color: var(--paper);
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-shoe .flag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
}

.feature-shoe img {
  width: 100%;
  height: 230px;
  align-self: center;
  object-fit: contain;
  transform: rotate(-8deg) scale(1.12);
}

.feature-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-2);
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
}

.feature-meta p,
.feature-meta h2 {
  margin: 0;
}

.feature-meta p {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.feature-meta h2 {
  grid-column: 1;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
}

.feature-meta strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.feature-shoe-small {
  min-height: 260px;
  background: var(--ink);
  color: var(--paper);
}

.feature-shoe-small .flag {
  background: var(--volt);
  color: var(--ink);
}

.feature-shoe-small .feature-meta {
  border-top-color: oklch(96% 0.01 92 / 0.25);
}

.feature-shoe-small .feature-meta p {
  color: oklch(80% 0.012 92);
}

.feature-shoe-small img {
  background: var(--white);
  border-radius: 8px;
  padding: 0.75rem;
}

/* ============ CATEGORY RAIL ============ */

.category-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
}

.category-rail a {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-4);
  background: var(--paper);
  transition: background 150ms ease;
}

.category-rail a:hover {
  background: var(--volt);
}

.tile-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tile-media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.tile-label {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tile-label::after {
  content: " →";
  color: var(--crimson);
}

/* ============ SECTIONS ============ */

.section-shell,
.best-sellers,
.brand-band,
.week-section,
.visit-section {
  padding: clamp(3rem, 6.5vw, 5.5rem) var(--gutter);
}

.section-heading {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.section-heading h2,
.brand-intro h2,
.week-copy h2,
.visit-copy h2 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  max-width: 34ch;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: var(--space-2);
}

.filter-chip {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 130ms ease, color 130ms ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============ PRODUCT CARDS ============ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card[hidden] {
  display: none;
}

.product-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.card-flag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  background: var(--volt);
  color: var(--ink);
  padding: 0.26rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.heart-button {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-color: var(--line);
  background: oklch(100% 0 0 / 0.9);
}

.heart-button:hover {
  border-color: var(--ink);
}

.heart-button.saved {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

.heart-button.saved svg {
  fill: currentColor;
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: var(--space-4);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* A fixed square box: portrait or landscape catalog photos fit inside it instead of resizing the card. */
.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 200ms ease-out;
}

/* Photos fade in once framed (script.js framePhoto), so a shoe never visibly jumps to its normalized size. */
.product-media, .pick-media { overflow: hidden; }
.js-framing .product-media img, .js-framing .pick-media img { transition: transform 200ms ease-out, opacity 160ms ease-out; }
.js-framing .product-media img[src]:not([data-framed]), .js-framing .pick-media img[src]:not([data-framed]) { opacity: 0; }

.product-card:hover .product-media img {
  transform: scale(1.05) rotate(-2deg);
}

.product-info {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.product-info span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.product-info h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-info h3 a:hover {
  color: var(--crimson);
}

.product-info p {
  margin: 0.15rem 0 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.grid-footer {
  display: flex;
  justify-content: center;
  margin: var(--space-8) 0 0;
}

/* ============ BEST SELLERS RAIL ============ */

.best-sellers {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seller-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 250px);
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: var(--space-3);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.seller-rail .product-card {
  scroll-snap-align: start;
}

.seller-rail::-webkit-scrollbar {
  height: 8px;
}

.seller-rail::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.seller-rail::-webkit-scrollbar-track {
  background: oklch(88% 0.015 95);
  border-radius: 999px;
}

/* ============ BRAND BAND ============ */

.brand-band {
  display: grid;
  gap: var(--space-8);
  background: var(--ink);
  color: var(--paper);
}

.brand-band .eyebrow {
  color: var(--volt);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid oklch(96% 0.01 92 / 0.25);
  border-left: 1px solid oklch(96% 0.01 92 / 0.25);
}

.brand-grid a {
  display: grid;
  min-height: 104px;
  place-items: center;
  padding: var(--space-4);
  border-right: 1px solid oklch(96% 0.01 92 / 0.25);
  border-bottom: 1px solid oklch(96% 0.01 92 / 0.25);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  transition: background 150ms ease, color 150ms ease;
}

.brand-grid a small {
  display: block;
  margin-top: .4rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand-grid a[data-in-store] small { color: var(--volt); }
.brand-grid a.brand-all { background: oklch(96% 0.01 92 / 0.06); }
.brand-grid a:hover small { color: inherit; }

.brand-grid a:hover {
  background: var(--volt);
  color: var(--ink);
}

/* ============ THIS WEEK ============ */

.week-section {
  display: grid;
  gap: var(--space-8);
  background:
    linear-gradient(105deg, var(--volt-soft), transparent 42%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.week-copy p:not(.eyebrow) {
  max-width: 46ch;
  margin-bottom: var(--space-6);
  color: var(--ink-2);
  font-size: 1.12rem;
  font-weight: 500;
}

.picks-board {
  display: grid;
  gap: var(--space-3);
}

.pick-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.pick-card .flag {
  position: absolute;
  top: -0.65rem;
  left: var(--space-4);
  background: var(--volt);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.pick-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.pick-media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.pick-info h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
}

.pick-info h3 a:hover {
  color: var(--crimson);
}

.pick-info p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pick-info strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ============ VISIT ============ */

.visit-section {
  display: grid;
  gap: var(--space-8);
}

.visit-copy p:not(.eyebrow) {
  max-width: 46ch;
  margin-bottom: var(--space-6);
  color: var(--ink-2);
  font-size: 1.12rem;
  font-weight: 500;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.visit-details {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.visit-block {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.visit-block h3 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
}

.visit-block p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.hours-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: 1px dashed var(--line);
  padding-bottom: var(--space-2);
}

.hours-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-list dt {
  font-weight: 700;
}

.hours-list dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-12) var(--gutter) var(--space-6);
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand img {
  margin-bottom: var(--space-3);
  filter: invert(1) grayscale(1) brightness(1.6);
}

.footer-brand p {
  margin: 0;
  color: oklch(78% 0.012 92);
  font-weight: 500;
}

.footer-links {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  justify-items: start;
}

.footer-links h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--volt);
}

.footer-links a {
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--volt);
}

.footer-links p {
  margin: 0;
  color: oklch(78% 0.012 92);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid oklch(96% 0.01 92 / 0.2);
  padding-top: var(--space-6);
  font-size: 0.9rem;
}

.footer-base p {
  margin: 0;
  color: oklch(78% 0.012 92);
}

.footer-base a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-base a:hover {
  color: var(--volt);
}

/* ============ REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ BREAKPOINTS ============ */

@media (min-width: 640px) {
  .promo-strip span:nth-child(n + 2) {
    display: inline;
  }

  .category-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .section-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .picks-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pick-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .menu-button {
    display: none;
  }

  .site-menu {
    position: static;
    display: flex;
    flex-direction: row;
    justify-self: center;
    gap: clamp(0.9rem, 2vw, 1.6rem);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-menu a {
    min-height: auto;
    padding: 0;
    border-radius: 0;
    font-size: 0.85rem;
  }

  .site-menu a:hover {
    background: transparent;
    color: var(--crimson);
  }

  .nav-actions {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
    align-items: center;
  }

  .hero-stage {
    padding-bottom: var(--space-8);
  }

  .feature-shoe-large {
    min-height: 440px;
  }

  .feature-shoe-large img {
    height: 300px;
  }

  /* Small card overlaps the large card's bottom-right; keep the price out of that zone. */
  .feature-shoe-large .feature-meta {
    grid-template-columns: 1fr;
    padding-right: 50%;
  }

  .feature-shoe-large .feature-meta strong {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.2rem;
  }

  .feature-shoe-small {
    position: absolute;
    right: -2%;
    bottom: -5%;
    width: 52%;
    min-height: 0;
  }

  .feature-shoe-small img {
    height: 120px;
  }

  .feature-shoe-small .feature-meta h2 {
    font-size: 1.3rem;
  }

  .feature-shoe-small .feature-meta strong {
    font-size: 1rem;
  }

  .category-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .week-section {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .picks-board {
    grid-template-columns: 1fr;
  }

  .pick-card {
    grid-template-columns: 118px 1fr;
    align-items: center;
  }

  .visit-section {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seller-rail {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow-x: visible;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
