/* =========================================================================
   HIRAETH KL — concept store
   One idea: every colourway stands in front of the KL shoplot surface it
   belongs to (concrete, roller shutter, zinc, shopfront grille).
   js/site.js sets the per-colourway colours as CSS variables on .world:
     --tone  surface colour     --paint  stencilled name colour
     --ink   readable text      --accent active state only
     --sign-ink  text on the enamel placard
   ========================================================================= */

@font-face { font-family: 'Stencil'; src: url(../assets/fonts/bigshoulders-stencil.woff2) format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Shoulders'; src: url(../assets/fonts/bigshoulders.woff2) format('woff2'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url(../assets/fonts/archivo.woff2) format('woff2'); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Martian'; src: url(../assets/fonts/martianmono.woff2) format('woff2'); font-weight: 400 600; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --street: #161513;          /* night asphalt: the ground between the walls */
  --street-2: #201e1b;
  --chalk: #efeadf;           /* chalk on asphalt */
  --chalk-dim: #b9b2a4;
  --hazard: #e9b31c;          /* KL hoarding yellow: focus rings, the credit */
  --font-display: 'Shoulders', 'Archivo', sans-serif;
  --font-stencil: 'Stencil', 'Shoulders', sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --font-data: 'Martian', ui-monospace, monospace;
  --credit-h: 30px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #4a463f var(--street); }
body {
  margin: 0;
  background: var(--street);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-stretch: 96%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--hazard); color: #161513; }
:focus-visible { outline: 3px solid var(--hazard); outline-offset: 3px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--street); }
::-webkit-scrollbar-thumb { background: #4a463f; border: 2px solid var(--street); }

.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hazard); color: #161513; padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- credit strip + header --------------------------------------- */

.credit {
  position: relative; z-index: 40;
  height: var(--credit-h);
  display: flex; align-items: center; justify-content: center; gap: 1.2em;
  padding: 0 var(--gutter);
  background: #0c0b0a;
  color: var(--chalk-dim);
  font: 400 12px/1 var(--font-data);
  letter-spacing: .01em;
  white-space: nowrap; overflow: hidden;
}
.credit a { color: var(--chalk); text-decoration: none; border-bottom: 1px solid #5a554c; }
.credit a:hover { border-color: var(--chalk); }
.credit .sep { opacity: .45; }

.head {
  position: fixed; z-index: 30;
  top: var(--credit-h); left: 0; right: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px var(--gutter);
  color: var(--head-ink, var(--chalk));
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.head.is-solid { top: 0; padding-block: 10px; background: rgb(22 21 19 / .94); color: var(--chalk); box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.mark { justify-self: start; display: inline-flex; align-items: baseline; gap: .35em; text-decoration: none; }
.mark b { font: 800 26px/1 var(--font-display); letter-spacing: .14em; }
.mark span { font: 500 11px/1 var(--font-data); letter-spacing: .1em; opacity: .8; }
.head nav { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.head nav a { font: 700 15px/1 var(--font-display); letter-spacing: .16em; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.head nav a:hover { border-color: currentColor; }
.bag-btn {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; padding: 6px 0;
  font: 700 15px/1 var(--font-display); letter-spacing: .16em;
}
.bag-btn svg { width: 22px; height: 22px; }
.bag-count {
  min-width: 24px; height: 24px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border: 1.5px solid currentColor;
  font: 600 11px/1 var(--font-data);
  font-variant-numeric: tabular-nums;
}
.bag-count.has-items { background: var(--head-accent, var(--hazard)); border-color: var(--head-accent, var(--hazard)); color: #141210; }
.head.is-solid .bag-count.has-items { background: var(--hazard); border-color: var(--hazard); }
.bag-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.35); } }

/* ---------- the world: one KL surface per colourway ---------------------- */

.world {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--tone);
  color: var(--ink);
}
.surface { position: absolute; inset: 0; z-index: 0; }
.grime {
  position: absolute; inset: 0;
  background: url(../assets/world/wall.webp) repeat-x 0 0 / auto 100%;
  mix-blend-mode: multiply;
  opacity: .42;
  pointer-events: none;
}

/* concrete: the real wall from the THUNDUK shoot, washed in the colourway tone */
.world[data-surface="concrete"] .surface {
  background: url(../assets/world/wall.webp) repeat-x 0 0 / auto 100%, var(--tone);
  background-blend-mode: multiply;
}
.world[data-surface="concrete"] .grime { display: none; }
.world[data-paint="dark"] .wallname { background-blend-mode: multiply; opacity: .96; }
.world[data-surface="concrete"] .surface::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .32), transparent 26%, transparent 64%, rgb(0 0 0 / .28));
}

