/* ============================================================
   HAIDERISTIC — Cinematic Production, Dubai
   Design system per brand brief. Dark theme only.
   ============================================================ */

:root {
  --bg: #141118;
  --bg-deep: #0F0E13;
  --surface: #1C1922;
  --cream: #F2EAD9;
  --champagne: #C9A96A;
  --champagne-bright: #DEC38A;
  --muted: #8F887C;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --pad: clamp(20px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--champagne); color: var(--bg); }

img, video { display: block; max-width: 100%; height: auto; }
/* height:auto is load-bearing — without it the intrinsic width/height attributes
   act as presentational hints and freeze images at full pixel height. */

a { color: inherit; text-decoration: none; }

/* ---------- grain overlay ---------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2000;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--champagne);
}

.timecode {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.timecode .tc-num { color: var(--champagne); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: .01em;
}

.section-head { margin-bottom: clamp(36px, 6vh, 64px); }
.section-head .timecode { display: block; margin-bottom: 18px; }
.section-head h1, .section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
}

.rule {
  border: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, .45), transparent);
}

section { position: relative; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}
.nav.scrolled {
  background: rgba(20, 17, 24, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(201, 169, 106, .16);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 20px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 42px); align-items: center; }
.nav-links a {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 400;
  color: var(--cream); opacity: .85;
  padding: 4px 0; position: relative;
  transition: color .3s, opacity .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--champagne);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--champagne-bright); opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 1px; background: var(--cream); margin: 7px 0; transition: .35s var(--ease); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-weight: 400;
  color: var(--cream);
  border: 1px solid rgba(201, 169, 106, .55);
  padding: 17px 34px;
  position: relative; overflow: hidden;
  transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--champagne);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--champagne); }
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.link-plain {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid rgba(143, 136, 124, .4);
  padding-bottom: 5px; transition: color .3s, border-color .3s;
}
.link-plain:hover { color: var(--champagne-bright); border-color: var(--champagne); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
  padding-bottom: clamp(48px, 9vh, 110px);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media picture { position: absolute; inset: 0; display: block; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,24,.62) 0%, rgba(20,17,24,.28) 42%, rgba(20,17,24,.9) 100%),
    radial-gradient(120% 90% at 50% 105%, rgba(20,17,24,.85) 0%, transparent 60%);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.02;
  max-width: 15ch;
  margin: 26px 0 30px;
}
.hero-sub { max-width: 560px; color: rgba(242, 234, 217, .82); font-size: 15px; margin-bottom: 44px; }
.hero-ctas { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.hero-frame {
  position: absolute; z-index: 2;
  font-size: 10px; letter-spacing: .3em; color: rgba(242,234,217,.4);
  text-transform: uppercase;
}
.hero-frame.tl { top: 96px; left: var(--pad); }
.hero-frame.tr { top: 96px; right: var(--pad); text-align: right; }
.hero-scroll {
  position: absolute; right: var(--pad); bottom: clamp(48px, 9vh, 110px); z-index: 2;
  writing-mode: vertical-rl;
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(180deg, var(--champagne), transparent);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- about ---------- */
.about { padding: clamp(90px, 14vh, 170px) 0 clamp(70px, 10vh, 130px); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.about-copy p { margin-bottom: 22px; color: rgba(242, 234, 217, .86); }
.about-copy p:last-of-type { margin-bottom: 0; }
.pull-quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--champagne);
  border-left: 1px solid rgba(201, 169, 106, .5);
  padding-left: 26px;
  margin-top: 38px;
}
.about-photo { position: relative; }
.about-photo img { width: 100%; filter: saturate(.9) contrast(1.03); }
.about-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(201, 169, 106, .3);
  z-index: -1;
}
.about-photo figcaption {
  margin-top: 16px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}

