/* =========================================================================
   Bird’s Nest Creation — public website design system
   Dark cinematic, editorial typography, restrained motion.
   ========================================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-var-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0B0C0F;
  --bg-2: #14161A;
  --card: #1B1D22;
  --text: #F5F5F5;
  --text-2: #A8ADB7;
  --border: #30333A;
  /* Brand colours from the Bird’s Nest Creation wing mark */
  --brand-red: #EB001C;
  --brand-sky: #4CB2F9;
  --brand-blue: #0145ED;
  --accent: #FF3B4A;          /* red for small text and lines on dark (AA contrast) */
  --accent-strong: var(--brand-red);   /* logo red for fills behind white text */
  --accent-hover: #C80018;
  --accent-2: var(--brand-sky);       /* secondary highlight (team roles, info) */
  --accent-soft: rgba(235, 0, 28, .14);
  --danger: #F08A80;
  --success: #8CCB9E;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --space-section: clamp(5rem, 10vw, 9rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;

  /* Bootstrap variable bridge */
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-sans);
  --bs-border-color: var(--border);
  --bs-link-color-rgb: 245, 245, 245;
  --bs-link-hover-color-rgb: 255, 59, 74;
  --bs-secondary-color: var(--text-2);
  --bs-emphasis-color: var(--text);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent-strong); color: #fff; }
