/* ==========================================================================
   BA Productions Group: site stylesheet
   Cinematic, broadcast-grade, calm. Mobile-first.

   Revised with Ian's palette and fonts:
   - Background #121212, alternate sections #1C1C1C
   - Paragraph text #E6E4E1, secondary text #AFAAA4
   - Headings in the #6B1F2A wine family
   - Buttons and hover #86101F
   - Headings Libre Baskerville, paragraphs Inter Tight 200

   Headings use the exact #6B1F2A, as specified. It is deliberately dark, so
   it is kept for the large titles (h1, h2), where size carries it; smaller
   headings and labels use the paragraph colour so they stay readable.
   ========================================================================== */

/* Fonts (Libre Baskerville + Inter Tight) are loaded from each page's <head>. */

/* ---------- Variables ---------- */
:root {
  /* Ian's palette */
  --bg: #121212;
  --bg-alt: #1c1c1c;
  --text: #e6e4e1;
  --text-2: #afaaa4;
  --heading-brand: #6b1f2a;
  --action: #86101f;

  /* Derived */
  --heading: #6b1f2a;          /* client's heading colour, used exactly */
  --action-hover: #6b1f2a;
  --signal: #86101f;           /* REC dot, viewfinder brackets, small accents */
  --focus: #d9475a;            /* keyboard focus ring: needs to stand out */
  --surface: #242424;          /* cards and fields on the alternate background */
  --surface-2: #2c2c2c;
  --footer-bg: #0d0d0d;
  --line: rgba(230, 228, 225, 0.14);
  --line-strong: rgba(230, 228, 225, 0.34);

  /* Older names kept so existing page markup keeps working */
  --ink: var(--bg);
  --charcoal: var(--bg-alt);
  --graphite: var(--surface);
  --paper: var(--text);
  --paper-2: var(--bg-alt);
  --crimson: var(--action);
  --crimson-dark: var(--action-hover);
  --bright: var(--signal);
  --text-on-dark: var(--text);
  --muted-on-dark: var(--text-2);
  --text-on-light: var(--text);
  --muted-on-light: var(--text-2);
  --line-dark: var(--line);
  --line-light: var(--line);

  --font-display: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --font-body: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 4px;
  --header-h: 64px;
}

@media (min-width: 960px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

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

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

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

/* Inter Tight at weight 200 is very light, so body copy is set a touch
   larger than usual to keep it comfortable to read. */
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h3 { font-size: clamp(1.3125rem, 1.1rem + 0.8vw, 1.75rem); }
h4 { font-size: 1.1875rem; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; }

a { color: inherit; text-underline-offset: 0.2em; }

ul, ol { padding-left: 1.2em; }

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

::selection { background: var(--heading-brand); color: #fff; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.prose { max-width: 68ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(18, 18, 18, 0.84); backdrop-filter: blur(12px); }
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: auto;
  height: 46px;
  border-radius: 2px;
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 519px) {
  .brand-name {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}

.header-cta { flex: 0 0 auto; }

/* Menu toggle (only shown when JS is running) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.js .nav-toggle { display: inline-flex; }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Navigation: without JS it simply wraps onto a second row */
.site-nav { width: 100%; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
}

.site-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--signal); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* With JS on phones/tablets: a drop-down panel */
.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px var(--gutter) 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
}
.js .site-header.is-open .site-nav { display: block; }
.js .site-nav ul { flex-direction: column; gap: 0; padding: 0; }
.js .site-nav li + li a { border-top: 1px solid var(--line); }
.js .site-nav a { min-height: 54px; font-size: 1.125rem; }