/* ---------- stats ---------- */
.stats { background: var(--bg-deep); border-top: 1px solid rgba(201,169,106,.14); border-bottom: 1px solid rgba(201,169,106,.14); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(48px, 8vh, 84px) 0;
}
.stat { text-align: center; padding: 0 18px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: rgba(201, 169, 106, .18);
}
.stat .num {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 5vw, 66px);
  color: var(--champagne);
  line-height: 1;
}
.stat .lbl { margin-top: 12px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---------- services ---------- */
.services { padding: clamp(90px, 14vh, 170px) 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--surface);
  border-top: 1px solid var(--champagne);
  padding: 42px 34px 46px;
  position: relative;
  transition: transform .5s var(--ease), background .5s;
}
.svc:hover { transform: translateY(-6px); background: #211d29; }
.svc .svc-num {
  font-family: var(--serif); font-size: 15px; color: var(--champagne);
  letter-spacing: .2em; margin-bottom: 26px; display: block;
}
.svc h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 26px; line-height: 1.2; margin-bottom: 16px;
}
.svc p { color: rgba(242, 234, 217, .72); font-size: 14px; }
.services-note { margin-top: 34px; color: var(--muted); font-size: 13px; }

/* ---------- work grid ---------- */
.work { padding: clamp(90px, 14vh, 170px) 0; }
.work-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.work-card { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.work-card.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.work-card img, .work-card video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.88) contrast(1.05);
  transition: transform 1.1s var(--ease), filter .6s;
}
.work-card:hover img, .work-card:hover video { transform: scale(1.045); filter: saturate(1) contrast(1.05); }
.work-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 14, 19, .88) 100%);
  transition: opacity .5s;
}
.work-card .card-meta {
  position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  transform: translateY(6px); transition: transform .5s var(--ease);
}
.work-card:hover .card-meta { transform: translateY(0); }
.card-meta .t {
  font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.2;
}
.card-meta .c { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne-bright); margin-top: 6px; }
.card-meta .go {
  font-size: 18px; color: var(--champagne);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .45s, transform .45s var(--ease);
}
.work-card:hover .go { opacity: 1; transform: none; }
.work-card .tc-tag {
  position: absolute; top: 18px; left: 22px; z-index: 2;
  font-size: 9.5px; letter-spacing: .3em; color: rgba(242,234,217,.55); text-transform: uppercase;
}
.work-cta { margin-top: 44px; }

/* ---------- clients ---------- */
.clients { padding: clamp(70px, 10vh, 120px) 0; background: var(--bg-deep); border-top: 1px solid rgba(201,169,106,.12); border-bottom: 1px solid rgba(201,169,106,.12); }
.clients-row {
  display: flex; flex-wrap: wrap; gap: 18px 0;
  align-items: baseline; justify-content: center;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(17px, 2vw, 23px);
  color: rgba(242, 234, 217, .8);
  text-align: center;
}
.clients-row .dot { color: var(--champagne); margin: 0 clamp(12px, 2vw, 26px); font-size: .7em; }
.clients-cap { text-align: center; margin-top: 26px; color: var(--muted); font-size: 12.5px; letter-spacing: .06em; }

/* ---------- process ---------- */
.process { padding: clamp(90px, 14vh, 170px) 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 8px 34px 8px 0; position: relative; }
.step + .step { border-left: 1px solid rgba(201, 169, 106, .18); padding-left: 34px; }
.step .step-num {
  font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 106, .55);
  line-height: 1; display: block; margin-bottom: 20px;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 10px; }
.step p { color: rgba(242, 234, 217, .68); font-size: 13.5px; }

/* ---------- contact ---------- */
.contact { padding: clamp(90px, 14vh, 180px) 0; text-align: center; }
.contact h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 84px); line-height: 1.05;
  max-width: 14ch; margin: 0 auto;
}
.contact-email {
  display: inline-block; margin-top: 44px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3.4vw, 44px);
  color: var(--champagne);
  border-bottom: 1px solid rgba(201, 169, 106, .4);
  padding-bottom: 6px;
  transition: color .35s, border-color .35s;
}
.contact-email:hover { color: var(--champagne-bright); border-color: var(--champagne-bright); }
.contact-links { margin-top: 34px; display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.contact-loc { margin-top: 30px; color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- footer ---------- */
.footer { padding: 70px var(--pad) 44px; text-align: center; border-top: 1px solid rgba(201, 169, 106, .14); }
.footer .sig img { height: clamp(40px, 6vw, 64px); width: auto; margin: 0 auto; opacity: .95; }
.footer .sub { margin-top: 24px; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.footer .copy { margin-top: 14px; font-size: 11px; color: rgba(143, 136, 124, .7); }

/* ---------- project page ---------- */
.proj-hero { min-height: 82svh; display: flex; align-items: flex-end; position: relative; padding-bottom: clamp(44px, 8vh, 90px); }
.proj-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(20,17,24,.5) 0%, rgba(20,17,24,.2) 45%, rgba(20,17,24,.94) 100%);
}
.proj-hero .wrap { position: relative; z-index: 2; width: 100%; }
.proj-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 88px); line-height: 1.03; max-width: 18ch; margin-top: 22px; }
.proj-meta {
  display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(201, 169, 106, .25);
}
.proj-meta div span { display: block; }
.proj-meta .k { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.proj-meta .v { font-size: 13.5px; letter-spacing: .04em; color: var(--cream); }

.proj-body { padding: clamp(70px, 11vh, 140px) 0; }
.proj-intro { max-width: 700px; }
.proj-intro p { color: rgba(242, 234, 217, .84); margin-bottom: 20px; font-size: 15.5px; }

.film-block { margin-top: clamp(56px, 9vh, 100px); }
.film-block video { width: 100%; background: #000; }
.film-frame { position: relative; border: 1px solid rgba(201, 169, 106, .22); padding: 10px; }
.film-cap { display: flex; justify-content: space-between; margin-top: 14px; }
.film-cap span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

.stills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(56px, 9vh, 100px); }
.stills-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.9) contrast(1.04); }
.stills-grid .full { grid-column: 1 / -1; aspect-ratio: 21/9; }