img, video { max-width: 100%; }
a { color: var(--text); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
main:focus { outline: none; }

/* Containers: Bootstrap's container-xxl with custom gutters */
.container-xxl { padding-inline: var(--gutter); max-width: 1440px; }
/* Keep wide row gutters inside the narrower mobile container padding (no horizontal scroll). */
@media (max-width: 575.98px) { .container-xxl .g-5, .container-xxl .gx-5 { --bs-gutter-x: 2rem; } }

/* Focus visibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: none; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--text); color: var(--bg); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.25rem; height: 2px; background: var(--accent-strong); flex: 0 0 auto; }
.display-heading {
  font-size: clamp(2.6rem, 7vw, 6rem); line-height: .98; letter-spacing: -.035em; font-weight: 600;
  max-width: 16ch; margin-bottom: 1.5rem;
}
.mega-heading {
  font-size: clamp(2.8rem, 9vw, 8.5rem); line-height: .9; letter-spacing: -.045em; font-weight: 700;
  text-transform: uppercase; margin: 0;
}
.section-heading { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.section-lead, .page-lead { color: var(--text-2); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 46ch; }
.page-lead { max-width: 52ch; }
.prose p { color: var(--text-2); }
.prose-lg p { font-size: 1.15rem; }
.prose p:first-child { color: var(--text); }
.legal-prose h2 { font-size: 1.35rem; margin-top: 2.5rem; }
.legal-prose p { color: var(--text-2); }
.text-muted-2 { color: var(--text-2) !important; }
.req { color: var(--accent); }

/* ----- Buttons ----- */
.btn { --bs-btn-border-radius: 4px; --bs-btn-font-weight: 600; letter-spacing: -.005em; transition: all .25s var(--ease); }
.btn-brand { --bs-btn-bg: var(--accent-strong); --bs-btn-border-color: var(--accent-strong); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-border-color: var(--accent-hover); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--accent-hover); --bs-btn-active-border-color: var(--accent-hover); --bs-btn-active-color: #fff; --bs-btn-focus-shadow-rgb: 235, 0, 28; }
.btn-brand::after, .btn-outline-light.btn-lg::after { content: "→"; display: inline-block; margin-left: .6rem; transition: transform .25s var(--ease); }
.btn-brand:hover::after, .btn-outline-light.btn-lg:hover::after { transform: translateX(3px); }
.nav-cta.btn-brand::after { content: none; }
.btn-lg { --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1rem; }
.btn-light { --bs-btn-bg: var(--text); --bs-btn-border-color: var(--text); --bs-btn-color: var(--bg); --bs-btn-hover-bg: var(--accent-strong); --bs-btn-hover-border-color: var(--accent-strong); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--accent-strong); --bs-btn-active-border-color: var(--accent-strong); --bs-btn-active-color: #fff; }
.btn-outline-light { --bs-btn-color: var(--text); --bs-btn-border-color: rgba(245,245,245,.7); --bs-btn-hover-bg: var(--text); --bs-btn-hover-color: var(--bg); --bs-btn-hover-border-color: var(--text); }
.btn .icon { vertical-align: -3px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--border); padding-bottom: .35rem;
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-back { display: inline-flex; gap: .5rem; align-items: center; color: var(--text-2); text-decoration: none; font-size: .95rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: var(--text); transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.icon-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.icon-btn[aria-pressed="true"]:hover { color: #fff; background: var(--accent-strong); border-color: var(--accent-strong); }

/* ----- Brand lockup: wing mark + name ----- */
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); line-height: 1; }
.brand-mark { height: 34px; width: auto; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; gap: .3rem; }
.brand-name { font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand-sub { font-size: .66rem; color: var(--text-2); letter-spacing: .02em; white-space: nowrap; }
.brand-lockup.is-large .brand-mark { height: clamp(56px, 7vw, 84px); }
@media (max-width: 359.98px) { .site-header .brand-sub { display: none; } }

/* ----- Header / navigation ----- */
.site-header {
  position: sticky; top: 0; z-index: 1030; min-height: var(--header-h);
  background: rgba(11, 12, 15, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(48, 51, 58, .6); transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-transparent { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-transparent.is-scrolled, .site-header.is-transparent.is-open { background: rgba(11, 12, 15, .92); border-color: rgba(48, 51, 58, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header .navbar { min-height: var(--header-h); padding-block: .75rem; }
.navbar-brand { text-decoration: none; padding: 0; }
.nav-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); }
.nav-brand:hover { color: var(--text); }
.nav-brand .brand-mark { height: 34px; width: auto; }
.nav-brand-name { font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.nav-cta { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
@media (max-width: 359.98px) { .nav-brand-name { font-size: .8rem; letter-spacing: .03em; } }
.navbar-brand:hover .brand-lockup { color: var(--text); }
.nav-link { color: var(--text-2); font-weight: 500; font-size: .95rem; padding-inline: .9rem !important; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent-strong); text-decoration-thickness: 2px; text-underline-offset: .6em; }
.navbar-toggler { border: 1px solid var(--border); border-radius: 999px; width: 48px; height: 48px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 1199.98px) {
  .navbar-collapse { padding: 1.5rem 0 1rem; }
  .nav-link { font-size: 1.5rem; color: var(--text); padding-block: .5rem !important; padding-inline: 0 !important; }
  .nav-cta { margin-top: 1rem; }
}

.site-messages { padding-top: 1.5rem; }
.page-home .site-messages { position: absolute; top: calc(var(--header-h) + 1rem); left: 0; right: 0; z-index: 1020; }
.alert { border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); color: var(--text); }
.alert-danger { border-color: rgba(240,138,128,.5); }
.alert-success { border-color: rgba(140,203,158,.5); }

/* ----- Sections ----- */
.section { padding-block: var(--space-section); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.empty-panel { border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 3rem 2rem; text-align: center; color: var(--text-2); }
.empty-panel p { margin: 0; }

.page-hero { padding-top: clamp(7rem, 14vw, 11rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.error-page { min-height: 70vh; display: flex; align-items: center; }
.review-notice {
  display: inline-block; margin-top: 1rem; padding: .6rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(235,0,28,.45); background: var(--accent-soft); color: var(--accent); font-size: .9rem;
}

/* =========================================================================
   1. Hero
   ========================================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate; padding-bottom: clamp(4rem, 10vh, 7rem); padding-top: calc(var(--header-h) + 3rem);
}
.hero-media, .hero-overlay { position: absolute; inset: 0; z-index: -1; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-ready { opacity: 1; }
.hero-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(235,0,28,.16), transparent 70%),
    radial-gradient(50% 60% at 15% 85%, rgba(80,96,120,.22), transparent 70%),
    linear-gradient(180deg, #121419 0%, #0B0C0F 100%);
}
.hero-fallback::after { /* subtle letterbox lines for a filmic feel */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px);
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(11,12,15,.55) 0%, transparent 30%),
    linear-gradient(0deg, rgba(11,12,15,.9) 0%, transparent 55%),
    rgba(11, 12, 15, var(--hero-overlay, .55));
}
.hero-content { position: relative; }
.hero-logo { margin-bottom: 2rem; }
.hero-title {
  font-size: clamp(3rem, 10vw, 9rem); line-height: .92; letter-spacing: -.05em; font-weight: 700;
  max-width: 12ch; margin-bottom: 1.5rem; text-wrap: balance;
}
.hero-subtext { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 2.1rem); color: var(--text); opacity: .88; margin-bottom: 2.25rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-video-toggle {
  position: absolute; right: var(--gutter); bottom: clamp(4rem, 10vh, 7rem); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(245,245,245,.35); background: rgba(11,12,15,.4); color: var(--text);
}
.hero-video-toggle:hover { background: var(--text); color: var(--bg); }
.hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: block; width: 24px; height: 48px; }
.hero-scroll-line { display: block; width: 1px; height: 100%; margin-inline: auto; background: linear-gradient(var(--text), transparent); animation: scrollcue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* =========================================================================
   2. Featured filmstrip
   ========================================================================= */
.featured { overflow: hidden; }
.featured-head { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 992px) { .featured-head { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.featured-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.filmstrip-controls { display: flex; gap: .6rem; }

.filmstrip {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  padding-bottom: 1.25rem; -webkit-overflow-scrolling: touch;
  /* fade edges to signal more content */
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 4rem), transparent 100%);
}
.filmstrip.is-drifting { scroll-snap-type: none; }
.filmstrip:focus-visible { outline-offset: -2px; }
.filmstrip::-webkit-scrollbar { height: 6px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.filmstrip-track {
  display: flex; gap: clamp(1rem, 2vw, 1.75rem); list-style: none; margin: 0;
  padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  width: max-content;
}
.frame { flex: 0 0 auto; width: min(82vw, 760px); scroll-snap-align: start; }
@media (min-width: 1400px) { .frame { width: 820px; } }
.frame-link { display: block; text-decoration: none; color: var(--text); }
.frame-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
  background: var(--card);
}
.frame-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s var(--ease), filter .6s var(--ease); filter: saturate(.92); }
.frame-link:hover .frame-media img, .frame-link:focus-visible .frame-media img,
.project-card-link:hover .frame-media img, .project-card-link:focus-visible .frame-media img { transform: scale(1.045); filter: saturate(1.05); }
.frame-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.frame-placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.5rem;
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(235,0,28,.12), transparent 70%),
    linear-gradient(135deg, #1d2026, #121418);
}
.frame-placeholder span { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2.2rem); color: rgba(245,245,245,.45); line-height: 1.1; }
.frame-play {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,12,15,.6); color: var(--text); border: 1px solid rgba(245,245,245,.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.frame-play svg { margin-left: 2px; }
.frame-play.is-large { position: static; width: 72px; height: 72px; }
.frame-caption { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding-top: 1.25rem; }
.frame-index { font-family: var(--font-serif); font-size: 1.5rem; color: var(--accent); line-height: 1.2; }
.frame-title { font-size: clamp(1.35rem, 2.2vw, 1.9rem); margin: .2rem 0 .4rem; }
.frame-desc { color: var(--text-2); margin: 0; max-width: 56ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0; min-height: 1em; }
.ownership-note { font-size: .85rem; color: var(--accent); margin: .5rem 0 0; }

/* ----- 2b. Cinema variant: wide metallic title, curved filmstrip, leader index ----- */
.featured-cinema {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem);
  background: radial-gradient(70% 60% at 50% 45%, #121318 0%, var(--bg) 70%);
}
.cinema-glow { /* red light bleeding in from the frame edges */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(235,0,28,.55) 0%, rgba(235,0,28,.18) 3%, transparent 11%, transparent 89%, rgba(235,0,28,.18) 97%, rgba(235,0,28,.55) 100%),
    radial-gradient(40% 70% at 0% 50%, rgba(235,0,28,.22), transparent 70%),
    radial-gradient(40% 70% at 100% 50%, rgba(235,0,28,.22), transparent 70%);
  filter: blur(6px);
}
.cinema-grain { /* subtle film grain + dust */
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cinema-heading {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; text-align: center;
  font-size: clamp(1.9rem, 4.6vw, 5rem); line-height: 1; letter-spacing: -.01em; margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #ffffff 0%, #d9d9dc 38%, #8d8f96 62%, #f1f1f3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.04);
  text-wrap: balance;
}
@media (min-width: 992px) { .cinema-heading { white-space: nowrap; } }
.featured-cinema .filmstrip {
  display: flex; mask-image: none; -webkit-mask-image: none; position: relative; z-index: 1;
  scroll-snap-type: x proximity; padding-block: 2.5rem 1rem; perspective: none;
}
.featured-cinema .filmstrip-track { margin-inline: auto; gap: clamp(.9rem, 2.2vw, 2.25rem); align-items: flex-start; padding-inline: var(--gutter); }
.featured-cinema .frame {
  width: clamp(180px, 16.5vw, 270px); scroll-snap-align: center;
  transform: perspective(900px) rotateY(var(--rot, 0deg)) scale(var(--scale, 1));
  transform-origin: center center; will-change: transform; transition: transform .12s linear;
}
.featured-cinema .frame-media { aspect-ratio: 1 / 1; border-radius: 2px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.featured-cinema .frame-media img { filter: saturate(.9) contrast(1.05); }
.featured-cinema .frame-placeholder span { font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.featured-cinema .frame-caption { display: block; padding-top: 1rem; text-align: center; opacity: .55; transition: opacity .35s var(--ease); }
.featured-cinema .frame.is-center .frame-caption, .featured-cinema .frame-link:hover .frame-caption, .featured-cinema .frame-link:focus-visible .frame-caption { opacity: 1; }
.featured-cinema .frame-title { font-size: clamp(.95rem, 1.2vw, 1.15rem); text-transform: uppercase; letter-spacing: .04em; margin: .35rem 0 0; }
.featured-cinema .project-meta { font-size: .68rem; }
.featured-cinema .ownership-note { font-size: .75rem; }

.cinema-foot { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; padding-top: clamp(1.5rem, 4vw, 3rem); }
.cinema-statement {
  max-width: 44ch; margin: 0; color: var(--text); opacity: .9;
  font-size: clamp(.8rem, 1.05vw, .95rem); line-height: 1.55; letter-spacing: .06em; text-transform: uppercase;
}
.cinema-controls { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.leader-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(245,245,245,.25); background: transparent; color: var(--text-2); transition: all .2s var(--ease);
}
.leader-btn:hover { color: #fff; border-color: #fff; }
.leader-btn:disabled { opacity: .3; pointer-events: none; }
.leader-btn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.leader-index { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; font-family: var(--font-display); font-size: .72rem; letter-spacing: .08em; }
.leader-index li { display: flex; align-items: center; }
.leader-index li + li::before { content: ".."; color: var(--text-2); opacity: .5; padding-inline: .2rem; }
.leader-index button { background: none; border: 0; padding: .35rem .2rem; color: var(--text-2); opacity: .6; min-width: 1.6rem; transition: color .2s, opacity .2s; }
.leader-index button:hover { opacity: 1; color: #fff; }
.leader-index button[aria-current="true"] { color: #fff; opacity: 1; text-decoration: underline; text-decoration-color: var(--accent-strong); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.leader-tick { display: block; width: 1px; height: 28px; background: linear-gradient(var(--text), transparent); margin-top: -.5rem; }
@media (max-width: 575.98px) {
  .cinema-controls { gap: .35rem; flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .leader-index li + li::before { content: "·"; padding-inline: .05rem; }
  .leader-index button { min-width: 1.35rem; padding-inline: .1rem; }
}
@media (max-width: 767.98px) {
  .featured-cinema .frame { width: 62vw; }
  .cinema-glow { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) { .featured-cinema .frame { transition: none; } }

/* =========================================================================
   2c. YouTube galleries (cards; the player dialog lives in youtube-gallery.css)
   ========================================================================= */
.yt-section { position: relative; }
.yt-section--wide { background: var(--bg-2); }
.yt-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 992px) { .yt-head { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.yt-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.yt-heading { text-align: left; margin: 0; font-size: clamp(1.9rem, 4.4vw, 4.2rem); white-space: normal !important; }
.yt-strip {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--border) transparent; padding-bottom: 1rem;
}
.yt-strip::-webkit-scrollbar { height: 6px; }
.yt-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.yt-track {
  display: flex; gap: clamp(.8rem, 1.4vw, 1.25rem); list-style: none; margin: 0; width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
}
/* ~5–6 cards across a desktop screen */
.yt-item { flex: 0 0 auto; width: clamp(170px, calc((min(100vw, 1440px) - 2 * var(--gutter) - 5 * 1.25rem) / 5.5), 240px); scroll-snap-align: start; }
.yt-card { position: relative; }
.yt-card-link { display: block; text-decoration: none; color: var(--text); border-radius: 12px; }
.yt-thumb { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.yt-card--vertical .yt-thumb { aspect-ratio: 9 / 16; }
.yt-card--wide .yt-thumb { aspect-ratio: 16 / 9; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease), opacity .4s var(--ease); }
.yt-card-link:hover .yt-thumb img, .yt-card-link:focus-visible .yt-thumb img { transform: scale(1.05); }
.yt-thumb::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%); transition: opacity .4s var(--ease); }
/* Muted preview sits over the thumbnail and fades in only once YouTube reports “playing”. */
.yt-preview { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); background: #000; }
.yt-preview iframe { position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none; }
.yt-card--vertical .yt-preview iframe { width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.02); }
.yt-card--wide .yt-preview iframe { width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.02); }
.yt-card.is-previewing .yt-preview { opacity: 1; }
.yt-card.is-previewing .yt-thumb::after { opacity: .35; }
.yt-play-btn {
  position: absolute; z-index: 3; right: .8rem; bottom: .8rem; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-strong); color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .25s var(--ease), background .25s var(--ease);
}
.yt-play-btn svg { margin-left: 3px; fill: currentColor; }
.yt-card--wide .yt-play-btn { right: auto; bottom: auto; top: 50%; left: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); }
.yt-card-link:hover .yt-play-btn, .yt-card-link:focus-visible .yt-play-btn { background: var(--accent-hover); }
.yt-card--vertical .yt-card-link:hover .yt-play-btn { transform: scale(1.08); }
.yt-card--wide .yt-card-link:hover .yt-play-btn { transform: translate(-50%, -50%) scale(1.08); }
.yt-card.is-previewing.yt-card--wide .yt-play-btn { opacity: .85; }
.yt-badge { position: absolute; z-index: 3; top: .7rem; left: .7rem; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 999px; background: rgba(11,12,15,.72); color: #fff; }
.yt-meta { padding-top: .85rem; }
.yt-title { font-size: 1rem; margin: .25rem 0 0; line-height: 1.3; }
.yt-card--wide .yt-title { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
.yt-desc { color: var(--text-2); font-size: .95rem; margin: .4rem 0 0; }
.yt-grid { display: grid; gap: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 2.2vw, 2rem); grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }

/* Platform badge + placeholder for covers that platforms do not share */
.yt-platform { position: absolute; z-index: 3; top: .65rem; left: .65rem; display: inline-flex; align-items: center; gap: .3rem; font-size: .66rem; font-weight: 600; padding: .28rem .5rem; border-radius: 999px; background: rgba(11,12,15,.72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.yt-badge { left: auto; right: .7rem; }
.yt-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.6); background: linear-gradient(160deg, #23262c, #121418); }
.yt-placeholder.platform-instagram { background: radial-gradient(90% 70% at 30% 20%, rgba(214,41,118,.4), transparent 70%), radial-gradient(80% 60% at 80% 90%, rgba(254,218,117,.2), transparent 70%), #15171b; }
.yt-placeholder.platform-facebook { background: radial-gradient(80% 60% at 50% 40%, rgba(24,119,242,.35), transparent 70%), #15171b; }
.yt-placeholder.platform-tiktok { background: radial-gradient(70% 50% at 35% 35%, rgba(37,244,238,.22), transparent 70%), radial-gradient(70% 50% at 65% 65%, rgba(254,44,85,.25), transparent 70%), #111; }
.yt-placeholder.platform-youtube { background: radial-gradient(80% 60% at 50% 40%, rgba(255,0,0,.25), transparent 70%), #15171b; }
.yt-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ----- 3. Brands — continuously scrolling logo strip ----- */
.brands-section { padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.brands-head { text-align: center; margin-bottom: 2rem; }
.brands-head .eyebrow { justify-content: center; }
.brands-heading { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: .02em; margin: 0; }
.logo-marquee { position: relative; mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.logo-marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-duration, 32s) linear infinite; }
.logo-marquee:hover .logo-marquee-track, .logo-marquee:focus-within .logo-marquee-track, .logo-marquee.is-paused .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-list { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); padding-right: clamp(2.5rem, 6vw, 5rem); margin: 0; flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-item { flex: 0 0 auto; }
.brand-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text); opacity: .6; transition: opacity .25s var(--ease); min-height: 52px; }
.brand-link:hover, .brand-link:focus-visible { opacity: 1; color: var(--text); }
.brand-logo-img { max-height: 44px; max-width: 160px; width: auto; filter: grayscale(1) brightness(0) invert(1); }
.brand-wordmark { font-family: var(--font-display); font-weight: 600; font-size: clamp(.95rem, 1.4vw, 1.2rem); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee-toggle { position: absolute; right: var(--gutter); bottom: -2.6rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text-2); display: grid; place-items: center; }
.marquee-toggle:hover { color: #fff; border-color: #fff; }
.brands-note { text-align: center; color: var(--text-2); font-size: .88rem; margin: 2.75rem auto 0; }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { mask-image: none; -webkit-mask-image: none; }
  .logo-marquee-track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .logo-marquee-list[aria-hidden="true"], .marquee-toggle { display: none; }
  .logo-marquee-list { flex-wrap: wrap; justify-content: center; padding-right: 0; }
}

/* ----- 8. Testimonials ----- */
.testimonials-section { background: var(--bg-2); }
.testimonial-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin: 0; }
.testimonial-card { position: relative; height: 100%; margin: 0; padding: 1.75rem 2rem 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); display: flex; flex-direction: column; }
.testimonial-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; min-height: 2.5rem; }
.testimonial-mark { font-family: var(--font-serif); font-size: 4.5rem; line-height: .8; color: var(--accent-strong); margin-top: -.6rem; }
.testimonial-logo { max-height: 34px; max-width: 130px; width: auto; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .75; }
.testimonial-quote { margin: .75rem 0 1.75rem; flex: 1; }
.testimonial-quote p { font-family: var(--font-serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--text); margin: 0; }
.testimonial-author { display: flex; align-items: center; gap: 1.1rem; color: var(--text-2); font-size: .9rem; }
.testimonial-avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(255,255,255,.12); font-size: 1.1rem; }
.testimonial-author strong { color: var(--text); font-weight: 600; }
.testimonial-avatar { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--card); color: var(--text-2); font-weight: 600; font-size: .85rem; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .testimonial-avatar { width: 68px; height: 68px; } }
.testimonial-project { display: inline-block; margin-top: .2rem; color: var(--accent); font-size: .8rem; }

/* ----- 9. Contact ----- */
.contact-section { border-top: 1px solid var(--border); background: radial-gradient(60% 80% at 10% 100%, rgba(235,0,28,.08), transparent 70%); }
.contact-heading { text-transform: none; font-size: clamp(2.4rem, 5.5vw, 4.6rem); margin-bottom: 1.25rem; }
.contact-form { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }

/* ----- 7. About Us + team ----- */
.about-cloud { color: var(--text-2); }
.about-team { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--border); }
.about-team-heading { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 2rem; }

/* =========================================================================
   3. Services rows
   ========================================================================= */
.services-section { background: var(--bg-2); }
.service-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.service-row {
  position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: .75rem 1rem; align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--border); transition: background .3s var(--ease);
}
@media (min-width: 992px) { .service-row { grid-template-columns: 4rem 1.1fr 1.4fr auto; column-gap: 2rem; } }
.service-index { font-family: var(--font-serif); font-size: 1.4rem; color: var(--accent); }
.service-name { display: flex; gap: 1rem; align-items: center; }
.service-name { min-width: 0; }
.service-name h3 { font-size: clamp(1.25rem, 2.6vw, 2.1rem); margin: 0; overflow-wrap: anywhere; hyphens: auto; }
.service-name .icon { color: var(--text-2); flex: 0 0 auto; }
.service-summary { color: var(--text-2); margin: 0; grid-column: 2 / -1; }
@media (min-width: 992px) { .service-summary { grid-column: auto; } }
.service-link { color: var(--text-2); grid-row: 1; grid-column: 3; }
@media (min-width: 992px) { .service-link { grid-column: 4; } }
.service-link::after { content: ""; position: absolute; inset: 0; } /* whole row clickable */
.service-row:hover .service-link { color: var(--accent); }
.service-row:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,.02), transparent); }

