/* Self-hosted fonts (SIL Open Font License 1.1, see assets/fonts/LICENSE.txt) */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-serif-4.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/source-serif-4-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
}

/* ==========================================================================
   CB Cinema — site stylesheet
   Palette borrowed from colour grading: cool silver-gelatin paper,
   deep spruce shadows, tungsten highlights.
   ========================================================================== */

:root {
  /* colour */
  --spruce: #13211f;       /* ink + dark sections */
  --spruce-2: #1b2d2a;     /* raised dark surface */
  --spruce-3: #2a403c;     /* dark hairlines */
  --silver: #e9ece7;       /* paper */
  --silver-2: #dde2dc;     /* sunken paper */
  --fog: #3d4a46;          /* secondary text on silver (8.6:1) */
  --mist: #bac5c1;         /* secondary text on spruce (9.6:1) */
  --champagne: #efe8da;   /* accent on dark: buttons, highlights (12:1 on spruce) */
  --ink-accent: #13211f;  /* accent on light: labels, numbers */
  --line-light: #c3cbc5;
  --white: #ffffff;

  /* type */
  --display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif;

  /* scale — perfect fourth from 17px body */
  --t-small: 0.9375rem;
  --t-body: 1.125rem;
  --t-lead: 1.375rem;
  --t-h4: 1.5rem;
  --t-h3: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --t-h2: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem);
  --t-h1: clamp(2.9rem, 1.3rem + 6.2vw, 8rem);

  /* layout */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --max: 90rem;
  --section: clamp(3.75rem, 2.25rem + 4.5vw, 7rem);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --header-h: 4.75rem;
  --radius: 14px;
  --radius-lg: 24px;
}

/* -------------------------------------------------------------------------- */
/* Reset                                                                       */
/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  background: var(--silver);
  color: var(--spruce);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

/* -------------------------------------------------------------------------- */
/* Accessibility                                                               */
/* -------------------------------------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ink-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--champagne); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  background: var(--champagne);
  color: var(--spruce);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}
.skip-link:focus { top: 0.75rem; }

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

/* -------------------------------------------------------------------------- */
/* Primitives                                                                  */
/* -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.on-dark {
  background-color: var(--spruce);
  color: var(--silver);
  position: relative;
  isolation: isolate;
}
/* fine film grain over dark sections */
.on-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.display {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.h2 {
  font-family: var(--display);
  font-size: var(--t-h2);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  max-width: 34em;
}
.muted { color: var(--fog); }
.on-dark .muted { color: var(--mist); }

/* Section tag: a small pill with a dot naming the section a reader is in. */
.marker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem 0.35rem 0.75rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-accent);
  margin-bottom: 1.5rem;
}
.marker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.on-dark .marker { color: var(--champagne); border-color: var(--spruce-3); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary { background: var(--spruce); color: var(--silver); }
.btn-primary:hover { background: var(--spruce-3); }
.on-dark .btn-primary { background: var(--champagne); color: var(--spruce); }
.on-dark .btn-primary:hover { background: var(--white); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--spruce); color: var(--silver); border-color: var(--spruce); }
.on-dark .btn-ghost:hover { background: var(--silver); color: var(--spruce); border-color: var(--silver); }
.btn svg { width: 1rem; height: 1rem; flex: none; }

