/* vibeclothe — unofficial fan merch. Vanilla CSS, no build step.
   Rules: orange is a fill (ink text on it), orange text on paper uses --accent-text.
   Depth is 1px borders; shadows only on overlays. Motion: transform and opacity only. */

:root {
  --bg: #F3F0E8;
  --surface: #E8E3D8;
  --border: #D6D0C3;
  --ink: #1B1A17;
  --ink-2: #6E685B;
  --accent: #E2733F;
  --accent-text: #A8481E;
  --night: #161512;
  --night-surface: #201F1B;
  --night-border: #34322C;
  --night-ink: #EFEBE1;
  --night-ink-2: #A29C8D;
  --accent-bright: #F0A070;
  --focus: var(--ink);

  --gx: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

.mono { font-family: var(--mono); font-weight: 400; }
.tnum { font-variant-numeric: tabular-nums; }
.star { color: var(--accent); }
.sr-only, .anno-note.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 2px;
}
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gx); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.eyebrow { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.noscript { padding: 16px; background: var(--surface); text-align: center; }

/* ---------- Buttons, chips, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

.chip {
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 8px 12px;
}
.pill {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 12px;
  border-radius: 999px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 16px;
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink);
}
.icon-btn:hover { border-color: var(--ink); }
.link { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 500; }
.link:hover { text-decoration-thickness: 2px; }
.link--btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; }
/* 44px hit area without moving the text: padding grown, margin pulled back */
.link, .link--btn { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* ---------- Marquee ---------- */
.marquee {
  height: 36px; background: var(--ink); color: var(--night-ink);
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; position: relative;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__list li {
  white-space: nowrap; padding: 0 20px;
  font-family: var(--mono); font-size: 11px; line-height: 36px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.marquee__list .marquee__sep { color: var(--accent); padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 64px;
  background: rgba(243, 240, 232, .92);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__in {
  height: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gx);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.nav a:first-child { margin-left: -12px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menu-btn { display: none; justify-self: start; }
.wordmark {
  display: inline-flex; align-items: baseline; justify-self: center;
  font-size: 24px; font-weight: 700; letter-spacing: -0.05em; text-decoration: none; line-height: 1;
  min-height: 44px; align-items: center;
}
.wordmark .star { margin-left: 2px; font-weight: 500; }
.site-header__right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.cur { font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2); }
.bag-btn {
  min-height: 44px; padding: 0 4px; background: none; border: 0;
  font-size: 14px; font-weight: 500;
}
.bag-btn:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: min(calc(100svh - 100px), 66.67vw);
  min-height: 360px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero__cap { position: absolute; top: 24px; left: var(--gx); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__copy { position: absolute; left: var(--gx); bottom: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: min(560px, 80vw); }
.hero__title { font-size: clamp(24px, 3.2vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; padding: 16px 20px; }
.hero__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__meta { position: absolute; right: var(--gx); bottom: 24px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Wordmark band ---------- */
.band { padding: clamp(40px, 7vw, 112px) var(--gx) clamp(32px, 5vw, 64px); overflow: hidden; }
.band__word {
  font-size: 15.5vw; font-weight: 700; letter-spacing: -0.06em; line-height: .8;
  white-space: nowrap; padding-block: .06em; margin-left: -.04em;
}
.band__line { margin: 16px 0 0; text-align: right; font-size: 13px; color: var(--ink-2); }

/* ---------- Section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 600; letter-spacing: -0.035em; }
.h-sub { color: var(--ink-2); font-weight: 400; }
.sec-head__meta { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 8px; }

/* ---------- Shop ---------- */
.shop { padding-block: clamp(56px, 8vw, 128px) clamp(56px, 10vw, 144px); }
.shop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(16px, 2.5vw, 32px); }
.card__mediawrap { position: relative; overflow: hidden; border-radius: 2px; border: 1px solid var(--border); background: var(--surface); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__img--alt { opacity: 0; transition: opacity .4s ease-out; }
.card__pill { position: absolute; top: 12px; left: 12px; }
.sticker {
  position: absolute; top: 16px; right: 16px; transform: rotate(6deg);
  background: var(--accent); color: var(--ink); padding: 8px 12px; border-radius: 2px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  outline: 1px dashed rgba(27, 26, 23, .55); outline-offset: -4px;
}
.quick {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 4px; padding: 12px;
  background: var(--bg); border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform .26s var(--ease);
}
.quick__label { font-size: 12px; color: var(--ink-2); padding-right: 8px; }
.card:hover .quick, .card:focus-within .quick { transform: translateY(0); }
.card:hover .card__img--alt, .card:focus-within .card__img--alt { opacity: 1; }
.size {
  min-width: 44px; min-height: 44px; padding: 0 8px;
  background: transparent; border: 1px solid var(--border); border-radius: 2px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink);
}
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 12px; }
.card__name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.card__name a { text-decoration: none; display: inline-block; padding-block: 11px; margin-block: -9px; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card__colour { font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.card__prints { font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; margin-top: 2px; }
.card__price { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--accent-text); }

@media (hover: none) {
  .card__mediawrap { overflow: visible; border: 0; background: none; }
  .card__media { border: 1px solid var(--border); border-radius: 2px; background: var(--surface); overflow: hidden; }
  .card__img--alt { display: none; }
  .quick { position: static; transform: none; flex-wrap: wrap; padding: 12px 0 0; background: none; border: 0; }
  .quick__label { flex: 0 0 100%; padding: 0 0 4px; }
  .quick .size { flex: 1 1 44px; }
}

/* ---------- Designs ---------- */
.designs { padding-block: clamp(32px, 6vw, 96px) clamp(72px, 12vw, 160px); }
.row { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 6vw, 96px); align-items: center; margin-bottom: clamp(56px, 11vw, 160px); }
.row:last-child { margin-bottom: 0; }
.row--flip { grid-template-columns: 5fr 7fr; }
.row--flip .row__media { order: 2; }
.row__text { display: flex; flex-direction: column; gap: 16px; }
.row__text h3 { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -0.035em; }
.row__text p:not(.eyebrow) { max-width: 52ch; color: var(--ink); }
.row__text .eyebrow { margin-bottom: 4px; }

.pair {
  position: relative; aspect-ratio: 3 / 2; container-type: inline-size;
  border: 1px solid var(--border); border-radius: 2px; background: var(--surface); overflow: hidden;
}
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ink-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.anno {
  position: absolute; margin: 0; max-width: 26%;
  font-family: var(--mono); font-size: clamp(10px, 1.7cqw, 17px); line-height: 1.3; font-weight: 500;
  color: var(--accent-text); background: var(--bg); padding: .25em .6em; border-radius: 2px;
  transform: rotate(-2deg); text-wrap: balance;
}
.anno--auto { right: 3%; top: 8%; text-align: left; }
.anno--render-l { left: 49%; top: 6%; white-space: nowrap; max-width: none; }
.anno--render-r { right: 3%; top: 6%; white-space: nowrap; max-width: none; padding-bottom: .5em; }
.anno__underline { position: absolute; left: 4%; right: 4%; bottom: .1em; width: 92%; height: .5em; overflow: visible; }
.anno-note { margin-top: 8px; font-size: 12px; color: var(--ink-2); }

/* ---------- Night shift ---------- */
.night {
  --focus: var(--night-ink);
  background: var(--night); color: var(--night-ink);
  padding-block: clamp(72px, 11vw, 160px);
}
.night h2 { font-size: clamp(32px, 5vw, 64px); letter-spacing: -0.035em; margin-bottom: clamp(24px, 4vw, 48px); max-width: 18ch; }
.term {
  max-width: 1040px;
  background: var(--night-surface); border: 1px solid var(--night-border); border-radius: 10px; overflow: hidden;
}
.term__bar { padding: 12px 20px; border-bottom: 1px solid var(--night-border); color: var(--night-ink-2); font-size: 12px; letter-spacing: 0.04em; }
.term__body { padding: clamp(16px, 3vw, 32px); font-size: clamp(12.5px, 1.4vw, 15px); line-height: 1.7; color: var(--night-ink); }
.term__body p { margin: 0; padding-left: 2ch; text-indent: -2ch; overflow-wrap: anywhere; max-width: none; }
.t-gap { margin-top: 20px !important; }
.t-dim { color: var(--night-ink-2); }
.t-dim:not(.t-gap) { text-indent: 0 !important; padding-left: 2ch; }
.t-prompt, .t-star { color: var(--accent); }
.t-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px !important; text-indent: 0 !important; }
.tbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  background: transparent; color: var(--night-ink); border: 1px solid var(--night-border); border-radius: 2px;
  font-family: var(--mono); font-size: 13px; text-decoration: none; text-indent: 0;
  transition: transform .18s var(--ease);
}
.tbtn:hover { border-color: var(--night-ink-2); transform: translateY(-1px); }
.tbtn--yes { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.night__after { margin-top: 32px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em; max-width: 36ch; color: var(--night-ink); }

/* ---------- Archive ---------- */
.archive { padding-block: clamp(56px, 9vw, 128px) clamp(56px, 8vw, 112px); }
.strip-nav { display: flex; gap: 8px; }
.strip {
  --pad: max(var(--gx), calc((100% - var(--max)) / 2 + var(--gx)));
  display: flex; align-items: flex-start; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 0 var(--pad) 16px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.strip__item { flex: none; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.strip__item img { height: clamp(220px, 30vw, 420px); width: auto; max-width: none; border: 1px solid var(--border); border-radius: 2px; background: var(--surface); }
.strip__item figcaption { width: 0; min-width: 100%; font-size: 12px; color: var(--ink-2); }

/* ---------- Drop 002 ---------- */
.drop2 { padding-block: clamp(56px, 8vw, 112px) clamp(72px, 12vw, 160px); border-top: 1px solid var(--border); }
.drop2__form { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.todo { border: 0; margin: 0; padding: 0; min-width: 0; }
.todo legend { padding: 0 0 12px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.todo__item {
  position: relative; display: flex; align-items: center; gap: 16px; min-height: 56px; padding-block: 8px;
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.todo__item input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.todo__box { font-size: 22px; line-height: 1; width: 1.2em; flex: none; color: var(--ink); }
.todo__box::before { content: "\2610"; }
.todo__item input:checked + .todo__box::before { content: "\2612"; }
.todo__item input:checked + .todo__box { color: var(--accent-text); }
.todo__item input:focus-visible ~ .todo__text { outline: 2px solid var(--focus); outline-offset: 4px; }
.todo__text { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.todo__text em { font-style: normal; font-family: var(--mono); font-size: .75em; font-weight: 400; color: var(--ink-2); margin-left: 4px; }
.todo__item input:checked ~ .todo__text { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--ink-2); }
.drop2__join { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; }
.field .opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px; font-size: 16px;
  background: transparent; border: 1px solid var(--ink-2); border-radius: 2px;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--accent-text); border-width: 2px; }
.form-msg { min-height: 1.5em; font-size: 14px; color: var(--ink-2); grid-column: 1 / -1; }
.form-msg--error { color: var(--accent-text); font-weight: 500; }
.form-msg--ok { color: var(--ink); font-family: var(--mono); font-size: 15px; font-weight: 500; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(32px, 5vw, 64px) clamp(72px, 10vw, 144px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); align-items: start; }
details { border-top: 1px solid var(--border); }
details:last-child, .faq__grid details:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 20px; flex: none; transition: transform .2s var(--ease); }
details[open] > summary::after { transform: rotate(45deg); }
details > p, details > div { padding: 0 0 24px; max-width: 60ch; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { --focus: var(--night-ink); background: var(--night); color: var(--night-ink); padding-block: clamp(56px, 8vw, 96px) 40px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.wordmark--foot { font-size: clamp(32px, 5vw, 56px); justify-self: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.site-footer__nav a, .site-footer__nav button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: none; border: 0; padding: 0 5px;
  color: var(--night-ink); font-size: 14px; font-weight: 500; text-decoration: none;
}
.site-footer__nav a:hover, .site-footer__nav button:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-footer__joke { margin-top: clamp(32px, 6vw, 72px); font-size: 14px; color: var(--night-ink); }
.site-footer__legal { margin-top: 16px; max-width: 68ch; font-size: 13px; line-height: 1.6; color: var(--night-ink-2); }
.site-footer__copy { margin-top: 32px; font-size: 12px; color: var(--night-ink-2); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px);
  background: var(--night-surface); color: var(--night-ink);
  border: 1px solid var(--night-border); border-radius: 10px; padding: 12px 16px;
  font-family: var(--mono); font-size: 13px;
  box-shadow: 0 8px 32px rgba(22, 21, 18, .28);
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .2s ease-out, transform .26s var(--ease);
}
.toast:empty { display: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button {
  min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--accent-bright);
  font-family: var(--mono); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}

/* ---------- Dialogs ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--bg); }
dialog::backdrop { background: rgba(22, 21, 18, .56); }

.menu {
  position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none;
  padding: 0 var(--gx) 24px; flex-direction: column;
}
.menu[open] { display: flex; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 64px; border-bottom: 1px solid var(--border); margin-inline: calc(var(--gx) * -1); padding-inline: var(--gx); }
.menu__nav { display: flex; flex-direction: column; margin-top: 24px; }
.menu__nav a { display: flex; align-items: center; min-height: 72px; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; text-decoration: none; border-bottom: 1px solid var(--border); }
.menu__foot { margin-top: auto; font-size: 12px; color: var(--ink-2); }

.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  border-left: 1px solid var(--border); box-shadow: -8px 0 32px rgba(22, 21, 18, .16);
}
.drawer[open] { display: flex; flex-direction: column; animation: slide-in .3s var(--ease); }
@keyframes slide-in { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--border); flex: none; }
.drawer__head h2 { font-size: 20px; letter-spacing: -0.02em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer__foot { flex: none; padding: 16px 20px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.drawer__sub { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; }
.drawer__sub span:last-child { font-family: var(--mono); color: var(--accent-text); }
.drawer__note { font-size: 13px; color: var(--ink-2); }

.line { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.line__img { width: 80px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); border: 1px solid var(--border); border-radius: 2px; }
.line__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.line__top { display: flex; justify-content: space-between; gap: 12px; }
.line__name { font-weight: 600; font-size: 16px; }
.line__colour { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.line__price { font-family: var(--mono); font-size: 15px; font-weight: 500; }
.line__ctrl { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.line__size {
  min-height: 44px; padding: 0 28px 0 12px; font-family: var(--mono); font-size: 13px;
  border: 1px solid var(--border); border-radius: 2px; background: transparent;
}
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 2px; }
.qty__btn { width: 44px; height: 44px; background: none; border: 0; font-family: var(--mono); font-size: 18px; }
.qty__btn[disabled] { opacity: .35; cursor: default; }
.qty__n { min-width: 28px; text-align: center; font-family: var(--mono); font-size: 14px; }
.line__remove { min-height: 44px; margin-left: auto; padding: 0 4px; background: none; border: 0; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.empty { padding-block: 32px; display: flex; flex-direction: column; gap: 20px; }
.empty__title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.empty__print { background: var(--night-surface); color: var(--night-ink); border: 1px solid var(--night-border); border-radius: 10px; padding: 20px; font-family: var(--mono); font-size: 14px; display: flex; flex-direction: column; gap: 16px; }
.empty__print .t-actions { margin-top: 0 !important; padding-left: 0; }
.tbtn { cursor: pointer; }

.perm { position: fixed; background: transparent; width: min(580px, calc(100vw - 32px)); max-width: none; overflow: visible; }
.perm::backdrop { background: rgba(22, 21, 18, .6); }
.perm__box {
  --focus: var(--night-ink);
  background: var(--night-surface); color: var(--night-ink);
  border: 1px solid var(--accent); border-radius: 10px;
  padding: 20px clamp(16px, 3vw, 24px) 16px;
  font-family: var(--mono); font-size: 14px; line-height: 1.6;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
}
.perm__tool { font-weight: 500; }
.perm__item { padding-left: 3ch; color: var(--night-ink); overflow-wrap: anywhere; margin-bottom: 16px; }
.perm__q { margin-bottom: 4px; }
.perm__opts { display: flex; flex-direction: column; }
.perm__opt {
  display: flex; gap: 1ch; align-items: flex-start; text-align: left; width: 100%;
  min-height: 44px; padding: 8px 4px; background: none; border: 0; border-radius: 2px;
  font-family: var(--mono); font-size: 14px; line-height: 1.5; color: var(--night-ink);
}
.perm__caret { visibility: hidden; width: 1ch; flex: none; }
.perm__opt[aria-pressed="true"] { color: var(--accent-bright); }
.perm__opt[aria-pressed="true"] .perm__caret { visibility: visible; }
.perm__hint { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--night-border); font-size: 12px; color: var(--night-ink-2); }

.modal {
  position: fixed; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 20px clamp(16px, 3vw, 28px) 28px; border: 1px solid var(--border); border-radius: 2px;
  box-shadow: 0 16px 48px rgba(22, 21, 18, .28);
}
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.modal__head h2 { font-size: 24px; letter-spacing: -0.03em; }
.modal__lead { margin-bottom: 20px; color: var(--ink-2); max-width: 52ch; }
.modal__note { margin-top: 16px; font-size: 13px; color: var(--ink-2); max-width: 52ch; }
.modal--form form { display: flex; flex-direction: column; gap: 16px; }
.po-summary { font-size: 13px; color: var(--ink-2); }
.po-ref { font-size: 18px; margin-bottom: 16px; }
.po-ref strong { color: var(--accent-text); font-weight: 500; }
.unit { display: inline-flex; gap: 4px; margin-bottom: 12px; }
.unit__btn { min-height: 44px; min-width: 56px; background: none; border: 1px solid var(--border); border-radius: 999px; font-family: var(--mono); font-size: 12px; }
.unit__btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.table-wrap { overflow-x: auto; }
.sg-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.sg-table th, .sg-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--border); font-weight: 400; }
.sg-table thead th { color: var(--ink-2); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Product page ---------- */
.pdp { max-width: 1600px; margin-inline: auto; padding: 16px var(--gx) clamp(56px, 8vw, 128px); }
.crumbs { padding-block: 8px 16px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.pdp__gallery { display: flex; flex-direction: column; gap: 8px; }
.pdp__fig { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.pdp__fig img { width: 100%; height: auto; }
.pdp__fig--art { padding: clamp(24px, 5vw, 64px); }
.pdp__fig--art img { width: 100%; max-width: 446px; margin-inline: auto; }
.pdp__count, .dots { display: none; }
.pdp__buy { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; }
.pdp__name { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.04em; }
.pdp__price { font-family: var(--mono); font-size: 24px; font-weight: 500; color: var(--accent-text); }
.pdp__colour { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--ink-2); flex: none; }
.sw--stone { background: #B8AD9A; }
.sw--black { background: #2C2B28; }
.pdp__desc { max-width: 52ch; }
.pdp__sizes-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 500; font-size: 14px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes .size { min-width: 52px; }

/* Print option: two thumbnail buttons above the sizes (Auto Mode only) */
.pdp__prints { margin-bottom: 20px; }
.pdp__prints-label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.prints { display: flex; flex-wrap: wrap; gap: 8px; }
.print {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 6px 14px 6px 6px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--border); border-radius: 2px;
  font: inherit; cursor: pointer; text-align: left;
}
.print:hover { border-color: var(--ink); }
.print[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.print__img { width: 40px; height: 50px; object-fit: cover; object-position: 50% 30%; border-radius: 2px; background: var(--surface); flex: none; }
.print__label { font-size: 13px; line-height: 1.2; }

/* Designs section: tonal deep link under the Auto Mode story */
.row__tonal { font-size: 13px; }
.pdp__note { font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.acc-list { margin-top: 8px; }
.acc dl { margin: 0; padding-bottom: 24px; display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: 14px; }
.acc dt { color: var(--ink-2); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.acc dd { margin: 0; }
.also { margin-top: clamp(56px, 8vw, 112px); padding-top: 24px; border-top: 1px solid var(--border); }
.also h2 { font-size: 14px; font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 16px; }
.also__link { display: flex; align-items: center; gap: 20px; text-decoration: none; max-width: 560px; }
.also__link img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--border); border-radius: 2px; background: var(--surface); }
.also__name { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.also__link:hover .also__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.buybar { display: none; }

/* ---------- 404 ---------- */
.nf { max-width: var(--max); margin-inline: auto; padding: clamp(72px, 12vw, 160px) var(--gx); }
.nf__err { font-family: var(--mono); font-size: clamp(22px, 5vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.nf__err .star { margin-right: .2em; }
.nf__try { margin-top: 24px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); }
.nf .btn { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .cur { display: none; }
}

@media (max-width: 899px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__buy { position: static; }
  .pdp__gallery { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin-inline: calc(var(--gx) * -1); padding-inline: var(--gx); scrollbar-width: none; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__fig { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
  .pdp__count { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
  .dots { display: flex; gap: 6px; margin-top: 8px; }
  .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
  .dot.is-on { background: var(--ink); }
  .pdp__media { display: flex; flex-direction: column; }
  .pdp__media .pdp__count { order: 2; }
  .pdp { padding-bottom: 104px; }
  .buybar {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px var(--gx); background: var(--bg); border-top: 1px solid var(--border);
  }
  .buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .buybar__name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__price { font-family: var(--mono); font-size: 14px; color: var(--accent-text); }
  .buybar .btn { flex: none; padding: 0 20px; }
  .is-pdp .toast { bottom: 88px; }
}

@media (max-width: 899px) {
  .row, .row--flip { grid-template-columns: 1fr; }
  .row--flip .row__media { order: 0; }
  .drop2__form { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid details:nth-last-child(2) { border-bottom: 0; }
}

@media (max-width: 719px) {
  .hero { display: grid; grid-template-columns: 100%; height: auto; min-height: 0; overflow: visible; background: var(--bg); border-bottom: 0; }
  .hero__img { position: static; grid-row: 1; grid-column: 1; height: min(calc(100svh - 200px), 120vw); min-height: 320px; }
  .hero__copy, .hero__btns { display: contents; }
  .hero .hero__shop { grid-row: 1; grid-column: 1; align-self: end; justify-self: start; margin: 0 0 16px var(--gx); }
  .hero .chip { background: none; border: 0; border-radius: 0; padding: 0 var(--gx); }
  .hero__cap { position: static; grid-row: 2; margin-top: 16px; color: var(--ink-2); }
  .hero__title { grid-row: 3; margin-top: 8px; font-size: 32px; padding: 0 var(--gx) !important; }
  .hero .hero__reserve { grid-row: 4; justify-self: start; margin: 20px 0 0 var(--gx); }
  .hero__meta { position: static; grid-row: 5; margin-top: 20px; color: var(--ink-2); }
  .shop__grid { grid-template-columns: 1fr; gap: 40px; }
  .band__line { text-align: left; }
  .anno { display: none; }
  .anno-note.sr-only { position: static; width: auto; height: auto; margin: 8px 0 0; clip: auto; overflow: visible; white-space: normal; }
  .toast { bottom: 16px; }
  .perm { align-self: end; margin-bottom: 16px; }
}

@media (min-width: 720px) {
  .anno-note { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee__track { width: auto; overflow: hidden; }
  .marquee__dup { display: none; }
  .strip { scroll-behavior: auto; }
}

/* Additions: scroll lock under modals, stable gutter, larger guide target */
html { scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow: hidden; }
.pdp__sizes-head .link--btn { min-height: 44px; padding-inline: 4px; margin-block: 0; }
