/* Sembule Media homepage: premium dark.
   Brand colours only (black, #BF9000 gold, #04592A green) plus warm neutrals for text.
   Loaded after site.css on index.html only. */

.home-dark {
  --h-bg: #000;
  --h-bg-2: #070807;
  --h-text: #f3f0e8;
  --h-muted: rgba(243, 240, 232, .66);
  --h-faint: rgba(243, 240, 232, .08);
  --h-line: rgba(255, 255, 255, .11);
  --h-gold: #bf9000;
  --h-gold-glow: rgba(191, 144, 0, .28);
  --h-green: #04592a;
  --h-ease: cubic-bezier(.22, 1, .36, 1);
  --h-head: 82px;
  color-scheme: dark;
  color: var(--h-text);
  background: var(--h-bg);
  font-family: var(--font-body, "Axiforma", "Segoe UI", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.home-dark ::selection { color: #000; background: var(--h-gold); }

/* ---------- Header over the dark page ---------- */
.home-dark .site-header { position: fixed; right: 0; left: 0; color: var(--h-text); background: transparent; border-bottom: 1px solid transparent; transition: background-color 300ms var(--h-ease), border-color 300ms var(--h-ease), backdrop-filter 300ms var(--h-ease); }
.home-dark .site-header.is-scrolled { background: rgba(0, 0, 0, .72); border-bottom-color: var(--h-line); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.home-dark .main-nav a { color: rgba(243, 240, 232, .82); }
.home-dark .main-nav a:not(.button):hover, .home-dark .main-nav a[aria-current="page"] { color: var(--h-text); }
.home-dark .main-nav .button { min-height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: var(--h-text); background: rgba(255, 255, 255, .06); }
.home-dark .main-nav .button:hover { color: #000; background: var(--h-gold); border-color: var(--h-gold); }
.home-dark .menu-toggle { color: var(--h-text); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); border-radius: 999px; }
.home-dark .menu-toggle:before { background: var(--h-text); box-shadow: 0 -6px 0 var(--h-text), 0 6px 0 var(--h-text); }

/* ---------- Shared pieces ---------- */
.h-wrap { position: relative; z-index: 1; width: min(100% - var(--page-gutter) * 2, 1320px); margin-inline: auto; }
.h-section { position: relative; overflow: hidden; padding-block: clamp(72px, 9vh, 120px); background: var(--h-bg); }
.h-services, .h-work, .h-clients { background: var(--h-bg-2); }
.h-section + .h-section { border-top: 1px solid rgba(255, 255, 255, .05); }

.h-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--h-gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.h-live { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #0b8a45; box-shadow: 0 0 0 4px rgba(4, 89, 42, .45), 0 0 14px rgba(11, 138, 69, .8); }

.home-dark main h1, .home-dark main h2, .home-dark main h3 { color: var(--h-text); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.home-dark main h2 { max-width: 17ch; margin: 0; font-size: clamp(36px, 4.4vw, 66px); line-height: 1.02; }

.h-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 28px 64px; margin-bottom: clamp(36px, 5vh, 60px); }
.h-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.h-head--center h2 { max-width: 20ch; }
.h-head__lede { max-width: 46ch; margin: 0; color: var(--h-muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; }
.h-head__side { display: grid; justify-items: start; gap: 18px; }

/* Buttons: one pill family, gold for the main action, glass for the second */
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.h-actions--center { justify-content: center; }
.h-btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1; text-decoration: none; transition: transform 220ms var(--h-ease), box-shadow 220ms var(--h-ease), background-color 220ms var(--h-ease), border-color 220ms var(--h-ease); }
.h-btn:hover { transform: translateY(-2px); }
.h-btn:active { transform: translateY(0) scale(.97); transition-duration: 90ms; }
.h-btn--gold { color: #000; background: var(--h-gold); box-shadow: 0 12px 34px -12px var(--h-gold-glow), inset 0 1px 0 rgba(255, 255, 255, .28); }
.h-btn--gold:hover { box-shadow: 0 18px 44px -12px rgba(191, 144, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .32); }
.h-btn--glass { color: var(--h-text); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.h-btn--glass:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); }
.h-btn__play { position: relative; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--h-gold); }
.h-btn__play:after { position: absolute; top: 50%; left: 54%; width: 9px; height: 10px; content: ""; background: #000; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translate(-50%, -50%); }

.h-pill, .h-pause { min-height: 44px; padding: 0 18px; border: 1px solid var(--h-line); border-radius: 999px; color: var(--h-muted); background: rgba(255, 255, 255, .04); font-size: 13px; font-weight: 500; transition: color 200ms var(--h-ease), border-color 200ms var(--h-ease), background-color 200ms var(--h-ease); }
.h-pill:hover, .h-pause:hover { color: var(--h-text); border-color: rgba(255, 255, 255, .3); }

.h-round { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: var(--h-text); background: rgba(255, 255, 255, .05); transition: transform 200ms var(--h-ease), background-color 200ms var(--h-ease), border-color 200ms var(--h-ease); }
.h-round svg { width: 20px; height: 20px; }
.h-round:hover { border-color: var(--h-gold); background: rgba(191, 144, 0, .14); }
.h-round:active { transform: scale(.94); }
.h-round:disabled { opacity: .35; pointer-events: none; }

.h-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; color: var(--h-gold); font-size: 15px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat; transition: background-size 260ms var(--h-ease); }
.h-link:hover { background-size: 100% 1px; }

.h-count { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--h-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.h-count strong { color: var(--h-text); font-size: 28px; font-weight: 500; letter-spacing: -.02em; }

.h-num { display: block; margin-bottom: 10px; color: var(--h-gold); font-size: 13px; font-weight: 600; letter-spacing: .12em; }

/* Ghost type: outlined lettering behind a section */
.h-hero__ghost, .h-about__ghost, .h-cta__ghost { position: absolute; z-index: 0; margin: 0; color: transparent; font-weight: 700; letter-spacing: -.06em; line-height: .78; text-transform: uppercase; white-space: nowrap; pointer-events: none; user-select: none; -webkit-text-stroke: 1px rgba(243, 240, 232, .075); }

/* ---------- 1. Hero ---------- */
.h-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: calc(var(--h-head) + clamp(20px, 4vh, 48px)) 0 clamp(28px, 4vh, 44px); background: radial-gradient(120% 80% at 80% 10%, #0d0d0b 0%, #000 60%); isolation: isolate; }
.h-hero__ghost { display: none; }
.h-hero__glow { position: absolute; z-index: 0; bottom: -38%; left: -14%; width: min(80vw, 1100px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(191, 144, 0, .2) 0%, rgba(191, 144, 0, .06) 38%, transparent 66%); pointer-events: none; }
/* Full-bleed hero: the photograph fills the whole section, the copy sits over it */
.h-hero { justify-content: flex-end; }
/* Taller than the screen, so the photo has room and the copy sits lower */
/* The hero runs just past the screen; the words and buttons sit low but finish inside the first screen,
   so they are seen at first glance and the photograph keeps the top of the screen */
.h-hero { min-height: calc(100svh + 40px); padding-bottom: clamp(64px, 9vh, 88px); }
@media (max-width: 820px) { .h-hero { min-height: calc(100svh + 24px); padding-bottom: 48px; } }

/* Type anchored to the bottom-left corner (taste skill, photo hero): the words stack from the foot on
   six of the twelve columns, on the calm dark corner of the picture; the rest of the photo stays bright */
.h-hero .h-hero__title { max-width: 13ch; margin-bottom: 18px; font-size: clamp(48px, 4.9vw, 90px); line-height: .95; letter-spacing: -.045em; }
.h-hero .h-hero__lede { max-width: 40ch; }
.h-hero .h-eyebrow { margin-bottom: 14px; }
.h-hero .h-hero__bar { margin-top: clamp(24px, 3.6vh, 40px); }
@media (min-width: 1024px) { .h-hero .h-hero__copy { max-width: min(50%, 760px); } }
/* Wide screens: a longer line keeps the headline on two lines, so the block stays low and uncrowded */
@media (min-width: 1280px) { .h-hero .h-hero__copy { max-width: min(60%, 920px); } .h-hero .h-hero__title { max-width: 17ch; } }
@media (min-width: 1600px) { .h-hero .h-hero__copy { max-width: min(86%, 1140px); } .h-hero .h-hero__title { max-width: 22ch; } }
/* the shade sits in the corner the words sit in (about where the first screen ends), not across the whole left side */
.h-hero__stage:after { background:
  radial-gradient(110% 80% at 0% 100%, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .18) 62%, transparent 78%),
  linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, transparent 18%, transparent 70%, rgba(0, 0, 0, .55) 100%); }
@media (max-width: 820px) {
  .h-hero .h-hero__title { font-size: clamp(42px, 12vw, 58px); }
  .h-hero__stage:after { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .15) 22%, rgba(0, 0, 0, .7) 52%, rgba(0, 0, 0, .92) 72%, #000 100%); }
}
.h-hero__grid { position: static; display: grid; grid-template-columns: minmax(0, 1fr); }
.h-hero__copy { position: relative; z-index: 2; max-width: 680px; }
.h-hero__title { max-width: 13ch; margin: 0 0 22px; font-size: clamp(44px, 5.5vw, 88px); line-height: 1; transition: opacity 260ms var(--h-ease), transform 260ms var(--h-ease); }
.h-hero__lede { max-width: 42ch; margin: 0 0 34px; color: var(--h-muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; transition: opacity 260ms var(--h-ease); }
.h-hero__copy.is-changing .h-hero__title { opacity: 0; transform: translateY(8px); }
.h-hero__copy.is-changing .h-hero__lede, .h-hero__copy.is-changing [data-hero-eyebrow] { opacity: 0; }
[data-hero-eyebrow] { transition: opacity 260ms var(--h-ease); }

.h-hero__stage { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: #0b0b0a; }
.h-hero__stage:after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .66) 34%, rgba(0, 0, 0, .18) 64%, rgba(0, 0, 0, .1) 100%), linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 22%, transparent 62%, rgba(0, 0, 0, .85) 100%); pointer-events: none; }
.h-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 900ms var(--h-ease); }
.h-slide.is-active { opacity: 1; }
.h-slide img { width: 100%; height: 100%; object-fit: cover; /* full colour */ transform: scale(1.04); transition: transform 1800ms var(--h-ease); }
.h-slide.is-active img { transform: scale(1); }
/* Slide video sits over its poster photo and fades in once playing */
.h-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--h-ease); }
.h-slide.has-video video { opacity: 1; }