/* Pill button with a circular arrow chip; the arrow slips out and back in on hover */
.btn-chip { padding: 0.4rem 0.4rem 0.4rem 1.5rem; gap: 1rem; }
.btn-chip .chip {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: var(--silver);
  color: var(--spruce);
  overflow: hidden;
  flex: none;
}
.on-dark .btn-chip .chip { background: var(--spruce); color: var(--champagne); }
.btn-chip .chip svg { width: 0.95rem; height: 0.95rem; transition: transform 0.45s var(--ease); }
.btn-chip .chip svg + svg { position: absolute; transform: translate(-160%, 160%); }
.btn-chip:hover .chip svg:first-child,
.btn-chip:focus-visible .chip svg:first-child { transform: translate(160%, -160%); }
.btn-chip:hover .chip svg + svg,
.btn-chip:focus-visible .chip svg + svg { transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color 0.2s;
}
.text-link:hover { text-decoration-thickness: 2px; }
.on-dark .text-link:hover { color: var(--champagne); }

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--silver);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-solid,
.page-plain .site-header {
  background-color: rgba(19, 33, 31, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--spruce-3);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  min-height: 44px;
  align-items: center;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark i { font-weight: 400; font-style: italic; color: var(--champagne); }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 2rem);
  list-style: none;
  padding: 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding-inline: 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.nav-list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.25rem; right: 0.25rem; bottom: 0.6rem;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list .btn { min-height: 2.9rem; padding: 0.6rem 1.25rem; font-size: 0.95rem; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.5rem;
  background: none;
  border: 0;
  font-weight: 600;
}
.menu-toggle .bars { width: 22px; height: 12px; position: relative; }
.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: 10px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--spruce);
    padding: 2rem var(--gutter) 3rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .nav-list a:not(.btn) {
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 600;
    min-height: 3.5rem;
  }
  .nav-list a:not(.btn)::after { bottom: 0.4rem; }
  .nav-list li:last-child { margin-top: 1.5rem; }
  .nav-list .btn { min-height: 3.25rem; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background-color: var(--spruce); }
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--silver);
  background: var(--spruce);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media video.is-ready { opacity: 1; }