@media (min-width: 960px) {
  .header-inner { flex-wrap: nowrap; gap: 24px; }

  /* The menu already has a Contact pill on desktop */
  .site-header .header-cta,
  .js .nav-toggle { display: none; }

  .site-nav,
  .js .site-nav {
    display: block;
    position: static;
    width: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul,
  .js .site-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px 28px;
    padding: 0;
  }
  .js .site-nav li + li a { border-top: 0; }
  .js .site-nav a { min-height: 44px; font-size: 1rem; }

  .site-nav .nav-cta a,
  .js .site-nav .nav-cta a {
    padding: 0 22px;
    margin-left: 8px;
    background: var(--action);
    border: 1px solid var(--action);
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  .site-nav .nav-cta a:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary { background: var(--action); border-color: var(--action); color: #fff; }
.btn--primary:hover { background: var(--action-hover); border-color: var(--action-hover); }

.btn--ghost,
.btn--outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover,
.btn--outline:hover { background: var(--action); border-color: var(--action); color: #fff; }

.btn--dark { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn--dark:hover { background: var(--action); border-color: var(--action); color: #fff; }

.btn--sm { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--heading);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.text-link:hover { text-decoration-thickness: 2px; text-decoration-color: var(--signal); }

.link-row { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 24px; }

/* ---------- Sections ---------- */
/* Rhythm: #121212 and #1C1C1C alternate; a hairline separates two
   neighbouring sections that share a colour. */
.section { padding-block: 56px; }
.section + .section { border-top: 1px solid var(--line); }

@media (min-width: 768px) { .section { padding-block: 96px; } }
@media (min-width: 1200px) { .section { padding-block: 120px; } }

.section--dark { background: var(--bg); color: var(--text); }
.section--light,
.section--light-2,
.section--charcoal,
.section--graphite { background: var(--bg-alt); color: var(--text); }

.section-title {
  font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3.375rem);
  margin-bottom: 0.5em;
}

.section-head { max-width: 780px; margin-bottom: 32px; }
@media (min-width: 768px) { .section-head { margin-bottom: 48px; } }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text-2);
}

.subhead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1.25em;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-2);
}

.accent { color: var(--text); font-style: italic; }

/* ---------- Signature motif: viewfinder brackets + timecode ---------- */
.vf {
  --vf-color: var(--signal);
  --vf-len: clamp(18px, 3vw, 34px);
  --vf-w: 2px;
  position: relative;
  padding: clamp(18px, 3.5vw, 40px);
}

.vf::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--vf-color), var(--vf-color)) top left / var(--vf-len) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) top left / var(--vf-w) var(--vf-len),
    linear-gradient(var(--vf-color), var(--vf-color)) top right / var(--vf-len) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) top right / var(--vf-w) var(--vf-len),
    linear-gradient(var(--vf-color), var(--vf-color)) bottom left / var(--vf-len) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) bottom left / var(--vf-w) var(--vf-len),
    linear-gradient(var(--vf-color), var(--vf-color)) bottom right / var(--vf-len) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) bottom right / var(--vf-w) var(--vf-len);
  background-repeat: no-repeat;
}

.vf-tc {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 14px;
  font: 600 0.9375rem/1.3 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: rgba(230, 228, 225, 0.88);
}

@media (min-width: 768px) {
  .eyebrow, .vf-tc { font-size: 0.875rem; letter-spacing: 0.16em; }
}

.vf-tc__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(217, 71, 90, 0.7);
}

@media (prefers-reduced-motion: no-preference) {
  .vf-tc__dot { animation: rec-blink 1.6s steps(2, start) infinite; }
}
@keyframes rec-blink { to { opacity: 0.25; } }

/* ---------- Homepage hero (photo, upgraded to the Vimeo reel by site.js) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 66vh;
  min-height: 66svh;
  padding-block: 32px 36px;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; container-type: size; }
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
}

/* Vimeo background reel: covers the hero like object-fit: cover */
.hero__vimeo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}
@supports (width: 1cqw) {
  .hero__vimeo { width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh); }
}
.hero__vimeo.is-ready { opacity: 1; }

.hero__video-toggle {
  position: absolute;
  top: 14px;
  right: var(--gutter);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.6);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero__video-toggle:hover { background: var(--action); border-color: var(--action); }
.hero__video-toggle svg { width: 18px; height: 18px; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.92) 26%, rgba(12, 12, 12, 0.97) 100%);
}

.hero__inner { max-width: 820px; margin-left: max(var(--gutter), calc((100% - var(--container)) / 2)); margin-right: var(--gutter); }

.hero__frame { margin-bottom: 20px; }
.hero .hero__frame {
  --vf-pad: clamp(14px, 2.4vw, 28px);
  padding: var(--vf-pad);
  margin-left: calc(-1 * var(--vf-pad));
}

.hero__title {
  font-size: clamp(1.75rem, 1.3rem + 2.6vw, 2.375rem);
  line-height: 1.14;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero__title-sub {
  display: block;
  margin-top: 0.35em;
  font-size: 0.56em;
  line-height: 1.25;
  color: var(--text);
}

/* Text over moving video: one step heavier than body copy */
.hero__lead {
  max-width: 60ch;
  margin: 0 0 18px;
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text);
}

.hero .btn-row .btn { padding-inline: 1.25rem; }

@media (max-width: 767px) {
  .hero { min-height: 0; padding-block: 120px 32px; }
}

@media (min-width: 768px) {
  .hero { min-height: 80vh; min-height: 80svh; align-items: center; padding-block: 72px; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.78) 42%, rgba(10, 10, 10, 0.3) 75%, rgba(10, 10, 10, 0.2) 100%),
      linear-gradient(0deg, rgba(18, 18, 18, 0.6) 0%, rgba(18, 18, 18, 0) 30%);
  }
  .hero__media img { object-position: 70% 30%; }
  .hero__title { font-size: clamp(2.25rem, 1rem + 3.2vw, 3.625rem); }
  .hero__lead { font-size: 1.1875rem; margin-bottom: 30px; }
  .hero__frame { margin-bottom: 28px; }
  .hero .btn-row .btn { padding-inline: 1.6rem; }
  .hero__video-toggle { top: 24px; }
}

