/* =================================================================
   AFTERSTATE — stylesheet
   Sections: 1 tokens · 2 base · 3 header · 4 hero · 5 ticker
   6 cards/grid · 7 sections · 8 product page · 9 cart · 10 forms
   11 footer · 12 responsive
   ================================================================= */

/* ---------- 1. tokens ----------
   Monochrome and near-black, lifted only by an aged brass and a cold
   moonlight blue — the palette of the artwork: engraved stone, ink and
   starlight. The names are kept from the light build so the rest of the
   sheet did not have to be rewritten; --bone is still "the colour text
   is", it is simply now the pale one on a dark ground.               */
:root {
  --ink:        #ece6d9;   /* primary text — warm bone on black */
  --ink-soft:   #b3ab9c;
  --muted:      #7d7668;
  --bone:       #08080a;   /* page ground */
  --bone-2:     #101014;   /* raised panels */
  --card:       #131318;
  --line:       #262630;
  --accent:     #c9ae74;   /* aged brass — the gold in the lettering */
  --accent-dk:  #ddc48f;
  --accent-sf:  #1d1a13;
  --accent-2:   #8f99c4;   /* moonlight, for second-tier accents */
  --accent-2-sf:#15161d;
  --dark:       #08080a;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* On a near-black ground a soft grey shadow is invisible. Depth comes
     from going darker still, plus a hairline of light on the top edge. */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .5);
  --shadow-md: 0 16px 44px rgba(0, 0, 0, .62);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, .74);

  /* Cinzel is cut from Roman inscriptional capitals — the same engraved
     lettering the artwork is built on. Cormorant carries the quiet
     italic asides. Inter stays for anything that has to be read fast. */
  --display: "Cinzel Decorative", "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad: clamp(18px, 4vw, 48px);
  --max: 1280px;
}

/* ---------- 2. base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
/* Inscriptional capitals want air between the letters, not the tight
   tracking a modern serif is set with. Negative letter-spacing on Cinzel
   makes it look cramped and cheap. */
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; line-height: 1.08;
  margin: 0; letter-spacing: .02em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); letter-spacing: .03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: .06em; text-transform: uppercase; }