/* roller shutter: pressed steel slats, guide rails at both edges */
.world[data-surface="shutter"] .surface {
  --slat: clamp(22px, 2.3vw, 34px);
  background:
    linear-gradient(90deg, rgb(0 0 0 / .55) 0 14px, rgb(255 255 255 / .08) 14px 16px, transparent 16px calc(100% - 16px), rgb(255 255 255 / .08) calc(100% - 16px) calc(100% - 14px), rgb(0 0 0 / .55) calc(100% - 14px)),
    repeating-linear-gradient(180deg,
      color-mix(in oklab, var(--tone), white 22%) 0 2px,
      color-mix(in oklab, var(--tone), white 8%) 2px 30%,
      var(--tone) 30% 72%,
      color-mix(in oklab, var(--tone), black 32%) 72% 86%,
      color-mix(in oklab, var(--tone), black 62%) 86% 100%) 0 0 / 100% var(--slat),
    var(--tone);
}
.world[data-surface="shutter"] .surface::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 70% at 30% 0%, rgb(255 255 255 / .14), transparent 60%), linear-gradient(180deg, rgb(0 0 0 / .35), transparent 22%);
}

/* zinc hoarding: corrugated galvanised sheet, one lap joint with nails */
.world[data-surface="zinc"] .surface {
  --rib: clamp(34px, 3.4vw, 52px);
  background:
    linear-gradient(180deg, transparent 0 41%, rgb(0 0 0 / .35) 41% calc(41% + 2px), rgb(255 255 255 / .35) calc(41% + 2px) calc(41% + 4px), transparent calc(41% + 4px)),
    repeating-linear-gradient(90deg,
      color-mix(in oklab, var(--tone), black 30%) 0,
      color-mix(in oklab, var(--tone), white 30%) 22%,
      color-mix(in oklab, var(--tone), white 8%) 40%,
      var(--tone) 58%,
      color-mix(in oklab, var(--tone), black 18%) 80%,
      color-mix(in oklab, var(--tone), black 30%) 100%) 0 0 / var(--rib) 100%,
    var(--tone);
}
.world[data-surface="zinc"] .grime { opacity: .5; }
.nails {
  position: absolute; left: 0; right: 0; top: calc(41% - 9px); height: 8px;
  --rib: clamp(34px, 3.4vw, 52px);
  background: radial-gradient(circle at 30% 50%, color-mix(in oklab, var(--tone), white 55%) 0 2px, color-mix(in oklab, var(--tone), black 45%) 2.5px 3.2px, transparent 3.6px) 0 0 / var(--rib) 100% repeat-x;
}

/* shopfront grille: painted plaster wall behind a collapsible steel gate.
   The lattice is off by half a step every second bar, like the Offbeat buttons. */
.world[data-surface="grille"] .surface {
  background: url(../assets/world/wall.webp) repeat-x 0 0 / auto 100%, var(--tone);
  background-blend-mode: soft-light;
}
.world[data-surface="grille"] .grime { opacity: .25; }
.gate {
  position: absolute; left: 0; top: 0; width: 100%; height: 88%;
  color: color-mix(in oklab, var(--tone), black 62%);
  filter: drop-shadow(14px 18px 7px rgb(0 0 0 / .34));
}

/* the stencilled name painted across the wall */
.wallname {
  position: absolute; z-index: 1; left: 50%; top: var(--name-top, 15%);
  translate: -50% 0;
  margin: 0;
  font: 900 100px/.8 var(--font-stencil);
  letter-spacing: -.01em;
  text-align: center; white-space: nowrap;
  color: transparent;
  background: url(../assets/world/wall.webp) 0 0 / auto 160%, var(--paint);
  background-blend-mode: soft-light;
  -webkit-background-clip: text; background-clip: text;
  opacity: .9;
  user-select: none; pointer-events: none;
}
.wallname span { display: block; }