.service-detail { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--border); }
.service-image { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-image-empty { display: grid; place-items: center; color: var(--text-2); background: radial-gradient(70% 70% at 50% 40%, rgba(235,0,28,.1), transparent 70%), var(--card); }

/* =========================================================================
   4. Collaborations
   ========================================================================= */
.partner-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 3rem 0 2.5rem; }
@media (min-width: 768px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-tile { background: var(--bg); padding: 2rem; display: flex; flex-direction: column; min-height: 220px; }
.partner-name { font-size: 1.5rem; margin: 0 0 .35rem; }
.partner-location { color: var(--text-2); margin: 0; }
.partner-logo { width: auto; max-width: 180px; object-fit: contain; margin-bottom: 1.25rem; }
.partner-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: auto 0 0; padding-top: 1.5rem; font-size: .9rem; }
.partner-links a { color: var(--text-2); }
.partner-links a:hover { color: var(--accent); }
.partner-detail { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--border); }
.partner-projects li { padding: .35rem 0; }
.ownership-legend { border: 1px solid var(--border); background: var(--bg-2); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 3rem; color: var(--text-2); }
.ownership-legend p { margin: 0; }
.ownership-legend strong, .ownership-legend em { color: var(--text); }

/* =========================================================================
   5–6. About & team
   ========================================================================= */
