/* EMPIRE — site styles. Rules and tokens: docs/DESIGN-SYSTEM.md.
   The frame is black and white; every colour on the page comes from the artwork. */

:root {
  --paper: #ffffff;
  --mist: #f4f3f1;
  --ink: #0b0b0b;
  --ink-2: #5c5c5c;
  --line: #e2e0dc;
  --paper-on-ink: #f3f1ec;
  --ink-2-on-ink: #a09d97;
  --line-on-ink: rgba(243, 241, 236, 0.16);
  --error: #a1271b;
  --gutter: 20px;
  --header: 56px;
  --gap: 2px;
  --tile-gap: clamp(14px, 1.8vw, 28px); /* between products in a grid */
  --font: 'Jost', 'Futura', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 15px; font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--ink); color: var(--paper); }
html.menu-open { overflow: hidden; }

/* ---------- type and actions ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -120px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.skip:focus { top: 12px; }
.label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; }
.display { font-weight: 300; font-size: clamp(30px, 4.1vw, 56px); line-height: 1.08; letter-spacing: -0.012em; }
.title { font-weight: 300; font-size: clamp(25px, 2.7vw, 38px); line-height: 1.16; letter-spacing: -0.008em; }
.title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.title a:hover { background-size: 100% 1px; }
.link {
  display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4;
  padding: 4px 0 7px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}
.link:hover { background-position: 100% 100%; background-size: 0 1px; }
.link-inline { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 0.3s; }
.link-inline:hover { text-decoration-color: transparent; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 32px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.25; text-align: center;
  transition: background-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}
.btn:hover { background: #2e2e2e; }
.btn--block { display: flex; width: 100%; }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { background: var(--mist); color: var(--ink-2); border-color: var(--line); cursor: not-allowed; }
.note { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; text-align: center; }
.note--left { text-align: left; }
.ph { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.86em; color: #5b2f8f; border-bottom: 1px dashed currentColor; }

/* Headings wrap in balanced lines; paragraphs avoid a lone last word. */
.display, .title, .statement__line, .sect__title, .pdp__name, .ft__title, .drawer__title, .menu__design, .empty__title, .steps__title { text-wrap: balance; }
p, dd, figcaption { text-wrap: pretty; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: var(--paper); transition: transform 0.55s var(--ease), box-shadow 0.3s, background-color 0.45s var(--ease-soft), color 0.45s var(--ease-soft); view-transition-name: site-header; }
.hd.is-on-dark { background: var(--ink); color: var(--paper-on-ink); box-shadow: none; }
.hd.is-on-dark :focus-visible { outline-color: var(--paper-on-ink); }
.hd.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__bar, .menu__bar { height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); }
.hd__start { justify-self: start; }
.hd__end { justify-self: end; display: flex; align-items: center; gap: 30px; }
.hd__btn { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.hd__btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.burger { position: relative; display: inline-block; width: 22px; height: 12px; flex: none; }
.burger span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger span:first-child { top: 2px; }
.burger span:last-child { top: 9px; }
.burger--x span:first-child { top: 6px; transform: rotate(45deg); }
.burger--x span:last-child { top: 6px; transform: rotate(-45deg); }
.wordmark { display: inline-block; font-size: 18px; font-weight: 500; letter-spacing: 0.42em; margin-right: -0.42em; text-transform: uppercase; line-height: 1; padding: 10px 0; }
.hd__link { position: relative; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 13px 0; white-space: nowrap; }
.hd__link::after { content: ''; position: absolute; left: 0; right: 0.16em; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.hd__link:hover::after, .hd__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hd__link--wide { display: none; }
/* Phones: the bag needs the room beside the wordmark; release news stays in the footer. */
@media (max-width: 479px) { .hd__link--notify { display: none; } }
@media (min-width: 700px) { .hd__btn-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (min-width: 1024px) { .wordmark { font-size: 22px; } .hd__link--wide { display: inline-block; } }

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.menu__bar { flex: none; }
.menu__body { flex: 1; display: grid; gap: 40px; padding: 20px var(--gutter) 48px; }
.menu__label { color: var(--ink-2); margin-bottom: 18px; }
.menu__designs a { display: flex; align-items: baseline; gap: 16px; padding: 5px 0; }
.menu__design { font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -0.012em; background: linear-gradient(currentColor, currentColor) 0 92% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.menu__designs a:hover .menu__design, .menu__designs a:focus-visible .menu__design, .menu__designs a[aria-current] .menu__design { background-size: 100% 1px; }
.menu__type { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.menu__more { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; max-width: 540px; }
.menu__more a { display: inline-block; padding: 9px 0; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.menu__more a:hover, .menu__more a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.menu__contact { margin-top: 26px; font-size: 13px; color: var(--ink-2); }
.menu__preview { display: none; }
@media (min-width: 1024px) {
  .menu__body { grid-template-columns: minmax(0, 1fr) auto; padding: 32px var(--gutter) 56px; align-items: start; }
  .menu__preview { display: block; position: sticky; top: 32px; width: min(36vw, calc((100svh - var(--header) - 96px) * 2 / 3)); aspect-ratio: 1364 / 2046; background: var(--mist); overflow: hidden; }
  .menu__img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.7s var(--ease-soft); }
  .menu__img.is-on { opacity: 1; }
}

/* ---------- images ---------- */
.tile__media, .shot, .details__media, .feature__media, .archive-entry__media figure { background: var(--backdrop, var(--mist)); }
.fx .tile__img--front, .fx .feature__img, .fx .details__img, .fx .art__img { opacity: 0; transition: opacity 1.1s var(--ease-soft); }
.fx .is-loaded { opacity: 1 !important; }
.tile__img--back { opacity: 0; transition: opacity 0.75s var(--ease-soft); }
@media (hover: hover) {
  .tile__media:hover .tile__img--back { opacity: 1; }
}
.tile[data-view="back"] .tile__img--back { opacity: 1; }

/* ---------- home: the opening (who EMPIRE is), on black, beside the film ---------- */
.is-home .hd { position: fixed; left: 0; right: 0; }
.opening { overflow: hidden; overflow: clip; display: grid; gap: 36px; min-height: 100svh; padding: calc(var(--header) + 28px) 0 0; background: var(--ink); color: var(--paper-on-ink); }
.opening__copy { display: grid; justify-items: start; gap: 18px; max-width: 34rem; padding: 0 var(--gutter); }
.opening__crest { width: 52px; height: auto; margin-bottom: 6px; }
.opening .label { color: var(--ink-2-on-ink); }
.opening__title { font-weight: 300; font-size: clamp(38px, 4.6vw, 70px); line-height: 1.04; letter-spacing: -0.016em; text-wrap: balance; }
.opening__line { font-weight: 300; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; color: var(--ink-2-on-ink); }
.opening__links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 10px; }
/* The film: one 9:16 film on phones and tablets, as tall as the window allows; on large
   screens the two design loops stand side by side, full height under the header. */
.opening__film { display: flex; justify-content: center; }
.film { display: block; width: 100%; max-width: calc((100svh - var(--header)) * 9 / 16); height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.film[data-film-wide] { display: none; }
@media (min-width: 1200px) {
  .opening { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0; height: 100svh; min-height: 680px; padding: var(--header) 0 0 clamp(48px, 6vw, 112px); }
  .opening__copy { max-width: 40rem; padding: 0 48px 0 0; }
  .opening__title { font-size: clamp(38px, 3.7vw, 60px); }
  .opening__film { align-self: stretch; height: calc(100svh - var(--header)); min-height: calc(680px - var(--header)); gap: 0; }
  /* large screens: one film, framed 3:4 (the middle of each 9:16 shot), a third wider than the shots */
  .film[data-film-wide] { display: block; width: auto; max-width: none; height: 100%; aspect-ratio: 3 / 4; }
  .film[data-film-narrow] { display: none; }
}
.art { display: grid; justify-items: center; gap: 12px; margin: 0; }
.art__img { width: auto; height: auto; max-width: 100%; }
.art__frame { position: relative; display: block; max-width: 100%; }
.art__frame > .art__img { display: block; }
.art__cap { font-size: 12px; color: var(--ink-2-on-ink); text-align: center; }

/* ---------- home: the house, in three principles ---------- */
.house { padding: clamp(96px, 12vw, 176px) 0 clamp(80px, 10vw, 144px); }
.house__title { max-width: 16ch; }
.house__intro { max-width: 34em; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.pillars { display: grid; gap: 40px; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.pillars__item { display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; }
.pillars__n { display: inline-block; font-weight: 300; font-size: 28px; line-height: 1; letter-spacing: 0.08em; }
.pillars__title { font-size: 19px; font-weight: 400; line-height: 1.32; }
.pillars__item p { max-width: 24em; font-size: 14.5px; color: var(--ink-2); }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; row-gap: 0; }
  .pillars__item { grid-row: span 3; grid-template-rows: subgrid; row-gap: 14px; align-items: start; }
}

/* ---------- home: the edition, on a quiet panel ---------- */
.band--mist { padding-top: clamp(88px, 11vw, 160px); background: var(--mist); }
.band__note { max-width: 40em; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--gutter); font-size: 14.5px; color: var(--ink-2); text-align: center; }
.band--collection { padding-top: clamp(88px, 11vw, 160px); }
.band--collection .note { margin-top: 28px; }

/* ---------- home: the artwork, three designs told in plates, on black ----------
   Each design: its numeral, name and line, then four plates, each with a cue and a sentence,
   from the garment as worn into the drawing. Large screens: every plate is pinned (sticky) beside
   its text, and each new plate slides up over the last, so the reader moves in closer as they
   read. Phones and tablets: each plate sits above its text. The section must not clip overflow,
   or the plates would not stay pinned. A design's plates share one 4:5 size (--plate-max, set
   per design by tools/build.mjs so no plate is drawn larger than its file). */
.works { padding: clamp(96px, 12vw, 176px) 0 clamp(96px, 12vw, 168px); background: var(--ink); color: var(--paper-on-ink); }
.works .label, .works .band__intro, .story__line, .story__say { color: var(--ink-2-on-ink); }
.story { --plate-h: min(74svh, 820px); max-width: 1280px; margin: clamp(96px, 13vw, 200px) auto 0; padding: 0 var(--gutter); }
.story__head { display: grid; justify-items: center; gap: 10px; margin-bottom: clamp(48px, 7vw, 96px); text-align: center; }
.story__n { font-weight: 200; font-size: clamp(56px, 8vw, 112px); line-height: 0.9; letter-spacing: 0.06em; color: var(--paper-on-ink); }
.story__name { font-weight: 300; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -0.01em; }
.story__line { font-size: clamp(16px, 1.35vw, 19px); }
.story__body { display: grid; justify-items: center; }
.story__fig { width: min(100%, var(--plate-max)); margin: 0; }
.story__fig .art__frame, .story__photo { display: block; width: 100%; }
.story__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.story__text { max-width: 28em; margin: 28px auto clamp(64px, 12vw, 104px); text-align: center; }
.story__cue { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin-bottom: 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-on-ink); }
.story__k { font-weight: 300; font-size: 13px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink-2-on-ink); }
.story__k::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: 0.6; }
.story__say { font-size: clamp(18px, 1.55vw, 22px); font-weight: 300; line-height: 1.55; }
.story__foot { margin-top: clamp(8px, 2vw, 24px); text-align: center; }
@media (min-width: 1024px) {
  .story__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(56px, 7vw, 128px); justify-items: stretch; }
  .story__fig {
    grid-column: 1; grid-row: var(--row); align-self: start; justify-self: center;
    position: sticky; top: max(calc(var(--header) + 24px), calc((100svh - var(--plate-h) + var(--header)) / 2));
    width: min(100%, var(--plate-max), calc(var(--plate-h) * 0.8));
    /* Each plate lower in the stack is a few pixels smaller (--under, set by tools/build.mjs), so the
       plate above always covers it fully: no sub-pixel sliver of it shows at the edges. */
    scale: var(--under, 1);
  }
  .story__text { grid-column: 2; grid-row: var(--row); display: grid; align-content: center; min-height: 100svh; margin: 0; text-align: left; }
  .story__cue { justify-content: flex-start; }
  .story--right .story__body { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .story--right .story__fig { grid-column: 2; }
  .story--right .story__text { grid-column: 1; justify-items: end; text-align: right; }
  .story--right .story__cue { justify-content: flex-end; }
  .story__foot { margin-top: clamp(40px, 5vw, 72px); }
}

/* Light text links on black */
.opening .link, .works .link { color: var(--paper-on-ink); }
.opening :focus-visible, .works :focus-visible { outline-color: var(--paper-on-ink); }

/* ---------- statements ---------- */
.statement { display: grid; justify-items: center; gap: 26px; padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(88px, 12vw, 168px); text-align: center; }
.statement__line { font-weight: 300; font-size: clamp(28px, 3.5vw, 48px); line-height: 1.12; letter-spacing: -0.012em; max-width: 18ch; }
.statement__body { max-width: 34em; color: var(--ink-2); }

.statement--pdp { padding-top: clamp(80px, 10vw, 144px); padding-bottom: 0; gap: 18px; }

/* ---------- feature: one design, front and back (About page), kept at a sharp size ---------- */
.feature { padding-bottom: clamp(72px, 10vw, 136px); }
.feature__media { display: block; max-width: 1100px; margin: 0 auto; }
.feature__img { width: 100%; height: auto; }
.feature__cap { display: grid; justify-items: center; gap: 14px; padding: 30px var(--gutter) 0; text-align: center; }
.feature__tagline { color: var(--ink-2); }
.feature__note { padding: 14px var(--gutter) 0; font-size: 12.5px; color: var(--ink-2); text-align: center; }

/* ---------- bands and tiles ---------- */
.band { padding-bottom: clamp(72px, 10vw, 136px); }
.band__head { display: grid; justify-items: center; gap: 14px; padding: 0 var(--gutter); margin-bottom: clamp(32px, 4vw, 56px); text-align: center; }
.band__head .title { max-width: 24ch; }
.band__head--left { justify-items: start; text-align: left; }
@media (min-width: 700px) { .band__head--left { grid-template-columns: 1fr auto; align-items: end; } }
.band__intro { max-width: 32em; color: var(--ink-2); }
.band__foot { margin-top: clamp(36px, 4vw, 56px); text-align: center; }

.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px var(--tile-gap); }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { min-width: 0; }
.tile__media { display: block; position: relative; aspect-ratio: 1364 / 2046; overflow: hidden; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 6px 16px; padding: 14px 14px 0; }
.tile__text { min-width: 0; }
.tile__name { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; }
.tile__name a:hover { text-decoration: underline; text-underline-offset: 5px; }
.tile__meta { margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.tile__status { font-size: 13px; line-height: 1.55; }
.tile__price { font-weight: 500; }
.tile__status--sub { color: var(--ink-2); }
.views { display: inline-flex; gap: 16px; }
.views__btn { min-height: 32px; padding: 6px 0 4px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.views__btn:hover { color: var(--ink); }
.views__btn[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
@media (min-width: 1024px) { .tile__cap { padding: 18px 24px 0; } }
/* The renders hold about 680 px of real detail per figure, so grids stop growing at a
   width where a retina screen still draws them sharply. */
/* Grids wrap with a centred last row; at full width each tile is exactly 416 px. */
.tiles--grid, .collection .tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px var(--tile-gap); max-width: 1252px; margin: 0 auto; }
.tiles--grid .tile, .collection .tile { flex: 0 0 100%; }
@media (min-width: 600px) { .tiles--grid .tile, .collection .tile { flex-basis: calc((100% - var(--tile-gap)) / 2); } }
@media (min-width: 1024px) { .tiles--grid .tile, .collection .tile { flex-basis: calc((100% - 2 * var(--tile-gap)) / 3); } }
@media (min-width: 1252px) { .tiles--grid .tile__cap, .collection .tile__cap { padding: 18px 14px 0; } }

/* About: one design, front and back, side by side */
.diptych { padding-bottom: clamp(72px, 10vw, 136px); }
.diptych__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); max-width: 834px; margin: 0 auto; }
.diptych__fig { aspect-ratio: 2 / 3; background: var(--backdrop, var(--mist)); }
.diptych__img { width: 100%; height: 100%; }

