:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #070707;
  --muted: rgba(7, 7, 7, 0.62);
  --soft: rgba(7, 7, 7, 0.08);
  --line: rgba(7, 7, 7, 0.16);
  --motion: cubic-bezier(0.8, 0, 0.2, 1);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

body.is-transitioning {
  cursor: progress;
}

body.motion-off .page-wipe {
  display: none;
}

body.motion-off .hero-word::before,
body.motion-off .project-scroll-index a,
body.motion-off .project-tile,
body.motion-off .project-tile::before,
body.motion-off .project-image img,
body.motion-off .project-image::before,
body.motion-off .project-image::after {
  transition-duration: 0.01ms !important;
}

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

.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transition: opacity 720ms ease;
}

.page-wipe::before,
.page-wipe::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.08), rgba(7, 7, 7, 0.82) 42%, var(--ink));
  transform: scaleX(0);
  transition: transform 940ms var(--motion), opacity 520ms ease;
  transform-origin: left;
}

.page-wipe::before {
  top: 0;
}

.page-wipe::after {
  bottom: 0;
  transition-delay: 150ms;
}

body.is-transitioning .page-wipe {
  opacity: 1;
}

body.is-transitioning .page-wipe::before,
body.is-transitioning .page-wipe::after {
  transform: scaleX(1);
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  width: 168px;
}

.brand-lockup img {
  width: 100%;
  height: auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 0.88;
  max-width: 9.5rem;
  text-transform: uppercase;
}

.footer-logo span {
  display: block;
}

.site-header .brand-lockup {
  padding: 4px;
}

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

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--motion);
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.logo-hero,
.home-hero,
.projects-section,
.client-section,
.studio-section,
.contact-section,
.project-hero,
.project-gallery,
.project-video-section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.logo-hero {
  display: grid;
  align-content: center;
  min-height: calc(100svh - 72px);
  padding: clamp(44px, 6vw, 86px) 0 54px;
  border-bottom: 1px solid var(--line);
}

.text-hero {
  position: relative;
  max-width: 100%;
  padding-left: 28px;
  padding-right: 28px;
}

.text-hero > .hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.text-hero h1 {
  max-width: 1280px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.6rem, 13.5vw, 15rem);
  font-weight: 950;
  line-height: 0.78;
  text-transform: uppercase;
  text-wrap: balance;
}

.redacted-title {
  display: inline-grid;
  gap: 0.08em;
  width: min-content;
}