.about-section .prose p:first-child { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; }
.editorial-list { margin-top: 3rem; border-top: 1px solid var(--border); }
.editorial-item { display: grid; gap: .75rem 2rem; padding-block: 2.5rem; border-bottom: 1px solid var(--border); }
@media (min-width: 992px) { .editorial-item { grid-template-columns: 4rem 1fr 1.5fr; } }
.editorial-heading { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }

.team-section { background: var(--bg-2); }
.team-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); max-width: 980px; }
.team-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #23262c, #15171b); display: grid; place-items: center; margin-bottom: 1.25rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); }
.team-initials { font-family: var(--font-serif); font-size: 4.5rem; color: rgba(245,245,245,.35); }
.team-name { font-size: 1.4rem; margin-bottom: .25rem; }
.team-role { color: var(--accent-2); margin-bottom: .75rem; }
.team-bio p { color: var(--text-2); font-size: .98rem; }
.team-links { display: flex; gap: 1rem; font-size: .9rem; }

/* =========================================================================
   7. Final CTA
   ========================================================================= */
.final-cta { padding-block: clamp(6rem, 14vw, 12rem); text-align: left; border-top: 1px solid var(--border);
  background: radial-gradient(60% 80% at 85% 100%, rgba(235,0,28,.08), transparent 70%); }
