/*
 * Codestreet: dark, cinematic theme.
 * Motion-only states live under html.motion, which the inline head script sets
 * unless the visitor prefers reduced motion. Without it (or without
 * JavaScript) every element renders in its final, readable state.
 */
@font-face {
  font-family: DM;
  src: url("/fonts/dm-sans.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Instrument;
  src: url("/fonts/instrument-serif-italic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}
@view-transition {
  navigation: auto;
}
:root {
  --bg: #0b0c09;
  --bg-raised: #14160f;
  --text: #eceae1;
  --muted: #a3a698;
  --faint: #74776b;
  --line: rgb(236 234 225 / 0.12);
  --line-strong: rgb(236 234 225 / 0.24);
  --mark: #7f8a55;
  --olive: #aab57e;
  --accent: #c6dc6a;
  --accent-ink: #11140a;
  --error: #ff9486;
  --serif: Instrument, Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
  font-family: DM, Arial, sans-serif;
  font-synthesis: weight;
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: var(--header-h);
}
html:not(.motion) {
  scroll-behavior: smooth;
}
/* Lenis (vendor/lenis.min.js); mirrors node_modules/lenis/dist/lenis.css. */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
body {
  margin: 0;
  background: var(--bg);
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
p,
h1,
h2,
h3,
h4 {
  margin: 0;
}
p {
  line-height: 1.65;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, 88%);
  margin-inline: auto;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 14px;
  background: var(--text);
  color: var(--bg);
  z-index: 300;
}

/* Atmosphere: the page background. Chapters tween its custom properties. */
.atmosphere {
  --bg: #0b0c09;
  --glow-a: rgb(127 138 85 / 0.16);
  --glow-b: rgb(198 220 106 / 0.05);
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
html[data-case="soontra"] .atmosphere {
  --bg: #060606;
  --glow-a: rgb(239 6 6 / 0.2);
  --glow-b: rgb(255 90 77 / 0.06);
}
html[data-case="grow"] .atmosphere {
  --bg: #0f0d1b;
  --glow-a: rgb(182 173 213 / 0.24);
  --glow-b: rgb(221 217 237 / 0.07);
}
.atmosphere::before,
.atmosphere::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.atmosphere::before {
  width: 110vmax;
  height: 110vmax;
  left: calc(50% - 55vmax);
  top: -62vmax;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.atmosphere::after {
  width: 80vmax;
  height: 80vmax;
  right: -30vmax;
  bottom: -45vmax;
  background: radial-gradient(closest-side, var(--glow-b), transparent);
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to {
    transform: translate3d(-12vmax, 8vmax, 0) scale(1.1);
  }
}
@keyframes drift-b {
  to {
    transform: translate3d(-18vmax, -10vmax, 0) scale(0.9);
  }
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: 150;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(5) infinite;
}
@keyframes grain {
  0% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(-4%, 3%, 0);
  }
  40% {
    transform: translate3d(3%, -5%, 0);
  }
  60% {
    transform: translate3d(-6%, -2%, 0);
  }
  80% {
    transform: translate3d(5%, 4%, 0);
  }
  100% {
    transform: translate3d(-2%, 6%, 0);
  }
}

/* Type */
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  /* Holds the line while ScrambleText starts from an empty string. */
  min-height: 1.5em;
}
h1 {
  font-size: clamp(52px, 7.4vw, 118px);
  letter-spacing: -0.06em;
  font-weight: 400;
  line-height: 1.02;
}
h2 {
  font-size: clamp(44px, 5.4vw, 86px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}
h2 em {
  color: var(--olive);
}
.split-line-mask {
  /* Room for italic overhang and descenders inside SplitText masks. */
  padding: 0 0.12em 0.1em 0;
  margin: 0 -0.12em -0.1em 0;
}

/* Rolling labels (text.js duplicates the label for the hover roll). */
.roll {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  vertical-align: top;
}
.roll > span {
  grid-area: 1 / 1;
  display: block;
  transition: transform 0.6s var(--ease);
}
.roll-b {
  transform: translateY(105%);
}
:is(a, button):is(:hover, :focus-visible) .roll-a {
  transform: translateY(-105%);
}
:is(a, button):is(:hover, :focus-visible) .roll-b {
  transform: none;
}

/* Buttons and links */
.button {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  isolation: isolate;
  background: var(--text);
  color: var(--bg);
  border: 0;
  padding: 19px 24px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.4s var(--ease);
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.button:is(:hover, :focus-visible)::before {
  transform: none;
}
.button:is(:hover, :focus-visible) {
  color: var(--accent-ink);
}
.button-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.6s var(--ease);
}
.button:hover .button-arrow {
  transform: rotate(45deg);
}
.button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  padding: 9px 0;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-strong);
}
.text-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 1;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}
.text-link:is(:hover, :focus-visible)::before {
  transform: scaleX(1);
  transform-origin: left;
}
.text-link > span[aria-hidden] {
  font-size: 16px;
}

/* Custom cursor (fine pointers only; see js/core/cursor.js) */
html.has-cursor,
html.has-cursor * {
  cursor: none;
}
html.has-cursor :is(input, textarea) {
  cursor: text;
}
html.has-cursor select {
  cursor: default;
}
.cursor {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.is-visible {
  opacity: 1;
}
.cursor.is-hidden {
  opacity: 0;
}
.cursor-dot,
.cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transition: opacity 0.3s;
}
.cursor-ring {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgb(236 234 225 / 0.45);
  transition:
    width 0.5s var(--ease),
    height 0.5s var(--ease),
    background 0.4s,
    border-color 0.4s;
}
.cursor.is-link .cursor-ring {
  width: 64px;
  height: 64px;
  border-color: var(--accent);
  background: rgb(198 220 106 / 0.08);
}
.cursor.is-label .cursor-ring {
  width: 104px;
  height: 104px;
  border-color: transparent;
  background: var(--accent);
}
.cursor.is-label .cursor-dot {
  opacity: 0;
}
.cursor.is-down .cursor-ring {
  scale: 0.85;
}
.cursor-label {
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--accent-ink);
  white-space: nowrap;
  opacity: 0;
  scale: 0.6;
  transition:
    opacity 0.3s,
    scale 0.5s var(--ease);
}
.cursor.is-label .cursor-label {
  opacity: 1;
  scale: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  padding-inline: max(6%, calc((100% - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.7s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(8 9 7 / 0.62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.5s;
}
html.motion .site-header:not(.is-scrolled)::before {
  opacity: 0;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.wordmark {
  display: inline-flex;
  align-items: center;
}
.logo {
  display: block;
  height: 32px;
  width: auto;
  overflow: visible;
}
.logo-outer {
  fill: var(--mark);
}
.logo-inner,
.logo-word {
  fill: var(--text);
}
.logo-dot {
  fill: var(--accent);
}
.logo-inner,
.logo-dot {
  transition: transform 0.6s var(--ease);
}
.wordmark:hover .logo-inner {
  transform: translateX(-10px);
}
.wordmark:hover .logo-dot {
  transform: translateY(-18px);
}
#navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}
#navigation > a:not(.nav-cta) {
  color: var(--muted);
  transition: color 0.3s;
}
#navigation > a:not(.nav-cta):hover {
  color: var(--text);
}
.nav-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: 6px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition:
    background 0.4s,
    color 0.4s,
    border-color 0.4s;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.header-cta,
.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(40px, 8vh, 96px);
}
.hero-head {
  position: relative;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(198 220 106 / 0.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgb(198 220 106 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(198 220 106 / 0);
  }
}
.hero-title {
  font-size: clamp(52px, 8.6vw, 144px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 30px 0 46px;
}
.hero-title em {
  font-size: 1.1em;
  background: linear-gradient(100deg, var(--text) 5%, var(--accent) 55%, var(--mark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-asterisk {
  position: absolute;
  right: 0;
  top: 4px;
  font-size: clamp(90px, 10vw, 160px);
  line-height: 1;
  color: var(--mark);
  font-family: Arial, sans-serif;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero-bottom p {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

/* Hero showcase: client films, one featured beside two stacked. Playback and
   sound live in site.js so they work without the motion layer. */
.showcase {
  margin-top: clamp(40px, 7vh, 76px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.showcase-item {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-raised);
  color: #fff;
}
.showcase-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}
/* Fills the two stacked rows without its own size stretching them. */
.showcase-item:first-child video {
  position: absolute;
  inset: 0;
}
.showcase-item :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.showcase-item:hover :is(img, video) {
  transform: scale(1.03);
}
.showcase-item figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 44px 18px 16px;
  font-size: 13px;
  color: rgb(255 255 255 / 0.72);
  background: linear-gradient(to top, rgb(0 0 0 / 0.72), transparent);
  pointer-events: none;
}
.showcase-item figcaption strong {
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: #fff;
}
.showcase-sound {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(8 9 7 / 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.showcase-sound::before {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='m22 9-6 6m0-6 6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.showcase-sound[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}
.showcase-sound[aria-pressed="true"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");
}
.hero-logos {
  margin-top: clamp(40px, 7vh, 76px);
}
.logo-row img {
  display: block;
  height: auto;
  filter: invert(1) brightness(0.9);
  opacity: 0.85;
}

/* Section headings */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 56px;
}
.section-heading .eyebrow {
  margin-bottom: 26px;
  color: var(--olive);
}
.section-heading > p {
  font-size: 16px;
  color: var(--muted);
  max-width: 420px;
  padding-bottom: 8px;
}

/* Work: sticky stacking case tiles */
.work-section {
  padding-top: clamp(96px, 14vh, 150px);
}
.work-stack {
  display: grid;
  gap: 6vh;
  padding-bottom: 40px;
}
.work-tile {
  --dim: 0;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) 1.35fr;
  height: min(76svh, 700px);
  min-height: 540px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: var(--tile-bg);
  border: 1px solid rgb(255 255 255 / 0.08);
  transform-origin: 50% 0;
}
.work-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 80% at 78% 18%, var(--tile-glow), transparent 70%);
}
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: calc(var(--dim) * 0.65);
  pointer-events: none;
}
.work-tile:has(.stretched-link:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.tile-soontra {
  --tile-bg: #080808;
  --tile-glow: rgb(239 6 6 / 0.26);
  --tile-accent: #ff6a5d;
}
.tile-grow {
  --tile-bg: #151229;
  --tile-glow: rgb(182 173 213 / 0.42);
  --tile-accent: #cfc7f0;
}
.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.stretched-link:focus-visible {
  outline: none;
}
.work-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 3.4vw, 48px);
}
.work-index {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.work-index span {
  color: var(--tile-accent);
  margin-right: 10px;
}
.work-tile h3 {
  font-size: clamp(48px, 5.6vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 20px 0 18px;
}
.work-summary {
  font-size: 16px;
  color: var(--muted);
  max-width: 400px;
}
.work-stats,
.stage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}
.work-stats > div,
.stage-stats > div {
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
}
.work-stats dt,
.stage-stats dt {
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  min-height: 1.1em;
}
.work-stats dd,
.stage-stats dd {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.work-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  font-size: 12px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
}
.work-cta {
  display: inline-flex;
  gap: 12px;
  flex: none;
  font-size: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
}
.work-cta span {
  transition: transform 0.6s var(--ease);
}
.work-tile:hover .work-cta span {
  transform: translateX(6px);
}
.work-media {
  position: relative;
  overflow: hidden;
}
.work-shot {
  position: absolute;
  left: 4%;
  top: 50%;
  width: 122%;
  translate: 0 -50%;
}
.work-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.16);
  box-shadow: 0 50px 90px -40px #000;
  transition: transform 1.2s var(--ease);
}
.work-tile:hover .work-shot img {
  transform: scale(1.025);
}

/* Services */
.services-section {
  padding: clamp(110px, 16vh, 170px) 0 90px;
}
.services-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr;
  gap: 60px;
}
.services-index-inner {
  position: sticky;
  top: calc(var(--header-h) + 8vh);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 12px;
}
.index-num {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  font-size: clamp(110px, 12vw, 200px);
  line-height: 1;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}
.index-reel {
  display: flex;
  flex-direction: column;
}
.index-reel span {
  height: 1em;
}
.index-total {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 0.9em;
}
.index-bar {
  flex-basis: 100%;
  height: 1px;
  margin-top: 18px;
  background: var(--line);
}
.index-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.25);
  transform-origin: left;
}
.service {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.service:last-child {
  border-bottom: 1px solid var(--line);
}
/* Only the large headings dim (still >= 3:1); body copy keeps full contrast. */
@media (min-width: 1024px) {
  html.motion .service-list.has-active .service:not(.is-active) h3 {
    opacity: 0.45;
  }
}
.service h3 {
  transition: opacity 0.6s var(--ease);
}
.service-number {
  display: none;
  font-size: 12px;
  color: var(--olive);
}
.service h3 {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.service p {
  font-size: 16px;
  color: var(--muted);
}
.deliverables {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.deliverables li {
  font-size: 12px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

/* Engagement models */
.engagement-section {
  padding: clamp(90px, 13vh, 140px) 0 100px;
}
.engagements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.engagement {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: 18px;
  background: rgb(20 22 15 / 0.72);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.engagement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    380px circle at var(--mx) var(--my),
    rgb(198 220 106 / 0.13),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s;
}
.engagement:hover::before {
  opacity: 1;
}
.engagement:hover {
  border-color: rgb(198 220 106 / 0.3);
}
.engagement-meta {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--olive);
}
.engagement h3 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.engagement-fit {
  font-size: 15px;
}
.engagement p:not(.engagement-meta, .engagement-fit) {
  font-size: 15px;
  color: var(--muted);
}
.engagement ul {
  list-style: none;
  margin: 6px 0 14px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.engagement li {
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.engagement .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.process {
  position: relative;
  margin-top: 72px;
}
.process-track {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.process-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left top;
}
.process-line {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-line li {
  position: relative;
  counter-increment: step;
  padding-top: 34px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.process-line strong {
  transition: opacity 0.6s;
}
.process-line li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgb(198 220 106 / 0.14);
  transition:
    background 0.6s,
    box-shadow 0.6s;
}
.process-line li::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -24px;
  left: 0;
  font-size: 11px;
  color: var(--olive);
}
html.motion .process-line li:not(.is-lit) strong {
  opacity: 0.55;
}
html.motion .process-line li:not(.is-lit)::before {
  background: var(--bg-raised);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.process-line strong {
  display: block;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

/* FAQ */
.faq-section {
  padding: clamp(90px, 13vh, 140px) 0;
  border-top: 1px solid var(--line);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.faq-layout .eyebrow {
  color: var(--olive);
  margin-bottom: 26px;
}
.faq-ask {
  margin-top: 30px;
  font-size: 16px;
  color: var(--muted);
}
.faq-ask .text-link {
  margin-top: 6px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 24px 50px 24px 0;
  font-size: 21px;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
  transition:
    transform 0.6s var(--ease),
    background 0.4s,
    color 0.4s;
}
.faq-list details[open]:not(.is-closing) summary::after {
  transform: rotate(135deg);
  background: var(--accent);
  color: var(--accent-ink);
}
.faq-list summary:hover {
  color: var(--olive);
}
.faq-body {
  overflow: hidden;
}
.faq-body p {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  padding: 0 0 26px;
}

/* Contact */
.contact-section {
  padding: clamp(100px, 14vh, 150px) 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.contact-intro .eyebrow {
  color: var(--olive);
  margin-bottom: 26px;
}
.contact-intro h2 {
  font-size: clamp(48px, 6vw, 96px);
}
.contact-intro > p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  margin-top: 26px;
}
.next-steps {
  list-style: none;
  counter-reset: next;
  margin: 40px 0 0;
  padding: 0;
}
.next-steps li {
  counter-increment: next;
  position: relative;
  padding: 18px 0 18px 42px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.next-steps li::before {
  content: counter(next, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 21px;
  font-size: 12px;
  color: var(--accent);
}
.next-steps strong {
  font-weight: 400;
  color: var(--text);
}
.form-card {
  position: relative;
  background: rgb(20 22 15 / 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 40px 90px -50px #000;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}
.field-wide {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 9px;
  color: var(--muted);
}
.optional {
  color: var(--faint);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  font-size: 16px;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgb(236 234 225 / 0.4);
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23eceae1' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option {
  background: var(--bg-raised);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.field textarea::placeholder {
  color: var(--faint);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: rgb(198 220 106 / 0.04);
  box-shadow: 0 0 0 4px rgb(198 220 106 / 0.14);
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.field-error {
  margin-top: 7px;
  font-size: 13px;
  color: var(--error);
}
.field-error:empty {
  display: none;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
}
.form-status:empty {
  display: none;
}
.form-status.is-error {
  color: var(--error);
}
.form-success {
  padding: 8px 0;
}
.form-success:focus {
  outline: none;
}
.success-mark {
  display: block;
  width: 56px;
  height: auto;
  margin-bottom: 26px;
  overflow: visible;
}
.success-mark .mark-outer {
  fill: var(--mark);
}
.success-mark .mark-inner {
  fill: var(--text);
}
.form-success .eyebrow {
  color: var(--accent);
}
.form-success h3 {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 12px 0;
}
.form-success p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
}

/* Footer: a curtain the page lifts away from (desktop), static elsewhere. */
.footer-curtain {
  position: relative;
}
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 80px 0 34px;
  background: #050604;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 90vmax;
  height: 60vmax;
  left: calc(50% - 45vmax);
  bottom: -40vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(127 138 85 / 0.24), transparent);
  pointer-events: none;
}
.footer-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-cta .eyebrow {
  color: var(--olive);
  margin-bottom: 18px;
}
.footer-big-link {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  font-size: clamp(40px, 5.2vw, 80px);
  letter-spacing: -0.05em;
  line-height: 1.05;
  transition: color 0.4s;
}
.footer-big-link em {
  font-style: normal;
  font-family: DM, Arial, sans-serif;
  font-size: 0.7em;
  color: var(--accent);
  transition: transform 0.6s var(--ease);
}
.footer-big-link:hover em {
  transform: rotate(45deg);
}
.footer-nav {
  display: flex;
  gap: 64px;
  font-size: 15px;
}
.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-label {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--faint);
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--muted);
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: var(--text);
}
.footer-word-link {
  position: relative;
  display: block;
}
.footer-word {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.footer-word .fw-letter {
  fill: var(--text);
}
.footer-word .fw-dot {
  fill: var(--accent);
}
.footer-meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
.footer-meta a:hover {
  color: var(--text);
}
@media (min-width: 1024px) and (min-height: 700px) {
  .footer-curtain {
    height: min(100svh, 820px);
    clip-path: inset(0);
  }
  .site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(100svh, 820px);
  }
}

/* Case pages */
.back-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}
.back-link:hover {
  color: var(--text);
}
.case-hero {
  padding-top: clamp(36px, 6vh, 72px);
}
.case-eyebrow {
  margin-top: clamp(36px, 7vh, 72px);
  color: var(--olive);
}
.case-title {
  font-size: clamp(72px, 13vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin: 18px 0 36px;
}
[data-case="grow"] .case-title {
  font-size: clamp(60px, 10.4vw, 176px);
}
.case-hero-foot {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 56px;
}
.case-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--olive);
}
.case-meta {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr;
  gap: 24px;
  margin: 0;
}
.case-meta > div {
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
}
.case-meta dt {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-meta dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.case-meta dd .status-dot {
  margin-right: 8px;
  vertical-align: 1px;
}
.case-meta .text-link {
  padding-top: 0;
}
.case-media {
  position: relative;
  margin: 0;
  padding: 0 max(3%, calc((100% - 1440px) / 2));
}
.case-media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: var(--stage, #000);
}
.case-media-frame img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 30%;
}
.visual-caption {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--faint);
}
.case-media .visual-caption {
  padding-inline: 4px;
}
.case-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: clamp(100px, 15vh, 160px) 0 80px;
}
.case-story h2 {
  font-size: clamp(40px, 4.4vw, 68px);
}
.case-story .eyebrow,
.case-highlight .eyebrow,
.gallery-head .eyebrow {
  color: var(--olive);
  margin-bottom: 26px;
}
.case-story-body {
  padding-top: 52px;
}
.case-story-body p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 18px;
}
.case-story-body .tags {
  margin-top: 30px;
}
.case-highlight {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: end;
  padding: 40px 0 clamp(90px, 14vh, 150px);
}
.case-highlight h2 {
  font-size: clamp(36px, 3.8vw, 60px);
}
.case-highlight .detail {
  margin-top: 22px;
  font-size: 16px;
  color: var(--muted);
  max-width: 420px;
}
.big-stats dt {
  font-size: clamp(44px, 4.6vw, 72px);
}
.case-dashboard {
  padding-bottom: clamp(90px, 14vh, 150px);
}
.case-dashboard .case-media-frame {
  background: #ddd9ed;
}

/* Soontra feature gallery: pinned horizontal scroll on desktop, swipe on touch */
.gallery {
  padding: 40px 0 clamp(80px, 12vh, 130px);
  overflow: hidden;
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 44px;
}
.gallery-count {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.gallery-count span {
  color: var(--text);
  font-size: 34px;
  letter-spacing: -0.04em;
  margin-right: 6px;
}
.gallery-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-viewport::-webkit-scrollbar {
  display: none;
}
.gallery-track {
  list-style: none;
  margin: 0;
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  width: max-content;
  padding: 0 max(6vw, calc((100vw - 1280px) / 2));
}
.gallery-slide {
  width: min(58vw, calc((100svh - 400px) * 1.86));
  min-width: 300px;
  scroll-snap-align: center;
}
.shot {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: #111;
  box-shadow: 0 40px 80px -40px #000;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease);
}
.shot:hover img {
  transform: scale(1.03);
}
.shot-number {
  display: block;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #ff6a5d;
}
.shot-title {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 6px 0;
}
.gallery-slide p:not(.shot-title) {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
}
.gallery-progress {
  width: min(1280px, 88%);
  height: 1px;
  margin: 40px auto 0;
  background: var(--line);
}
.gallery-progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* GROW logo marquees */
.logo-section {
  padding: 40px 0 clamp(80px, 12vh, 130px);
}
.marquee {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.marquee-label {
  margin-bottom: 26px;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--olive);
}
.logo-row {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(1280px, 88%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
}
.logo-row li {
  display: flex;
  align-items: center;
  height: 64px;
}
.logo-row img {
  width: var(--w);
  max-width: none;
}
.marquee.is-marquee .marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee.is-marquee .logo-row {
  width: auto;
  flex-wrap: nowrap;
  gap: 80px;
  padding-right: 80px;
  margin: 0;
}
.marquee.is-marquee .logo-row img {
  width: calc(var(--w) * 1.25);
}
.logo-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}
.case-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 50px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.03em;
}

/* Next case band */
.next-case {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.9fr);
  align-items: center;
  gap: 40px;
  padding: clamp(70px, 12vh, 130px) max(6%, calc((100% - 1280px) / 2));
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.next-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--olive);
  margin-bottom: 20px;
}
.next-title {
  display: block;
  font-size: clamp(56px, 8vw, 132px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  transition: transform 0.9s var(--ease);
}
.next-case:hover .next-title {
  transform: translateX(16px);
}
.next-media {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  transform: rotate(-3deg);
  transition: transform 0.9s var(--ease);
}
.next-media img {
  display: block;
  width: 100%;
  height: auto;
}
.next-case:hover .next-media {
  transform: rotate(0) scale(1.03);
}

/* 404 and form result pages */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}
.error-page .wordmark img {
  height: 32px;
  width: auto;
}
.error-page .eyebrow {
  color: var(--olive);
}
.error-page h1 em {
  color: var(--olive);
}
.error-page p {
  color: var(--muted);
  max-width: 520px;
}

/* Intro (js/intro/preloader.js) */
html.is-intro {
  overflow: hidden;
}
html.is-intro body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0b0c09;
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 210;
}
.intro svg {
  display: block;
  width: 100%;
  height: 100%;
}
.intro-bg {
  fill: #0b0c09;
}
.intro-outer,
.intro-inner {
  stroke: var(--text);
  stroke-width: 2.4;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  fill-opacity: 0;
}
.intro-outer {
  fill: var(--mark);
}
.intro-inner {
  fill: var(--text);
}
.intro-count,
.intro-label {
  position: absolute;
  bottom: 5vh;
  color: var(--text);
}
.intro-count {
  right: 6%;
  font-size: clamp(48px, 7vw, 110px);
  letter-spacing: -0.05em;
  line-height: 0.8;
  font-variant-numeric: tabular-nums;
}
.intro-label {
  left: 6%;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--muted);
}

/* Motion-only starting states, with a failsafe if scripts never arrive */
html.motion :is(.hero-title, .case-title, [data-hero]) {
  opacity: 0;
}
html.motion:not(.motion-ready) :is(.hero-title, .case-title, [data-hero]) {
  animation: failsafe 0.6s 3s forwards;
}
@keyframes failsafe {
  to {
    opacity: 1;
  }
}
.odo {
  display: inline-flex;
}
.odo-col {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
}
.odo-strip {
  display: flex;
  flex-direction: column;
}
.odo-strip span {
  display: block;
  height: 1.1em;
  line-height: 1.1;
  text-align: center;
}

/* Page transitions (cross-document View Transitions) */
::view-transition-old(root) {
  animation: vt-out 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
::view-transition-new(root) {
  animation: vt-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
::view-transition-group(*) {
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes vt-out {
  to {
    transform: scale(0.96) translateY(-2%);
    opacity: 0.3;
  }
}
@keyframes vt-in {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0);
  }
}

@media (max-width: 1100px) {
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .engagements {
    grid-template-columns: 1fr;
  }
  .engagement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
  .engagement > :not(ul, .text-link) {
    grid-column: 1;
  }
  .engagement ul,
  .engagement .text-link {
    grid-column: 2;
  }
  .engagement ul {
    grid-row: 1 / span 4;
    margin: 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .work-tile {
    grid-template-columns: minmax(300px, 1fr) 1fr;
  }
  .work-stats dd {
    font-size: 12px;
  }
  .case-hero-foot {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1023px) {
  #navigation {
    gap: 22px;
  }
  .hero-asterisk {
    font-size: 100px;
  }
  .services-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .services-index {
    display: none;
  }
  .service {
    grid-template-columns: 36px 1fr 1.3fr;
    gap: 20px;
  }
  .service-number {
    display: block;
    padding-top: 10px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-top {
    flex-direction: column;
  }
  .case-story,
  .case-highlight {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .case-story-body {
    padding-top: 0;
  }
  .gallery-slide {
    width: min(78vw, 640px);
  }
}
@media (max-width: 860px) {
  .work-tile {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .work-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }
  .work-shot {
    left: 7%;
    width: 110%;
  }
  .work-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .case-meta {
    grid-template-columns: 1fr 1fr;
  }
  .case-meta > div:first-child {
    grid-column: 1 / -1;
  }
  .next-case {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 70px;
  }
  .site-header {
    gap: 14px;
  }
  html:not(.js) .site-header {
    height: auto;
    min-height: var(--header-h);
    flex-wrap: wrap;
    padding-block: 16px;
  }
  .logo {
    height: 26px;
  }
  .wordmark,
  .header-cta,
  .menu-toggle {
    position: relative;
    z-index: 2;
  }
  .header-cta {
    display: block;
    margin-left: auto;
    font-size: 13px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
  }
  .menu-toggle {
    background: none;
    border: 0;
    font-size: 13px;
    padding: 8px 0 8px 4px;
    align-items: center;
    gap: 12px;
  }
  .menu-toggle > span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.5s var(--ease);
  }
  html.js .menu-toggle {
    display: flex;
  }
  .menu-toggle[aria-expanded="true"] > span {
    transform: rotate(45deg);
  }
  #navigation {
    width: 100%;
    flex-wrap: wrap;
    font-size: 15px;
    gap: 20px;
  }
  #navigation .nav-cta {
    display: none;
  }
  html.js #navigation {
    display: none;
  }
  html.js #navigation.is-open {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 90px 6% 40px;
    background: #080907;
    font-size: clamp(38px, 11vw, 54px);
    letter-spacing: -0.045em;
  }
  html.js #navigation.is-open > a {
    padding: 10px 0;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    animation: menu-in 0.8s var(--ease) both;
  }
  html.js #navigation.is-open > a:nth-child(2) {
    animation-delay: 0.06s;
  }
  html.js #navigation.is-open > a:nth-child(3) {
    animation-delay: 0.12s;
  }
  html.js #navigation.is-open > a:nth-child(4) {
    animation-delay: 0.18s;
  }
  html.js #navigation.is-open > .nav-cta {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 0;
    padding: 18px 22px;
    font-size: 16px;
    letter-spacing: 0;
    background: var(--accent);
    color: var(--accent-ink);
    border: 0;
    animation-delay: 0.24s;
  }
  html:has(#navigation.is-open) {
    overflow: hidden;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-title {
    font-size: clamp(44px, 12.4vw, 66px);
    margin: 22px 0 28px;
    line-height: 1.02;
  }
  .hero-asterisk {
    display: none;
  }
  .hero-bottom p {
    font-size: 16px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 18px 24px;
  }
  .button {
    padding: 17px 22px;
    gap: 36px;
  }
  .showcase {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .showcase-item {
    border-radius: 12px;
  }
  .showcase-item:first-child {
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
  .showcase-item figcaption {
    padding: 32px 12px 10px;
  }
  .showcase-item figcaption strong {
    font-size: 15px;
  }
  .showcase-sound {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
  .section-heading {
    display: block;
    margin-bottom: 34px;
  }
  .section-heading .eyebrow {
    margin-bottom: 18px;
  }
  .section-heading > p {
    margin-top: 20px;
    font-size: 15px;
    max-width: none;
  }
  h2 {
    font-size: clamp(40px, 11vw, 50px);
  }
  .work-section {
    padding-top: 80px;
  }
  .work-stack {
    gap: 28px;
  }
  .work-tile {
    border-radius: 16px;
  }
  .work-info {
    padding: 24px 20px 26px;
  }
  .work-tile h3 {
    font-size: 48px;
    margin: 14px 0 12px;
  }
  .work-summary {
    font-size: 15px;
  }
  .work-stats,
  .stage-stats {
    gap: 12px;
  }
  .work-stats dt,
  .stage-stats dt {
    font-size: 26px;
  }
  .work-stats dd,
  .stage-stats dd {
    font-size: 12px;
  }
  .services-section,
  .engagement-section,
  .faq-section,
  .contact-section {
    padding: 72px 0;
  }
  .service {
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding: 26px 0;
  }
  .service > div {
    grid-column: 2;
  }
  .service h3 {
    font-size: 25px;
  }
  .service p {
    font-size: 15px;
  }
  .engagement {
    display: flex;
    padding: 24px;
  }
  .engagement h3 {
    font-size: 27px;
  }
  .process {
    margin-top: 48px;
  }
  .process-track {
    top: 0;
    bottom: 0;
    left: 4px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process-line {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .process-line li {
    padding: 0 0 0 34px;
  }
  .process-line li::after {
    position: static;
    display: block;
    margin-bottom: 6px;
  }
  .faq-list summary {
    font-size: 17px;
    padding: 20px 46px 20px 0;
  }
  .faq-body p {
    font-size: 15px;
  }
  .contact-intro > p:not(.eyebrow) {
    font-size: 16px;
  }
  .form-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-footer .button {
    width: 100%;
  }
  .site-footer {
    padding: 56px 0 28px;
    gap: 40px;
  }
  .footer-nav {
    gap: 40px;
  }
  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
  .desktop-only {
    display: none;
  }
  .case-title {
    margin-bottom: 26px;
  }
  .case-hero-foot {
    gap: 26px;
    padding-bottom: 36px;
  }
  .case-meta {
    gap: 16px;
  }
  .case-media-frame {
    border-radius: 12px;
  }
  .case-story {
    padding: 80px 0 50px;
  }
  .case-story-body p {
    font-size: 15px;
  }
  .gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-slide {
    width: 84vw;
    min-width: 0;
  }
  .shot-title {
    font-size: 19px;
  }
  .gallery-slide p:not(.shot-title) {
    font-size: 14px;
  }
  .logo-row {
    gap: 8px 28px;
  }
  .logo-row li {
    height: 48px;
  }
  .logo-row img {
    width: calc(var(--w) * 0.7);
  }
  .marquee.is-marquee .logo-row {
    gap: 48px;
    padding-right: 48px;
  }
  .marquee.is-marquee .logo-row img {
    width: calc(var(--w) * 0.85);
  }
  .case-end {
    flex-direction: column;
    align-items: flex-start;
  }
  .next-media {
    transform: none;
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
