/* ==========================================================================
   Alder Flight — aerial direction & flight systems
   Static, four pages, no build step.
   01 tokens · 02 base · 03 header/drawer · 04 hero flight · 05 sections
   06 work · 07 modal · 08 studio · 09 contact · 10 footer · 11 responsive
   ========================================================================== */

/* 01 — tokens ------------------------------------------------------------- */
:root {
  --porcelain: #f3f7fb;
  --porcelain-2: #e8f0f7;
  --porcelain-3: #dbe7f1;
  --ink: #0f1e2e;
  --ink-soft: #2f4761;
  --ink-mute: #5b7185;
  --cobalt: #1d4ed8;
  --cobalt-deep: #16327f;
  --amber: #d97706;
  --amber-soft: #efa93f;
  --haze: #c6d9e8;
  --rule: rgba(15, 30, 46, 0.16);
  --rule-soft: rgba(15, 30, 46, 0.08);
  --panel: rgba(243, 247, 251, 0.88);
  --max: 1320px;
  --pad: clamp(20px, 5vw, 64px);
  --head-h: 78px;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Archivo", -apple-system, "Segoe UI", Roboto, Helvetica, sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 02 — base --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(15.5px, 0.32vw + 14.4px, 17px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

::selection { background: rgba(29, 78, 216, 0.16); }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--porcelain);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* type helpers */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.lede {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

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

.section { padding-block: clamp(72px, 8.5vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.section--line { border-top: 1px solid var(--rule-soft); }

/* buttons and links */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--porcelain);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 12px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--cobalt); --btn-bd: var(--cobalt); }
.btn--line {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--rule);
}
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: var(--porcelain); --btn-bd: var(--ink); }
.btn--amber { --btn-bg: var(--amber); --btn-bd: var(--amber); --btn-fg: #fff; }
.btn--amber:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  border-bottom: 1px solid rgba(29, 78, 216, 0.35);
  padding-bottom: 4px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.link:hover { border-color: var(--cobalt); }
.link .arrow { transition: transform 0.3s var(--ease); }
.link:hover .arrow { transform: translate(3px, -3px); }

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* 03 — header & drawer ---------------------------------------------------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding-inline: var(--pad);
  background: rgba(243, 247, 251, 0.62);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: height 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-head.is-scrolled {
  height: 64px;
  background: rgba(243, 247, 251, 0.94);
  border-bottom-color: var(--rule-soft);
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark path { stroke: var(--ink); }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.005em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.head__aside { display: flex; align-items: center; gap: 18px; }
.head__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.head__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.14);
}

.drawer-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  background: none;
  border: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.drawer-btn__bars { display: grid; gap: 4px; width: 20px; }
.drawer-btn__bars span { height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad) 32px;
  background: var(--porcelain);
  transform: translateY(-102%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.drawer[aria-hidden="false"] { transform: none; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.drawer__close {
  background: none;
  border: 1px solid var(--rule);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.drawer__nav { margin-top: 8vh; display: flex; flex-direction: column; gap: 6px; }
.drawer__nav a {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 4rem);
  line-height: 1.06;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--rule-soft);
  padding-block: 10px;
}
.drawer__nav a span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.drawer__foot a { text-decoration: underline; text-underline-offset: 3px; }

body.is-locked { overflow: hidden; }

/* 04 — hero flight -------------------------------------------------------- */
.flight {
  position: relative;
  height: 340vh;
  height: 340svh;
  background: var(--porcelain-3);
}
.flight__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #d7e6f2 0%, #eef5fa 62%, #f6f2ea 100%);
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(243, 247, 251, 0.5) 0%, rgba(243, 247, 251, 0) 16%),
    linear-gradient(0deg, rgba(243, 247, 251, 0.62) 0%, rgba(243, 247, 251, 0) 24%);
}

.layer {
  position: absolute;
  left: -8%;
  width: 116%;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}
