/* =========================================================================
   ABZUURD
   Five values. Two faces. Mobile first.
   ========================================================================= */

/* --- Fonts. Self-hosted, variable, swap. --------------------------------- */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The naira sign (U+20A6) lives here — without this file the price falls back. */
@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bodoni Moda';
  src: url('fonts/bodoni-moda-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}


/* --- Tokens -------------------------------------------------------------- */

:root {
  --ground:  #14140F;
  --panel:   #1C1A15;
  --gold:    #C9A24B;
  --oxblood: #6E2024;
  --violet:  #5B2BC4;
  --fatigue: #4A5538;
  --gold-jy: #9A7B3A;
  --split:   #3E3A5E;
  --bone-jy: #B9B5A8;
  --bone:    #E9E3D5;

  --display: 'Bodoni Moda', 'Times New Roman', Times, serif;
  --utility: 'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --track: 0.18em;

  --gutter: 24px;
  --section: 88px;
  --bar: 56px;
}


/* --- Reset --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* Any `display` declaration outranks the UA stylesheet's [hidden] rule, so a
   component that sets display:flex stays visible while the markup says hidden.
   One global rule rather than remembering it per component. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--bone);
  font-family: var(--utility);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: var(--track);
  text-transform: uppercase;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar);          /* clears the sticky bar */
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure { margin: 0; }

h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

ol, ul { list-style: none; padding: 0; }

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

button, input {
  font: inherit;
  letter-spacing: inherit;
  /* Form controls do not inherit this on their own — without it the
     submit button reads "Enter" instead of ENTER. */
  text-transform: inherit;
  color: inherit;
  border: 0;
  background: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

::selection { background: var(--gold); color: var(--ground); }


/* --- Accessibility ------------------------------------------------------- */

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

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

.skip {
  position: absolute;
  top: -100px; left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--ground);
  font-size: 11px;
}

.skip:focus { top: 12px; }


/* --- Shared primitives --------------------------------------------------- */

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 32px;
}

.caption {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.8;
  color: var(--bone);
  opacity: 0.55;
  text-transform: none;
}

/* Placeholder copy still to be filled in. Delete this rule once done. */
.ph {
  color: var(--gold);
  border-bottom: 1px dotted currentColor;
}

.btn {
  display: block;
  width: 100%;
  padding: 17px 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--ground);
  font-weight: 600;
}

.btn--ghost {
  border: 1px solid var(--gold);
  color: var(--gold);
  width: auto;
  padding: 17px 28px;
}

.link {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bone);
  opacity: 0.6;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 180ms ease, color 180ms ease;
}

@media (hover: hover) {
  .btn--primary:hover { background: var(--bone); }
  .btn--ghost:hover   { background: var(--gold); color: var(--ground); }
  .link:hover         { opacity: 1; color: var(--gold); }
}

/* A quiet fade. Nothing moves far. */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

/* Placeholder field for photography that has not landed yet. Names the file it
   is waiting for, so a local run reads as "drop hero.webp here" rather than as
   a broken page. All of this disappears on its own once /img/ is populated. */
.is-empty {
  position: relative;
  background: var(--panel);
  min-height: 220px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(201, 162, 75, 0.22);
  display: grid;
  place-items: center;
}

.is-empty img { display: none; }

.is-empty::after {
  content: attr(data-missing);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
  opacity: 0.6;
  text-align: center;
  padding: 0 16px;
}


/* --- 1. Hero ------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* minmax(0, 1fr), not 1fr: the image row must be allowed to shrink below its
     content size, or a short phone (360 × 640) pushes the scroll cue off. */
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  /* The sticky bar overlays the viewport, so the hero stops above it —
     otherwise the scroll cue sits behind the bar. Bounded at both ends: with
     only a min-height the box grows to the image's intrinsic size and a short
     phone (360 × 640) pushes the cue past the fold. */
  min-height: calc(100svh - var(--bar));
  max-height: calc(100svh - var(--bar));
  padding: 20px var(--gutter) 16px;
  text-align: center;
}

.wordmark {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone);
}

/* Bleeds past the gutter on mobile: the scarf is the argument, give it the width. */
.hero__figure {
  min-height: 0;
  padding: 14px 0;
  margin-inline: calc(var(--gutter) * -1);
}