/* Horizontal rails on small screens: the next item peeks in to show there is more. */
.details__row, .tiles--others { scrollbar-width: none; }
.details__row::-webkit-scrollbar, .tiles--others::-webkit-scrollbar { display: none; }
@media (max-width: 1023px) {
  .details__row, .tiles--others { display: flex; gap: var(--tile-gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .details__item, .tiles--others .tile { flex: 0 0 78vw; scroll-snap-align: start; }
  .tiles--others .tile { flex-basis: 66vw; }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .details__item { flex-basis: 44vw; }
  .tiles--others .tile { flex-basis: 34vw; }
}
@media (min-width: 1024px) {
  .details__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); max-width: 1000px; margin: 0 auto; }
  .tiles--others { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px var(--tile-gap); max-width: 1670px; margin: 0 auto; }
  .tiles--others .tile { flex: 0 0 calc((100% - 3 * var(--tile-gap)) / 4); }
  .tiles--others .tile__cap { padding: 16px 16px 0; }
}

/* ---------- editions in four steps ---------- */
.steps { display: grid; gap: 36px; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.steps__item { position: relative; padding-top: 20px; border-top: 1px solid var(--ink); }
.steps__n { display: block; margin-bottom: 26px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; }
.steps__title { margin-bottom: 10px; font-size: 19px; font-weight: 400; line-height: 1.32; }
.steps__item p { font-size: 14px; color: var(--ink-2); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; } }
@media (min-width: 1024px) { .band--steps .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- page intro, filters, collection ---------- */
.intro { display: grid; justify-items: center; gap: 18px; padding: clamp(48px, 8vw, 112px) var(--gutter) clamp(36px, 5vw, 64px); text-align: center; }
.intro__title { max-width: 18ch; }
.intro__lead { max-width: 36em; color: var(--ink-2); }
.filters { display: flex; justify-content: center; gap: 30px; margin-top: 14px; }
.filters__btn { padding: 10px 0 7px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.filters__btn:hover { color: var(--ink); }
.filters__btn[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.collection { display: grid; gap: clamp(56px, 7vw, 96px); }
.group__label { display: flex; justify-content: space-between; gap: 16px; padding: 0 var(--gutter) 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.group__label span:last-child { font-weight: 400; color: var(--ink-2); }
.notes { display: grid; gap: 6px; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(72px, 10vw, 128px); font-size: 12.5px; color: var(--ink-2); text-align: center; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); }
.pdp__media { min-width: 0; }
.shots__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.shots__track::-webkit-scrollbar { display: none; }
.shot { position: relative; flex: 0 0 100%; aspect-ratio: 1364 / 2046; scroll-snap-align: start; }
.shot__img { width: 100%; height: 100%; }
.zoom { position: absolute; inset: 0; width: 100%; height: 100%; cursor: zoom-in; }
.zoom:focus-visible { outline: 2px solid var(--paper); outline-offset: -8px; box-shadow: inset 0 0 0 6px var(--ink); }
.shots__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px var(--gutter) 0; }
.shots__note { font-size: 12px; color: var(--ink-2); }
.pdp__info { padding: 28px var(--gutter) 24px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #b3b0ab; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pdp__name { margin-top: 20px; font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.014em; }
.pdp__meta { margin-top: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.pdp__short { margin-top: 18px; color: var(--ink-2); }
.pdp__render { margin-top: 12px; font-size: 12px; color: var(--ink-2); }
@media (min-width: 700px) {
  .shots__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); overflow: visible; }
  .shot { flex: none; }
  .shots__nav .views { display: none; }
  .shots__nav { justify-content: flex-end; }
  .pdp__info { padding: 40px var(--gutter) 24px; max-width: 640px; }
}
/* Desktop: front and back side by side at a size the renders hold sharply; the pair
   stays in view while the information column scrolls beside it. */
/* Each image box is a whole, even number of pixels wide (so its 2:3 height is whole too)
   and starts on a whole pixel, matching an image file of exactly that width. */
@media (min-width: 1024px) {
  .pdp { --shot: 320px; grid-template-columns: calc(2 * var(--shot) + var(--gap)) minmax(0, 1fr); align-items: start; }
  .pdp__media { position: sticky; top: var(--header); }
  .shots__track { grid-template-columns: repeat(2, var(--shot)); }
  .shots__nav { justify-content: flex-start; padding: 12px var(--gutter) 0; }
  .pdp__info { padding: 48px clamp(40px, 5vw, 96px) 80px; max-width: none; }
  .pdp__sticky { max-width: 440px; }
}
@media (min-width: 1280px) { .pdp { --shot: 384px; } }
@media (min-width: 1440px) { .pdp { --shot: 416px; } }
@media (min-width: 1680px) { .pdp { --shot: 480px; } }

/* purchase panel */
.buy { display: grid; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
/* The remaining count: a large light numeral, the edition size beside it, and a hairline gauge. */
.count { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 14px; margin: 4px 0 2px; }
.count__n { font-weight: 300; font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.count__of { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.count__bar { grid-column: 1 / -1; display: block; height: 1px; margin-top: 12px; background: var(--line); }
.count__bar > span { display: block; height: 1px; background: var(--ink); }
/* Gis and rashguards, each its own section (home) and titled group (collection page). */
.band--range { padding-top: clamp(88px, 11vw, 160px); }
.band--range .display { max-width: 18ch; }
.group__head { display: grid; justify-items: center; gap: 12px; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(28px, 4vw, 48px); text-align: center; }
.group__intro { max-width: 32em; color: var(--ink-2); }
.menu__group { list-style: none; }
.menu__group + .menu__group { margin-top: 22px; }
.menu__group-title { display: block; margin-bottom: 8px; }
.bag__msg { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.buy__state { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.buy__price { font-size: 22px; font-weight: 400; line-height: 1.3; }
.buy__edition { font-size: 13.5px; }
.buy__line { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.buy .btn { margin-top: 6px; }
.buy__sizes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 13.5px; color: var(--ink-2); }
.buy__sizes > span { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.buy__dispatch { display: grid; gap: 4px; font-size: 14px; padding-top: 6px; }
.buy__note { font-size: 13px; color: var(--ink-2); }
.progress { padding-top: 6px; }
.progress__title { margin-bottom: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.progress ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress li { padding-top: 10px; border-top: 2px solid var(--line); font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.progress li.is-done { border-top-color: var(--ink); }
.progress li.is-current { border-top-color: var(--ink); color: var(--ink); font-weight: 500; }

/* sizes */
.order { display: grid; gap: 18px; }
.sizes { min-width: 0; margin: 0; padding: 0; border: 0; }
.sizes__legend { margin-bottom: 10px; padding: 0; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.sizes__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.size { position: relative; }
.size input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.size span { display: flex; align-items: center; justify-content: center; height: 46px; border: 1px solid var(--line); font-size: 13px; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.size input:hover + span { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.sizes.is-invalid .size span { border-color: var(--error); }
.sizes__error, .order__error { margin-top: 8px; font-size: 13px; color: var(--error); }
.sizes__hint, .order__guide { font-size: 13px; color: var(--ink-2); }

/* accordions */
.acc { margin-top: 30px; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; cursor: pointer; list-style: none; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum::after {
  content: ''; flex: none; width: 11px; height: 11px;
  background: linear-gradient(currentColor, currentColor) center / 11px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 11px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.acc__item[open] > .acc__sum::after { background-size: 11px 1px, 1px 0; }
.acc__body { display: grid; gap: 12px; padding: 0 0 22px; font-size: 14px; color: var(--ink-2); }
.acc--faq .acc__sum { padding: 20px 0; font-size: 15.5px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.acc--faq .acc__body { font-size: 15px; }
.acc__body p { color: var(--ink-2); }
.acc__muted { font-size: 13px; }

/* edge-to-edge pair, close-ups and the rest of the collection on a product page */
.feature--pdp { padding-top: clamp(64px, 9vw, 120px); padding-bottom: 0; }
.details { padding: clamp(72px, 9vw, 128px) 0 0; }
/* In detail: each piece's story, on the page black. Two staggered columns on large screens (the second
   set lower, as in a magazine spread), one column on phones. Every picture is capped at --max, 55% of its
   real detail, so none is ever drawn larger than its file (check 14). */
.dstory { margin-top: clamp(72px, 9vw, 128px); padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(88px, 10vw, 160px); background: var(--ink); color: var(--paper-on-ink); }
.dstory__head { max-width: 40rem; margin: 0 auto clamp(56px, 7vw, 104px); text-align: center; }
.dstory__head .label { color: var(--ink-2-on-ink); }
.dstory__intro { margin-top: 18px; font-weight: 300; font-size: clamp(20px, 2vw, 27px); line-height: 1.45; text-wrap: balance; }
.dstory__list { display: grid; gap: clamp(48px, 6vw, 88px); max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; }
.dstory__beat figure { display: grid; justify-items: center; gap: 16px; margin: 0; }
.dstory__media { position: relative; width: min(100%, var(--max)); }
.dstory__img { display: block; width: 100%; height: auto; }
.dstory__beat--photo .dstory__media { box-shadow: 0 0 0 1px rgba(243, 241, 236, 0.08); }
.dstory figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; max-width: 26rem; font-size: 14px; line-height: 1.6; color: var(--ink-2-on-ink); }
.dstory__n { font-size: 11px; letter-spacing: 0.16em; color: #e6b842; padding-top: 3px; }
.dstory__beat--crest figure { gap: 22px; }
.dstory__crest { width: clamp(96px, 12vw, 150px); height: auto; }
.dstory .zoom { position: absolute; inset: 0; }
@media (min-width: 900px) {
  .dstory__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); row-gap: clamp(64px, 8vw, 120px); align-items: start; }
  .dstory__beat:nth-child(even) { margin-top: clamp(80px, 12vw, 200px); }
  .dstory__beat:nth-child(odd) figure { justify-items: end; }
  .dstory__beat:nth-child(even) figure { justify-items: start; }
  .dstory__beat--crest { grid-column: 1 / -1; margin-top: clamp(24px, 4vw, 64px) !important; }
  .dstory__beat--crest figure { justify-items: center !important; }
}
.details__title { margin-bottom: 26px; text-align: center; }
.details__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.details__img { width: 100%; height: 100%; }
.details figcaption { padding: 14px 16px 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.others { padding: clamp(80px, 10vw, 144px) 0 clamp(80px, 10vw, 136px); }
.others .band__head { margin-bottom: 28px; }

/* phone purchase bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); transform: translateY(105%); visibility: hidden; transition: transform 0.55s var(--ease), visibility 0s linear 0.55s; }
.buybar.is-shown { transform: none; visibility: visible; transition: transform 0.55s var(--ease), visibility 0s; }
.buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter); }
.buybar__name { display: grid; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5; }
.buybar__name span { font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.buybar .btn { min-height: 46px; padding: 0 22px; }
body.has-buybar .ft { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .buybar { display: none; } }

/* ---------- image viewer ---------- */
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.viewer::backdrop { background: var(--paper); }
.viewer__stage { position: absolute; inset: var(--header) 0 64px; display: grid; place-items: center; padding: 0 var(--gutter); }
.viewer__img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.viewer__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; justify-content: center; align-items: center; gap: 36px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.viewer__btn { min-height: 44px; }
.viewer__btn:hover { text-decoration: underline; text-underline-offset: 6px; }
.viewer__count { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.viewer__close { position: absolute; top: 0; right: var(--gutter); height: var(--header); min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; }

/* ---------- drawers: release sign-up and bag ---------- */
.drawer { width: min(460px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.drawer::backdrop { background: rgba(11, 11, 11, 0.4); }
.drawer__inner { display: grid; align-content: start; gap: 16px; height: 100%; padding: 0 32px 40px; overflow-y: auto; }
.drawer__close { justify-self: end; display: inline-flex; align-items: center; gap: 12px; height: var(--header); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.drawer .label { margin-top: 28px; color: var(--ink-2); }
.drawer__title { font-weight: 300; font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; }
.drawer__body { color: var(--ink-2); }
.drawer .signup { margin-top: 12px; }
.bag .drawer__title { margin-top: 28px; }
.bag__empty { display: grid; gap: 14px; justify-items: start; color: var(--ink-2); }
.bag__list { display: grid; gap: 14px; }
.bag__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bag__item img { width: 72px; height: 108px; object-fit: contain; background: var(--mist); }
.bag__name { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.bag__sizes { font-size: 13px; color: var(--ink-2); }
.bag__remove { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); min-height: 32px; }
.bag__foot { display: grid; gap: 12px; margin-top: 12px; }
.bag__note, .bag__off { font-size: 13px; color: var(--ink-2); }

/* ---------- release sign-up form ---------- */
.signup { display: grid; gap: 10px; text-align: left; }
.signup__label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.signup__row { display: grid; gap: 16px; }
.signup__input { width: 100%; padding: 12px 0; font: inherit; font-size: 16px; color: inherit; background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; }
.signup__input::placeholder { color: var(--ink-2); opacity: 1; }
.signup__input:focus { outline: none; }
.signup__input:focus-visible { outline: none; box-shadow: 0 1px 0 0 currentColor; }
.signup__input[aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.signup__submit { min-height: 54px; padding: 0 28px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; transition: background-color 0.35s, color 0.35s; }
.signup__submit:hover { background: #2e2e2e; }
.signup__consent { font-size: 12px; color: var(--ink-2); }
.signup__msg:empty { display: none; }
.signup__msg { font-size: 13.5px; line-height: 1.6; }
.signup__msg.is-error { color: var(--error); }
.signup__msg a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.ft { padding: clamp(72px, 10vw, 136px) var(--gutter) 40px; background: var(--ink); color: var(--paper-on-ink); }
.ft__signup { display: grid; justify-items: center; gap: 16px; max-width: 600px; margin: 0 auto; text-align: center; }
.ft__title { font-weight: 300; font-size: clamp(27px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.ft__body { max-width: 30em; color: var(--ink-2-on-ink); }
.ft .signup { width: 100%; margin-top: 18px; }
.ft .signup__input::placeholder, .ft .signup__consent { color: var(--ink-2-on-ink); }
.ft .signup__submit { background: var(--paper-on-ink); color: var(--ink); border-color: var(--paper-on-ink); }
.ft .signup__submit:hover { background: #ffffff; }
.ft .signup__msg.is-error { color: #ff9c8f; }
.ft .signup__input[aria-invalid="true"] { border-bottom-color: #ff9c8f; box-shadow: 0 1px 0 0 #ff9c8f; }
.ft :focus-visible { outline-color: var(--paper-on-ink); }
.ft__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; max-width: 1080px; margin: clamp(72px, 9vw, 112px) auto 0; padding-top: 40px; border-top: 1px solid var(--line-on-ink); }
.ft__h { margin-bottom: 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2-on-ink); }
.ft__col a { display: inline-block; padding: 5px 0; font-size: 14px; }
.ft__col a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ft__base { display: grid; justify-items: center; gap: 12px; margin-top: clamp(64px, 8vw, 96px); text-align: center; }
.ft__crest { width: 66px; height: auto; margin-bottom: 8px; }
.ft__line { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.ft__small { font-size: 12px; color: var(--ink-2-on-ink); }
.ft__small a:hover { text-decoration: underline; }
@media (min-width: 700px) {
  .ft .signup__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .ft__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- reading pages ---------- */
.prose-page { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 10vw, 128px); }
.prose-page--wide { max-width: 1080px; }
.sect { padding-top: clamp(40px, 5vw, 64px); }
.sect + .sect { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sect__title { margin-bottom: 20px; font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.008em; }
.sect__body { color: var(--ink-2); }
.sect__body + .sect__body, .sect__body p + p { margin-top: 14px; }
.sect__body--lead p { font-size: 17px; line-height: 1.78; color: var(--ink); }
.sect__link { margin-top: 28px; }
.sect .steps { padding: 0; }
.deflist > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.deflist > div:first-child { border-top: 1px solid var(--line); }
.deflist dt { font-weight: 500; }
.deflist dd { margin: 0; color: var(--ink-2); }
.deflist--tight > div { padding: 12px 0; }
@media (min-width: 700px) { .deflist:not(.deflist--tight) > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; } }
.timeline { margin-top: 28px; border-top: 1px solid var(--line); }
.timeline li { display: flex; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline span { min-width: 2.2em; padding-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--ink-2); }
.timeline + .note { margin-top: 14px; }
.outcomes { display: grid; gap: var(--gap); margin-top: 26px; }
.outcome { padding: 28px; background: var(--mist); }
.outcome__label { margin-bottom: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.outcome p:last-child { font-size: 14px; color: var(--ink-2); }
@media (min-width: 700px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* size charts */
.table-wrap { margin: 22px 0; overflow-x: auto; }
.chart { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.chart th, .chart td { padding: 12px 16px 12px 0; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.chart thead th { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
.chart tbody th { font-weight: 500; }
.measure-wrap { display: grid; gap: 24px; align-items: start; margin-top: 30px; }
.measure svg { width: 100%; max-width: 300px; height: auto; }
.m-garment { fill: var(--mist); stroke: var(--ink); stroke-width: 1; }
.m-seam { fill: none; stroke: var(--ink); stroke-width: 1; }
.m-line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.m-tick { stroke: var(--ink); stroke-width: 1; fill: none; }
.m-text { font-family: var(--font); font-size: 12px; fill: var(--ink); }
.measure-wrap .label { margin-bottom: 6px; }
@media (min-width: 700px) { .measure-wrap { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; } }
/* the size guide: per garment, its diagram beside its charts (Aesthetic's order) */
.size__sub { margin-top: -4px; color: var(--ink-2); }
.size__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; margin-top: 18px; }
.size__grid > * { min-width: 0; }
.size__charts .table-wrap:first-child { margin-top: 0; }
.size__charts .note + .table-wrap { margin-top: 28px; }
@media (min-width: 900px) { .size__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } .size .measure { position: sticky; top: 96px; } }

/* Forever: the EMPIRE belt (home section and its page) */
.forever { padding: clamp(84px, 10vw, 148px) var(--gutter); background: var(--ink); color: var(--paper-on-ink); }
.forever .band__head { margin-bottom: clamp(36px, 4vw, 56px); }
.forever .label, .forever .band__intro { color: var(--ink-2-on-ink); }
.forever .link { color: var(--paper-on-ink); }
.forever__fig { max-width: 840px; margin: 0 auto; }
.forever__fig img { display: block; width: 100%; height: auto; }
/* the colour names sit under their own belts: the belts' centres are at 13.5%, 32%, 50%, 68% and 86% */
.forever__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 18px 0 0; padding: 0 4%; list-style: none; }
.forever__item { display: grid; justify-items: center; gap: 6px; padding: 8px 0; color: inherit; text-decoration: none; text-align: center; }
.forever__swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(243, 241, 234, 0.35); }
.forever__name { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
/* the belt is one piece at one price, so the price shows once (owner, 12 Nov 2026) */
.forever__price { margin: clamp(22px, 2.4vw, 32px) 0 0; text-align: center; font-size: 15px; letter-spacing: 0.04em; color: var(--paper-on-ink); font-variant-numeric: tabular-nums; }
.forever__item:hover .forever__name, .forever__item:focus-visible .forever__name { text-decoration: underline; text-underline-offset: 4px; }
.forever .band__foot { margin-top: 14px; text-align: center; }
@media (max-width: 599px) { .forever__list { padding: 0; } .forever__name { letter-spacing: 0.1em; font-size: 10.5px; } }
/* the belt page: the five belts stand side by side; the chosen colour is outlined in crest gold */
.belt__stage { display: flex; justify-content: center; padding: clamp(20px, 3vw, 44px) clamp(8px, 2vw, 32px); background: #110e15; }
.beltstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 140px)); gap: clamp(6px, 1vw, 14px); width: 100%; justify-content: center; margin: 0; padding: 0; list-style: none; }
.beltstrip__item { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 8px 4px 12px; outline: 1px solid transparent; outline-offset: -1px; transition: outline-color 0.2s ease; }
.beltstrip__img { display: block; width: 100%; height: auto; }
.beltstrip__name { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #f3f1ea; }
.pdp--belt:has(input[name="colour"][value="white"]:checked) [data-belt="white"],
.pdp--belt:has(input[name="colour"][value="blue"]:checked) [data-belt="blue"],
.pdp--belt:has(input[name="colour"][value="purple"]:checked) [data-belt="purple"],
.pdp--belt:has(input[name="colour"][value="brown"]:checked) [data-belt="brown"],
.pdp--belt:has(input[name="colour"][value="black"]:checked) [data-belt="black"] { outline-color: #e6b842; }
.sizes--colour .sizes__options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1024px) { .sizes--colour .sizes__options { grid-template-columns: repeat(5, minmax(0, 1fr)); } .size--colour span { font-size: 12.5px; } }
.size--colour span { gap: 8px; }
.size__swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }

/* the bag: accept the Terms of Sale before checkout */
.bag__terms { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; margin: 14px 0 12px; font-size: 13px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.bag__terms input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.bag__terms input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.bag__terms-err { margin: -4px 0 12px; font-size: 13px; color: var(--error); }

/* archive */
.empty { display: grid; justify-items: center; gap: 14px; padding: 0 var(--gutter) clamp(96px, 12vw, 168px); text-align: center; }
.empty__title { font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); }
.empty p:not(.empty__title) { max-width: 30em; color: var(--ink-2); }
.archive { display: grid; gap: 72px; padding: 0 var(--gutter) 96px; }
.archive-entry { display: grid; gap: 28px; }
.archive-entry__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.archive-entry__media figure { aspect-ratio: 1364 / 2046; }
.archive-entry__media img { width: 100%; height: 100%; }
.archive-entry__text { display: grid; gap: 12px; align-content: center; }
.archive-entry__text p { color: var(--ink-2); }
@media (min-width: 900px) { .archive-entry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

/* ---------- review pages (owner only) ---------- */
.review-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px var(--gutter); background: #ede8f3; color: #2a1d39; font-size: 12.5px; }
.review-banner a { white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.hub__list { border-top: 1px solid var(--line); }
.hub__link { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hub__link strong { font-weight: 500; }
.hub__link span { font-size: 13px; color: var(--ink-2); }
.hub__link:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.states { display: grid; gap: 24px; }
.state .label { margin-bottom: 10px; }
.state__panel { padding: 4px 24px 24px; border: 1px solid var(--line); }
.state__panel .buy { margin-top: 0; border-top: 0; }
@media (min-width: 900px) { .states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose h1 { margin: 48px 0 24px; font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.prose h2 { margin: 48px 0 16px; padding-top: 32px; border-top: 1px solid var(--line); font-weight: 300; font-size: 26px; line-height: 1.25; }
.prose h3 { margin: 32px 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.prose p { margin: 0 0 14px; color: #333333; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 20px; list-style: disc; color: #333333; }
.prose ol { list-style: decimal; }
.prose li { margin: 6px 0; }
.prose code { padding: 1px 5px; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.86em; background: var(--mist); }
.prose blockquote { margin: 0 0 12px; padding-left: 16px; border-left: 2px solid var(--line); color: var(--ink-2); }
.prose img { max-width: 100%; margin: 16px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .chart th, .prose .chart td { white-space: normal; }

/* ---------- motion ----------
   Everything that moves waits for prefers-reduced-motion: no-preference. Start states that
   need the script sit under .fx (added by src/empire.js), so a page without the script reads
   at rest. Images are never drawn above their own size (scale stays at or below 1), and
   nothing loops: motion plays once, or follows the reader's scroll or pointer. */
.art__light { display: none; }
@media (prefers-reduced-motion: no-preference) {
  /* No page-to-page view transitions (12 Nov 2026): on Back, Chrome skipped the transition and left
     the page unable to scroll ("unresponsive"). Pages change instantly. */

  /* Sections rise as they arrive; things that arrive together follow one another (--delay). */
  .fx .reveal { opacity: 0; transform: translateY(18px); }
  .fx .reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-soft) var(--delay, 0s), transform 1.2s var(--ease) var(--delay, 0s); }

  /* Headings rise word by word from below their own line. The padding lets descenders and
     accents show; the matching negative margin keeps the line exactly where it was. */
  .w { display: inline-block; vertical-align: top; overflow: hidden; overflow: clip; padding: 0.14em 0.06em 0.24em; margin: -0.14em -0.06em -0.24em; }
  .w__i { display: inline-block; }
  .opening__title .w__i { animation: rise-word 1.35s var(--ease) both; animation-delay: calc(0.3s + var(--i) * 0.075s); }
  .intro__title .w__i, .pdp__name .w__i { animation: rise-word 1.25s var(--ease) both; animation-delay: calc(0.08s + var(--i) * 0.06s); }
  .fx .reveal .w__i { translate: 0 135%; }
  .fx .reveal.is-in .w__i { translate: none; transition: translate 1.3s var(--ease) calc(var(--delay, 0s) + 0.1s + var(--i) * 0.065s); }

  /* Labels draw their letters in. */
  .opening .label { animation: track-in 2s var(--ease) 0.12s both; }
  .fx .reveal .label { letter-spacing: 0.34em; opacity: 0; }
  .fx .reveal.is-in .label { letter-spacing: 0.16em; opacity: 1; transition: letter-spacing 1.8s var(--ease) var(--delay, 0s), opacity 1.1s var(--ease-soft) var(--delay, 0s); }

  /* The opening: crest, label and headline rise while the film comes up from black. */
  .opening__crest { animation: crest-in 1.7s var(--ease) both; }
  .opening__line { animation: rise 1.3s var(--ease) 0.8s both; }
  .opening__links, .film-toggle { animation: rise 1.3s var(--ease) 0.95s both; }
  .opening__film .film { animation: film-in 2.2s var(--ease-soft) 0.2s both; }
  /* Scrolling on: the copy lifts away and the film sinks back (src/empire.js sets --out). */
  .fx .opening__copy { translate: 0 calc(var(--out, 0) * -12vh); opacity: calc(1 - var(--out, 0) * 1.6); }
  .fx .opening__film { translate: 0 calc(var(--out, 0) * 14vh); scale: calc(1 - var(--out, 0) * 0.06); }

  /* The artwork: each plate rises into place out of a soft blur as it slides in; once a drawing
     has landed, the light crosses it (src/empire.js adds .is-swept at the end of the rise). */
  /* Opacity and movement only: both stay on the compositor, so a plate arriving never makes the
     browser repaint it (a blur did, frame after frame, on plates a thousand pixels wide). */
  .fx .story__fig .art__frame, .fx .story__fig .story__photo { opacity: 0; transform: translate3d(0, 5%, 0); }
  .fx .story__fig.is-in .art__frame, .fx .story__fig.is-in .story__photo { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-soft) var(--delay, 0s), transform 1.6s var(--ease) var(--delay, 0s); }

  /* The light: a copy of the artwork, brightened and with its darks pushed below black,
     laid over it with "lighten". Lighten only ever raises a pixel, and the copy is darker
     than the page black wherever the drawing is dark, so only the drawing catches the light
     and the black around it stays exactly #0b0b0b. src/empire.js sets --art to the image the
     browser chose. The light crosses once when the artwork has arrived, then follows a mouse. */
  /* Only while lit: as the drawing lands (until the light has faded) and under a mouse. An idle
     blended layer still costs the GPU a re-blend of the whole plate on every frame of a scroll. */
  .fx .has-art.is-swept:not(.is-rested) .art__light, .fx .has-art.is-lit .art__light { display: block; position: absolute; inset: 0; pointer-events: none; }
  .art__light::before, .art__light::after {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: var(--art) center / 100% 100% no-repeat;
    filter: contrast(1.3) brightness(1.7);
    mix-blend-mode: lighten;
  }
  /* The light rises over the drawing and fades once it has landed. Only its opacity moves (the
     mask is still), so it costs the browser nothing per frame; a moving mask had to be repainted. */
  .art__light::before {
    -webkit-mask: linear-gradient(#000, #000) 50% 50% / calc(100% - 6px) calc(100% - 6px) no-repeat;
    mask: linear-gradient(#000, #000) 50% 50% / calc(100% - 6px) calc(100% - 6px) no-repeat;
  }
  .is-swept > .art__light::before { animation: sweep 2.6s var(--ease-soft) both; }
  /* Once it has faded it never replays: a mouse brings back only the pointer's own light. */
  .is-rested > .art__light::before { animation: none; }
  .art__light::after {
    -webkit-mask: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), #000, rgba(0, 0, 0, 0.55) 12%, transparent 30%), linear-gradient(#000, #000) 50% 50% / calc(100% - 6px) calc(100% - 6px) no-repeat;
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), #000, rgba(0, 0, 0, 0.55) 12%, transparent 30%), linear-gradient(#000, #000) 50% 50% / calc(100% - 6px) calc(100% - 6px) no-repeat;
    mask-composite: intersect;
    transition: opacity 0.8s var(--ease-soft);
  }
  .is-swept.is-lit > .art__light::after { opacity: 1; }

  /* Photographs unveil upwards inside their frames as they arrive. */
  .fx .unveil .tile__media, .fx .unveil .details__media, .fx .diptych__fig.unveil { clip-path: inset(100% 0 0 0); }
  .fx .unveil .tile__img, .fx .unveil .details__img, .fx .unveil .diptych__img { translate: 0 14%; }
  .fx .unveil.is-in .tile__media, .fx .unveil.is-in .details__media, .fx .diptych__fig.unveil.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease) var(--delay, 0s); }
  .fx .unveil.is-in .tile__img--front, .fx .unveil.is-in .details__img, .fx .unveil.is-in .diptych__img { translate: none; transition: translate 1.8s var(--ease) var(--delay, 0s), opacity 1.1s var(--ease-soft); }
  .fx .unveil.is-in .tile__img--back { translate: none; transition: translate 1.8s var(--ease) var(--delay, 0s), opacity 0.75s var(--ease-soft); }
  .fx .is-instant, .fx .is-instant * { transition: none !important; }

  /* The edition steps draw their rules in turn; the house numerals rise. */
  .fx .steps__item.reveal { border-top-color: transparent; }
  .fx .steps__item.reveal::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
  .fx .steps__item.reveal.is-in::before { transform: none; transition: transform 1.7s var(--ease) var(--delay, 0s); }
  .fx .pillars__item.reveal .pillars__n { opacity: 0; translate: 0 70%; }
  .fx .pillars__item.reveal.is-in .pillars__n { opacity: 1; translate: none; transition: opacity 1.2s var(--ease-soft) calc(var(--delay, 0s) + 0.12s), translate 1.5s var(--ease) calc(var(--delay, 0s) + 0.12s); }

  .menu:not([hidden]) { animation: fade 0.45s var(--ease-soft) both; }
  .menu:not([hidden]) .menu__designs li, .menu:not([hidden]) .menu__more, .menu:not([hidden]) .menu__label { animation: rise 0.9s var(--ease) both; }
  .menu__designs li:nth-child(1) { animation-delay: 0.05s !important; }
  .menu__designs li:nth-child(2) { animation-delay: 0.09s !important; }
  .menu__designs li:nth-child(3) { animation-delay: 0.13s !important; }
  .menu__designs li:nth-child(4) { animation-delay: 0.17s !important; }
  .menu__designs li:nth-child(5) { animation-delay: 0.21s !important; }
  .menu__designs li:nth-child(6) { animation-delay: 0.25s !important; }
  .menu:not([hidden]) .menu__more { animation-delay: 0.3s; }
  .drawer[open] { animation: slide-in 0.6s var(--ease) both; }
  .drawer[open]::backdrop { animation: fade 0.45s var(--ease-soft) both; }
  .viewer[open] { animation: fade 0.35s var(--ease-soft) both; }
  @supports (interpolate-size: allow-keywords) {
    .acc { interpolate-size: allow-keywords; }
    .acc__item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
    .acc__item[open]::details-content { block-size: auto; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx .tile__img--front, .fx .feature__img, .fx .details__img, .fx .art__img { opacity: 1; transition: none; }
  .tile__img--back, .menu__img, .hd, .buybar, .burger span { transition: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes rise-word { from { translate: 0 135%; } }
@keyframes track-in { from { letter-spacing: 0.34em; opacity: 0; } }
@keyframes crest-in { from { opacity: 0; scale: 0.8; translate: 0 12px; } }
@keyframes film-in { from { opacity: 0; scale: 0.97; } }
@keyframes sweep { 0% { opacity: 0; } 40% { opacity: 0.85; } 100% { opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }

@media print {
  .hd, .menu, .buybar, .ft, .drawer, .viewer { display: none !important; }
}