.hero-word {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.hero-word::before {
  content: "";
  position: absolute;
  z-index: 2;
  background: rgba(7, 7, 7, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1120ms var(--motion);
  pointer-events: none;
}

.hero-word-primary::before {
  left: -0.02em;
  right: -0.02em;
  top: 0.42em;
  height: 0.24em;
  transition-delay: 220ms;
}

.hero-word-secondary {
  justify-self: end;
  font-size: 0.92em;
}

.hero-word-secondary::before {
  left: -2.86em;
  top: 0.5em;
  width: 2.62em;
  height: 0.42em;
  transform: translateY(-50%) rotate(1.8deg) scaleX(0);
  transform-origin: left center;
  transition-delay: 420ms;
}

body.hero-redaction-ready .hero-word-primary::before {
  transform: scaleX(1);
}

body.hero-redaction-ready .hero-word-secondary::before {
  transform: translateY(-50%) rotate(1.8deg) scaleX(1);
}

.hero-goal,
.hero-credit {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 850;
  line-height: 1.35;
}

.hero-credit {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-reel-banner {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  width: min(560px, 100%);
  min-height: 94px;
  margin-top: 28px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  transition: background 160ms ease, color 160ms ease;
}

.hero-reel-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.hero-reel-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-reel-copy span {
  color: var(--muted);
}

.hero-reel-copy strong {
  font-size: 0.9rem;
}

.hero-reel-banner:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-reel-banner:hover .hero-reel-copy span {
  color: rgba(255, 255, 255, 0.72);
}

.front-logo {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.front-logo img {
  width: 100%;
}

.hero-photo-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1.15fr;
  gap: 12px;
  height: min(26vh, 250px);
  min-height: 150px;
}

.hero-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
  min-height: calc(100svh - 72px);
  padding: 66px 0 78px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-logo {
  width: min(560px, 100%);
  margin: 0 0 34px;
}

.hero-logo img {
  width: 100%;
}

.home-hero h1,
.section-heading h2,
.studio-copy h2,
.contact-copy h2,
.project-hero h1,
.project-gallery h2,
.project-video-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.1rem, 7vw, 8.2rem);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.home-hero p:not(.eyebrow),
.studio-copy p,
.contact-copy p,
.project-hero p,
.project-video-section p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions,
.project-links,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.play-button,
.outline-link,
.project-links a,
.project-links button,
.project-actions a,
.project-actions button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.outline-link,
.project-links a,
.project-links button,
.project-actions a,
.project-actions button {
  background: transparent;
  color: var(--ink);
}

.play-button:hover,
.outline-link:hover,
.project-links a:hover,
.project-links button:hover,
.project-actions a:hover,
.project-actions button:hover,
.contact-form button:hover {
  background: var(--ink);
  color: var(--paper);
}

.play-mark {
  width: 0;
  height: 0;
  margin-right: 10px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.hero-stills {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  grid-template-rows: 280px 210px;
  gap: 12px;
}

.hero-stills img,
.project-image img,
.studio-collage img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.hero-stills img:first-child {
  grid-row: 1 / -1;
}

.projects-section,
.client-section,
.studio-section,
.contact-section,
.project-gallery,
.project-video-section {
  scroll-margin-top: 84px;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.studio-copy h2,
.contact-copy h2,
.project-gallery h2,
.project-video-section h2 {
  font-size: clamp(2.5rem, 5.4vw, 5.8rem);
}

.projects-scroll-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.project-scroll-index {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.project-scroll-index a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
  transition: border-color 360ms ease, color 360ms ease, opacity 360ms ease, transform 620ms var(--motion);
}

.project-scroll-index a span {
  opacity: 0.48;
}

.project-scroll-index a:hover,
.project-scroll-index a.is-active {
  border-color: var(--ink);
  color: var(--ink);
  opacity: 1;
  transform: translateX(6px);
}

.project-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.full-roster {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-tile {
  position: relative;
  display: grid;
  grid-template-rows: 320px auto;
  min-width: 0;
  scroll-margin-top: 104px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 420ms ease, opacity 760ms ease, transform 920ms var(--motion);
}

.project-tile[data-project-card]::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  background: linear-gradient(90deg, var(--ink) 0 54%, rgba(7, 7, 7, 0.88) 78%, rgba(7, 7, 7, 0));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1040ms var(--motion);
  pointer-events: none;
}

body.has-scroll-reveal .project-tile[data-project-card] {
  opacity: 0;
  transform: translateY(28px);
  transition-delay: var(--reveal-delay, 0ms);
}

body.has-scroll-reveal .project-tile[data-project-card]::before {
  transform: scaleX(1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.has-scroll-reveal .project-tile[data-project-card].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

body.has-scroll-reveal .project-tile[data-project-card].is-revealed::before {
  transform: scaleX(0);
}

body.has-scroll-reveal .project-tile[data-project-card].is-launching {
  transition-delay: 0ms;
}

.project-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.project-image img {
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  max-width: none;
  margin: -2px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  filter: grayscale(0.82) contrast(1.06);
  transition: filter 820ms ease, transform 940ms var(--motion);
}

.project-image::before,
.project-image::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  z-index: 2;
  height: 10px;
  background: var(--ink);
  transform: translateX(-105%);
  transition: transform 820ms var(--motion);
  pointer-events: none;
}

.project-image::before {
  top: 24%;
}

.project-image::after {
  bottom: 27%;
  transition-delay: 48ms;
}

.project-image:hover img {
  filter: grayscale(0.15) contrast(1.04);
  transform: scale(1.055);
}

.project-tile.is-scroll-focus {
  border-color: rgba(7, 7, 7, 0.54);
}

.project-tile.is-scroll-focus .project-image img {
  filter: grayscale(0) contrast(1.06);
  transform: scale(1.065);
}

.poster-cover img {
  transform: scale(1.1);
}

.poster-cover:hover img {
  transform: scale(1.135);
}

.project-tile.is-scroll-focus .poster-cover img {
  transform: scale(1.15);
}

.cover-tight img {
  transform: scale(1.34);
}

.cover-tight:hover img {
  transform: scale(1.38);
}

.project-tile.is-scroll-focus .cover-tight img {
  transform: scale(1.4);
}

.project-tile:has(.project-image:hover),
.project-tile:has(.project-image:focus-visible) {
  border-color: var(--ink);
}

.project-tile.is-launching {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.project-tile.is-launching .project-image img {
  filter: grayscale(0) contrast(1.08);
  transform: scale(1.08);
}

.project-tile.is-launching .poster-cover img {
  transform: scale(1.16);
}

.project-tile.is-launching .cover-tight img {
  transform: scale(1.42);
}

.project-tile.is-launching .project-image::before,
.project-tile.is-launching .project-image::after,
.project-image:active::before,
.project-image:active::after {
  transform: translateX(0);
}

.poster-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.46));
  pointer-events: none;
}

.poster-cover span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: white;
  font-size: clamp(1.9rem, 4vw, 4.4rem);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-text {
  min-width: 0;
  padding: 24px;
}

.project-text p,
.project-meta span,
.site-footer p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-text h3 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.full-roster .project-text h3 {
  font-size: clamp(1.75rem, 2.2vw, 2.65rem);
  line-height: 0.96;
  overflow-wrap: normal;
}

.project-text span {
  display: block;
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

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

.client-card {
  display: grid;
  gap: 14px;
  color: var(--ink);
}

.client-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  border: 1px solid var(--line);
  transition: filter 180ms ease;
}

.client-card:hover img {
  filter: grayscale(0.15) contrast(1.04);
}

.client-card.is-launching img {
  filter: grayscale(0) contrast(1.08);
  transform: scale(1.035);
}

.client-card span,
.client-all-link {
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.client-all-link {
  display: inline-flex;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.studio-copy p {
  margin-top: 20px;
}

.studio-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 250px 250px;
  gap: 12px;
}

.studio-collage img:first-child {
  grid-row: 1 / -1;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  outline: none;
}

.contact-form input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 190px;
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 32px 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-text-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-text-links a:hover {
  color: var(--ink);
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-links a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: 52px 0 68px;
  border-bottom: 1px solid var(--line);
}

.project-hero h1 {
  font-size: clamp(3.4rem, 8vw, 8.5rem);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.project-meta span {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
}

.project-hero-image {
  height: min(62vh, 620px);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-image img,
.project-gallery .gallery-grid img,
.project-video-section img {
  filter: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.gallery-grid figure {
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
  min-height: 532px;
}

.project-video {
  width: min(960px, 100%);
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--ink);
}

.project-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .home-hero,
  .studio-section,
  .contact-section,
  .project-hero,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .projects-scroll-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-scroll-index {
    top: 72px;
    z-index: 3;
    display: flex;
    gap: 0;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .project-scroll-index::-webkit-scrollbar {
    display: none;
  }

  .project-scroll-index a {
    flex: 0 0 auto;
    grid-template-columns: 28px minmax(120px, auto);
    min-height: 32px;
    padding: 0 18px 0 10px;
    border-left-width: 1px;
    white-space: nowrap;
  }

  .project-scroll-index a:hover,
  .project-scroll-index a.is-active {
    transform: translateX(0);
  }

  .project-directory,
  .full-roster,
  .client-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .social-links {
    justify-content: start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 10px 14px;
  }

  .brand-lockup {
    width: 150px;
  }

  .primary-nav {
    position: fixed;
    inset: 65px 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 0 14px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  body.nav-open .primary-nav {
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .home-hero,
  .logo-hero,
  .projects-section,
  .client-section,
  .studio-section,
  .contact-section,
  .project-hero,
  .project-gallery,
  .project-video-section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .home-hero {
    min-height: 0;
    padding: 44px 0 58px;
  }

  .logo-hero {
    min-height: 0;
  }

  .text-hero {
    min-height: calc(100svh - 65px);
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .text-hero h1 {
    font-size: clamp(2.35rem, 8.8vw, 3.25rem);
    line-height: 0.84;
  }

  .hero-goal {
    font-size: 1.02rem;
  }

  .hero-credit {
    max-width: 24rem;
    font-size: 0.78rem;
  }

  .hero-photo-strip {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .hero-photo-strip img {
    height: 180px;
  }

  .home-hero h1,
  .project-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.45rem);
    line-height: 0.93;
  }

  .section-heading h2,
  .studio-copy h2,
  .contact-copy h2,
  .project-gallery h2,
.project-video-section h2 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-stills,
  .studio-collage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .hero-stills img,
  .studio-collage img,
  .hero-stills img:first-child,
  .studio-collage img:first-child {
    grid-row: auto;
    height: 260px;
  }

  .project-directory,
  .full-roster,
  .client-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-scroll-index {
    top: 65px;
    margin-inline: -14px;
    width: calc(100% + 28px);
    padding-inline: 14px;
  }

  .project-tile {
    grid-template-rows: 290px auto;
    scroll-margin-top: 118px;
  }

  .client-card img {
    height: 280px;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .project-hero-image {
    min-height: 290px;
    height: 360px;
  }

  .project-links,
  .hero-actions,
  .project-actions {
    display: grid;
  }

  .project-links a,
  .project-links button,
  .hero-actions a,
  .hero-actions button,
  .project-actions a {
    width: 100%;
  }

  .project-actions button {
    width: 100%;
  }
}

.gallery-group {
  border-bottom: 0;
}

@media (max-width: 440px) {
  .footer-logo {
    max-width: 7.5rem;
  }

  .brand-lockup {
    width: 126px;
  }

  .footer-logo {
    font-size: 0.72rem;
  }

  .home-hero h1,
  .project-hero h1 {
    font-size: clamp(2.42rem, 11vw, 3.05rem);
  }

  .text-hero h1 {
    font-size: clamp(2.35rem, 10.4vw, 2.7rem);
  }

  .hero-reel-banner {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 82px;
  }

  .hero-reel-copy {
    padding: 12px;
  }

  .hero-reel-copy strong {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .page-wipe {
    display: none;
  }

  body.has-scroll-reveal .project-tile[data-project-card] {
    opacity: 1;
    transform: none;
  }

  .project-tile[data-project-card]::before {
    display: none;
  }

  body.motion-preview .page-wipe {
    display: block;
    transition-duration: 720ms !important;
  }

  body.motion-preview .page-wipe::before,
  body.motion-preview .page-wipe::after {
    transition-duration: 940ms, 520ms !important;
  }

  body.motion-preview .hero-word::before {
    transition-duration: 1120ms !important;
  }

  body.motion-preview .hero-word-primary::before {
    transition-delay: 220ms !important;
  }

  body.motion-preview .hero-word-secondary::before {
    transition-delay: 420ms !important;
  }

  body.motion-preview .project-scroll-index a {
    transition-duration: 360ms, 360ms, 360ms, 620ms !important;
  }

  body.motion-preview.has-scroll-reveal .project-tile[data-project-card] {
    opacity: 0;
    transform: translateY(28px);
    transition-duration: 760ms, 920ms !important;
  }

  body.motion-preview.has-scroll-reveal .project-tile[data-project-card].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  body.motion-preview .project-tile[data-project-card]::before {
    display: block;
    transition-duration: 1040ms !important;
  }

  body.motion-preview .project-image img {
    transition-duration: 820ms, 940ms !important;
  }

  body.motion-preview .project-image::before,
  body.motion-preview .project-image::after {
    transition-duration: 820ms !important;
  }
}