/* contain, so the square never crops and never overruns the row it is given */
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__line {
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  color: var(--bone);
  opacity: 0.75;
}

.price {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bone);
  opacity: 0.75;
}

.hero__foot .btn--primary { margin-top: 22px; }
.hero__foot .link { margin-top: 16px; }

.scrollcue {
  display: flex;
  justify-content: center;
  padding-top: 26px;
}

.scrollcue__rule {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  opacity: 0.7;
}


/* --- 1b. Hero carousel --------------------------------------------------- */

/* A column, not a bare block: the viewport takes whatever height the hero row
   gives it and the dots sit under it, so the slides never overrun the fold. */
.carousel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.carousel__viewport {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* The track is the viewport's only child and stretches to its full height, so
   nothing here depends on a percentage resolving. */
.carousel__track {
  display: flex;
  flex: 1;
  min-width: 0;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Exactly one viewport wide, so one slide is ever visible and the track's
   translate lands on a whole image every time. */
.carousel__slide {
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
}

.carousel__slide img {
  width: 100%;
  min-height: 0;
  object-fit: contain;
}

/* Rules, not dots — the same hairline vocabulary as the scroll cue and the
   dimension lines. The button is oversized around it for the thumb. */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
}

.carousel__dot {
  display: grid;
  align-items: center;
  width: 26px;
  height: 16px;
  padding: 0;
  cursor: pointer;
}

.carousel__dot::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--bone);
  opacity: 0.3;
  transition: background-color 300ms, opacity 300ms;
}

.carousel__dot[aria-current="true"]::after {
  background: var(--gold);
  opacity: 1;
}

/* Reduced motion: the slide is cut, not animated. The auto-advance is turned
   off in JS as well, so the dots are the only thing that moves it. */
@media (prefers-reduced-motion: reduce) {
  .carousel__track { transition: none; }
}


/* Landscape and very short screens: let the hero scroll rather than crush the
   scarf into a sliver to satisfy the one-screen rule. */
@media (max-height: 560px) {
  .hero { max-height: none; }
}


/* --- 2. Specimen --------------------------------------------------------- */

.specimen {
  background: var(--panel);
  padding: var(--section) var(--gutter);
}

/* Two columns, two rows: the top rule sits over the scarf and stops exactly at
   its edge, the side rule runs exactly its height. That alignment is the
   whole effect — a dimension line that misses its subject reads as a border. */
.measure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
  row-gap: 14px;
  margin-bottom: 44px;
}

/* The measured frame: hairlines along the top and the right edge. */
.measure__dim {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}

.measure__dim--top { grid-column: 1; grid-row: 1; }
.measure__corner   { grid-column: 2; grid-row: 1; }
.measure__figure   { grid-column: 1; grid-row: 2; min-width: 0; }
.measure__dim--side { grid-column: 2; grid-row: 2; }

.measure__rule {
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.65;
  position: relative;
}

/* Ticks turn the rule into a dimension line rather than a border. */
.measure__rule::before,
.measure__rule::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

.measure__dim--top .measure__rule::before,
.measure__dim--top .measure__rule::after {
  top: -3px;
  width: 1px;
  height: 7px;
}

.measure__dim--top .measure__rule::before { left: 0; }
.measure__dim--top .measure__rule::after  { right: 0; }

.measure__label {
  font-size: 9px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.measure__figure img { width: 100%; }

/* Only the label rotates. Putting writing-mode on the flex container would
   flip its main axis and lay the gauge out sideways. */
.measure__dim--side {
  flex-direction: column;
  align-items: center;
}

.measure__dim--side .measure__label { writing-mode: vertical-rl; }

.measure__dim--side .measure__rule {
  width: 1px;
  height: auto;
}

.measure__dim--side .measure__rule::before,
.measure__dim--side .measure__rule::after {
  left: -3px;
  height: 1px;
  width: 7px;
}

.measure__dim--side .measure__rule::before { top: 0; }
.measure__dim--side .measure__rule::after  { bottom: 0; }

/* Specification list */
.spec {
  border-top: 1px solid rgba(233, 227, 213, 0.14);
}

.spec__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(233, 227, 213, 0.14);
}

.spec dt {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding-top: 1px;
}