.final-cta .mega-heading { text-transform: none; max-width: 14ch; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.mega-heading, .display-heading, .hero-title { overflow-wrap: break-word; hyphens: manual; }
.final-cta .section-lead { margin-bottom: 2.25rem; }
.final-cta-compact { padding-block: clamp(4rem, 8vw, 6rem); }

/* =========================================================================
   8. Footer
   ========================================================================= */
.site-footer { border-top: 1px solid var(--border); padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: 2rem; background: var(--bg); }
.footer-brand { text-decoration: none; display: inline-block; }
.footer-text { color: var(--text-2); max-width: 38ch; }
.footer-heading { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); font-weight: 600; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-social a, .footer-bottom a { text-decoration: none; color: var(--text); }
.footer-links a:hover, .footer-social a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; }
.footer-cloud { color: var(--text-2); font-size: .9rem; margin-top: 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); margin-top: 4rem; padding-top: 1.5rem; font-size: .88rem; color: var(--text-2); }
.footer-bottom p { margin: 0; }

.floating-contact {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040;
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem .7rem .9rem; border-radius: 999px;
  background: var(--accent-strong); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease), background .25s var(--ease);
}
.floating-contact:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
@media (max-width: 575.98px) { .floating-contact-label { display: none; } .floating-contact { padding: .85rem; } }

