/* ==========================================================================
   TRILLION MANAGEMENT
   Editorial / cinematic design system
   ========================================================================== */

@font-face {
  font-family: 'Bebas Neue';
  src: url('../assets/fonts/BebasNeue-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../assets/fonts/BebasNeue-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Official Trillion palette */
  --brand-grey: #b3b3b3;
  --brand-blue: #7096d0;
  --brand-cyan: #50c5d7;
  --brand-green: #a1cd3d;

  /* Neutrals */
  --black: #0a0a0a;
  --ink: #111111;
  --charcoal: #1a1a1a;
  --graphite: #2b2b2b;
  --grey-700: #4a4a4a;
  --grey-500: #7a7a7a;
  --grey-300: #bdbdbd;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: #e3e3e0;
  --paper: #f4f4f2;
  --white: #ffffff;

  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --container: 1440px;
  --section-y: clamp(88px, 11vw, 168px);
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: var(--black);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

:focus-visible { outline: 1px solid var(--brand-cyan); outline-offset: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* --------------------------------------------------------------------------
   Typography primitives
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 28px;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: inherit;
}

.display-xl { font-size: clamp(64px, 11vw, 188px); }
.display-lg { font-size: clamp(48px, 6.4vw, 104px); }
.display-md { font-size: clamp(40px, 4.4vw, 68px); }

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--grey-700);
}

.on-dark { color: var(--white); background: var(--black); }
.on-dark .eyebrow { color: var(--grey-500); }
.on-dark .lead { color: rgba(255, 255, 255, 0.68); }

/* Text link: the site's primary action style */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.5s var(--ease), opacity 0.3s ease;
}

.text-link:hover { gap: 22px; }

.arrow {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
  flex-shrink: 0;
}

.arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

/* Rectangular button (used once per context, e.g. form submit) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 36px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.on-dark .btn:hover, .btn--light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn[disabled] { opacity: 0.5; cursor: default; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: height 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(10, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}

.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo: approved artwork only, never filtered or recoloured */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { width: auto; height: 36px; transition: height 0.5s var(--ease); }
.is-scrolled .logo img { height: 32px; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 40px);
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.primary-nav a.is-active { color: var(--white); }

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after,
.primary-nav a.is-active::after { transform: scaleX(1); }

.primary-nav .nav-contact {
  padding-left: clamp(22px, 2.4vw, 40px);
  border-left: 1px solid var(--line-dark);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  z-index: 2;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(64px + 48px) var(--gutter) 40px;
  background: var(--black);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  overflow-y: auto;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 52px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s ease;
}

.mobile-menu nav a[aria-current="page"] { color: var(--brand-grey); }

.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 0.2s; }

.mobile-menu-meta {
  margin-top: 48px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-menu-meta a { color: var(--white); }

/* --------------------------------------------------------------------------
   Home hero (globe)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-height: 1100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #040506;
  color: var(--white);
}

.hero-media { position: absolute; inset: 0; }

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

/* Until the video is playing, show its opening frame (never the finished globe) */
.hero-poster {
  background: url('../assets/images/hero-first-frame.jpg') center 45% / cover no-repeat;
  transition: opacity 0.8s ease;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

/* Reduced-motion visitors get the finished logo frame as a still */
.hero-poster.is-final { background-image: url('../assets/images/hero-video-still.jpg'); animation: none; }

.hero-poster { z-index: 1; }
.hero-poster.is-hidden { opacity: 0; }

.hero-media video { transition: opacity 0.9s ease; }
.hero-media video.is-fading { opacity: 0; }

/* If a browser blocks autoplay (e.g. iOS Low Power Mode), the still keeps drifting */
.hero-poster.is-alive { animation: heroDrift 16s ease-in-out infinite alternate; }
.hero-poster.is-animated { animation: none; }

@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 6, 0.5) 0%, rgba(4, 5, 6, 0) 20%, rgba(4, 5, 6, 0) 58%, rgba(4, 5, 6, 0.9) 88%, var(--black) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(36px, 5vh, 56px);
  text-align: center;
}

.hero-slides {
  position: relative;
  height: clamp(56px, 6.2vw, 96px);
  margin-bottom: 28px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease);
}

.hero-slide.is-active { opacity: 1; transform: none; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.hero-title em { font-style: normal; color: var(--brand-cyan); }

.hero-footer {
  display: flex;
  justify-content: center;
}

.hero-dots { display: flex; gap: 10px; }

.hero-dots button {
  width: 28px;
  height: 17px;
  position: relative;
}

.hero-dots button::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  transition: background-color 0.4s ease;
}

