/*
 * site.css
 * PVO Media — public website (index.html, services.html)
 *
 * Deliberately separate from main.css, which the portal pages still load.
 * Black/white only: every colour is a token below, so the light theme is a
 * straight inversion. The work itself provides the colour.
 */

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #0a0a0a;
  --bg-raised: #141414;
  --fg: #f4f4f2;
  --fg-muted: rgba(244, 244, 242, 0.62);
  --fg-faint: rgba(244, 244, 242, 0.38);
  --line: rgba(244, 244, 242, 0.14);
  --line-strong: rgba(244, 244, 242, 0.32);
  --logo-filter: none;

  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 72px;
  --label-col: clamp(140px, 20vw, 300px);
}

:root[data-theme="light"] {
  --bg: #f6f6f4;
  --bg-raised: #ebebe8;
  --fg: #0a0a0a;
  --fg-muted: rgba(10, 10, 10, 0.64);
  --fg-faint: rgba(10, 10, 10, 0.4);
  --line: rgba(10, 10, 10, 0.14);
  --line-strong: rgba(10, 10, 10, 0.32);
  --logo-filter: invert(1);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a { color: inherit; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-size: 13px;
}
.skip-link:focus { top: 1rem; }

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

/* ─── Type ───────────────────────────────────────────────────────────────── */
.eyebrow {
  display: block;
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display {
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.heading {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lede {
  color: var(--fg-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  max-width: 34ch;
}

/* ─── Buttons & links ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0 1.4rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: transparent; color: var(--fg); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--fg); }

.btn[disabled] { opacity: 0.5; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--fg);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--fg); }

/* Touch-sized hit areas (44px) for small inline links, without moving the layout. */
.text-link,
.footer-links a,
.brand { position: relative; }
.text-link::after,
.footer-links a::after,
.brand::after { content: ""; position: absolute; inset: -12px -6px; }

.arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.text-link:hover .arrow,
.btn:hover .arrow { transform: translateX(3px); }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--gutter);
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Over the hero film the header is always light-on-dark, whatever the theme. */
.site-header.is-over-media:not(.is-solid) { color: #f4f4f2; }
.site-header.is-over-media:not(.is-solid) .brand img { filter: none; }

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 18px;
  width: auto;
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
}

.site-nav a {
  position: relative;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
}

.nav-divider {
  width: 1px;
  height: 14px;
  background: currentColor;
  opacity: 0.25;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.theme-toggle:hover { opacity: 1; }
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle-bars {
  position: relative;
  width: 20px;
  height: 8px;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars::after { top: 6.5px; }
.menu-open .menu-toggle-bars::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-toggle-bars::after { top: 3.25px; transform: rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
  color: #f4f4f2;
}

.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding: 0 var(--gutter) clamp(2rem, 5vw, 3.5rem);
}

.hero .eyebrow { color: rgba(244, 244, 242, 0.72); margin-bottom: 1.25rem; }

.hero h1 { max-width: 16ch; }
.hero .visually-hidden + .hero-actions { margin-top: 0; }

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

.hero .btn { background: #f4f4f2; color: #0a0a0a; border-color: #f4f4f2; }
.hero .btn:hover { background: transparent; color: #f4f4f2; }
.hero .btn--ghost { background: transparent; color: #f4f4f2; border-color: rgba(244,244,242,0.4); }
.hero .btn--ghost:hover { border-color: #f4f4f2; }

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  color: rgba(244, 244, 242, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: right;
}

.hero-pause {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 244, 242, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #f4f4f2;
  cursor: pointer;
}
.hero-pause:hover { border-color: #f4f4f2; }
.hero-pause svg { width: 12px; height: 12px; }
.hero-pause .icon-play { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }
.hero-pause[aria-pressed="true"] .icon-pause { display: none; }

/* ─── Clients strip ──────────────────────────────────────────────────────── */
.clients {
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  color: var(--fg-muted);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section {
  padding: var(--section-y) var(--gutter);
}

.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: var(--label-col) 1fr auto;
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.75rem);
}

.section-head .eyebrow { align-self: start; padding-top: 0.6em; }

.section-head p {
  color: var(--fg-muted);
  font-size: 14px;
  max-width: 36ch;
  text-align: right;
}

/* ─── Work cards (films + recaps) ────────────────────────────────────────── */
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2vw, 1.5rem);
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(0.75rem, 1.5vw, 1.25rem);
}

.work-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.recap-grid .work-media { aspect-ratio: 9 / 16; }

.work-media img,
.work-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.work-media video {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.9s var(--ease);
}
.work-media video.is-playing { opacity: 1; }

.work-card:hover .work-media img,
.work-card:hover .work-media video,
.work-card:focus-visible .work-media img,
.work-card:focus-visible .work-media video { transform: scale(1.025); }

.work-play {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem 0.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f4f4f2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.work-play svg { width: 9px; height: 9px; }
.work-card:hover .work-play,
.work-card:focus-visible .work-play { opacity: 1; transform: none; }

.recap-grid .work-play { left: 0.75rem; bottom: 0.75rem; }

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.9rem;
}

.work-title {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.work-type {
  flex-shrink: 0;
  color: var(--fg-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.recap-grid .work-meta { flex-direction: column; gap: 0.2rem; padding-top: 0.75rem; }
.recap-grid .work-title { font-size: clamp(0.98rem, 1.25vw, 1.1rem); }

/* ─── Photography ────────────────────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1vw, 0.9rem);
}

.photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: var(--bg-raised);
  cursor: zoom-in;
}

.photo--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s ease;
}
.photo:hover img { transform: scale(1.03); }

.gallery + .gallery { margin-top: clamp(3.5rem, 7vw, 6rem); }

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid var(--line);
}

.gallery-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gallery-meta {
  color: var(--fg-muted);
  font-size: 13px;
  text-align: right;
}

/* Alternate galleries lead with the feature image on the right. */
.photo-grid { grid-auto-flow: dense; }
.photo--feature-right { grid-column: 2 / span 2; }

.photo-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  color: var(--fg-muted);
  font-size: 13px;
}

/* ─── Services summary ───────────────────────────────────────────────────── */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 9vw, 7.5rem);
  padding: 1.75rem clamp(1rem, 2.5vw, 2rem) 1.75rem 0;
}

.service-item + .service-item {
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}

.service-num {
  color: var(--fg-faint);
  font-size: 12px;
  letter-spacing: 0.12em;
}


.service-item h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.service-item p {
  margin-top: 0.85rem;
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 34ch;
}

/* ─── About ──────────────────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  gap: 1.5rem 2rem;
}

.about-statement {
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.028em;
  max-width: 24ch;
}

.about-statement span { color: var(--fg-faint); }

.about-foot {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.about-foot dt {
  color: var(--fg-faint);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.about-foot dd {
  color: var(--fg-muted);
  font-size: 15px;
}

/* ─── Contact CTA ────────────────────────────────────────────────────────── */
.cta {
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  gap: 1.5rem 2rem;
}

.cta-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cta-mail {
  color: var(--fg);
  font-size: clamp(2.2rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: opacity 0.2s ease;
}
.cta-mail:hover { opacity: 0.7; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  display: grid;
  grid-template-columns: var(--label-col) 1fr auto;
  align-items: end;
  gap: 1.5rem 2rem;
  padding: 2.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  color: var(--fg-muted);
  font-size: 13px;
}

.site-footer .brand img { height: 15px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  padding: 0;
}

.footer-links a { color: var(--fg-muted); text-decoration: none; }
.footer-links a:hover { color: var(--fg); }

/* ─── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: #050505;
  color: #f4f4f2;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 0.3s ease; }

@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 var(--gutter);
  font-size: 13px;
}

.lightbox-title { font-weight: 500; }
.lightbox-title span { color: rgba(244, 244, 242, 0.55); font-weight: 400; margin-left: 0.6rem; }

.lightbox-close,
.lightbox-nav {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 244, 242, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #f4f4f2;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { border-color: #f4f4f2; background: rgba(244, 244, 242, 0.08); }
.lightbox-close svg,
.lightbox-nav svg { width: 14px; height: 14px; }

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 var(--gutter);
}

.lightbox-stage video,
.lightbox-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 2 * var(--header-h));
  max-height: calc(100dvh - 2 * var(--header-h));
  object-fit: contain;
  background: #000;
}

/* Scale landscape films up to fill the stage; the max-* limits keep them inside it. */
.lightbox:not(.is-vertical) .lightbox-stage video { width: 100%; height: calc(100dvh - 2 * var(--header-h)); }
.lightbox.is-vertical .lightbox-stage video { height: calc(100dvh - 2 * var(--header-h)); }

/* Vimeo embeds have no intrinsic size, so give them the film's frame and fit it to the stage. */
.lightbox-stage iframe { display: block; border: 0; background: #000; }
.lightbox:not(.is-vertical) .lightbox-stage iframe {
  width: min(100%, calc((100dvh - 2 * var(--header-h)) * 16 / 9));
  aspect-ratio: 16 / 9;
}
.lightbox.is-vertical .lightbox-stage iframe {
  height: calc(100dvh - 2 * var(--header-h));
  max-width: 100%;
  aspect-ratio: 9 / 16;
}

.lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 72px;
  padding: 0 var(--gutter);
  color: rgba(244, 244, 242, 0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.lightbox:not(.is-gallery) .lightbox-nav,
.lightbox:not(.is-gallery) .lightbox-count { display: none; }

/* ─── Services page ──────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  gap: 1.5rem 2rem;
}

.page-hero .lede { margin-top: 1.75rem; max-width: 46ch; }

.page-banner {
  position: relative;
  margin: 0 var(--gutter);
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.page-banner video,
.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer {
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
}
.offer:last-child { border-bottom: 1px solid var(--line); }

.offer h3 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.offer p {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 44ch;
}

.offer ul {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.offer li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.step {
  padding: 1.75rem clamp(1rem, 2.5vw, 2rem) 0 0;
}
.step + .step {
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}

.step h3 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.step p { color: var(--fg-muted); font-size: 15px; max-width: 34ch; }

/* ─── Contact form ───────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-intro p { color: var(--fg-muted); margin-top: 1.25rem; max-width: 30ch; }
.contact-intro a { color: var(--fg); }

.contact-form {
  display: grid;
  gap: 1.5rem;
}

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

.field { display: grid; gap: 0.4rem; }

.field label {
  color: var(--fg-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field select option { background: var(--bg); color: var(--fg); }

.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--fg-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--fg); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form-status { color: var(--fg-muted); font-size: 14px; }
.form-status a { color: var(--fg); }

/* ─── Reveal ─────────────────────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .recap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

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

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1.1rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--bg);
    color: var(--fg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  /* When the menu is open the header sits on the page colour, not the film. */
  .menu-open.site-header { color: var(--fg); }
  .menu-open.site-header .brand img { filter: var(--logo-filter); }

  .site-nav a {
    font-size: clamp(2rem, 9vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
    opacity: 1;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .nav-divider { width: 100%; height: 1px; margin: 0.5rem 0; }
  .site-nav .theme-toggle { width: 40px; height: 40px; }

  .hero-content { grid-template-columns: 1fr; }
  .hero-aside { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }

  .clients,
  .section-head,
  .about,
  .cta,
  .page-hero,
  .contact-layout { grid-template-columns: 1fr; }

  .section-head p { text-align: left; }
  .section-head .eyebrow { padding-top: 0; }
  .about-foot { grid-column: auto; }

  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo--feature-right { grid-column: span 2; }

  .service-list,
  .steps { grid-template-columns: 1fr; }
  .service-item,
  .step { min-height: 0; padding: 1.5rem 0; }
  .service-item + .service-item,
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .service-item { gap: 1.25rem; }
  .step h3 { margin-top: 1rem; }

  .offer { grid-template-columns: 1fr; gap: 1rem; }

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

  .page-banner { aspect-ratio: 4 / 3; }

  /* Touch screens have no hover, so keep the play affordance visible. */
  .work-play { opacity: 1; transform: none; }
}

/* Phones: films and recaps become swipeable rows so the page stays short.
   The next card peeks in at the edge to show there is more. */
@media (max-width: 700px) {
  .film-grid,
  .recap-grid {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .film-grid::-webkit-scrollbar,
  .recap-grid::-webkit-scrollbar { display: none; }
  .film-grid > .work-card { flex: 0 0 86%; scroll-snap-align: start; }
  .recap-grid > .work-card { flex: 0 0 44%; scroll-snap-align: start; }
  /* Cards off to the side never cross the vertical reveal line, so show them outright. */
  .js .film-grid > .reveal,
  .js .recap-grid > .reveal { opacity: 1; transform: none; }

  .hero-pause { width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  .clients-list { justify-content: flex-start; }
  .about-foot { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .recap-grid .work-play span { display: none; }
  .recap-grid .work-play { padding: 0.5rem; }
  .photo-grid { gap: 0.4rem; }
  .gallery-head { flex-direction: column; gap: 0.25rem; }
  .gallery-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

.offer .offer-link { margin-top: 1.5rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
