/* ==========================================================================
   NV FILM STUDIOS AFRICA — WWW 2.0
   Design system: black / charcoal / deep navy / white. Archivo + Inter.
   Converted to the approved creative direction (see concept/design-language.html).
   Retired in that conversion: the gold accent, Cormorant Garamond, the
   hand-drawn scribbles, the emoji placeholder icons and every rounded corner.
   ========================================================================== */

:root {
  /* ---- surfaces ---- */
  --bg:      #08090B;   /* cooler, deeper than the previous #0a0a0c */
  --bg-alt:  #0E1116;   /* charcoal — alternating sections */
  --bg-deep: #0B1420;   /* deep navy — replaces the gold CTA bands */
  --bg-card: #12161C;

  /* ---- rules ---- */
  --border:      rgba(255, 255, 255, 0.13);
  --border-soft: rgba(255, 255, 255, 0.07);

  /* ---- type colours ---- */
  --text:       #FFFFFF;  /* pure white, not the previous warm #f4f1ea */
  --text-dim:   #A8B0BA;  /* cool grey, not warm #b6b1a6 */
  --text-faint: #7A838F;

  /* Interaction is pure white — the gold is gone. --steel stays defined but
     unreferenced so a single cool accent can be switched on from one place
     if the client later wants one. */
  --accent: #FFFFFF;
  --steel:  #7FA0C4;

  --radius: 0;            /* squared corners read corporate, not startup */
  --maxw: 1360px;
  --header-h: 82px;

  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Type scale ----------
   Display is Archivo on its expanded width axis: uppercase, tight, negative
   tracking. Hard-edged and scale-forward — infrastructure, not hospitality. */
.display,
h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 3.1rem); }
h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: 0.005em;
  line-height: 1.1;
}

/* h4 is only ever a micro-label here (footer columns, dropdown columns) */
h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1.6em;
}

p { margin: 0 0 1.1em; color: var(--text-dim); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 52ch;
}

/* eyebrow — the pattern survives the conversion, the gold rule does not */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1.6em;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 1.05em 2.2em;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--text); color: var(--bg); }

.btn.btn-solid { background: var(--text); color: var(--bg); }
.btn.btn-solid:hover { background: transparent; color: var(--text); }

.btn.btn-ghost { border-color: var(--border); }
.btn.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* arrow link — editorial CTA, used instead of a boxed button for secondary actions */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--border);
  transition: gap 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover { gap: 1em; border-color: var(--text); }
.link-arrow .arrow { transition: transform 0.25s ease; }

/* ---------- Header / Nav ----------
   Fixed and transparent over the hero, then charcoal-blurred once scrolled
   (js/main.js toggles .scrolled). Every page opens on a hero, so nothing
   sits underneath it on load. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.scrolled {
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}
/* The mobile overlay and the desktop mega-panel both need an opaque ground */
.site-header:has(.nav-list.open),
.site-header:has(.nav-item.has-dropdown.open) {
  background: rgba(8, 9, 11, 0.94);
  backdrop-filter: blur(14px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 46px; width: auto; display: block; }
.site-footer .logo-img { height: 42px; }

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.25rem);
}

.nav-toggle {
  display: flex;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 201;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* Persistent commercial CTA — replaces the header social icons (still in the
   footer) so the header has room for a direct enquiry route on every page,
   per client feedback. Desktop shows the standalone button; mobile shows the
   .nav-link-cta variant appended to the full-screen nav list instead, since
   there isn't room for both the button and the hamburger at phone widths. */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7em 1.4em;
  background: var(--text);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-cta:hover { background: transparent; color: var(--text); }
@media (max-width: 860px) { .nav-cta { display: none; } }
@media (min-width: 861px) { .nav-list .nav-cta-item { display: none; } }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-caret svg { display: block; }

/* Dropdown thumbnails — base styles shared by both breakpoints; only the
   width differs per breakpoint below. They sit desaturated by default and
   return to colour on hover, the same treatment the posters get in-page. */
.nav-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.06);
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1), filter 0.4s ease;
}
.nav-thumb:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1); }
.nav-thumb-poster { aspect-ratio: 2/3; }

/* ---------- Mobile (≤860px): full-screen overlay, dropdowns become accordions ---------- */
@media (max-width: 860px) {
  .nav-list {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 200;
    background: var(--bg);
    padding: 7rem clamp(1.5rem, 6vw, 6rem) 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .nav-list.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list li { border-top: 1px solid var(--border-soft); flex-shrink: 0; }
  .nav-list li:last-child { border-bottom: 1px solid var(--border-soft); }
  .nav-list .nav-link {
    display: flex;
    align-items: baseline;
    gap: 0.6em;
    padding: clamp(0.7rem, 2vw, 1.15rem) 0;
    font-family: var(--display);
    font-variation-settings: "wdth" 112;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text);
    transition: padding-left 0.25s ease;
  }
  .nav-list .nav-link:hover,
  .nav-list .nav-link[aria-current="page"] { padding-left: 0.35em; }

  .nav-cta-item { border: none !important; margin-top: 1.5rem; }
  .nav-list .nav-link.nav-link-cta {
    display: inline-flex;
    padding: 0.9em 1.7em;
    background: var(--text);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: var(--radius);
  }

  .nav-item.has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .nav-caret {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-caret svg { width: 10px; height: 6px; transition: transform 0.25s ease; }
  .nav-item.has-dropdown.open .nav-caret { color: var(--text); border-color: var(--text); }
  .nav-item.has-dropdown.open .nav-caret svg { transform: rotate(180deg); }

  .nav-dropdown {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s ease;
  }
  .nav-item.has-dropdown.open .nav-dropdown { max-height: 640px; }
  .nav-dropdown-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 0 1.5rem;
  }
  .nav-dropdown-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6em; }
  .nav-dropdown-col ul a { font-family: var(--sans); font-size: 0.95rem; text-transform: none; color: var(--text-dim); padding: 0; }
  .nav-dropdown-col ul a:hover { color: var(--text); padding: 0; }
  .nav-thumb-row { display: flex; flex-wrap: wrap; gap: 1px; }
  .nav-thumb { width: 76px; }
  .nav-thumb-poster { width: 64px; }
  .nav-thumb-poster span { display: none; }
  .nav-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    margin-top: 1.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
  }
}