/* =========================================================================
   Portfolio
   ========================================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.filter-chip { padding: .5rem 1.1rem; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: .92rem; }
.filter-chip:hover { color: var(--text); border-color: var(--text-2); }
.filter-chip[aria-current="true"] { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.project-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.project-card-link { display: block; text-decoration: none; color: var(--text); }
.project-card-body { padding-top: 1.1rem; }
.project-title { font-size: 1.4rem; margin: .35rem 0 .4rem; }
.project-desc { color: var(--text-2); margin: 0; font-size: .98rem; }

.pagination-wrap { margin-top: 4rem; display: flex; justify-content: center; }
.pagination { --bs-pagination-bg: transparent; --bs-pagination-color: var(--text); --bs-pagination-border-color: var(--border); --bs-pagination-hover-bg: var(--card); --bs-pagination-hover-color: var(--text); --bs-pagination-hover-border-color: var(--border); --bs-pagination-active-bg: var(--accent-strong); --bs-pagination-active-color: #fff; --bs-pagination-active-border-color: var(--accent-strong); --bs-pagination-focus-box-shadow: none; --bs-pagination-focus-bg: var(--card); --bs-pagination-focus-color: var(--text); --bs-pagination-disabled-bg: transparent; }

.preview-banner { position: sticky; top: var(--header-h); z-index: 1020; background: var(--accent-strong); color: #fff; padding: .75rem 0; font-size: .95rem; }
.preview-banner .btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--accent-strong); }

.project-detail .page-hero { padding-bottom: 2.5rem; }
.project-media { margin-bottom: clamp(3rem, 6vw, 5rem); }
.project-media .ratio, .project-hero-still .frame-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.project-media video { background: #000; }
.video-consent { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: var(--card); color: var(--text); cursor: pointer; }
.video-consent img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .4s var(--ease); }
.video-consent:hover img { opacity: .7; }
.video-consent-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; font-weight: 600; }
.video-consent-inner small { font-weight: 400; color: var(--text-2); font-size: .8rem; }
.video-embed iframe { border: 0; }
.project-facts { margin: 0; }
.project-facts > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.project-facts dt { font-weight: 500; color: var(--text-2); font-size: .88rem; letter-spacing: .04em; }
.project-facts dd { margin: 0; }
.facts-heading { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); margin: 2.5rem 0 .5rem; font-weight: 600; }
aside .facts-heading:first-child { margin-top: 0; }

/* =========================================================================
   Forms
   ========================================================================= */
