/* Cardenas Productions — site styles
   Built from the approved boards: E — Film (Home), Inquire, Show — A and C merged. */

@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url(../fonts/AlteHaasGrotesk-Regular.woff2) format('woff2'),
       url(../fonts/AlteHaasGrotesk-Regular.ttf) format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url(../fonts/AlteHaasGrotesk-Bold.woff2) format('woff2'),
       url(../fonts/AlteHaasGrotesk-Bold.ttf) format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #080607;
  --ivory: #f1ece2;
  --muted: #b5b0a6;
  --accent: #d4203f;
  --pad: clamp(20px, 4.45vw, 64px);
  --header-h: 108px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative; overflow-x: clip; /* nothing may widen the page sideways (the enlarged landing wordmark, the logo bar) */
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: 'Alte Haas Grotesk', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; }
a { color: var(--ivory); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ivory); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.underlink { font-size: 15px; border-bottom: 1px solid var(--ivory); padding-bottom: 3px; }
.btn { display: inline-block; background: var(--ivory); color: #0b0b0c; font-weight: 700; font-size: 16px; padding: 17px 40px; }
.btn:hover { color: #0b0b0c; background: #fff; }

@keyframes drift { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reel { animation: drift 14s ease-in-out infinite alternate; }

/* ---------- Page-to-page fade ----------
   The old page fades to black, then the new page fades up from black (0.7s in all),
   so the two pages never overlap. Browsers without cross-page view transitions get
   the same thing from the small script in each page's head. */
@view-transition { navigation: auto; }
::view-transition { background: #080607; }
::view-transition-old(root) { animation: pageout .35s ease both; }
::view-transition-new(root) { animation: pagein .35s ease .35s both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageout { from { opacity: 1; } to { opacity: 0; } }
html.fade-in body { animation: pagein .35s ease both; }
html.leaving body { animation: pageout .35s ease forwards; }
#app { transition: opacity .35s ease; }
#app.swapping { opacity: 0; }

/* ---------- Header ---------- */
.site-header {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--pad);
  font-size: 15px;
}
.site-header .side.left { justify-self: end; }
.site-header .side.right { justify-self: start; }
.site-header .side .in { display: flex; gap: 64px; }
.site-header .side.left .in { padding-right: 64px; }
.site-header .side.right .in { padding-left: 64px; }
/* Pinned over the first section only: everything after it slides up over the header. */
.site-header.pinned {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1;
}
.over { position: relative; z-index: 2; background: var(--ink); }
.site-header .logo { display: flex; flex-direction: column; align-items: center; font-weight: 700; line-height: 0.9; }
.site-header .logo span:first-child { font-size: 38px; letter-spacing: -1px; }
.site-header .logo span:last-child { font-size: 22.5px; }

/* ---------- Home: landing film ----------
   On arrival: full-screen film, the wordmark large in the centre, nothing else.
   On click: the film fades to black as the wordmark shrinks to the top; then Home fades in
   and the menu links slide out sideways from behind the wordmark's edges. */
:root { --land-scale: 2.947; --land-origin: 50% 50%; --land-y: calc(50svh - var(--header-h) / 2); --ease: cubic-bezier(0.22, 0.7, 0.1, 1); }
.landing-film { position: fixed; inset: 0; z-index: 3; display: none; opacity: 0; overflow: hidden; background: var(--ink); transition: opacity .8s ease; }
.landing-film .cover { object-position: center 30%; transition: opacity .5s ease; }
.landing-film::after { content: ''; position: absolute; inset: 0; background: rgba(8,6,7,0.32); pointer-events: none; }
/* The three disciplines, set as one line tight under the wordmark (as on the business card).
   Regular weight, wordmark ivory. It belongs to the film and fades away with it. */
.landing-film .lockup-line { position: absolute; z-index: 1; left: 50%; top: calc(50svh + 90px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 0.95em; white-space: nowrap; font-weight: 400; font-size: 28.6px; line-height: 1; color: var(--ivory); pointer-events: none; transition: opacity .3s ease; }
.landing-film .lockup-line p { margin: 0; }
html.entering .landing-film .lockup-line { opacity: 0; }
.landing-film .enter { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; cursor: pointer; }
.landing-film .enter:focus-visible { outline: none; }
/* The arrow sits under the end of the line, beneath "Private Events". */
.landing-film .arrow { display: block; width: 30px; height: 14px; opacity: 0.9; }
.landing-film:has(.enter:focus-visible) .arrow { opacity: 1; }
html.landing, html.entering { overflow: hidden; }
html.landing .landing-film { display: block; opacity: 1; }
/* Going in: the film fades to black while the wordmark rises, then the black lifts off Home
   as the menu links slide out. */
html.entering .landing-film { display: block; opacity: 0; pointer-events: none; transition-delay: .6s; }
html.entering .landing-film .cover { opacity: 0; }

/* On Home the header sits on the first section and scrolls away with it, so the client names never pass underneath it. */
.site-header.home { position: absolute; transform-origin: var(--land-origin); transition: transform .9s var(--ease); }
.site-header.home .side .in { transition: transform .7s var(--ease); }
html.landing .site-header.home, html.entering .site-header.home { z-index: 4; }
html.landing .site-header.home .side, html.entering .site-header.home .side { overflow: hidden; }
html.landing .site-header.home { transform: translateY(var(--land-y)) scale(var(--land-scale)); pointer-events: none; }
html.landing .site-header.home .side { visibility: hidden; }
html.landing .site-header.home .side.left .in { transform: translateX(100%); }
html.landing .site-header.home .side.right .in { transform: translateX(-100%); }
html.entering .site-header.home .side .in { transition-delay: .6s; }

/* ---------- Home: disciplines (third section, before the About paragraph) ---------- */
.disciplines {
  padding: 112px var(--pad) 0;
  display: flex; justify-content: space-between; gap: 24px;
  font-weight: 700; font-size: clamp(36px, 7.2vw, 104px); line-height: 0.92; letter-spacing: -0.046em;
}
.disciplines a { display: flex; flex-direction: column; }

/* ---------- Home: projects ---------- */
/* The first part is as tall as the window allows, so the top of the logo bar peeks in at the
   bottom of the window. Below that the photograph carries on (--work-ext) under the logo bar,
   getting darker as it goes, so the crowd runs into the scrolling logos. The client list stays
   centred in the first part. Never taller than the photograph itself (3:2). */
/* The photograph carries on exactly as far as the bottom of the second row of logos
   (28px gap + two rows of 1.2em + 20px between them), and is fully black by then. */
:root { --logo-fs: clamp(22px, 2.22vw, 32px); --work-base: max(460px, min(calc(100svh - 56px), 66.7vw)); --work-ext: clamp(0px, calc(66.7vw - var(--work-base)), calc(48px + 2.4 * var(--logo-fs))); }
.work { position: relative; z-index: 0; min-height: calc(var(--work-base) + var(--work-ext)); overflow: hidden; background: var(--ink); display: flex; align-items: center; padding: var(--header-h) 0 calc(24px + var(--work-ext)); }
.work .shade::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--work-ext) * 3); background: linear-gradient(0deg, var(--ink) 0%, rgba(8,6,7,0.86) 14%, rgba(8,6,7,0.62) 33%, rgba(8,6,7,0.3) 60%, rgba(8,6,7,0) 100%); }
.over.on-work { margin-top: calc(-1 * var(--work-ext)); background: linear-gradient(180deg, rgba(8,6,7,0) 0, rgba(8,6,7,0) var(--work-ext), var(--ink) var(--work-ext)); }
.work > .cover { object-position: center 30%; transition: opacity .45s ease-out; }
.work.has-pick > .cover:not(.slide) { opacity: 0; }
.work .slide { opacity: 0; z-index: 1; }
.work .slide.is-current { opacity: 1; z-index: 2; }
.work .shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(8,6,7,0.7) 0%, rgba(8,6,7,0) 28%), linear-gradient(90deg, rgba(8,6,7,0.9) 0%, rgba(8,6,7,0.6) 32%, rgba(8,6,7,0) 66%); pointer-events: none; }
.work .list { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0 var(--pad); }
.work .client { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.work .name { font-weight: 700; font-size: clamp(24px, 2.57vw, 37px); line-height: 1.1; letter-spacing: -0.03em; white-space: nowrap; color: var(--ivory); transition: color .3s ease; }
.work.has-pick .name { color: rgba(241,236,226,0.5); }
.work.has-pick .client.is-active .name { color: var(--ivory); }
.work .subs { display: flex; gap: 0; min-height: 16px; }
.work .sub + .sub::before { content: "|"; display: inline-block; margin: 0 12px; opacity: 1; }
.work .sub { font-size: 15px; line-height: 16px; white-space: nowrap; color: var(--ivory); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.work .client.is-active .sub { opacity: 0.5; pointer-events: auto; }
.work .client.is-active .sub.is-current { opacity: 1; }
.work .underlink { margin-top: 8px; }

/* ---------- Home: about, clients ---------- */
.about { padding: 128px var(--pad) 0; display: flex; flex-direction: column; align-items: center; gap: 36px; }
/* Same size and measure as the statement on the About page. */
.about p { margin: 0; width: 100%; max-width: 1040px; text-align: justify; text-align-last: center; font-size: clamp(20px, 2.5vw, 36px); line-height: 1.16; letter-spacing: -0.028em; }

.clients { margin-top: 28px; overflow: hidden; display: flex; flex-direction: column; gap: 20px; font-weight: 700; font-size: var(--logo-fs); letter-spacing: -0.025em; white-space: nowrap; }
.clients .run { display: flex; align-items: center; height: 1.2em; gap: 72px; width: max-content; padding-left: 72px; animation: run 130s linear infinite; }
.clients .run.reverse { animation-direction: reverse; }
.clients .run span { display: flex; align-items: center; }
.clients .run img { display: block; }

/* ---------- Home footer ---------- */
.site-footer { padding: 128px var(--pad) 56px; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.site-footer .email { font-weight: 700; font-size: clamp(19px, 3.89vw, 56px); letter-spacing: -0.032em; line-height: 1.1; text-align: center; border-bottom: 3px solid var(--accent); padding-bottom: 8px; }
.site-footer .meta { width: 100%; margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.site-footer .meta a { color: var(--muted); }
.site-footer .meta a:hover { color: var(--ivory); }

/* ---------- Inquire ---------- */
/* A header that sits on top of the page's opening photograph (Inquire, About, Services). */
.site-header.over-photo { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
/* A photograph shown whole: full width at its own proportions, never cropped. The text sits over it,
   and where a page runs longer than its photograph the photograph fades into the page colour. */
.fit-photo { position: absolute; top: 0; left: 0; width: 100%; }
.fit-photo img { display: block; width: 100%; height: auto; }
.fit-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,7,0.62) 0%, rgba(8,6,7,0.46) 30%, rgba(8,6,7,0.5) 70%, rgba(8,6,7,0.8) 90%, #080607 100%); }
.inquire-page { position: relative; background: var(--ink); overflow: hidden; }
.inquire { position: relative; box-sizing: border-box; min-height: 66.7vw; display: grid; grid-template-columns: minmax(0, 30fr) minmax(0, 32fr) minmax(0, 38fr); column-gap: 32px; align-content: center; align-items: start; padding: calc(var(--header-h) + 32px) var(--pad) 32px; }
.inquire form .status:empty { display: none; }
.inquire .intro { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; font-size: 16px; line-height: 1.45; }
.inquire h1 { margin: 0 0 20px; font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: 0.96; letter-spacing: -0.036em; }
.inquire .email { font-weight: 700; font-size: clamp(18px, 1.39vw, 20px); letter-spacing: -0.015em; }
.inquire form { grid-column: 3; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 2px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 13px; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ivory); background: transparent;
  border: 0; border-bottom: 1px solid var(--ivory); border-radius: 0;
  padding: 10px 0 12px; width: 100%; min-height: 44px;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ivory) 50%), linear-gradient(135deg, var(--ivory) 50%, transparent 50%); background-position: calc(100% - 11px) 55%, calc(100% - 5px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #0b0b0c; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-bottom: 2px solid #fff; }
.inquire form .btn { grid-column: 1 / -1; justify-self: start; padding: 17px 48px; text-align: center; }
.inquire .status { grid-column: 1 / -1; margin: 0; font-size: 15px; min-height: 1.4em; }

/* ---------- Show page ---------- */
.show-hero, .next {
  position: relative; overflow: hidden; background: var(--ink);
  height: clamp(420px, 85svh, 760px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  text-align: center; padding: 0 var(--pad);
}
.show-hero { padding-top: 60px; }
.next { height: clamp(200px, 32svh, 300px); gap: 10px; }
.show-hero::after, .next::after { content: ''; position: absolute; inset: 0; background: rgba(8,6,7,0.42); pointer-events: none; }
.show-hero > *:not(.cover), .next > *:not(.cover) { position: relative; z-index: 1; }
.show-hero h1 { margin: 0; font-weight: 700; font-size: clamp(54px, 12.2vw, 200px); line-height: 0.9; letter-spacing: -0.051em; }
.show-hero .season { font-size: clamp(17px, 1.67vw, 24px); }
.next .season { font-size: 16px; }
.next .label { font-size: 13px; }
.next .title { font-weight: 700; font-size: clamp(30px, 3.9vw, 56px); line-height: 1; letter-spacing: -0.036em; }

.sequence { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.sequence img { width: 100%; height: auto; }
.sequence .row { display: flex; align-items: flex-start; gap: 8px; }
.sequence .row img { flex: var(--r, 1.5) 1 0; min-width: 0; width: auto; }

.credits { padding: clamp(96px, 12.2vw, 176px) var(--pad); display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.credits div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.credits dt { font-size: 13px; color: var(--muted); }
.credits dd { margin: 0; font-size: 20px; }
.credits-gap { height: 8px; }

.slim-footer { margin: 0 var(--pad); padding: 26px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; }

/* ---------- Projects, About, Services (holding layout; not yet designed on the canvas) ---------- */
.plain { padding: 72px var(--pad) 136px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.plain h1 { margin: 0 0 24px; font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: 0.96; letter-spacing: -0.036em; }
.plain .lead { margin: 0; max-width: 900px; font-size: clamp(21px, 2.08vw, 30px); line-height: 1.32; letter-spacing: -0.013em; }
.plain .todo { margin: 0; font-size: 15px; color: var(--muted); }
.plain .block { margin-top: 72px; display: flex; flex-direction: column; gap: 40px; width: 100%; }
.groups { width: 100%; margin-top: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px 32px; }
.groups.three, .block .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block .groups { margin-top: 0; }
.groups h2 { margin: 0 0 18px; font-weight: 700; font-size: clamp(22px, 2.22vw, 32px); letter-spacing: -0.025em; }
.groups ul { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.75; }
/* ---------- About ---------- */
.about-page { position: relative; overflow: hidden; background: var(--ink); min-height: 66.7vw; }
.about-page .inner { position: relative; box-sizing: border-box; padding: calc(var(--header-h) + 48px) var(--pad) 88px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.about-page .statement { margin: 0; width: 100%; max-width: 1040px; text-align: justify; text-align-last: center; font-size: clamp(20px, 2.5vw, 36px); line-height: 1.16; letter-spacing: -0.028em; }
.about-page .only-phone { display: none; }
.about-page .lists { margin-top: 36px; max-width: 100%; display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; column-gap: clamp(40px, 9vw, 136px); row-gap: 48px; align-items: start; }
.about-page .col { display: flex; flex-direction: column; gap: 48px; }
.about-page h2 { margin: 0 0 10px; font-weight: 700; font-size: clamp(20px, 1.95vw, 28px); letter-spacing: -0.02em; }
.about-page ul { margin: 0; padding: 0; list-style: none; font-size: clamp(15px, 1.39vw, 20px); line-height: 1.5; }

/* ---------- Services ---------- */
.services-page { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.service { position: relative; overflow: hidden; min-height: max(100svh, 760px); display: flex; flex-direction: column; justify-content: center; }
.service > .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service > .shade { position: absolute; inset: 0; background: rgba(8,6,7,0.62); }
.service .text { position: relative; padding: 64px clamp(20px, 2.78vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.service h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 3.05vw, 44px); line-height: 1; letter-spacing: -0.032em; }
/* Every list is given the height of the longest one, so the three titles line up while each block sits at the centre of its photograph. */
.service ul { margin: 0; padding: 0; list-style: none; font-size: clamp(14px, 1.11vw, 16px); line-height: 1.5; min-height: 19.5em; }

/* ---------- Projects: wall of work ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wall { display: flex; flex-direction: column; }
.wall .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wall .row.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wall .row:first-child .tile::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: calc(var(--header-h) * 2.2); background: linear-gradient(180deg, rgba(8,6,7,0.82) 0%, rgba(8,6,7,0.6) 40%, rgba(8,6,7,0) 100%); pointer-events: none; }
.tile { position: relative; display: block; overflow: hidden; }
.tile img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(8,6,7,0) 0%, rgba(8,6,7,0.78) 100%); pointer-events: none; }
.tile .cap { position: absolute; z-index: 1; left: clamp(14px, 1.39vw, 20px); right: clamp(14px, 1.39vw, 20px); bottom: clamp(12px, 1.25vw, 18px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tile .name { font-weight: 700; font-size: clamp(17px, 1.67vw, 24px); line-height: 1; letter-spacing: -0.02em; }
.tile .season { font-size: clamp(12px, 0.97vw, 14px); }
.wall .row.n2 .name { font-size: clamp(20px, 2.22vw, 32px); letter-spacing: -0.025em; }
.wall .row.n2 .season { font-size: clamp(13px, 1.11vw, 16px); }

/* ---------- Projects: earlier work ---------- */
.earlier { padding: 112px 0 136px; display: flex; flex-direction: column; align-items: center; gap: 112px; box-sizing: border-box; }
.earlier .lead { margin: 0 var(--pad); box-sizing: border-box; width: calc(100% - 2 * var(--pad)); max-width: 1040px; text-align: justify; text-align-last: center; font-size: clamp(20px, 2.5vw, 36px); line-height: 1.16; letter-spacing: -0.028em; }
.earlier { width: 100%; }
.earlier .grid { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.earlier figure { position: relative; margin: 0; overflow: hidden; }
.earlier figure:last-child:nth-child(3n + 1) { grid-column: 2; }
.earlier img { display: block; width: 100%; height: 100%; object-fit: cover; }
.earlier figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 20px 18px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.3; background: linear-gradient(180deg, rgba(8,6,7,0) 0%, rgba(8,6,7,0.82) 100%); opacity: 0; transition: opacity .3s ease; }
.earlier figcaption .name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.earlier figure:hover figcaption { opacity: 1; }
@media (hover: none) { .earlier figcaption { opacity: 1; } }

.index { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.index .client { display: flex; flex-direction: column; gap: 4px; }
.index .name { font-weight: 700; font-size: clamp(28px, 2.78vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.index .subs { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 16px; line-height: 26px; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  :root { --header-h: 128px; }
  :root { --land-scale: 1.6; --land-origin: 50% 50px; --land-y: calc(50svh - 50px); }
  .landing-film .lockup-line { top: calc(50svh + 43px); font-size: min(13px, 3.9vw); }
  .landing-film .arrow { width: 22px; height: 10px; }
  .site-header { grid-template-columns: 1fr 1fr; row-gap: 10px; padding: 16px var(--pad); font-size: 14px; align-content: center; }
  .site-header .logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .site-header .side .in { gap: 22px; }
  .site-header .side.left .in { padding-right: 11px; }
  .site-header .side.right .in { padding-left: 11px; }
  .site-header .logo span:first-child { font-size: 32px; }
  .site-header .logo span:last-child { font-size: 19px; }
  .disciplines { flex-direction: column; gap: 22px; padding-top: 88px; font-size: 44px; }
  .work .shade { background: linear-gradient(180deg, rgba(8,6,7,0.7) 0%, rgba(8,6,7,0) 28%), linear-gradient(90deg, rgba(8,6,7,0.88) 0%, rgba(8,6,7,0.62) 60%, rgba(8,6,7,0.3) 100%); }
  .work .sub { font-size: 15px; }
  .about { padding-top: 88px; }
  .about p { text-align: center; }
  .wall .row, .wall .row.n2 { grid-template-columns: 1fr; }
  .tile .name, .wall .row.n2 .name { font-size: 24px; }
  .inquire { grid-template-columns: 1fr; row-gap: 48px; min-height: 0; padding-top: calc(66.7vw + 40px); padding-bottom: 72px; }
  .inquire .intro, .inquire form { grid-column: 1; }
  .about-page .statement { text-align: center; }
  .about-page .lists { grid-template-columns: repeat(2, max-content); column-gap: 40px; row-gap: 40px; }
  .about-page .only-phone { display: block; }
  .about-page .only-desktop { display: none; }
  .about-page .inner { padding-top: calc(var(--header-h) + 48px); }
  .services-page { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service ul { min-height: 0; }
  .service .text { padding-top: 72px; padding-bottom: 72px; }
  .services-page .service:first-of-type .text { padding-top: calc(var(--header-h) + 40px); }
  .earlier { padding: 72px 0 96px; gap: 72px; }
  .earlier .grid { grid-template-columns: 1fr; }
  .earlier figure:last-child:nth-child(3n + 1) { grid-column: auto; }
  .earlier .lead { text-align: center; }
  .clients { margin-top: 40px; }
  .work .name { font-size: 22px; }
  .clients .run { gap: 44px; padding-left: 44px; }
  .site-footer { padding-top: 112px; }
  .groups, .groups.three, .block .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquire form { grid-template-columns: 1fr; }
  .sequence .row { flex-direction: column; align-items: stretch; }
  .sequence .row img { flex: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel, .clients .run { animation: none; }
  .work > .cover { transition: none; }
  .landing-film, .site-header.home, .site-header.home .side .in, #app { transition: none !important; }
  html.fade-in body, html.leaving body { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