/* ---------- Inner-page heading (other pages: no big hero) ---------- */
.page-head {
  padding-block: 56px 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.875rem); margin-bottom: 0.35em; }
.page-head p { max-width: 62ch; color: var(--text-2); font-size: 1.1875rem; }
.page-head .eyebrow {
  max-width: none;
  font-size: 0.9375rem;
  color: var(--text-2);
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .page-head { padding-block: 96px 64px; }
  .page-head .eyebrow { font-size: 0.875rem; }
}

/* ---------- Intro (split text + photo) ---------- */
.split {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
  .split--reverse { grid-template-columns: 0.85fr 1.15fr; }
  .split--reverse > :first-child { order: 2; }
}

.intro .section-title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); }
.intro__text p { color: var(--text); }
.intro__text .subhead { color: var(--text); }

.photo-frame { position: relative; margin: 0; max-width: 540px; width: 100%; justify-self: center; }
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .photo-frame img { aspect-ratio: 4 / 5; }
}

/* Intro photo: crop away the caption baked into the bottom of the image */
.intro__photo img { aspect-ratio: 4 / 3; object-position: 50% 0; }
@media (min-width: 900px) {
  .intro__photo img { aspect-ratio: 5 / 4; }
}

.photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.35;
}
.photo-badge strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.05;
  color: var(--heading);
  margin-bottom: 4px;
}
@media (min-width: 900px) {
  .photo-badge { left: -28px; bottom: 32px; max-width: 280px; font-size: 0.9375rem; }
}

/* ---------- Chips ---------- */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--text);
}

/* ---------- Featured work grid ---------- */
.work-frame { margin-top: 36px; }
@media (min-width: 768px) { .work-frame { margin-top: 56px; } }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 900px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

.shot { margin: 0; overflow: hidden; border-radius: 2px; background: var(--surface); }
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 900px) {
  .shot--wide img { aspect-ratio: 16 / 9; }
  .work .shot img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: no-preference) {
  .shot img { transition: transform 0.6s ease; }
  .shot:hover img { transform: scale(1.03); }
}

.work__links { margin-top: 28px; }

/* ---------- Gallery (other pages) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 2px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--wide img { aspect-ratio: 16 / 9; }
.gallery figcaption { padding-top: 8px; font-size: 1rem; font-weight: 300; color: var(--text-2); }

/* Two wide photos stack on phones instead of tiny thumbnails */
@media (max-width: 899px) {
  .gallery--pair { grid-template-columns: 1fr; gap: 12px; }
}

/* Work gallery: no orphan in the last row */
.gallery--work { grid-auto-flow: dense; }
.gallery--work .feature { grid-column: span 2; }
.gallery--work .feature img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery--work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery--work .feature,
  .gallery--work .span-desk { grid-column: span 2; position: relative; }
  .gallery--work .feature img,
  .gallery--work .span-desk img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
}

/* ---------- Video / embeds ---------- */
.showcase { margin-top: 56px; }
.showcase h3 { margin-bottom: 18px; }
@media (min-width: 768px) { .showcase { margin-top: 80px; } }

.embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-hero { position: relative; isolation: isolate; overflow: hidden; }
.video-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, 0.62); }

/* ---------- Clients ---------- */
.client-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
@media (min-width: 700px) { .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; } }
@media (min-width: 1100px) { .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.client-grid li {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.client-grid strong {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--text);
}
.client-grid span {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-2);
}

/* ---------- Cards (other pages) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
@media (max-width: 599px) {
  .card-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.section--light .card,
.section--light-2 .card,
.section--charcoal .card,
.section--graphite .card { background: var(--surface); }
.card h3 { font-size: 1.3125rem; }
.card__icon { width: 40px; height: 40px; max-width: 64px; margin-bottom: 16px; color: var(--signal); }
.card__media { margin: -24px -24px 20px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Spec sheet (gear lists) ---------- */
.spec-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px 56px;
}
.spec-group h3 {
  font-size: 1.25rem;
  padding-bottom: 12px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--heading-brand);
}
.spec-group ul { list-style: none; margin: 0; padding: 0; }
.spec-group li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

/* ---------- Collapsible text ---------- */
details {
  border-top: 1px solid var(--line);
  padding-block: 4px;
}
details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 300; color: var(--heading); }
details[open] summary::after { content: "\2212"; }
details > :not(summary) { padding-bottom: 16px; }