/* grade: lift shadows toward spruce, keep the top legible for the nav,
   and pool weight under the headline */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19,33,31,0.55) 0%, rgba(19,33,31,0) 22%),
    linear-gradient(0deg, rgba(19,33,31,0.92) 0%, rgba(19,33,31,0.55) 38%, rgba(19,33,31,0.08) 70%),
    linear-gradient(90deg, rgba(19,33,31,0.5) 0%, rgba(19,33,31,0) 60%);
}
.hero-inner {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2rem, 1rem + 4vw, 4.5rem);
  row-gap: 2rem;
  align-items: end;
}
.hero-title {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-size: var(--t-h1);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero-title .line { display: block; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:nth-child(2) { padding-left: 0; }

.hero-copy {
  grid-column: 1 / span 5;
  display: grid;
  gap: 1.75rem;
}
.hero-copy p { font-size: var(--t-lead); line-height: 1.5; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-meta {
  grid-column: 9 / -1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-variant-numeric: tabular-nums;
}
.timecode {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.timecode .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--champagne);
  animation: blink 1.6s steps(2, start) infinite;
}
.is-paused .timecode .dot { animation: none; opacity: 0.35; }
@keyframes blink { to { visibility: hidden; } }
.reel-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(233,236,231,0.5);
  background: rgba(19,33,31,0.35);
  font-size: 0.9rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.reel-toggle:hover { border-color: var(--silver); }
.reel-toggle svg { width: 14px; height: 14px; }
.reel-toggle .i-play { display: none; }
.is-paused .reel-toggle .i-play { display: block; }
.is-paused .reel-toggle .i-pause { display: none; }

/* one orchestrated load: headline lines rise out of a mask, copy follows */
@media (prefers-reduced-motion: no-preference) {

  .hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
  .hero-title .line:nth-child(2) > span { animation-delay: 0.4s; }

  .hero-copy, .hero-meta { animation: fade 1s var(--ease) 0.85s both; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero-copy { grid-column: 1 / span 9; }
  .hero-meta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .hero-copy { grid-column: 1 / -1; }

  .hero-actions .btn { flex: 1 1 100%; }
}

/* -------------------------------------------------------------------------- */
/* Intro statement                                                             */
/* -------------------------------------------------------------------------- */
.intro { padding-block: var(--section); }
.intro .grid { row-gap: 2rem; }
.intro-aside {
  grid-column: 1 / span 3;
  align-self: start;
  padding-top: 0.6rem;
}
.intro-aside dl { display: grid; gap: 1.25rem; }
.intro-aside dt { font-size: var(--t-small); color: var(--fog); }
.intro-aside dd { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; }
.intro-statement {
  grid-column: 5 / span 8;
  font-family: var(--display);
  font-size: clamp(1.7rem, 1rem + 2.3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.intro-statement + p { grid-column: 5 / span 5; margin-top: 1.75rem; }
@media (max-width: 960px) {
  .intro-aside { grid-column: 1 / -1; order: 2; }
  .intro-aside dl { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 2.5rem; }
  .intro-statement, .intro-statement + p { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .intro-aside dl { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------------------- */
/* Services — an index, not a card grid                                        */
/* -------------------------------------------------------------------------- */
.services { padding-block: var(--section); }
.services-head { margin-bottom: clamp(2.25rem, 4vw, 3.5rem); row-gap: 1.5rem; align-items: end; }
.services-head .h2 { grid-column: 1 / span 7; }
.services-head p { grid-column: 9 / -1; }

.services-body { align-items: start; }
.services-frame {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--spruce-2);
}
.services-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease), filter 0.7s var(--ease);
}
.services-frame img.is-active { opacity: 1; transform: none; filter: none; }
.services-frame::after { /* soft grade so the caption always reads */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19,33,31,0.55) 0%, rgba(19,33,31,0) 35%);
  pointer-events: none;
}
.services-frame .vf { z-index: 2; }
.services-frame figcaption {
  position: absolute;
  z-index: 3;
  left: 1.25rem; bottom: 1.25rem;
  padding: 0.4rem 0.85rem;
  background: rgba(19,33,31,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(239,232,218,0.25);
  color: var(--silver);
  font-size: var(--t-small);
  border-radius: 999px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.services-frame figcaption.is-swapping { opacity: 0; transform: translateY(6px); }

.service-list {
  grid-column: 7 / -1;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--spruce-3);
}
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  row-gap: 0.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--spruce-3);
  transition: border-color 0.3s;
}
.service { cursor: default; }
.service h3 {
  position: relative;
  font-family: var(--display);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.1;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
/* a short champagne rule draws in ahead of the active service's name */
.service h3::before {
  content: "";
  position: absolute;
  left: -2.25rem;
  top: 50%;
  width: 1.5rem;
  height: 2px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service p, .service .tag { transition: color 0.4s var(--ease), transform 0.5s var(--ease); }
.service.is-active h3 { transform: translateX(2.25rem); }
.service.is-active h3::before { transform: scaleX(1); }
.service.is-active p { color: var(--silver); transform: translateX(2.25rem); }
.service.is-active .tag { color: var(--champagne); }
.service .tag {
  align-self: start;
  margin-top: 0.4rem;
  font-size: var(--t-small);
  color: var(--mist);
  white-space: nowrap;
}
.service p { grid-column: 1 / -1; color: var(--mist); max-width: min(36em, calc(100% - 2.25rem)); }
.services-cta { grid-column: 7 / -1; }
.service.is-active h3 { color: var(--champagne); }
.services-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 960px) {
  .services-head .h2, .services-head p { grid-column: 1 / -1; }
  .services-frame { display: none; }
  .service-list, .services-cta { grid-column: 1 / -1; }
  .services-cta { grid-column: 1 / -1; }
  .service.is-active h3 { color: inherit; }
  .service.is-active h3, .service.is-active p { transform: none; }
  .service.is-active h3::before { transform: scaleX(0); }
  .service.is-active p { color: var(--mist); }
  .service.is-active .tag { color: var(--mist); }
}
@media (max-width: 520px) {
  .service { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* Selected work                                                               */
/* -------------------------------------------------------------------------- */
.work { padding-block: var(--section); }
.work-head { row-gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); align-items: end; }
.work-head .work-head-link { grid-column: 9 / -1; justify-self: end; }
/* three equal, aligned frames */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
  align-items: start;
}
.work-grid .film-frame { aspect-ratio: 4 / 5; }
.work-foot { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 860px) {
  .work-head .work-head-link { display: none; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid .film:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .work-grid { column-gap: 1rem; }
  .work-grid .film-title { font-size: 1.1rem; }
  .work-foot .btn { width: 100%; }
}

/* Shared section head column */
.head-main { grid-column: 1 / span 7; }
@media (max-width: 960px) {
  .head-main { grid-column: 1 / -1; }
}

/* Film tile (shared with portfolio) ---------------------------------------- */
.film {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
}
/* The thumbnail sits in a mat, like a print in a frame. Inside the shot,
   viewfinder corner marks close in on hover and a duration pill reads like
   a camera display. */
.film-frame {
  --mat: 7px;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  padding: var(--mat);
  background: #f7f8f5;
  border: 1px solid var(--line-light);
  border-radius: calc(var(--radius) + var(--mat));
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.on-dark .film-frame { background: var(--spruce-2); border-color: var(--spruce-3); }
.film:hover .film-frame,
.film:focus-visible .film-frame {
  border-color: var(--spruce);
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -22px rgba(19, 33, 31, 0.55);
}
.film-shot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--spruce-2);
  isolation: isolate;
}
.film-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.film:hover .film-shot img,
.film:focus-visible .film-shot img { transform: scale(1.05); filter: brightness(0.85); }
/* gentle grade at top and bottom so the overlays always read */
.film-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19,33,31,0.45) 0%, rgba(19,33,31,0) 22%),
    linear-gradient(0deg, rgba(19,33,31,0.5) 0%, rgba(19,33,31,0) 30%);
  pointer-events: none;
}