.spec dd {
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.cta-inline { margin-top: 40px; }
.cta-inline .link { margin-top: 18px; }


/* --- 3. The print, close ------------------------------------------------- */

.print { padding: var(--section) 0; }

.print .eyebrow { padding: 0 var(--gutter); }

.print__figure img { width: 100%; }

.print .caption { padding: 0 var(--gutter); }


/* --- 4. Colorways -------------------------------------------------------- */

.colorways {
  padding: var(--section) var(--gutter);
  background: var(--panel);
}

.colorways__grid {
  display: grid;
  gap: 40px;
}

.colorway figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(233, 227, 213, 0.14);
}

.colorway__name {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.colorway__note {
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.55;
}

/* The one place oxblood is used. */
.colorway--oxblood figcaption { border-top-color: var(--oxblood); }
.colorway--oxblood .colorway__name { color: var(--oxblood); }

.colorway--fatigue figcaption { border-top-color: var(--fatigue); }
.colorway--fatigue .colorway__name { color: var(--gold); }


/* --- 5. Six ways --------------------------------------------------------- */

.ways { padding: var(--section) var(--gutter); }

.ways__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(233, 227, 213, 0.14);
  border: 1px solid rgba(233, 227, 213, 0.14);
}

.ways__list li {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 18px;
  background: var(--ground);
  min-height: 116px;
  justify-content: space-between;
}

.ways__num {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.ways__name {
  font-size: 12px;
  letter-spacing: 0.18em;
}


/* --- 6. Acquire ---------------------------------------------------------- */

.acquire {
  padding: var(--section) var(--gutter);
  background: var(--panel);
}

.acquire__price {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-bottom: 28px;
}

.spec--terms { margin-bottom: 4px; }


/* --- 1b. Product worlds -------------------------------------------------- */

/* Each product opens the same way, so neither reads as the other's appendix.
   The rule above the title is what separates one world from the next. */
.world {
  padding: var(--section) var(--gutter) 0;
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  margin-top: var(--section);
}

.world__name {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--bone);
}

.world__line {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  opacity: 0.75;
}

.world__price {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* The two hero entries. .btn is width:100% by default, so they stack on a
   phone and sit side by side once there is room. */
.hero__entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.hero__entries .btn--ghost { width: 100%; }

.jersey { padding: var(--section) var(--gutter); }

.jersey__hero { margin-top: 24px; }

.jersey__hero img,
.print__figure img { width: 100%; height: auto; }


/* --- 6a. Product block ---------------------------------------------------- */

.product { padding: var(--section) var(--gutter); }

.product__figure { margin-top: 24px; }

.product__figure img {
  width: 100%;
  height: auto;
  background: var(--panel);
}

.product__note {
  margin-top: 12px;
  padding-top: 10px;
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.55;
  border-top: 1px solid rgba(233, 227, 213, 0.14);
}

/* Swatches carry the colour itself, so the name is confirmation rather than the
   only cue — the customer recognises instead of reading. */
.picker__opts--swatches { gap: 8px; }

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone);
  border: 1px solid rgba(233, 227, 213, 0.2);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.swatch__dot {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(233, 227, 213, 0.3);
}

.swatch[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold);
}

.swatch--nocturne .swatch__dot { background: var(--ground); }
.swatch--oxblood  .swatch__dot { background: var(--oxblood); }
.swatch--violet   .swatch__dot { background: var(--violet); }
.swatch--fatigue  .swatch__dot { background: var(--fatigue); }
.swatch--gold     .swatch__dot { background: var(--gold-jy); }
.swatch--bone     .swatch__dot { background: var(--bone-jy); }
.swatch--split    .swatch__dot {
  background: linear-gradient(90deg, var(--violet) 50%, var(--fatigue) 50%);
}

.picker .btn--primary { margin-top: 26px; }

/* The three hesitations — delivery, returns, payment — answered beside the
   button instead of in a section nobody scrolls to. */
.assure {
  margin-top: 18px;
  display: grid;
  gap: 7px;
}

.assure li {
  position: relative;
  padding-left: 16px;
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  opacity: 0.55;
}

.assure li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}


/* --- 6d. Stock state ------------------------------------------------------ */

/* Said once, before the customer chooses, so a made-to-order piece never
   surprises them in the bag. Honest scarcity, not manufactured urgency. */
.stock {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  opacity: 0.8;
}