.layer--sky {
  top: -8%;
  height: 118%;
  background-image: var(--img-sky);
  background-size: cover;
  background-position: 50% 58%;
}
.layer--ridge {
  bottom: 8%;
  height: 44vh;
  background-image: var(--img-ridge);
  background-size: 100% auto;
  background-position: 50% 100%;
  filter: saturate(0.55) brightness(1.1) contrast(0.92) blur(0.5px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, #000 26%, #000 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, #000 26%, #000 100%);
  opacity: 0.8;
  z-index: 1;
}
.layer--deck {
  bottom: -14%;
  height: 76%;
  background-image: var(--img-deck);
  background-size: 112% auto;
  background-position: 50% 100%;
  z-index: 2;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 16%, #000 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 16%, #000 100%);
}
.layer--fore {
  bottom: -16%;
  height: 82%;
  background-image: var(--img-fore);
  background-size: cover;
  background-position: 58% 40%;
  opacity: 0.5;
  z-index: 4;
}

.plane {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(290px, 40vw, 640px);
  aspect-ratio: 1200 / 512;
  background-image: var(--img-plane);
  background-size: contain;
  background-repeat: no-repeat;
  transform-origin: 50% 55%;
  will-change: transform;
  filter: drop-shadow(0 26px 34px rgba(15, 30, 46, 0.16));
  z-index: 3;
}

.trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.4;
  pointer-events: none;
}
.trail path {
  fill: none;
  stroke: rgba(29, 78, 216, 0.6);
  stroke-width: 1.4;
  stroke-dasharray: 1 9;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hud {
  position: absolute;
  inset: var(--head-h) 0 0 0;
  z-index: 5;
  pointer-events: none;
  color: var(--ink);
  font-family: var(--font-mono);
  text-shadow: 0 1px 18px rgba(243, 247, 251, 0.55);
}
.hud__alt { position: absolute; left: clamp(20px, 4vw, 56px); top: clamp(16px, 3.4vh, 40px); text-align: left; }
.hud__label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15, 30, 46, 0.62);
}
.hud__value {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hud__value small { font-size: 12px; letter-spacing: 0.1em; color: rgba(15, 30, 46, 0.6); }
.hud__phase {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.hud__tape {
  position: absolute;
  right: clamp(14px, 1.8vw, 26px);
  top: 26%;
  height: 44%;
  width: 84px;
}
.hud__tape::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(15, 30, 46, 0) 0%, rgba(15, 30, 46, 0.28) 12%, rgba(15, 30, 46, 0.28) 88%, rgba(15, 30, 46, 0) 100%);
}
.tape__mark { position: absolute; right: 0; display: flex; align-items: center; gap: 0; transform: translateY(-50%); }
.tape__mark span {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(15, 30, 46, 0.62);
  padding-right: 9px;
}
.tape__mark i { display: block; width: 7px; height: 1px; background: rgba(15, 30, 46, 0.4); }
.tape__mark i::after { content: ""; }
.tape__mark::after { content: ""; }
.tape__mark i { order: 2; }
.tape__marker {
  position: absolute;
  right: -4px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 8px solid var(--amber);
  transform: translateY(-50%);
  transition: none;
}
.tape__marker::after {
  content: "";
  position: absolute;
  right: 8px;
  top: -4px;
  width: 60px;
  height: 9px;
  border-top: 1px solid rgba(217, 119, 6, 0.55);
}

