/* LATENT. — tokens and layout. See DESIGN.md for where every value comes from. */

@property --dev { syntax: '<number>'; inherits: true; initial-value: 1; }

@font-face {
  font-family: 'DSEG7';
  src: url('../fonts/DSEG7Classic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: block;
}

:root {
  --ground: #0e0b09;
  --ground-2: #16110d;
  --ground-3: #201812;
  --line: #3a2d23;
  --paper: #efe6da;
  --muted: #b3a494;
  --amber: #ff9a47;
  --red: #ff5233;
  --led: #ff3a1a;
  --sheet: #ece6dc;
  --ink: #17120e;

  --f-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-mark: 'Permanent Marker', 'Archivo', cursive;
  --f-led: 'DSEG7', ui-monospace, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.u-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: 12px; top: -60px; z-index: 50; padding: 10px 14px;
  background: var(--amber); color: var(--ink); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.kicker {
  font-stretch: 112%;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.h2 {
  font-stretch: 72%;
  font-weight: 720;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: .98;
  letter-spacing: -.005em;
  margin-bottom: 22px;
  text-wrap: balance;
}

/* ───────────────────────────── header ───────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gut);
  background: rgba(14, 11, 9, .96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.wordmark {
  font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: .06em;
  text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.dot { color: var(--red); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted);
  min-height: 44px; min-width: 44px; justify-content: center; padding: 0 8px; display: inline-flex; align-items: center;
}
.nav a:hover { color: var(--paper); }
.roomlight {
  margin: 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; font-stretch: 112%;
  color: var(--amber);
}
.roomlight-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 10px 2px rgba(255, 154, 71, .55);
}
body.lights-on .top { background: rgba(217, 211, 201, .97); color: #17120e; }
body.lights-on .nav a { color: #4e433a; }
body.lights-on .nav a:hover { color: #17120e; }
body.lights-on .roomlight { color: #17120e; }
body.lights-on .roomlight-dot { background: #fffaf0; box-shadow: 0 0 0 1px #17120e, 0 0 10px 2px rgba(255, 246, 232, .6); }

/* ───────────────────────────── the bench ───────────────────────────── */
.bench {
  --b-ground: #120d0a;
  --b-text: var(--paper);
  --b-muted: var(--muted);
  --b-panel: #1a130e;
  --b-line: var(--line);
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 22px;
  padding: 88px var(--gut) 56px;
  max-width: var(--max);
  margin: 0 auto;
  color: var(--b-text);
}
.bench::before {
  content: ''; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(60% 55% at 72% 38%, rgba(255, 120, 40, .10), transparent 70%),
    var(--b-ground);
  transition: background .6s var(--ease);
}
.bench.is-lit {
  --b-ground: #d9d3c9;
  --b-text: #17120e;
  --b-muted: #4e433a;
  --b-panel: #cbc3b7;
  --b-line: #a99d8f;
}
.bench.is-lit::before { background: radial-gradient(70% 60% at 70% 40%, #efe9df, transparent 75%), var(--b-ground); }
.bench.is-lamp::before {
  background:
    radial-gradient(45% 55% at 70% 45%, rgba(255, 230, 190, .10), transparent 70%),
    var(--b-ground);
}

.bench-copy { grid-column: 1; grid-row: 1; }
.bench-easel { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.console { grid-column: 1; grid-row: 2; align-self: start; }
.line { grid-column: 1 / -1; grid-row: 3; }

.bench .kicker { color: var(--amber); }
.bench.is-lit .kicker { color: #8a3d10; }
.bench-h {
  font-stretch: 68%;
  font-weight: 760;
  font-size: clamp(2.5rem, 3.9vw, 3.9rem);
  line-height: .93;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.bench-h span { display: block; font-weight: 380; font-style: italic; font-stretch: 85%; color: var(--b-muted); }
.bench-lede-short { display: none; }
.bench-h span { text-wrap: balance; }
.bench-lede { color: var(--b-muted); max-width: 38ch; margin-bottom: 0; font-size: 15.5px; }

/* carrier */
.carrier {
  list-style: none; margin: 0 0 14px; padding: 8px 10px;
  display: flex; gap: 10px;
  background: #0a0706;
  border: 1px solid #2a1f18;
  width: max-content; max-width: 100%;
}
.frame {
  position: relative; display: block; padding: 0; border: 0; background: #2b2622; cursor: pointer;
  width: clamp(76px, 8vw, 112px); aspect-ratio: 3 / 2; min-height: 44px;
  outline-offset: 2px;
}
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: invert(1) sepia(.18) contrast(.78) brightness(.92);
  opacity: .72; transition: opacity .25s;
}
.frame[aria-pressed="true"] img { opacity: 1; }
.frame[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--amber); }
.frame:disabled { cursor: not-allowed; }
.frame:disabled:not([aria-pressed="true"]) img { opacity: .3; }
.frame-no {
  position: absolute; left: 4px; bottom: -1px; transform: translateY(100%);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #e4a15a; line-height: 1.6;
}
.carrier li { padding-bottom: 14px; }

/* easel */
.easel {
  position: relative;
  width: 100%;
  margin-inline: auto;
  background: #0b0807;
  padding: clamp(8px, 1.2vw, 16px);
  box-shadow: inset 0 0 0 1px #2e231b, 0 30px 80px -30px rgba(0, 0, 0, .8);
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
  touch-action: pan-y;
}
.easel { width: min(100%, calc((100svh - 250px) * 1.25 + 32px)); }
.easel.is-tray {
  background: #231a14;
  padding: clamp(14px, 2vw, 26px);
  box-shadow: inset 0 0 0 1px #3d2e23, inset 0 0 40px rgba(0, 0, 0, .6), 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.easel.is-live-hand { touch-action: none; cursor: crosshair; }
.easel-gl, .easel-still { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; }
.easel-still { object-fit: contain; background: var(--sheet); padding: 5% 5% 12.5%; padding-block: 12.5%; display: none; }
.no-gl .easel-gl { display: none; }
.no-gl .easel-still { display: block; }
.strip-labels {
  position: absolute; left: clamp(8px, 1.2vw, 16px); right: clamp(8px, 1.2vw, 16px);
  top: clamp(8px, 1.2vw, 16px); bottom: clamp(8px, 1.2vw, 16px);
  pointer-events: none;
}
.is-tray .strip-labels { inset: clamp(14px, 2vw, 26px); }
.strip-labels button {
  pointer-events: auto;
  position: absolute; bottom: 2%; transform: translateX(-50%);
  font-family: var(--f-mark); font-size: clamp(12px, 1.3vw, 16px); color: #b3261a;
  background: none; border: 0; min-height: 44px; min-width: 44px; padding: 0 6px; cursor: pointer;
}
.strip-labels button:hover { text-decoration: underline; }

.process {
  list-style: none; margin: 16px 0 8px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-stretch: 105%;
}
.process li { border-top: 2px solid var(--b-line); padding-top: 8px; color: var(--b-muted); transition: color .3s, border-color .3s; }
.process li small { font-weight: 500; letter-spacing: .02em; text-transform: none; }
.process li.is-done { border-color: #7a5a3f; }
.process li.is-now { border-color: var(--amber); color: var(--b-text); }
.bench.is-lit .process li.is-now { border-color: #8a3d10; }
.status { font-size: 15.5px; color: var(--b-text); min-height: 3.2em; margin: 0; max-width: 60ch; }

/* console — after the f-stop timers on the bench: a black LED window and rubber keys */
.console {
  background: var(--b-panel);
  border: 1px solid var(--b-line);
  padding: 18px;
  transition: background .6s var(--ease), border-color .6s var(--ease);
}
.led {
  position: relative; display: flex; align-items: baseline; justify-content: flex-end; gap: 10px;
  background: #070303; padding: 14px 18px 12px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .9), inset 0 0 0 1px #2a0d08;
  font-family: var(--f-led); font-weight: 700;
  font-size: clamp(40px, 4.4vw, 56px); line-height: 1;
  color: var(--led);
}
.led-ghost { position: absolute; right: calc(18px + 2.1em); color: #2a0a05; pointer-events: none; }
.led-val { position: relative; text-shadow: 0 0 12px rgba(255, 58, 26, .55); }
.led-unit {
  font-family: var(--f-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #e0502f; width: 2.1em; font-stretch: 100%;
}
.led-ghost { right: calc(18px + 10px + 25px); }
.led-sub {
  margin: 8px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--b-muted); text-align: right;
}

.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.key, .g, .t, .act {
  min-height: 44px; border: 1px solid #3e2f24; background: #241b15; color: var(--paper);
  cursor: pointer; border-radius: 3px; font-weight: 600; font-size: 15px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35);
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.key:hover, .g:hover, .t:hover, .act:hover { background: #2f231b; }
.key:active, .g:active, .t:active, .act:active { box-shadow: inset 0 2px 0 rgba(0, 0, 0, .35); }
button:disabled { opacity: .38; cursor: not-allowed; }

fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
legend {
  padding: 0; margin-bottom: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted); font-stretch: 110%;
}
.grades-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.g { padding: 0; font-stretch: 90%; }
.g[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.g[aria-pressed="true"]:disabled, .t[aria-pressed="true"]:disabled { opacity: 1; }
.tools-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; }
.t { font-size: 14px; padding: 0 8px; }
.t[aria-pressed="true"] { background: #3a2a1f; border-color: var(--amber); color: #ffd9b8; }

.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.act { font-size: 14px; padding: 4px 6px; line-height: 1.15; }
.act-main { font-weight: 700; }
.act.is-next { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.act.is-next:hover { background: #ffb170; }
.act:disabled { background: transparent; border-color: #2c221b; box-shadow: none; }
.act-main[data-act="expose"].is-on { background: var(--led); border-color: var(--led); color: #1a0502; animation: lamp 1s steps(2) infinite; }
.act[aria-pressed="true"] { background: #7d1a0c; border-color: var(--red); }
.act-light[aria-pressed="true"] { background: #efe6da; color: var(--ink); border-color: #fff; }
.act-house { grid-column: span 3; background: transparent; border-style: dashed; font-weight: 500; color: var(--b-muted); }
@keyframes lamp { 50% { box-shadow: 0 0 22px rgba(255, 58, 26, .6); } }
.deck-bar { display: none; }
.console-note { margin: 12px 0 0; font-size: 13px; color: var(--b-muted); line-height: 1.45; }

.bench.is-lit .key, .bench.is-lit .g, .bench.is-lit .t, .bench.is-lit .act { background: #e4ddd2; border-color: #a99d8f; color: #17120e; }
.bench.is-lit .g[aria-pressed="true"] { background: #17120e; color: #efe6da; }
.bench.is-lit .act.is-next { background: #17120e; border-color: #17120e; color: #efe6da; }
.bench.is-lit .act:disabled, .bench.is-lit .key:disabled, .bench.is-lit .g:disabled:not([aria-pressed="true"]) { background: transparent; border-color: #b9aea0; }
.bench.is-lit .act-light[aria-pressed="true"] { background: transparent; color: #17120e; border: 2px solid #17120e; }
.bench.is-lit .act-house { background: transparent; }

/* tonight's line */
.line { border-top: 1px solid var(--b-line); padding-top: 20px; }
.line-h { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted); margin-bottom: 14px; font-stretch: 110%; }
.line-list {
  list-style: none; margin: 0; padding: 18px 0 0; display: flex; gap: 18px; overflow-x: auto;
  background: linear-gradient(var(--b-muted), var(--b-muted)) 0 4px / 100% 1px no-repeat;
}
.line-list li { flex: 0 0 auto; width: clamp(130px, 14vw, 190px); position: relative; }
.line-list li::before { content: ''; position: absolute; top: -18px; left: 50%; width: 8px; height: 22px; margin-left: -4px; background: #6d5a49; border-radius: 1px; }
.line-list img { width: 100%; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.line-list p { margin: 8px 0 0; font-size: 12.5px; color: var(--b-muted); line-height: 1.35; }

/* ───────────────────────────── the paper ───────────────────────────── */
.paper {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gut) clamp(60px, 8vw, 110px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 5vw, 80px); row-gap: 40px;
}
.paper-copy { grid-column: 1; grid-row: 1; }
.paper-copy p { color: var(--muted); max-width: 52ch; }
.paper-copy .paper-live { color: var(--paper); border-left: 2px solid var(--amber); padding-left: 14px; }
.curve { grid-column: 2; grid-row: 1; margin: 0; }
.curve-svg { width: 100%; height: auto; display: block; overflow: visible; }
.curve figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; max-width: 62ch; }
.curve .axis { stroke: #54443a; stroke-width: 1; }
.curve .grid { stroke: #2a211b; stroke-width: 1; }
.curve .tick { fill: var(--muted); font: 600 11px var(--f-sans); letter-spacing: .04em; }
.curve .lab { fill: var(--muted); font: 600 11px var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
.curve .c { fill: none; stroke: #5f4c3e; stroke-width: 1.4; transition: stroke .3s; }
.curve .c.is-now { stroke: var(--amber); stroke-width: 3; }
.curve .cl { fill: #8c7866; font: 700 11px var(--f-sans); }
.curve .cl.is-now { fill: var(--amber); }
.curve .neg { fill: rgba(255, 154, 71, .18); stroke: var(--amber); stroke-width: 1; }
.curve .neg-l { fill: var(--paper); font: 600 11.5px var(--f-sans); }
.curve .dot-hi, .curve .dot-lo { fill: var(--ground); stroke: var(--amber); stroke-width: 2; }

.sheet { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.grade-table, .rates { width: 100%; border-collapse: collapse; font-size: 15px; }
.grade-table caption, .rates caption {
  text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  padding-bottom: 10px; font-stretch: 112%;
}
.grade-table th, .grade-table td, .rates th, .rates td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.grade-table thead th, .rates thead th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom-color: #5a4838; }
.grade-table tbody th { font-stretch: 80%; font-weight: 750; font-size: 19px; }
.rates tbody th { font-weight: 500; }
.num { text-align: right !important; padding-right: 0 !important; white-space: nowrap; }
.swatch { display: inline-block; width: 14px; height: 14px; margin-right: 8px; background: var(--sw); vertical-align: -2px; border-radius: 2px; }
.sheet-note { font-size: 16px; color: var(--paper); border-top: 2px solid var(--red); padding-top: 14px; margin: 0; }

/* ───────────────────────────── photographs that develop in ───────────────────────────── */
.develop { position: relative; margin: 0; overflow: hidden; background: #1c140f; --dev: 1; }
.develop img { width: 100%; height: 100%; object-fit: cover; filter: contrast(calc(.25 + .75 * var(--dev))) brightness(calc(1.9 - .9 * var(--dev))); }
.develop::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: #6b3a1c; mix-blend-mode: multiply; opacity: calc((1 - var(--dev)) * .85);
}
.js .develop { --dev: 0; }

.band { height: clamp(260px, 44vh, 520px); max-width: none; }

/* ───────────────────────────── hire ───────────────────────────── */
.hire {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start;
}
.hire-media { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: end; position: sticky; top: 90px; }
.hire-media .tall { aspect-ratio: 2 / 3; }
.hire-media .small { aspect-ratio: 2 / 3; margin-bottom: 18%; }
.hire-copy { grid-column: 2; grid-row: 1; }
.hire-copy > p { color: var(--muted); max-width: 54ch; }
.rates { margin: 26px 0; }
.rates-paper caption { color: var(--muted); }
.rule { color: var(--paper) !important; border-left: 2px solid var(--red); padding-left: 14px; }
.rule strong { color: var(--red); font-weight: 700; }
.cta {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; margin-top: 8px;
  background: var(--amber); color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .02em; border-radius: 3px;
}
.cta:hover { background: #ffb170; }

/* ───────────────────────────── film ───────────────────────────── */
.film {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 5vw, 80px); row-gap: 36px;
}
.film-head { grid-column: 1 / -1; grid-row: 1; max-width: 900px; }
.film-head p { color: var(--muted); max-width: 64ch; }
.contact { grid-column: 1; grid-row: 2; margin: 0; }
.film-body { grid-column: 2; grid-row: 2; }
.film-body > p { color: var(--muted); }
.contact-sheet { background: var(--sheet); padding: clamp(12px, 2vw, 26px); color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); transform: rotate(-.6deg); }
.contact-edge { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: #6b625a; margin-bottom: 8px; }
.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.contact-grid li { position: relative; background: #0d0b0a; padding: 12px 4px 18px; }
.contact-grid li::before, .contact-grid li::after {
  content: ''; position: absolute; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, transparent 0 5px, #3b332c 5px 9px, transparent 9px 12px);
}
.contact-grid li::before { top: 4px; }
.contact-grid li::after { bottom: 3px; }
.contact-grid li:nth-child(4n + 1) { padding-left: 8px; }
.contact-grid li:nth-child(4n) { padding-right: 8px; }
.contact-grid li:nth-child(n + 5) { margin-top: 10px; }
.cf {
  display: block; aspect-ratio: 3 / 2;
  background-size: calc(var(--z) * 100%) auto; background-position: var(--x) var(--y);
  background-repeat: no-repeat; background-color: #555;
  filter: contrast(1.05);
}
.contact-grid i { position: absolute; left: 14px; bottom: 6px; z-index: 1; background: #0d0b0a; padding: 0 3px; line-height: 1; font-style: normal; font-size: 9px; font-weight: 700; color: #e0a05a; letter-spacing: .06em; }
.cf-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.cf-btn:hover .cf { filter: contrast(1.05) brightness(1.12); }
.ring { position: absolute; inset: 2px -2px 8px; width: calc(100% + 4px); height: calc(100% - 10px); pointer-events: none; overflow: visible; }
.ring path { fill: none; stroke: var(--red); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; filter: url(#grease); vector-effect: non-scaling-stroke; }
.ring .ring-2 { stroke-width: 1.6; opacity: .75; transform: translate(1.5px, -1px) rotate(-.6deg); transform-origin: center; }
.cs-note {
  position: absolute; right: 2px; top: -12px; z-index: 2; transform: rotate(-7deg);
  font-family: var(--f-mark); font-weight: 400; font-size: clamp(12px, 1.4vw, 17px); color: #c02a14; pointer-events: none; white-space: nowrap;
}
.contact figcaption { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.film-media-wrap { grid-column: 1; grid-row: 3; }
.film-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.film-media .develop { aspect-ratio: 2 / 3; }

/* ───────────────────────────── classes ───────────────────────────── */
.classes {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start;
}
.classes-media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 5; position: sticky; top: 90px; }
.classes-copy { grid-column: 2; grid-row: 1; }
.classes-copy > p { color: var(--muted); max-width: 56ch; }
.sessions { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid var(--line); }
.session { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 24px; }
.session-when { grid-column: 1; grid-row: 1 / span 3; margin: 0; font-weight: 600; font-size: 14.5px; color: var(--amber); }
.session h3 { grid-column: 2; grid-row: 1; font-stretch: 80%; font-size: 1.5rem; line-height: 1.1; margin-bottom: 8px; }
.session p:not(.session-when):not(.session-meta) { grid-column: 2; grid-row: 2; color: var(--muted); margin-bottom: 10px; }
.session-meta { grid-column: 2; grid-row: 3; margin: 0; display: flex; gap: 18px; font-size: 14.5px; font-weight: 600; }
.session-meta .full { color: var(--red); }

/* ───────────────────────────── visit ───────────────────────────── */
.visit {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--gut) clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start;
}
.visit-media { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 4; }
.visit-copy { grid-column: 2; grid-row: 1; }
.addr { font-style: normal; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.35; margin-bottom: 26px; font-stretch: 90%; }
.hours { margin: 0 0 30px; border-top: 1px solid var(--line); }
.hours div { display: grid; grid-template-columns: 110px minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }
.rules-h { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; font-stretch: 112%; }
.rules { margin: 0 0 26px; padding-left: 1.1em; color: var(--muted); }
.rules li { margin-bottom: 8px; }
.mail a { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--amber); text-underline-offset: 5px; display: inline-flex; min-height: 44px; align-items: center; }

/* ───────────────────────────── footer ───────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: 36px var(--gut) 44px;
  display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: baseline;
  color: var(--muted); font-size: 14px;
}
.foot p { margin: 0; }
.foot-mark { font-stretch: 125%; font-weight: 800; letter-spacing: .06em; color: var(--paper); font-size: 18px; }

/* ───────────────────────────── tablet ───────────────────────────── */
@media (max-width: 1099px) {
  .bench {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    padding-top: 92px;
  }
  .bench-copy { grid-column: 1 / -1; grid-row: 1; }
  .bench-lede { max-width: 60ch; }
  .bench-easel { grid-column: 1 / -1; grid-row: 2; }
  .console { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; }
  .console > .led, .console > .led-sub, .console > .keys-time, .console > .grades { grid-column: 1; }
  .console > .tools, .console > .acts, .console > .deck-bar { display: none; }
.console-note { grid-column: 2; }
  .console > .led { grid-row: 1; }
  .console > .led-sub { grid-row: 2; }
  .console > .keys-time { grid-row: 3; }
  .console > .grades { grid-row: 4; }
  .console > .tools { grid-row: 1; }
  .console > .acts { grid-row: 2 / span 3; align-self: start; }
  .console > .deck-bar { display: none; }
.console-note { grid-row: 5; }
  .console > .u-vh { grid-column: 1; grid-row: 5; }
  .grades-row { gap: 2px; }
  .line { grid-row: 4; }
  .easel { width: 100%; }

  .paper { grid-template-columns: minmax(0, 1fr); }
  .paper-copy { grid-column: 1; grid-row: 1; }
  .curve { grid-column: 1; grid-row: 2; }
  .sheet { grid-column: 1; grid-row: 3; grid-template-columns: minmax(0, 1fr); }
  .grade-table { grid-column: 1; grid-row: 1; }
  .sheet-note { grid-column: 1; grid-row: 2; }

  .hire { grid-template-columns: minmax(0, 1fr); }
  .hire-media { grid-column: 1; grid-row: 2; position: relative; top: 0; }
  .hire-copy { grid-column: 1; grid-row: 1; }
  .film { grid-template-columns: minmax(0, 1fr); }
  .film-head { grid-column: 1; grid-row: 1; }
  .contact { grid-column: 1; grid-row: 2; }
  .film-body { grid-column: 1; grid-row: 3; }
  .film-media-wrap { grid-column: 1; grid-row: 4; }
  .classes { grid-template-columns: minmax(0, 1fr); }
  .classes-media { grid-column: 1; grid-row: 1; position: relative; top: 0; aspect-ratio: 16 / 10; }
  .classes-copy { grid-column: 1; grid-row: 2; }
  .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .visit-media { grid-column: 1; grid-row: 1; }
  .visit-copy { grid-column: 2; grid-row: 1; }
}

/* ───────────────────────────── phone ───────────────────────────── */
@media (max-width: 719px) {
  body { font-size: 16px; }
  .top { gap: 12px; padding-block: 8px; }
  .nav { display: none; }
  .roomlight { margin-left: auto; }
  .bench { grid-template-columns: minmax(0, 1fr); padding-top: 76px; row-gap: 20px; }
  .bench-h { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .bench-lede { font-size: 15.5px; }
  .carrier { width: 100%; justify-content: space-between; padding: 6px 8px; gap: 8px; }
  .carrier li { flex: 1 1 0; min-width: 0; }
  .frame { width: 100%; }
  .easel { padding: 7px; }
  .easel.is-tray { padding: 12px; }
  .strip-labels { inset: 7px; }
  .is-tray .strip-labels { inset: 12px; }
  .process { font-size: 11.5px; letter-spacing: .03em; }
  .status { font-size: 15px; }

  .bench { display: flex; flex-direction: column; gap: 20px; }
  .bench-easel { display: contents; }
  .easel-deck {
    position: sticky; top: 58px; z-index: 6;
    margin-inline: calc(-1 * var(--gut)); padding: 6px var(--gut) 10px;
    background: var(--b-ground);
    box-shadow: 0 14px 18px -12px rgba(0, 0, 0, .55);
    transition: background .6s var(--ease);
  }
  .process { display: none; }
  .console > .led { display: none; }
  .led-sub { text-align: left; margin-top: 0; }
  .deck-bar { display: flex; align-items: stretch; gap: 8px; margin-top: 8px; }
  .deck-led {
    margin: 0; display: flex; align-items: baseline; gap: 6px; padding: 8px 12px 6px;
    background: #070303; box-shadow: inset 0 0 0 1px #2a0d08;
    font-family: var(--f-led); font-weight: 700; font-size: 28px; line-height: 1; color: var(--led);
    text-shadow: 0 0 10px rgba(255, 58, 26, .5);
  }
  .deck-led small { font-family: var(--f-sans); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e0502f; text-shadow: none; }
  .deck-go { flex: 1; min-height: 48px; font-size: 16px; font-weight: 700; }
  .deck-go.is-on { background: var(--led); border-color: var(--led); color: #1a0502; }
  .status { min-height: 0; }
  .status { min-height: 2.9em; margin-top: 10px; font-size: 14.5px; line-height: 1.45; }
  .console { display: block; padding: 16px; margin-inline: calc(-1 * var(--gut)); border-inline: 0; }
  .led { font-size: 44px; padding: 12px 14px 10px; }
  .led-ghost { right: calc(14px + 10px + 25px); }
  .grades-row { gap: 4px; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-main[data-act="expose"], .act-main[data-act="develop"] { grid-column: span 1; min-height: 52px; font-size: 16px; }
  .act-house { grid-column: span 2; }
  .tools-row { grid-template-columns: 1.4fr 1fr 1fr; }

  .session { grid-template-columns: minmax(0, 1fr); }
  .session-when, .session h3, .session p:not(.session-when):not(.session-meta), .session-meta { grid-column: 1; grid-row: auto; }
  .session-when { margin-bottom: 6px; }
  .hire-media { grid-template-columns: 3fr 2fr; }
  .film-media { gap: 6px; }
  .contact-sheet { transform: none; padding: 8px; }
  .contact-grid li { padding: 9px 2px 15px; }
  .contact-grid li:nth-child(4n + 1) { padding-left: 4px; }
  .contact-grid li:nth-child(4n) { padding-right: 4px; }
  .contact-grid li:nth-child(n + 5) { margin-top: 7px; }
  .contact-grid i { left: 6px; bottom: 4px; font-size: 8px; }
  .cs-note { font-size: 11px; top: -9px; }
  .kicker-more { display: none; }
  .bench-lede { display: none; }
  .bench-lede-short { display: block; }
  .bench-copy { margin-bottom: -4px; }
  .carrier { order: 2; margin-bottom: 0; }
  .easel-deck { order: 1; }
  .console { order: 3; }
  .line { order: 4; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit-media { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; }
  .visit-copy { grid-column: 1; grid-row: 1; }
  .hours div { grid-template-columns: 84px minmax(0, 1fr); }
  .grade-table { font-size: 14px; }
  .grade-table th, .grade-table td { padding-right: 8px; }
}

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