/* ---------- Desktop (≥861px): horizontal nav with hover/click mega-dropdowns ---------- */
@media (min-width: 861px) {
  .nav-toggle { display: none; }

  .nav-list {
    position: static;
    height: auto;
    z-index: auto;
    background: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.5rem, 2.6vw, 2.8rem);
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }
  .nav-list li { border: none; }
  .nav-item { position: static; display: flex; align-items: center; height: var(--header-h); }
  .nav-list .nav-link {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #D7DCE3;
    transition: color 0.2s ease;
  }
  .nav-list .nav-link:hover,
  .nav-list .nav-link[aria-current="page"] { color: var(--text); }

  .nav-caret {
    background: none;
    border: none;
    color: var(--text-faint);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    margin-left: 0.2em;
  }
  .nav-caret svg { width: 9px; height: 9px; transition: transform 0.25s ease; }
  .nav-item.has-dropdown:hover .nav-caret,
  .nav-item.has-dropdown.open .nav-caret { color: var(--text); }
  .nav-item.has-dropdown:hover .nav-caret svg,
  .nav-item.has-dropdown.open .nav-caret svg { transform: rotate(180deg); }

  /* Full-width panel: the containing block is .site-header (position:fixed). Nothing
     between .site-header and .nav-dropdown may be given position:relative/absolute, or
     the panel will shrink to that ancestor instead of spanning full-bleed. */
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-item.has-dropdown:hover .nav-dropdown,
  .nav-item.has-dropdown.open .nav-dropdown,
  .nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Deliberately not using the shared .wrap class here: .site-header .wrap (higher
     specificity, defined earlier) forces height/align-items/justify-content on any
     .wrap nested inside the header, which silently broke this panel's layout.
     Centering is reimplemented locally instead of reusing .wrap. */
  .nav-dropdown-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 4rem);
    padding-block: 3rem 3.5rem;
    display: flex;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
  /* The column gap is sized for side-by-side columns; stacked, it opens a
     100px hole between the poster row and the link below it. */
  .nav-dropdown-inner-posters { flex-direction: column; align-items: flex-start; gap: 0; }

  .nav-dropdown-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9em; min-width: 200px; }
  .nav-dropdown-col ul a {
    font-family: var(--display);
    font-variation-settings: "wdth" 110;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    color: var(--text-dim);
    transition: color 0.2s ease;
  }
  .nav-dropdown-col ul a:hover { color: var(--text); }

  .nav-thumb-row { display: flex; gap: 1px; background: var(--border-soft); }
  .nav-thumb { width: 104px; }
  .nav-thumb-poster { width: 112px; }
  .nav-thumb-poster span {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.7rem 0.6rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    color: var(--text);
    background: linear-gradient(180deg, transparent, rgba(8, 9, 11, 0.94) 70%);
  }
  .nav-thumb-row-posters { gap: 1px; }

  .nav-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    margin-top: 1.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--border);
    transition: gap 0.25s ease, border-color 0.25s ease;
  }
  .nav-view-all:hover { gap: 1em; border-color: var(--text); }
}

/* ---------- Hero ----------
   All heroes now use the concept's opening treatment: full-bleed media,
   copy anchored bottom-left, no centred display type. */
.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero.hero-tall { min-height: 100svh; }
.hero.hero-short { min-height: 62svh; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 11, 0.74) 0%,
    rgba(8, 9, 11, 0.48) 30%,
    rgba(8, 9, 11, 0.82) 72%,
    rgba(8, 9, 11, 0.98) 100%);
}
.hero-media img { animation: slow-push 30s ease-in-out infinite alternate; }

/* The estate photography varies wildly in exposure — the bright daylight
   shots blew out white type and pushed the palette warm. Desaturating and
   darkening holds every hero to the same register and keeps the copy legible. */