.stock__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
}

.stock--ready .stock__dot { background: #6E8C4A; }
.stock--made .stock__dot  { background: var(--gold); }
.stock--made { color: var(--gold); opacity: 1; }

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--ground);
  background: var(--gold);
  vertical-align: 1px;
}


/* --- 8b. Bag -------------------------------------------------------------- */

.stickybar__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 19px var(--gutter);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  cursor: pointer;
}

.stickybar__sum { font-weight: 600; }

.is-locked { overflow: hidden; }

.bag {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
}


.bag__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

/* A sheet, not a page: the customer never loses their place in the product. */
.bag__sheet {
  position: relative;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--panel);
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
}

.bag__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bag__close {
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
  color: var(--bone);
  cursor: pointer;
}

.bagline {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(233, 227, 213, 0.14);
}

.bagline__img {
  width: 62px;
  height: 76px;
  object-fit: cover;
  background: var(--ground);
}

.bagline__name {
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.bagline__price {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.bagline__qty {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
}

.bagline__remove {
  margin-left: 10px;
  font-size: 9px;
  letter-spacing: 0.18em;
  opacity: 0.5;
  cursor: pointer;
  border-bottom: 1px solid currentColor;
}

.bag__empty {
  padding: 22px 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.5;
}

.bag__also {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 162, 75, 0.22);
}

.bag__also-h {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 12px;
}

.bag__also-row { display: flex; gap: 12px; }

.alsocard {
  display: grid;
  gap: 6px;
  width: 92px;
}

.alsocard img {
  width: 92px;
  height: 112px;
  object-fit: cover;
  background: var(--ground);
}

.alsocard__name {
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.alsocard__price {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.bag__totals {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(233, 227, 213, 0.14);
}

.bag__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.6;
}

/* A saving reads as a gain, so it gets the gold rather than the muted grey. */
.bag__row--save {
  opacity: 1;
  color: var(--gold);
}

/* One quiet line, in the bag, where the decision is already happening. */
.bag__nudge {
  margin-top: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(201, 162, 75, 0.35);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--gold);
}

.bag__row--total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(233, 227, 213, 0.14);
  opacity: 1;
  color: var(--gold);
  font-weight: 600;
}

.bag__foot { margin-top: 20px; }

.bag__reassure {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  opacity: 0.5;
  text-align: center;
}

/* Three fields, asked once, kept on the device. The underline idiom is the
   one already used by the email form rather than a new control vocabulary. */
.who { margin-bottom: 20px; }

.who__h {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 12px;
}

.who__field { display: block; margin-bottom: 12px; }

.who__label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.55;
  margin-bottom: 5px;
}

.who__opt { opacity: 0.6; }

.who__input {
  width: 100%;
  padding: 11px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--bone);
  border-bottom: 1px solid rgba(233, 227, 213, 0.3);
}

.who__input::placeholder {
  color: var(--bone);
  opacity: 0.3;
  text-transform: none;
}

.who__input:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.who__input:focus-visible { outline: none; }

.who__err {
  margin-top: 4px;
  padding: 9px 11px;
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--ground);
  background: var(--gold);
}


/* Payment details, on the page, before the customer leaves it. */
.pay {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(201, 162, 75, 0.35);
}

.pay__step {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 9px;
}

.pay__step + .pay__step,
.pay__bank + .pay__step,
.pay__field + .pay__step { margin-top: 18px; }

.pay__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  background: var(--ground);
}

.pay__value {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--bone);
}

/* A real tap target — this gets used on a phone, one-handed, mid-transfer. */
.pay__copy {
  flex: 0 0 auto;
  padding: 7px 11px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 75, 0.35);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.pay__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(233, 227, 213, 0.1);
}

.pay__row dt { opacity: 0.55; }

.pay__row dd {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.pay .btn--ghost {
  width: 100%;
  margin-top: 18px;
}

.js-paytransfer + .pay { margin-top: 14px; }
.js-paycard + .js-paytransfer { margin-top: 10px; }

.bag__foot .link {
  display: block;
  margin-top: 16px;
  text-align: center;
}

@media (hover: hover) {
  .pay__copy:hover { background: var(--gold); color: var(--ground); }
}


/* Confirmation of an add — enough to register, not enough to interrupt. */
.toast {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--bar) + 14px);
  z-index: 90;
  padding: 14px 16px;
  background: var(--gold);
  color: var(--ground);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.toast.is-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .toast { transition: none; }
}