.hero-dots button.is-active::before { background: var(--white); }

/* --------------------------------------------------------------------------
   Credibility band (network logos)
   -------------------------------------------------------------------------- */
.credits-band {
  padding: 56px 0 72px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.credits-band .eyebrow { margin-bottom: 40px; }

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(64px, 7vw, 112px);
  padding-right: clamp(64px, 7vw, 112px);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Network marks: pre-rendered white/grey monochrome, optically sized per logo via --h */
.marquee img {
  width: auto;
  height: var(--h, 30px);
  max-width: none;
  opacity: 0.86;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--paper { background: var(--paper); }
.section--tight-top { padding-top: clamp(56px, 6vw, 96px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.section-head .eyebrow { display: block; }

/* --------------------------------------------------------------------------
   Welcome / About
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
}

.about-figure { margin: 0; }

.about-figure .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--charcoal);
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.about-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.about-copy .display { margin-bottom: 40px; }
.about-copy .lead { margin-bottom: 28px; color: var(--ink); }

.about-copy p:not(.lead) {
  font-size: 16px;
  color: var(--grey-700);
  max-width: 520px;
  margin-bottom: 20px;
}

.about-copy p.statement:not(.lead) {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 44px 0 8px;
}

.about-copy .text-link { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Department blocks
   -------------------------------------------------------------------------- */
.departments { background: var(--black); color: var(--white); padding: var(--section-y) 0 0; }

.departments--compact { padding-top: clamp(80px, 9vw, 136px); }

.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.departments { padding-bottom: var(--section-y); }

.dept-grid--3 { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.dept-grid--3 .dept-card { aspect-ratio: 3 / 3.8; }
.dept-grid--3 .dept-card-body { left: clamp(24px, 2.4vw, 40px); right: clamp(24px, 2.4vw, 40px); }
.dept-grid--3 .dept-card h3 { font-size: clamp(26px, 2.6vw, 40px); }

.dept-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  isolation: isolate;
}

.dept-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.82);
  transform: scale(1.001);
  transition: transform 1.6s var(--ease), filter 1s var(--ease);
  z-index: -2;
}

.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.86) 100%);
}

.dept-card-body {
  position: absolute;
  left: clamp(28px, 3.2vw, 56px);
  right: clamp(28px, 3.2vw, 56px);
  bottom: clamp(28px, 3.2vw, 52px);
}

.dept-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 14px;
}

.dept-card p {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

/* Hover / in-view feedback: the whole card reads as a door into the department */
.dept-card {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
  translate: 0 0;
}

.js .dept-card[data-reveal] {
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), translate 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.dept-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 38%), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}

.dept-card-body { transition: transform 0.7s var(--ease); }

.dept-card h3 { transition: letter-spacing 0.7s var(--ease); }

.dept-card p { transition: color 0.5s var(--ease); }

.dept-card-cue {
  position: absolute;
  top: clamp(20px, 2.2vw, 32px);
  right: clamp(20px, 2.2vw, 32px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.dept-card-cue .arrow {
  width: 16px;
  rotate: -45deg;
  transition: translate 0.5s var(--ease);
}

.dept-card:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }

@media (hover: hover) {
  .dept-card:hover { translate: 0 -6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 34px 60px -28px rgba(0, 0, 0, 0.9); }
  .dept-card:hover::after { opacity: 1; }
  .dept-card:hover img { transform: scale(1.05); filter: saturate(1) brightness(0.95); }
  .dept-card:hover .dept-card-body { transform: translateY(-6px); }
  .dept-card:hover h3 { letter-spacing: 0.025em; }
  .dept-card:hover p { color: var(--white); }
  .dept-card:hover .dept-card-cue { background: var(--white); border-color: var(--white); color: var(--black); }
  .dept-card:hover .dept-card-cue .arrow { translate: 2px -2px; }
}

.dept-card:focus-visible img { transform: scale(1.05); filter: saturate(1) brightness(0.95); }
.dept-card:focus-visible::after { opacity: 1; }

/* Touch: the card nearest the centre of the screen lights up as the visitor scrolls */
.dept-card.is-focus { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.dept-card.is-focus::after { opacity: 1; }
.dept-card.is-focus img { transform: scale(1.05); filter: saturate(1) brightness(0.95); }
.dept-card.is-focus .dept-card-body { transform: translateY(-4px); }
.dept-card.is-focus p { color: var(--white); }
.dept-card.is-focus .dept-card-cue { background: var(--white); border-color: var(--white); color: var(--black); }

/* --------------------------------------------------------------------------
   Selected Work (posters / key art)
   -------------------------------------------------------------------------- */
.work-section { background: var(--black); }
.work-section .section-head { align-items: center; }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
}

.poster-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 1040px; margin: 0 auto; }