.hero-media img,
.hero-mega-media img { filter: grayscale(0.4) brightness(0.66) contrast(1.08); }

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
}
.hero-content .lede { margin-top: 2rem; max-width: 52ch; color: #C9D1DA; }
/* --text-faint is a grey tuned for flat dark grounds; over a photograph it
   disappears. The label colours are lifted for heroes only. */
.hero-content .eyebrow,
.hero-content .breadcrumb { color: rgba(255, 255, 255, 0.78); }
.hero-content .breadcrumb a:hover { color: #fff; }
.hero-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; margin-top: 2.8rem; }

/* ---------- Mega-type hero ----------
   Was three centred lines, one gold, one gold-outlined. The outline and the
   colour split are gone with the accent, so the type is set as a single
   bottom-left block and held a step below the full display scale — the
   footage behind it stays the focus. */
.hero-mega {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.mega-type {
  font-family: var(--display);
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}
.mega-type .line { display: block; font-size: clamp(1.8rem, 4.2vw, 3.8rem); color: var(--text); }
.hero-mega-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; margin: 0; border: none; }
.hero-mega-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 11, 0.72) 0%,
    rgba(8, 9, 11, 0.34) 34%,
    rgba(8, 9, 11, 0.68) 74%,
    rgba(8, 9, 11, 0.97) 100%);
}
.hero-mega-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-push 30s ease-in-out infinite alternate;
}
@keyframes slow-push {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-mega .hero-content { padding-bottom: clamp(3.5rem, 9vh, 7rem); }

/* ---------- Placeholder media blocks ----------
   The emoji icons are gone. What remains is a cool, near-invisible hatch so an
   unfilled slot reads as "awaiting content" rather than as a broken image. */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 11px),
    var(--bg-alt);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  overflow: hidden;
}
.placeholder .placeholder-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-wrap: pretty;
}
.placeholder .placeholder-label::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.55em;
  background: currentColor;
  flex-shrink: 0;
}
.placeholder-fill { position: absolute; inset: 0; }
.placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-contain img { object-fit: contain; padding: 8%; box-sizing: border-box; }
.placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* These carry an aspect-ratio helper (.ph-16-9, .ph-4-3) from the markup. Once
   the block is absolutely positioned to fill its parent, that ratio would
   letterbox it instead — Chrome resolves aspect-ratio before the insets when
   the height is auto — so it has to be cleared explicitly. */
.hero-media.placeholder,
.hero-mega-media.placeholder,
.pillar-card .pillar-media { aspect-ratio: auto; }
.hero-media.placeholder { position: absolute; inset: 0; border: none; }
.hero-mega-media.placeholder { position: absolute; inset: 0; border: none; background: none; }

/* aspect ratio helpers */
.ph-16-9 { aspect-ratio: 16 / 9; }
.ph-4-3  { aspect-ratio: 4 / 3; }
.ph-1-1  { aspect-ratio: 1 / 1; }
.ph-3-4  { aspect-ratio: 3 / 4; }
.ph-21-9 { aspect-ratio: 21 / 9; }

/* full-screen autoplaying video banner (e.g. YouTube background) */
/* Click-to-play video facade. Replaces autoplaying YouTube embeds that used
   to load on page arrival — the still is local, and the trailer opens in the
   shared lightbox only once the visitor clicks. */
.video-facade {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-card);
  cursor: pointer;
  overflow: hidden;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72);
  transition: filter 0.6s ease, transform 0.9s cubic-bezier(0.2, 0, 0, 1);
}
.video-facade:hover img,
.video-facade:focus-visible img { filter: grayscale(0) brightness(0.86); transform: scale(1.03); }
.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(56px, 6vw, 84px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  pointer-events: none;
}
.video-facade-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: clamp(14px, 1.5vw, 20px) solid #FFFFFF;
  border-top: clamp(9px, 1vw, 13px) solid transparent;
  border-bottom: clamp(9px, 1vw, 13px) solid transparent;
}

.video-banner { position: relative; width: 100%; height: 100svh; overflow: hidden; }
.video-banner-media { position: absolute; inset: 0; }
.video-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.5) 0%, rgba(8, 9, 11, 0.12) 45%, rgba(8, 9, 11, 0.6) 100%);
  pointer-events: none;
}
/* A YouTube iframe letterboxes rather than cropping, so object-fit is no use —
   the frame is sized to the larger of "full width at 16:9" and "full height at
   16:9" and centred, which crops instead. */
.video-banner-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100svh;
  min-width: 177.78svh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* video placeholder with play button */