.form-label { font-weight: 500; font-size: .92rem; margin-bottom: .45rem; color: var(--text); }
.form-control, .form-select {
  background-color: var(--bg-2); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm);
  padding: .8rem 1rem; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.form-control::placeholder { color: #737884; }
.form-control:focus, .form-select:focus { background-color: var(--bg-2); color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23A8ADB7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-select option { background: var(--bg-2); color: var(--text); }
.form-check-input { background-color: var(--bg-2); border-color: var(--text-2); width: 1.2em; height: 1.2em; margin-top: .2em; }
.form-check-input:checked { background-color: var(--accent-strong); border-color: var(--accent-strong); }
.form-check-input:focus { box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.form-check-label { color: var(--text); }
.form-text { color: var(--text-2); font-size: .85rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); background-image: none; padding-right: 1rem; }
.invalid-feedback { color: var(--danger); font-size: .88rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-list li { display: flex; gap: .6rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.contact-list .icon { color: var(--text-2); }

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-video { display: none; }
  .hero-scroll-line { animation: none; }
}

/* ----- Collaborations: one feature block per partner ----- */
.partner-feature { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--border); }
.partner-feature:nth-of-type(even) { background: var(--bg-2); }
.partner-feature-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.partner-feature-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1; margin: 0 0 .5rem; display: flex; align-items: center; }
.partner-feature .partner-links { margin: 0; padding: 0; }
.partner-feature-body { margin-top: clamp(2rem, 4vw, 3rem); }

/* Large platform links in each platform's own colours */
.platform-links { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin: 0 0 clamp(2rem, 4vw, 3rem); }
.platform-link {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 14px; color: #fff; text-decoration: none;
  min-height: 84px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.platform-link:hover, .platform-link:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.8); filter: brightness(1.08); }