/* pavement at the foot of the wall */
.ground {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 13%;
  background: url(../assets/world/ground.webp) repeat-x 0 0 / auto 100%, #b3ada2;
  background-blend-mode: multiply;
  box-shadow: inset 0 10px 14px -6px rgb(0 0 0 / .55);
}
.ground::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgb(0 0 0 / .45); }

/* the model, cut out of the store's own photograph */
.figure {
  position: absolute; z-index: 2; left: 50%; bottom: 4.5%; height: 82%;
  translate: -50% 0;
  pointer-events: none;
}
.figure img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 26px 22px rgb(0 0 0 / .32)); }
.figure::after {
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -1.6%; height: 4.5%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .55), transparent);
}
.figure[data-cut="crop"] { bottom: 0; height: 94%; }
.figure[data-cut="crop"]::after { display: none; }

/* ---------- hero ---------------------------------------------------------- */

.hero { position: relative; height: calc(100vh - var(--credit-h)); height: calc(100svh - var(--credit-h)); min-height: 640px; --rail-h: 74px; }
.stage { position: absolute; inset: 0 0 var(--rail-h) 0; overflow: hidden; touch-action: pan-y; }
.stage .world { position: absolute; inset: 0; }
.hero .wallname { --name-top: calc(var(--credit-h) + 80px); }

.intro {
  position: absolute; z-index: 5; right: var(--gutter); bottom: calc(var(--rail-h) + 140px);
  max-width: 24ch; margin: 0;
  font: 500 15px/1.45 var(--font-body);
  color: var(--ink);
  text-shadow: 0 1px 2px color-mix(in oklab, var(--tone), black 55%), 0 2px 16px color-mix(in oklab, var(--tone), black 45%);
}