.video-block { position: relative; cursor: pointer; }
.play-btn {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(8, 9, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.play-btn::before {
  content: "";
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid var(--text);
  margin-left: 4px;
}

/* poster/gallery tiles that open the lightbox */
button.poster-trailer,
button.gallery-item {
  cursor: pointer;
  padding: 0;
  width: 100%;
  font: inherit;
  text-align: left;
  appearance: none;
}
.poster-trailer::after,
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 11, 0);
  transition: background 0.25s ease;
  z-index: 1;
}
.poster-trailer:hover::after, .poster-trailer:focus-visible::after,
.gallery-item:hover::after, .gallery-item:focus-visible::after { background: rgba(8, 9, 11, 0.45); }
.poster-trailer .play-btn,
.gallery-item .play-btn {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.poster-trailer:hover .play-btn, .poster-trailer:focus-visible .play-btn,
.gallery-item:hover .play-btn, .gallery-item:focus-visible .play-btn { opacity: 1; transform: scale(1); }

/* Posters sit greyscale and return to colour on hover, alongside the play cue */
.poster-trailer img { filter: grayscale(1) contrast(1.06); transition: filter 0.5s ease; }
.poster-trailer:hover img, .poster-trailer:focus-visible img { filter: grayscale(0) contrast(1); }

.play-btn.expand-icon::before { content: none; }
.play-btn.expand-icon svg { width: 18px; height: 18px; stroke: var(--text); }

/* lightbox — handles both video trailers and gallery images */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 11, 0.94); }
.lightbox-panel { position: relative; z-index: 1; width: min(1100px, 100%); }
.lightbox-panel.mode-image { width: auto; max-width: 90vw; }
.lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border);
}
.lightbox-panel.mode-image .lightbox-frame {
  aspect-ratio: auto;
  width: auto;
  background: none;
  border: none;
}
.lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-frame img:not([hidden]) {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
}
.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: rgba(8, 9, 11, 0.7);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover { background: var(--text); color: var(--bg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: rgba(8, 9, 11, 0.7);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox-prev { left: clamp(0.5rem, 3vw, 2rem); }
.lightbox-next { right: clamp(0.5rem, 3vw, 2rem); }
.lightbox-nav:hover { background: var(--text); color: var(--bg); }
.lightbox-nav[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 12vh, 9rem) 0; }
.section-alt { background: var(--bg-alt); }

/* full-bleed section grounds — high-contrast pacing without a colour block */
.block-ink { background: #050506; }

/* The gold CTA bands are replaced by deep navy. Same job — a hard cut that
   breaks the run of black — without the AfriNova read. */
.block-deep {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-head { max-width: 60ch; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head h2 + p { margin-top: 1.4rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }
/* A .col-text used on its own (not as one half of a .two-col) would otherwise
   set body copy across the full 1360px container — far past a readable measure. */
.wrap:not(.two-col) > .col-text { max-width: 62ch; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: 0; }
}

.feature-list { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: 1px solid var(--border); }
.feature-list li {
  display: flex;
  gap: 0.9em;
  padding: 0.85em 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.72em;
  background: var(--text-faint);
  flex-shrink: 0;
}

/* Linked variant — each item jumps to and filters the gallery below (see
   main.js "Location Types → gallery filter" handler). Padding moves from the
   <li> onto the <a> so the whole row is the click target, not just the text. */
.feature-list-linked li { padding: 0; }
.feature-list-linked li a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  padding: 0.85em 0;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.feature-list-linked li a::after {
  content: "→";
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.feature-list-linked li a:hover,
.feature-list-linked li a:focus-visible { color: var(--text); }
.feature-list-linked li a:hover::after,
.feature-list-linked li a:focus-visible::after { opacity: 1; transform: translateX(0); }

/* pillar grid — home page. Poster-style: image bleeds edge to edge, copy
   overlays. Desaturated by default, colour returns on hover. */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
}
@media (max-width: 980px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
}
.pillar-card .pillar-media { position: absolute; inset: 0; border: none; }
.pillar-card .pillar-media img {
  filter: grayscale(1) contrast(1.06);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}
.pillar-card:hover .pillar-media img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
.pillar-card .pillar-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1.5rem;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 11, 0.6) 40%, rgba(8, 9, 11, 0.97) 100%);
}
.pillar-card p {
  font-size: 0.88rem;
  margin: 0.5em 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}
.pillar-card:hover p { max-height: 8em; opacity: 1; margin-top: 0.6em; }
.pillar-card .pillar-num {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.62);  /* faint grey vanishes over a photo */
  margin-bottom: 1em;
}
.pillar-card h3 { margin: 0; }
.pillar-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 1em;
}

/* generic card */
.card {
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
}
.card h3 { margin-bottom: 0.9rem; }
.card-grid { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
/* Inside a hairline grid the cards drop their own border and lift — otherwise
   the 1px gap sits between two more 1px edges, and a raised card background
   turns the whole grid into one pale slab. The gap itself is the divider. */
.card-grid .card { border: none; background: var(--bg); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
}

/* stat / RTB strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-strip .stat {
  padding: clamp(2.5rem, 5vw, 4.2rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-left: 1px solid var(--border);
}
.stat-strip .stat:first-child { border-left: none; }
.stat .stat-figure {
  font-family: var(--display);
  font-variation-settings: "wdth" 120;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  /* .stat-figure.long drops the font-size, which shortens its line box and
     floats that cell's label ~13px above its neighbours'. Pinning the box to
     the full-size height and sitting figures on its bottom edge keeps every
     label in the band on one line, whatever size the figure inside is. */
  display: flex;
  align-items: flex-end;
  min-height: calc(clamp(2.4rem, 4.4vw, 3.8rem) * 0.9);
}
.stat .stat-label {
  margin-top: 1.1em;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip .stat { border-left: none; border-top: 1px solid var(--border); }
  .stat-strip .stat:first-child { border-top: none; }
}

/* ---------- Forms (contact page) ---------- */
.form-grid { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
/* Honeypot — off-screen rather than display:none/visibility:hidden, which
   some spam bots specifically check for and skip. A sighted human tabbing
   through never reaches it (tabindex="-1"); mail-handler.php silently drops
   any submission where it's non-empty. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Paired short fields. Collapses to one column on narrow screens — min-width:0
   on the children so a long <select> option can't floor the track and push the
   row past its container. */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-row > .field { min-width: 0; }
.field .req { color: var(--text-dim); }
.check-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.check-group legend {
  padding: 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.check-group .check-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 0.75rem 1.4rem; }
/* These sit inside .field, so .field label's uppercase micro-caps and
   .field input's width:100% + 0.95em padding both reach them. Both have to be
   unwound explicitly or the boxes inflate and the labels shout. */
.check-group .check-row label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0;
  font-size: 0.87rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  color: var(--text-dim);
  cursor: pointer;
  min-width: 0;
}
.check-group .check-row input[type="checkbox"] {
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
/* Solid fill plus a drawn tick. Two crossed gradients read as an X — i.e. as
   "excluded" rather than "selected" — so the mark is an explicit checkmark. */
.check-group .check-row input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2308090B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 84%;
  background-position: center;
  background-repeat: no-repeat;
}
.check-row input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.check-group .check-row input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-group .check-row label:hover { color: var(--text); }