p  { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lede { font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--muted); }
.center { text-align: center; margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
/* Brass is a light colour — white text on it is unreadable. */
.btn-primary { background: var(--accent); color: #0a0a0c; box-shadow: 0 10px 28px rgba(201, 174, 116, .22); }
.btn-primary:hover { background: var(--accent-dk); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: #fff; }
.btn-ghost { border: 1.5px solid rgba(236, 230, 217, .34); color: var(--ink); }
.btn-ghost:hover { background: rgba(236, 230, 217, .09); border-color: rgba(236, 230, 217, .72); }
.btn-outline { border: 1.5px solid var(--line); background: var(--card); }
.btn-outline:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- 3. header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.on-dark { color: #fff; }
.site-header.stuck {
  background: rgba(8, 8, 10, .82);
  backdrop-filter: saturate(140%) blur(16px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(236, 230, 217, .10);
}
.hdr {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding-block: 20px;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: .88rem; font-weight: 500; opacity: .85;
  position: relative; padding-block: 4px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a:hover { opacity: 1; }
.wordmark {
  font-family: var(--display); font-size: 1.12rem; font-weight: 700;
  letter-spacing: .20em; text-transform: uppercase;
  text-align: center; white-space: nowrap; padding-left: .20em;
}
.hdr-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  transition: background .2s ease;
}
.icon-btn:hover { background: rgba(128, 128, 128, .16); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--accent); color: #0a0a0c;
  font-size: .66rem; font-weight: 700; display: grid; place-items: center;
  padding-inline: 5px; font-family: var(--sans);
}
.cart-count[hidden] { display: none; }
.burger { display: none; }

/* mobile drawer nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--bone);
  padding: 24px var(--pad); display: none; flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav .mn-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a {
  font-family: var(--serif); font-size: 2rem; padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

/* ---------- 4. hero ---------- */
.hero {
  position: relative; margin: 0 14px; border-radius: var(--r-xl);
  overflow: hidden; color: #fff; isolation: isolate;
  min-height: min(84vh, 760px);
  display: flex; align-items: flex-end;
  margin-top: calc(-1 * (42px + 40px)); /* slide under the transparent header */
  padding-top: 120px;
}
/* Layered colour mesh — warm sunset up top, cooler in the lower corners. */
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(62% 52% at 20% 14%, #ffbb6b 0%, rgba(255, 187, 107, 0) 62%),
    radial-gradient(58% 48% at 78% 8%,  #e8603a 0%, rgba(232, 96, 58, 0) 60%),
    radial-gradient(68% 58% at 88% 74%, #6b4f9e 0%, rgba(107, 79, 158, 0) 64%),
    radial-gradient(62% 54% at 8% 86%,  #2b7f84 0%, rgba(43, 127, 132, 0) 62%),
    linear-gradient(158deg, #4a3220 0%, #1b1410 62%, #140f0c 100%);
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(13, 9, 6, .86) 0%, rgba(13, 9, 6, .3) 48%, rgba(13, 9, 6, .28) 100%);
}
.hero-inner {
  position: relative; width: 100%; max-width: var(--max); margin-inline: auto;
  padding: 0 var(--pad) clamp(40px, 6vw, 78px);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
}
.hero h1 { text-wrap: balance; }
.hero h1 em { font-style: italic; color: #ffd9b8; }
.hero p { color: rgba(255, 255, 255, .84); max-width: 44ch; margin-top: 22px; font-size: 1.06rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* floating pick card, like a shop-window tag */
.pick-card {
  width: 230px; background: rgba(22, 17, 12, .55);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-md); padding: 16px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.pick-card .pc-label {
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.pick-card .pc-name {
  font-family: var(--serif); font-size: 1.1rem; margin: 8px 0 10px;
}
.pick-card img { border-radius: var(--r-sm); background: #fff; }
.pick-card .pc-meta {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-size: .74rem; color: rgba(255, 255, 255, .66);
}

/* ---------- 5. ticker ---------- */
.ticker {
  background: var(--bone-2); color: var(--ink-soft); overflow: hidden;
  padding-block: 14px; margin-top: 14px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
/* iOS Safari will quietly refuse to run a 2D transform on an element this
   wide unless the layer is promoted, which left the strip frozen on iPhone
   while it scrolled fine everywhere else. translate3d plus will-change
   forces it onto the GPU. */
.ticker-track {
  display: flex; gap: 48px; width: max-content;
  animation: slide 34s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.ticker span {
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  white-space: nowrap; display: flex; align-items: center; gap: 48px;
}
.ticker span::after { content: "✦"; color: var(--accent); opacity: .85; }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* If the phone is set to Reduce Motion the strip must not scroll — but a
   frozen marquee just looks broken, so show one phrase, centred, and let
   it read as a deliberate line. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: 100%; justify-content: center; }
  .ticker span:nth-child(n+2) { display: none; }
  .ticker span::after { content: none; }
}

/* ---------- 6. product cards + grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border-radius: var(--r-md);
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-media { position: relative; background: #f1efe9; aspect-ratio: 6 / 7; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--ink); color: var(--bone);
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.badge.sale { background: var(--accent); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--serif); font-size: 1.04rem; line-height: 1.25; }
.card-cat { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
/* Price on one side, colours on the other — but a shirt with six colours
   needs more room than a phone-width card has, and without wrapping the
   last swatches were pushed off the card entirely. */
.card-foot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px;
}
.price { font-weight: 650; font-size: 1rem; }
.price s { color: var(--muted); font-weight: 400; margin-left: 7px; font-size: .86rem; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
/* On a phone the card is too narrow to sit the price and six colours on
   one line, and wrapping left a single swatch stranded underneath. Give
   the colours their own full-width row instead. */
@media (max-width: 560px) {
  .card-foot { flex-direction: column; align-items: flex-start; gap: 7px; }
  /* Six dots at 17px + 6px gaps come to 132px against the 130px a card
     offers on a 375px screen — two pixels, and the last one wraps alone.
     Trim both so a six-colour shirt reads as one row. */
  .card-foot .swatches { gap: 5px; }
  .card-foot .swatch { width: 15px; height: 15px; }
}
.swatch {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, .14); padding: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.swatch:hover, .swatch.active { transform: scale(1.18); box-shadow: 0 0 0 2px var(--bone), 0 0 0 3.5px var(--ink); }

/* category tiles */
.cat-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 300px; display: flex; align-items: flex-end;
  padding: 24px; color: #fff; isolation: isolate;
  transition: transform .3s ease;
}
.cat-tile:hover { transform: translateY(-6px); }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.cat-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14, 10, 7, .72), rgba(14, 10, 7, .04) 62%);
}
.cat-tile.c-funny::before    { background: linear-gradient(145deg, #e8903f, #c0502a 70%); }
.cat-tile.c-trending::before { background: linear-gradient(145deg, #4d5f8c, #221f33 72%); }
.cat-tile.c-graphic::before  { background: linear-gradient(145deg, #2f6f76, #1d3b3e 72%); }
.cat-tile.c-minimal::before  { background: linear-gradient(145deg, #cfc4ae, #8d8371 72%); }
.cat-tile img {
  position: absolute; z-index: -1; width: 74%; right: -8%; top: 2%;
  opacity: .92; mix-blend-mode: normal;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .35));
  transition: transform .4s ease;
}
.cat-tile:hover img { transform: translateY(-6px) scale(1.03); }
.cat-tile .ct-copy { position: relative; }
.cat-tile h3 { font-size: 1.6rem; }
.cat-tile p { font-size: .86rem; color: rgba(255, 255, 255, .8); margin: 6px 0 0; max-width: 24ch; }

/* ---------- 7. sections ---------- */
section { padding-block: clamp(54px, 7vw, 100px); }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.sec-head h2 { max-width: 20ch; }
.link-arrow {
  font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 3px;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

.steps { counter-reset: s; }
.step {
  background: var(--card); border-radius: var(--r-md); padding: 30px 26px;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--serif); font-size: 2.4rem; color: var(--accent);
  display: block; margin-bottom: 12px; line-height: 1;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

.band { background: var(--card); color: var(--ink); border-radius: var(--r-xl); margin: 0 14px; border: 1px solid var(--line); }
.band .wrap { padding-block: clamp(50px, 6vw, 86px); }
.band h2 { color: var(--ink); }
.band .lede { color: var(--ink-soft); }
.spec-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.spec-list li span:first-child { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-art {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(145deg, #e9e4d8, #cfc7b4); aspect-ratio: 5 / 4;
  display: grid; place-items: center;
}
/* portrait mockup inside a landscape frame — cap the height, not the width */
.split-art img {
  width: auto; max-width: 68%; max-height: 82%;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, .22));
}

/* ---------- 8. shop + product page ---------- */
.page-head { padding-block: clamp(34px, 5vw, 64px) 0; }
.filters {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding-block: 26px; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.chip {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); font-size: .88rem; font-weight: 500;
  transition: all .18s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }


.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); padding-block: 28px 20px; }
.pdp-gallery { position: sticky; top: 100px; align-self: start; }
.pdp-main {
  border-radius: var(--r-lg); overflow: hidden; background: #f1efe9; aspect-ratio: 6 / 7;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumbs button {
  width: 76px; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid transparent; background: #f1efe9; padding: 0;
}
.pdp-thumbs button.active { border-color: var(--ink); }
.pdp h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 10px; }
.pdp-price { font-size: 1.4rem; font-weight: 650; margin-bottom: 20px; }
.opt-group { margin-bottom: 22px; }
.opt-label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; display: block;
}
.opt-label b { color: var(--ink); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .88rem; }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 54px; padding: 11px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--card);
  font-size: .88rem; font-weight: 500; transition: all .15s ease;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.swatch-lg { width: 34px; height: 34px; }
.acc { border-top: 1px solid var(--line); }
.acc summary {
  padding: 18px 0; font-weight: 600; font-size: .95rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.acc[open] summary::after { content: "–"; }
.acc p, .acc ul { font-size: .92rem; color: var(--ink-soft); padding-bottom: 16px; margin: 0; }
.acc ul { padding-left: 18px; }

/* ---------- 9. cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(18, 14, 9, .48); z-index: 95;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bone); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(104%); transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad); border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 1.25rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px var(--pad); }
.drawer-foot { padding: 20px var(--pad) 26px; border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item img { border-radius: var(--r-sm); background: #fff; }
.li-name { font-family: var(--serif); font-size: .98rem; line-height: 1.25; }
.li-opts { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 26px; height: 26px; border-radius: 50%; font-size: 1rem; line-height: 1; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 20px; text-align: center; font-size: .86rem; }
.li-remove { font-size: .74rem; color: var(--muted); text-decoration: underline; margin-top: 8px; display: block; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.cart-note { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.notice {
  background: var(--accent-sf); border: 1px solid #e9c6b4; color: #7a3317;
  border-radius: var(--r-sm); padding: 12px 14px; font-size: .82rem; margin-bottom: 14px;
}

/* ---------- 10. forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--card);
  font-family: inherit; font-size: .94rem; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.newsletter {
  background: var(--accent-sf); border-radius: var(--r-xl); margin: 0 14px;
  text-align: center;
}
.newsletter .wrap { padding-block: clamp(50px, 6vw, 84px); }
.sub-form { display: flex; gap: 10px; max-width: 440px; margin: 26px auto 0; }
.sub-form input {
  flex: 1; padding: 15px 20px; border-radius: 999px;
  border: 1.5px solid #e2c3b1; background: #fffaf7; font-family: inherit; font-size: .94rem;
}
.sub-form input:focus { outline: none; border-color: var(--accent); }
.form-ok { color: #246b43; font-weight: 600; font-size: .92rem; }

/* ---------- 11. footer ---------- */
/* On a dark site the footer is a *raised* dark panel. Inverting it to
   light would put a slab of cream under a black page and strand the
   pale link colours on top of it. */
.site-footer {
  background: var(--bone-2); color: var(--ink); margin-top: 14px;
  border-top: 1px solid var(--line);
}
.site-footer .wrap { padding-block: clamp(46px, 5vw, 72px) 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .wordmark { text-align: left; font-size: 1.7rem; }
.site-footer h4 {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-links a { font-size: .9rem; color: var(--ink-soft); }
.foot-links a:hover { color: var(--accent); }
.foot-links a:hover { color: #fff; }
.foot-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}

/* ---------- 12. responsive ---------- */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr { grid-template-columns: auto 1fr auto; }
  .wordmark { text-align: left; padding-left: 4px; }
  .hero { min-height: 74vh; }
  .hero-inner { grid-template-columns: 1fr; }
  .pick-card { display: none; }
  .split, .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .steps.grid-3 { grid-template-columns: 1fr; }
  .cat-tile { min-height: 230px; }
  .cat-tile h3 { font-size: 1.25rem; }
  .cat-tile p { display: none; }
  .sub-form { flex-direction: column; border-radius: var(--r-md); }
  .sub-form .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .sortbox { margin-left: 0; }
}

/* =================================================================
   13. PHOTO HERO + EDITORIAL SECTIONS  (added for Volume 01)
   ================================================================= */

/* ---------- photo hero ---------- */
.hero-photo { align-items: center; }
.hero-photo .hero-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: 58% center;
  transform: scale(1.04);
}
/* Dark enough for white type, light enough to still read as a photo. */
.hero-photo .hero-veil {
  background:
    linear-gradient(100deg, rgba(10, 8, 6, .93) 0%, rgba(10, 8, 6, .82) 38%,
                            rgba(10, 8, 6, .38) 68%, rgba(10, 8, 6, .55) 100%),
    linear-gradient(to top, rgba(10, 8, 6, .75), rgba(10, 8, 6, 0) 45%);
}
.hero-photo .hero-inner { grid-template-columns: 1fr; padding-bottom: clamp(56px, 8vw, 96px); }
.hero-copy { max-width: 640px; }
.hero-eyebrow { color: #ffcf9e !important; }

.brandmark {
  font-family: var(--display);
  font-size: clamp(2.6rem, 9vw, 7rem);
  line-height: .96;
  font-weight: 700;
  /* Inscriptional caps need to breathe — tight tracking reads as cheap. */
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  text-shadow: 0 0 44px rgba(201, 174, 116, .22);
}
.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: #ffd9b8;
  margin: 22px 0 0;
  text-indent: -.38em;           /* hang the opening quote mark */
}
.hero-quote .q-mark { opacity: .6; }
.hero-sub {
  color: rgba(255, 255, 255, .82);
  max-width: 46ch; margin-top: 22px; font-size: 1.05rem;
}
.hero-sub em { font-family: var(--serif); font-style: italic; color: #fff; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 46px; background: rgba(255, 255, 255, .28); overflow: hidden;
}
.scroll-cue span {
  position: absolute; inset: 0; background: #fff;
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }

/* ---------- editorial type ---------- */
.display { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; text-wrap: balance; }
.statement { padding-block: clamp(64px, 8vw, 110px) clamp(40px, 5vw, 64px); }
.statement .lede { margin-inline: auto; }

/* ---------- category tiles (no product photos yet) ---------- */
.cat-tile { min-height: 320px; align-items: flex-end; }
.cat-tile::after { background: linear-gradient(to top, rgba(14, 10, 7, .55), rgba(14, 10, 7, 0) 70%); }
.ct-num {
  display: block; font-family: var(--serif); font-size: .9rem;
  letter-spacing: .1em; color: rgba(255, 255, 255, .55); margin-bottom: 10px;
}
.cat-tile h3 { font-size: 1.75rem; }

/* ---------- full-bleed photo band ---------- */
.photo-band {
  position: relative; margin: 0 14px; border-radius: var(--r-xl);
  overflow: hidden; color: #fff; isolation: isolate;
  padding-block: clamp(64px, 9vw, 128px);
}
.photo-band .pb-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.photo-band .pb-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(12, 9, 7, .94) 0%, rgba(12, 9, 7, .8) 46%, rgba(12, 9, 7, .25) 100%);
}
.pb-copy { max-width: 560px; }
.photo-band h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.photo-band .spec-list li { border-bottom-color: rgba(255, 255, 255, .18); }

/* ---------- empty / pre-launch states ---------- */
.empty-state {
  text-align: center; padding: clamp(50px, 8vw, 96px) 20px;
  border: 1px dashed var(--line); border-radius: var(--r-lg);
  background: var(--card);
}
.empty-state h3 { font-size: 1.5rem; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 44ch; margin: 0 auto 22px; }

@media (max-width: 860px) {
  .hero-photo .hero-img { background-position: 70% center; }
  .hero-photo .hero-veil {
    background: linear-gradient(to top, rgba(10, 8, 6, .95) 10%, rgba(10, 8, 6, .72) 55%, rgba(10, 8, 6, .55) 100%);
  }
  .cat-tile { min-height: 190px; }
  .scroll-cue { display: none; }
}

/* photo inside a split-art frame should fill it, not float in the middle */
.split-art.split-photo { background: #16150f; }
.split-art.split-photo img {
  width: 100%; height: 100%; max-width: none; max-height: none;
  object-fit: cover; filter: none;
}

/* =================================================================
   14. CATEGORY LIST — full-width rows, type-led, colour on hover
   ================================================================= */
.cat-list-sec { padding-top: 0; }
.cat-list { border-top: 1px solid var(--line); }

.cat-row {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto;
  align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 38px) clamp(16px, 2.4vw, 30px);
  padding-left: clamp(30px, 3.4vw, 50px);
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  isolation: isolate; overflow: hidden;
}
/* solid colour edge so each row reads as its category at rest */
.cat-row::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background: var(--row); z-index: -1;
  transition: width .42s cubic-bezier(.22,.8,.26,1), opacity .3s ease;
}
.cat-row:hover::after { width: 0; opacity: 0; }

/* the colour sweeps in from the left on hover */
.cat-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--row); transform: scaleX(0); transform-origin: left center;
  transition: transform .42s cubic-bezier(.22,.8,.26,1);
}
.cat-row:hover::before, .cat-row:focus-visible::before { transform: scaleX(1); }

.cr-name {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(2.1rem, 5.4vw, 4.2rem); line-height: .95;
  transition: color .3s ease, transform .42s cubic-bezier(.22,.8,.26,1);
}
.cr-desc {
  font-size: .96rem; color: var(--muted); max-width: 34ch;
  transition: color .3s ease;
}
.cr-arrow {
  font-size: 1.5rem; justify-self: end; opacity: .3;
  transition: transform .35s cubic-bezier(.22,.8,.26,1), opacity .3s ease, color .3s ease;
}

.cat-row:hover .cr-name  { color: var(--on-row); transform: translateX(10px); }
.cat-row:hover .cr-desc  { color: var(--on-row); opacity: .8; }
.cat-row:hover .cr-arrow { color: var(--on-row); opacity: 1; transform: translateX(10px); }

/* Four tonal steps off the new palette rather than four primaries. The
   old yellow/vermilion/teal set belonged to the cream build and looked
   like a different brand against the artwork. */
.r-shirts   { --row: #c9ae74; --on-row: #08080a; }   /* brass     */
.r-hoodies  { --row: #8f99c4; --on-row: #08080a; }   /* moonlight */
.r-shorts   { --row: #ece6d9; --on-row: #08080a; }   /* bone      */
.r-pants    { --row: #1e1e26; --on-row: #ece6d9; }   /* deep      */

.eyebrow.alt { color: var(--accent-2); }
.step::before { color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  .cat-row::before, .cr-name, .cr-arrow { transition: none; }
}
@media (max-width: 760px) {
  .cat-row {
    grid-template-columns: 1fr auto; gap: 6px 14px;
    padding: 20px 14px;
  }
  .cr-desc { grid-column: 1 / -1; font-size: .84rem; max-width: none; }
  .cr-arrow { font-size: 1.2rem; align-self: center; }
  /* no hover on touch, so fill the row outright and flip the text */
  .cat-row::before { transform: none; }
  .cat-row::after  { display: none; }
  .cat-row { padding-left: 22px; border-bottom: none; }
  .cat-row .cr-name  { color: var(--on-row); }
  .cat-row .cr-desc  { color: var(--on-row); opacity: .78; }
  .cat-row .cr-arrow { color: var(--on-row); opacity: .9; }
  .cat-list { border-top: none; border-radius: 18px; overflow: hidden; }
}

/* ---------- badge variants ---------- */
.badge--new          { background: var(--accent-2); }   /* teal   */
.badge--best-seller  { background: var(--accent); }     /* vermilion */
.badge--trending     { background: var(--ink); color: var(--bone); }
.badge--back-in-stock{ background: #4b6fb5; }
.badge--last-chance  { background: #8a2f6b; }



/* =================================================================
   15. SPLIT HERO — light panel + bright photo
   ================================================================= */
/* ---------- the void hero ----------
   One centred column on near-black: wordmark, a drawn orbit, the line.
   No photograph — the artwork is the brand, and a stock shirt photo
   underneath this lettering fought it. */
.hero-void {
  display: grid; place-items: center;
  text-align: center;
  min-height: min(92vh, 860px);
  margin: 10px 10px 0;
  border-radius: var(--r-xl);
  background: var(--bone-2);
  color: var(--ink);
  overflow: hidden;
  position: relative;
  padding: clamp(48px, 9vw, 110px) var(--pad);
}
/* A faint starfield and two pools of light, so the black is not flat. */
.void-field {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(44% 38% at 22% 16%, rgba(143, 153, 196, .16) 0%, transparent 62%),
    radial-gradient(50% 42% at 82% 82%, rgba(201, 174, 116, .14) 0%, transparent 64%),
    radial-gradient(1.4px 1.4px at 14% 24%, rgba(236,230,217,.9) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 72% 14%, rgba(236,230,217,.7) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 36% 76%, rgba(236,230,217,.8) 50%, transparent 52%),
    radial-gradient(1.1px 1.1px at 88% 44%, rgba(236,230,217,.6) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 58% 92%, rgba(236,230,217,.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 8% 62%, rgba(236,230,217,.55) 50%, transparent 52%);
}
.hero-mark { position: relative; z-index: 1; display: grid; justify-items: center; }

/* The hero runs in one of two modes. Default is the typeset one, so a
   missing or slow artwork file never leaves a broken icon in the middle
   of the page; .has-art is added only once the image has actually
   decoded with real pixels. */
.hero-art { display: none; width: min(620px, 84vw); height: auto; }
#hero.has-art .hero-art { display: block; }
#hero.has-art .hero-type { display: none; }
.mark-sub {
  font-family: var(--sans);
  font-size: clamp(.64rem, 1.1vw, .78rem);
  letter-spacing: .46em; text-transform: uppercase;
  color: var(--accent); margin: 16px 0 0; padding-left: .46em;
}
.orbits { width: min(440px, 76vw); height: auto; margin: 26px 0 6px; }
.hero-line {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  color: var(--ink-soft); margin: 4px 0 0;
}
.hero-void .hero-cta { justify-content: center; margin-top: 34px; }

@media (max-width: 720px) {
  .hero-void { min-height: 0; margin: 8px 8px 0; padding: 54px 20px 56px; }
  .orbits { margin: 20px 0 2px; }
}

.hero-split {
  display: grid; grid-template-columns: 1.02fr 1fr;
  align-items: stretch; margin: 14px 14px 0;
  border-radius: var(--r-xl); overflow: hidden;
  min-height: min(76vh, 680px);
  background: var(--bone-2); color: var(--ink);
  padding: 0; isolation: isolate;
}
.hero-split .hs-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 5vw, 76px);
  background: var(--bone-2);
}
.hero-split .hs-photo {
  background-size: cover; background-position: 50% 22%;
  min-height: 280px;
}
.hero-split .brandmark { color: var(--ink); }
.hero-split .hero-quote { color: var(--accent); }
.hero-split .hero-quote .q-mark { opacity: .45; }
.hero-split .hero-sub { color: var(--ink-soft); }
.hero-split .eyebrow { color: var(--accent-2); }

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  /* The photo used to sit on top as a 250px letterbox slice, which cropped
     a standing figure down to a band of torso and read as a stray image.
     Lead with the name and the line instead, then give the photo a real
     portrait block underneath where a person actually fits. */
  .hero-split .hs-photo {
    order: 0; min-height: 0; aspect-ratio: 4 / 5;
    background-position: 50% 18%;
  }
  .hero-split .hs-copy { padding: 34px 22px 30px; }
}

.card-garment { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

/* =================================================================
   16. PHOTO ARROWS — card grid + product gallery
   ================================================================= */
.card-media, .pdp-main { position: relative; }

.shot-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-size: 1.45rem; line-height: 1; font-family: var(--sans);
  display: grid; place-items: center; z-index: 3;
  box-shadow: 0 2px 10px rgba(20,20,26,.18);
  opacity: 0; transition: opacity .2s ease, background .2s ease, transform .2s ease;
  padding: 0 2px 3px;
}
.shot-nav.prev { left: 10px; }
.shot-nav.next { right: 10px; }
.shot-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.card:hover .shot-nav, .pdp-main:hover .shot-nav { opacity: 1; }
.shot-nav:focus-visible { opacity: 1; outline: 2px solid var(--accent); outline-offset: 2px; }

/* the product gallery's arrows are always there — it's the main view */
.pdp-main .shot-nav { opacity: .92; width: 44px; height: 44px; font-size: 1.6rem; }

.shot-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  background: rgba(20,20,26,.68); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px;
}

.shot-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3;
  display: flex; gap: 5px; justify-content: center; pointer-events: none;
}
.shot-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(20,20,26,.26); transition: background .2s ease, transform .2s ease;
}
.shot-dots i.on { background: var(--ink); transform: scale(1.3); }

/* Only genuinely hover-less devices get the controls permanently. A narrow
   desktop window still has a pointer, so it keeps the hover behaviour. */
@media (hover: none) {
  .card .shot-nav { opacity: .92; }
}
@media (max-width: 860px) {
  .shot-nav { width: 34px; height: 34px; font-size: 1.3rem; }
  .shot-nav.prev { left: 7px; }
  .shot-nav.next { right: 7px; }
}

/* the brand mark, used where a mark belongs — not in the header */
.foot-logo { width: 104px; height: auto; display: block; margin-bottom: 4px; }
@media (max-width: 620px) { .foot-logo { width: 84px; } }

/* ---------- sort control (replaces a native <select>) ---------- */
.sortbox { position: relative; margin-left: 6px; }

.sort-btn {
  display: inline-flex; align-items: center; gap: 8px;   /* the whole point:
     a fixed 8px between the word and the chevron, whatever is selected */
  padding: 11px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card);
  font-size: .88rem; font-weight: 500; color: var(--ink);
  white-space: nowrap; line-height: 1;
  transition: border-color .18s ease;
}
.sort-btn:hover { border-color: var(--ink); }
.sort-btn svg { width: 11px; height: 8px; fill: none; stroke: currentColor;
                stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
                opacity: .55; transition: transform .22s ease; }
.sort-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sort-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sort-menu {
  position: absolute; top: calc(100% + 7px); left: 0; z-index: 40;
  min-width: 100%; margin: 0; padding: 6px; list-style: none;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-md);
}
.sort-menu li {
  padding: 9px 14px; border-radius: 9px; font-size: .88rem;
  white-space: nowrap; cursor: pointer;
}
.sort-menu li:hover { background: var(--bone-2); }
.sort-menu li.on { background: var(--ink); color: var(--bone); }

/* ---------- share ---------- */
.share-btn {
  margin: 10px 0 12px; gap: 9px;
}
.share-btn svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  z-index: 200; background: var(--ink); color: var(--bone);
  padding: 13px 22px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