.next-proj { border-top: 1px solid rgba(201, 169, 106, .16); padding: clamp(70px, 10vh, 120px) 0; text-align: center; }
.next-proj .lab { margin-bottom: 18px; }
.next-proj a.big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 60px);
  transition: color .35s;
}
.next-proj a.big:hover { color: var(--champagne-bright); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; max-width: 480px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stat:nth-child(3)::before { display: none; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; height: 100svh;
    background: rgba(15, 14, 19, .98);
    flex-direction: column; justify-content: center; gap: 34px;
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform .55s var(--ease), visibility 0s .55s;
  }
  .nav-links.open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
  .nav-links a { font-size: 14px; }
  .burger { display: block; position: relative; z-index: 110; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card.wide { aspect-ratio: 16 / 9; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero-frame.tr { display: none; }
  .hero-scroll { display: none; }
  .stills-grid { grid-template-columns: 1fr; }
  .stills-grid .full { aspect-ratio: 16/9; }
  .process-grid { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid rgba(201,169,106,.18); padding-top: 30px; margin-top: 6px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ REEL WALL (vertical films) ============ */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  grid-auto-flow: dense;
}
.reel-grid .work-card { aspect-ratio: 9 / 16; }
.reel-grid .work-card.horiz { grid-column: span 2; aspect-ratio: 16 / 9; align-self: end; }
.reel-grid .card-meta { left: 20px; right: 20px; bottom: 18px; }
.reel-grid .card-meta .t { font-size: clamp(16px, 1.5vw, 21px); }
@media (max-width: 1100px) { .reel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reel-grid .work-card.horiz { grid-column: span 2; }
  .reel-grid .card-meta { left: 14px; right: 14px; bottom: 12px; }
  .reel-grid .card-meta .t { font-size: 14px; }
  .reel-grid .card-meta .c { font-size: 8.5px; letter-spacing: .22em; }
}

/* film-type filter chips */
.filter-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button {
  background: none; border: 1px solid rgba(201,169,106,.3); color: var(--muted);
  font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  padding: 10px 18px; cursor: pointer; transition: all .3s;
}
.filters button:hover, .filters button.on { color: var(--bg); background: var(--champagne); border-color: var(--champagne); }

/* ============ PROJECT PAGE — vertical player ============ */
.player-vert { display: grid; grid-template-columns: clamp(260px, 34%, 420px) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.player-vert .film-frame video { max-height: 78vh; width: 100%; object-fit: contain; }
@media (max-width: 860px) {
  .player-vert { grid-template-columns: minmax(0, 1fr); }
  .player-vert .film-frame { width: 100%; max-width: 420px; margin: 0 auto; }
}
.side-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; }
.side-stills img { width: 100%; filter: saturate(.9) contrast(1.04); }

/* ============ PHOTOGRAPHY masonry ============ */
.photo-masonry { columns: 3 320px; column-gap: 18px; }
.photo-masonry img { width: 100%; margin-bottom: 18px; filter: saturate(.92) contrast(1.03); transition: filter .4s, opacity .4s; }
.photo-masonry img:hover { filter: saturate(1.05) contrast(1.05); }

/* homepage highlight strip of vertical reels */
.home-reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.home-reels .work-card { aspect-ratio: 9 / 16; }
@media (max-width: 1100px) { .home-reels { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 760px) {
  .home-reels { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-reels .card-meta { left: 12px; right: 12px; bottom: 12px; }
  .home-reels .card-meta .t { font-size: 13px; }
  .home-reels .card-meta .c { font-size: 8px; letter-spacing: .2em; }
  .home-reels .tc-tag { display: none; }
}

/* ============================================================
   V2 POLISH — hero logo, intro band, marquee, richer finish
   ============================================================ */

/* hero v2: centered wordmark over the reel */
.hero { justify-content: center; align-items: center; }
.hero-media::after {
  background:
    radial-gradient(48% 46% at 50% 50%, rgba(10,9,13,.72) 0%, rgba(10,9,13,.34) 56%, transparent 80%),
    radial-gradient(80% 64% at 50% 46%, rgba(20,17,24,.08) 0%, rgba(20,17,24,.44) 74%, rgba(20,17,24,.78) 100%),
    linear-gradient(180deg, rgba(20,17,24,.42) 0%, rgba(20,17,24,.06) 44%, rgba(20,17,24,.74) 100%);
}
.hero-center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 var(--pad);
}
.hero-mark {
  width: min(680px, 78vw); height: auto;
  filter: drop-shadow(0 6px 40px rgba(0, 0, 0, .55));
}
.hero-rule {
  width: 120px; height: 1px; margin: 34px 0 22px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}
.hero-center .eyebrow { letter-spacing: .5em; text-indent: .5em; }
.hero-center .hero-ctas { margin-top: 46px; justify-content: center; }
.reveal-hero { opacity: 0; transform: translateY(18px) scale(.985); animation: heroIn 1.3s var(--ease) forwards; }
.reveal-hero.d1 { animation-delay: .35s; }
.reveal-hero.d2 { animation-delay: .55s; }
.reveal-hero.d3 { animation-delay: .8s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal-hero { animation: none; opacity: 1; transform: none; } }

/* intro band under hero */
.intro { padding: clamp(90px, 15vh, 170px) 0 clamp(30px, 5vh, 60px); text-align: center; }
.intro h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.06; letter-spacing: .005em;
  max-width: 22ch; margin: 0 auto;
}
.intro h1 em {
  font-style: italic;
  background: linear-gradient(105deg, var(--champagne) 20%, var(--champagne-bright) 50%, var(--champagne) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--champagne);
}
.intro .hero-sub { margin: 30px auto 0; max-width: 620px; }

/* clients marquee */
.marquee { overflow: hidden; position: relative; padding: 6px 0; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-deep), transparent); }
.marquee-track { display: flex; width: max-content; animation: mq 58s linear infinite; }
.marquee-seq { display: flex; align-items: baseline; white-space: nowrap; }
.mq-item {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(19px, 2.2vw, 27px);
  color: rgba(242, 234, 217, .85);
}
.marquee .dot { color: var(--champagne); margin: 0 clamp(18px, 3vw, 38px); font-size: .75em; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* richer section finish */
.section-head h1, .section-head h2 { letter-spacing: .005em; }
.section-head .timecode { margin-bottom: 22px; }
.about { background: radial-gradient(90% 70% at 15% 30%, rgba(201,169,106,.05) 0%, transparent 60%); }
.svc { border-top-width: 2px; }
.svc:hover { box-shadow: 0 18px 50px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(201,169,106,.14) inset; }
.work-card { box-shadow: 0 0 0 1px rgba(201,169,106,0) ; transition: box-shadow .5s var(--ease); }
.work-card:hover { box-shadow: 0 0 0 1px rgba(201,169,106,.45), 0 24px 60px -28px rgba(0,0,0,.8); }
.work-card::after { background: linear-gradient(180deg, rgba(15,14,19,.5) 0%, rgba(15,14,19,.05) 22%, transparent 38%, rgba(15, 14, 19, .92) 100%); }

/* film frame with gold corner ticks */
.film-frame { border: 0; padding: 14px; }
.film-frame::before, .film-frame::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
}
.film-frame::before { top: 0; left: 0; border-top: 1px solid var(--champagne); border-left: 1px solid var(--champagne); }
.film-frame::after { bottom: 0; right: 0; border-bottom: 1px solid var(--champagne); border-right: 1px solid var(--champagne); }

/* contact + footer polish */
.contact { background: radial-gradient(70% 60% at 50% 100%, rgba(201,169,106,.06) 0%, transparent 65%); }
.footer .sig img { height: clamp(52px, 8vw, 84px); }

@media (max-width: 760px) {
  .hero-mark { width: 86vw; }
  .intro h1 { font-size: clamp(34px, 9vw, 44px); }
}

/* hero fallback poster sits under the video */
.hero-media { background: var(--bg-deep); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   V3 — PRODUCTION PASS
   Player · Lightbox · Form · A11y · Performance reservations
   ============================================================ */

/* ---------- a11y foundations ---------- */
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -110%);
  z-index: 3000; background: var(--champagne); color: var(--bg);
  padding: 14px 26px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

:focus-visible {
  outline: 1px solid var(--champagne-bright);
  outline-offset: 3px;
}
.btn:focus-visible, .link-plain:focus-visible, .nav-links a:focus-visible { outline-offset: 5px; }
.work-card:focus-visible { outline-offset: -4px; outline-width: 2px; }

/* keep decorative motion off when asked */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll::after, .marquee-track { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ---------- layout-shift reservations ---------- */
.work-card img, .work-card video { aspect-ratio: inherit; }
.about-photo img { aspect-ratio: 1200 / 1604; }
.side-stills img { aspect-ratio: 1080 / 1920; object-fit: cover; width: 100%; }
.stills-grid img { aspect-ratio: 16 / 9; }
.photo-masonry img { display: block; }

/* ============================================================
   CINEMATIC PLAYER
   ============================================================ */
.hplayer { position: relative; width: 100%; min-width: 0; }
.hplayer-stage { width: 100%; }
.hplayer-stage {
  position: relative; overflow: hidden;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
.hplayer--vert .hplayer-stage { aspect-ratio: 9 / 16; }
.hplayer--wide .hplayer-stage { aspect-ratio: 16 / 9; }

/* blurred poster field behind vertical films — never black bars */
.hplayer-backdrop {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center;
  filter: blur(46px) saturate(.7) brightness(.34);
  transform: scale(1.15);
  pointer-events: none;
}
.hplayer--wide .hplayer-backdrop { display: none; }

.hplayer video {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  background: transparent;
}
.hplayer--wide video { object-fit: cover; }

/* centre play affordance */
.hp-big {
  position: absolute; z-index: 4; inset: 0; margin: auto;
  width: clamp(66px, 8vw, 92px); height: clamp(66px, 8vw, 92px);
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 106, .7);
  background: rgba(20, 17, 24, .42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--champagne-bright);
  display: grid; place-items: center; cursor: pointer;
  transition: opacity .45s var(--ease), transform .45s var(--ease), background .45s, border-color .45s;
}
.hp-big svg { width: 34%; height: 34%; margin-left: 8%; fill: currentColor; }
.hp-big:hover { background: rgba(201, 169, 106, .92); color: var(--bg); border-color: var(--champagne); transform: scale(1.06); }
.hplayer.is-playing .hp-big { opacity: 0; transform: scale(.82); pointer-events: none; }

/* spinner */
.hp-spin {
  position: absolute; z-index: 5; inset: 0; margin: auto;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(242, 234, 217, .18);
  border-top-color: var(--champagne);
  animation: hpspin .8s linear infinite;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.hplayer.is-buffering .hp-spin { opacity: 1; }
@keyframes hpspin { to { transform: rotate(360deg); } }

/* control bar */
.hp-bar {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px);
  padding: clamp(30px, 5vh, 54px) clamp(14px, 2vw, 26px) clamp(12px, 2vh, 20px);
  background: linear-gradient(180deg, transparent, rgba(9, 8, 12, .82) 62%);
  opacity: 0; transform: translateY(8px);
  transition: opacity .38s var(--ease), transform .38s var(--ease);
}
.hplayer.is-ui .hp-bar, .hplayer:not(.is-playing) .hp-bar { opacity: 1; transform: none; }
.hplayer.is-ui { cursor: default; }
.hplayer.is-playing:not(.is-ui) { cursor: none; }

.hp-btn {
  flex: 0 0 auto; background: none; border: 0; padding: 6px; cursor: pointer;
  color: rgba(242, 234, 217, .88); line-height: 0;
  transition: color .28s, transform .28s var(--ease);
}
.hp-btn svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.hp-btn:hover { color: var(--champagne-bright); transform: translateY(-1px); }

.hp-time {
  flex: 0 0 auto;
  font-family: var(--sans); font-size: 10px; font-weight: 400;
  letter-spacing: .18em; color: rgba(242, 234, 217, .72);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hp-time.hp-dur { color: var(--muted); }

/* scrub bar */
.hp-scrub {
  flex: 1 1 auto; position: relative; height: 26px; cursor: pointer;
  display: flex; align-items: center; touch-action: none;
}
.hp-track {
  position: relative; width: 100%; height: 2px;
  background: rgba(242, 234, 217, .16);
  transition: height .22s var(--ease);
}
.hp-scrub:hover .hp-track, .hp-scrub:focus-visible .hp-track { height: 5px; }
.hp-buf { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(242, 234, 217, .3); transition: width .3s linear; }
.hp-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--champagne); }
.hp-knob {
  position: absolute; top: 50%; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--champagne-bright);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .22s var(--ease);
  box-shadow: 0 0 0 4px rgba(201, 169, 106, .18);
}
.hp-scrub:hover .hp-knob, .hp-scrub:focus-visible .hp-knob, .hp-scrub.is-drag .hp-knob { transform: translate(-50%, -50%) scale(1); }
.hp-scrub:focus-visible { outline: 1px solid var(--champagne-bright); outline-offset: 4px; }