@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.7rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95em 1.1em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--text-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--text); }
.form-grid .btn { width: fit-content; }

/* anchor sub-nav (used on Studio Africa page) */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
  overflow-x: auto;
}
.subnav .wrap { display: flex; gap: 2rem; height: 56px; align-items: center; white-space: nowrap; }
.subnav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s ease;
}
.subnav a:hover { color: var(--text); }

/* gallery */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-bottom: 2.5rem;
}
.gallery-filter button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);   /* the 999px pills are retired */
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery-filter button:hover { color: var(--text); border-color: var(--text); }
.gallery-filter button.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
}
/* min-width: 0 — without it, a grid item's default min-width:auto floors its
   1fr column at the image's intrinsic size despite the global
   `img{max-width:100%}`, the same grid-track gotcha .logo-wall hit.
   Invisible with 134 images spread over many rows (the slack elsewhere
   absorbs it), but reproduces reliably in the smaller 4-8 item grids added
   to #village and #hospitality — don't drop it.

   The image itself is absolutely positioned rather than given height:100%.
   A percentage height on a normal-flow child of an aspect-ratio box doesn't
   reliably resolve inside a grid item sized by "auto" row tracks (the row's
   own height is itself derived from the item's aspect-ratio, and that
   circularity falls back to the image's intrinsic height instead of 100%) —
   most gallery photos aren't 4:3, so that fallback left a visible gap under
   the image, filled by the .play-btn sitting in normal flow beneath it.
   inset:0 sidesteps the percentage-resolution question entirely, same
   technique as `.placeholder img` above. */
.gallery-item { aspect-ratio: 4/3; border: none; min-width: 0; position: relative; overflow: hidden; }
.gallery-item[hidden] { display: none; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter 0.4s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { filter: grayscale(0) contrast(1); }
.gallery-item .placeholder-label { transition: opacity 0.2s ease; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* news */
.news-list { display: grid; gap: clamp(1.5rem, 2.5vw, 2.5rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-list { grid-template-columns: 1fr; } }
.news-card .news-media { aspect-ratio: 3/2; margin-bottom: 1.4rem; }
.news-date {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* CTA band */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 11vh, 8rem) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
/* .cta-band is declared after .block-deep, so the ground has to be restated
   here or the band's own background would win over the navy. */
.cta-band.block-deep { background: var(--bg-deep); }
.cta-band h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 46ch; margin: 1.8rem auto 0; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(4rem, 8vw, 6rem) 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 4rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; margin: 0; padding: 0; }
/* plain (non-link) items sit at the same weight as the links around them */
.footer-links li { margin-bottom: 0.9em; font-size: 0.88rem; color: var(--text-dim); }
.footer-links a { color: var(--text-dim); font-size: 0.88rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }

.social-row { display: flex; gap: 1px; margin-top: 1.6rem; }
.social-row a {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-row a svg { width: 42%; height: 42%; fill: currentColor; }
.social-row a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.74rem;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--text-dim); }
.footer-bottom a.back-to-top { display: inline-flex; align-items: center; gap: 0.4em; }

/* ==========================================================================
   HOMEPAGE COMPONENTS
   Ported verbatim from the approved concept (concept/css/concept.css) when the
   concept page became the live homepage. Available site-wide, not just on the
   homepage — these are the components the rest of the site should be rebuilt
   onto as each page is reworked.
   ========================================================================== */

.section-tight { padding: clamp(4rem, 9vh, 7rem) 0; }
.section-deep { background: var(--bg-deep); }
.eyebrow.no-rule::before { display: none; }

/* ---------- Provisional content marker ----------
   Sections whose assets do not exist yet are marked rather than faked.
   Restrained on purpose — it must read as "awaiting content", not as a
   broken page. Every one of these is an open item on the client request. */
.provisional {
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: repeating-linear-gradient(135deg,
    rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 11px);
}
.tag-required {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.7em;
  max-width: 100%;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.5em 0.9em;
  /* Deliberately NOT nowrap: the longer notes pushed the page 160px wider
     than a 390px phone viewport. They wrap instead. */
  text-wrap: pretty;
}
.tag-required::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.55em;
  background: var(--steel);
  flex-shrink: 0;
}

/* ---------- 01 · Cinematic opening ---------- */
.opening {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.opening-media { position: absolute; inset: 0; z-index: 0; }
.opening-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  animation: slow-push 30s ease-in-out infinite alternate;
}
/* Self-hosted <video>, so object-fit crops properly and none of the 16:9
   letterbox arithmetic the old YouTube iframe needed is required. Starts
   transparent and fades in only once main.js has a playing frame, so a slow
   or failed load leaves the still showing rather than a black hole.
   Pointer events are off so the copy and buttons over it stay clickable. */