.hud__strip {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(52px, 6.4vh, 70px);
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
  padding: 10px 14px;
  background: rgba(243, 247, 251, 0.55);
  border: 1px solid rgba(15, 30, 46, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hud__strip dt {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 30, 46, 0.55);
  margin-bottom: 3px;
}
.hud__strip dd {
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.chapters {
  position: absolute;
  inset: 0;
  z-index: 6;
  padding: clamp(88px, 13vh, 140px) var(--pad) clamp(70px, 12vh, 120px);
  pointer-events: none;
}
.chapter {
  position: absolute;
  width: min(520px, 38vw);
  padding: clamp(18px, 1.8vw, 26px) clamp(18px, 2vw, 30px);
  background: rgba(243, 247, 251, 0.92);
  border: 1px solid rgba(15, 30, 46, 0.1);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 24px 60px -30px rgba(15, 30, 46, 0.35);
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
  pointer-events: auto;
}
.chapter::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(18px, 1.8vw, 26px);
  bottom: clamp(18px, 1.8vw, 26px);
  width: 2px;
  background: var(--amber);
}
.chapter--a { right: calc(var(--pad) + 52px); bottom: 14vh; }
.chapter--b { right: calc(var(--pad) + 52px); top: 21vh; }
.chapter--c { left: clamp(20px, 8vw, 140px); top: 24vh; }

.chapter__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.chapter__meta span:first-child { color: var(--amber); }
.chapter__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.chapter__body {
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 0.3vw + 0.9rem, 1.06rem);
  line-height: 1.58;
  max-width: 46ch;
}
.chapter__note {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.flight__rail {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 22px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.rail__line { position: relative; flex: 1; height: 1px; background: rgba(15, 30, 46, 0.18); }
.rail__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--ink);
}
.rail__fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.rail__cue {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(243, 247, 251, 0.66);
  border: 1px solid rgba(15, 30, 46, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15, 30, 46, 0.68);
  transition: opacity 0.4s var(--ease);
}
.rail__cue span {
  display: block;
  width: 1px;
  height: 14px;
  background: rgba(15, 30, 46, 0.5);
}

/* 05 — section furniture -------------------------------------------------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(90px, 0.9fr) minmax(0, 3fr) minmax(0, 1.5fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(32px, 4.5vw, 64px);
}
.sec-head__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 10px;
}
.sec-head__index b { color: var(--amber); font-weight: 400; }
.sec-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  max-width: 22ch;
}
.sec-head__note {
  font-size: 0.94rem;
  color: var(--ink-mute);
  max-width: 34ch;
  padding-top: 6px;
}

/* intro */
.intro { background: linear-gradient(180deg, var(--porcelain) 0%, #eef4f9 100%); }
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}
.intro__copy p + p { margin-top: 1.1em; }
.intro__copy .lede { margin-bottom: 22px; }
.intro__copy p { color: var(--ink-soft); max-width: 54ch; }

.ledger { border-top: 1px solid var(--rule); }
.ledger li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.ledger__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ledger__v {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ledger__v small { font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute); }

/* case spreads */
.case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  padding-block: clamp(36px, 5vw, 72px);
  border-top: 1px solid var(--rule-soft);
  align-items: center;
}
.case:first-of-type { border-top: 0; }
.case__media {
  grid-column: 1 / 8;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--porcelain-3);
}
.case__media .plate {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.case__media:hover .plate { transform: scale(1.045); }
.case__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15, 30, 46, 0.1);
  pointer-events: none;
}
.case__tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(243, 247, 251, 0.86);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  backdrop-filter: blur(6px);
}
.case__body { grid-column: 8 / 13; }
.case--flip .case__media { grid-column: 6 / 13; grid-row: 1; }
.case--flip .case__body { grid-column: 1 / 6; grid-row: 1; }

.case__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 10px;
}
.case__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin-bottom: 6px;
}
.case__client {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.case__text { color: var(--ink-soft); margin-bottom: 20px; max-width: 44ch; }

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border-block: 1px solid var(--rule-soft);
  margin-bottom: 20px;
}
.specs div { background: var(--porcelain); padding: 10px 0 11px; }
.specs div:nth-child(even) { padding-left: 16px; }
.specs div:nth-child(odd) { padding-right: 12px; }
.specs dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.specs dd { font-size: 0.86rem; letter-spacing: 0.01em; }