/* viewfinder corners: four L-marks drawn with gradients on one element */
.vf {
  --c: rgba(239, 232, 218, 0.9);
  --l: 18px;
  position: absolute;
  inset: 14px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1.5px,
    linear-gradient(var(--c), var(--c)) top left / 1.5px var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1.5px,
    linear-gradient(var(--c), var(--c)) top right / 1.5px var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1.5px,
    linear-gradient(var(--c), var(--c)) bottom left / 1.5px var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1.5px,
    linear-gradient(var(--c), var(--c)) bottom right / 1.5px var(--l);
  background-repeat: no-repeat;
  transition: inset 0.5s var(--ease), opacity 0.5s var(--ease);
}
.film:hover .vf, .film:focus-visible .vf { inset: 22px; opacity: 1; }

.film-dur {
  position: absolute;
  z-index: 3;
  top: 1.35rem; left: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(19, 33, 31, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--silver);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.film-dur::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}
.film-play {
  position: absolute;
  z-index: 3;
  right: 1.35rem; bottom: 1.35rem;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(239, 232, 218, 0.92);
  color: var(--spruce);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.film-play svg { width: 13px; height: 13px; margin-left: 2px; }
.film:hover .film-play, .film:focus-visible .film-play { background: var(--white); transform: scale(1.1); }
@media (max-width: 520px) {
  .film-frame { --mat: 5px; }
  .vf { inset: 10px; --l: 14px; }
  .film-dur { top: 0.9rem; left: 0.9rem; }
  .film-play { right: 0.9rem; bottom: 0.9rem; width: 2.6rem; height: 2.6rem; }
}
.film-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.9rem;
}
.film-title { font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.film-kind { font-size: var(--t-small); color: var(--fog); white-space: nowrap; }
.on-dark .film-kind { color: var(--mist); }
.film.is-portrait .film-frame { aspect-ratio: 4 / 5; }

/* -------------------------------------------------------------------------- */
/* Process — a real sequence, so it is numbered                                */
/* -------------------------------------------------------------------------- */
.process { padding-block: var(--section); }
.process-head { row-gap: 1.5rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.process-head .h2 { grid-column: 1 / span 6; }
.process-head p { grid-column: 8 / span 4; align-self: end; }
/* A timeline: numbered stops joined by a line that fills as the visitor
   scrolls through the section (JS sets --p per connector, 0 to 1, and adds
   .is-reached to each stop the line arrives at). */
.steps {
  --dot: 3.25rem;
  --gap-x: var(--gutter);
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem var(--gap-x);
  counter-reset: step;
}
.step {
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  margin-bottom: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-light);
  background: var(--silver);
  color: var(--fog);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* connector to the next stop */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2 - 1px);
  left: calc(var(--dot) + 0.75rem);
  width: calc(100% + var(--gap-x) - var(--dot) - 1.5rem);
  height: 2px;
  border-radius: 2px;
  background:
    linear-gradient(var(--spruce), var(--spruce)) 0 0 / calc(var(--p, 0) * 100%) 100% no-repeat,
    rgba(19, 33, 31, 0.1);
}
.step h3 {
  font-family: var(--display);
  font-size: var(--t-h4);
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fog);
  transition: color 0.5s var(--ease);
}
.step p { color: var(--fog); max-width: 22em; }
.step.is-reached::before {
  background: var(--spruce);
  border-color: var(--spruce);
  color: var(--champagne);
  box-shadow: 0 0 0 6px rgba(19, 33, 31, 0.08);
}
.step.is-reached h3 { color: var(--spruce); }
.step:hover::before { transform: scale(1.08); }