.opening-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  /* Same one-register rule the stills follow. The source is bright, saturated
     daylight aerial footage — unfiltered it pulls the palette green and fights
     the white headline sitting on top of it. */
  filter: grayscale(0.55) brightness(0.68) contrast(1.06);
}
.opening-video.is-playing { opacity: 1; }
.opening-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 9, 11, 0.55) 0%,
    rgba(8, 9, 11, 0.20) 34%,
    rgba(8, 9, 11, 0.54) 74%,
    rgba(8, 9, 11, 0.88) 100%);
}
.opening-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
}
/* Held a step below the global h1 scale so the showreel behind it stays the
   focus — the copy still reads first, but it covers less of the frame. */
.opening h1 { font-size: clamp(1.8rem, 4.2vw, 3.8rem); max-width: 22ch; }
.opening .lede { margin-top: 2rem; max-width: 52ch; color: #C9D1DA; }
.opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.8rem;
}

/* ---------- 02 · Selected productions ---------- */
.poster-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-soft);
}
@media (max-width: 1080px) { .poster-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .poster-row { grid-template-columns: repeat(2, 1fr); } }

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--bg-alt);
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Lightened on client feedback — was grayscale(1) with no brightness lift,
     which read as too dark/heavy at rest. Still desaturated by default per
     the one-register photography rule; only the weight of it changed. */
  filter: grayscale(0.85) brightness(1.12) contrast(1.02);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Near-solid under the caption rather than a soft scrim: the bottom strip of
     a film poster is its own title block and billing, so a gentle gradient
     leaves two sets of white type competing in the same 70px. */
  background: linear-gradient(180deg,
    transparent 30%,
    rgba(8, 9, 11, 0.55) 55%,
    rgba(8, 9, 11, 0.97) 78%,
    #08090B 100%);
}
.poster:hover img,
.poster:focus-visible img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
.poster-meta {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.3rem;
}
.poster-meta strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: "wdth" 112;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.1;
}
.poster-meta span {
  display: block;
  margin-top: 0.5em;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* credits ledger */
.credits { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--border); }
.credit-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.5rem;
  padding: 1.3em 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
@media (max-width: 700px) { .credit-row { grid-template-columns: 1fr; gap: 0.35rem; } }
.credit-row .title {
  font-family: var(--display);
  font-variation-settings: "wdth" 110;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}
.credit-row .meta,
.credit-row .year {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.credit-row .year { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .credit-row .year { text-align: left; } }

/* ---------- 03 · Introduction ---------- */
.intro-statement {
  font-family: var(--display);
  font-variation-settings: "wdth" 110;
  font-weight: 600;
  text-transform: none;
  font-size: clamp(1.5rem, 3.1vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 26ch;
  margin: 0;
  text-wrap: balance;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: end;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- 04 · Studios / Services split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-soft); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 78vh, 46rem);
  overflow: hidden;
  background: var(--bg-alt);
}
.split-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The available facility photography varies wildly in exposure — the bright
     office shot blew out white type. Desaturating and darkening holds the
     palette together and keeps the copy legible on every panel. */
  filter: grayscale(0.45) brightness(0.62) contrast(1.08);
  transition: transform 0.9s cubic-bezier(0.2, 0, 0, 1), filter 0.6s ease;
}
.split-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 9, 11, 0.55) 0%,
    rgba(8, 9, 11, 0.45) 22%,
    rgba(8, 9, 11, 0.86) 58%,
    rgba(8, 9, 11, 0.97) 100%);
}
.split-panel:hover img,
.split-panel:focus-visible img { transform: scale(1.04); filter: grayscale(0.2) brightness(0.72) contrast(1.05); }

.split-body { position: relative; z-index: 1; padding: clamp(2.5rem, 4.5vw, 4.5rem); width: 100%; }
.split-body img.split-logo {
  position: static;
  inset: auto;
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 1.6em;
  filter: none;
  transform: none;
}
.split-body .unit {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1.4em;
}
.split-body h2 { font-size: clamp(1.7rem, 3.1vw, 2.9rem); max-width: 12ch; }
.split-body p { margin-top: 1.3rem; max-width: 42ch; font-size: 0.98rem; }
.split-body .link-arrow { margin-top: 2rem; }

.split-facts { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: 1px solid var(--border); }
.split-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85em 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.83rem;
  color: var(--text-dim);
}
.split-facts li span:last-child { color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- 05 · Scale ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-band { grid-template-columns: 1fr; } }
.stat-band .stat {
  padding: clamp(2.5rem, 5vw, 4.2rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-left: 1px solid var(--border);
}
.stat-band .stat:first-child { border-left: none; }
@media (max-width: 900px) {
  .stat-band .stat:nth-child(odd) { border-left: none; }
  .stat-band .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
}
@media (max-width: 520px) {
  .stat-band .stat { border-left: none; }
  .stat-band .stat + .stat { border-top: 1px solid var(--border); }
}
.stat-figure .unit { font-size: 0.4em; letter-spacing: 0.02em; margin-left: 0.25em; }
/* Qualifier under a stat label — the period a figure covers, or its basis.
   Sentence case and unspaced, so it reads as a footnote to the label rather
   than a second label competing with it. */
.stat-note {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-faint);
  opacity: 0.85;
}
/* A five-or-more character figure plus a unit will not hold a quarter-width
   cell at the full display size — 10,000 acres crowds "acres" into the rule. */
