/* =========================================================================
   THE NIGHT SHIFT — mensformaltrousersjuhu.com / Options Mall
   Neo-noir menswear campaign design system
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #171923;
  --ink-2: #1f2230;
  --citron: #D5E85A;
  --violet: #625B78;
  --silver: #A6A9B0;
  --ice: #E4E6E9;
  --plum: #332633;
  --white: #FFFFFF;

  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(23, 25, 35, .16);

  --f-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --f-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --bar-h: 56px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--citron); outline-offset: 3px; }
.t-ice :focus-visible, .t-white :focus-visible { outline-color: var(--violet); }
::selection { background: var(--citron); color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--citron); color: var(--ink); padding: 10px 16px;
  font-family: var(--f-mono); font-size: 13px; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- 3. Section themes ---------- */
.t-ink { background: var(--ink); color: var(--white); }
.t-ink2 { background: var(--ink-2); color: var(--white); }
.t-plum { background: var(--plum); color: var(--white); }
.t-violet { background: var(--violet); color: var(--white); }
.t-ice { background: var(--ice); color: var(--ink); }
.t-white { background: var(--white); color: var(--ink); }
.sec { position: relative; padding-block: clamp(72px, 10vw, 160px); }
.sec--tight { padding-block: clamp(56px, 7vw, 104px); }

/* ---------- 4. Typography ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.02em;
}
.d-xxl { font-size: clamp(52px, 10.5vw, 176px); }
.d-xl { font-size: clamp(42px, 7.6vw, 124px); }
.d-l { font-size: clamp(36px, 5.6vw, 88px); }
.d-m { font-size: clamp(30px, 3.8vw, 58px); line-height: .95; }
.d-s { font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
.h2 { font-family: var(--f-head); font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -.015em; }
.h3 { font-family: var(--f-head); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.01em; }
.h4 { font-family: var(--f-head); font-size: 18px; line-height: 1.3; }
.lede { font-family: var(--f-head); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; font-weight: 400; }
.body-l { font-size: 17.5px; line-height: 1.75; }
.small { font-size: 14px; line-height: 1.65; }
.measure { max-width: 62ch; }
.measure-s { max-width: 44ch; }
.c-citron { color: var(--citron); }
.c-silver { color: var(--silver); }
.c-violet { color: var(--violet); }
.t-ice .muted, .t-white .muted { color: #4b4a5a; }
.t-ink .muted, .t-plum .muted, .t-ink2 .muted { color: var(--silver); }
.t-violet .muted { color: #e1dfe8; }
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}
.t-ink .outline, .t-plum .outline, .t-ink2 .outline { -webkit-text-stroke-color: var(--silver); }
.t-ice .outline, .t-white .outline { -webkit-text-stroke-color: var(--violet); }
@supports not (-webkit-text-stroke: 1px black) { .outline { color: var(--silver); } }
.vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Slate (section identification label) */
.slate {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--silver);
}
.slate::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--citron); box-shadow: 0 0 0 4px rgba(213, 232, 90, .14);
}
.t-ice .slate, .t-white .slate { color: var(--violet); }
.t-ice .slate::before, .t-white .slate::before { background: var(--ink); box-shadow: 0 0 0 4px rgba(23, 25, 35, .1); }
.t-violet .slate { color: #eceaf2; }

/* Links */
.cue {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: 14px 0; position: relative;
}
.cue::after {
  content: ""; position: absolute; left: 0; bottom: 8px; height: 1px; width: 100%;
  background: currentColor; transform-origin: left; transition: transform .5s var(--ease);
}
.cue .arr { transition: transform .4s var(--ease); }
.cue:hover .arr { transform: translateX(6px); }
.cue:hover::after { transform: scaleX(.35); }
.t-ink .cue, .t-plum .cue, .t-ink2 .cue { color: var(--citron); }
.cue--solid {
  background: var(--citron); color: var(--ink) !important; padding: 16px 22px;
}
.cue--solid::after { display: none; }
.cue--solid:hover { background: var(--white); }

.inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.t-ink .inline-link, .t-plum .inline-link { text-decoration-color: var(--citron); }
.inline-link:hover { text-decoration-thickness: 2px; }

/* ---------- 5. Top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--bar-h);
  display: flex; align-items: center; gap: 20px;
  padding-inline: var(--gutter);
  background: rgba(23, 25, 35, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.bar__brand { display: block; flex: none; line-height: 0; }
.bar__brand img { height: 30px; width: auto; }
.bar__ident { color: var(--silver); font-size: 11px; white-space: nowrap; }
.bar__ident span { color: var(--white); }
.bar__scene {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  color: var(--silver); font-size: 11px; white-space: nowrap;
}
.bar__scene i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--citron);
  animation: blink 2.4s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: .25; } }
.bar__menu {
  display: inline-flex; align-items: center; gap: 14px; height: 40px; padding: 0 0 0 18px;
  border-left: 1px solid var(--line-dark); margin-left: 8px;
}
.bar__menu .mono { font-size: 12px; }
.bar__icon { position: relative; width: 28px; height: 12px; }
.bar__icon i {
  position: absolute; left: 0; height: 2px; background: var(--white);
  transition: transform .45s var(--ease-io), width .45s var(--ease-io), top .45s var(--ease-io), background .3s;
}
.bar__icon i:first-child { top: 0; width: 28px; }
.bar__icon i:last-child { top: 10px; width: 18px; background: var(--citron); }
.bar__menu:hover .bar__icon i:last-child { width: 28px; }
.bar__menu[aria-expanded="true"] .bar__icon i:first-child { top: 5px; transform: rotate(45deg); }
.bar__menu[aria-expanded="true"] .bar__icon i:last-child { top: 5px; width: 28px; transform: rotate(-45deg); }
.bar__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--citron); transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ---------- 6. Index overlay (full-screen menu) ---------- */
.reel {
  position: fixed; inset: 0; z-index: 90;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(98, 91, 120, .45), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(51, 38, 51, .8), transparent 70%),
    var(--ink);
  color: var(--white);
  padding-top: var(--bar-h);
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
}
.reel.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.reel__inner {
  min-height: calc(100dvh - var(--bar-h));
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px;
  padding-block: clamp(32px, 5vw, 64px);
}
.reel__head { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--silver); border-bottom: 1px solid var(--line-dark); padding-bottom: 16px; }
.reel__list { list-style: none; counter-reset: none; }
.reel__list li { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.reel__list a {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 16px;
  padding: 10px 0; text-decoration: none; position: relative;
}
.reel__n { font-family: var(--f-mono); font-size: 12px; color: var(--citron); letter-spacing: .1em; }
.reel__t {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(28px, 4.1vw, 60px); line-height: 1; letter-spacing: -.02em;
  transition: transform .5s var(--ease), color .3s;
}
.reel__d { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); opacity: 0; transform: translateX(-10px); transition: .4s var(--ease); }
.reel__list a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--citron); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.reel__list a:hover .reel__t, .reel__list a:focus-visible .reel__t { transform: translateX(14px); }
.reel__list a:hover .reel__d, .reel__list a:focus-visible .reel__d { opacity: 1; transform: none; }
.reel__list a:hover::after, .reel__list a:focus-visible::after { transform: scaleX(1); }
.reel__list a[aria-current="page"] .reel__t { color: var(--citron); }
.reel__list li { transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.reel.is-open .reel__list li { transform: none; opacity: 1; }
.reel.is-open .reel__list li:nth-child(2) { transition-delay: .04s; } .reel.is-open .reel__list li:nth-child(3) { transition-delay: .08s; }
.reel.is-open .reel__list li:nth-child(4) { transition-delay: .12s; } .reel.is-open .reel__list li:nth-child(5) { transition-delay: .16s; }
.reel.is-open .reel__list li:nth-child(6) { transition-delay: .2s; } .reel.is-open .reel__list li:nth-child(7) { transition-delay: .24s; }
.reel.is-open .reel__list li:nth-child(8) { transition-delay: .28s; } .reel.is-open .reel__list li:nth-child(9) { transition-delay: .32s; }
.reel.is-open .reel__list li:nth-child(10) { transition-delay: .36s; }
.reel__aside { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding-bottom: 8px; }
.reel__aside .mono { color: var(--silver); display: block; margin-bottom: 6px; }
.reel__aside a { text-decoration: none; }
.reel__aside a:hover { color: var(--citron); }
.reel__tag { font-family: var(--f-display); text-transform: uppercase; font-size: 28px; line-height: .95; color: var(--citron); }

/* ---------- 7. Lightbox frame (core photographic device) ---------- */
.frame {
  position: relative; margin: 0;
  background: linear-gradient(180deg, #f3f4f6, var(--ice));
  padding: clamp(10px, 1.6vw, 22px);
}
.frame img { width: 100%; height: 100%; object-fit: contain; }
.frame--fill { padding: 0; }
.frame--fill img { object-fit: cover; }
.frame__corner { position: absolute; inset: 8px; pointer-events: none; z-index: 2; }
.frame__corner::before, .frame__corner::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--citron);
}
.frame__corner::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame__corner::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.t-ice .frame__corner::before, .t-ice .frame__corner::after,
.t-white .frame__corner::before, .t-white .frame__corner::after { border-color: var(--violet); }
.frame--onlight { background: var(--white); }
.cap {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--silver);
}
.t-ice .cap, .t-white .cap { color: #55536a; }
.cap b { font-weight: 500; color: inherit; }
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: -14%; z-index: -1;
  background: radial-gradient(closest-side, rgba(228, 230, 233, .2), rgba(98, 91, 120, .16) 55%, transparent 75%);
  filter: blur(10px);
}