/* hover time readout */
.hp-peek {
  position: absolute; bottom: 24px; transform: translateX(-50%);
  background: rgba(9, 8, 12, .92); border: 1px solid rgba(201, 169, 106, .3);
  padding: 4px 9px; font-size: 9.5px; letter-spacing: .16em;
  color: var(--cream); font-variant-numeric: tabular-nums;
  opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap;
}
.hp-scrub:hover .hp-peek, .hp-scrub.is-drag .hp-peek { opacity: 1; }

/* lights-down: dim page chrome while a film plays */
body.film-playing .nav { opacity: 0; pointer-events: none; }
.nav { transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease), opacity .5s var(--ease); }

/* frame ticks around the player */
.film-frame { position: relative; }
.film-frame.is-live::before, .film-frame.is-live::after { opacity: .35; transition: opacity .5s; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lbx {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(9, 8, 12, .97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
.lbx.open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lbx-fig { position: relative; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lbx-img {
  max-width: 92vw; max-height: 80vh; width: auto; height: auto;
  object-fit: contain; opacity: 0; transform: scale(.985);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lbx-img.ready { opacity: 1; transform: none; }
.lbx-cap {
  margin-top: 18px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.lbx-btn {
  position: absolute; z-index: 2; background: none; border: 0; cursor: pointer;
  color: rgba(242, 234, 217, .7); padding: 16px; line-height: 0;
  transition: color .3s, transform .3s var(--ease);
}
.lbx-btn svg { width: 22px; height: 22px; fill: currentColor; }
.lbx-btn:hover { color: var(--champagne-bright); }
.lbx-close { top: 18px; right: 20px; position: fixed; }
.lbx-prev { left: max(8px, 2vw); top: 50%; transform: translateY(-50%); position: fixed; }
.lbx-next { right: max(8px, 2vw); top: 50%; transform: translateY(-50%); position: fixed; }
.lbx-prev:hover { transform: translateY(-50%) translateX(-4px); }
.lbx-next:hover { transform: translateY(-50%) translateX(4px); }
@media (max-width: 700px) { .lbx-prev, .lbx-next { display: none; } }

.photo-masonry img, .side-stills img, .stills-grid img { cursor: zoom-in; }

/* ============================================================
   FILTERS — state + empty
   ============================================================ */
.filters button { position: relative; }
.filter-count {
  flex: 0 0 auto; font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 12px; white-space: nowrap;
}
@media (max-width: 700px) {
  .filter-bar { flex-direction: column; gap: 14px; }
  .filter-count { padding-top: 0; }
}
.reel-empty {
  display: none; text-align: center; padding: clamp(50px, 9vh, 90px) 0;
  color: var(--muted); font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px);
}
.reel-empty.show { display: block; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(38px, 6vw, 88px); align-items: start;
  text-align: left; margin-top: clamp(44px, 7vh, 76px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-row { margin-bottom: 26px; position: relative; }
.form-row label {
  display: block; font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.form-row label .req { color: var(--champagne); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; background: transparent; color: var(--cream);
  border: 0; border-bottom: 1px solid rgba(201, 169, 106, .28);
  font-family: var(--sans); font-size: 14px; font-weight: 300;
  padding: 12px 0; border-radius: 0;
  transition: border-color .35s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-row textarea { resize: vertical; min-height: 108px; line-height: 1.7; }
.form-row select {
  background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%), linear-gradient(135deg, var(--champagne) 50%, transparent 50%);
  background-position: calc(100% - 12px) 20px, calc(100% - 7px) 20px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  cursor: pointer;
}
.form-row select option { background: var(--surface); color: var(--cream); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-bottom-color: var(--champagne);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(143, 136, 124, .55); }
.form-row.invalid input, .form-row.invalid textarea { border-bottom-color: #C4644F; }
.form-err {
  display: none; margin-top: 8px; font-size: 10.5px; letter-spacing: .1em; color: #D08872;
}
.form-row.invalid .form-err { display: block; }
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.btn[type="submit"] { background: none; font-family: var(--sans); cursor: pointer; z-index: 0; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.form-note { font-size: 11px; color: var(--muted); letter-spacing: .06em; }

.form-status {
  display: none; margin-top: 28px; padding: 22px 26px;
  border-left: 1px solid var(--champagne); background: rgba(201, 169, 106, .06);
}
.form-status.show { display: block; }
.form-status .t { font-family: var(--serif); font-size: 22px; color: var(--champagne-bright); margin-bottom: 8px; }
.form-status .d { font-size: 13px; color: rgba(242, 234, 217, .78); }
.form-status.err { border-left-color: #C4644F; background: rgba(196, 100, 79, .07); }
.form-status.err .t { color: #D08872; }

.contact-aside .k {
  display: block; font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.contact-aside .direct { margin-bottom: 34px; }
.contact-aside .direct a {
  font-family: var(--serif); font-size: clamp(19px, 2.1vw, 26px); color: var(--champagne);
  border-bottom: 1px solid rgba(201, 169, 106, .3); padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.contact-aside .direct a:hover { color: var(--champagne-bright); border-color: var(--champagne-bright); }
.contact-aside .meta { font-size: 13px; color: rgba(242, 234, 217, .7); }
.contact-aside .meta strong { color: var(--cream); font-weight: 400; }

/* ============================================================
   PROJECT PAGE — breadcrumb + prev/next
   ============================================================ */
.crumb { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.crumb a, .crumb span {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.crumb a:hover { color: var(--champagne-bright); }
.crumb .sep { color: rgba(201, 169, 106, .5); }
.crumb .cur { color: rgba(242, 234, 217, .62); }

.proj-nav {
  border-top: 1px solid rgba(201, 169, 106, .16);
  padding: clamp(56px, 9vh, 100px) 0;
}
.proj-nav .wrap { display: flex; justify-content: space-between; gap: 26px; align-items: center; }
.pn { max-width: 46%; }
.pn.next { text-align: right; margin-left: auto; }
.pn .lab { display: block; font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pn .big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 3.4vw, 46px); line-height: 1.1;
  display: inline-block; transition: color .35s var(--ease), transform .45s var(--ease);
}
.pn .big:hover { color: var(--champagne-bright); }
.pn.prev .big:hover { transform: translateX(-6px); }
.pn.next .big:hover { transform: translateX(6px); }
@media (max-width: 700px) {
  .proj-nav .wrap { flex-direction: column; align-items: stretch; gap: 34px; }
  .pn, .pn.next { max-width: 100%; text-align: left; margin-left: 0; }
}

.proj-story { max-width: 660px; margin-top: clamp(50px, 8vh, 86px); }
.proj-story h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 16px;
}
.proj-story p { color: rgba(242, 234, 217, .8); margin-bottom: 18px; font-size: 14.5px; }
.proj-story p:last-child { margin-bottom: 0; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 34px); bottom: clamp(16px, 2.4vw, 34px);
  z-index: 90; width: 46px; height: 46px;
  border: 1px solid rgba(201, 169, 106, .38); background: rgba(20, 17, 24, .8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--champagne); cursor: pointer;
  display: grid; place-items: center; line-height: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s, background .3s, color .3s;
}
.to-top svg { width: 15px; height: 15px; fill: currentColor; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s, color .3s; }
.to-top:hover { background: var(--champagne); color: var(--bg); }
body.film-playing .to-top { opacity: 0; visibility: hidden; }

/* ============================================================
   NAV — mobile menu polish
   ============================================================ */
body.menu-open { overflow: hidden; }
@media (max-width: 760px) {
  .nav-links { gap: 26px; padding: 0 var(--pad); }
  .nav-links a { font-size: 15px; letter-spacing: .26em; }
}

/* ---------- cross-document view transitions ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; }

/* ---------- print ---------- */
@media print {
  .nav, .to-top, .hp-bar, .hero-scroll, body::after { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================================================
   TOUCH TARGETS
   Coarse pointers only — hit areas grow, layout does not move.
   ============================================================ */
@media (pointer: coarse) {
  /* negative margin cancels the padding, so the logo stays put */
  .nav-brand { padding: 12px 8px; margin: -12px -8px; }

  .nav-links a { padding: 10px 0; }

  .link-plain { display: inline-block; padding-top: 14px; }

  .crumb a, .crumb .sep, .crumb .cur { padding: 13px 0; }
  .crumb { margin-bottom: 14px; }

  .contact-aside .direct a { display: inline-block; padding: 9px 0 6px; }

  .filters button { padding-top: 15px; padding-bottom: 15px; }

  .hp-btn { padding: 12px 10px; }
  .lbx-btn { padding: 20px; }

  .work-cta .link-plain, .services-note { line-height: 1.6; }
}

/* ============================================================
   PLAYER BAR — narrow layouts
   On a 9:16 player the single row squeezed the scrub to ~50px,
   so the scrub takes its own full-width row there.
   (Deliberately not a container query: container-type made the
   player unable to contribute an intrinsic width and collapsed it.)
   ============================================================ */
.hplayer--vert .hp-bar,
.hp-bar.is-stacked {
  flex-wrap: wrap; row-gap: 2px; column-gap: 10px;
  padding-bottom: clamp(10px, 1.6vh, 16px);
}
.hplayer--vert .hp-scrub,
.hp-bar.is-stacked .hp-scrub { order: -1; flex: 1 0 100%; height: 22px; }
.hplayer--vert .hp-time,
.hp-bar.is-stacked .hp-time { font-size: 9.5px; letter-spacing: .12em; }
.hplayer--vert .hp-fs,
.hp-bar.is-stacked .hp-fs { margin-left: auto; }
.hplayer--vert .hp-peek,
.hp-bar.is-stacked .hp-peek { bottom: 20px; }

@media (max-width: 760px) {
  .hplayer--wide .hp-bar { flex-wrap: wrap; row-gap: 2px; column-gap: 10px; }
  .hplayer--wide .hp-scrub { order: -1; flex: 1 0 100%; height: 22px; }
  .hplayer--wide .hp-fs { margin-left: auto; }
}

/* ============================================================
   HERO OVER PHOTOGRAPHY
   A still frame has bright areas a video grade never had, so the
   overlaid type needs its own contrast rather than relying on the scrim.
   ============================================================ */
.hero-center .link-plain {
  color: rgba(242, 234, 217, .92);
  border-bottom-color: rgba(242, 234, 217, .5);
  text-shadow: 0 1px 14px rgba(9, 8, 12, .75);
}
.hero-center .link-plain:hover {
  color: var(--champagne-bright);
  border-bottom-color: var(--champagne);
}
.hero-center .btn {
  text-shadow: 0 1px 14px rgba(9, 8, 12, .6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-center .btn:hover { text-shadow: none; }
.hero-center .eyebrow { text-shadow: 0 1px 12px rgba(9, 8, 12, .8); }
.hero-frame { text-shadow: 0 1px 10px rgba(9, 8, 12, .85); }
.hero-scroll { text-shadow: 0 1px 10px rgba(9, 8, 12, .85); }

/* Anchoring shade lives in .hero-media::after, which is already clipped by
   .hero-media's overflow:hidden. A separate pseudo-element on .hero-center
   overflowed the viewport by its horizontal inset. */
.hero-center .eyebrow { text-shadow: 0 1px 3px rgba(9,8,12,.95), 0 2px 18px rgba(9,8,12,.9); }
.hero-mark { filter: drop-shadow(0 6px 40px rgba(0,0,0,.75)) drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