/* ---------- Forms (contact page) ---------- */
.form { display: grid; gap: 20px; max-width: 720px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}
fieldset.field > legend { padding: 0; }
.form-row .field label { color: var(--text-2); }
.field .hint { font-weight: 300; color: var(--text-2); font-size: 1rem; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: 300 16px/1.4 var(--font-body);
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.section--light .field input,
.section--light .field select,
.section--light .field textarea,
.section--light-2 .field input,
.section--light-2 .field select,
.section--light-2 .field textarea,
.section--charcoal .field input,
.section--charcoal .field select,
.section--charcoal .field textarea { background: var(--bg); }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-2); opacity: 1; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
.check,
.field .check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--action); margin: 0; flex: 0 0 auto; font-size: 16px; }

/* ---------- Map ---------- */
.map { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }
@media (min-width: 768px) { .map iframe { aspect-ratio: 16 / 9; } }

/* ---------- Call to action ---------- */
.cta__panel {
  display: grid;
  gap: 32px;
  align-items: center;
  background: rgba(230, 228, 225, 0.03);
}
@media (min-width: 860px) {
  .cta__panel { grid-template-columns: 1fr auto; gap: 64px; padding: 64px; }
}
.cta__text { max-width: 640px; }
.cta__text p { color: var(--text-2); font-size: 1.125rem; margin-bottom: 24px; }

.qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}
@media (min-width: 860px) {
  .qr { flex-direction: column; align-items: center; text-align: center; }
}
.qr img {
  width: 132px;
  height: 132px;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
  flex: 0 0 auto;
}
@media (min-width: 860px) { .qr img { width: 168px; height: 168px; } }
.qr figcaption strong { display: block; font-size: 1.0625rem; }
.qr figcaption span { display: block; color: var(--text-2); font-size: 1rem; }

/* A QR code can't be scanned from the phone showing it */
@media (max-width: 859px) {
  .dop-cta .qr { display: none; }
}

@media (max-width: 519px) {
  .cta__panel .btn-row .btn { flex: 1 1 100%; }
}

/* About CTA: buttons fill the right side of the panel */
.about-cta__actions { align-items: center; }
@media (max-width: 859px) {
  .about-cta { gap: 24px; }
  .about-cta__actions .btn { flex: 1 1 200px; }
}
@media (min-width: 860px) {
  .about-cta__actions { flex-direction: column; align-items: stretch; min-width: 240px; }
}

/* ---------- About page ---------- */
.about-photo img { object-position: 50% 72%; }
@media (max-width: 899px) {
  .about-photo .photo-badge {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 12px;
    max-width: none;
    margin-top: 10px;
  }
  .about-photo .photo-badge strong { display: inline; margin: 0; font-size: 1.75rem; }
}

.award-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  max-width: 460px;
}
.award-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 300;
}
.award-list li:last-child { border-bottom: 1px solid var(--line); }
.award-list__year {
  flex: 0 0 3.4em;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.awards-figure { margin: 0; width: 100%; max-width: 546px; justify-self: center; }
.awards-figure img { width: 100%; height: auto; border-radius: var(--radius); }

/* ---------- Director of Photography page ---------- */
.dop-head__shot img { aspect-ratio: 16 / 9; object-position: 50% 45%; }
@media (min-width: 900px) {
  .dop-head__shot img { aspect-ratio: 21 / 9; }
}

.dop-awards { margin: 8px 0 24px; }
.dop-awards img { width: 100%; max-width: 380px; height: auto; border-radius: var(--radius); }

.dop-portrait img { object-position: 50% 18%; }
@media (max-width: 899px) {
  .dop-portrait img { aspect-ratio: 4 / 3; }
  .dop-portrait .photo-badge { padding: 10px 14px; font-size: 1rem; }
  .dop-portrait .photo-badge strong { font-size: 1.375rem; }
}

.dop-gear { display: grid; gap: 0 56px; align-items: start; }
.dop-gear details:last-child { border-bottom: 1px solid var(--line); }
.dop-gear summary { font-size: 1.0625rem; }
.dop-count { font-weight: 300; color: var(--text-2); }
@media (min-width: 900px) {
  .dop-gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dop-gear details:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

.dop-scale .photo-frame img { object-position: 50% 60%; }

.dop-van { margin-bottom: 24px; }
.dop-van__car { margin: 0; max-width: 560px; width: 100%; justify-self: center; }
.dop-van__car img { width: 100%; height: auto; border-radius: var(--radius); }
.dop-van__car figcaption { padding-top: 8px; font-size: 1rem; font-weight: 300; color: var(--text-2); }
.dop-van__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dop-van__grid img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .dop-van { margin-bottom: 40px; }
  .dop-van__grid { gap: 14px; }
}

.dop-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .dop-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Editing page ---------- */
.edit-intro .split { align-items: start; }

.edit-suite .lead { margin-bottom: 24px; }
.edit-suite__photo { margin: 0; width: 100%; }
.edit-suite__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .edit-suite .split { grid-template-columns: 1.15fr 0.85fr; }
  .edit-suite .split > :first-child { order: 2; }
}