.h-hero__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 26px; margin-top: clamp(34px, 6vh, 72px); padding-top: clamp(18px, 2.4vh, 26px); border-top: 1px solid rgba(255, 255, 255, .12); }
/* The two buttons sit at the bottom left, the slide number, dots and Pause at the bottom right */
.h-hero__nav { display: flex; align-items: center; gap: 18px; }
.h-hero__lede { margin-bottom: 0; }
.h-dots { display: flex; gap: 4px; }
.h-dots button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.h-dots button:after { position: absolute; top: 50%; left: 6px; right: 6px; height: 2px; content: ""; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: background-color 300ms var(--h-ease); }
.h-dots button:hover:after { background: rgba(255, 255, 255, .5); }
.h-dots button[aria-current="true"]:after { background: var(--h-gold); }
.h-hero__place { margin: 0 0 0 auto; color: var(--h-muted); font-size: 13px; letter-spacing: .04em; }

/* ---------- Vision mixer: program readout, camera tiles, tally lights ---------- */
/* A click is a CUT (fast); auto mode MIXes (the slow crossfade above) */
.h-hero.is-cut .h-slide { transition-duration: 140ms; }
.h-hero.is-cut .h-slide img { transition-duration: 0ms; }

/* Program readout over the picture, like the top of a multiviewer */
.h-hud { position: absolute; z-index: 3; top: calc(var(--h-head) + 18px); right: var(--page-gutter); display: flex; align-items: center; gap: 10px; color: rgba(243, 240, 232, .82); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.h-hud__pgm { padding: 5px 9px; border-radius: 6px; color: #000; background: var(--h-gold); letter-spacing: .12em; }
.h-hud__cam { padding-right: 6px; }
.h-hud__air { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-hud__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--h-gold); box-shadow: 0 0 0 3px rgba(191, 144, 0, .25), 0 0 10px rgba(191, 144, 0, .9); }
.h-hud__tc { min-width: 11ch; color: var(--h-text); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }

/* Bottom row: four camera tiles, then the counter and the Auto button */
/* Tiles get an explicit width and a 16:9 height: a grid row would not take its height from the tiles */
.h-mv { --tile-w: clamp(112px, 9.5vw, 150px); display: flex; flex-shrink: 0; gap: 10px; }
/* each tile: --tile-w wide, 9/16 of that tall */
.h-mv__tile { position: relative; flex: 0 0 auto; width: var(--tile-w); height: calc(var(--tile-w) * 9 / 16); padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: #111; cursor: pointer; transition: transform 200ms var(--h-ease), border-color 200ms var(--h-ease), box-shadow 200ms var(--h-ease); }
.h-mv__tile:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .4); }
.h-mv__tile:active { transform: scale(.97); transition-duration: 90ms; }
.h-mv__thumb { position: absolute; inset: 0; background: var(--thumb) center / cover no-repeat; filter: grayscale(1) brightness(.62); transition: filter 300ms var(--h-ease); }
.h-mv__tile:hover .h-mv__thumb { filter: grayscale(.4) brightness(.85); }
.h-mv__tile:after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); pointer-events: none; }
.h-mv__label { position: absolute; z-index: 1; right: 8px; bottom: 6px; left: 8px; overflow: hidden; color: rgba(243, 240, 232, .78); font-size: 10px; font-weight: 500; letter-spacing: .08em; line-height: 1.2; text-align: left; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.h-mv__label b { margin-right: 6px; color: var(--h-text); font-weight: 700; }
.h-mv__tally { position: absolute; z-index: 1; top: 6px; left: 6px; display: none; padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; }
/* Program (on air): gold tally, picture in colour */
.h-mv__tile[aria-current="true"] { border: 2px solid var(--h-gold); box-shadow: 0 0 0 1px rgba(191, 144, 0, .35), 0 10px 30px -8px rgba(191, 144, 0, .55); }
.h-mv__tile[aria-current="true"] .h-mv__thumb { filter: none; }
.h-mv__tile[aria-current="true"] .h-mv__tally { display: block; color: #000; background: var(--h-gold); }
.h-mv__tile[aria-current="true"] .h-mv__tally:before { content: "PGM"; }
/* Preview (next up): green tally */
.h-mv__tile.is-pvw { border: 2px solid #0b8a45; box-shadow: 0 0 0 1px rgba(4, 89, 42, .5), 0 10px 26px -10px rgba(11, 138, 69, .6); }
.h-mv__tile.is-pvw .h-mv__thumb { filter: grayscale(.5) brightness(.8); }
.h-mv__tile.is-pvw .h-mv__tally { display: block; color: #fff; background: var(--h-green); }
.h-mv__tile.is-pvw .h-mv__tally:before { content: "PVW"; }

.h-mv__side { display: flex; flex-shrink: 0; align-items: center; gap: 18px; }
.h-auto { display: inline-flex; align-items: center; gap: 9px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.h-auto__lamp { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 240, 232, .25); transition: background-color 200ms var(--h-ease), box-shadow 200ms var(--h-ease); }
.h-auto[aria-pressed="true"] { color: var(--h-text); border-color: rgba(191, 144, 0, .5); }
.h-auto[aria-pressed="true"] .h-auto__lamp { background: var(--h-gold); box-shadow: 0 0 0 3px rgba(191, 144, 0, .22), 0 0 10px rgba(191, 144, 0, .85); }

/* Entrance: once, on load */
.h-enter { animation: h-in 900ms var(--h-ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes h-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 2. Services ---------- */
.h-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-card { display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--h-line); border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform 260ms var(--h-ease), border-color 260ms var(--h-ease); }
.h-card:hover { transform: translateY(-2px); border-color: rgba(191, 144, 0, .45); }
.h-card__media { display: block; aspect-ratio: 5 / 3.6; overflow: hidden; border-radius: 18px; background: #111; }
.h-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 600ms var(--h-ease), filter 600ms var(--h-ease); }
.h-card:hover .h-card__media img { transform: scale(1.03); filter: saturate(1); }
.h-card__body { padding: 20px 14px 12px; }
.h-card h3 { margin: 0 0 8px; font-size: clamp(22px, 1.8vw, 27px); line-height: 1.1; }
.h-card p { margin: 0; color: var(--h-muted); font-size: 15px; line-height: 1.6; }
.h-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-cards--four .h-card__media { aspect-ratio: 4 / 3.4; }
.h-cards--four .h-card h3 { font-size: clamp(20px, 1.6vw, 24px); }
@media (max-width: 1180px) and (min-width: 821px) { .h-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h-also { margin: 30px 0 0; color: var(--h-muted); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- 3. Showreel ---------- */
.h-reel__frame { position: relative; width: min(100%, calc((100svh - 48px) * 16 / 9)); aspect-ratio: 16 / 9; margin-inline: auto; overflow: hidden; border-radius: 28px; background: #0b0b0a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 140px -60px rgba(191, 144, 0, .5); }
.h-reel__frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: transform 900ms var(--h-ease), filter 900ms var(--h-ease); }
.h-reel__frame:hover img { transform: scale(1.02); filter: brightness(.85); }
.h-reel__frame iframe, .h-reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.h-reel__play { position: absolute; top: 50%; left: 50%; min-height: 64px; display: inline-flex; align-items: center; gap: 14px; padding: 0 30px 0 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: var(--h-text); background: rgba(0, 0, 0, .35); font-size: 16px; font-weight: 600; transform: translate(-50%, -50%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform 220ms var(--h-ease), background-color 220ms var(--h-ease); }
.h-reel__play .h-btn__play { width: 36px; height: 36px; }
.h-reel__play:hover { background: rgba(0, 0, 0, .55); transform: translate(-50%, calc(-50% - 2px)); }
.h-reel__play:active { transform: translate(-50%, -50%) scale(.97); }

/* ---------- 4. Work coverflow ---------- */
.h-flow { --flow-h: clamp(340px, 48svh, 480px); }
.h-flow__stage { position: relative; height: var(--flow-h); outline: none; touch-action: pan-y; user-select: none; }
.h-flow__stage:focus-visible { outline: 2px solid var(--h-gold); outline-offset: 10px; border-radius: 24px; }
.h-flow__card { --o: 0; position: absolute; top: 0; left: 50%; width: calc(var(--flow-h) * .74); height: 100%; margin: 0; overflow: hidden; border-radius: 24px; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .9); cursor: pointer; transform: translateX(calc(-50% + var(--x, 0px))) scale(var(--s, 1)); transition: transform 700ms var(--h-ease), filter 700ms var(--h-ease), opacity 700ms var(--h-ease); will-change: transform; }
.h-flow__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Front-card video: a 16:9 player scaled to cover the portrait card, photo underneath until it plays */
.h-flow__video { position: absolute; top: 50%; left: 50%; width: calc(var(--flow-h) * 16 / 9 * 1.12); height: calc(var(--flow-h) * 1.12); border: 0; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); transition: opacity 700ms var(--h-ease); }
.h-flow__video.is-playing { opacity: 1; }
.h-flow__video--file { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
.h-flow__card:after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .82)); pointer-events: none; }
.h-flow__card.is-active { cursor: default; box-shadow: 0 0 0 1px rgba(191, 144, 0, .35), 0 50px 100px -40px rgba(191, 144, 0, .4); }
.h-flow__meta { position: absolute; z-index: 1; right: 22px; bottom: 22px; left: 22px; opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--h-ease), transform 400ms var(--h-ease); }
.h-flow__card.is-active .h-flow__meta { opacity: 1; transform: none; transition-delay: 180ms; }
.h-flow__meta h3 { margin: 12px 0 4px; font-size: 24px; line-height: 1.1; }
.h-flow__meta p { margin: 0; color: var(--h-muted); font-size: 13px; }
.h-tag { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: var(--h-text); background: rgba(0, 0, 0, .3); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-flow__bar { display: flex; align-items: center; gap: 24px; margin-top: clamp(28px, 4vh, 44px); }
.h-flow__arrows { display: flex; gap: 10px; margin-inline: auto; }

/* ---------- 5. About ---------- */
.h-about__ghost { bottom: 0; right: 0; font-size: clamp(150px, 22vw, 360px); }
.h-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 96px); }
.h-about__media { aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 28px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -60px rgba(191, 144, 0, .45); }
.h-about__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.h-about__copy h2 { margin-bottom: 22px; }
.h-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 22px; padding: 22px 0 0; border-top: 1px solid var(--h-line); list-style: none; }
.h-facts strong { display: block; margin-bottom: 4px; color: var(--h-text); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.h-facts span { color: var(--h-muted); font-size: 13px; line-height: 1.45; }

/* ---------- 6. Clients ---------- */
.h-clients .h-head { margin-bottom: 40px; }
.client-marquees { display: grid; gap: 14px; }
.client-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-logo-track { display: flex; width: max-content; }
.client-logo-set { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.client-logo-set li { width: 168px; height: 96px; display: grid; place-items: center; padding: 14px 18px; border-radius: 18px; background: #f3f0e8; }
.client-logo-set img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.client-marquee.is-ready .client-logo-track { animation: h-marquee 60s linear infinite; }
.client-marquee--right.is-ready .client-logo-track { animation-direction: reverse; }
.h-clients.is-paused .client-logo-track { animation-play-state: paused; }
@keyframes h-marquee { to { transform: translateX(-50%); } }

/* ---------- 6b. Testimonials: stacked photo cards (from the earlier homepage), fed from the Sembule OS ---------- */
.testimonial-showcase { --carousel-time: 280ms; outline: none; }
.testimonial-showcase:focus-visible { outline: 2px solid var(--h-gold); outline-offset: 10px; border-radius: 28px; }
.testimonial-frame { max-width: 1080px; margin: auto; display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: center; gap: 7%; }
.testimonial-visual { position: relative; width: 100%; height: 420px; display: grid; place-items: center; perspective: 1100px; touch-action: pan-y; user-select: none; cursor: grab; }
.testimonial-visual:active { cursor: grabbing; }
.testimonial-stack { position: relative; width: min(340px, 78%); aspect-ratio: 1; margin: 0; transform-style: preserve-3d; }
.testimonial-photo { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 22px; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -24px rgba(0, 0, 0, .7); transform-origin: 50% 82%; backface-visibility: hidden; }
.testimonial-photo img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.testimonial-photo--front { z-index: 4; opacity: 1; transform: translate3d(0, 0, 0); }
.testimonial-photo--middle { z-index: 3; opacity: .78; filter: saturate(.88); transform: translate3d(17px, 31px, -45px) rotate(3.2deg) scale(.95); }
.testimonial-photo--back { z-index: 2; opacity: .56; filter: saturate(.78) brightness(.92); transform: translate3d(-15px, 48px, -90px) rotate(-3.6deg) scale(.91); }
.testimonial-photo--incoming { z-index: 1; opacity: 0; transform: translate3d(17px, 48px, -90px) rotate(3deg) scale(.91); }
.testimonial-showcase.is-next .testimonial-photo--front { animation: testimonial-out-next var(--carousel-time) cubic-bezier(.32, 0, .15, 1) both; }
.testimonial-showcase.is-next .testimonial-photo--middle { animation: testimonial-mid-front var(--carousel-time) cubic-bezier(.2, .72, .18, 1) both; }
.testimonial-showcase.is-next .testimonial-photo--back { animation: testimonial-back-mid var(--carousel-time) cubic-bezier(.2, .72, .18, 1) both; }
.testimonial-showcase.is-next .testimonial-photo--incoming { animation: testimonial-in-back var(--carousel-time) cubic-bezier(.2, .72, .18, 1) both; }
.testimonial-showcase.is-previous .testimonial-photo--front { animation: testimonial-out-previous var(--carousel-time) cubic-bezier(.32, 0, .15, 1) both; }
.testimonial-showcase.is-previous .testimonial-photo--middle { animation: testimonial-mid-back var(--carousel-time) cubic-bezier(.2, .72, .18, 1) both; }
.testimonial-showcase.is-previous .testimonial-photo--back { animation: testimonial-back-front var(--carousel-time) cubic-bezier(.2, .72, .18, 1) both; }
.testimonial-showcase.is-previous .testimonial-photo--incoming { animation: testimonial-in-back-previous var(--carousel-time) cubic-bezier(.2, .72, .18, 1) both; }
@keyframes testimonial-out-next { to { opacity: 0; transform: translate3d(116px, 38px, 0) rotate(8deg) scale(.92); filter: blur(3px); } }
@keyframes testimonial-out-previous { to { opacity: 0; transform: translate3d(-116px, 38px, 0) rotate(-8deg) scale(.92); filter: blur(3px); } }
@keyframes testimonial-mid-front { from { opacity: .78; transform: translate3d(17px, 31px, -45px) rotate(3.2deg) scale(.95); } to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); } }
@keyframes testimonial-back-mid { from { opacity: .56; transform: translate3d(-15px, 48px, -90px) rotate(-3.6deg) scale(.91); } to { opacity: .78; transform: translate3d(17px, 31px, -45px) rotate(3.2deg) scale(.95); } }
@keyframes testimonial-in-back { from { opacity: 0; transform: translate3d(17px, 48px, -90px) rotate(3deg) scale(.91); } to { opacity: .56; transform: translate3d(-15px, 48px, -90px) rotate(-3.6deg) scale(.91); } }
@keyframes testimonial-mid-back { from { opacity: .78; transform: translate3d(17px, 31px, -45px) rotate(3.2deg) scale(.95); } to { opacity: .56; transform: translate3d(-15px, 48px, -90px) rotate(-3.6deg) scale(.91); } }
@keyframes testimonial-back-front { from { opacity: .56; transform: translate3d(-15px, 48px, -90px) rotate(-3.6deg) scale(.91); } to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); } }
@keyframes testimonial-in-back-previous { from { opacity: 0; transform: translate3d(-17px, 48px, -90px) rotate(-3deg) scale(.91); } to { opacity: .56; transform: translate3d(-15px, 48px, -90px) rotate(-3.6deg) scale(.91); } }
.testimonial-copy { max-width: 540px; transition: opacity 140ms ease-out, transform 140ms ease-out; }
.testimonial-copy.is-changing { opacity: .32; transform: translateY(2px); }
.testimonial-count { display: flex; align-items: baseline; gap: 8px; margin: 0 0 22px; color: var(--h-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.testimonial-count strong { color: var(--h-gold); font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.testimonial-quote { margin: 0 0 26px; color: var(--h-text); font-size: clamp(21px, 2.2vw, 28px); font-weight: 400; line-height: 1.45; letter-spacing: -.015em; }
.testimonial-quote:before { content: "\201C"; margin-right: .08em; color: var(--h-gold); }
.testimonial-quote:after { content: "\201D"; margin-left: .04em; color: var(--h-gold); }
.testimonial-showcase.is-draft .testimonial-quote { color: var(--h-muted); font-style: italic; }
.testimonial-name { margin: 0 0 4px; color: var(--h-text); font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.testimonial-role { margin: 0; color: var(--h-muted); font-size: 15px; line-height: 1.45; }
.testimonial-navigation { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.testimonial-arrow { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: var(--h-text); background: rgba(255, 255, 255, .05); transition: transform 180ms var(--h-ease), background-color 180ms var(--h-ease), border-color 180ms var(--h-ease); }
.testimonial-arrow svg { width: 20px; height: 20px; }
.testimonial-arrow:hover { border-color: var(--h-gold); background: rgba(191, 144, 0, .14); }
.testimonial-arrow--next { width: 64px; height: 64px; border-color: var(--h-gold); color: #000; background: var(--h-gold); box-shadow: 0 12px 30px -12px rgba(191, 144, 0, .5); }
.testimonial-arrow--next:hover { background: var(--h-gold); }
.testimonial-arrow:active:not(:disabled) { transform: scale(.95); }
.testimonial-arrow:disabled { cursor: wait; opacity: .7; }

/* ---------- 7. Closing call to action ---------- */
.h-cta { min-height: 100svh; display: flex; align-items: center; text-align: center; }
.h-cta__ghost { top: 50%; left: 50%; font-size: clamp(170px, 32vw, 520px); transform: translate(-50%, -50%); }
.h-cta__glow { position: absolute; z-index: 0; bottom: -30%; left: 50%; width: min(110vw, 1400px); aspect-ratio: 2 / 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(191, 144, 0, .3), rgba(191, 144, 0, .06) 60%, transparent); transform: translateX(-50%); pointer-events: none; }
.h-cta__inner { display: grid; justify-items: center; }
.h-cta h2 { max-width: 14ch; margin-bottom: 22px; font-size: clamp(46px, 6.6vw, 108px); line-height: .98; }
.h-cta .h-head__lede { margin-bottom: 36px; }

.home-dark .site-footer { background: #000; border-top: 1px solid rgba(255, 255, 255, .06); }
.home-dark .footer-socials a { border-radius: 999px; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); }
.home-dark .footer-socials a:hover { color: #000; background: var(--h-gold); border-color: var(--h-gold); }
.home-dark :focus-visible { outline: 2px solid var(--h-gold); outline-offset: 4px; }
.home-dark .h-card__media:focus-visible { outline-offset: -4px; }

/* About: words first, picture second, on wide screens */
@media (min-width: 821px) { .h-about__copy { order: -1; } }

/* ---------- Screens ---------- */
@media (min-width: 821px) and (min-height: 700px) {
  .h-services, .h-reel, .h-work, .h-about { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
}

@media (max-width: 1080px) {
  .h-hero__place { display: none; }
  .h-cards { gap: 14px; }
  .h-facts { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 820px) {
  .h-head { grid-template-columns: 1fr; align-items: start; }
  .h-hero { padding-top: calc(var(--h-head) + 20px); }
  .h-hero__stage:after { background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 22%, rgba(0, 0, 0, .86) 46%, rgba(0, 0, 0, .94) 64%, #000 100%); }
  .h-hero__glow { bottom: -20%; left: auto; right: -30%; width: 120vw; }
  .h-hud { top: calc(var(--h-head) + 12px); left: var(--page-gutter); right: auto; gap: 8px; font-size: 10px; }
  .h-hud__tc { font-size: 12px; }
  .h-mv { --tile-w: calc((100vw - var(--page-gutter) * 2 - 24px) / 4); gap: 8px; }
  .h-mv__side { justify-content: space-between; }
  .h-cards, .h-cards--four { grid-template-columns: 1fr; }
  .testimonial-frame { grid-template-columns: 1fr; gap: 12px; }
  .testimonial-visual { height: clamp(280px, 80vw, 360px); }
  .testimonial-stack { width: min(290px, 74%); }
  .testimonial-quote { font-size: clamp(19px, 5vw, 23px); }
  .testimonial-navigation { margin-top: 22px; }
  .h-card__media { aspect-ratio: 16 / 10; }
  .h-about__grid { grid-template-columns: 1fr; }
  .h-about__ghost { bottom: auto; top: 4%; }
  .h-flow { --flow-h: min(118vw, 520px); }
  .h-flow__card { width: min(70vw, calc(var(--flow-h) * .74)); }
}

@media (max-width: 760px) {
  .home-dark { --h-head: 70px; }
  /* No backdrop-filter on phones: it would trap the fixed menu panel inside the header */
  .home-dark .site-header.is-scrolled, .home-dark.menu-open .site-header { background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .home-dark .main-nav { background: #000; }
  .home-dark .main-nav a { border-bottom-color: var(--h-line); }
  .home-dark .main-nav .button { color: #000; background: var(--h-gold); border-color: var(--h-gold); }
}

@media (max-width: 560px) {
  .h-actions .h-btn { width: 100%; }
  .h-hero__bar .h-actions { width: 100%; }
  .h-hero__nav { width: 100%; justify-content: space-between; gap: 10px; }
  .h-hero__nav .h-count { flex: 0 0 auto; white-space: nowrap; }
  .h-hero__nav .h-dots button { width: 36px; }
  .h-hero__title { font-size: clamp(38px, 11vw, 52px); }
  .h-mv__label { font-size: 9px; }
  .h-mv__name { display: none; }
  .h-hud__cam { display: none; }
  .h-flow__bar { flex-wrap: wrap; justify-content: space-between; }
  .h-flow__arrows { margin-inline: 0; }
  .h-flow__bar .h-link { width: 100%; }
  .client-logo-set li { width: 132px; height: 80px; }
  .h-reel__play { min-height: 56px; padding: 0 22px 0 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-enter { animation: none; }
  .h-slide, .h-slide img, .h-flow__card, .h-flow__meta, .h-card, .h-card__media img, .h-btn, .h-reel__frame img { transition: none; }
  .h-slide img { transform: none; }
  .client-marquee.is-ready .client-logo-track { animation: none; }
  .testimonial-showcase { --carousel-time: 140ms; }
  .testimonial-photo { filter: none !important; }
}

/* Showreel autoplay: the video fills the frame; Pause and Sound sit on its lower left as glass pills */
.h-reel__video { cursor: pointer; object-fit: cover; }
.h-reel__controls { position: absolute; z-index: 2; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); display: flex; gap: 10px; }
.h-reel__ctl { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #f3f0e8; background: rgba(0, 0, 0, .45); font-size: 14px; font-weight: 600; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform 200ms var(--h-ease), background-color 200ms var(--h-ease), border-color 200ms var(--h-ease); }
.h-reel__ctl:hover { transform: translateY(-2px); background: rgba(0, 0, 0, .62); border-color: rgba(255, 255, 255, .4); }
.h-reel__ctl:active { transform: scale(.97); }
.h-reel__ctl[data-reel-sound][aria-pressed="false"] { color: #000; background: var(--h-gold); border-color: var(--h-gold); }
.h-reel__icon { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.h-reel__icon--pause:before, .h-reel__icon--pause:after { position: absolute; top: 1px; bottom: 1px; width: 4px; border-radius: 1px; content: ""; background: currentColor; }
.h-reel__icon--pause:before { left: 2px; } .h-reel__icon--pause:after { right: 2px; }
.h-reel__icon--play:before { position: absolute; inset: 1px 1px 1px 3px; content: ""; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.h-reel__icon--sound:before, .h-reel__icon--mute:before { position: absolute; inset: 2px 5px 2px 0; content: ""; background: currentColor; clip-path: polygon(0 30%, 40% 30%, 100% 0, 100% 100%, 40% 70%, 0 70%); }
.h-reel__icon--sound:after { position: absolute; top: 3px; right: 0; width: 4px; height: 8px; content: ""; border: 2px solid currentColor; border-left: 0; border-radius: 0 8px 8px 0; }
.h-reel__icon--mute:after { position: absolute; top: 6px; right: 0; width: 6px; height: 2px; content: ""; background: currentColor; }

/* Showreel: the frame fills the section (a wider wrap, nearly a screen tall), the heading on two lines */
.h-reel .h-wrap { width: min(100% - var(--page-gutter) * 2, 1640px); }
.h-reel .h-head { margin-bottom: clamp(20px, 3vh, 36px); }
.h-reel .h-head--center h2 { max-width: 24ch; font-size: clamp(32px, 3.4vw, 56px); }
.h-reel .h-reel__frame { border-radius: clamp(18px, 2vw, 32px); }
@media (max-width: 820px) { .h-reel .h-reel__frame { width: 100%; } }

/* ---------- Hero motion: the stories run by themselves (no number, no Pause) ---------- */
/* Crossfade between photographs, and a slow push-in on the photograph that is up */
.h-hero .h-slide { transition: opacity 1200ms var(--h-ease); }
.h-hero .h-slide img { transform: scale(1); transition: transform 0s linear 1300ms; }
.h-hero .h-slide.is-active img { transform: scale(1.08); transition: transform calc(var(--slide-ms, 7000ms) + 1500ms) cubic-bezier(.25, .1, .25, 1); }
/* The words leave together, then come back one after another: eyebrow, headline, lede */
.h-hero__copy .h-eyebrow, .h-hero .h-hero__title, .h-hero .h-hero__lede { transition: opacity 650ms var(--h-ease), transform 800ms var(--h-ease); }
.h-hero .h-hero__title { transition-delay: 90ms; }
.h-hero .h-hero__lede { transition-delay: 180ms; }
.h-hero__copy.is-changing .h-eyebrow, .h-hero__copy.is-changing .h-hero__title, .h-hero__copy.is-changing .h-hero__lede { opacity: 0; transform: translateY(16px); transition-duration: 260ms; transition-delay: 0s; }
.h-hero__copy.is-changing [data-hero-eyebrow] { opacity: 1; }
/* Progress lines: the current story's line fills gold over the time it stays up */
.h-hero .h-dots button:after { background: rgba(255, 255, 255, .24); }
.h-hero .h-dots button[aria-current="true"]:after { background: rgba(255, 255, 255, .24); }
.h-hero .h-dots button:before { position: absolute; z-index: 1; top: 50%; left: 6px; right: 6px; height: 2px; content: ""; border-radius: 2px; background: var(--h-gold); transform: scaleX(0); transform-origin: left; }
.h-hero .h-dots button[aria-current="true"]:before { transform: scaleX(1); }
.h-hero .h-dots button.is-running:before { transform: scaleX(0); animation: h-progress var(--slide-ms, 7000ms) linear forwards; }
.h-hero.is-holding .h-dots button.is-running:before { animation-play-state: paused; }
@keyframes h-progress { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .h-hero .h-slide.is-active img { transform: none; transition: none; }
  .h-hero__copy .h-eyebrow, .h-hero .h-hero__title, .h-hero .h-hero__lede { transition: none; }
  .h-hero .h-dots button.is-running:before { animation: none; transform: scaleX(1); }
}

/* ---------- Work: expanded view (native dialog) ---------- */
.h-flow__card.is-active { cursor: zoom-in; }
.h-flow__card.is-active:before { position: absolute; z-index: 2; top: 16px; right: 16px; padding: 7px 12px; content: "View"; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #f3f0e8; background: rgba(0, 0, 0, .4); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(-4px); transition: opacity 250ms var(--h-ease), transform 250ms var(--h-ease); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.h-flow__card.is-active:hover:before { opacity: 1; transform: none; }
@media (hover: none) { .h-flow__card.is-active:before { opacity: 1; transform: none; } }
html.has-lightbox { overflow: hidden; }
.h-lightbox { --h-text: #f3f0e8; --h-muted: rgba(243, 240, 232, .7); --h-line: rgba(255, 255, 255, .12); width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: #f3f0e8; background: #050505; font-family: var(--font-body, inherit); }
.h-lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.h-lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: h-lb-in 320ms var(--h-ease, ease) both; }
@keyframes h-lb-in { from { opacity: 0; } to { opacity: 1; } }
.h-lightbox__stage { display: grid; place-items: center; min-height: 0; padding: clamp(64px, 8vh, 88px) clamp(16px, 7vw, 120px) 12px; }
.h-lightbox__stage img, .h-lightbox__stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 16px; object-fit: contain; background: #000; box-shadow: 0 40px 120px -40px rgba(191, 144, 0, .45); }
.h-lightbox.is-swapping .h-lightbox__stage > * { animation: h-lb-swap 480ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes h-lb-swap { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.h-lightbox__caption { padding: 14px clamp(16px, 7vw, 120px) clamp(20px, 4vh, 36px); }
.h-lightbox__caption .h-tag { margin-bottom: 10px; }
.h-lightbox__title { margin: 0 0 4px; font-family: var(--font-display, inherit); font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.h-lightbox__meta { margin: 0; color: rgba(243, 240, 232, .66); font-size: 14px; }
.h-lightbox__count { position: absolute; top: 22px; left: clamp(16px, 3vw, 32px); margin: 0; color: rgba(243, 240, 232, .66); font-size: 14px; font-variant-numeric: tabular-nums; }
.h-lightbox__count strong { color: #f3f0e8; font-size: 22px; font-weight: 500; }
.h-lightbox__close, .h-lightbox__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #f3f0e8; background: rgba(255, 255, 255, .06); cursor: pointer; transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.h-lightbox__close svg, .h-lightbox__nav svg { width: 22px; height: 22px; }
.h-lightbox__close:hover, .h-lightbox__nav:hover { border-color: #bf9000; background: rgba(191, 144, 0, .18); }
.h-lightbox__close:active, .h-lightbox__nav:active { transform: scale(.94); }
.h-lightbox__close { top: 16px; right: clamp(16px, 3vw, 32px); }
.h-lightbox__nav { top: 50%; margin-top: -26px; }
.h-lightbox__nav--prev { left: clamp(8px, 2vw, 32px); }
.h-lightbox__nav--next { right: clamp(8px, 2vw, 32px); }
.h-lightbox :focus-visible { outline: 2px solid #bf9000; outline-offset: 3px; }
@media (max-width: 760px) {
  .h-lightbox__stage { padding: 72px 12px 8px; }
  .h-lightbox__nav { top: auto; bottom: 20px; margin-top: 0; width: 48px; height: 48px; }
  .h-lightbox__nav--prev { left: auto; right: 76px; }
  .h-lightbox__nav--next { right: 16px; }
  .h-lightbox__caption { padding-right: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-lightbox[open], .h-lightbox.is-swapping .h-lightbox__stage > * { animation: none; }
}

/* ---------- Livestream first: the LIVE broadcast pill (stays up whichever story shows) ---------- */
.h-onair { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 0 0 18px; padding: 5px 16px 5px 5px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #f3f0e8; background: rgba(0, 0, 0, .42); font-size: 14px; font-weight: 500; line-height: 1.3; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.h-onair__badge { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; color: #000; background: var(--h-gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; box-shadow: 0 0 24px rgba(191, 144, 0, .45); }
.h-onair__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--h-green); }
.h-onair__dot:after { position: absolute; inset: -4px; content: ""; border-radius: 50%; border: 2px solid var(--h-green); opacity: 0; animation: h-onair-ping 1.6s cubic-bezier(.2, .7, .3, 1) infinite; }
@keyframes h-onair-ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.h-onair__live { display: inline-block; min-width: 3.6em; font-variant-numeric: tabular-nums; }
/* Headline lines rise out of their own mask (GSAP SplitText adds the wrappers) */
.h-hero__title .h-line { padding-bottom: .06em; }
@media (max-width: 560px) {
  .h-onair { gap: 9px; padding-right: 12px; font-size: 12px; border-radius: 20px; }
  .h-onair__badge { padding: 5px 10px 5px 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .h-onair__dot:after { animation: none; } }

/* ---------- Streamed live: eleven real streams (pinned sideways travel on wide screens) ---------- */
.h-streams { background: #000; }
.h-streams__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 20px 64px; margin-bottom: clamp(26px, 4vh, 44px); }
.h-streams__head h2 { max-width: 15ch; }
.h-streams__side { display: grid; gap: 18px; }
.h-streams__count { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--h-muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.h-streams__count strong { color: var(--h-gold); font-family: var(--font-display, inherit); font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.h-streams__bar { position: relative; flex: 1 1 auto; max-width: 220px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.h-streams__bar span { position: absolute; inset: 0; background: var(--h-gold); transform: scaleX(0); transform-origin: left; }
.h-streams__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.h-streams__viewport::-webkit-scrollbar { display: none; }
.h-streams__track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; margin: 0; padding: 4px var(--page-gutter) 8px; list-style: none; }
.h-stream { position: relative; flex: 0 0 auto; width: clamp(280px, 34vw, 520px); scroll-snap-align: start; scroll-margin-left: var(--page-gutter); }
.h-stream__btn { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.h-stream__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.h-stream__media img { width: 100%; height: 100%; object-fit: cover; }
.h-stream__media:after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .45)); transition: background-color 300ms var(--h-ease); }
.h-stream__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 64px; height: 64px; border-radius: 50%; background: var(--h-gold); box-shadow: 0 12px 34px -10px rgba(191, 144, 0, .7); transform: translate(-50%, -50%) scale(.86); opacity: .92; transition: transform 300ms var(--h-ease), opacity 300ms var(--h-ease); }
.h-stream__play:after { position: absolute; top: 50%; left: 54%; width: 18px; height: 20px; content: ""; background: #000; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translate(-50%, -50%); }
.h-stream__btn:hover .h-stream__play, .h-stream__btn:focus-visible .h-stream__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.h-stream__btn:hover .h-stream__media { box-shadow: 0 0 0 1px rgba(191, 144, 0, .5), 0 30px 60px -30px rgba(191, 144, 0, .45); }
.h-stream__btn:focus-visible { outline: 2px solid var(--h-gold); outline-offset: 6px; border-radius: 18px; }
.h-stream__meta { display: grid; gap: 8px; padding: 16px 4px 0; }
.h-stream__kind { display: inline-flex; align-items: center; gap: 8px; color: var(--h-gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.h-stream__dot { width: 7px; height: 7px; border-radius: 50%; background: #0b8a45; box-shadow: 0 0 0 3px rgba(4, 89, 42, .45); }
.h-stream__name { display: -webkit-box; overflow: hidden; color: var(--h-text); font-family: var(--font-display, inherit); font-size: clamp(19px, 1.7vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.h-stream__no { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 8px; border-radius: 6px; color: #f3f0e8; background: rgba(0, 0, 0, .55); font-size: 11px; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
/* Pinned: one screen tall, the head on top and the row of cards travelling under it */
.h-streams.is-pinned { padding: 0; }
.h-streams.is-pinned .h-streams__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--h-head) + 12px) 0 28px; }
.h-streams.is-pinned .h-streams__viewport { overflow: visible; scroll-snap-type: none; }
.h-streams.is-pinned .h-stream { width: clamp(360px, 36vw, 600px); }
@media (max-width: 820px) {
  .h-streams__head { grid-template-columns: 1fr; }
  .h-stream { width: min(82vw, 420px); }
}
/* Stream viewer: a 16:9 player as large as the screen allows */
.h-lightbox--stream .h-lightbox__stage iframe { width: min(100%, calc((100dvh - 210px) * 16 / 9)); height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; box-shadow: 0 40px 120px -40px rgba(191, 144, 0, .45); }

/* ---------- What we stream: the moving row of event types ---------- */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.h-events { position: relative; overflow: hidden; padding: clamp(40px, 7vh, 80px) 0 clamp(32px, 5vh, 56px); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); background: #000; }
.h-events__viewport { overflow: hidden; }
/* At rest (reduced motion, no script): one wrapped, still list */
.h-events__track { display: block; padding-inline: var(--page-gutter); }
.h-events__track .h-events__list[aria-hidden="true"] { display: none; }
.h-events__list { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.h-events__word { display: inline-flex; align-items: center; color: var(--h-text); font-family: var(--font-display, inherit); font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; }
.h-events__word:after { width: .28em; height: .28em; margin: 0 .55em; flex: 0 0 auto; content: ""; border-radius: 50%; background: var(--h-gold); }
.h-events__word.is-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(243, 240, 232, .85); }
/* Moving: two copies side by side, drifting left by half the track on a loop */
.h-events.is-moving .h-events__track { display: flex; width: max-content; padding-inline: 0; will-change: transform; }
.h-events.is-moving .h-events__list[aria-hidden="true"] { display: flex; }
.h-events.is-moving .h-events__list { flex-wrap: nowrap; }
.h-events.is-moving .h-events__word { font-size: clamp(44px, 7vw, 112px); line-height: 1.05; }
.h-events__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(20px, 3vh, 32px); }
.h-events__note { max-width: 52ch; margin: 0; color: var(--h-muted); font-size: 15px; line-height: 1.55; }
.h-events__pause { flex: 0 0 auto; }
.h-events:not(.is-moving) .h-events__pause { display: none; }
@media (max-width: 560px) { .h-events__foot { flex-direction: column; align-items: flex-start; } }

/* ---------- "Going live" intro film: the camera screen counts 3, 2, 1 and shows the logo, then the
   film wipes up to the hero (once per visit, full motion only, Skip at any time) ---------- */
.h-intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .h-intro { position: fixed; z-index: 200; inset: 0; display: block; background: #000; }
html.intro-on .h-enter { animation-play-state: paused; } /* the hero's own entrance waits for the intro */
.h-intro__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 55%; background: #000 center / cover no-repeat; }
.h-intro__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%, transparent 78%, rgba(0, 0, 0, .55)); }
.h-intro__skip { position: absolute; top: max(20px, env(safe-area-inset-top)); right: clamp(16px, 3vw, 40px); min-height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #f3f0e8; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 700 13px/1 var(--font-body, inherit); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.h-intro__skip:hover { color: #000; background: #bf9000; border-color: #bf9000; }
.h-intro__skip:focus-visible { outline: 2px solid #bf9000; outline-offset: 3px; }
.h-intro__bar { position: absolute; right: clamp(16px, 3vw, 40px); bottom: max(24px, env(safe-area-inset-bottom)); left: clamp(16px, 3vw, 40px); height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.h-intro__bar span { position: absolute; inset: 0; background: #bf9000; transform: scaleX(0); transform-origin: left; }
/* Tall phone screens: "cover" would crop the camera screen away, so the film runs wide and
   letterboxed, sized so the whole camera screen fits across the phone */
@media (max-aspect-ratio: 4/5) {
  .h-intro__film { top: 50%; left: 50%; width: 165vw; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transform: translate(-54%, -50%); }
  .h-intro__shade { background: none; }
}

/* Partner strip: a slim band after the clients, gear makers' logos in one slow row */
.h-partners { padding-block: clamp(40px, 6vw, 64px); background: var(--h-bg); border-block: 1px solid var(--h-line); }
.h-partners__inner { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.h-partners__label { display: grid; gap: 8px; margin: 0; }
.h-partners__label .h-eyebrow { margin: 0; }
.h-partners__line { color: var(--h-muted); font-size: 15px; line-height: 1.45; }
.h-partners__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.h-partners__track { display: flex; width: max-content; animation: h-marquee 42s linear infinite; }
.h-partners:hover .h-partners__track, .h-partners:focus-within .h-partners__track { animation-play-state: paused; }
.h-partners__list { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); margin: 0; padding: 0 clamp(40px, 5vw, 72px) 0 0; list-style: none; }
.h-partners__list li { display: grid; place-items: center; height: 72px; flex: none; }
.h-partners__list img { display: block; width: auto; height: var(--logo-h, 36px); opacity: .62; transition: opacity .3s ease, transform .3s ease; }
.h-partners__list li:hover img { opacity: 1; transform: translateY(-2px); }
@media (max-width: 760px) {
  .h-partners__inner { grid-template-columns: 1fr; gap: 18px; }
  .h-partners__list li { height: 60px; }
  .h-partners__list img { height: calc(var(--logo-h, 36px) * .8); }
}
@media (prefers-reduced-motion: reduce) {
  .h-partners__track { animation: none; width: auto; }
  .h-partners__viewport { -webkit-mask-image: none; mask-image: none; }
  .h-partners__list { flex-wrap: wrap; padding: 0; gap: 20px 40px; }
  .h-partners__list[aria-hidden="true"] { display: none; }
  .h-partners__list img { transition: none; }
}

/* Hero without wording (data-copy-hidden on .h-hero): the pictures carry the first screen.
   The h1 stays in the page for screen readers, search and the OS bridge; the rest is hidden. */
.h-hero[data-copy-hidden] .h-hero__ghost,
.h-hero[data-copy-hidden] .h-onair,
.h-hero[data-copy-hidden] .h-eyebrow,
.h-hero[data-copy-hidden] .h-hero__lede { display: none; }
.h-hero[data-copy-hidden] .h-hero__title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Tall phone screens: a slide marked data-phone-lift (the live-broadcast camera) is drawn a little
   taller and lifted, so its camera screen sits centred above the buttons instead of behind them */
@media (max-aspect-ratio: 4/5) {
  .h-slide[data-phone-lift] img { height: 112%; translate: 0 -10.7%; object-position: 31% 50% !important; }
}

/* ---------- Streamed live, upgraded: a stage lit by the stream in view, liquid-glass frames ---------- */
.h-streams { position: relative; isolation: isolate; background: #030403; }
/* The backdrop glows with a blurred copy of the stream nearest the middle; two layers cross-fade (home.js) */
.h-streams__ambient {
  position: absolute;
  z-index: -1;
  inset: -10%;
  background: center / cover no-repeat;
  filter: blur(80px) saturate(1.6) brightness(.55);
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.h-streams__ambient.is-on { opacity: .8; }
.h-streams::before {                    /* keeps the edges dark and the words readable */
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(70% 60% at 50% 60%, rgba(3, 4, 3, 0), rgba(3, 4, 3, .75) 100%),
    linear-gradient(180deg, rgba(3, 4, 3, .7), rgba(3, 4, 3, .15) 35%, rgba(3, 4, 3, .4));
  pointer-events: none;
}
.h-streams__head { align-items: end; }
.h-streams__side { align-self: end; justify-items: end; }
.h-streams__count { gap: 14px; color: rgba(243, 240, 232, .72); letter-spacing: .14em; }
.h-streams__count strong { font-size: clamp(40px, 4vw, 56px); line-height: 1; text-shadow: 0 0 30px rgba(191, 144, 0, .45); }

/* Liquid-glass frame round each stream */
.h-stream__btn { transition: transform 500ms cubic-bezier(.22, 1, .36, 1); }
.h-stream__media {
  padding: 8px;
  border-radius: 26px;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 50%),
    rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 40px 70px -36px rgba(0, 0, 0, .9);
  transition: box-shadow 400ms ease;
}
.h-stream__media img { border-radius: 19px; }
.h-stream__media:after { inset: 8px; border-radius: 19px; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .5)); }
/* A light sheen sweeps across the glass on hover */
.h-stream__media:before {
  position: absolute;
  z-index: 2;
  inset: 8px;
  border-radius: 19px;
  content: "";
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, 0) 65%);
  background-size: 250% 100%;
  background-position: 130% 0;
  pointer-events: none;
}

/* Glass tags: the number top-left, "Replay" with a YouTube mark top-right */
.h-stream__no {
  top: 20px;
  left: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.h-stream__media .h-stream__replay {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  color: #f3f0e8;
  background: rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.h-stream__replay svg { width: 18px; height: 13px; }

/* Play: gold with a glass ring that pulses outward on hover */
.h-stream__play {
  z-index: 3;
  width: 72px;
  height: 72px;
  background: linear-gradient(180deg, #d9a812, #bf9000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 8px rgba(255, 255, 255, .1), 0 16px 40px -10px rgba(191, 144, 0, .8);
}
.h-stream__play:before { position: absolute; inset: -8px; border-radius: 50%; content: ""; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); opacity: 0; }
.h-stream__kind { gap: 10px; }
.h-stream__dot { background: #bf9000; box-shadow: 0 0 0 3px rgba(191, 144, 0, .25), 0 0 10px rgba(191, 144, 0, .8); }

@media (hover: hover) and (pointer: fine) {
  .h-stream__btn:hover { transform: translateY(-6px); }
  .h-stream__btn:hover .h-stream__media { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(191, 144, 0, .55), 0 50px 80px -36px rgba(191, 144, 0, .5); }
  .h-stream__btn:hover .h-stream__media:before { background-position: -30% 0; transition: background-position 900ms cubic-bezier(.22, 1, .36, 1); }
  .h-stream__btn:hover .h-stream__play:before { animation: h-play-ring 1.4s cubic-bezier(.22, 1, .36, 1) infinite; }
}
@keyframes h-play-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.h-stream__btn:active { transform: translateY(-2px) scale(.99); }

@media (prefers-reduced-motion: reduce) {
  .h-stream__btn, .h-streams__ambient { transition: none; }
  .h-stream__btn:hover { transform: none; }
  .h-stream__btn:hover .h-stream__play:before { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .h-stream__media, .h-stream__no, .h-stream__media .h-stream__replay { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: #151715; }
}
@media (max-width: 1023px) { .h-streams__side { justify-items: start; } }