.placard {
  position: absolute; z-index: 6;
  left: var(--gutter); bottom: calc(var(--rail-h) + 26px);
  width: min(370px, 31vw);
  padding: 22px 22px 22px;
  background: var(--paint);
  color: var(--sign-ink);
  box-shadow: 0 18px 30px -12px rgb(0 0 0 / .55), 0 2px 0 rgb(0 0 0 / .2);
}
.placard::before, .placard::after {
  content: ""; position: absolute; top: 9px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgb(255 255 255 / .5), color-mix(in oklab, var(--sign-ink), transparent 40%));
}
.placard::before { left: 9px; } .placard::after { right: 9px; }
.placard .coll { font: 500 11.5px/1.3 var(--font-data); margin: 10px 0 0; }
.placard h1 { margin: 0; font: 900 clamp(38px, 3.6vw, 54px)/.88 var(--font-display); letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.ticket {
  position: relative; display: inline-block; margin: 12px 0 0; padding: 4px 10px 4px 22px;
  font: 500 11px/1.3 var(--font-data);
  border: 1.5px solid currentColor;
}
.ticket::before { content: ""; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; border: 1.5px solid currentColor; }
.price { display: block; margin: 14px 0 12px; font: 600 22px/1 var(--font-data); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.sizes { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.sizes legend { font: 500 11px/1 var(--font-data); margin-bottom: 8px; padding: 0; }
.size {
  min-width: 52px; height: 44px; padding: 0 12px;
  background: transparent; color: inherit; cursor: pointer;
  border: 1.5px solid currentColor;
  font: 700 16px/1 var(--font-display); letter-spacing: .08em;
  transition: background-color .15s, color .15s;
}
.size:hover { background: color-mix(in oklab, currentColor, transparent 88%); }
.size[aria-pressed="true"] { background: var(--accent); color: #141210; border-color: #141210; box-shadow: inset 0 0 0 1.5px #141210; }
.sizes.is-missing .size { animation: nudge .4s; }
@keyframes nudge { 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
.size-msg { min-height: 1.3em; margin: 0 0 8px; font: 600 12px/1.3 var(--font-data); }

.add {
  width: 100%; height: 52px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  background: var(--sign-ink); color: var(--paint);
  border: 0;
  font: 800 18px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.add:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -8px rgb(0 0 0 / .55); }
.add:active { transform: translateY(0); }
.add svg { width: 20px; height: 20px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font: 500 12px/1.3 var(--font-data); }
.more svg { width: 14px; height: 14px; }

/* one row of keys, one per colourway; it scales and never wraps */
.rail {
  position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: var(--rail-h);
  display: grid; grid-template-columns: repeat(var(--keys, 9), minmax(0, 1fr));
  background: #0c0b0a;
  border-top: 1px solid rgb(255 255 255 / .08);
}
.key {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 10px 12px 12px; min-width: 0;
  background: none; border: 0; border-right: 1px solid rgb(255 255 255 / .07); cursor: pointer;
  color: var(--chalk-dim); text-align: left;
}
.key::before { content: ""; position: absolute; left: 12px; right: 12px; top: 10px; height: 14px; background: var(--k-tone); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); transform-origin: 50% 0; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.key .k-name { font: 700 clamp(12px, 1vw, 14px)/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.key .k-coll { font: 400 11px/1 var(--font-data); opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.key:hover { color: var(--chalk); }
.key:hover::before { transform: scaleY(1.3); }
.key[aria-pressed="true"] { color: #fff; background: rgb(255 255 255 / .05); }
.key[aria-pressed="true"]::before { box-shadow: 0 0 0 2px #0c0b0a, 0 0 0 4px var(--k-accent); }

.steps { position: absolute; z-index: 7; right: var(--gutter); bottom: calc(var(--rail-h) + 26px); display: flex; gap: 8px; }
.step {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: rgb(12 11 10 / .72); color: var(--chalk); border: 1px solid rgb(255 255 255 / .16);
  transition: background-color .2s;
}
.step:hover { background: rgb(12 11 10 / .95); }
.step svg { width: 22px; height: 22px; }

/* the roller shutter that comes down between worlds;
   registered so its colour and slat roll can be animated */
@property --shutter-tone { syntax: '<color>'; inherits: true; initial-value: #3a3a3a; }
@property --roll { syntax: '<length>'; inherits: false; initial-value: 0px; }
.shutter {
  position: absolute; z-index: 8; left: 0; right: 0; top: 0; bottom: 0;
  translate: 0 -101%;
  --tone: var(--shutter-tone, #3a3a3a);
  background:
    linear-gradient(90deg, rgb(0 0 0 / .6) 0 14px, transparent 14px calc(100% - 14px), rgb(0 0 0 / .6) calc(100% - 14px)),
    repeating-linear-gradient(180deg,
      color-mix(in oklab, var(--tone), white 24%) 0 2px,
      color-mix(in oklab, var(--tone), white 9%) 2px 30%,
      var(--tone) 30% 72%,
      color-mix(in oklab, var(--tone), black 34%) 72% 86%,
      color-mix(in oklab, var(--tone), black 64%) 86% 100%) 0 var(--roll, 0px) / 100% clamp(22px, 2.3vw, 34px),
    var(--tone);
  pointer-events: none;
  visibility: hidden;
}
.shutter.is-running { visibility: visible; }
.shutter::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--tone), black 20%), color-mix(in oklab, var(--tone), black 70%));
  box-shadow: 0 10px 18px rgb(0 0 0 / .45);
}
.shutter .grime { opacity: .55; }
.shutter .lock {
  position: absolute; left: 50%; bottom: 5px; width: 34px; height: 16px; translate: -50% 0;
  background: color-mix(in oklab, var(--tone), white 40%); z-index: 1;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .3);
}

/* ---------- the street: each collection as a row of shopfronts ------------ */

.street-intro {
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end;
}
.street-intro h2 { margin: 0; font: 900 clamp(48px, 7.4vw, 104px)/.86 var(--font-display); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.street-intro p { margin: 0; max-width: 46ch; color: var(--chalk-dim); font-size: 17px; }

.row { display: grid; grid-template-columns: minmax(300px, 26vw) minmax(0, 1fr); min-height: 86vh; min-height: 86svh; border-top: 12px solid #0f0e0d; scroll-margin-top: 60px; }
.row-shops { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.row-info { padding: clamp(28px, 4vw, 56px) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--street-2); }
.row-info h3 { margin: 0 0 10px; font: 900 clamp(52px, 4.8vw, 78px)/.84 var(--font-display); letter-spacing: .01em; }
.row-info .kind { margin: 0 0 18px; font: 500 12px/1.3 var(--font-data); color: var(--hazard); }
.row-info p { margin: 0; max-width: 34ch; color: var(--chalk-dim); }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font: 400 12px/1.4 var(--font-data); font-variant-numeric: tabular-nums; }
.facts dt { color: var(--chalk-dim); }
.facts dd { margin: 0; color: var(--chalk); }

.shop { position: relative; display: block; text-decoration: none; min-height: 560px; border-left: 12px solid #0f0e0d; }
.shop .world { position: absolute; inset: 0; }
.shop .wallname { --name-top: 6%; }
.shop .figure { height: 74%; bottom: 8%; transition: scale .6s var(--ease-out); transform-origin: 50% 100%; }
.shop .figure[data-cut="crop"] { height: 80%; bottom: 0; }
.shop:hover .figure, .shop:focus-visible .figure { scale: 1.035; }
.shop .tag {
  position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--paint); color: var(--sign-ink);
  box-shadow: 0 10px 22px -10px rgb(0 0 0 / .6);
}
.shop .tag b { font: 900 22px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.shop .tag span { font: 600 13px/1 var(--font-data); font-variant-numeric: tabular-nums; }
.shop:focus-visible { outline-offset: -6px; }

/* ---------- story --------------------------------------------------------- */

.story { padding: clamp(96px, 14vw, 200px) var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.story h2 { grid-column: 1 / span 8; margin: 0; font: 800 clamp(34px, 4.6vw, 68px)/1.02 var(--font-display); letter-spacing: .005em; text-wrap: balance; }
.story h2 em { font-style: normal; color: var(--hazard); }
.story .copy { grid-column: 1 / span 5; margin-top: 40px; color: var(--chalk-dim); font-size: 17px; max-width: 52ch; }
.story .copy p { margin: 0 0 1em; }
.story .facts { margin-top: 28px; }
.story figure { margin: 0; position: relative; }
.story .ph-a { grid-column: 7 / span 3; margin-top: 40px; }
.story .ph-b { grid-column: 10 / span 3; margin-top: 160px; }
.story figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story figcaption { margin-top: 10px; font: 400 11px/1.4 var(--font-data); color: var(--chalk-dim); }

/* ---------- footer -------------------------------------------------------- */

.foot { padding: clamp(64px, 9vw, 120px) var(--gutter) 28px; border-top: 1px solid rgb(255 255 255 / .08); background: #0f0e0d; }
.sig small { display: block; font: 500 12px/1 var(--font-data); letter-spacing: .06em; color: var(--chalk-dim); margin-bottom: 10px; }
.sig strong { display: block; font: 900 clamp(64px, 13vw, 210px)/.8 var(--font-display); letter-spacing: .01em; color: var(--hazard); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 34px 0 56px; }
.foot-links a { font: 700 18px/1 var(--font-display); letter-spacing: .14em; text-decoration: none; border-bottom: 2px solid #4a463f; padding-bottom: 4px; }
.foot-links a:hover { border-color: var(--hazard); }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font: 400 11px/1.6 var(--font-data); color: #9a9386; }
.fine p { margin: 0; max-width: 70ch; }

/* ---------- product page --------------------------------------------------- */

.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pdp-world { position: sticky; top: 0; height: 100vh; height: 100svh; }
.pdp-world .world { position: absolute; inset: 0; }
.pdp-world .wallname { --name-top: calc(var(--credit-h) + 84px); }
.pdp-info {
  padding: calc(var(--credit-h) + 96px) clamp(20px, 4vw, 64px) 72px;
  background: color-mix(in oklab, var(--tone), #0d0c0b 82%);
  color: var(--chalk);
  min-height: 100svh;
}
.back { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-data); text-decoration: none; color: var(--chalk-dim); margin-bottom: 28px; }
.back:hover { color: var(--chalk); }
.back svg { width: 18px; height: 18px; }
.pdp-info .coll { margin: 12px 0 0; font: 500 12px/1.3 var(--font-data); color: var(--chalk-dim); }
.pdp-info .ticket { margin-top: 14px; }
.pdp-info h1 { margin: 0; font: 900 clamp(46px, 5.4vw, 84px)/.86 var(--font-display); text-transform: uppercase; text-wrap: balance; }
.pdp-info .ticket { color: var(--chalk-dim); }
.pdp-info .price { font-size: 26px; margin: 22px 0 18px; }
.pdp-info .sizes { color: var(--chalk); }
.pdp-info .add { background: var(--chalk); color: #141210; max-width: 440px; }
.pdp-info .size-msg { color: var(--chalk); }
.pdp-info section { margin-top: 48px; max-width: 560px; }
.pdp-info h2 { margin: 0 0 14px; font: 800 20px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.pdp-info .about { color: var(--chalk-dim); font-size: 17px; margin: 0; max-width: 52ch; }
.spec { width: 100%; border-collapse: collapse; font: 400 12.5px/1.45 var(--font-data); font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid rgb(255 255 255 / .09); }
.spec th { width: 32%; font-weight: 400; color: var(--chalk-dim); padding-right: 14px; }
.spec thead th { color: var(--chalk); font-weight: 600; }
.spec.guide th, .spec.guide td { width: auto; padding-right: 12px; }
.siblings { display: flex; flex-wrap: wrap; gap: 10px; }
.sib { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; text-decoration: none; border: 1px solid rgb(255 255 255 / .14); font: 700 15px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.sib::before { content: ""; width: 26px; height: 26px; background: var(--k-tone); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15); }
.sib[aria-current="page"] { border-color: var(--accent); }
.sib:hover { border-color: var(--chalk); }

.gallery { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.gallery h2 { margin: 0 0 28px; font: 900 clamp(40px, 5vw, 72px)/.86 var(--font-display); text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; }
.gallery-grid .wide { grid-column: span 2; grid-row: span 2; }
.gallery-grid .wide img { height: 100%; aspect-ratio: auto; }
.gallery-grid figure { margin: 0; background: #0f0e0d; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.notfound { min-height: 80svh; display: grid; place-content: center; text-align: center; padding: 120px var(--gutter); }
.notfound h1 { font: 900 clamp(48px, 8vw, 110px)/.86 var(--font-display); margin: 0 0 18px; }

/* ---------- bag drawer ---------------------------------------------------- */

.bag {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(440px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  background: var(--street-2); color: var(--chalk);
  box-shadow: -30px 0 60px rgb(0 0 0 / .5);
}
.bag[open] { display: flex; flex-direction: column; animation: drawer .45s var(--ease-out); }
@keyframes drawer { from { translate: 100% 0; } }
.bag::backdrop { background: rgb(8 7 6 / .62); }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.bag-head h2 { margin: 0; font: 900 30px/1 var(--font-display); letter-spacing: .08em; }
.x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid rgb(255 255 255 / .16); cursor: pointer; }
.x svg { width: 18px; height: 18px; }
.bag-items { list-style: none; margin: 0; padding: 8px 22px; overflow-y: auto; flex: 1; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / .07); }
.line img { width: 76px; height: 96px; object-fit: cover; background: #0f0e0d; }
.line b { display: block; font: 800 17px/1.05 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.line small { display: block; margin-top: 6px; font: 400 11.5px/1.4 var(--font-data); color: var(--chalk-dim); }
.line .amt { font: 600 13px/1 var(--font-data); font-variant-numeric: tabular-nums; text-align: right; }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid rgb(255 255 255 / .16); }
.qty button { width: 34px; height: 34px; background: none; border: 0; cursor: pointer; font: 600 15px/1 var(--font-data); }
.qty button:hover { background: rgb(255 255 255 / .06); }
.qty output { min-width: 28px; text-align: center; font: 600 12px/1 var(--font-data); }
.rm { display: block; margin: 12px 0 0 auto; background: none; border: 0; cursor: pointer; color: var(--chalk-dim); font: 400 11px/1 var(--font-data); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.rm:hover { color: var(--chalk); }
.bag-empty { padding: 48px 22px; color: var(--chalk-dim); }
.bag-empty b { display: block; color: var(--chalk); font: 900 34px/.95 var(--font-display); text-transform: uppercase; margin-bottom: 10px; }
.bag-foot { padding: 18px 22px 22px; border-top: 1px solid rgb(255 255 255 / .08); }
.subtotal { display: flex; justify-content: space-between; font: 600 14px/1 var(--font-data); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.checkout { width: 100%; height: 54px; cursor: pointer; border: 0; background: var(--hazard); color: #161513; font: 800 18px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.checkout:hover { filter: brightness(1.06); }
.checkout:disabled { opacity: .4; cursor: not-allowed; }
.concept-note { margin: 14px 0 0; padding: 14px; border: 1px dashed rgb(233 179 28 / .6); font: 400 12px/1.55 var(--font-data); color: var(--chalk); }
.concept-note a { color: var(--hazard); }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: 96px; translate: -50% 20px; opacity: 0;
  padding: 12px 18px; background: var(--chalk); color: #161513;
  font: 600 12.5px/1.3 var(--font-data);
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / .6);
  transition: opacity .3s var(--ease-out), translate .3s var(--ease-out);
  pointer-events: none;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 1100px) {
  .head nav { display: none; }
  .head { grid-template-columns: 1fr auto; }
  .row { grid-template-columns: 1fr; min-height: 0; }
  .row-info { flex-direction: row; flex-wrap: wrap; align-items: end; }
  .row-info > div { flex: 1 1 320px; }
  .story h2 { grid-column: 1 / -1; }
  .story .copy { grid-column: 1 / span 7; }
  .story .ph-a { grid-column: 8 / span 5; margin-top: 40px; }
  .story .ph-b { display: none; }
  .placard { width: min(360px, 44vw); }
}

@media (max-width: 760px) {
  :root { --credit-h: 28px; }
  .credit { justify-content: flex-start; font-size: 11px; gap: .7em; padding: 0 12px; }
  .credit .lead { display: none; }
  .credit { justify-content: center; }
  .head { padding: 12px 16px; }
  .mark b { font-size: 22px; }
  .hero { --rail-h: 54px; min-height: 640px; }
  .key { padding: 0; justify-content: center; align-items: center; }
  .key::before { inset: 9px 5px; height: auto; }
  .key:hover::before { transform: none; }
  .key .k-name, .key .k-coll { display: none; }
  .key[aria-pressed="true"]::before { inset: 9px 5px; transform: none; }
  .intro { display: none; }
  .head > span:empty { display: none; }
  .hero .wallname { --name-top: calc(var(--credit-h) + 150px); }
  .hero .figure { height: 60%; bottom: 33%; }
  .hero .figure::after { bottom: -2%; }
  .hero .figure[data-cut="crop"] { height: 62%; bottom: 29%; }
  .hero .ground { height: 36%; }
  .placard {
    left: 12px; right: 12px; bottom: calc(var(--rail-h) + 10px); width: auto;
    padding: 16px 14px 14px;
    display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end;
  }
  .placard .coll { grid-column: 1 / -1; }
  .placard h1 { font-size: 32px; }
  .placard .ticket { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .placard .coll { display: none; }
  .placard .price { margin: 0; align-self: end; font-size: 16px; grid-column: 2; grid-row: 1; }
  .placard .sizes { grid-column: 1 / -1; margin: 12px 0 6px; }
  .placard .sizes legend { display: none; }
  .placard .size { height: 40px; min-width: 48px; }
  .placard .size-msg { grid-column: 1 / -1; margin: 0 0 6px; min-height: 0; }
  .placard .add { grid-column: 1 / -1; height: 48px; font-size: 16px; }
  .placard .more { display: none; }
  .steps { display: none; }
  .street-intro { grid-template-columns: 1fr; }
  .row-shops { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .row-shops .shop { flex: 0 0 84vw; scroll-snap-align: start; min-height: 540px; }
  .row-info { flex-direction: column; align-items: stretch; }
  .row-info > div { flex: none; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure:first-child:nth-last-child(odd) { grid-column: span 2; }
  .gallery-grid .wide { grid-row: auto; }
  .story { grid-template-columns: 1fr; }
  .story h2, .story .copy, .story .ph-a { grid-column: 1; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-world { position: relative; height: 84svh; min-height: 560px; }
  .pdp-world .wallname { --name-top: calc(var(--credit-h) + 70px); }
  .pdp-world .figure { height: 74%; bottom: 6%; }
  .pdp-world .figure[data-cut="crop"] { height: 80%; bottom: 0; }
  .pdp-info { padding-top: 40px; min-height: 0; }
  .toast { bottom: 76px; max-width: calc(100vw - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* product page header: the bag sits over the dark info column on desktop */
@media (min-width: 761px) {
  .head--split .bag-btn { color: var(--chalk); }
  .head--split .bag-count.has-items { background: var(--hazard); border-color: var(--hazard); }
}