/* capabilities */
.cap-list { border-top: 0; }
.cap {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: clamp(14px, 2.4vw, 40px);
  align-items: start;
  padding-block: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--rule-soft);
  transition: background 0.3s var(--ease);
}
.cap:hover { background: rgba(255, 255, 255, 0.55); }
.cap__n { font-family: var(--font-mono); font-size: 10px; color: var(--amber); padding-top: 5px; }
.cap__name { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.1; }
.cap__desc { color: var(--ink-soft); font-size: 0.95rem; max-width: 46ch; }
.cap__items { display: flex; flex-direction: column; gap: 4px; }
.cap__items li {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* cta band */
.cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  background: var(--porcelain-2);
}
.cta__plate {
  position: absolute;
  inset: 0;
  background-image: var(--img-work-03);
  background-size: cover;
  background-position: 50% 62%;
  opacity: 0.5;
}
.cta__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(243, 247, 251, 0.96) 20%, rgba(243, 247, 251, 0.72) 55%, rgba(232, 240, 247, 0.42) 100%);
}
.cta__inner {
  position: relative;
  padding-block: clamp(64px, 9vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.cta__side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-bottom: 8px; }
.cta__side p { color: var(--ink-soft); max-width: 32ch; }

/* image band */
.band {
  position: relative;
  height: clamp(210px, 36vw, 430px);
  overflow: hidden;
  background: var(--porcelain-3);
  border-bottom: 1px solid var(--rule-soft);
}
.band__img { position: absolute; inset: 0; background-size: cover; background-position: 50% 54%; }
.band__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243, 247, 251, 0.16) 0%, rgba(243, 247, 251, 0) 52%, rgba(15, 30, 46, 0.14) 100%);
}
.band__cap {
  position: absolute;
  left: var(--pad);
  bottom: 16px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(243, 247, 251, 0.88);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  backdrop-filter: blur(6px);
}

/* page head (inner pages) */
.page-head {
  padding-top: calc(var(--head-h) + clamp(48px, 8vw, 100px));
  padding-bottom: clamp(40px, 5vw, 72px);
  background: linear-gradient(180deg, #e9f1f8 0%, var(--porcelain) 100%);
  border-bottom: 1px solid var(--rule-soft);
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
}
.page-head__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.page-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.page-head__note {
  color: var(--ink-soft);
  max-width: 34ch;
  padding-bottom: 10px;
}

/* 06 — work index --------------------------------------------------------- */
.work-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.filter {
  padding: 8px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }
.work-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px) clamp(16px, 2vw, 26px);
}
.card { position: relative; }
.card[hidden] { display: none; }
.card__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.card__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--porcelain-3);
}
.card__media .plate {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease);
}
.card__btn:hover .plate { transform: scale(1.045); }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15, 30, 46, 0.1);
}
.card__open {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(243, 247, 251, 0.9);
  border: 1px solid rgba(15, 30, 46, 0.12);
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.card__btn:hover .card__open,
.card__btn:focus-visible .card__open { opacity: 1; transform: none; }
.card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}
.card__title { display: block; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.15; }
.card__year { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.08em; }
.card__sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.card__empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* 07 — project modal ------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.modal[aria-hidden="false"] { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease), visibility 0s; }
.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 46, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: var(--porcelain);
  border: 1px solid rgba(15, 30, 46, 0.2);
  transform: translateY(18px);
  transition: transform 0.45s var(--ease);
  overscroll-behavior: contain;
}
.modal[aria-hidden="false"] .modal__panel { transform: none; }
.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--porcelain);
  border: 1px solid var(--rule);
  cursor: pointer;
}
.modal__close:hover { background: var(--ink); color: var(--porcelain); }
.modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
}
.modal__media {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  border-right: 1px solid var(--rule-soft);
}
.modal__info { padding: clamp(22px, 3vw, 40px); }
.modal__index {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  margin-bottom: 6px;
}
.modal__client {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.modal__text { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 18px; }
.modal__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; border-top: 1px solid var(--rule-soft); padding-top: 16px; margin-bottom: 18px; }
.modal__specs dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.modal__specs dd { font-size: 0.9rem; }
.modal__list { border-top: 1px solid var(--rule-soft); padding-top: 14px; }
.modal__list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-block: 5px;
}
.modal__list li::before { content: "·"; color: var(--amber); font-size: 15px; line-height: 1.2; }
.modal__next { margin-top: 20px; }