.poster { position: relative; display: block; margin: 0; color: var(--white); grid-column: span 2; }
.poster-grid--2 .poster { grid-column: span 1; }

/* Featured title: landscape key art across 4 of 6 columns, same height as the row */
.poster--wide { grid-column: span 4; }

/* Landscape game art shown uncropped, two per row */
.poster--land { grid-column: span 3; }

/* Centres a closing pair of posters in the 3-up rhythm */
.poster--offset { grid-column: 2 / span 2; }

/* Centres a single closing tile */
.poster--center { grid-column: 3 / span 2; }

/* Network mark on key art that doesn't carry its own (e.g. Project Dad / HGTV) */
.poster-frame .poster-badge {
  position: absolute;
  top: 6%;
  right: 7%;
  width: 16%;
  height: auto;
  opacity: 0.88;
  pointer-events: none;
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--charcoal);
}

.poster--wide .poster-frame { height: 100%; aspect-ratio: auto; }
.poster--land .poster-frame { aspect-ratio: 40 / 21; }

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.8s var(--ease);
}

.poster--logo .poster-frame { background: #111; display: flex; align-items: center; justify-content: center; }
.poster--logo .poster-frame .poster-logo { width: 56%; height: auto; object-fit: contain; opacity: 0.85; }

.poster-caption { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }

.poster-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

.poster-meta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* Recognition line under a credit (e.g. awards) */
.poster-award {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}

/* Desktop: captions reveal over the artwork on hover */
@media (hover: hover) and (min-width: 901px) {
  .poster-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 72px 24px 22px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    pointer-events: none;
  }

  .poster--wide .poster-caption { padding: 120px 32px 28px; }
  .poster--wide .poster-title { font-size: 18px; }
  .poster-meta { color: rgba(255, 255, 255, 0.7); }

  .poster:hover .poster-caption { opacity: 1; transform: none; }
  .poster:hover .poster-frame img { transform: scale(1.03); }

  /* Theatre credits keep their production line in view */
  .poster-grid--theatre .poster-caption {
    position: static;
    padding: 16px 0 0;
    background: none;
    opacity: 1;
    transform: none;
  }

  .poster-grid--theatre .poster-meta { color: var(--grey-500); line-height: 1.8; }
}

/* Recognition tag on the artwork (festival premieres, tours, upcoming titles): always visible */
.poster-note {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px 7px 11px;
  border-left: 2px solid var(--brand-cyan);
  background: rgba(8, 8, 8, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  pointer-events: none;
}

.poster--wide .poster-note { top: 20px; left: 20px; font-size: 10px; padding: 9px 14px 9px 13px; }

/* Talent: Film + Television / Theatre + Broadway */
.work-group + .work-group { margin-top: clamp(88px, 9vw, 140px); }

.work-group-title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(28px, 3.4vw, 48px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.work-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line-dark); }

/* Large credit lists: four across */
.poster-grid--dense { grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 32px); }
.poster-grid--dense .poster { grid-column: span 1; }
.poster-grid--dense .poster--wide { grid-column: span 2; }

/* Theatre: the tour key art leads, four productions alongside */
.poster-grid--theatre { grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.poster-grid--theatre .poster { grid-column: auto; }
.poster--tall { grid-row: span 2; display: flex; flex-direction: column; }
.poster--tall .poster-frame { flex: 1; min-height: 0; aspect-ratio: auto; }
.poster--tall .poster-title { font-size: 18px; }

/* Brand logos (Commercial + Print) */
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1px 0 0 1px;
}

.brand-grid li {
  position: relative;
  flex: 0 0 20%;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  margin: -1px 0 0 -1px;
}

.brand-grid img { width: auto; height: var(--h, 40px); max-width: 64%; object-fit: contain; opacity: 0.85; transition: opacity 0.4s ease; }
.brand-grid li:hover img { opacity: 1; }