.stat-figure.long { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }

/* An em-dash at display size reads as a redaction bar. Dimming it makes the
   slot read as "awaiting data" rather than "withheld" — but only just enough
   to be legible: a single pending cell sitting beside filled ones at the old
   0.19 read as a rendering fault rather than a deliberate gap. */
.stat-figure.pending { color: rgba(255, 255, 255, 0.3); }
.stat .tag-required { margin-top: 1.4em; }

/* ---------- 06 · Infrastructure ---------- */
/* ---------- Scale band ----------
   Full-bleed photograph with the measurement laid over it. Same grayscale/
   brightness discipline as every other full-bleed band on the site, so white
   type stays legible without the overlay going near-opaque.

   The crew stand in the lower third of the frame and they are the entire point
   of the shot, so the crop is bottom-weighted and the caption sits at the TOP.
   Captioning the bottom put the type straight over the people. */
.scale-band {
  position: relative;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  overflow: hidden;
}
.scale-band img {
  display: block;
  width: 100%;
  height: clamp(340px, 56vh, 660px);
  object-fit: cover;
  object-position: center 88%;
  filter: grayscale(0.75) brightness(0.66) contrast(1.08);
}
.scale-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.86) 0%, rgba(8, 9, 11, 0.42) 42%, rgba(8, 9, 11, 0.1) 100%);
  pointer-events: none;
}
.scale-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.4rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.scale-band-lede {
  font-family: var(--display);
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  color: var(--text);
}
.scale-band-note {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* --text-faint disappears over a photograph — site rule. */
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Studio site plan ----------
   Labelled aerial beside a short read of the numbers. Hairline-gap treatment
   to match the spec and card grids rather than inventing a new frame. */
.site-plan {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  margin-bottom: 1px;
}
.site-plan-figure {
  display: block;
  padding: 0;
  border: 0;
  min-width: 0;
  background: var(--bg-alt);
  cursor: zoom-in;
  overflow: hidden;
}
.site-plan-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  transition: transform 0.9s cubic-bezier(0.2, 0, 0, 1);
}
.site-plan-figure:hover img,
.site-plan-figure:focus-visible img { transform: scale(1.02); }
.site-plan-body {
  min-width: 0;
  background: var(--bg);
  padding: clamp(2rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site-plan-body h3 { margin-bottom: 1rem; }
.site-plan-facts { margin: 1.8rem 0 0; font-size: 0.85rem; }
.site-plan-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.site-plan-facts div:last-child { border-bottom: 0; }
.site-plan-facts dt { color: var(--text-faint); }
.site-plan-facts dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.site-plan-hint {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@media (max-width: 860px) {
  .site-plan { grid-template-columns: 1fr; }
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
}
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .spec-grid { grid-template-columns: 1fr; } }
.spec { background: var(--bg); padding: clamp(2rem, 3vw, 2.8rem); }
.spec h3 { margin-bottom: 1.2rem; }
.spec dl { margin: 0; font-size: 0.85rem; }
.spec dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--border-soft);
}
.spec dl div:last-child { border-bottom: 0; }
.spec dt { color: var(--text-faint); }
.spec dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.spec dd.pending { color: var(--text-faint); }

.infra-media {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
/* Held to the same register as the hero and split-panel photography — at this
   width a full-saturation blue sky is the loudest thing on the page. */
.infra-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) contrast(1.05); }

/* ---------- 07 · South Africa ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
}
@media (max-width: 900px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantage-grid { grid-template-columns: 1fr; } }
.advantage {
  background: var(--bg-deep);
  padding: clamp(2rem, 3.4vw, 3rem);
  min-height: 15rem;
  display: flex;
  flex-direction: column;
}
.advantage h3 { margin-bottom: 0.9rem; }
/* The body copy is pushed down rather than the index pushed up, so the four
   headings share a baseline even when one of them wraps to two lines. */
.advantage p { font-size: 0.88rem; margin: auto 0 0; padding-top: 0.9rem; }
.advantage .idx {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  padding-bottom: 2.5rem;
}

/* ---------- 08 · Clients & testimonials ---------- */
/* 5 columns rather than 6 — the client supplied 10 marks, and 10/5 divides
   into exact rows at every breakpoint (2 desktop, 5 at 2-up) instead of
   leaving a conspicuous half-empty trailing row. */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
}
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
/* A fixed height rather than aspect-ratio: aspect-ratio doesn't establish a
   definite height for a percentage max-height child inside a grid item on an
   auto-sized row, so Chrome fell back to sizing each cell off its image's
   natural proportions — the Netflix mark (tall/narrow) blew its cell out to
   2x the height of every other cell. A fixed height sidesteps the ambiguity
   entirely and keeps every row identical regardless of source aspect ratio. */