/* --- 6b. Option picker --------------------------------------------------- */

/* Chips, not a native <select>: the `button, input` reset above does not cover
   `select`, so it would drop the uppercase and the tracking, and iOS renders it
   as a system wheel that breaks the register. Buttons also inherit the global
   :focus-visible outline for free. */

.picker {
  margin: 32px 0 4px;
  border-top: 1px solid rgba(233, 227, 213, 0.14);
}

.picker__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(233, 227, 213, 0.14);
}

/* Matches .spec dt, so the picker reads as another specification row. */
.picker__label {
  font-size: 9px;
  letter-spacing: 0.24em;
  opacity: 0.55;
}

.picker__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* .btn--ghost's outline treatment at control scale. */
.chip {
  padding: 9px 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 75, 0.35);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.chip[aria-pressed="true"] {
  background: var(--gold);
  color: var(--ground);
  border-color: var(--gold);
  font-weight: 600;
}

/* A swatch of the actual cloth, so the name is not the only cue. */
.chip--nocturne::before,
.chip--oxblood::before,
.chip--violet::before,
.chip--fatigue::before,
.chip--gold::before,
.chip--split::before,
.chip--bone::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  vertical-align: 1px;
  border: 1px solid rgba(233, 227, 213, 0.25);
}

.chip--nocturne::before { background: var(--ground); }
.chip--oxblood::before  { background: var(--oxblood); }
.chip--violet::before   { background: var(--violet); }
.chip--fatigue::before  { background: var(--fatigue); }
.chip--gold::before     { background: var(--gold-jy); }
.chip--split::before    { background: linear-gradient(90deg, var(--violet) 50%, var(--fatigue) 50%); }
.chip--bone::before     { background: var(--bone-jy); }

.picker__qty {
  display: flex;
  align-items: center;
  gap: 2px;
}

.qty__step {
  width: 38px;
  height: 38px;
  font-size: 13px;
  line-height: 1;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 75, 0.35);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.qty__val {
  min-width: 40px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
}

/* Disabled at the floor of 1 — dimmed rather than removed, so the row does
   not reflow on the first tap. */
.qty__step[disabled] {
  opacity: 0.3;
  cursor: default;
}

.picker__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 0;
  font-size: 10px;
  letter-spacing: 0.24em;
  opacity: 0.55;
}

.picker__sum {
  color: var(--gold);
  opacity: 1;
}

@media (hover: hover) {
  .chip:hover     { border-color: var(--gold); }
  .qty__step:hover:not([disabled]) { background: var(--gold); color: var(--ground); }
  .chip[aria-pressed="true"]:hover { background: var(--bone); }
}



/* --- 7. Email capture ---------------------------------------------------- */

.enter { padding: var(--section) var(--gutter); }

.enter__line {
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.7;
  margin-bottom: 26px;
}

.enter__form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.enter__field {
  flex: 1 1 180px;
  min-width: 0;
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  border-bottom: 1px solid rgba(233, 227, 213, 0.3);
}

.enter__field::placeholder { color: var(--bone); opacity: 0.4; }
.enter__field:focus { outline: none; border-bottom-color: var(--gold); }
.enter__field:focus-visible { outline: none; }

/* Tally's iframe. The height here is the fallback used until (or unless) the
   form reports its own height back over postMessage. */
.enter__embed {
  display: block;
  width: 100%;
  min-height: 120px;
  border: 0;
  color-scheme: normal;
}


/* --- 8. Footer ----------------------------------------------------------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid rgba(233, 227, 213, 0.14);
}


/* --- Sticky bar (mobile) ------------------------------------------------- */

.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--ground);
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
}

.stickybar__btn {
  display: block;
  padding: 19px 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--gold);
}


/* --- Desktop. An afterthought, deliberately. ----------------------------- */