/* 08 — studio page -------------------------------------------------------- */
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.studio-grid__side { position: sticky; top: calc(var(--head-h) + 28px); }
.studio-grid__side h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 16px;
}
.studio-grid__side p { color: var(--ink-soft); max-width: 34ch; }
.studio-copy p + p { margin-top: 1.1em; }
.studio-copy p { color: var(--ink-soft); max-width: 62ch; }
.studio-copy .pull {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.3;
  color: var(--ink);
  margin-block: 28px;
  padding-left: 22px;
  border-left: 2px solid var(--amber);
  max-width: 48ch;
}

.table { width: 100%; border-collapse: collapse; }
.table caption { text-align: left; padding-bottom: 14px; }
.table th,
.table td {
  text-align: left;
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.table th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom-color: var(--rule);
}
.table td:first-child { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); width: 18%; }
.table td:nth-child(2) { font-weight: 500; }

.hours {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 26px);
  align-items: end;
  padding-top: 8px;
}
.hours__col { display: flex; flex-direction: column; gap: 8px; }
.hours__bar {
  height: 190px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--rule);
}
.hours__bar i {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--cobalt) 0%, #4b74e6 100%);
  height: var(--h);
  transform-origin: bottom;
}
.hours__col:nth-child(6) .hours__bar i { background: linear-gradient(180deg, var(--amber) 0%, var(--amber-soft) 100%); }
.hours__v { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.hours__y { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--ink-mute); }
.hours__legend {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hours__legend span { display: inline-flex; align-items: center; gap: 7px; }
.hours__legend i { width: 8px; height: 8px; background: var(--cobalt); display: inline-block; }
.hours__legend span:nth-child(2) i { background: var(--amber); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--rule); }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 7px;
  height: 7px;
  background: var(--porcelain);
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.step__n { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--amber); }
.step__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; margin-block: 6px 8px; }
.step__text { font-size: 0.88rem; color: var(--ink-soft); }

.crew { border-top: 1px solid var(--rule); }
.crew li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 90px 110px;
  gap: 16px;
  align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule-soft);
}
.crew__name { font-family: var(--font-display); font-size: 1.3rem; }
.crew__role { color: var(--ink-soft); font-size: 0.9rem; }
.crew__hrs,
.crew__base { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

.note-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--amber);
  background: rgba(255, 255, 255, 0.5);
}
.note-panel h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; font-weight: 400; }
.note-panel p { color: var(--ink-soft); max-width: 66ch; font-size: 0.94rem; }

