:root {
  --ink: #0c0b09;
  --ink-2: #16140f;
  --cream: #f3efe6;
  --paper: #efeae0;
  --paper-2: #e6e0d2;
  --amber: #e7a64a;
  --amber-deep: #c9852a;
  --line-dark: rgba(243, 239, 230, 0.14);
  --line-light: rgba(22, 20, 15, 0.12);
  --muted-dark: #c9c3b6;
  --muted-light: #4a463f;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --header: 4.5rem;
  --wrap: 1120px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-lock {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.3rem, 7.4vw, 6.5rem);
  font-weight: 560;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
}

h3 {
  font-size: 1.55rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--amber);
}

:focus-visible {
  outline: 2px solid #ffb703;
  outline-offset: 3px;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 0.8rem;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  z-index: 40;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 9, 0.9);
  backdrop-filter: blur(16px);
  z-index: -1;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
}

.header-bar {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--cream);
}

.logo svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--amber);
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted-dark);
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--cream);
}

.header-cta {
  text-decoration: none;
}

.nav .nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-box {
  width: 1rem;
  height: 0.7rem;
  position: relative;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle-box span:first-child {
  top: 0;
}

.nav-toggle-box span:last-child {
  top: 0.55rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child {
  top: 0.28rem;
  transform: rotate(40deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child {
  top: 0.28rem;
  transform: rotate(-40deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-solid {
  background: var(--cream);
  color: var(--ink);
}

.btn-solid:hover {
  background: var(--amber);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-dark);
}

.btn-ghost:hover {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-block {
  width: 100%;
}

.hero {
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(231, 166, 74, 0.16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(90, 110, 140, 0.16), transparent 55%),
    var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.eyebrow,
.index,
.kicker,
.runtime,
.reel-bar,
.stat-label,
.facts dt,
.field span,
.form-note,
.footer-line {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--amber);
  font-size: 0.72rem;
  margin-bottom: 1.25rem;
}

.rec {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #e23d2b;
  box-shadow: 0 0 0 0 rgba(226, 61, 43, 0.6);
  animation: pulse 1.8s ease-out infinite;
}

.lede {
  max-width: 38rem;
  margin-top: 1.4rem;
  color: var(--muted-dark);
  font-size: 1.12rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.reel {
  margin: 0;
  border: 1px solid var(--line-dark);
  background: #090807;
  box-shadow: var(--shadow);
}

.reel-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}

.rec-label {
  color: #e23d2b;
}

.frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a120c;
}

.frame-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a120c;
}

.frame-lower {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.6rem;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
  background: #100e0c;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.marquee ul {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0.85rem 0;
  margin: 0;
}

.marquee li {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  padding-inline: 1.1rem;
}

.marquee li::before {
  content: "·";
  color: var(--amber);
  margin-right: 1.1rem;
}

.band {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.band-paper {
  background: var(--paper);
  color: var(--ink-2);
}

.band-ink {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(231, 166, 74, 0.08), transparent 60%),
    #100e0b;
}

.band-paper .lede,
.studio-copy p,
.steps p {
  color: var(--muted-light);
}

.index {
  color: var(--amber-deep);
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}

.band:not(.band-paper) .index {
  color: var(--amber);
}

.studio-grid,
.contact-grid,
.section-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.studio-copy p + p {
  margin-top: 1rem;
}

.principles {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.principles li {
  padding-left: 1rem;
  position: relative;
}

.principles li::before {
  content: "";
  width: 0.4rem;
  height: 1px;
  background: var(--amber-deep);
  position: absolute;
  left: 0;
  top: 0.75em;
}

.stats {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem 2.5rem;
  align-items: end;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.stat-label {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  color: var(--muted-light);
}

.stat-wide {
  justify-self: end;
  align-self: center;
}

.stat-inline {
  margin: 0;
  font-size: 0.72rem;
  max-width: 16rem;
  line-height: 1.7;
  text-align: right;
}

.section-head {
  margin-bottom: 2.2rem;
  max-width: 40rem;
}

.section-head-row {
  max-width: none;
  margin-bottom: 1.5rem;
  align-items: end;
}

.section-note {
  color: var(--muted-dark);
  font-weight: 300;
  max-width: 28rem;
  justify-self: end;
}

.service-list,
.steps {
  list-style: none;
  padding: 0;
}

.service-list {
  border-bottom: 1px solid var(--line-dark);
}

.service-list article {
  display: grid;
  grid-template-columns: 3.5rem minmax(9rem, 0.7fr) minmax(0, 1.6fr) auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0.4rem;
  border-top: 1px solid var(--line-dark);
  transition: background 0.2s ease, padding 0.2s ease;
}

.service-list li:hover article,
.service-list article:focus-within {
  background: rgba(231, 166, 74, 0.06);
}

.num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.band-paper .num {
  color: var(--amber-deep);
}

.service-list p,
.work-line {
  color: var(--muted-dark);
  font-weight: 300;
}

.runtime {
  font-size: 0.68rem;
  color: var(--muted-dark);
  white-space: nowrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.filters button {
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--muted-dark);
  border-radius: 999px;
  min-height: 2.3rem;
  padding: 0.3rem 0.85rem;
  cursor: pointer;
}

.filters button.is-active,
.filters button:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-open {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.still {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #1a140f;
}

.still img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.still.is-portrait img {
  object-position: center 18%;
}

.still::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.8rem;
  height: 2.8rem;
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 230, 0.75);
  background:
    linear-gradient(to right, transparent 42%, var(--cream) 42% 62%, transparent 62%) center / 46% 34% no-repeat,
    rgba(12, 11, 9, 0.42);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.work-open:hover .still::after,
.work-open:focus-visible .still::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.still-origin {
  background: linear-gradient(#f2c089 0%, #e07a3d 42%, #1b120e 42.2%, #120e0c 100%);
}

.still-origin::before {
  content: "";
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  right: 16%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff1cc, #ffd27a 45%, transparent 70%);
}

.still-feed {
  background:
    linear-gradient(180deg, transparent 40%, #07060a 100%),
    #140816;
}

.still-feed::before {
  content: "";
  position: absolute;
  inset: 18% 12% 28%;
  background:
    linear-gradient(#ff4d8d, #ff4d8d) 8% 20% / 8% 70% no-repeat,
    linear-gradient(#3de0ff, #3de0ff) 38% 0 / 7% 88% no-repeat,
    linear-gradient(#e7a64a, #e7a64a) 68% 30% / 6% 55% no-repeat,
    linear-gradient(#b388ff, #b388ff) 86% 10% / 5% 62% no-repeat;
  filter: blur(0.4px);
  opacity: 0.9;
}

.still-explain {
  background:
    linear-gradient(#16140f, #16140f) 12% 34% / 30% 2px no-repeat,
    linear-gradient(#16140f, #16140f) 12% 48% / 22% 2px no-repeat,
    linear-gradient(#16140f, #16140f) 12% 62% / 16% 2px no-repeat,
    #e7e1d6;
  border-color: rgba(22, 20, 15, 0.16);
}

.still-explain::before {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(22, 20, 15, 0.45);
  border-radius: 50%;
  right: 10%;
  top: 18%;
}

.still-product {
  background: radial-gradient(ellipse at 50% 42%, #4a4338, #0e0d0b 68%);
}

.still-product::before {
  content: "";
  position: absolute;
  width: 36%;
  height: 42%;
  left: 32%;
  top: 29%;
  border-radius: 0.4rem;
  background: linear-gradient(160deg, #f4efe4, #8d8374 45%, #2c2924);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  transform: rotate(-8deg);
}

.still-mood {
  background: linear-gradient(#24506f, #0e1c28 58%, #07090b);
}

.still-mood::before {
  content: "";
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  right: 18%;
  top: 16%;
  border-radius: 50%;
  background: #f4efe4;
  box-shadow: 0 0 40px rgba(244, 239, 228, 0.45);
}

.still-launch {
  background: radial-gradient(circle at 50% 50%, #e7a64a, #7a3b16 28%, #1a0d08 62%);
}

.still-launch::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(243, 239, 230, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(243, 239, 230, 0.06), inset 0 0 0 12px rgba(243, 239, 230, 0.08);
}

.work-copy {
  display: grid;
  gap: 0.25rem;
}

.kicker {
  font-size: 0.66rem;
  color: var(--amber);
}

.work-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.work-line {
  font-size: 0.98rem;
}

.empty-work {
  margin-top: 1rem;
  color: var(--muted-dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: none;
}

.steps li {
  padding: 1.2rem 1rem 0.4rem 0;
  border-top: 1px solid var(--line-light);
}

.steps h3 {
  margin: 0.8rem 0 0.55rem;
}

.lede-tight {
  margin-top: 1rem;
}

.facts {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.facts div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-dark);
}

.facts dt {
  font-size: 0.66rem;
  color: var(--amber);
}

.facts dd {
  margin: 0;
}

.brief {
  background: var(--paper);
  color: var(--ink-2);
  padding: clamp(1.2rem, 2vw, 1.6rem);
  color-scheme: light;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.field span {
  font-size: 0.66rem;
  color: var(--muted-light);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(22, 20, 15, 0.18);
  background: #f7f4ee;
  color: var(--ink-2);
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink-2);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #9d2c20;
}

.form-error {
  color: #9d2c20;
  margin: 0 0 0.8rem;
}

.form-note,
.form-status {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--sans);
  color: var(--muted-light);
}

.form-status:empty {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  padding: 1.6rem 0 2rem;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: center;
}

.footer-bar nav {
  display: flex;
  gap: 1rem;
}

.footer-bar a {
  text-decoration: none;
  color: var(--muted-dark);
}

.footer-line {
  font-size: 0.66rem;
  color: var(--muted-dark);
  letter-spacing: 0.12em;
  margin-top: 0.3rem;
}

.work-dialog {
  width: min(880px, calc(100vw - 1.5rem));
  max-height: min(680px, calc(100svh - 1.5rem));
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--paper);
  color: var(--ink-2);
  box-shadow: var(--shadow);
}

.work-dialog::backdrop {
  background: rgba(8, 7, 5, 0.72);
}

.dialog-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  border: 1px solid rgba(22, 20, 15, 0.2);
  background: #f7f4ee;
  color: var(--ink-2);
  border-radius: 999px;
  min-height: 2.4rem;
  padding: 0.3rem 0.85rem;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  min-height: 420px;
}

.dialog-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.35rem 1.4rem;
}

.work-dialog .still.dialog-still {
  aspect-ratio: auto;
  height: 100%;
  min-height: 240px;
  border: 0;
}

.dialog-still {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #120e0c;
}

.dialog-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #120e0c;
}

.dialog-still.is-portrait .dialog-video {
  object-fit: contain;
}

.dialog-body {
  padding: 3.1rem 0 0;
}

.dialog-body .kicker {
  color: var(--amber-deep);
}

.dialog-body h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.4rem 0 0.8rem;
}

.dialog-body p {
  color: var(--muted-light);
}

.dialog-body ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.dialog-cta {
  margin: 1.25rem 0 0;
  width: fit-content;
}

.reveal {
  animation: rise 0.8s ease both;
}

.hero-copy.reveal { animation-delay: 0.05s; }
.reel.reveal { animation-delay: 0.16s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, -3%, 0) scale(1.06); }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(226, 61, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 61, 43, 0); }
}

@media (max-width: 980px) {
  .hero-grid,
  .studio-grid,
  .contact-grid,
  .section-head-row,
  .steps,
  .dialog-layout,
  .footer-bar {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-list article {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }

  .service-list p,
  .service-list .runtime {
    grid-column: 2;
  }

  .section-note,
  .stat-wide,
  .stat-inline {
    justify-self: start;
    text-align: left;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-wide {
    grid-column: 1 / -1;
  }

  .dialog-layout {
    min-height: 0;
  }

  .dialog-still {
    height: 220px;
  }
}

@media (max-width: 900px) {
  .header-cta,
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    inset: var(--header) 0 0 0;
    margin: 0;
    padding: 1.5rem 1.25rem 2rem;
    background: #0c0b09;
    z-index: 25;
    gap: 0.35rem;
  }

  .nav.is-open a {
    font-family: var(--serif);
    font-size: 2.3rem;
    color: var(--cream);
    line-height: 1.15;
  }

  .nav.is-open .nav-cta {
    display: inline-flex;
    margin-top: 1.25rem;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.6rem));
  }

  .work-grid,
  .field-row,
  .stats,
  .facts div {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
    align-items: start;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .footer-bar nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .frame-video,
  .marquee-track,
  .rec {
    animation: none;
  }

  .btn,
  .service-list article,
  .still::after,
  .nav-toggle-box span {
    transition: none;
  }
}