/* Campaign credit under a brand mark */
.brand-note {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 14%;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Global reach map
   -------------------------------------------------------------------------- */
.reach {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.reach .display { margin-bottom: 32px; }

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-700);
}

.region-list li:not(:last-child)::after {
  content: '/';
  margin: 0 12px;
  color: var(--grey-300);
}

.map-wrap { position: relative; }

.interactive-svg-map { width: 100%; height: auto; }

.map-country.base-country {
  fill: #dcdcd8 !important;
  stroke: var(--paper) !important;
  stroke-width: 0.6;
  transition: fill 0.3s ease;
}

.map-country.base-country:hover,
.map-country.base-country.is-hovered { fill: #c6c6c1 !important; }

.map-country.active-country {
  fill: var(--graphite) !important;
  stroke: var(--paper);
  stroke-width: 0.6;
  cursor: pointer;
  transition: fill 0.3s ease;
}

/* Each region lights up as one, in its own colour drawn from the logo squares */
.map-country[data-region="us"] { --region: #7096d0; }
.map-country[data-region="canada"] { --region: #d2554b; }
.map-country[data-region="latam"] { --region: #a1cd3d; }
.map-country[data-region="uk"] { --region: #f0b43c; }
.map-country[data-region="europe"] { --region: #50c5d7; }
.map-country[data-region="southafrica"] { --region: #e07a9a; }
.map-country[data-region="asia"] { --region: #3fa66b; }
.map-country[data-region="australia"] { --region: #8b6fc6; }

.map-country.active-country.is-hovered { fill: var(--region, var(--brand-blue)) !important; }

.map-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  padding: 8px 14px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -150%);
  transition: opacity 0.2s ease;
}

.map-tooltip.is-visible { opacity: 1; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { padding: var(--section-y) 0 clamp(96px, 10vw, 152px); border-top: 1px solid var(--line-dark); }

.contact-head { max-width: 1100px; margin-bottom: clamp(56px, 7vw, 104px); }
.contact-head .display { margin-bottom: 32px; }
.contact-head .lead { max-width: 560px; }

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: clamp(64px, 8vw, 120px);
}

.contact-details dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 14px;
}

.contact-details dd { font-size: clamp(17px, 1.5vw, 22px); font-weight: 300; line-height: 1.55; color: var(--white); }
.contact-details a { transition: color 0.3s ease; }
.contact-details a:hover { color: var(--brand-grey); }

.contact-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 112px);
}

.submission-note {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 380px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form { display: grid; gap: 44px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; }

.field { position: relative; display: flex; flex-direction: column; }

.field label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0 14px;
  font: inherit;
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.4s var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.28); }

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

.field.has-error input { border-bottom-color: #d98a8a; }

.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%), linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.field select option { color: var(--ink); }

.form-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  min-height: 1.6em;
}

.form-status.is-error { color: #e0a3a3; }

/* --------------------------------------------------------------------------
   Department page
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(72px, 9vw, 140px);
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.breadcrumb a { transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--white); }

.page-hero .display-xl { margin-bottom: 28px; }

.page-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero-figure .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--charcoal);
  max-width: 480px;
  margin-left: auto;
}

.page-hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.dept-intro {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
}

.dept-intro .copy p {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #474c54;
  max-width: 840px;
}

/* Supporting copy: a lighter weight and softer charcoal than the lead paragraph */
.dept-intro .copy p + p {
  margin-top: 26px;
  font-size: clamp(18px, 1.45vw, 20px);
  font-weight: 300;
  line-height: 1.8;
  color: #60656c;
  max-width: 800px;
}

.dept-intro-section { padding-top: clamp(44px, 5.4vw, 84px); }

.dept-intro-title {
  font-size: clamp(48px, 6.6vw, 96px);
  color: #23272d;
  overflow-wrap: normal;
}

.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: clamp(96px, 12vw, 180px) 0;
  text-align: center;
}

.cta-band .display { margin-bottom: 28px; }
.cta-band .lead { max-width: 620px; margin: 0 auto 48px; }

/* --------------------------------------------------------------------------
   Footer: the globe still returns as a quiet bookend to the opening
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: clamp(104px, 11vw, 168px) 0 44px;
  text-align: center;
}

.site-footer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: clamp(40px, 5vw, 72px);
  width: min(720px, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(80, 197, 215, 0.22);
  box-shadow: 0 0 120px rgba(80, 197, 215, 0.12), inset 0 0 120px rgba(80, 197, 215, 0.08);
  background: radial-gradient(circle at 50% 50%, rgba(16, 22, 30, 0.9) 0%, rgba(10, 10, 10, 0) 70%);
}

.site-footer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, var(--black) 70%);
}

.footer-inner { display: flex; flex-direction: column; align-items: center; }

.footer-logo img { height: 56px; }

.footer-nav { margin-top: clamp(56px, 6vw, 88px); }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px clamp(24px, 3vw, 48px);
}

.footer-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.3s ease;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  margin-top: 36px;
}

.footer-contact a { font-size: 14px; font-weight: 300; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.8); transition: color 0.3s ease; }

.footer-nav a:hover,
.footer-contact a:hover { color: var(--white); }

.socials { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 40px; }

.socials a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s ease;
}

.socials a:hover { color: var(--white); }
.socials svg { width: 100%; height: 100%; }

.footer-legal {
  width: 100%;
  margin-top: clamp(64px, 7vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.copyright {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.legal-links { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.06em; }
.legal-links span { color: rgba(255, 255, 255, 0.25); }
.legal-links a { color: rgba(255, 255, 255, 0.6); transition: color 0.3s ease; }
.legal-links a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.page-hero--legal { padding-bottom: clamp(56px, 7vw, 104px); }
.page-hero--legal .display-lg { margin-bottom: 22px; }

.legal-section { padding-top: clamp(56px, 6vw, 96px); }

.legal-copy { max-width: 760px; }

.legal-block + .legal-block { margin-top: clamp(36px, 4vw, 52px); }

.legal-block h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.legal-block p {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: clamp(17px, 1.35vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: #50555d;
}

.legal-block p + p { margin-top: 16px; }
.legal-block a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }

  .dept-card { aspect-ratio: 4 / 3.4; }
  .dept-grid--3 .dept-card h3 { font-size: clamp(26px, 2.6vw, 34px); }
  .brand-grid li { flex-basis: 25%; }

  .about { grid-template-columns: 1fr 1fr; }
  .reach { grid-template-columns: 1fr; }
  .reach-copy { max-width: 640px; }
}

/* Portrait screens: keep the full globe in frame */
@media (max-aspect-ratio: 1/1) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    height: min(118vw, 74svh);
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(4, 5, 6, 0.45) 0%, rgba(4, 5, 6, 0) 22%, rgba(4, 5, 6, 0) 72%, #040506 100%);
  }

  .hero-media video,
  .hero-poster { object-position: center center; background-position: center center; }

  .hero-content {
    margin-top: -12px;
    padding-bottom: 48px;
    background: #040506;
  }

  .hero-title { white-space: normal; text-wrap: balance; }
}