/* Shutter reveal */
.shutter { position: relative; }
.js .shutter > .frame__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--citron); z-index: 3;
  transform: translateY(0); opacity: 0;
}
.js .shutter.is-in > .frame__scan { animation: scan 1.1s var(--ease-io) forwards; }
@keyframes scan { 0% { top: 100%; opacity: 1; } 90% { opacity: 1; } 100% { top: 0; opacity: 0; } }
.js .rv:not(:has(img)) { opacity: 0; }
.js .rv {  transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .1s; } .js .rv-d2 { transition-delay: .2s; } .js .rv-d3 { transition-delay: .3s; }
.js .split-line { display: block; overflow: hidden; }
.js .split-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.js .is-in .split-line > span, .js .split-line.is-in > span { transform: none; }
.js .is-in .split-line:nth-child(2) > span { transition-delay: .09s; }
.js .is-in .split-line:nth-child(3) > span { transition-delay: .18s; }
.js .is-in .split-line:nth-child(4) > span { transition-delay: .27s; }

/* ---------- 8. HOME: S01 Campaign opening ---------- */
.open {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--bar-h) + clamp(24px, 4vw, 48px));
  padding-bottom: clamp(32px, 4vw, 56px);
  background:
    radial-gradient(70% 70% at 78% 40%, rgba(98, 91, 120, .38), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #12141c 100%);
  overflow: hidden;
}
.open::after { /* architectural horizon lines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(58.333% - 1px), var(--line-dark) calc(58.333% - 1px), var(--line-dark) 58.333%, transparent 58.333%);
}
.open__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  min-height: calc(100svh - var(--bar-h) - 100px);
}
.open__label { grid-column: 1 / 8; grid-row: 1; align-self: start; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--silver); }
.open__label b { color: var(--citron); font-weight: 500; }
.open__h1 {
  grid-column: 1 / 9; grid-row: 2; align-self: end; position: relative; z-index: 3;
  font-size: clamp(54px, 7.7vw, 150px); margin-bottom: clamp(8px, 2vw, 24px);
}
.open__h1 .l2 { padding-left: clamp(24px, 9vw, 150px); }
.open__h1 .l3 { color: var(--citron); }
.open__copy { grid-column: 1 / 6; grid-row: 3; max-width: 46ch; }
.open .cue { color: var(--citron); }
.open__copy p { color: #d8d9de; font-family: var(--f-head); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.open__visual { grid-column: 9 / 13; grid-row: 1 / 4; align-self: center; position: relative; }
.open__visual .frame { aspect-ratio: 1082 / 1400; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7), -40px 0 120px -40px rgba(228, 230, 233, .18); }
.open__vert { position: absolute; right: calc(-1 * clamp(14px, 2.6vw, 44px)); top: 0; color: var(--silver); font-size: 10.5px; }
.open__meta {
  position: relative; z-index: 1; margin-top: 28px; display: flex; justify-content: space-between; gap: 16px;
  color: var(--silver); border-top: 1px solid var(--line-dark); padding-top: 14px;
}
.open__meta .c-citron { color: var(--citron); }

/* ---------- 9. HOME: S02 Split narrative ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split__photo {
  position: relative; background: radial-gradient(80% 60% at 50% 45%, #4a3a4a, var(--plum) 70%);
  padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 72px);
}
.split__sticky { position: sticky; top: calc(var(--bar-h) + 40px); }
.split__photo .frame { aspect-ratio: 1082 / 1400; max-width: 460px; margin-inline: auto; }
.split__photo .big-n { position: absolute; left: clamp(12px, 2vw, 32px); bottom: 24px; font-size: clamp(80px, 11vw, 180px); line-height: .8; opacity: .9; }
.split__text { padding: clamp(56px, 8vw, 128px) clamp(24px, 6vw, 112px); }
.split__text h2 { margin: 20px 0 32px; }
.chapters { list-style: none; counter-reset: ch; margin-top: 48px; }
.chapters li { counter-increment: ch; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line-light); }
.chapters li::before { content: counter(ch, upper-roman) "."; font-family: var(--f-mono); font-size: 13px; color: var(--violet); padding-top: 4px; }
.chapters h3 { margin-bottom: 10px; }
.chapters p:last-child { margin-bottom: 0; }

/* ---------- 10. HOME: S03 Trouser Index ---------- */
.index-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 104px); }
.index-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}
.ix { position: relative; text-decoration: none; display: block; }
.ix__num {
  display: block; font-family: var(--f-display); font-size: clamp(64px, 8vw, 132px); line-height: .78;
  letter-spacing: -.04em; margin-bottom: -.18em; position: relative; z-index: 2;
}
.ix .frame { aspect-ratio: var(--ar, 3/4); transition: transform .7s var(--ease); }
.ix:hover .frame { transform: translateY(-6px); }
.ix__body { padding-top: 16px; }
.ix__name { font-family: var(--f-head); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.ix__note { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--silver); max-width: 42ch; }
.ix--panel { padding: clamp(20px, 2vw, 32px); }
.ix--ice { background: var(--ice); color: var(--ink); }
.ix--ice .ix__note { color: #4b4a5a; }
.ix--ice .ix__num { color: var(--violet); }
.ix--violet { background: var(--violet); }
.ix--violet .ix__note { color: #e6e4ee; }
.ix--plum { background: var(--plum); }
.ix--ink .ix__num { color: transparent; -webkit-text-stroke: 1.5px var(--silver); }
.ix:nth-child(1) { grid-column: 1 / 6; --ar: 4/5; }
.ix:nth-child(2) { grid-column: 7 / 11; margin-top: 18%; --ar: 3/4; }
.ix:nth-child(3) { grid-column: 2 / 6; --ar: 1/1; }
.ix:nth-child(4) { grid-column: 7 / 13; margin-top: -6%; --ar: 5/4; }
.ix:nth-child(5) { grid-column: 1 / 5; margin-top: 4%; --ar: 2/3; }
.ix:nth-child(6) { grid-column: 6 / 10; margin-top: 14%; --ar: 3/4; }
.ix:nth-child(7) { grid-column: 3 / 8; --ar: 5/6; }
.ix:nth-child(8) { grid-column: 9 / 13; margin-top: -10%; --ar: 3/5; }
.index-foot { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line-dark); padding-top: 24px; }

/* ---------- 11. HOME: S04 Fit Code ---------- */
.fitcode__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.fitcode__stage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.fitcode__stage .frame { aspect-ratio: 1082 / 1400; }
.annot { position: relative; }
.annot__pin {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap; pointer-events: none;
}
.annot__pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--citron); flex: none; }
.annot__pin span { background: var(--citron); padding: 2px 6px; }
.annot__pin--r { flex-direction: row-reverse; transform: translateX(-100%); }
.fit-diagram { background: var(--white); padding: clamp(16px, 2vw, 28px); }
.fit-diagram svg { width: 100%; height: auto; }
.fitpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 80px); border-top: 2px solid var(--ink); }
.fitpoints > div { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line-light); }
.fitpoints > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line-light); }
.fitpoints .mono { color: var(--violet); display: block; margin-bottom: 10px; }
.fitpoints h3 { margin-bottom: 8px; }
.fitpoints p { font-size: 15px; margin: 0; color: #3b3a48; }
.effects { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.effects > div { background: var(--ice); padding: 24px; }
.effects .d-s { display: block; margin-bottom: 10px; }
.effects p { font-size: 14.5px; margin: 0; }

/* ---------- 12. HOME: S05 Material study ---------- */
.material { background: radial-gradient(90% 70% at 20% 0%, #463a4a 0%, var(--plum) 45%, #221a24 100%); }
.material__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.specimens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.specimen { position: relative; }
.specimen .frame { aspect-ratio: 3 / 4; }
.loupe {
  position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; right: -8%; bottom: 14%; z-index: 3;
  border: 2px solid var(--citron); box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  background-repeat: no-repeat; background-size: 520%;
}
.loupe::after { content: attr(data-label); position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--citron); white-space: nowrap; }
.fabric-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.fabric-table th, .fabric-table td { text-align: left; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.fabric-table th { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.fabric-table td:first-child { font-family: var(--f-head); font-weight: 600; white-space: nowrap; color: var(--white); }
.fabric-table td { color: #d9d6dd; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); margin-top: 48px; border: 1px solid var(--line-dark); }
.props > div { background: rgba(23, 25, 35, .35); padding: 20px; }
.props .mono { color: var(--citron); display: block; margin-bottom: 6px; font-size: 11px; }
.props p { margin: 0; font-size: 14px; color: #dad7de; line-height: 1.6; }
.disclaim { margin-top: 24px; color: var(--silver); font-size: 13px; }

/* ---------- 13. HOME: S06 Construction file ---------- */
.gridpaper {
  background-color: var(--ice);
  background-image:
    linear-gradient(rgba(98, 91, 120, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 91, 120, .09) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cfile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cfile__doc { border: 1.5px solid var(--ink); background: rgba(255, 255, 255, .6); }
.cfile__doc-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); background: var(--ink); color: var(--white); }
.cfile__doc-head span:last-child { color: var(--citron); }
.pinned { position: relative; }
.pinned .frame { aspect-ratio: var(--ar); padding: 0; background: var(--white); }
.pin {
  position: absolute; z-index: 3; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: var(--ink); color: var(--citron); display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; box-shadow: 0 0 0 3px rgba(213, 232, 90, .9);
}
.clist { list-style: none; columns: 2; column-gap: 40px; }
.clist li { break-inside: avoid; padding: 16px 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 40px 1fr; gap: 8px; }
.clist .mono { color: var(--violet); padding-top: 3px; }
.clist h3 { font-size: 17px; font-family: var(--f-head); margin-bottom: 4px; }
.clist p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3b3a48; }

/* ---------- 14. HOME: S07 Colour frequency ---------- */
.freq { display: flex; gap: 4px; height: clamp(560px, 74vh, 760px); margin-top: clamp(40px, 5vw, 64px); }
.freq__band {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer;
  background: var(--band); color: var(--band-ink, var(--white));
  transition: flex-grow .8s var(--ease-io);
  display: flex; flex-direction: column;
}
.freq__band.is-active { flex-grow: 6; cursor: default; }
.freq__btn { position: absolute; inset: 0; z-index: 4; width: 100%; text-align: left; }
.freq__band.is-active .freq__btn { pointer-events: none; }
.freq__label {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; white-space: nowrap;
  transition: opacity .4s;
}
.freq__band.is-active .freq__label { opacity: 0; }
.freq__hz { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; opacity: .85; }
.freq__band.is-active .freq__hz { opacity: 0; }
.freq__content {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; padding: 32px;
  opacity: 0; visibility: hidden; transition: opacity .5s .2s, visibility 0s .7s;
}
.freq__band.is-active .freq__content { opacity: 1; visibility: visible; transition: opacity .6s .35s, visibility 0s; }
.freq__content .frame { height: 100%; min-height: 0; background: rgba(255, 255, 255, .92); }
.freq__info { align-self: center; min-width: 380px; }
.freq__info h3 { margin: 10px 0 14px; }
.freq__info p { font-size: 15px; line-height: 1.65; }
.freq__pairs { list-style: none; margin-top: 18px; border-top: 1px solid currentColor; }
.freq__pairs li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-size: 14px; line-height: 1.5; }
.freq__pairs .mono { font-size: 10.5px; padding-top: 2px; opacity: .85; }

/* ---------- 15. HOME: S08 Professional after dark ---------- */
.storyboard { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); margin-top: clamp(40px, 6vw, 88px); }
.cue-card { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.cue-card .mono { color: var(--citron); display: block; margin-bottom: 12px; }
.cue-card h3 { margin-bottom: 10px; }
.cue-card p { color: #cfd0d6; font-size: 15px; margin: 0; }
.storyboard .sb-photo-a { grid-column: 1 / 5; grid-row: 1 / 3; }
.storyboard .sb-photo-b { grid-column: 9 / 13; grid-row: 2 / 4; margin-top: 30%; }
.storyboard .sb-a { grid-column: 6 / 9; grid-row: 1; }
.storyboard .sb-b { grid-column: 9 / 13; grid-row: 1; }
.storyboard .sb-c { grid-column: 5 / 9; grid-row: 2; margin-left: 20%; }
.storyboard .sb-d { grid-column: 1 / 5; grid-row: 3; }
.storyboard .sb-e { grid-column: 5 / 9; grid-row: 3; }
.storyboard .sb-f { grid-column: 1 / 7; grid-row: 4; }
.sb-photo .frame { aspect-ratio: 540 / 669; }

/* ---------- 16. HOME: S09 Complete look ---------- */
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.look { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
.look .frame { aspect-ratio: var(--ar); }
.formula { list-style: none; border-top: 2px solid currentColor; }
.formula li { padding: 12px 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.formula li::before { content: "+"; font-family: var(--f-mono); color: var(--violet); }
.formula li:first-child::before { content: "="; }
.formula b { font-family: var(--f-head); font-weight: 600; display: block; }
.coord { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.coord > div { padding: 20px 16px 0 0; }
.coord > div + div { padding-left: 16px; border-left: 1px solid var(--line-light); }
.coord .mono { color: var(--violet); display: block; margin-bottom: 8px; font-size: 11px; }
.coord h3 { font-size: 16px; margin-bottom: 6px; font-family: var(--f-head); }
.coord p { font-size: 14px; line-height: 1.6; margin: 0; color: #3b3a48; }

/* ---------- 17. HOME: S10 Editorial room ---------- */
.edroom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); margin-top: clamp(40px, 6vw, 80px); }
.ed { text-decoration: none; display: block; }
.ed .mono { color: var(--citron); }
.ed h3 { margin: 10px 0 10px; transition: color .3s; }
.ed:hover h3 { color: var(--citron); }
.ed p { color: #cfd0d6; font-size: 15px; margin: 0; }
.ed--feature { grid-column: 1 / 7; grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ed--feature .frame { aspect-ratio: 922 / 1280; }
.ed--feature .ed__txt { align-self: end; }
.ed--feature h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: .98; }
.ed--side { grid-column: 7 / 10; }
.ed--side .frame { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.ed--side2 { grid-column: 10 / 13; margin-top: 25%; }
.ed--side2 .frame { aspect-ratio: 3 / 4; margin-bottom: 16px; }
.ed-list { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); margin-top: 24px; }
.ed-list li { border-right: 1px solid var(--line-dark); }
.ed-list li:last-child { border-right: 0; }
.ed-list a { display: block; padding: 22px 20px 26px 0; text-decoration: none; height: 100%; }
.ed-list li + li a { padding-left: 20px; }
.ed-list .n { font-family: var(--f-display); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--silver); display: block; margin-bottom: 14px; transition: color .3s, -webkit-text-stroke-color .3s; }
.ed-list a:hover .n { color: var(--citron); -webkit-text-stroke-color: var(--citron); }
.ed-list h3 { font-family: var(--f-head); font-size: 18px; line-height: 1.25; }

/* ---------- 18. HOME: S11 Options Mall ---------- */
.brand { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.brand__logo { background: var(--white); padding: clamp(28px, 5vw, 72px); display: grid; place-items: center; position: relative; }
.brand__logo img { width: min(100%, 420px); height: auto; }
.brand dl { display: grid; grid-template-columns: 120px 1fr; gap: 14px 24px; margin: 32px 0; border-top: 1px solid var(--line-light); padding-top: 24px; }
.brand dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); padding-top: 4px; }
.brand dd { margin: 0; }
.brand dd a { text-decoration: none; border-bottom: 1px solid var(--violet); }

/* ---------- 19. HOME: S12 Final frame ---------- */
.final { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 50% 50%, rgba(98, 91, 120, .5), transparent 70%), #101219; text-align: center; }
.final__stack { position: relative; display: grid; justify-items: center; }
.final__top, .final__bot { position: relative; z-index: 2; }
.final__bot { color: var(--citron); }
.final .frame { width: min(360px, 62vw); aspect-ratio: 1082 / 1400; margin: clamp(-24px, -2vw, -12px) auto; z-index: 1; box-shadow: 0 40px 140px -10px rgba(0, 0, 0, .8), 0 0 120px -20px rgba(228, 230, 233, .25); }
.final__copy { max-width: 52ch; margin: 40px auto 8px; color: #d3d4da; font-family: var(--f-head); font-size: 19px; line-height: 1.55; }

/* ---------- 20. Page heads (internal) ---------- */
.phead { padding-top: calc(var(--bar-h) + clamp(48px, 7vw, 112px)); padding-bottom: clamp(48px, 6vw, 96px); position: relative; overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--citron); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.t-ice .crumbs { color: var(--violet); }

/* --- Campaign page: film treatment --- */
.treat-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.treat-head .frame { aspect-ratio: 1082 / 1400; }
.treat-head__vis { position: relative; }
.treat-head__vis .vert { position: absolute; left: -30px; top: 0; color: var(--silver); font-size: 10.5px; }
.reelline { display: flex; gap: 0; overflow: hidden; border-block: 1px solid var(--line-dark); padding-block: 14px; margin-top: clamp(40px, 6vw, 80px); color: var(--silver); white-space: nowrap; }
.reelline__track { display: flex; gap: 48px; padding-right: 48px; animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--ink); }
.timeline li { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--line-light); position: relative; }
.timeline li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line-light); }
.timeline .era { font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 40px); line-height: 1; color: var(--violet); display: block; margin-bottom: 12px; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { font-size: 15px; margin: 0; color: #3b3a48; }
.chapter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-dark); }
.chapter__no { font-family: var(--f-display); font-size: clamp(56px, 7vw, 120px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--silver); }
.chapter__aside { color: var(--silver); font-size: 14px; border-left: 2px solid var(--citron); padding-left: 16px; }
.chapter h2 { margin-bottom: 24px; }
.diptych { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.diptych .frame { aspect-ratio: 1082 / 1400; }
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 40px; }
.triptych .frame { aspect-ratio: 845 / 1280; }
.principles { list-style: none; counter-reset: pr; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.principles li { counter-increment: pr; padding: 24px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 52px 1fr; }
.principles li::before { content: counter(pr, decimal-leading-zero); font-family: var(--f-mono); color: var(--citron); font-size: 13px; padding-top: 4px; }
.principles p { margin: 6px 0 0; color: #cfd0d6; font-size: 15px; }

/* --- Trousers page: horizontal bands --- */
.tband { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.tband--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 2fr); }
.tband--flip .tband__num { order: 3; text-align: right; }
.tband--flip .tband__img { order: 2; }
.tband--flip .tband__txt { order: 1; }
.tband__num { font-family: var(--f-display); font-size: clamp(72px, 10vw, 168px); line-height: .8; letter-spacing: -.05em; align-self: start; }
.t-ink .tband__num, .t-plum .tband__num { color: transparent; -webkit-text-stroke: 1.5px var(--silver); }
.t-ice .tband__num { color: var(--violet); }
.t-violet .tband__num { color: var(--citron); }
.tband__img .frame { aspect-ratio: var(--ar); }
.tband__txt h2 { margin: 14px 0 18px; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; border-top: 1px solid currentColor; padding-top: 18px; }
.spec .mono { display: block; margin-bottom: 6px; font-size: 10.5px; opacity: .8; }
.spec p { font-size: 14px; line-height: 1.6; margin: 0; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; list-style: none; }
.cat-nav a { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: .3s; }
.cat-nav a:hover { border-color: var(--citron); color: var(--citron); }

/* --- Fits page: measurement lab --- */
.lab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lab__diagram { position: sticky; top: calc(var(--bar-h) + 32px); background: var(--white); border: 1.5px solid var(--ink); }
.lab__diagram-head { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--ink); color: var(--white); }
.lab__diagram-head span:last-child { color: var(--citron); }
.lab__diagram svg { width: 100%; height: auto; display: block; max-height: calc(100vh - var(--bar-h) - 140px); }
.lab svg .zone { opacity: 0; transition: opacity .5s; }
.lab svg .zone.is-on { opacity: 1; }
.lab__steps { list-style: none; }
.lab__step { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-light); min-height: 46vh; transition: opacity .4s; }
.lab__step .mono { color: var(--violet); }
.lab__step h2 { margin: 10px 0 16px; }
.lab__step .tips { list-style: none; margin-top: 16px; }
.lab__step .tips li { padding: 8px 0 8px 22px; position: relative; font-size: 15px; border-top: 1px dashed var(--line-light); }
.lab__step .tips li::before { content: "→"; position: absolute; left: 0; color: var(--violet); }
.lineup { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); align-items: end; position: relative; margin-top: 40px; }
.lineup::after { content: ""; position: absolute; left: 0; right: 0; bottom: 52px; height: 2px; background: var(--citron); opacity: .9; }
.lineup figure { margin: 0; }
.lineup .frame { aspect-ratio: var(--ar); }
.lineup .cap { justify-content: center; text-align: center; min-height: 40px; }
.compare3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.compare3 .frame { aspect-ratio: 540 / 669; }
.compare3 h3 { margin: 18px 0 8px; }
.compare3 p { font-size: 15px; color: #cfd0d6; }
.breaks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.breaks > div { background: var(--white); padding: 20px; }
.breaks svg { width: 100%; height: auto; max-width: 140px; margin: 0 auto 14px; display: block; }
.breaks h3 { font-size: 17px; margin-bottom: 6px; font-family: var(--f-head); }
.breaks p { font-size: 14px; margin: 0; color: #3b3a48; }

/* --- Construction page: blueprint --- */
.blueprint {
  background-color: #1b1e2a;
  background-image:
    linear-gradient(rgba(166, 169, 176, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 169, 176, .08) 1px, transparent 1px),
    linear-gradient(rgba(166, 169, 176, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 169, 176, .04) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}
.sheet { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sheet__fig { border: 1px solid var(--line-dark); padding: 16px; background: rgba(23, 25, 35, .6); }
.sheet__fig-head { display: flex; justify-content: space-between; color: var(--silver); margin-bottom: 14px; }
.spec-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.spec-card { background: #1b1e2a; padding: 22px; }
.spec-card .mono { color: var(--citron); display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 11px; }
.spec-card .mono span:last-child { color: var(--silver); }
.spec-card h3 { margin-bottom: 8px; font-size: 19px; font-family: var(--f-head); }
.spec-card p { font-size: 14.5px; color: #cfd0d6; margin: 0; }
.spec-card dl { margin: 14px 0 0; font-size: 13px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; color: var(--silver); }
.spec-card dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.spec-card dd { margin: 0; color: #e3e3e8; }
.detail-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.detail { margin: 0; }
.detail__crop { aspect-ratio: 1; background-repeat: no-repeat; background-color: var(--white); border: 1px solid var(--line-dark); position: relative; }
.detail__crop::after { content: attr(data-fig); position: absolute; left: 8px; top: 8px; background: var(--citron); color: var(--ink); font-family: var(--f-mono); font-size: 10px; padding: 2px 6px; letter-spacing: .08em; }
.detail figcaption { margin-top: 12px; font-size: 14px; color: #cfd0d6; line-height: 1.55; }
.detail figcaption b { display: block; font-family: var(--f-head); color: var(--white); font-size: 16px; margin-bottom: 4px; }
.care-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: cs; }
.care-steps li { counter-increment: cs; border-top: 2px solid var(--ink); padding-top: 18px; }
.care-steps li::before { content: "STEP " counter(cs, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--violet); display: block; margin-bottom: 10px; }
.care-steps p { font-size: 15px; margin: 6px 0 0; color: #3b3a48; }

/* --- Fabric page: material research publication --- */
.ptable { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.el {
  position: relative; aspect-ratio: 1 / 1; padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--white); border: 1.5px solid var(--ink); text-decoration: none; color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease);
}
.el:hover { background: var(--ink); color: var(--white); transform: translateY(-4px); }
.el:hover .el__sym { color: var(--citron); }
.el__top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.el__sym { font-family: var(--f-display); font-size: clamp(40px, 5vw, 76px); line-height: .9; color: var(--violet); transition: color .3s; }
.el__name { font-family: var(--f-head); font-weight: 600; font-size: 15px; line-height: 1.2; }
.el--accent { background: var(--citron); }
.plate { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding-block: clamp(48px, 6vw, 88px); border-top: 1.5px solid var(--ink); }
.plate--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); }
.plate--flip .plate__full { order: 3; }
.plate--flip .plate__txt { order: 1; }
.plate--flip .plate__macro { order: 2; }
.plate__full .frame { aspect-ratio: var(--ar); }
.plate__macro { display: grid; gap: 16px; }
.macro { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ink); background-repeat: no-repeat; background-color: var(--white); position: relative; box-shadow: 0 0 0 6px var(--ice), 0 0 0 7px var(--ink); }
.macro-cap { text-align: center; color: var(--violet); }
.plate__txt h2 { margin: 12px 0 16px; }
.scale { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; align-items: center; margin-top: 22px; font-size: 13px; }
.scale .mono { font-size: 10.5px; color: var(--violet); }
.dots { display: flex; gap: 5px; }
.dots i { width: 22px; height: 6px; background: rgba(98, 91, 120, .2); }
.dots i.on { background: var(--ink); }
.weights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--white); border: 2px solid var(--white); }
.weights > div { background: var(--violet); padding: clamp(20px, 3vw, 36px); }
.weights .d-s { display: block; margin: 8px 0 12px; }
.weights p { margin: 0; font-size: 15px; color: #f0eef5; }

/* --- Styling page: call sheet --- */
.callsheet { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-dark); align-items: start; }
.callsheet .frame { aspect-ratio: var(--ar); }
.callsheet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 24px; }
.callsheet__grid > div { padding: 14px 0; border-top: 1px solid var(--line-dark); }
.callsheet__grid .mono { color: var(--citron); display: block; font-size: 10.5px; margin-bottom: 4px; }
.callsheet__grid p { margin: 0; font-size: 15px; color: #d6d7dc; }
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.matrix th, .matrix td { padding: 14px; border: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.matrix thead th { background: var(--ink); color: var(--white); font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.matrix tbody th { font-family: var(--f-head); font-weight: 600; white-space: nowrap; background: var(--white); }
.matrix td { background: rgba(255, 255, 255, .5); line-height: 1.55; }
.chip { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 8px; border: 1px solid rgba(0, 0, 0, .2); }
.occasions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--white); border: 2px solid var(--white); }
.occasions > div { background: var(--plum); padding: clamp(22px, 3vw, 36px); }
.occasions .mono { color: var(--citron); }
.occasions h3 { margin: 10px 0 10px; }
.occasions p { font-size: 15px; color: #ddd7de; margin: 0; }
.occasions .frame { aspect-ratio: var(--ar); margin-bottom: 18px; }
.wardrobe { list-style: none; counter-reset: wd; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.wardrobe li { counter-increment: wd; background: var(--white); padding: 18px; border-top: 4px solid var(--ink); }
.wardrobe li::before { content: "PAIR " counter(wd, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--violet); display: block; margin-bottom: 10px; }
.wardrobe .frame { aspect-ratio: var(--ar); margin-bottom: 14px; padding: 6px; }
.wardrobe h3 { font-size: 17px; font-family: var(--f-head); margin-bottom: 6px; }
.wardrobe p { font-size: 14px; margin: 0; color: #3b3a48; line-height: 1.55; }

/* --- Journal page: magazine --- */
.masthead { border-bottom: 2px solid var(--ink); padding-bottom: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.masthead .display { line-height: .85; }
.toc { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line-light); }
.toc li { border-right: 1px solid var(--line-light); }
.toc li:nth-child(4n) { border-right: 0; }
.toc li:nth-child(n+5) { border-top: 1px solid var(--line-light); }
.toc a { display: grid; grid-template-columns: 40px 1fr; padding: 18px 16px 18px 0; text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 16px; line-height: 1.3; gap: 8px; }
.toc li:not(:nth-child(4n+1)) a { padding-left: 16px; }
.toc a .mono { color: var(--violet); padding-top: 3px; }
.toc a:hover { color: var(--violet); }
.art { padding-block: clamp(64px, 8vw, 128px); }
.art__kicker { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.art__kicker .tag { background: var(--citron); color: var(--ink); padding: 3px 8px; }
.t-ice .art__kicker .tag, .t-white .art__kicker .tag { background: var(--ink); color: var(--citron); }
.art h2 { margin-bottom: 24px; }
.art h3 { margin: 32px 0 12px; }
.art-a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.art-a__img { position: sticky; top: calc(var(--bar-h) + 32px); }
.art-a__img .frame { aspect-ratio: var(--ar); }
.art-b { columns: 2; column-gap: clamp(32px, 4vw, 64px); }
.art-b p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 84px; line-height: .8; padding: 6px 12px 0 0; color: var(--citron); }
.pull { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(28px, 3.4vw, 52px); line-height: .98; border-block: 2px solid currentColor; padding: 28px 0; margin: clamp(40px, 5vw, 72px) 0; }
.art-c { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); }
.art-c__img .frame { aspect-ratio: var(--ar); }
.art-d__steps { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 32px; }
.art-d__steps li { counter-increment: st; padding: 24px 0; border-top: 2px solid var(--ink); }
.art-d__steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--f-display); font-size: 48px; line-height: 1; color: var(--violet); display: block; margin-bottom: 10px; }
.art-d__steps h3 { margin: 0 0 8px; font-size: 18px; font-family: var(--f-head); }
.art-d__steps p { font-size: 15px; margin: 0; }
.art-e { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.art-e .frame { aspect-ratio: var(--ar); }
.qa dt { font-family: var(--f-head); font-weight: 600; font-size: 19px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.qa dd { margin: 10px 0 0; color: #d0d1d7; }
.art-f { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.art-f .frame { aspect-ratio: var(--ar); max-width: 420px; }
.checklist { list-style: none; margin-top: 20px; }
.checklist li { padding: 14px 0 14px 40px; position: relative; border-top: 1px solid var(--line-light); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border: 2px solid var(--ink); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 20px; width: 6px; height: 11px; border: solid var(--violet); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.art-g { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.art-g .frame { aspect-ratio: var(--ar); }
.ruler { position: relative; height: 54px; margin: 28px 0; border-bottom: 2px solid currentColor; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 20px) bottom / 100% 14px no-repeat; }
.ruler span { position: absolute; bottom: 22px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; transform: translateX(-50%); white-space: nowrap; }
.ruler span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; background: var(--citron); }
.mistakes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); margin-top: 32px; }
.mistakes > div { background: var(--ice); padding: 24px; }
.mistakes .x { font-family: var(--f-display); font-size: 36px; line-height: 1; color: var(--violet); display: block; margin-bottom: 10px; }
.mistakes h3 { margin: 0 0 8px; font-size: 18px; font-family: var(--f-head); }
.mistakes p { font-size: 14.5px; margin: 0; color: #3b3a48; }
.mistakes .fix { margin-top: 10px; font-size: 14px; color: var(--ink); border-top: 1px dashed var(--line-light); padding-top: 10px; }
.mistakes .fix b { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--violet); }
.mistakes .frame-cell { padding: 0; background: var(--white); }
.mistakes .frame-cell .frame { height: 100%; aspect-ratio: auto; }

/* --- About --- */
.about-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-logo { background: var(--white); padding: clamp(32px, 6vw, 96px); display: grid; place-items: center; position: relative; }
.about-logo img { width: min(100%, 520px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.facts > div { background: var(--ink); padding: clamp(22px, 3vw, 40px); }
.facts .mono { color: var(--citron); display: block; margin-bottom: 14px; }
.facts p, .facts address { font-style: normal; margin: 0; color: #e2e3e7; font-size: 16px; line-height: 1.65; }
.facts a { text-decoration: none; border-bottom: 1px solid var(--citron); }
.purpose { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.purpose .frame { aspect-ratio: var(--ar); }
.purpose__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 28px; }
.purpose__list li { padding: 18px 0; border-top: 1px solid var(--line-light); }
.purpose__list h3 { font-size: 17px; font-family: var(--f-head); margin-bottom: 6px; }
.purpose__list p { font-size: 15px; margin: 0; color: #3b3a48; }

/* --- Contact --- */
.contact-hero { min-height: 72vh; display: grid; align-content: end; }
.contact-hero h1 .l2 { color: var(--citron); padding-left: clamp(0px, 12vw, 220px); }
.dial { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.dial > * { background: var(--ink); padding: clamp(24px, 3.4vw, 48px); }
.dial__tel { grid-column: 1 / 7; }
.dial__mail { grid-column: 7 / 13; }
.dial__addr { grid-column: 1 / 9; }
.dial__img { grid-column: 9 / 13; padding: 0; background: var(--ice); }
.dial__img .frame { height: 100%; aspect-ratio: auto; }
.dial .mono { color: var(--silver); display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.dial .mono span:last-child { color: var(--citron); }
.dial__big { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 54px); line-height: 1; text-decoration: none; display: inline-block; letter-spacing: -.01em; word-break: break-word; transition: color .3s; }
.dial__big--mail { font-family: var(--f-head); font-weight: 600; text-transform: none; font-size: clamp(20px, 2.3vw, 34px); letter-spacing: -.01em; }
a.dial__big:hover { color: var(--citron); }
.dial address { font-style: normal; font-family: var(--f-head); font-size: clamp(20px, 2.2vw, 32px); line-height: 1.3; }
.dial address span { display: block; }
.dial__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.dial__note { color: var(--silver); font-size: 14px; margin-top: 18px; }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.howto > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.howto .mono { color: var(--violet); display: block; margin-bottom: 10px; }
.howto h3 { margin-bottom: 8px; }
.howto p { font-size: 15px; margin: 0; color: #3b3a48; }

/* ---------- 21. Footer: the credits roll ---------- */
.foot { background: var(--ink); color: var(--white); position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); }
.foot__marquee { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(56px, 13.6vw, 236px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(166, 169, 176, .55); white-space: nowrap; padding-top: clamp(40px, 6vw, 88px); text-align: center; user-select: none; }
.foot__marquee span { color: var(--citron); -webkit-text-stroke: 0; }
.foot__credits { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px); }
.foot__logo img { width: 132px; height: auto; margin-bottom: 20px; }
.foot__tagline { color: var(--silver); max-width: 34ch; font-size: 15px; }
.roll { display: grid; grid-template-columns: 110px 1fr; gap: 16px 20px; margin: 0; }
.roll dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); padding-top: 4px; }
.roll dd { margin: 0; font-size: 16px; line-height: 1.6; }
.roll dd b { font-family: var(--f-head); font-weight: 600; letter-spacing: .04em; }
.roll address { font-style: normal; }
.roll a { text-decoration: none; border-bottom: 1px solid rgba(213, 232, 90, .5); transition: color .3s, border-color .3s; }
.roll a:hover { color: var(--citron); border-color: var(--citron); }
.foot__nav h2 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); font-weight: 400; margin-bottom: 16px; }
.foot__nav ul { list-style: none; columns: 2; column-gap: 20px; }
.foot__nav li { padding: 4px 0; break-inside: avoid; }
.foot__nav a { text-decoration: none; font-family: var(--f-head); font-size: 15px; }
.foot__nav a:hover { color: var(--citron); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; list-style: none; }
.socials__item { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--silver); transition: color .3s, border-color .3s, background .3s; }
.socials__item svg { width: 17px; height: 17px; fill: currentColor; }
a.socials__item:hover { color: var(--ink); background: var(--citron); border-color: var(--citron); }
.socials__item[aria-disabled="true"] { cursor: default; }
.foot__bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--silver); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.foot__bottom a { color: var(--citron); text-decoration: none; }
.foot__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.totop { color: var(--white) !important; }

/* ---------- 22. Shared helpers ---------- */
.row-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.row-head h2 { margin-top: 18px; }
.stack > * + * { margin-top: 1.1em; }
.note-box { border-left: 3px solid var(--citron); padding: 14px 18px; background: rgba(255, 255, 255, .04); font-size: 14.5px; color: var(--silver); }
.t-ice .note-box, .t-white .note-box { border-left-color: var(--violet); background: rgba(98, 91, 120, .07); color: #3b3a48; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.nextpage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; text-decoration: none; padding-block: clamp(48px, 7vw, 104px); }
.nextpage .display { transition: color .4s; }
.nextpage:hover .display { color: var(--citron); }
.nextpage .arrow { font-family: var(--f-display); font-size: clamp(40px, 6vw, 96px); line-height: .8; color: var(--citron); transition: transform .5s var(--ease); }
.nextpage:hover .arrow { transform: translateX(12px); }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1180px) {
  .freq__info { min-width: 300px; }
  .ed-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ed-list li:nth-child(3) { border-right: 0; }
  .ed-list li:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .ed-list li:nth-child(4) a { padding-left: 0; }
  .coord { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .coord > div:nth-child(5) { padding-left: 0; border-left: 0; }
  .coord > div:nth-child(n+5) { margin-top: 24px; border-top: 1px solid var(--line-light); }
  .wardrobe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .bar__ident { display: none; }
  .open__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .open__label { grid-column: 1 / -1; }
  .open__h1 { grid-column: 1 / 6; grid-row: 2; }
  .open__copy { grid-column: 1 / 5; grid-row: 3; }
  .open__visual { grid-column: 5 / 9; grid-row: 2 / 4; }
  .open::after { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__sticky { position: static; }
  .split__photo .frame { max-width: 380px; }
  .index-head, .fitcode__top, .material__grid, .cfile, .brand, .row-head, .sheet, .lab, .about-hero, .purpose { grid-template-columns: minmax(0, 1fr); }
  .lab__diagram { position: relative; top: 0; max-width: 520px; }
  .lab__step { min-height: 0; }
  .fitpoints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fitpoints > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .fitpoints > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-light); }
  .effects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storyboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storyboard > * { grid-column: auto !important; grid-row: auto !important; margin: 0 !important; }
  .looks { grid-template-columns: minmax(0, 1fr); }
  .edroom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed--feature { grid-column: 1 / -1; grid-row: auto; }
  .ed--side, .ed--side2 { grid-column: auto; margin-top: 0; }
  .treat-head, .diptych { grid-template-columns: minmax(0, 1fr); }
  .treat-head__vis { max-width: 520px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .timeline li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-light); }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tband, .tband--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .tband__num, .tband--flip .tband__num { grid-column: 1 / -1; order: 0; text-align: left; }
  .tband--flip .tband__img { order: 1; } .tband--flip .tband__txt { order: 2; }
  .plate, .plate--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); }
  .plate__txt, .plate--flip .plate__txt { grid-column: 1 / -1; order: 3; }
  .plate--flip .plate__full { order: 1; } .plate--flip .plate__macro { order: 2; }
  .ptable { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .callsheet { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .art-a, .art-c, .art-f, .art-g { grid-template-columns: minmax(0, 1fr); }
  .art-a__img { position: relative; top: 0; max-width: 440px; }
  .art-c__img, .art-g .frame-wrap { max-width: 420px; }
  .art-e { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .art-e > div:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .art-d__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dial__tel, .dial__mail { grid-column: 1 / -1; }
  .dial__addr { grid-column: 1 / 8; }
  .dial__img { grid-column: 8 / 13; }
  .foot__credits { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__credits > :first-child { grid-column: 1 / -1; }
  .breaks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reel__inner { grid-template-columns: minmax(0, 1fr); }
  .reel__aside { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 24px 48px; }
  .reel__d { display: none; }
}

/* Colour frequency becomes a horizontal snap reel below desktop */
@media (max-width: 900px) {
  .freq { height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .freq__band { scroll-snap-align: start; flex: none; cursor: default; }
  .freq__btn, .freq__label, .freq__hz { display: none; }
  .freq__content { position: relative; inset: auto; opacity: 1; visibility: visible; grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 18px; }
  .freq__content .frame { height: auto; aspect-ratio: var(--ar, 3/4); max-height: 380px; }
  .freq__info { min-width: 0; }
  .clist { columns: 1; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .spec-cards { grid-template-columns: minmax(0, 1fr); }
  .detail-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .occasions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .weights { grid-template-columns: minmax(0, 1fr); }
  .howto { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .art-b { columns: 1; }
  .mistakes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc li { border-right: 0 !important; border-top: 1px solid var(--line-light); }
  .toc li:nth-child(odd) { border-right: 1px solid var(--line-light) !important; }
  .toc li:nth-child(even) a { padding-left: 16px; }
  .toc li:nth-child(odd) a { padding-left: 0 !important; }
}

/* Mobile: deliberate single-column compositions */
@media (max-width: 760px) {
  :root { --bar-h: 54px; }
  body { font-size: 15.5px; }
  .bar { gap: 12px; }
  .bar__brand img { height: 28px; }
  .bar__scene { font-size: 10px; }
  .bar__menu { padding-left: 14px; margin-left: 0; }
  .bar__menu .mono { display: none; }

  .open { padding-top: calc(var(--bar-h) + 22px); }
  .open__grid { display: flex; flex-direction: column; min-height: 0; }
  .open__label { order: 1; font-size: 10.5px; }
  .open__h1 { order: 2; font-size: clamp(50px, 16.5vw, 96px); margin: 22px 0 22px; }
  .open__h1 .l2 { padding-left: 14vw; }
  .open__visual { order: 3; width: 78%; align-self: flex-end; margin-top: -8px; }
  .open__vert { right: auto; left: calc(-1 * 30px); }
  .open__copy { order: 4; margin-top: 28px; }
  .open__meta { font-size: 10px; }
  .open__meta span:nth-child(2) { display: none; }

  .index-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 14px; }
  .ix:nth-child(n) { grid-column: 1 / 6; margin-top: 0; }
  .ix:nth-child(even) { grid-column: 2 / 7; }
  .ix:nth-child(3n) { grid-column: 1 / -1; }
  .ix:nth-child(3n) .frame { aspect-ratio: 4 / 3; }

  .fitcode__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fitcode__stage .fit-diagram { grid-column: 1 / -1; order: -1; }
  .fitpoints { grid-template-columns: minmax(0, 1fr); }
  .fitpoints > div:nth-child(n) { padding-left: 0 !important; border-left: 0 !important; }
  .effects { grid-template-columns: minmax(0, 1fr); }
  .specimens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .loupe { width: 60%; right: -10%; }
  .loupe::after { display: none; }
  .props { grid-template-columns: minmax(0, 1fr); }
  .storyboard { grid-template-columns: minmax(0, 1fr); }
  .sb-photo { max-width: 320px; }
  .storyboard .sb-photo-b { justify-self: end; }
  .look { grid-template-columns: minmax(0, 1fr); }
  .look .frame-wrap { max-width: 320px; }
  .coord { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .coord > div:nth-child(n) { padding: 16px 12px 16px 0; border-left: 0; margin-top: 0; border-top: 1px solid var(--line-light); }
  .edroom { grid-template-columns: minmax(0, 1fr); }
  .ed--feature { grid-template-columns: minmax(0, 1fr); }
  .ed--feature .frame { max-width: 340px; }
  .ed--side .frame, .ed--side2 .frame { max-width: 300px; }
  .ed-list { grid-template-columns: minmax(0, 1fr); }
  .ed-list li { border-right: 0; border-top: 1px solid var(--line-dark); }
  .ed-list a { padding: 18px 0 !important; display: grid; grid-template-columns: 64px 1fr; align-items: center; }
  .ed-list .n { margin: 0; font-size: 36px; }
  .brand dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .brand dd { margin-bottom: 14px; }
  .final .frame { width: 70vw; }

  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li:nth-child(n) { padding-left: 18px !important; border-left: 2px solid var(--violet) !important; }
  .triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tband, .tband--flip { grid-template-columns: minmax(0, 1fr); }
  .tband__img { max-width: 340px; }
  .tband--flip .tband__img { justify-self: end; }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .compare3 { grid-template-columns: minmax(0, 1fr); }
  .compare3 > div { display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: start; }
  .compare3 h3 { margin-top: 0; }
  .lineup { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .lineup .cap { font-size: 9px; letter-spacing: .04em; }
  .lineup::after { bottom: 52px; }
  .breaks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .detail-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .ptable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate, .plate--flip { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
  .callsheet { grid-template-columns: minmax(0, 1fr); }
  .callsheet .frame-wrap { max-width: 320px; }
  .callsheet__grid { grid-template-columns: minmax(0, 1fr); }
  .occasions { grid-template-columns: minmax(0, 1fr); }
  .wardrobe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .masthead { grid-template-columns: minmax(0, 1fr); }
  .toc { grid-template-columns: minmax(0, 1fr); }
  .toc li:nth-child(n) { border-right: 0 !important; }
  .toc li:nth-child(n) a { padding-left: 0 !important; }
  .art-e { grid-template-columns: minmax(0, 1fr); }
  .art-e .frame-wrap { max-width: 320px; }
  .art-d__steps { grid-template-columns: minmax(0, 1fr); }
  .mistakes { grid-template-columns: minmax(0, 1fr); }
  .mistakes .frame-cell { max-height: 420px; }
  .purpose__list { grid-template-columns: minmax(0, 1fr); }
  .purpose .frame-wrap { max-width: 320px; }
  .dial__addr, .dial__img { grid-column: 1 / -1; }
  .dial__img .frame { aspect-ratio: 1042 / 1280; max-height: 520px; }
  .contact-hero { min-height: 0; }
  .foot__credits { grid-template-columns: minmax(0, 1fr); }
  .roll { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .roll dd { margin-bottom: 14px; }
  .foot__bottom { flex-direction: column; }
  .reel__list a { grid-template-columns: 40px 1fr; padding: 12px 0; }
  .reel__t { font-size: clamp(26px, 8.4vw, 40px); }
  .nextpage { grid-template-columns: minmax(0, 1fr); }
  .chapters li { grid-template-columns: 44px 1fr; }
}

@media (max-width: 400px) {
  .bar__scene { display: none; }
  .bar__menu { margin-left: auto; }
  .open__h1 { font-size: 15.4vw; }
  .specimens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specimens .specimen:nth-child(3) { display: none; }
  .wardrobe { grid-template-columns: minmax(0, 1fr); }
  .detail-row { grid-template-columns: minmax(0, 1fr); }
  .breaks { grid-template-columns: minmax(0, 1fr); }
  .coord { grid-template-columns: minmax(0, 1fr); }
  .plate, .plate--flip { grid-template-columns: minmax(0, 1fr); }
  .plate__macro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare3 > div { grid-template-columns: minmax(0, 1fr); }
  .compare3 .frame-wrap { max-width: 260px; }
  .dial__big { font-size: 24px; }
  .dial__big--mail { font-size: 17px; }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .split-line > span { transform: none; }
  .reelline__track { animation: none; }
}
@media print {
  .bar, .reel, .foot__marquee { display: none; }
  body { background: #fff; color: #000; }
}
.socials__item svg.ig { fill: none; stroke: currentColor; stroke-width: 2; }
.socials__item svg.ig .dot { fill: currentColor; stroke: none; }

/* ---------- 25. Refinements after browser review ---------- */
.fitcode__top h2 { font-size: clamp(40px, 6vw, 104px); }
.loupe { right: 6%; bottom: 8%; width: 44%; }
.loupe::after { display: none; }
.material__grid > div:first-child { align-self: start; position: sticky; top: calc(var(--bar-h) + 32px); }
.freq__band.is-active { flex-grow: 12; }
.freq__content { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.freq__content .frame { height: auto; aspect-ratio: var(--ar); align-self: center; max-height: 100%; }
.freq__info { min-width: 0; }
.cap { flex-wrap: wrap; }
@media (max-width: 1024px) { .material__grid > div:first-child { position: static; } }
.final__top, .final__bot { margin: 0; }
.final .frame { margin: -10px auto; }
.foot__marquee { font-size: clamp(44px, 11.4vw, 200px); margin: 0; overflow: hidden; }
.blueprint { color: var(--white); }
.phead h1.d-xxl { font-size: clamp(40px, 6.6vw, 120px); }
@media (max-width: 760px) { .phead h1.d-xxl { font-size: 11.2vw; } }
.lab__step { min-height: 36vh; }
.occasions p + p { margin-top: 14px; }
.dial__big--mail { font-size: clamp(17px, 1.9vw, 30px); white-space: nowrap; }
.contact-hero { min-height: 60vh; }
@media (max-width: 1024px) { .dial__big--mail { white-space: normal; overflow-wrap: anywhere; } }
.reel__t { font-size: clamp(26px, min(3.6vw, 5.4vh), 56px); }
.reel__list a { padding: 6px 0; }
.reel__inner { padding-block: clamp(20px, 3vw, 40px); gap: 28px; }
@media (max-width: 760px) { .reel__head span:last-child { display: none; } .reel__t { font-size: clamp(24px, 7.6vw, 36px); } }
@media (max-width: 760px) { .contact-hero { min-height: 0; } }
main, .foot { overflow-x: clip; }
@supports not (overflow: clip) { main, .foot { overflow-x: hidden; } }
@media (max-width: 400px) { .specimens .specimen:nth-child(3) { display: block; } .specimens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
