/* Treatyourself. A warm light-grey wall, ink, and the chrome of the rail. Square corners everywhere, one accent (ink).
   Two typefaces: Geist for reading and titles, Pirata One (a broken gothic, cut like the T of the logo) for the
   names of the pieces. */

@font-face { font-family: "Pirata One"; font-style: normal; font-weight: 400; font-display: block; src: url("/fonts/pirata-one-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/geist-sans-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  /* pearl concrete (brief, 8 Nov): pearl ground, lighter pearl surfaces, charcoal ink, one acid green for signals */
  --bg: #d8d6cf;
  --surface: #e5e3dd;
  --surface-2: #f1efe9;
  --stone: #b9b7b0;
  --line: rgba(23, 25, 26, 0.14);
  --line-strong: rgba(23, 25, 26, 0.34);
  --text: #17191a;
  --graphite: #242728;
  --muted: #4a4946; /* 5.9:1 on --bg, more on the surfaces */
  --accent: #17191a;
  --on-accent: #f1efe9;
  /* --signal is never text: only small marks next to dark ink (status pip, active dot, the inner focus line) */
  --signal: #c7ff3d;
  --error: #a3271b;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: var(--sans);
  --gothic: "Pirata One", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 40; --z-dialog: 50; --z-menu: 60; --z-bag: 70; --z-skip: 100;
  /* the wall the pieces hang on, everywhere: warm light grey, like the plaster the pieces were shot against. The
     cutouts carry their own hanger; --glow is the soft shadow they cast on the wall. */
  --wall: #d8d6cf;
  --wall-2: #e5e3dd;
  --wall-ink: #17191a;
  --wall-ink-2: #4a4946;
  --wall-line: rgba(20, 20, 20, 0.35);
  --metal: linear-gradient(180deg, #f4f4f2 0%, #a9a8a4 45%, #6e6d69 60%, #c9c8c4 100%);
  --glow: drop-shadow(0 2px 2px rgba(40, 34, 24, 0.1)) drop-shadow(0 16px 18px rgba(40, 34, 24, 0.14));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* the plaster: a fine grain over the whole wall, so it reads as a surface, not a screen */
body::after { content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.42 0 0 0 0 0.38 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 5px rgba(199, 255, 61, 0.55); }
::selection { background: var(--accent); color: var(--on-accent); }

.skip { position: absolute; left: 8px; top: -60px; z-index: var(--z-skip); background: var(--accent); color: var(--on-accent); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(216, 214, 207, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
/* the bar: links left and right in small spaced capitals, the monogram in the middle */
.bar { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: block; justify-self: center; text-decoration: none; }
.brand-mark { height: 48px; width: 48px; filter: brightness(0.16); transition: transform 0.5s var(--ease); } /* the silver monogram, in ink */
.brand:hover .brand-mark { transform: rotate(-6deg); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a, .bag-btn { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"], .bag-btn:hover { color: var(--text); border-color: var(--accent); }
.tools { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.4vw, 34px); }
.link-btn { appearance: none; background: none; border: 0; padding: 6px 0; font: 400 0.875rem/1 var(--sans); color: var(--text); cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.bag-btn { font-family: var(--sans); color: var(--text); }
.bag-btn span { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; margin-left: 4px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 0.65rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bag-btn:hover { text-decoration: none; }
.menu-btn { display: none; min-height: 44px; }

.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg); padding: 32px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font: 500 clamp(2.2rem, 10vw, 3.2rem)/1.1 var(--display); letter-spacing: -0.035em; text-decoration: none; padding: 6px 0; }
.menu nav a:last-child { font: 500 0.85rem/1 var(--sans); letter-spacing: 0.16em; color: var(--muted); margin-top: 20px; }

/* ---------- buttons, links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); font: 500 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 18px 30px; min-height: 52px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.15s var(--ease); }
.btn:hover { background: transparent; color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: progress; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--text); }
.tlink { display: inline-flex; gap: 0.4em; align-items: baseline; font-size: 0.92rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; transition: gap 0.3s var(--ease); }
.tlink:hover { gap: 0.7em; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 0.92rem; color: var(--muted); border-left: 2px solid var(--text); padding-left: 14px; max-width: 60ch; }
.note a { color: var(--text); }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; max-width: 680px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .choices legend { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
input, textarea { width: 100%; background: rgba(255, 255, 255, 0.35); color: var(--text); border: 1px solid var(--line-strong); border-radius: 0; padding: 15px 16px; font: 400 1rem/1.4 var(--sans); min-height: 52px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
textarea { resize: vertical; }
input:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); background: rgba(255, 255, 255, 0.6); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 0.85rem; }
.hint { color: var(--muted); font-size: 0.8rem; max-width: 56ch; }
.hint a { color: var(--text); }
/* one choice among a few: chips, the chosen one in ink */
.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 10px; }
.choices > div { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; display: block; }
.choices input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); font-size: 0.9rem; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.choices input:hover + span { border-color: var(--text); }
.choices input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.choices input:disabled { cursor: not-allowed; }
.choices input:disabled + span { opacity: 0.45; text-decoration: line-through; }
.choices small { display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.form-end { display: grid; gap: 12px; justify-items: start; }
.form-ok { font: 500 1.15rem/1.35 var(--display); letter-spacing: -0.01em; border-left: 2px solid var(--text); padding: 6px 0 6px 16px; max-width: 46ch; }
.form.is-sent > :not(.form-ok) { display: none; }
.form-inline { gap: 14px; max-width: 520px; }
.noform { display: grid; gap: 24px; justify-items: start; }

/* ---------- type ---------- */
.h1 { font: 500 clamp(2.6rem, 6vw, 5.6rem)/0.98 var(--display); letter-spacing: -0.045em; max-width: 16ch; }
.h1-s { font: 500 clamp(1.8rem, 3.6vw, 3rem)/1.05 var(--display); letter-spacing: -0.03em; max-width: 22ch; }
.h2 { font: 500 clamp(1.9rem, 3.4vw, 3.2rem)/1.02 var(--display); letter-spacing: -0.04em; max-width: 18ch; }
.h3 { font: 500 clamp(1.15rem, 1.6vw, 1.4rem)/1.2 var(--display); letter-spacing: -0.015em; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: var(--muted); max-width: 46ch; }
.sec-sub { color: var(--muted); max-width: 52ch; }
.pd-h { font: 500 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ---------- reveal (only when JS is present) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .split-text.reveal { transition-delay: 0.12s; }

.sec { padding-block: clamp(80px, 11vw, 176px); }

/* ---------- home: the sky ----------
   The first thing under the rail. The photograph's sky is one flat blue (#6a86c3, sampled from it); that blue carries
   on past the photo's edges and becomes the whole band, so the figure stands in a field of sky the width of the screen,
   head bowed towards the words. The photo's edges fade into the band, so it has no frame. Ink on this blue is 5:1. */
.sky { --sky: #6a86c3; background: var(--sky); overflow: hidden; }
.sky-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.sky-text { grid-column: 1 / span 5; grid-row: 1; align-self: center; display: grid; gap: 18px; justify-items: start; padding-block: clamp(56px, 7vw, 112px); }
.sky-text > p { max-width: 44ch; }
.sky-media { grid-column: 6 / span 7; grid-row: 1; align-self: end; margin-right: calc(var(--gutter) * -1); }
/* the figure sits between 25% and 82% of the frame, so the fades only ever touch sky */
.sky-media img { width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 90%, transparent), linear-gradient(transparent, #000 12%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 90%, transparent), linear-gradient(transparent, #000 12%); mask-composite: intersect; }
@media (max-width: 899px) {
  .sky-in { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .sky-text { grid-column: 1; padding: clamp(56px, 14vw, 88px) var(--gutter) 0; }
  .sky-media { grid-column: 1; grid-row: 2; margin: 0; }
  /* larger than the screen and shifted, so the figure is centred and bigger; the band's overflow crops the sky */
  .sky-media img { width: 128%; max-width: none; margin-left: -18%; }
}

/* ---------- editorial splits: a photograph and a few lines, alternating sides ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 32px; align-items: center; max-width: 1400px; margin-inline: auto; padding: clamp(40px, 5.5vw, 88px) var(--gutter); }
.split-media { grid-column: 1 / span 6; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.split-text { grid-column: 8 / span 5; display: grid; gap: 18px; justify-items: start; }
.split-text > p { color: var(--muted); max-width: 44ch; }
.split-rev .split-text { grid-column: 1 / span 5; grid-row: 1; }
.split-rev .split-media { grid-column: 7 / span 6; grid-row: 1; }
.split-atel .split-text { grid-column: 1 / span 5; grid-row: 1; }
.split-atel .split-media { grid-column: 7 / span 5; grid-row: 1; }
.split-atel .split-media img { aspect-ratio: 1; }
/* two photographs, the smaller one laid over the corner of the larger, on the side of the text */
.split-pair { position: relative; padding-bottom: clamp(40px, 7vw, 110px); }
.split-pair > figure:first-child { width: 78%; }
.split-pair img { aspect-ratio: 3 / 4; }
.split-inset { position: absolute; right: 0; bottom: 0; width: 38%; border: 8px solid var(--bg); box-shadow: 0 18px 40px -18px rgba(40, 34, 24, 0.45); }
@media (max-width: 899px) {
  .split, .split-rev, .split-atel { grid-template-columns: 1fr; }
  .split > *, .split-rev > *, .split-atel > * { grid-column: 1 !important; grid-row: auto !important; }
  .split-rev .split-media { order: -1; }
}

/* ---------- home: stay close (or the updates form) ---------- */
.stay { display: grid; gap: 28px; padding-block: clamp(64px, 9vw, 140px); border-top: 1px solid var(--line); }
.stay-side { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 900px) { .stay { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(56px, 8vw, 120px) clamp(24px, 3vw, 48px); display: grid; gap: 22px; justify-items: start; }
.count { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.grid-sec { padding-bottom: clamp(80px, 10vw, 160px); }
.pdesc { max-width: 44ch; }

/* custom orders */
.c-hero, .l-hero { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 96px) clamp(56px, 8vw, 128px); align-items: end; }
.c-hero-t, .l-hero-t { display: grid; gap: 24px; justify-items: start; }
.c-hero-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.l-hero-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) {
  .c-hero, .l-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 88px); }
  .c-hero-t, .l-hero-t { padding-bottom: clamp(8px, 2vw, 32px); }
}
.steps { display: grid; gap: 36px; padding-block: clamp(56px, 8vw, 128px); border-top: 1px solid var(--line); }
.steps-head { display: grid; gap: 22px; align-content: start; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-n { font: 500 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--display); letter-spacing: -0.04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps-list p { color: var(--muted); margin-top: 6px; max-width: 52ch; }
@media (min-width: 900px) { .steps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 88px); } .steps-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.done { display: grid; gap: 8px; justify-items: start; padding-block: clamp(56px, 8vw, 128px); border-top: 1px solid var(--line); }
.done .pg-grid { width: 100%; padding-block: clamp(24px, 4vw, 56px); }
.done-head { display: grid; gap: 16px; }
.c-form { display: grid; gap: 40px; padding-block: clamp(56px, 8vw, 128px) clamp(80px, 10vw, 160px); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.c-form-side { display: grid; gap: 32px; align-content: start; }
.c-form-side figure { width: min(100%, 300px); }
.c-form-side img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 900px) { .c-form { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 88px); } }

/* the label */
.statement { display: grid; gap: 28px; padding-block: clamp(72px, 11vw, 176px); border-top: 1px solid var(--line); }
.statement-h { font: 500 clamp(2.4rem, 6.2vw, 6rem)/0.96 var(--display); letter-spacing: -0.05em; max-width: 14ch; }
@media (min-width: 900px) { .statement .lead { margin-left: 50%; } }
.worn { display: grid; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 8vw, 128px); border-top: 1px solid var(--line); }
.worn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px) clamp(16px, 2.4vw, 40px); align-items: start; }
.worn-grid figure:nth-child(3n + 2) { margin-top: clamp(32px, 7vw, 112px); }
.worn-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.worn-grid img[src*="arena-camuflado"] { object-position: 50% 78%; } /* tall photo: keep the jacket, not the ceiling */
.worn-grid figcaption { margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.worn-grid figcaption a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.atel { display: grid; gap: 28px; padding-block: clamp(56px, 8vw, 128px) clamp(80px, 10vw, 160px); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.atel > div { display: grid; gap: 24px; justify-items: start; }
@media (min-width: 900px) { .atel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* contact */
.ct { display: grid; gap: 48px; padding-block: clamp(56px, 8vw, 120px); }
.ct-head { display: grid; gap: 22px; align-content: start; justify-items: start; }
.ct-direct { display: grid; gap: 4px; margin-top: 12px; }
@media (min-width: 900px) { .ct { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 88px); } }
.faq { display: grid; gap: 36px; padding-block: clamp(56px, 8vw, 120px) clamp(80px, 10vw, 160px); border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 0 clamp(24px, 4vw, 64px); }
.faq-list > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.faq-list dt { font: 500 1.08rem/1.3 var(--display); letter-spacing: -0.01em; }
.faq-list dd { color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) { .faq-list { grid-template-columns: 1fr 1fr; } }

/* after checkout */
.order { display: grid; gap: 28px; justify-items: start; padding-block: clamp(64px, 10vw, 160px); min-height: 60svh; }
.order > div { display: grid; gap: 20px; justify-items: start; }
.order h1:focus { outline: none; }
.order-dl { display: flex; flex-wrap: wrap; gap: 12px 48px; margin-top: 12px; }
.order-dl dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.order-dl dd { font: 500 1.4rem/1.2 var(--display); font-variant-numeric: tabular-nums; }

.nf { padding-block: clamp(64px, 9vw, 140px); display: grid; gap: 22px; justify-items: start; }
.nf .wrap-icon { width: 88px; }
.nf-en { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

/* ---------- legal documents ---------- */
.legal-doc { padding-bottom: clamp(80px, 10vw, 160px); }
.legal-doc > * { max-width: 760px; }
.draft { font-size: 0.85rem; color: var(--muted); border-left: 2px solid var(--accent); background: var(--surface); padding: 14px 18px; margin-bottom: 40px; }
.lg-sec { padding-block: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.lg-sec p, .lg-sec li { color: var(--muted); max-width: 66ch; }
.lg-sec ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.ph { background: rgba(20, 20, 20, 0.06); color: var(--accent); padding: 1px 5px; border-bottom: 1px dashed var(--accent); }

/* ---------- footer: graphite, the Instagram call and four worn photos first, then the map ----------
   The footer re-points the tokens, so .btn turns pearl on graphite and every muted line stays legible. */
.site-footer { --text: #f1efe9; --muted: #a8a69f; --line: rgba(241, 239, 233, 0.14); --line-strong: rgba(241, 239, 233, 0.34); --accent: #f1efe9; --on-accent: #17191a; --surface: #2e3132;
  background: var(--graphite); color: var(--text); }
.site-footer a:not(.btn) { color: var(--text); }
.foot-cta { display: grid; gap: clamp(36px, 5vw, 64px); padding-block: clamp(72px, 10vw, 152px) clamp(56px, 7vw, 104px); }
.foot-cta-t { display: grid; justify-items: start; align-content: end; }
.foot-h { font: 500 clamp(2.6rem, 6.4vw, 6rem)/0.94 var(--display); letter-spacing: -0.045em; margin: 0 0 20px; }
.foot-cta-t p { color: var(--muted); max-width: 30ch; margin: 0 0 32px; }
.foot-cta .btn { text-transform: none; letter-spacing: 0.02em; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 18px); align-items: start; }
.foot-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.foot-grid img:nth-child(even) { margin-top: clamp(18px, 3.2vw, 56px); }
@media (hover: hover) { .foot-grid:hover img { opacity: 0.6; } .foot-grid:hover img:hover { opacity: 1; transform: translateY(-4px); } }
.foot-grid:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; }
@media (min-width: 900px) { .foot-cta { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; } }
.foot { display: grid; grid-template-columns: 1fr; gap: 36px; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 700px) { .foot { grid-template-columns: 1.4fr 1fr; } }
.foot-mark { width: 64px; height: 64px; margin-bottom: 14px; }
.foot-brand p { color: var(--muted); max-width: 32ch; font-size: 0.9rem; }
.foot-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 clamp(40px, 7vw, 112px); align-content: start; }
.foot-nav div { display: grid; gap: 12px; align-content: start; }
.foot a { font-size: 0.95rem; text-decoration: none; width: fit-content; }
.foot a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-block: 24px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-nav a { color: var(--muted); font-size: 0.8rem; text-decoration: none; }
.legal-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.3em; }

/* ---------- the bag: a panel from the right ---------- */
.bag { position: fixed; inset: 0; z-index: var(--z-bag); background: rgba(20, 20, 20, 0.32); }
.bag-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); display: flex; flex-direction: column; gap: 20px; padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; box-shadow: -24px 0 60px -30px rgba(40, 34, 24, 0.5); }
.bag.is-in .bag-panel { animation: bag-in 0.5s var(--ease); }
@keyframes bag-in { from { transform: translateX(40px); opacity: 0; } }
.bag-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bag-h { font: 500 1.5rem/1 var(--display); letter-spacing: -0.03em; }
.bag-h:focus { outline: none; }
.bag-empty { display: grid; gap: 20px; justify-items: start; color: var(--muted); }
.bag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bag-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-list img { width: 76px; aspect-ratio: 1122 / 1402; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.18)); }
.bag-name { font: 400 1.25rem/1.05 var(--gothic); color: #000; text-decoration: none; }
.bag-size { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.bag-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; border: 1px solid var(--line-strong); }
.bag-qty button { width: 36px; height: 36px; border: 0; background: none; font: inherit; cursor: pointer; }
.bag-qty button:disabled { opacity: 0.3; cursor: default; }
.bag-qty output { min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.bag-rm { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.bag-price { font-variant-numeric: tabular-nums; }
.bag-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 8px; }
.bag-sum { display: flex; justify-content: space-between; font: 500 1.1rem/1 var(--display); font-variant-numeric: tabular-nums; padding-top: 12px; border-top: 1px solid var(--line); }
.bag-go { width: 100%; }
.bag-zone span { font-size: 0.82rem; }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .bar { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; }
  .menu-btn { display: inline-block; }
  .worn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .worn-grid figure:nth-child(n) { margin-top: 0; }
  .legal { flex-direction: column; }
}
@media (max-width: 520px) {
  .tools { gap: 16px; }
  .btn { width: 100%; }
  .contact-links { display: grid; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- the pieces on the wall ---------- */

/* the grid of pieces (archive, private label) */
.pg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px) clamp(12px, 2vw, 32px); padding-block: clamp(48px, 7vw, 112px); }
@media (min-width: 700px) { .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-card { display: block; text-decoration: none; color: inherit; }
.pg-img { display: block; }
.pg-img img { width: 100%; aspect-ratio: 1122 / 1402; object-fit: contain; transition: transform 0.6s var(--ease); }
/* a photo piece (real photographs, no hanger render yet): cut out of its backdrop, it lies on the wall with the same soft shadow */
.pg-card:hover .pg-img img { transform: translateY(-4px); }
.pg-meta { display: block; margin-top: 10px; }
.pg-meta strong { display: block; font: 400 1.45rem/1.05 var(--gothic); color: #000; }
.pg-meta small { display: block; margin-top: 6px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- a piece's page: its views hang on a short rail ----------
   Each coat is a transparent cutout (coat, hanger and hook), lit by a soft drop-shadow on the wall.
   make-web-images.py frames every cutout with the top of its hook at 50% / 2.85% of the image and the same
   hook-to-hem drop, so the rail sits 3.42% down the image (just under the hook wire; 4.28% of its width) for every piece. */
.rack-sec { --ink: var(--wall-ink); --ink-2: var(--wall-ink-2); position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: var(--bg); }
.rk-stage { --w: clamp(200px, min(28vw, 36svh), 400px); --pad: clamp(20px, 3vw, 44px); position: relative; }
.rk-rail { position: absolute; left: 0; right: 0; top: calc(var(--pad) + (var(--w) - 8px) * 0.0428); height: 3px; z-index: 0; background: var(--metal); box-shadow: 0 4px 6px -3px rgba(0, 0, 0, 0.3); }
.rk-track { display: flex; list-style: none; margin: 0; padding: var(--pad) calc(50% - var(--w) / 2) 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; touch-action: pan-x pan-y; }
.rk-track::-webkit-scrollbar { display: none; }
.rk-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.rk-track:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.rk-item { flex: 0 0 var(--w); scroll-snap-align: center; padding-inline: 4px; }
.rk-link { display: block; width: 100%; color: inherit; -webkit-user-drag: none; }
.rk-item[data-spin] .rk-link { cursor: pointer; }
.rk-art { display: block; transform-origin: 50% 2.85%; will-change: transform, filter, opacity; backface-visibility: hidden; transition: filter 0.5s var(--ease); }
.rk-art img { width: 100%; aspect-ratio: 1122 / 1402; object-fit: contain; -webkit-user-drag: none; user-select: none; }
/* the turn: the front coat spins a full 360 on hover, tap or the 360 button */
.rk-spin { display: block; position: relative; transform-style: preserve-3d; }
.rk-spin img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rk-spin img.rk-b { position: absolute; inset: 0; transform: rotateY(180deg); }
.rk-spin.is-flipped { transform: rotateY(180deg); }

.rk-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 280px) auto; align-items: end; gap: clamp(20px, 4vw, 56px); margin-top: clamp(12px, 2vw, 28px); }
.rk-info { min-height: 7rem; }
.rk-info.in { animation: rk-in 0.7s var(--ease) both; }
@keyframes rk-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rk-idx { font: 500 0.95rem/1 var(--sans); letter-spacing: 0.14em; color: var(--ink-2); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.rk-idx b { font-weight: 500; color: var(--ink); }
.rk-kind { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.rk-name { font: 400 clamp(2.2rem, 4.6vw, 3.8rem)/1 var(--gothic); color: #000; margin: 0; }
.rk-progress { height: 1px; background: var(--line); align-self: center; position: relative; overflow: hidden; }
.rk-progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.rk-actions { display: flex; align-items: center; gap: 10px; }
.rk-btn { width: 50px; height: 50px; font: inherit; font-size: 1.1rem; background: transparent; color: var(--ink); border: 1px solid var(--wall-line); border-radius: 0; cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease); }
.rk-btn:hover:not(:disabled) { background: var(--ink); color: var(--wall); }
.rk-btn:active:not(:disabled) { transform: scale(0.96); }
.rk-btn:disabled { opacity: 0.3; cursor: default; }
.rk-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.rk-turn { font-size: 0.78rem; letter-spacing: 0.08em; width: auto; padding-inline: 14px; }
.rk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rk-note { font-size: 0.78rem; color: var(--ink-2); margin-top: 14px; max-width: 70ch; }
@media (max-width: 899px) {
  .rk-stage { --w: clamp(200px, 58vw, 300px); }
  .rk-panel { grid-template-columns: 1fr; gap: 18px; }
  .rk-progress { order: 3; }
  .rk-actions { flex-wrap: wrap; }
  .rk-info { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .rk-art { transform: none !important; filter: none !important; will-change: auto; transition: none; } .rk-info.in { animation: none; } }

.pd-band { padding-block: clamp(20px, 3vw, 40px) clamp(24px, 3vw, 48px); }
.pd-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 1; }
.pd-back { display: inline-flex; gap: 10px; align-items: center; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.pd-back:hover { border-color: var(--text); }
.pd-pos { font-size: 0.85rem; letter-spacing: 0.14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd-body { display: grid; gap: clamp(32px, 5vw, 64px); padding-block: clamp(32px, 5vw, 72px); align-items: start; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .pd-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.pd-copy .rk-kind { margin-bottom: 14px; }
.pd-copy .pdesc { font-size: 1.1rem; max-width: 46ch; color: var(--text); }
.pd-buy { display: grid; gap: 10px; justify-items: start; }
.pd-status { font: 500 1.4rem/1.2 var(--display); letter-spacing: -0.02em; max-width: 28ch; }
.pd-price { font: 500 clamp(1.8rem, 2.6vw, 2.3rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.buy { display: grid; gap: 18px; justify-items: start; margin-top: 18px; width: 100%; }
.buy .btn { min-width: min(100%, 320px); }
.pd-more { display: grid; gap: 40px; padding-block: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.pd-facts { display: grid; gap: 32px 48px; }
@media (min-width: 900px) { .pd-facts { grid-template-columns: 1fr 1fr; } }
.pd-facts p, .pd-facts dd, .pd-q p { color: var(--muted); max-width: 52ch; }
.pd-facts dl { display: grid; gap: 10px; }
.pd-facts dl > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; }
.pd-facts dt { color: var(--text); }
.pd-facts .tlink { margin: 10px 20px 0 0; }
.pd-terms { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-width: 46ch; }
.pd-terms li { position: relative; padding-left: 18px; font-size: 0.86rem; color: var(--muted); }
.pd-terms li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--text); }
.sizes small { margin-left: 2px; padding: 2px 6px; border-radius: 999px; background: rgba(20, 20, 20, 0.08); letter-spacing: 0.08em; }
.sizes input:checked + span small { background: rgba(233, 232, 228, 0.2); }
.guide { width: 100%; max-width: 440px; margin-top: 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.guide caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: 0.78rem; color: var(--muted); }
.guide th, .guide td { padding: 10px 12px 10px 0; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.guide thead th { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.guide tbody th { font-weight: 500; }
.pd-q { display: grid; gap: 8px; justify-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.pd-next-step { color: var(--muted); margin-bottom: 10px; }
.pd-next, .pd-studio { padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); }
.pd-nbs { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pd-nbs { grid-template-columns: 1fr 1fr; } }
.pd-nb { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; padding: 12px 0; border-bottom: 1px solid var(--line); transition: border-color 0.4s var(--ease); }
.pd-nb:hover { border-color: var(--text); }
.pd-nb-next { flex-direction: row-reverse; text-align: right; justify-content: space-between; }
.pd-nb-img { width: 72px; flex: none; isolation: isolate; }
.pd-nb-img img { width: 100%; aspect-ratio: 1122 / 1402; object-fit: contain; }
.pd-plates { display: grid; gap: clamp(12px, 2vw, 28px); padding-block: clamp(16px, 3vw, 40px); }
@media (min-width: 900px) { .pd-plates { grid-template-columns: 1fr 1fr; } }
.pd-plates img { width: 100%; height: auto; filter: var(--glow); }
.pd-plates figcaption { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.pd-name { padding-bottom: clamp(16px, 3vw, 40px); }
.pd-nb-t { font: 400 1.5rem/1.05 var(--gothic); color: #000; }
.pd-nb-t small { display: block; font: 400 0.72rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pd-studio-grid { display: grid; gap: 12px; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pd-studio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-studio-grid img { width: 100%; height: auto; }

/* moving between piece pages, the coat morphs from one page to the next */
@view-transition { navigation: auto; }
::view-transition-group(coat) { animation-duration: 0.62s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-old(coat), ::view-transition-new(coat) { mix-blend-mode: normal; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- transparent garment cutouts on the wall: the soft shadow they cast ---------- */
.rk-art img, .pg-img img { filter: var(--glow); }
.pd-nb-img img { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)); }

/* ---------- home: the rail is the hero ----------
   One screen: header, the rail under a soft light from above, the name of the piece in focus, then the line and the
   two ways in, set like a caption under a photograph, and the marquee at the foot. --w is a
   jacket's width (held back on short screens), --p the distance between hooks; --room, kept at both ends, is what a
   jacket facing you needs (half its width at 1.12, its uneven step and a margin), so the piece in focus is never cut. The cutouts are framed alike by
   make-web-images.py: the hook's wire runs from 2.85% to 3.28% of the image's height at its middle, so the tube
   sits just under it, 3.3% down. */
body.is-home { --mq-h: 40px; }
.vt { --w: clamp(150px, min(25vw, 48svh), 420px); --h: calc(var(--w) * 1.2496); --p: calc(var(--w) * 0.36); --room: calc(var(--w) * 0.68);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100svh - var(--header-h) - var(--mq-h)); min-height: calc(100dvh - var(--header-h) - var(--mq-h)); padding: clamp(20px, 4svh, 48px) 0;
  /* soft light from the top left, slightly cool, falling on the plaster */
  background: radial-gradient(58% 62% at 26% 6%, rgba(246, 248, 250, 0.7), rgba(246, 248, 250, 0) 70%), radial-gradient(40% 40% at 80% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%); }
.vt-stage { position: relative; width: min(66%, 1180px); }
.vt-tube { position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 3px; background: var(--metal); box-shadow: 0 3px 5px -2px rgba(0, 0, 0, 0.28); z-index: 0; }
.vt-tube::before, .vt-tube::after { content: ""; position: absolute; top: -5px; width: 12px; height: 16px; border-radius: 2px; background: var(--metal); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); }
.vt-tube::before { left: -8px; } .vt-tube::after { right: -8px; }
.vt-view { position: relative; z-index: 1; display: flex; margin-top: calc(var(--h) * -0.033); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.vt-view::-webkit-scrollbar { display: none; }
/* when the rail is longer than the window onto it: whole pieces snap into place, and the jackets peeking in at the
   ends fade out */
.vt.is-over .vt-view { margin-inline: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc(var(--room) - var(--p) / 2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 calc(var(--room) * 0.55), #000 calc(100% - var(--room) * 0.55), transparent); mask-image: linear-gradient(90deg, transparent, #000 calc(var(--room) * 0.55), #000 calc(100% - var(--room) * 0.55), transparent); }
.vt.is-over .vt-item { scroll-snap-align: start; }
.vt-item.is-edge .vt-hit { pointer-events: none; } /* half-seen at the ends: slide it in first (arrows, keys, trackpad) */
.vt-track { display: flex; flex: none; margin: 0 auto; padding: 0 calc(var(--room) - var(--p) / 2); list-style: none; overflow-x: clip; } /* jackets pushed aside never grow the scroll width (that would re-snap the rail under the pointer). flex: none, because WebKit lets a clipped flex item shrink to the window and the rail would stop scrolling */
.vt-item { position: relative; flex: 0 0 var(--p); width: var(--p); height: calc(var(--h) * 1.16); } /* the width too: everything inside is absolutely placed, and WebKit sizes the track from its pieces' widths, not their flex basis */
.vt-hit { position: absolute; inset: 0; z-index: 2; border-radius: 2px; }
.vt-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vt-hang { position: absolute; top: 0; left: 50%; width: var(--w); margin-left: calc(var(--w) / -2); transform-origin: 50% 2.85%; transform: rotate(var(--tilt)); perspective: 1400px; perspective-origin: 50% 40%; pointer-events: none; }
.vt-turn { display: block; transform-origin: 50% 2.85%; transform: rotateY(38deg); will-change: transform; }
.vt-turn img { width: 100%; aspect-ratio: 1122 / 1402; filter: var(--glow) drop-shadow(-10px 0 12px rgba(0, 0, 0, 0.16)); -webkit-user-drag: none; user-select: none; } /* each jacket also shades the one it overlaps */
.vt-turn img.is-missing { visibility: hidden; }
.vt-missing { position: absolute; left: 10%; right: 10%; top: 30%; text-align: center; font: 400 1.1rem/1.2 var(--gothic); color: var(--muted); }
.vt-arrow { position: absolute; top: calc(var(--h) * 0.42); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(229, 227, 221, 0.88); color: var(--text); font: inherit; cursor: pointer; }
.vt-prev { left: -60px; } .vt-next { right: -60px; }
.vt-arrow:disabled { opacity: 0.3; cursor: default; }
.vt-arrow:hover:not(:disabled) { background: var(--text); color: var(--bg); }
/* under the rail: the piece in focus (its name in the gothic, its colour in small capitals), or how to use the rail */
.vt-under { display: grid; justify-items: center; min-height: 3.4rem; margin-top: clamp(2px, 1svh, 10px); }
.vt-name { min-height: 1.8rem; display: flex; align-items: baseline; gap: 0.6em; text-align: center; }
.vt-name b { font: 400 1.45rem/1 var(--gothic); color: #000; }
.vt-name span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.vt-hint { margin-top: 4px; font-size: 0.75rem; color: var(--muted); text-align: center; transition: opacity 0.6s var(--ease); }
.vt-hint .for-touch { display: none; }
@media (hover: none) { .vt-hint .for-mouse { display: none; } .vt-hint .for-touch { display: inline; } }
.vt.is-used .vt-hint { opacity: 0; }
/* the caption: the line on the left, what it means and the two ways in on the right */
/* the marquee: the brand's own lines, in ink, slowly */
.mq { position: relative; height: var(--mq-h); display: flex; align-items: center; overflow: hidden; background: #141414; color: #e9e8e4; }
.mq.is-paused .mq-in { animation-play-state: paused; }
/* moving for more than five seconds, so it can be stopped (WCAG 2.2.2) */
.mq-stop { position: absolute; right: 0; top: 0; bottom: 0; min-width: 48px; padding: 0 14px 0 26px; border: 0; background: linear-gradient(90deg, rgba(20, 20, 20, 0), #141414 40%); color: #e9e8e4; font: inherit; font-size: 0.7rem; letter-spacing: 0.16em; cursor: pointer; }
.mq-stop:focus-visible { outline: 2px solid #e9e8e4; outline-offset: -4px; }
.mq-in { display: flex; width: max-content; animation: mq 70s linear infinite; }
.mq-in p { white-space: nowrap; font: 500 0.75rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; padding-right: 0.6em; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (max-width: 639px) {
  .vt { --w: clamp(140px, min(54vw, 42svh), 280px); --p: calc(var(--w) * 0.33); padding-inline: 0; } /* several pieces in view, turned like on a desktop */
  .vt-stage { width: 100%; }
  .vt-tube { left: var(--gutter); right: var(--gutter); }
  .vt-view { scroll-snap-type: x mandatory; }
  .vt-track { padding: 0 calc(50vw - var(--p) / 2); }
  .vt-item { scroll-snap-align: center; }
  .vt-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mq-in { animation: none; } .mq-stop { display: none; } }
@media (pointer: coarse) { body.is-home { --mq-h: 44px; } }

/* ---------- home: the piece, up close ----------
   A dialog over the rail, which stays behind, blurred and faint. The piece hangs larger, facing you, on the same
   hanger; under it its name, its colour, FRONT / BACK, what it is and what you can do about it. Colour tags hang
   beside it on threads. --tint is the chosen colour, mixed into the wall at 9%. */
.vt, .site-header { transition: opacity 0.45s var(--ease); } /* the blur itself is not animated: re-blurring the whole rail every frame drops frames */
html.vd-on { overflow: hidden; }
html.vd-on .vt, html.vd-on .site-header { filter: blur(8px); opacity: 0.25; }
.vd { --dw: clamp(220px, min(34vw, 46svh), 470px); position: fixed; inset: 0 0 var(--mq-h, 0px); z-index: 50; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: center; padding: clamp(48px, 7svh, 72px) var(--gutter) max(24px, env(safe-area-inset-bottom)); /* it ends above the marquee, and scrolls on short screens */ background: color-mix(in srgb, var(--tint, transparent) 9%, transparent); transition: background 0.6s var(--ease); }
.vd.is-in > :not(.vd-stage), .vd.is-out > :not(.vd-stage) { transition: opacity 0.35s var(--ease); }
.vd.is-out > :not(.vd-stage) { opacity: 0; }
.vd-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: max(var(--gutter), env(safe-area-inset-right)); z-index: 2; min-height: 44px; padding: 0 4px; background: none; border: 0; font: inherit; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); cursor: pointer; }
.vd-close:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.vd-arrow { position: fixed; top: 42%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--text); background: transparent; color: var(--text); font: inherit; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.vd-prev { left: max(var(--gutter), env(safe-area-inset-left)); } .vd-next { right: max(var(--gutter), env(safe-area-inset-right)); }
.vd-arrow:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.vd-arrow:disabled { opacity: 0.25; cursor: default; }
.vd-stage { position: relative; width: var(--dw); flex: none; }
.vd-piece { position: relative; transform-origin: 50% 2.85%; }
.vd-hang { transform-origin: 50% 2.85%; perspective: 1600px; perspective-origin: 50% 40%; }
.vd-card { position: relative; transform-style: preserve-3d; transform-origin: 50% 2.85%; }
.vd-card img { width: 100%; aspect-ratio: 1122 / 1402; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: var(--glow); -webkit-user-drag: none; user-select: none; }
.vd-card .vd-b, .vd-card .is-b { position: absolute; inset: 0; transform: rotateY(180deg); }
.vd-card .is-f { position: absolute; inset: 0; }
.vd-card.is-missing img { visibility: hidden; }
.vd-card.is-missing::after { content: attr(data-missing); position: absolute; inset: 30% 10% auto; text-align: center; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
/* a new colour: the next photograph painted on from the hem up through a wavy mask with a few drips ahead of it
   (ink), or faded in when the two colours' silhouettes differ (fade) */
.vd-ink.ink { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200' preserveAspectRatio='none'%3E%3Cpath d='M0 104 C8 98 14 106 22 101 S34 92 40 99 S52 108 60 100 S70 90 78 98 S92 106 100 99 L100 200 L0 200 Z'/%3E%3Ccircle cx='17' cy='93' r='2.2'/%3E%3Ccircle cx='48' cy='90' r='1.6'/%3E%3Cellipse cx='71' cy='88' rx='2' ry='3.4'/%3E%3Ccircle cx='88' cy='94' r='1.4'/%3E%3C/svg%3E") 0 0 / 100% 230% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200' preserveAspectRatio='none'%3E%3Cpath d='M0 104 C8 98 14 106 22 101 S34 92 40 99 S52 108 60 100 S70 90 78 98 S92 106 100 99 L100 200 L0 200 Z'/%3E%3Ccircle cx='17' cy='93' r='2.2'/%3E%3Ccircle cx='48' cy='90' r='1.6'/%3E%3Cellipse cx='71' cy='88' rx='2' ry='3.4'/%3E%3Ccircle cx='88' cy='94' r='1.4'/%3E%3C/svg%3E") 0 0 / 100% 230% no-repeat; transition: -webkit-mask-position 1.15s cubic-bezier(0.55, 0.1, 0.25, 1), mask-position 1.15s cubic-bezier(0.55, 0.1, 0.25, 1); }
.vd-ink.ink.go { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.vd-ink.fade { opacity: 0; transition: opacity 0.45s var(--ease); }
.vd-ink.fade.go { opacity: 1; }
/* colour tags on threads, beside the piece */
.vd-tags { position: absolute; top: 2%; left: 100%; display: flex; gap: 6px; padding-left: clamp(8px, 2vw, 28px); }
.vd-tag { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 34px 4px 4px; background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; transform-origin: 50% 0; }
.vd-tag::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 34px; background: var(--line-strong); }
.vd-tag i { width: 26px; height: 42px; border-radius: 3px 3px 2px 2px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18), 0 6px 10px -6px rgba(0, 0, 0, 0.5); position: relative; }
.vd-tag i::after { content: ""; position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); } /* the hole the thread goes through */
.vd-tag span { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.vd-tag[aria-pressed="true"] { color: var(--text); }
.vd-tag[aria-pressed="true"] i { outline: 1.5px solid var(--text); outline-offset: 2px; }
.vd-tag[aria-pressed="true"] span { text-decoration: underline; text-underline-offset: 0.3em; }
.vd-tag.swing { animation: vd-swing 1.1s var(--ease); }
@keyframes vd-swing { 20% { transform: rotate(7deg); } 45% { transform: rotate(-4deg); } 70% { transform: rotate(2deg); } }
.vd-info { display: grid; justify-items: center; gap: 8px; margin-top: clamp(6px, 1.4svh, 16px); text-align: center; max-width: 440px; }
.vd-name { font: 400 clamp(1.6rem, 2.4vw, 2rem)/1 var(--gothic); letter-spacing: 0.01em; color: #000; }
.vd-name:focus { outline: none; }
.vd-colour { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: -4px; }
.vd-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--text); border-radius: 999px; padding: 3px; }
.vd-seg button { position: relative; z-index: 1; min-width: 84px; min-height: 36px; padding: 0 16px; background: none; border: 0; border-radius: 999px; font: inherit; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); cursor: pointer; transition: color 0.3s var(--ease); }
.vd-seg button[aria-pressed="true"] { color: var(--bg); }
.vd-seg button:disabled { opacity: 0.35; cursor: not-allowed; }
.vd-seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--text); transition: transform 0.45s var(--ease); }
.vd-seg.is-back i { transform: translateX(100%); }
.vd-status { display: grid; justify-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); width: min(560px, 90vw); }
.vd-status > p:first-child { max-width: 46ch; }
.vd-status .btn { min-height: 44px; padding: 12px 22px; font-size: 0.7rem; }
.vd-status .contact-links { justify-content: center; }
.vd-price { font: 500 1.6rem/1 var(--display); letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.vd-status .wl { gap: 10px; width: min(360px, 80vw); text-align: left; }
@media (max-width: 639px) {
  .vd { --dw: min(60vw, 40svh); padding-top: 64px; }
  .vd-arrow { top: auto; bottom: calc(var(--mq-h, 0px) + 16px); width: 44px; height: 44px; }
  .vd-tags { flex-direction: column; gap: 0; padding-left: 6px; }
  .vd-tag { padding-top: 22px; } .vd-tag::before { height: 22px; }
}
/* touch screens of any width: fingers need 44 px, and the rail snaps a piece to the middle */
@media (pointer: coarse) {
  .vd-seg button { min-height: 44px; }
}
@media (hover: none) { .vt-view { scroll-snap-type: x mandatory; } .vt-item { scroll-snap-align: center; } }
@media (prefers-reduced-motion: reduce) { .vd-ink.ink { -webkit-mask: none; mask: none; } }

/* ---------- 8 Nov: archive status, the rail's openings, the new home sections ---------- */
.pip { display: inline-block; width: 7px; height: 7px; margin-right: 0.6em; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1px var(--graphite), 0 0 10px rgba(199, 255, 61, 0.7); vertical-align: 0.12em; }
.eyebrow, .vd-st, .pd-status { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pd-line, .vd-line { font: 400 1.35rem/1.15 var(--gothic); }
@media (prefers-reduced-motion: reduce) { .pip { box-shadow: 0 0 0 1px var(--graphite); } }

/* an opening in the rail: the garments on either side overlap its edges, so the line reads as the space they make */
.vt-gap { position: relative; flex: 0 0 calc(var(--w) * 1.25); height: calc(var(--h) * 1.16); display: grid; align-items: start; justify-items: center; z-index: 0; }
.vt-gap-t { margin-top: calc(var(--h) * 0.3); text-align: center; font: 400 clamp(1.3rem, calc(var(--w) * 0.13), 2.6rem)/0.98 var(--gothic); color: var(--graphite); }
.vt-gap-t small { display: block; margin-top: 0.9em; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.vt.is-over .vt-gap { scroll-snap-align: start; }
@media (max-width: 639px) { .vt-gap { flex-basis: 62vw; scroll-snap-align: center; } }
@media (hover: none) { .vt-gap { scroll-snap-align: center; } }

/* a landscape photo beside text, uncropped: the label's "Antes da peça, a ideia." */
.split-wide .split-media { grid-column: 1 / span 7; }
.split-wide .split-media img { aspect-ratio: 3 / 2; }
.split-wide .split-text { grid-column: 9 / span 4; }
@media (max-width: 899px) { .split-wide .split-media, .split-wide .split-text { grid-column: 1 / -1; } }

/* Mozambique: the black and white rail photo bleeds off the left edge, the text sits low on the right */
.moz { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); align-items: end; background: var(--graphite); color: var(--surface-2); }
.moz-media { grid-column: 1 / span 7; }
.moz-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.moz-text { grid-column: 9 / span 4; display: grid; gap: 18px; padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 6vw, 96px) 0; }
.moz-text p { color: #c9c8c2; max-width: 42ch; }
@media (max-width: 899px) { .moz { grid-template-columns: minmax(0, 1fr); } .moz-media, .moz-text { grid-column: 1; } .moz-text { padding: 40px var(--gutter) 56px; } }

/* archive and projects: a strip of worn and stage photos at uneven heights, scrolled sideways */
.worn-strip { padding-block: clamp(48px, 6vw, 96px); }
.worn-head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(24px, 3vw, 40px); }
.worn-head p { color: var(--muted); max-width: 46ch; }
.worn-row { display: flex; align-items: flex-start; gap: clamp(12px, 1.6vw, 24px); margin: 0; padding: 0 var(--gutter) 12px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.worn-row li { flex: 0 0 clamp(200px, 22vw, 340px); scroll-snap-align: start; }
.worn-row li:nth-child(even) { margin-top: clamp(32px, 5vw, 80px); }
.worn-row li:nth-child(3n) { flex-basis: clamp(240px, 28vw, 420px); }
.worn-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.worn-row figcaption { margin-top: 8px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* A marca opens on the idea itself (the NOTOS photo), no separate hero */
.l-open { padding-top: clamp(40px, 6vw, 96px); }
.l-open .h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.statement .contact-links { margin-top: 12px; }