/* ---------- BTS page ---------- */
.bts-head__grid { display: grid; gap: 28px; align-items: center; }
.bts-head .bts-more { margin-top: 12px; max-width: 62ch; }
.bts-head .bts-more summary { color: var(--text); }
.bts-head__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .bts-head__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.bts-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bts-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 2px; background: var(--surface); }
.bts-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bts-gallery > figure:first-child { grid-column: 1 / -1; }
.bts-gallery > figure:first-child img { aspect-ratio: 16 / 9; }
.bts-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 12px 8px;
  font-size: 0.9375rem; font-weight: 300; line-height: 1.3; color: #fff;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0));
}
@media (min-width: 900px) {
  .bts-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .bts-gallery > figure:first-child { grid-column: auto; }
  .bts-gallery > figure:first-child img { aspect-ratio: 4 / 3; }
}

.bts-portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bts-portraits .shot img { aspect-ratio: 3 / 4; }
@media (min-width: 768px) {
  .bts-portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* ---------- Contact page ---------- */
.contact-head { align-items: center; }

.contact-enquiry .split { align-items: start; }
.contact-enquiry .check-list { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 16px; }

.contact-photo { margin: 0; width: 100%; }
.contact-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 55% 50%;
  border-radius: var(--radius);
}
.contact-photo figcaption {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--heading);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-2);
}

@media (max-width: 899px) {
  .contact-photo { margin-top: 8px; }
}

@media (min-width: 900px) {
  .contact-enquiry .split { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
  .contact-photo {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    margin-top: 12px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--text);
  border-top: 2px solid var(--heading-brand);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 0.8fr; gap: 48px; }
}

.footer-brand img { width: 72px; height: auto; margin-bottom: 16px; border-radius: 2px; }
.footer-name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; color: var(--heading); margin-bottom: 8px; }
.footer-tagline { color: var(--text-2); margin-bottom: 4px; }

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 12px;
}

.footer-col p { color: var(--text-2); }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 300;
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--signal); }

.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social a:hover { background: var(--action); border-color: var(--action); color: #fff; }
.social svg { width: 20px; height: 20px; }

.footer-bottom {
  margin-top: 48px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-2);
}

@media (max-width: 767px) {
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .site-footer { padding-top: 48px; }
  .footer-bottom { margin-top: 32px; }
}

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 13, 13, 0.95);
  border-top: 1px solid var(--line);
}
@media (max-width: 959px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.no-mobile-bar { padding-bottom: 0; }
  body.no-mobile-bar .mobile-bar { display: none; }
}
@media (min-width: 960px) {
  .mobile-bar { display: none; }
}

/* ---------- Phones: tighter lists and chips ---------- */
@media (max-width: 599px) {
  .chips { gap: 8px; }
  .chips li { padding: 6px 12px; font-size: 1rem; }
  .client-grid li { padding: 12px 0 13px; }
  .client-grid strong { font-size: 1rem; }
  .client-grid span { font-size: 0.9375rem; }
  .cta__panel { gap: 24px; }
  .qr img { width: 108px; height: 108px; }
}