@media (max-width: 960px) {
  .process-head .h2, .process-head p { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
}
/* phones: a vertical timeline down the left edge */
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 2rem; }
  .step { padding-left: calc(var(--dot) + 1.25rem); min-height: var(--dot); }
  .step::before { position: absolute; left: 0; top: 0; margin: 0; }
  .step h3 { padding-top: 0.7rem; }
  .step:nth-child(n):not(:last-child)::after {
    display: block;
    top: calc(var(--dot) + 0.5rem);
    left: calc(var(--dot) / 2 - 1px);
    width: 2px;
    height: calc(100% + 2rem - var(--dot) - 1rem);
    background:
      linear-gradient(var(--spruce), var(--spruce)) 0 0 / 100% calc(var(--p, 0) * 100%) no-repeat,
      rgba(19, 33, 31, 0.1);
  }
}

/* -------------------------------------------------------------------------- */
/* About                                                                       */
/* -------------------------------------------------------------------------- */
.about { padding-block: var(--section); background: var(--silver-2); }
.about .grid { row-gap: 2.5rem; align-items: stretch; }
.about-portrait {
  grid-column: 1 / span 5;
  position: relative;
  display: flex;
  flex-direction: column;
}
.about-portrait img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  background: #c7cfc9; /* grounds the cut-out portrait */
}
.about-portrait figcaption {
  margin-top: 0.9rem;
  font-size: var(--t-small);
  color: var(--fog);
}
.about-years {
  position: absolute;
  left: 1rem;
  bottom: calc(2.6rem + 1rem);
  background: var(--spruce);
  color: var(--silver);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
}
.about-years strong { display: block; font-family: var(--display); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--champagne); }
.about-years span { font-size: var(--t-small); }
.about-text {
  grid-column: 7 / span 6;
  padding-top: 0;
}
.about-text .h2 { margin-bottom: 2rem; }
.about-text p + p { margin-top: 1.1rem; }
.about-text p { max-width: 34em; }
.about-specs {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}
.about-specs div { padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.about-specs div:nth-child(odd) { padding-right: 1rem; }
.about-specs dt { font-size: var(--t-small); color: var(--fog); }
.about-specs dd { font-weight: 600; }
.about-specs .is-full { grid-column: 1 / -1; padding-right: 0; }
.spec-note { display: block; font-weight: 400; font-size: var(--t-small); color: var(--fog); }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.service-tags li {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--silver);
  font-size: 0.95rem;
  font-weight: 500;
}
@media (max-width: 860px) {
  .about-portrait { grid-column: 1 / span 10; }
  .about-text { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 520px) {
  .about-portrait { grid-column: 1 / -1; }
}

/* -------------------------------------------------------------------------- */
/* FAQ                                                                         */
/* -------------------------------------------------------------------------- */
.faq { padding-block: var(--section); }
.faq .grid { row-gap: 2.5rem; align-items: start; }
.faq-head {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.faq-head p { margin-top: 1.5rem; }
.faq-list { grid-column: 6 / -1; border-top: 1px solid var(--spruce); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 44px;
  padding: 1.5rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm {
  flex: none;
  position: relative;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item summary .pm::before,
.faq-item summary .pm::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .pm { background: var(--spruce); color: var(--silver); border-color: var(--spruce); }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover { color: var(--spruce-3); }
.faq-answer { padding: 0 3.5rem 1.75rem 0; color: var(--fog); max-width: 40em; }
@media (max-width: 860px) {
  .faq-head { grid-column: 1 / -1; position: static; }
  .faq-list { grid-column: 1 / -1; }
  .faq-answer { padding-right: 0; }
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                     */
/* -------------------------------------------------------------------------- */
.contact { padding-block: var(--section); }
.contact .grid { row-gap: 3.5rem; align-items: start; }
.contact-intro { grid-column: 1 / span 5; }
.contact-intro .h2 { margin-bottom: 1.75rem; }
.contact-promise {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-weight: 600;
}
.contact-promise .live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--champagne);
}

/* Direct contact: works on any device, no form needed */
.contact-card {
  grid-column: 7 / -1;
  border: 1px solid var(--spruce-3);
  border-radius: var(--radius-lg);
  background: rgba(27, 45, 42, 0.6);
}
.contact-block { padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-block + .contact-block { border-top: 1px solid var(--spruce-3); }
.contact-label {
  font-family: var(--text);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--mist);
  margin-bottom: 0.5rem;
}
.contact-email {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.contact-email a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.contact-email a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.contact-hint { margin-top: 1rem; font-size: var(--t-small); color: var(--mist); max-width: 34em; }
.contact-social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.contact-social a:hover { color: var(--champagne); }

/* copy button: icon swaps to a check once copied */
.copy-btn .i-check { display: none; }
.copy-btn.is-copied { background: var(--champagne); color: var(--spruce); border-color: var(--champagne); }
.copy-btn.is-copied .i-copy { display: none; }
.copy-btn.is-copied .i-check { display: block; }

@media (max-width: 960px) {
  .contact-intro, .contact-card { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .contact-actions .btn { flex: 1 1 100%; }
}


/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--spruce-3);
}
.footer-top { row-gap: 2.5rem; padding-bottom: clamp(2.5rem, 4.5vw, 3.75rem); }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand .wordmark { font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem); line-height: 1; }
.footer-brand p { margin-top: 1.25rem; color: var(--mist); max-width: 26em; }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 7 / span 2; }
.footer-col h2 { font-size: var(--t-small); font-weight: 600; color: var(--mist); margin-bottom: 0.75rem; font-family: var(--text); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
}
.footer-col a:hover { color: var(--champagne); text-decoration: underline; text-underline-offset: 0.25em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--spruce-3);
  font-size: var(--t-small);
  color: var(--mist);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; list-style: none; padding: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: var(--champagne); }