.logo-cell {
  background: var(--bg);
  height: clamp(6.5rem, 11vw, 9.5rem);
  display: grid;
  /* The single implicit row stays auto-sized by default, and a percentage
     max-height on the img child won't resolve against an auto row even
     though the container itself has a definite height — the Netflix mark
     rendered 45px past its own cell into the row below until this was
     pinned to a definite track. */
  grid-template-rows: 1fr;
  place-items: center;
  padding: 1.6rem;
  text-align: center;
  /* Grid items default to min-width:auto — without this, a wide wordmark
     (StudioCanal, Skydance) forces its column past 1fr instead of shrinking,
     and the whole grid blows out past the viewport. */
  min-width: 0;
}
/* Source marks are supplied in their own brand colours, mostly dark shapes on
   transparent ground — unreadable on our near-black cells. Rendered as a
   white silhouette instead, the same restrained, one-register treatment the
   photography gets elsewhere on the site; full opacity on hover rather than
   a colour reveal, since most of these marks are too dark to read on --bg.
   Opacity sits high (0.86) rather than the site's usual --text-faint dimming —
   at the small size these render, anything dimmer reads as a muddy grey smear
   instead of a legible mark. */
.logo-cell img {
  max-width: 72%;
  max-height: 58%;
  width: auto;
  height: auto;
  /* Grid items default to min-height:auto — a tall/narrow mark's own
     intrinsic size then floors the row track above max-height, the same
     class of bug min-width:0 fixes on the horizontal axis. */
  min-height: 0;
  min-width: 0;
  filter: brightness(0) invert(1);
  opacity: 0.96;
  transition: opacity 0.25s ease;
}
.logo-cell:hover img { opacity: 1; }
.logo-cell span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Measure is set for a real testimonial, not the short placeholder this was
   originally styled around. The Ridley Scott quote runs ~350 characters; at
   the old 22ch it stacked to 14 lines and read like a poem. Horizontal padding
   is pulled in on narrow screens where it was eating 80px of a 342px box.
   Size trimmed on client feedback — it was competing with the poster row
   above it for the section's visual weight. */
.quote { margin: clamp(2.75rem, 5.5vw, 4.5rem) auto 0; max-width: 46rem; text-align: center; padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(0.5rem, 4vw, 3rem); }
.quote blockquote {
  margin: 0 auto;
  max-width: 32ch;
  text-wrap: balance;
  font-family: var(--display);
  font-variation-settings: "wdth" 108;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--text);
}
.quote figcaption { margin-top: 2rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }

/* ---------- 09 · Leadership ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}
.person .bio {
  margin-top: 0.9rem;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-dim);
}
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }
.person-portrait { aspect-ratio: 4 / 5; display: grid; place-items: center; margin-bottom: 1.4rem; overflow: hidden; }
/* Held to the same one-register treatment as the rest of the site's
   photography — the supplied headshots aren't fully desaturated on their own. */
.person-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person h3 { margin-bottom: 0.5rem; }
.person .role { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }

/* ---------- Mid-page image divider ----------
   Same construction as .closing below — full-bleed photo, gradient overlay,
   centred content — at a fraction of the height, used to break up a run of
   text/stat sections with a breather. Tinted with --bg-deep rather than
   --bg so it reads as part of the navy pacing rather than another black cut. */
.divider-band {
  position: relative;
  min-height: clamp(28rem, 62vh, 44rem);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.divider-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.66) contrast(1.06);
}
.divider-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 20, 32, 0.34), rgba(11, 20, 32, 0.6));
}
.divider-band .wrap { position: relative; z-index: 1; }
.divider-band .intro-statement { margin: 0 auto; text-align: center; }
.divider-band p.eyebrow { justify-content: center; }

/* ---------- 10 · Closing contact ---------- */
.closing {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
/* Bright sky and full-saturation green, held to the same register as the
   hero and split-panel photography — without the filter the overlay had to
   stay near-opaque just to keep the white type readable. */
.closing img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.62) contrast(1.08);
}
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.5), rgba(8, 9, 11, 0.68));
}
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { max-width: 16ch; margin: 0 auto; }
.closing p { margin: 1.8rem auto 0; max-width: 46ch; }
.closing .btn { margin-top: 3rem; }

.footer-blurb { font-size: 0.88rem; max-width: 34ch; margin-top: 1.6rem; }

/* ---------- Legal documents (privacy, terms) ----------
   Long-form prose, which the rest of the site has no pattern for — every other
   page is short blocks in grids. Measure is capped for readability. */
.legal-doc { max-width: 68ch; }
.legal-doc h2 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-top: clamp(2.6rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}
.legal-doc p { margin-bottom: 1.15rem; }
.legal-doc ul.feature-list { margin-bottom: 1.15rem; }
.legal-doc a { text-decoration: underline; text-underline-offset: 0.2em; }
.legal-doc strong { color: var(--text); font-weight: 500; }
.legal-updated {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2.4rem;
}

@media (prefers-reduced-motion: reduce) {
  .opening-media img { animation: none; }
  /* main.js also refuses to attach a source under reduced motion, so this is
     belt-and-braces rather than the only guard. */
  .opening-video { display: none; }
  .split-panel img,
  .poster img { transition: none; }
}

/* ---------- Motion: subtle reveal on scroll ----------
   No library. js/main.js tags the blocks and an IntersectionObserver adds .in. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.2, 0, 0, 1),
              transform 0.9s cubic-bezier(0.2, 0, 0, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .hero-mega-media img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pillar-card .pillar-media img,
  .nav-thumb img,
  .gallery-item img { transition: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  border-left: 1px solid var(--border);
  padding-left: 1.2em;
  margin-top: 2rem;
}
.breadcrumb {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}
.breadcrumb a:hover { color: var(--text); }