/* ---------- Print & motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .mobile-bar, .nav-toggle, .hero__vimeo, .hero__video-toggle { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  h1, h2, h3, h4 { color: var(--heading-brand); }
}

/* Review of / */
/* Phones and tablets without the menu script: one compact header row instead of a second wrapped menu row */
@media (max-width: 959px) {
  html:not(.js) body:not(.js) .header-inner { flex-wrap: nowrap; gap: 14px; }
  html:not(.js) body:not(.js) .brand { margin-right: 0; flex: 0 0 auto; }
  html:not(.js) body:not(.js) .header-cta { display: none; } /* the sticky bottom bar carries the main action */
  html:not(.js) body:not(.js) .site-nav {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  html:not(.js) body:not(.js) .site-nav::-webkit-scrollbar { display: none; }
  html:not(.js) body:not(.js) .site-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 16px;
    padding: 0;
  }
  html:not(.js) body:not(.js) .site-nav a { white-space: nowrap; font-size: 1rem; }
  html:not(.js) body:not(.js) .site-nav .nav-cta a { color: #fff; text-decoration: underline; text-decoration-color: var(--signal); }
}

/* Homepage: the wine heading colour is kept for the hero and one accent, not every title */
.intro .section-title .accent { color: var(--text); }

/* Intro photo: the badge sits under the photo on phones instead of covering the crew's faces */
@media (max-width: 899px) {
  .intro__photo .photo-badge {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 12px;
    max-width: none;
    margin-top: 10px;
    padding: 12px 16px;
  }
  .intro__photo .photo-badge strong { display: inline; margin: 0; font-size: 1.5rem; white-space: nowrap; }
}
@media (min-width: 900px) {
  .intro__photo .photo-badge { bottom: -24px; }
}

/* Closing call to action: a QR code can't be scanned from the phone showing it */
@media (max-width: 859px) {
  .cta .qr { display: none; }
}

/* Review of /about/ */
/* Phones/tablets: keep the header to one row even before the script runs */
@media (max-width: 959px) {
  .header-inner { flex-wrap: nowrap; gap: 8px; }
  .brand { margin-right: 0; flex: 0 0 auto; }
  .site-nav {
    order: 1;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; gap: 0 16px; padding: 0 16px 0 4px; }
  .site-nav a { white-space: nowrap; }
  .site-nav .nav-cta { display: none; }
  .header-cta { order: 2; }
  .nav-toggle { order: 3; }
  .js .site-nav { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .js .site-nav ul { padding: 0; }
}

/* Quieter titles: the wine colour is kept for the page title, awards and closing call */

/* Awards image: presented on a panel instead of floating small in empty space */
.about-awards {
  display: flex;
  justify-content: center;
  padding: clamp(20px, 4vw, 40px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-awards img { max-width: 546px; }
@media (max-width: 899px) {
  .awards .split { gap: 28px; }
}

/* Square crew photo has a strip of another picture at the bottom: crop it away */
.gallery--work .crop-top img { object-position: 50% 12%; }

/* Review of /editing/ */
/* Site-wide: compact one-row header on phones and tablets (also without JS) */
@media (max-width: 959px) {
  .header-inner { flex-wrap: nowrap; gap: 12px; }
  .brand { margin-right: 0; flex: 0 0 auto; }
  .brand img { height: 40px; }
  .site-nav {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; padding: 0; gap: 0 16px; }
  .site-nav a { white-space: nowrap; }
  .site-nav .nav-cta { display: none; }
  .header-cta { order: 3; margin-left: auto; }
  .nav-toggle { order: 4; }
  .js .site-nav { overflow: visible; }
  .js .site-nav .nav-cta { display: block; }
}

/* Editing page: heading with the edit-suite photo */
.edit-head__grid { display: grid; gap: 28px; align-items: center; }
.edit-head__photo { margin: 0; width: 100%; }
.edit-head__photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .edit-head__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .edit-head__photo img { aspect-ratio: 4 / 3; }
}

/* Calmer heading colours: wine reserved for the h1 and the closing call */
.edit-intro .section-title .accent { color: var(--text); }
.edit-intro .spec-group h3 { color: var(--text); }

.edit-craft {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.edit-craft h3 { color: var(--text); font-size: 1.375rem; }
.edit-craft p { color: var(--text-2); }

@media (max-width: 599px) {
  .edit-intro .spec-group li { padding: 10px 0; }
  .edit-intro .spec-sheet { gap: 28px; }
}

/* Review of /director-of-photography/ */
/* Site-wide: compact one-row header on phones and tablets */
@media (max-width: 959px) {
  .header-inner { flex-wrap: nowrap; gap: 12px; }
  .brand { margin-right: 0; flex: 0 0 auto; }
  .site-nav {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; padding: 0; gap: 0 16px; }
  .site-nav a { white-space: nowrap; }
  .header-cta { display: none; }
  .js .header-cta { display: inline-flex; margin-left: auto; }
  .js .site-nav { overflow: visible; }
  .js .site-nav a { white-space: normal; }
}

/* DoP: gear list as an open spec sheet in balanced columns */
.dop-specs { display: grid; gap: 32px; }
.dop-specs__col { display: grid; gap: 32px; align-content: start; }
.dop-specs .spec-group h3 { font-size: 1.25rem; }
@media (min-width: 900px) {
  .dop-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
  .dop-specs__col { gap: 40px; }
}
@media (max-width: 599px) {
  .dop-specs .spec-group li { padding: 9px 0; font-size: 1rem; line-height: 1.45; }
}

/* DoP: quieter titles so the brand colour stays for the page title and CTA */

/* DoP: crew photo less tall on desktop */
@media (min-width: 900px) {
  .dop-scale .photo-frame img { aspect-ratio: 1 / 1; object-position: 50% 100%; }
}

/* DoP: van photos readable on phones */
@media (max-width: 599px) {
  .dop-van__grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Review of /contact/ */
/* Header on phones and tablets without the menu script: one compact row
   (logo plus a sideways-scrolling menu) instead of a wrapped second row.
   The .js rules are more specific, so they still win when the script runs. */
@media (max-width: 959px) {
  .header-inner { flex-wrap: nowrap; }
  .header-cta { display: none; }
  .js .header-cta { display: inline-flex; }
  .site-nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; justify-content: flex-end; gap: 0 16px; padding: 0; }
  .site-nav a { white-space: nowrap; }
  .brand { flex: 0 0 auto; margin-right: 8px; }
  .brand img { height: 40px; }
  .js .site-nav { overflow-x: visible; }
  .js .site-nav ul { justify-content: flex-start; }
}

/* Contact page head: a QR code can't be scanned from the phone showing it */
@media (max-width: 859px) {
  .contact-head .qr { display: none; }
}

/* Contact page head: QR panel sits as a quiet card on desktop */
@media (min-width: 900px) {
  .contact-head .qr {
    justify-self: end;
    padding: 32px 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-alt);
  }
}

/* Enquiry form: tidy option grids, no orphan labels wrapping mid-phrase */
.contact-enquiry .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.contact-enquiry .check { line-height: 1.3; }
@media (max-width: 419px) {
  .contact-enquiry fieldset:has(input[type="checkbox"]) .check-list { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .contact-enquiry .check-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Submit button: a full, comfortable tap target on phones */
@media (max-width: 599px) {
  .contact-enquiry .form button[type="submit"] { width: 100%; }
}

/* Review of /bts/ */
/* Site-wide: without the menu script, phones keep a single-row header
   (logo, swipeable menu, Contact) instead of wrapping the menu to a second row */
@media (max-width: 959px) {
  html:not(.js) .header-inner { flex-wrap: nowrap; gap: 12px; }
  html:not(.js) .brand { order: 0; flex: 0 0 auto; margin-right: 0; }
  html:not(.js) .site-nav {
    order: 1;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  html:not(.js) .site-nav::-webkit-scrollbar { display: none; }
  html:not(.js) .site-nav ul { flex-wrap: nowrap; gap: 0 16px; padding: 0 16px 0 0; white-space: nowrap; }
  html:not(.js) .site-nav .nav-cta { display: none; }
  html:not(.js) .header-cta { order: 2; }
  html:not(.js) .brand-name {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}
@media (max-width: 519px) {
  .brand img { height: 40px; }
}

/* BTS: the wine colour is kept for the page title and the closing call to action */

/* BTS: the closing panel sits on the tinted background */
.section--charcoal .cta__panel { background: var(--bg); }

.skip-link{position:absolute;left:-9999px;top:0;z-index:1000;padding:10px 16px;background:#111;color:#fff}
.skip-link:focus{left:12px;top:12px}
.concept-bar{background:#111827;color:#f9fafb;font:500 13px/1.4 system-ui,sans-serif;text-align:center;padding:8px 12px}
.concept-bar a{color:inherit}
@media (max-width:600px){.concept-bar{font-size:11px;padding:5px 10px}}

/* ---------- Work page: reels gallery (mirrors the Vimeo showcase) ---------- */
.reels__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}
.reels__filter {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.reels__filter:hover { border-color: var(--action); }
.reels__filter[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: #fff; }

.reels__status { color: var(--text-2); }

.reels__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px 24px;
}
@media (min-width: 600px) { .reels__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reels__grid { grid-template-columns: repeat(3, 1fr); gap: 44px 28px; } }

.reel[hidden] { display: none; }

.reel__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.reel__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.reel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
  opacity: 0.88;
}
.reel__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.55);
  color: #fff;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.reel__play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(18, 18, 18, 0.78);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.reel__title {
  display: block;
  margin-top: 14px;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text);
}
.reel__button:hover .reel__media img,
.reel__button:focus-visible .reel__media img { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reel__button:hover .reel__media img { transform: scale(1.03); }
}
.reel__button:hover .reel__play,
.reel__button:focus-visible .reel__play { background: var(--action); border-color: var(--action); }

/* Fallback: Vimeo's own showcase player (until VIMEO_TOKEN is set) */
.reels__showcase {
  position: relative;
  height: min(78vh, 900px);
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
}
.reels__showcase iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Player dialog */
.reel-dialog {
  width: min(1200px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.reel-dialog::backdrop { background: rgba(8, 8, 8, 0.92); }
.reel-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.reel-dialog__title {
  margin: 0;
  font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem);
  color: var(--text);
}
.reel-dialog__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.reel-dialog__close:hover { background: var(--action); border-color: var(--action); }
.reel-dialog__close svg { width: 18px; height: 18px; }
.reel-dialog__frame {
  position: relative;
  width: min(100%, calc((100vh - 110px) * 16 / 9));
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  background: #000;
}
.reel-dialog__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.has-modal { overflow: hidden; }

/* Header / footer emblem (vector, transparent) */
.brand img.brand-mark { width: 46px; height: 46px; border-radius: 0; }
.footer-brand img.brand-mark { width: 96px; height: 96px; border-radius: 0; }
.work__links { align-items: center; }
.hero__video-toggle[hidden] { display: none; }

/* ---------- Clients: scrolling logo carousel ---------- */
/* Without JS (or with reduced motion) the logos sit in a centred, wrapped row. */
.logo-marquee { position: relative; }
.logo-marquee__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 56px;
}
.client {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  color: var(--text);
  opacity: 0.72;
  transition: opacity 0.25s ease;
}
.client:hover { opacity: 1; }
.client img {
  width: auto;
  height: 30px;
  max-width: none;
  filter: brightness(0) invert(1);
}
.client--wide img { height: 26px; }
.client--xwide img { height: 18px; }
.client--icon img { height: 34px; }
.client--tall img { height: 44px; }
.client--tone img { filter: grayscale(1) contrast(1.1) brightness(1.15); }
.client__word {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.client--pair .client__word { font-size: 1.125rem; letter-spacing: 0.08em; text-transform: none; }

/* Animated (set by site.js) */
.logo-marquee.is-animated {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__rail {
  display: flex;
  width: max-content;
  animation: logo-marquee var(--marquee-duration, 60s) linear infinite;
}
.logo-marquee.is-animated .logo-marquee__track {
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding-right: 56px;
}
.logo-marquee:hover .logo-marquee__rail,
.logo-marquee:focus-within .logo-marquee__rail,
.logo-marquee.is-paused .logo-marquee__rail { animation-play-state: paused; }
@keyframes logo-marquee { to { transform: translateX(-50%); } }

.logo-marquee__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}
.logo-marquee__toggle:hover { color: var(--text); border-color: var(--action); }
.logo-marquee__toggle svg { width: 14px; height: 14px; }
@media (max-width: 599px) {
  .client img { height: 24px; }
  .client--wide img { height: 21px; }
  .client--xwide img { height: 15px; }
  .client--icon img { height: 28px; }
  .client--tall img { height: 36px; }
  .client__word { font-size: 0.9375rem; }
  .logo-marquee__track { gap: 28px 40px; }
  .logo-marquee.is-animated .logo-marquee__track { padding-right: 40px; }
}
.client--intel img { height: 60px; margin-block: -14px; }
.client--nissan img { height: 46px; }
.client--ucd img { height: 36px; }
.client--pepsico img { height: 34px; }
@media (max-width: 599px) {
  .client--intel img { height: 48px; margin-block: -12px; }
  .client--nissan img { height: 38px; }
  .client--ucd img { height: 30px; }
  .client--pepsico img { height: 28px; }
}

/* ---------- DoP gear: clickable items and detail card ---------- */
.gear-hint { margin-top: 12px; color: var(--text-2); font-size: 1rem; }
.spec-group li:has(> .gear-item) { padding: 0; }
.gear-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.gear-item__icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--text-2);
  opacity: 0.6;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.gear-item:hover { color: #fff; }
.gear-item:hover .gear-item__icon,
.gear-item:focus-visible .gear-item__icon { color: var(--signal); opacity: 1; transform: rotate(90deg); }
@media (max-width: 599px) { .dop-specs .gear-item { padding: 9px 0; } }

.gear-dialog {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.gear-dialog::backdrop { background: rgba(8, 8, 8, 0.85); }
.gear-dialog__inner { position: relative; }
.gear-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.7);
  color: var(--text);
  cursor: pointer;
}
.gear-dialog__close svg { width: 18px; height: 18px; }
.gear-dialog__close:hover, .gear-dialog__btn:hover { background: var(--action); border-color: var(--action); }

.gear-card { display: grid; }
.gear-card__photo { margin: 0; background: #0d0d0d; }
.gear-card__photo img { width: 100%; height: 100%; max-height: 42vh; object-fit: cover; }
.gear-card__body { padding: 32px 28px 8px; }
.gear-card__cat {
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}
.gear-card__title { padding-right: 48px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); color: var(--text); }
.gear-card__why { color: var(--text); font-size: 1.125rem; margin-bottom: 20px; }
.gear-card__specs { list-style: none; margin: 0 0 20px; padding: 0; }
.gear-card__specs li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}
.gear-card__specs li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--signal);
  border-radius: 50%;
}
@media (min-width: 800px) {
  .gear-card:has(.gear-card__photo) { grid-template-columns: 1fr 1fr; }
  .gear-card__photo img { max-height: none; min-height: 100%; }
  .gear-card__body { padding: 44px 40px 12px; }
}

.gear-dialog__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 28px 24px;
}
@media (min-width: 800px) { .gear-dialog__nav { padding: 12px 40px 28px; } }
.gear-dialog__count { color: var(--text-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: center; }
.gear-dialog__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.gear-dialog__btn svg { width: 18px; height: 18px; }

/* ---------- Heading colour: exact #6B1F2A on large titles only ---------- */
/* The burgundy is for primary titles and section headers; smaller headings,
   numbers and labels use the paragraph colour (the guide: no multiple
   hierarchy levels in the burgundy). */
h3, h4,
.footer-name,
.photo-badge strong,
.dop-count { color: var(--text); }
.gear-card__cat { color: var(--text-2); }
.gear-card__title,
.reel-dialog__title { color: var(--text); }
.vf-tc__dot { box-shadow: 0 0 8px rgba(134, 16, 31, 0.9); background: #a3172a; }