@media (max-width: 960px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col:first-of-type { grid-column: span 4; }
}
@media (max-width: 560px) {
  .footer-col, .footer-col:first-of-type { grid-column: span 6; }
}

/* -------------------------------------------------------------------------- */
/* Inner-page header                                                           */
/* -------------------------------------------------------------------------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5.5vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
}
.page-head .grid { row-gap: 1.75rem; align-items: end; }
.page-title {
  grid-column: 1 / span 8;
  font-family: var(--display);
  font-size: clamp(3rem, 1.6rem + 5.6vw, 7.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.page-head .lead { grid-column: 9 / -1; font-size: 1.15rem; }
@media (max-width: 860px) {
  .page-title, .page-head .lead { grid-column: 1 / -1; }
}

/* -------------------------------------------------------------------------- */
/* Portfolio                                                                   */
/* -------------------------------------------------------------------------- */
.portfolio { padding-bottom: var(--section); }
.tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 2.9rem;
  padding: 0.5rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.tab:hover { background: var(--silver-2); }
.tab[aria-selected="true"] { background: var(--spruce); color: var(--silver); }
.tab .count { font-weight: 400; opacity: 0.75; margin-left: 0.35rem; font-variant-numeric: tabular-nums; }

.panel-intro { row-gap: 1rem; margin-bottom: 2.5rem; }
.panel-intro .h3 { grid-column: 1 / span 5; }
.panel-intro p { grid-column: 7 / span 5; align-self: end; }
.film-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) var(--gutter);
  list-style: none;
  padding: 0;
}
/* Even, aligned grid. Films are vertical, framed at a consistent 4:5. */
.film-grid > li { grid-column: span 3; }
.film-grid .film-frame { aspect-ratio: 4 / 5; }
.feed-head { margin-top: clamp(4rem, 8vw, 7rem); }
.film-grid.is-feeds > li { grid-column: span 4; }
.film-grid.is-feeds .film-frame { aspect-ratio: 1 / 1; }
@media (max-width: 960px) {
  .film-grid > li, .film-grid.is-feeds > li { grid-column: span 4; }
  .panel-intro .h3, .panel-intro p { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .film-grid > li, .film-grid.is-feeds > li { grid-column: span 6; }
  .film-grid { row-gap: 2rem; }
  .film-title { font-size: 1.15rem; }
  .film-caption { flex-direction: column; gap: 0.15rem; }
}

/* Player dialog ------------------------------------------------------------ */
.player {
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--silver);
  overflow: visible;
}
.player::backdrop { background: rgba(10, 18, 17, 0.92); }
.player-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
}
.player-title { font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.player-close {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(233,236,231,0.45);
  background: transparent;
  color: var(--silver);
  font-weight: 600;
}
.player-close:hover { background: var(--silver); color: var(--spruce); }
.player-close:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.player { width: fit-content; max-width: 94vw; margin: auto; }
.player-stage { display: flex; justify-content: center; }
.player video, .player img {
  display: block;
  width: auto;
  max-width: 94vw;
  height: calc(92vh - 4rem);
  max-height: calc(92vh - 4rem);
  background: #000;
  object-fit: contain;
  border-radius: var(--radius);
}
.player img { height: auto; }
@media (max-width: 560px) {
  .player video { width: 94vw; height: auto; }
}

/* Closing call-to-action band on inner pages */
.cta-band .grid { row-gap: 2rem; align-items: end; }
.cta-title { grid-column: 1 / span 7; }
.cta-side { grid-column: 9 / -1; display: grid; gap: 1.5rem; justify-items: start; }
@media (max-width: 960px) {
  .cta-title, .cta-side { grid-column: 1 / -1; }
}

/* -------------------------------------------------------------------------- */
/* Pricing                                                                     */
/* -------------------------------------------------------------------------- */
.pricing { padding-bottom: var(--section); }
.price-group { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--spruce); }
.price-group:first-child { border-top: 0; padding-top: 0; }
.price-group > .grid { row-gap: 2rem; }
.price-group-head { grid-column: 1 / span 4; }
.price-group-head p { margin-top: 1rem; color: var(--fog); }
.price-rows { grid-column: 6 / -1; list-style: none; padding: 0; }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-light);
}
.price-row:first-child { padding-top: 0; }
.price-row h3 { font-family: var(--display); font-size: 1.75rem; font-weight: 600; line-height: 1.15; }
.price-amount { text-align: right; }
.price-amount strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  font-variant-numeric: lining-nums;
}
.price-amount span { font-size: var(--t-small); color: var(--fog); }
.price-row ul {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.75rem;
  padding: 0;
  list-style: none;
  color: var(--fog);
}
.price-row ul li { position: relative; padding-left: 1rem; }
.price-row ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-accent);
}
.price-row.is-recommended h3::after {
  content: "Recommended";
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--spruce);
  color: var(--silver);
  font-family: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
}
.pricing-note {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
}
.pricing-note .grid { row-gap: 1.5rem; align-items: center; }
.pricing-note-copy { grid-column: 1 / span 7; }
.pricing-note-copy p { margin-top: 0.75rem; max-width: 52ch; }
.price-terms { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.5rem; }
.price-terms li {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  font-size: var(--t-small);
  color: var(--spruce);
  font-weight: 600;
}
.pricing-note .actions { grid-column: 9 / -1; justify-self: end; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 860px) {
  .price-group-head, .price-rows { grid-column: 1 / -1; }
  .pricing-note-copy, .pricing-note .actions { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
  .price-row { grid-template-columns: 1fr; }
  .price-row ul { grid-template-columns: 1fr; }
  .price-amount { text-align: left; }
}

/* -------------------------------------------------------------------------- */
/* Legal documents                                                             */
/* -------------------------------------------------------------------------- */
.legal { padding-bottom: var(--section); }
.legal-body { grid-column: 4 / span 7; }
.legal-toc { grid-column: 1 / span 2; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.legal-toc ol { padding-left: 1.2rem; font-size: 0.95rem; }
.legal-toc a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-body h2 { font-family: var(--display); font-size: 1.9rem; font-weight: 600; margin: 3rem 0 1rem; line-height: 1.2; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { max-width: 40em; }
.legal-body p + p { margin-top: 1rem; }
.legal-body ul { margin-top: 0.75rem; padding-left: 1.25rem; }
.legal-body li + li { margin-top: 0.4rem; }
.legal-body a { color: var(--ink-accent); text-underline-offset: 0.2em; display: inline-block; padding-block: 11px; margin-block: -11px; }
@media (max-width: 960px) {
  .legal-toc { display: none; }
  .legal-body { grid-column: 1 / -1; }
}

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

/* -------------------------------------------------------------------------- */
/* Hero badge                                                                  */
/* -------------------------------------------------------------------------- */
.hero-badge {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border: 1px solid rgba(233, 236, 231, 0.35);
  border-radius: 999px;
  background: rgba(19, 33, 31, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: var(--t-small);
  font-weight: 500;
  margin-bottom: -0.5rem;
}
.hero-badge .live {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--champagne);
}
.hero-badge .live::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  opacity: 0;
}

/* -------------------------------------------------------------------------- */
/* Motion — kept deliberately small                                            */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* headline lines resolve out of a soft blur, one after another */
  .hero-title .line > span { animation: resolve 1.2s var(--ease) both; }
  .hero-badge { animation: fade 0.9s var(--ease) 0.05s both; }
  .hero-badge .live::after { animation: ping 2.4s var(--ease) 1.5s infinite; }

  /* content eases up once as it enters the viewport (JS adds .js + .is-in) */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* header tucks away while scrolling down, returns on scroll up */
  .site-header { transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.45s var(--ease); }
  .site-header.is-tucked { transform: translateY(-100%); }
}
@keyframes resolve {
  from { opacity: 0; filter: blur(12px); transform: translateY(0.2em); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

/* About: on wide screens the photo matches the height of the text beside it */
@media (min-width: 861px) {
  .about-portrait img { aspect-ratio: auto; height: 100%; }
}

/* Logo mark: a lens ring with the CB monogram and a small indicator light */
.wordmark { gap: 0.55rem; }
.wordmark > span { white-space: nowrap; }
.mark { width: 1.4em; height: 1.4em; flex: none; overflow: visible; }
.mark-ring { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0.7; }
.mark text { font-family: var(--display); font-weight: 600; font-size: 15.5px; fill: currentColor; }
.mark-halo { fill: var(--spruce); }
.mark-dot { fill: var(--champagne); }
.footer-brand .wordmark { gap: 0.25em; }
.footer-brand .mark { width: 0.95em; height: 0.95em; }

/* Services on phones and tablets: the big frame is hidden, so each service
   gets its own small still beside the name. */
.service-thumb { display: none; }
@media (max-width: 960px) {
  .service {
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
    column-gap: 1.1rem;
    align-items: start;
  }
  .service-thumb {
    display: block;
    grid-row: 1 / span 2;
    width: 4.75rem;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--spruce-3);
    background: var(--spruce-2);
  }
  .service-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .service h3 { grid-column: 2; align-self: center; }
  .service .tag { grid-column: 3; }
  .service p { grid-column: 2 / -1; }
}
@media (max-width: 520px) {
  .service { grid-template-columns: 4rem minmax(0, 1fr); column-gap: 1rem; }
  .service-thumb { width: 4rem; grid-row: 1 / span 3; }
  .service h3 { grid-column: 2; }
  .service .tag { grid-column: 2; margin-top: 0; }
  .service p { grid-column: 1 / -1; }
}

/* Hover preview clip (added by site.js on mouse devices) */
.film-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.film-shot.is-previewing .film-preview { opacity: 1; }
.film-shot.is-previewing .film-play { opacity: 0; transform: scale(0.85); }
