/* Obsidian Graphics: the print production room.
   Obsidian slabs, paste-up table grey, white artboards with crop marks,
   CMYK process accents in strict micro-doses. */

:root {
  --obsidian: #101113;
  --obsidian-2: #16171a;
  --carbon: #0b0c0e;
  --table: #e9e7e2;
  --board: #ffffff;
  --ink: #17181a;
  --muted: #55585d;
  --dim: #85888d;
  --line: rgba(23, 24, 26, 0.14);
  --line-strong: rgba(23, 24, 26, 0.34);
  --on-dark: #f3f2ee;
  --on-dark-muted: rgba(243, 242, 238, 0.66);
  --on-dark-dim: rgba(243, 242, 238, 0.42);
  --on-dark-line: rgba(243, 242, 238, 0.14);
  --pc: #00a3e0;
  --pm: #e5187d;
  --py: #f2c200;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'Azeret Mono', ui-monospace, Consolas, monospace;
  --wide: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.shot * , html.shot *::before, html.shot *::after { animation: none !important; transition: none !important; }

body {
  background: var(--table);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-width: 320px;
}
body.menu-open, body.dialog-open { overflow: hidden; }

::selection { background: var(--py); color: var(--ink); }

img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

:focus-visible { outline: 2.5px solid var(--pm); outline-offset: 3px; }

.container { margin-inline: auto; max-width: var(--wide); padding-inline: clamp(18px, 4vw, 40px); width: 100%; }

.skip-link {
  background: var(--py);
  color: var(--ink);
  font-weight: 700;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  text-decoration: none;
  top: 12px;
  transform: translateY(-180%);
  z-index: 300;
}
.skip-link:focus { transform: translateY(0); }

/* Registration-mark label */
.eyebrow {
  align-items: center;
  color: var(--on-dark-muted);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  gap: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow--icon::before {
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2.5px transparent;
  content: '';
  height: 11px;
  opacity: 0.9;
  position: relative;
  width: 11px;
}
.eyebrow--dark { color: var(--muted); }

/* CMYK calibration chips */
.eyebrow::after {
  background:
    linear-gradient(90deg, var(--pc) 0 25%, var(--pm) 25% 50%, var(--py) 50% 75%, currentColor 75%);
  content: '';
  height: 6px;
  opacity: 0.9;
  width: 26px;
}

/* Buttons */
.button {
  align-items: center;
  border: 1.5px solid transparent;
  border-radius: 2px;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  gap: 10px;
  letter-spacing: 0.1em;
  min-height: 50px;
  padding: 14px 22px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.button--light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.button--light:hover { box-shadow: 3px 3px 0 var(--pm), -3px -3px 0 var(--pc); transform: translateY(-2px); }
.button--outline-light { border-color: rgba(243, 242, 238, 0.45); color: var(--on-dark); }
.button--outline-light:hover { border-color: var(--on-dark); transform: translateY(-2px); }
.section--paper .button--light,
.page-work .button--light { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.text-link {
  color: inherit;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-decoration-color: var(--pm);
  text-transform: uppercase;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--pc); }

/* Header: the studio slab */
.site-header {
  background: rgba(16, 17, 19, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--on-dark-line);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}
.site-header::after {
  background: linear-gradient(90deg, var(--pc) 0 25%, var(--pm) 25% 50%, var(--py) 50% 75%, var(--on-dark) 75%);
  bottom: -2px;
  content: '';
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 200ms ease;
  width: min(24vw, 260px);
}
.site-header.is-scrolled::after { opacity: 0.85; }
.header-inner { align-items: center; display: flex; gap: 26px; min-height: 78px; }
.site-brand { flex: 0 0 auto; margin-right: auto; }
.site-brand img { width: clamp(170px, 17vw, 215px); }
.desktop-nav { align-items: center; display: flex; gap: 4px; }
.desktop-nav a:not(.button) {
  border-radius: 2px;
  color: var(--on-dark-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 9px 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 130ms ease;
}
.desktop-nav a:not(.button):hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--pm); text-underline-offset: 6px; }
.desktop-nav .button { margin-left: 12px; min-height: 42px; padding: 10px 16px; }
.mobile-actions { align-items: center; display: none; gap: 12px; }
.mobile-start {
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-decoration-color: var(--pm);
  text-transform: uppercase;
  text-underline-offset: 4px;
}
.menu-toggle {
  background: transparent;
  border: 1.5px solid rgba(243, 242, 238, 0.4);
  border-radius: 2px;
  cursor: pointer;
  height: 44px;
  width: 50px;
}
.menu-toggle span { background: var(--on-dark); display: block; height: 2px; margin: 5px auto; transition: transform 150ms ease; width: 20px; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(0, 163, 224, 0.1), transparent 70%),
    var(--obsidian);
  display: grid;
  grid-template-rows: 1fr auto;
  inset: 0;
  opacity: 0;
  padding: 110px clamp(18px, 5vw, 40px) 30px;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 90;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu-links { display: grid; align-content: start; }
.mobile-menu-links a {
  border-bottom: 1px solid var(--on-dark-line);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 700;
  padding: 16px 0;
  text-decoration: none;
}
.mobile-menu-links a:hover { color: var(--pm); }
.mobile-menu-footer { color: var(--on-dark-dim); display: grid; font-family: var(--font-mono); font-size: 11px; gap: 6px; letter-spacing: 0.08em; }
.mobile-menu-footer a { color: var(--on-dark-muted); }

/* Sections */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section--paper { background: var(--table); color: var(--ink); }
.section--dark { background: var(--obsidian); color: var(--on-dark); }
.section--carbon { background: var(--carbon); color: var(--on-dark); }

.section-title { font-size: clamp(30px, 4vw, 50px); letter-spacing: -0.025em; }
.section--paper .section-title { color: var(--ink); }
.section--dark .section-title, .section--carbon .section-title { color: var(--on-dark); }

.section-heading {
  align-items: end;
  display: grid;
  gap: clamp(20px, 4vw, 60px);
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  margin-bottom: clamp(38px, 5vw, 60px);
}
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading-copy { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 46ch; }
.section--dark .section-heading-copy, .section--carbon .section-heading-copy { color: var(--on-dark-muted); }

/* Hero: the press check */
.hero {
  background:
    radial-gradient(80% 60% at 78% 10%, rgba(0, 163, 224, 0.09), transparent 60%),
    radial-gradient(60% 50% at 20% 90%, rgba(229, 24, 125, 0.07), transparent 60%),
    var(--obsidian);
  color: var(--on-dark);
  overflow: hidden;
  padding: clamp(140px, 15vw, 180px) 0 0;
}
.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  padding-bottom: clamp(60px, 8vw, 96px);
}
.display-title {
  color: var(--on-dark);
  display: grid;
  font-size: clamp(38px, 4.9vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 20px 0 22px;
}
/* CMYK misregistration snapping into register */
@media (prefers-reduced-motion: no-preference) {
  .hero .display-title span { animation: register 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero .display-title span:nth-child(2) { animation-delay: 90ms; }
  .hero .display-title span:nth-child(3) { animation-delay: 180ms; }
}
@keyframes register {
  0% { text-shadow: -0.14em 0 0 rgba(0, 163, 224, 0.85), 0.14em 0 0 rgba(229, 24, 125, 0.85), 0 0.1em 0 rgba(242, 194, 0, 0.6); }
  100% { text-shadow: -0.022em 0 0 rgba(0, 163, 224, 0.5), 0.022em 0 0 rgba(229, 24, 125, 0.5), 0 0 0 rgba(242, 194, 0, 0); }
}
.hero .display-title span { text-shadow: -0.022em 0 0 rgba(0, 163, 224, 0.5), 0.022em 0 0 rgba(229, 24, 125, 0.5); }
.steel-text { color: var(--on-dark); }
.hero-lede { color: var(--on-dark-muted); font-size: clamp(15.5px, 1.5vw, 17.5px); line-height: 1.7; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Hero stage: three boards on the table */
.hero-stage { align-items: center; display: grid; grid-template-columns: repeat(12, 1fr); min-height: 420px; position: relative; }
.hero-art {
  background: var(--board);
  border: 0;
  border-radius: 2px;
  cursor: zoom-in;
  padding: 10px 10px 12px;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.hero-art img { border-radius: 1px; }
.hero-art::before, .hero-art::after {
  border: solid var(--on-dark-dim);
  content: '';
  height: 12px;
  position: absolute;
  width: 12px;
}
.hero-art::before { border-width: 1.5px 0 0 1.5px; left: -7px; top: -7px; }
.hero-art::after { border-width: 0 1.5px 1.5px 0; bottom: -7px; right: -7px; }
.hero-art--main { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.85); grid-column: 4 / 10; transform: rotate(0.6deg); z-index: 3; }
.hero-art--left { box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.8); grid-column: 1 / 5; grid-row: 1; transform: rotate(-2.4deg) translateY(-26px); z-index: 2; }
.hero-art--right { box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.8); grid-column: 9 / 13; grid-row: 1; transform: rotate(2.2deg) translateY(34px); z-index: 1; }
.hero-art:hover { transform: rotate(0deg) translateY(-8px); z-index: 5; }
.hero-art:focus-visible { z-index: 5; }
.hero-stage-note {
  background: var(--board);
  bottom: -12px;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
  color: var(--ink);
  display: grid;
  font-family: var(--font-mono);
  gap: 2px;
  left: 6px;
  padding: 10px 14px;
  position: absolute;
  transform: rotate(-2deg);
  z-index: 4;
}
.hero-stage-note strong { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-stage-note span { color: var(--muted); font-size: 9.5px; letter-spacing: 0.08em; }

/* Work: artboards on the table */
.work-grid { display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-grid--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-card { display: grid; gap: 0; }
.work-card-button {
  background: var(--board);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: zoom-in;
  overflow: hidden;
  padding: clamp(12px, 1.6vw, 18px);
  position: relative;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.work-card-button::before, .work-card-button::after {
  border: solid var(--line-strong);
  content: '';
  height: 14px;
  position: absolute;
  width: 14px;
  z-index: 2;
}
.work-card-button::before { border-width: 1.5px 0 0 1.5px; left: 5px; top: 5px; }
.work-card-button::after { border-width: 0 1.5px 1.5px 0; bottom: 5px; right: 5px; }
.work-card-button img { border-radius: 1px; transition: transform 260ms ease; width: 100%; }
.work-card-button:hover { box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.55); transform: translateY(-5px); }
.work-card-caption {
  align-items: baseline;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  gap: 14px;
  padding: 14px 4px 12px;
}
.work-index { color: var(--pm); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.work-card:nth-child(2n) .work-index { color: var(--pc); }
.work-name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.work-type { color: var(--dim); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; margin-left: auto; text-transform: uppercase; white-space: nowrap; }
.work-section-footer {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  margin-top: clamp(28px, 4vw, 44px);
}

/* Services: the ink room */
.service-list { border-top: 1px solid var(--on-dark-line); display: grid; }
.service-row {
  align-items: baseline;
  border-bottom: 1px solid var(--on-dark-line);
  display: grid;
  gap: clamp(16px, 4vw, 56px);
  grid-template-columns: 74px minmax(0, 0.75fr) minmax(0, 1.25fr);
  padding: clamp(24px, 3.4vw, 40px) 0;
  position: relative;
  transition: background 160ms ease;
}
.service-row::before { content: ''; height: 10px; left: 0; position: absolute; top: clamp(32px, 4vw, 48px); width: 10px; }
.service-row:nth-child(1)::before { background: var(--pc); }
.service-row:nth-child(2)::before { background: var(--pm); }
.service-row:nth-child(3)::before { background: var(--py); }
.service-row:nth-child(4)::before { background: var(--on-dark); }
.service-number { color: var(--on-dark-dim); font-family: var(--font-mono); font-size: 12px; padding-left: 26px; }
.service-row h3 { color: var(--on-dark); font-size: clamp(22px, 2.6vw, 30px); }
.service-row p { color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.7; max-width: 58ch; }
.service-row p strong {
  color: var(--on-dark);
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Process: the production line */
.process-header {
  align-items: end;
  display: grid;
  gap: clamp(20px, 4vw, 60px);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  margin-bottom: clamp(38px, 5vw, 56px);
}
.process-header p { color: var(--on-dark-muted); font-size: 15px; line-height: 1.7; max-width: 44ch; }
.process-grid { border-top: 1px solid var(--on-dark-line); display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.process-grid::before {
  background: linear-gradient(90deg, var(--pc) 0 20%, var(--pm) 20% 40%, var(--py) 40% 60%, var(--on-dark) 60% 80%, var(--on-dark-dim) 80%);
  content: '';
  height: 3px;
  left: 0;
  position: absolute;
  top: -2px;
  width: 100%;
  opacity: 0.85;
}
.process-step { border-right: 1px solid var(--on-dark-line); padding: 24px clamp(14px, 2vw, 24px) 8px; }
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-step span { color: var(--on-dark-dim); font-family: var(--font-mono); font-size: 11px; }
.process-step h3 { color: var(--on-dark); font-size: 19px; margin: 12px 0 8px; }
.process-step p { color: var(--on-dark-muted); font-size: 13px; line-height: 1.6; }

/* Engagements: job tickets */
.engagements-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.engagement-card {
  background: var(--board);
  border: 1px solid var(--line);
  border-radius: 2px;
  border-top: 4px solid var(--ink);
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
  padding: 22px 20px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.engagement-card:nth-child(1) { border-top-color: var(--pc); }
.engagement-card:nth-child(2) { border-top-color: var(--pm); }
.engagement-card:nth-child(4) { border-top-color: var(--py); }
.engagement-card:hover { box-shadow: 0 26px 44px -30px rgba(0, 0, 0, 0.5); transform: translateY(-5px); }
.engagement-card-number { color: var(--dim); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.engagement-card h3 { font-size: 20px; letter-spacing: -0.01em; }
.engagement-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.engagement-card .text-link { margin-top: auto; padding-top: 14px; }
.engagement-card--featured { background: var(--obsidian); border-color: var(--obsidian); color: var(--on-dark); }
.engagement-card--featured .engagement-card-number { color: var(--on-dark-dim); }
.engagement-card--featured h3 { color: var(--on-dark); }
.engagement-card--featured p { color: var(--on-dark-muted); }
.engagement-note { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; margin-top: 24px; text-transform: uppercase; }

/* Contact: back to the slab */
.contact-section {
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(0, 163, 224, 0.12), transparent 60%),
    radial-gradient(50% 60% at 30% 100%, rgba(229, 24, 125, 0.08), transparent 60%),
    var(--obsidian);
  color: var(--on-dark);
  padding: clamp(84px, 11vw, 140px) 0;
  position: relative;
}
.contact-section::before {
  background: linear-gradient(90deg, var(--pc) 0 25%, var(--pm) 25% 50%, var(--py) 50% 75%, var(--on-dark) 75%);
  content: '';
  height: 3px;
  left: 0;
  opacity: 0.85;
  position: absolute;
  top: 0;
  width: 100%;
}
.contact-inner { display: grid; justify-items: center; margin-inline: auto; max-width: 760px; text-align: center; }
.contact-inner .section-title { color: var(--on-dark); font-size: clamp(30px, 4.4vw, 54px); margin: 14px 0 14px; }
.contact-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 28px; }
.copy-email {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--pm);
  color: var(--on-dark-muted);
  cursor: copy;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 8px 2px;
  transition: color 140ms ease, border-color 140ms ease;
}
.copy-email:hover { color: var(--on-dark); }
.copy-email.is-copied { border-color: var(--py); color: var(--py); }
.brief-prompt {
  align-items: baseline;
  color: var(--on-dark-dim);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10.5px;
  gap: 8px 18px;
  justify-content: center;
  letter-spacing: 0.12em;
  margin-top: 30px;
  text-transform: uppercase;
}
.brief-prompt strong { color: var(--on-dark-muted); font-weight: 500; }
.brief-prompt span { align-items: center; display: inline-flex; gap: 8px; }
.brief-prompt span::before { background: var(--on-dark-dim); border-radius: 50%; content: ''; height: 4px; width: 4px; }

/* Footer */
.site-footer { background: var(--carbon); border-top: 1px solid var(--on-dark-line); color: var(--on-dark); }
.footer-main {
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.6fr) minmax(220px, 0.9fr);
  padding-block: clamp(44px, 6vw, 68px);
}
.footer-brand img { width: min(240px, 66vw); }
.footer-brand p { color: var(--on-dark-muted); font-size: 13.5px; line-height: 1.7; margin-top: 16px; max-width: 36ch; }
.footer-column { display: grid; align-content: start; gap: 9px; justify-items: start; }
.footer-column h2 {
  color: var(--on-dark-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.footer-column a { color: var(--on-dark-muted); font-size: 14px; text-decoration: none; }
.footer-column a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--pm); text-underline-offset: 4px; }
.footer-legal {
  border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark-dim);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px 28px;
  justify-content: space-between;
  padding-block: 18px 24px;
}
.footer-legal a { color: var(--on-dark-muted); }

/* Artwork viewer */
.art-dialog {
  background: transparent;
  border: 0;
  height: 100dvh;
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100vw;
}
.art-dialog::backdrop { background: rgba(8, 9, 10, 0.92); }
.dialog-shell {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: 100%;
  margin-inline: auto;
  max-width: 1100px;
  padding: clamp(16px, 3vw, 40px);
  position: relative;
}
.dialog-figure { display: grid; gap: 12px; justify-items: center; max-height: 100%; }
.dialog-figure img {
  background: var(--board);
  border-radius: 2px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  max-height: min(78vh, 900px);
  padding: 10px;
  width: auto;
}
.dialog-caption {
  align-items: baseline;
  color: var(--on-dark);
  display: flex;
  font-family: var(--font-mono);
  font-size: 12px;
  gap: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dialog-count { color: var(--on-dark-dim); }
.dialog-close {
  background: var(--on-dark);
  border: 0;
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  height: 44px;
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  top: clamp(16px, 3vw, 40px);
  width: 44px;
  z-index: 2;
}
.dialog-nav {
  background: transparent;
  border: 1.5px solid rgba(243, 242, 238, 0.4);
  border-radius: 2px;
  color: var(--on-dark);
  cursor: pointer;
  font-size: 18px;
  height: 48px;
  width: 48px;
}
.dialog-nav:hover { border-color: var(--on-dark); }
.dialog-help {
  bottom: 14px;
  color: var(--on-dark-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  left: 0;
  letter-spacing: 0.08em;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

/* Work page */
.page-work { background: var(--table); }
.work-hero {
  background:
    radial-gradient(70% 70% at 80% 0%, rgba(0, 163, 224, 0.08), transparent 60%),
    var(--obsidian);
  color: var(--on-dark);
  padding: clamp(140px, 15vw, 176px) 0 clamp(48px, 6vw, 72px);
}
.work-hero-copy { display: grid; gap: 18px; justify-items: start; }
.work-hero-copy > p:not(.eyebrow) { color: var(--on-dark-muted); font-size: 16px; line-height: 1.7; max-width: 54ch; }
.work-hero .display-title { font-size: clamp(36px, 5vw, 62px); margin: 6px 0 0; }
.work-hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
}
.work-hero-rail { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.work-hero-rail > div {
  background: var(--board);
  border-radius: 2px;
  padding: 7px 7px 9px;
  position: relative;
}
.work-hero-rail > div::before {
  border: solid var(--on-dark-dim);
  border-width: 1.5px 0 0 1.5px;
  content: '';
  height: 10px;
  left: -6px;
  position: absolute;
  top: -6px;
  width: 10px;
}
.work-hero-rail > div:nth-child(1) { box-shadow: 0 26px 44px -26px rgba(0, 0, 0, 0.85); transform: rotate(-2deg); }
.work-hero-rail > div:nth-child(2) { box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.85); transform: translateY(-14px); z-index: 2; }
.work-hero-rail > div:nth-child(3) { box-shadow: 0 26px 44px -26px rgba(0, 0, 0, 0.85); transform: rotate(2deg) translateY(10px); }
.work-hero-rail img { aspect-ratio: 4 / 5; border-radius: 1px; object-fit: cover; width: 100%; }
.work-page-intro { color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* 404 */
.page-error { background: var(--obsidian); }
.error-main { align-items: center; color: var(--on-dark); display: grid; min-height: 100svh; padding: 120px 0 80px; }
html.shot .error-main { min-height: 0 !important; }
.error-content { display: grid; justify-items: center; margin-inline: auto; max-width: 640px; text-align: center; }
.error-code {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: clamp(96px, 20vw, 190px);
  font-weight: 700;
  line-height: 0.9;
  text-shadow: -0.05em 0 0 rgba(0, 163, 224, 0.6), 0.05em 0 0 rgba(229, 24, 125, 0.6);
}
.error-content h1 { color: var(--on-dark); font-size: clamp(24px, 3.4vw, 38px); margin: 18px 0 10px; }
.error-content p { color: var(--on-dark-muted); line-height: 1.7; max-width: 44ch; }
.error-content .hero-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .mobile-actions { display: flex; }
  .header-inner { min-height: 68px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { margin-inline: auto; max-width: 560px; min-height: 0; padding: 20px 0 40px; width: 100%; }
  .section-heading, .process-header { grid-template-columns: 1fr; }
  .work-grid, .work-grid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-hero-inner { grid-template-columns: 1fr; }
  .work-hero-rail { margin-inline: auto; max-width: 560px; width: 100%; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row p { grid-column: 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .process-step:nth-child(2n) { border-right: 0; }
  .engagements-grid { grid-template-columns: repeat(2, 1fr); }
  .engagement-card { min-height: 0; }
  .footer-main { grid-template-columns: 1.4fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero { padding-top: 110px; }
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .button { justify-content: center; width: 100%; }
  .hero-stage { grid-template-columns: repeat(8, 1fr); }
  .hero-art--left { grid-column: 1 / 4; }
  .hero-art--main { grid-column: 3 / 7; }
  .hero-art--right { grid-column: 6 / 9; }
  .work-grid, .work-grid--all { grid-template-columns: 1fr; }
  .work-section-footer { flex-direction: column; }
  .service-row { grid-template-columns: 1fr; }
  .service-row p { grid-column: 1; }
  .service-number { padding-left: 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; padding-inline: 0; }
  .engagements-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}