/* 09 — contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.form { border-top: 1px solid var(--rule); padding-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; padding-block: 14px; }
.field--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border: 0; padding-block: 0; }
.field--split .field { padding-block: 14px; }
.field label,
.field .label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field label b { color: var(--amber); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--cobalt);
  background: rgba(255, 255, 255, 0.5);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%), linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%); background-position: calc(100% - 12px) 18px, calc(100% - 7px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field__err {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #a8341a;
  min-height: 0;
  display: none;
}
.field.is-bad .field__err { display: block; }
.field.is-bad input,
.field.is-bad select,
.field.is-bad textarea { border-bottom-color: #a8341a; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.form__hint { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--ink-mute); }
.form__status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: #a8341a; }

.confirm { border: 1px solid var(--rule); padding: clamp(24px, 3.4vw, 42px); background: rgba(255, 255, 255, 0.6); }
.confirm__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--amber);
  color: var(--amber);
  margin-bottom: 20px;
}
.confirm h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.05; margin-bottom: 10px; }
.confirm p { color: var(--ink-soft); max-width: 50ch; }
.confirm p + p { margin-top: 12px; }
.confirm__ref {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.confirm__ref b { color: var(--ink); font-weight: 400; letter-spacing: 0.18em; }

.aside-block { padding-block: 22px; border-bottom: 1px solid var(--rule-soft); }
.aside-block:first-child { border-top: 1px solid var(--rule); }
.aside-block dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.aside-block dd { font-size: 1rem; }
.aside-block dd a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.aside-note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
}

/* 10 — footer ------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--rule);
  background: var(--porcelain-2);
  padding-block: clamp(40px, 6vw, 72px) 26px;
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 48px;
}
.foot__brand { display: flex; flex-direction: column; gap: 14px; }
.foot__brand .brand__name { font-size: 26px; }
.foot__brand p { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); line-height: 1.9; }
.foot__col h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.foot__col a,
.foot__col p { display: block; font-size: 0.9rem; color: var(--ink-soft); padding-block: 3px; }
.foot__col a:hover { color: var(--cobalt); }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* 11 — responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  .brand__sub { display: none; }
  .head__status { display: none; }
  .sec-head { grid-template-columns: 70px minmax(0, 1fr); }
  .rail__cue { display: none; }
  .sec-head__note { grid-column: 2; padding-top: 0; }
  .case__media { grid-column: 1 / 7; }
  .case__body { grid-column: 7 / 13; }
  .case--flip .case__media { grid-column: 7 / 13; }
  .case--flip .case__body { grid-column: 1 / 7; }
}

@media (max-width: 960px) {
  :root { --head-h: 68px; }
  .nav { display: none; }
  .head__aside .btn { display: none; }
  .drawer-btn { display: inline-flex; }
  .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .cta__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .page-head__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-grid__side { position: static; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.4fr); }
  .cap__items { grid-column: 2 / 4; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .modal__body { grid-template-columns: minmax(0, 1fr); }
  .modal__media { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--rule-soft); }
}

@media (max-width: 720px) {
  .flight { height: 300vh; height: 300svh; }
  .hud__tape { display: none; }
  .hud__alt { top: 10px; left: auto; right: 16px; text-align: right; }
  .hud__value { justify-content: flex-end; }
  .hud__value { font-size: 26px; }
  .hud__strip { display: none; }
  .chapters { padding-inline: 16px; }
  .chapter {
    width: calc(100% - 32px);
    padding: 16px 16px 18px;
    background: rgba(243, 247, 251, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    will-change: auto;
  }
  .chapter::before { top: 16px; bottom: 16px; }
  .chapter--a { left: 16px; right: 16px; top: auto; bottom: 10vh; }
  .chapter--b { left: 16px; right: 16px; top: auto; bottom: 10vh; }
  .chapter--c { left: 16px; right: 16px; top: auto; bottom: 10vh; }
  .chapter__title { font-size: clamp(1.55rem, 7vw, 2rem); margin-bottom: 10px; }
  .chapter__body { font-size: 0.93rem; line-height: 1.5; }
  .chapter__note { display: none; }
  .chapter__meta { margin-bottom: 10px; }
  .rail__cue { display: none; }
  .case { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case__media,
  .case--flip .case__media { grid-column: 1; grid-row: auto; }
  .case__body,
  .case--flip .case__body { grid-column: 1; grid-row: auto; }
  .case--flip .case__media { order: -1; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .work-count { width: 100%; margin-left: 0; padding-top: 4px; }
  .cap { grid-template-columns: 32px minmax(0, 1fr); }
  .cap__desc { grid-column: 2; }
  .cap__items { grid-column: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .crew__role { grid-column: 1; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .field--split { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .table td:first-child { width: 32%; }
  .table th:nth-child(3),
  .table td:nth-child(3) { display: none; }
}

@media (max-width: 420px) {
  .hours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hud__value { font-size: 26px; }
  .brand__name { font-size: 20px; }
}

/* reduced motion: a composed still frame, no choreography ----------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .flight { height: auto; }
  .flight__stage { position: relative; height: auto; padding-top: 88svh; min-height: 0; }
  .sky { height: 88svh; }
  .chapters {
    position: relative;
    inset: auto;
    display: grid;
    gap: 16px;
    padding: 28px var(--pad) 40px;
    background: var(--porcelain);
    pointer-events: auto;
  }
  .chapter {
    position: relative;
    inset: auto;
    width: min(760px, 100%);
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.7);
  }
  .plane {
    left: 52%;
    top: 40%;
    transform: translate(-50%, -50%) rotate(-3deg);
    width: min(640px, 62vw);
  }
  .chapter--a,
  .chapter--b,
  .chapter--c { left: auto; right: auto; top: auto; bottom: auto; }
  .hud__tape { display: none; }
  .rail__cue { display: none; }
  .flight__rail { display: none; }
}