@media (max-width: 900px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .poster, .poster--land { grid-column: span 1; }
  .poster--wide { grid-column: span 2; }
  .poster--wide .poster-frame { aspect-ratio: 16 / 9; height: auto; }
  .poster-grid { grid-auto-flow: dense; }
  .poster--land { grid-column: span 2; }
  .poster--offset, .poster--center { grid-column: auto; }
  .poster-grid--theatre { grid-template-columns: repeat(2, 1fr); }
  .poster--tall { grid-column: span 2; grid-row: auto; }
  .poster--tall .poster-frame { flex: none; aspect-ratio: 9 / 16; }
  .brand-grid li { flex-basis: 33.333%; }
  .contact-details { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-wrap { grid-template-columns: 1fr; }
  .dept-grid--3 { grid-template-columns: 1fr; }
  .dept-grid--3 .dept-card { aspect-ratio: 16 / 10; }

  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-figure .frame { max-width: none; margin-left: 0; aspect-ratio: 4 / 3; }
  .dept-intro { grid-template-columns: 1fr; gap: 8px; }
}

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

  body { font-size: 15px; }

  .site-header.is-scrolled { height: 64px; }
  .logo img, .is-scrolled .logo img { height: 26px; }

  .eyebrow { margin-bottom: 20px; font-size: 10px; }

  .hero-slides { height: 88px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(34px, 9.4vw, 46px); line-height: 1.02; }

  .credits-band { padding: 48px 0 56px; }
  .credits-band .eyebrow { margin-bottom: 32px; padding: 0 var(--gutter); line-height: 1.8; }
  .marquee-group { gap: 64px; padding-right: 64px; }
  .marquee img { height: calc(var(--h, 30px) * 0.88); }

  .section-head { flex-direction: column; align-items: flex-start; gap: 28px; }

  /* Welcome: full-bleed image, generous editorial spacing */
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about-figure { margin: 0 calc(var(--gutter) * -1); }
  .about-figure .frame { aspect-ratio: 5 / 4; }
  .about-figure figcaption { padding: 0 var(--gutter); flex-direction: column; gap: 4px; }
  .about-copy .display { margin-bottom: 28px; }
  .about-copy p:not(.lead) { font-size: 15px; line-height: 1.8; }

  .departments { padding-top: 96px; }
  .dept-grid, .dept-grid--3 { grid-template-columns: 1fr; gap: 20px; }
  .dept-card, .dept-grid--3 .dept-card { aspect-ratio: 4 / 3.4; }
  .dept-card h3, .dept-grid--3 .dept-card h3 { font-size: clamp(32px, 9vw, 40px); }
  .dept-card p { letter-spacing: 0.16em; }

  .work-section .section-head { align-items: flex-start; }
  .work-section .section-head { margin-bottom: 40px; }

  /* Long credit lists stay two across on phones */
  .poster-grid.poster-grid--dense,
  .poster-grid.poster-grid--theatre { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
  .poster-grid--dense .poster-caption,
  .poster-grid--theatre .poster-caption { padding-top: 12px; gap: 5px; }
  .poster-grid--dense .poster-title,
  .poster-grid--theatre .poster-title { font-size: 13px; }
  .poster-grid--dense .poster-meta,
  .poster-grid--theatre .poster-meta { font-size: 9px; letter-spacing: 0.16em; line-height: 1.6; }
  .poster-note { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 7px 5px 8px; font-size: 7.5px; letter-spacing: 0.14em; }
  .poster--wide .poster-note { top: 10px; left: 10px; font-size: 8.5px; padding: 6px 9px 6px 9px; }
  .work-group-title { gap: 16px; }
  .dept-intro .copy p { font-size: 20px; line-height: 1.5; }
  .dept-intro .copy p + p { font-size: 18px; font-weight: 350; line-height: 1.8; letter-spacing: 0.003em; color: #50555c; }
  .poster-grid--dense .poster--wide,
  .poster-grid--theatre .poster--tall { grid-column: span 2; }

  /* Selected Work: large artwork that breathes */
  .poster-grid, .poster-grid--2 { grid-template-columns: 1fr; gap: 56px; }
  .poster, .poster--wide, .poster--land, .poster--offset, .poster--center { grid-column: auto; }
  .poster-caption { padding-top: 18px; }
  .poster-title { font-size: 16px; }

  .poster-scroller {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    grid-template-columns: none;
    gap: 20px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }

  .poster-scroller::-webkit-scrollbar { display: none; }
  .poster-scroller .poster { scroll-snap-align: start; }

  .brand-grid li { flex-basis: 50%; }

  .form-row { grid-template-columns: 1fr; }
  .form { gap: 36px; }
  .form .btn { width: 100%; }
  .contact-details dd { font-size: 18px; }

  .page-hero .display-xl { margin-bottom: 28px; }

  .footer-logo img { height: 40px; }
  .footer-nav ul { gap: 16px 28px; }
  .footer-contact { flex-direction: column; gap: 10px; }
}

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Image-backed closing band on department pages */
.cta-band--image {
  position: relative;
  isolation: isolate;
  background: var(--black) url('../assets/images/stock/theatre.jpg') center 40% / cover no-repeat;
}

.cta-band--image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.72) 50%, rgba(10, 10, 10, 0.92) 100%);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 64px) 0 96px;
  overflow: hidden;
}

.error-code {
  position: absolute;
  right: -0.04em;
  bottom: -0.18em;
  font-family: var(--font-display);
  font-size: clamp(220px, 38vw, 620px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
}

.error-inner { position: relative; }
.error-page .display-xl { margin-bottom: 28px; }
.error-page .lead { max-width: 520px; }

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  margin-top: 48px;
}

.error-links { margin-top: 72px; }
.error-links .eyebrow { margin-bottom: 20px; }
.error-links ul { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.error-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s ease;
}
.error-links a:hover { color: var(--white); }

@media (max-width: 768px) {
  .error-page { padding: calc(var(--header-h) + 48px) 0 72px; }
  .error-actions { margin-top: 36px; }
  .error-links { margin-top: 56px; }
  .error-links ul { flex-direction: column; gap: 14px; }
}