.platform-link-icon { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.16); }
.platform-link-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.platform-link-label { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: .01em; }
.platform-link-handle { font-size: .88rem; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: .25rem; }
.platform-link-go { flex: 0 0 auto; opacity: .85; }
.platform-link--youtube { background: #FF0000; }
.platform-link--instagram { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.platform-link--tiktok { background: #010101; box-shadow: inset 3px 0 0 #25F4EE, inset -3px 0 0 #FE2C55; }
.platform-link--tiktok .platform-link-icon { background: linear-gradient(135deg, rgba(37,244,238,.35), rgba(254,44,85,.35)); }
.platform-link--facebook { background: #1877F2; }
.platform-link--website { background: var(--card); border: 1px solid var(--border); }

/* Partner photo gallery */
.partner-gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: clamp(2rem, 4vw, 3rem) 0 0; }
.partner-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--card); }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.partner-photo:hover img, .partner-photo:focus-visible img { transform: scale(1.05); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,6,8,.94); color: #fff; }
.lightbox::backdrop { background: rgba(5,6,8,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox-figure { margin: 0; max-width: min(1400px, 92vw); text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: 82vh; border-radius: 6px; }
.lightbox-figure figcaption { margin-top: .75rem; color: var(--text-2); font-size: .95rem; }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(11,12,15,.6); color: #fff; }
.lightbox-close:hover, .lightbox-nav:hover { background: #fff; color: #000; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