@media (min-width: 800px) {
  :root {
    --gutter: 56px;
    --section: 140px;
  }

  body {
    font-size: 14px;
    padding-bottom: 0;
  }

  .stickybar { display: none; }

  /* No sticky bar on desktop, so the hero gets the whole viewport back. */
  .hero {
    min-height: 100svh;
    padding: 32px var(--gutter) 24px;
  }

  .hero__figure {
    margin-inline: 0;
    padding: 24px 0;
  }

  .wordmark { font-size: 17px; }

  /* Description left, actions right — placed explicitly so the four children
     do not auto-flow into an accidental arrangement. */
  .hero__foot {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 48px;
    row-gap: 6px;
    align-items: end;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
  }

  .hero__line { grid-column: 1; grid-row: 1; align-self: end; }
  .price      { grid-column: 1; grid-row: 2; margin-top: 0; }

  .hero__foot .btn--primary {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
    width: auto;
    padding: 17px 44px;
  }

  .hero__foot .link {
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
    margin-top: 14px;
  }

  .specimen,
  .colorways,
  .acquire,
  .ways,
  .enter,
  .print .eyebrow,
  .print .caption,
  .footer {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  /* Specimen: frame on the left, specification on the right. */
  /* The measured frame spans both content rows so the specification and its
     button stack together at the top of the right column. */
  .specimen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "head    head"
      "measure spec"
      "measure cta";
    column-gap: 80px;
    align-items: start;
  }

  .specimen .eyebrow { grid-area: head; }
  .measure { grid-area: measure; margin-bottom: 0; }
  .specimen .spec { grid-area: spec; }

  .specimen .cta-inline {
    grid-area: cta;
    align-self: start;
    justify-self: start;
  }

  .cta-inline .btn--primary { width: auto; padding: 17px 44px; }

  .spec__row { grid-template-columns: 120px 1fr; }

  .colorways__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .colorway__name { font-size: 28px; }

  .ways__list { grid-template-columns: repeat(3, 1fr); }
  .ways__list li { min-height: 168px; padding: 28px 26px; }

  /* Named areas, so every child needs one — an unplaced child drops into an
     implicit row and breaks the two-column read. The picker sits under the
     price, left column, above the CTA. */
  .acquire {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "head head"
      "price terms"
      "pick terms"
      "cta terms";
    column-gap: 80px;
    align-items: start;
  }

  .acquire .eyebrow { grid-area: head; }
  .acquire__price { grid-area: price; }
  .spec--terms { grid-area: terms; }
  /* .cta-inline loses its 40px top margin in this grid, so the picker carries
     the separation instead. */
  .acquire .picker { grid-area: pick; margin-bottom: 26px; }
  .acquire .cta-inline { grid-area: cta; margin-top: 0; }

  /* The jersey is a plain flow section, but its grid and picker want the same
     two-column rhythm as the rest of the page. */
  .hero__entries { flex-direction: row; }
  .hero__entries .btn--ghost { width: auto; padding: 17px 32px; }

  .world { padding-top: var(--section); }
  .world__name { font-size: 54px; }

  .enter__form { max-width: 520px; }

  /* Image and picker side by side, so the variant and the decision are in the
     same glance instead of one above the other. */
  .product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 80px;
    align-items: start;
  }

  .product .eyebrow { grid-column: 1 / -1; }
  .product__figure { margin-top: 0; }
  .picker { margin-top: 0; border-top: 0; }
  .picker .btn--primary { width: 100%; }

  /* A drawer rather than a sheet: the page stays visible behind it. */
  .bag { align-items: stretch; justify-content: flex-end; }

  .bag__sheet {
    width: 420px;
    max-height: none;
    border-top: 0;
    border-left: 1px solid rgba(201, 162, 75, 0.35);
    padding: 32px 32px calc(32px + env(safe-area-inset-bottom));
  }

  /* No sticky bar on desktop, so the bag needs its own way in. */
  .stickybar {
    display: block;
    left: auto;
    right: 0;
    bottom: auto;
    top: 0;
    width: auto;
    border-top: 0;
    border-left: 1px solid rgba(201, 162, 75, 0.35);
    border-bottom: 1px solid rgba(201, 162, 75, 0.35);
    background: rgba(20, 20, 15, 0.92);
    backdrop-filter: blur(6px);
  }

  .stickybar__btn { padding: 16px 24px; }
  .toast { left: auto; right: 24px; width: 320px; bottom: 24px; }

  .print__figure img { max-height: 78vh; object-fit: cover; }
}


/* --- Reduced motion ------------------------------------------------------ */

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

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