
/* ==========================================================================
   LUMILAS — shared stylesheet
   Design tokens first: swap these values to re-theme the whole site.
   ========================================================================== */

:root {
  /* ---- Spectrum (from the LumiLas wordmark chip bar) ---- */
  --spectrum-1: #00E8FF;
  --spectrum-2: #4FA8FF;
  --spectrum-3: #8A7BFF;
  --spectrum-4: #B44BF8;
  --spectrum-5: #FC03FB; /* brand primary — magenta */
  --spectrum-6: #FF3EA0;
  --spectrum-7: #FF7A6E;
  --spectrum-8: #FFA94D;
  --spectrum-9: #FFEB3B;
  --spectrum-10: #48F06E; /* laser green — laser service + live/confirmed states */

  /* prism / wavelength order (token numbering is historical) */
  --gradient-spectrum: linear-gradient(90deg,
    var(--spectrum-4), var(--spectrum-3), var(--spectrum-2), var(--spectrum-1),
    var(--spectrum-10), var(--spectrum-9), var(--spectrum-8), var(--spectrum-7),
    var(--spectrum-6), var(--spectrum-5));
  --gradient-beam: linear-gradient(135deg, var(--spectrum-4), var(--spectrum-3), var(--spectrum-2), var(--spectrum-1), var(--spectrum-10), var(--spectrum-9), var(--spectrum-8), var(--spectrum-7), var(--spectrum-6), var(--spectrum-5));

  /* ---- Neutrals (2026.07: carbon, zero tint) ---- */
  --black-0: #050505;
  --black-1: #0C0C0C;
  --black-2: #141414;
  --black-3: #1D1D1D;
  --black-4: #282828;
  --gray-1:  #3C3C3C;
  --gray-2:  #646464;
  --gray-3:  #9E9E9E;
  --gray-4:  #CFCFCF;
  --white:   #F5F5F5;

  /* ---- Accents ---- */
  --accent: var(--spectrum-5);
  --accent-strong: #E000E0;
  --accent-soft: rgba(252, 3, 251, 0.14);
  --cyan: var(--spectrum-1);
  --cyan-soft: rgba(0, 232, 255, 0.12);

  /* ---- Service hues (one per scene surface) ---- */
  --service-design: var(--spectrum-5);       /* magenta */
  --service-programming: var(--spectrum-1);  /* cyan */
  --service-laser: var(--spectrum-10);       /* laser green — replaces blue */
  --service-projects: var(--spectrum-4);     /* violet */
  --service-about: var(--spectrum-9);        /* yellow */

  /* ---- Success / live-confirmed (laser green owns this) ---- */
  --success: var(--spectrum-10);
  --success-soft: rgba(72, 240, 110, 0.14);

  /* ---- Scene blooms (radial, one per surface, <=12% alpha) ---- */
  --bloom-design: rgba(252, 3, 251, 0.08);
  --bloom-programming: rgba(0, 232, 255, 0.08);
  --bloom-laser: rgba(72, 240, 110, 0.08);
  --bloom-projects: rgba(180, 75, 248, 0.09);
  --bloom-about: rgba(255, 235, 59, 0.07);
  --bloom-cold: rgba(0, 232, 255, 0.06);

  /* ---- Cold scene (all technical data — never warm) ---- */
  --cold-white: #D6EEFF;
  --ice-blue: #78B9FF;

  /* ---- Cinematic dip core ---- */
  --dip-core: rgba(4, 4, 4, 0.94);

  /* ---- Semantic aliases ---- */
  --bg-page: var(--black-1);
  --bg-deep: var(--black-0);
  --surface-raised: var(--black-2);
  --surface-card: var(--black-3);
  --surface-elevated: var(--black-4);
  --text-heading: var(--white);
  --text-body: var(--gray-4);
  --text-muted: var(--gray-3);
  --text-faint: var(--gray-2);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* ---- Typography (2026.07 refresh: Orbitron / Chakra Petch / Aldrich) ---- */
  --font-display: 'Michroma', 'Chakra Petch', system-ui, sans-serif;
  --font-body: 'Chakra Petch', system-ui, sans-serif;
  --font-console: 'Aldrich', 'Chakra Petch', ui-monospace, monospace;
  --font-mono: var(--font-console); /* alias — console layer */
  /* live-ticking digits (timecode/counters) need TRUE fixed-width figures:
     Aldrich is proportional, so a 25fps timecode jitters. Use a real monospace here. */
  --font-tc: 'Martian Mono', ui-monospace, 'SF Mono', 'Roboto Mono', 'Courier New', monospace;

  /* Orbitron runs ~15% wide: display sizes stepped down one notch */
  /* px scale: 12 13 15 17 20 24 30 40 56 76 */
  --text-xs: 0.75rem;    /* 12 */
  --text-sm: 0.8125rem;  /* 13 */
  --text-base: 0.9375rem;/* 15 */
  --text-md: 1.0625rem;  /* 17 */
  --text-lg: 1.25rem;    /* 20 */
  --text-xl: 1.5rem;     /* 24 */
  --text-2xl: clamp(1.6rem, 1.15rem + 1.6vw, 1.875rem);  /* 30 */
  --text-3xl: clamp(1.9rem, 1.25rem + 2.4vw, 2.5rem);    /* 40 */
  --text-4xl: clamp(2.3rem, 1.55rem + 3.4vw, 3.5rem);    /* 56 */
  --text-5xl: clamp(2.6rem, 1.55rem + 4.6vw, 4.75rem);   /* 76 */

  --weight-body: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-display: 400;
  --weight-black: 400;

  --leading-tight: 1.08;
  --leading-heading: 1.18;
  --leading-body: 1.65;
  --tracking-display: 0.01em;   /* Michroma: whisper of positive air, never negative */
  --tracking-caps: 0.14em;

  /* ---- Spacing ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --band-pad: clamp(64px, 5vw + 40px, 112px);

  /* ---- Radii ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* ---- Effects ---- */
  --glow-accent: 0 0 24px rgba(252, 3, 251, 0.35);
  --glow-accent-lg: 0 0 48px rgba(252, 3, 251, 0.45);
  --glow-cyan: 0 0 24px rgba(0, 232, 255, 0.35);
  --glow-success: 0 0 24px rgba(72, 240, 110, 0.35);
  --shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 120ms;
  --duration-base: 220ms;
  --duration-slow: 420ms;
  --blur-glass: blur(16px);

  --container-max: 1200px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-heading);
  font-family: var(--font-display);
  line-height: var(--leading-heading);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; transition: color var(--duration-base) var(--ease-out); }
a:hover { color: var(--white); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--black-0);
  color: var(--white);
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* ==========================================================================
   Type utilities
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-console);
  font-size: var(--text-xs);
  font-weight: var(--weight-body);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--page-a, var(--cyan)); /* scene layer: eyebrow carries the surface service hue */
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--page-a, var(--cyan));
  border-radius: 2px;
  opacity: 0.9;
}

.display-xl {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
}
.display-lg {
  font-size: var(--text-4xl);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
}
.title-lg { font-size: var(--text-3xl); font-weight: var(--weight-display); letter-spacing: 0; }
.title-md { font-size: var(--text-xl); font-weight: var(--weight-semibold); }
.title-sm { font-size: var(--text-lg); font-weight: var(--weight-semibold); }

.lede { font-size: var(--text-md); max-width: 58ch; }

.mono { font-family: var(--font-mono); }

.accent-word {
  background: var(--gradient-beam);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

/* Buttons — 2026.07 "dimmer tint": rest = accent tint + bright outline + accent text;
   hover floods to solid accent, text flips, glow ignites. No shrink transforms. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Primary — magenta dimmer tint */
.btn-beam {
  background: rgba(252, 3, 251, 0.14);
  border: 1px solid rgba(252, 3, 251, 0.55);
  color: #FC03FB;
}
.btn-beam:hover {
  background: #FC03FB;
  border-color: #FC03FB;
  color: #FFFFFF;
  box-shadow: 0 0 24px rgba(252, 3, 251, 0.35);
}
.btn-beam:active { background: #E000E0; border-color: #E000E0; color: #FFFFFF; }

/* Secondary — cyan dimmer tint */
.btn-ghost {
  background: rgba(0, 232, 255, 0.12);
  border: 1px solid rgba(0, 232, 255, 0.5);
  color: #00E8FF;
}
.btn-ghost:hover {
  background: #00E8FF;
  border-color: #00E8FF;
  color: #050505;
  box-shadow: 0 0 24px rgba(0, 232, 255, 0.35);
}
.btn-ghost:active { background: #00C4D6; border-color: #00C4D6; color: #050505; }

/* Laser green dimmer tint — laser service / live-confirmed CTAs */
.btn-laser {
  background: rgba(72, 240, 110, 0.14);
  border: 1px solid rgba(72, 240, 110, 0.55);
  color: #48F06E;
}
.btn-laser:hover {
  background: #48F06E;
  border-color: #48F06E;
  color: #050505;
  box-shadow: 0 0 24px rgba(72, 240, 110, 0.35);
}
.btn-laser:active { background: #35D65A; border-color: #35D65A; color: #050505; }

.btn-dark {
  background: var(--surface-card);
  color: var(--white);
  border-color: var(--border-subtle);
}
.btn-dark:hover { background: var(--surface-elevated); color: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-semibold);
  color: var(--cyan);
}
.text-link:hover { color: var(--white); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

/* Top bar — transparent; each element floats as its own glass object */
.site-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), transparent);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 88px;
  padding-inline: clamp(20px, 3vw, 40px);
}
.top-inner > * { pointer-events: auto; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }

.top-status {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.top-status .sep { color: var(--gray-1); }
.top-status [data-status-tc] { font-family: var(--font-tc);  color: var(--text-muted); min-width: 8.5ch; }
.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-accent);
  animation: pulse 2.4s var(--ease-out) infinite;
}

/* language switcher */
.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(9, 9, 15, 0.55);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.lang-switch button:hover { color: var(--white); }
.lang-switch button[aria-pressed="true"] { background: var(--surface-elevated); color: var(--white); }

/* menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(9, 9, 15, 0.55);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.menu-toggle:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.menu-icon { display: grid; gap: 5px; width: 18px; }
.menu-icon span { height: 2px; background: currentColor; border-radius: 2px; transition: transform 300ms var(--ease-out), width 300ms var(--ease-out); }
.menu-icon span:last-child { width: 70%; justify-self: end; }
body.menu-open .menu-icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .menu-icon span:last-child { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }

/* Fullscreen takeover menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  display: flex;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 420ms var(--ease-out), visibility 0s linear 420ms;
}
.menu-overlay::before {
  content: "";
  position: fixed;
  inset: -30%;
  background:
    radial-gradient(40% 40% at 72% 18%, rgba(252, 3, 251, 0.12), transparent 65%),
    radial-gradient(40% 40% at 18% 86%, rgba(0, 232, 255, 0.1), transparent 65%);
  pointer-events: none;
}
.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 420ms var(--ease-out);
}
body.menu-open { overflow: hidden; }
body.no-scroll { overflow: hidden; }

.menu-inner {
  position: relative;
  width: 100%;
  margin: auto;
  display: grid;
  gap: var(--space-8);
  padding-block: 130px 72px;
}
@media (min-width: 900px) {
  .menu-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
}
.menu-links { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
  padding: clamp(10px, 1.6vw, 18px) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.menu-links .mnum {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--text-faint);
  transition: color var(--duration-base) var(--ease-out);
}
.menu-links .mtext {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 4.2vw, 4.2rem);
  font-weight: var(--weight-black);
  letter-spacing: 0;
  line-height: 1.05;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-2);
  transition: color 300ms var(--ease-out), -webkit-text-stroke-color 300ms var(--ease-out), transform 400ms var(--ease-out);
}
.menu-links a:hover .mtext,
.menu-links a:focus-visible .mtext { color: var(--white); -webkit-text-stroke-color: transparent; transform: translateX(10px); }
.menu-links a:hover .mnum { color: var(--cyan); }
.menu-links a[aria-current="page"] .mtext { color: var(--white); -webkit-text-stroke-color: transparent; }
.menu-links a[aria-current="page"] .mnum { color: var(--accent); }

.menu-overlay .menu-links li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.menu-overlay.is-open .menu-links li { opacity: 1; transform: none; }
.menu-overlay.is-open .menu-links li:nth-child(1) { transition-delay: 60ms; }
.menu-overlay.is-open .menu-links li:nth-child(2) { transition-delay: 110ms; }
.menu-overlay.is-open .menu-links li:nth-child(3) { transition-delay: 160ms; }
.menu-overlay.is-open .menu-links li:nth-child(4) { transition-delay: 210ms; }
.menu-overlay.is-open .menu-links li:nth-child(5) { transition-delay: 260ms; }
.menu-overlay.is-open .menu-links li:nth-child(6) { transition-delay: 310ms; }
.menu-overlay.is-open .menu-links li:nth-child(7) { transition-delay: 360ms; }

.menu-aside { display: grid; gap: var(--space-3); justify-items: start; padding-bottom: var(--space-2); }
.menu-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-faint); margin: 0; }
.menu-contact { font-size: var(--text-lg); color: var(--gray-4); font-weight: var(--weight-semibold); }
.menu-contact:hover { color: var(--cyan); }
.menu-hqline { color: var(--text-muted); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.06em; }
.menu-spectrum { width: 120px; height: 3px; border-radius: 2px; background: var(--gradient-spectrum); margin-block: var(--space-4); }

@media (max-width: 760px) {
  .top-status { display: none; }
  .top-inner { min-height: 76px; }
}

/* ==========================================================================
   Bands (section rhythm — dark on darker, hard switches)
   ========================================================================== */

.band { position: relative; padding-block: var(--band-pad); background: var(--bg-page); }
.band-deep { background: var(--bg-deep); }

.band-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); max-width: 720px; }
.band-head .lede { color: var(--text-muted); }

.spectrum-rule { height: 2px; background: var(--gradient-spectrum); border: 0; margin: 0; opacity: 0.85; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--bg-deep);
  overflow: hidden;
}
/* Hero engine — hard clip-path wipes with a spectrum leading edge,
   slow programmed drift per slide, mouse parallax on the whole stage. */
.hero-stage { position: absolute; inset: -3%; z-index: 1; will-change: transform; transition: transform 600ms var(--ease-out); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-prev { opacity: 1; z-index: 1; }
.hero-slide.is-active { opacity: 1; z-index: 2; animation: slide-wipe 1.5s var(--ease-out) both; }
.hero-slide.is-active img { animation: slide-drift 9s linear both; }
.hero-slide.is-active::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-beam);
  filter: blur(1px);
  animation: wipe-edge 1.5s var(--ease-out) both;
}
@keyframes slide-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes wipe-edge {
  0%   { left: 0; opacity: 0.9; }
  94%  { left: calc(100% - 3px); opacity: 0.9; }
  100% { left: calc(100% - 3px); opacity: 0; }
}
@keyframes slide-drift {
  from { transform: scale(1.1) translate3d(1.2%, 0, 0); }
  to   { transform: scale(1.04) translate3d(-1%, 0, 0); }
}
/* occasional spectrum scanline drifting down the hero */
.hero-scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero-scan::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -4px;
  height: 2px;
  background: var(--gradient-spectrum);
  opacity: 0;
  animation: scanline 13s linear infinite;
}
@keyframes scanline {
  0%   { transform: translateY(0); opacity: 0; }
  2%   { opacity: 0.45; }
  10%  { transform: translateY(105vh); opacity: 0.3; }
  10.5%, 100% { transform: translateY(105vh); opacity: 0; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5,5,8,0.62) 0%, rgba(5,5,8,0.28) 38%, rgba(5,5,8,0.92) 90%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-block: var(--space-9) var(--space-8);
  display: grid;
  gap: var(--space-5);
}
.hero-latest {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  width: fit-content;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-4);
}
.hero-latest:hover { border-color: var(--cyan); color: var(--white); }
.hero-latest .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-accent);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero-sub { max-width: 52ch; color: var(--text-muted); font-size: var(--text-md); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Sub-page hero */
.page-hero {
  --bloom-a: var(--spectrum-1);
  --bloom-b: var(--spectrum-5);
  position: relative;
  background: var(--bg-deep);
  padding-top: calc(90px + var(--space-8));
  padding-bottom: var(--band-pad);
  overflow: hidden;
}
/* Animated light-and-shadow blooms — two colored "sources" drift like
   moving heads across the black; a soft shadow swims between them. */
.page-hero-bloom { position: absolute; inset: 0; pointer-events: none; }
.page-hero-bloom::before,
.page-hero-bloom::after {
  content: "";
  position: absolute;
  width: 68vmax;
  height: 68vmax;
  border-radius: 50%;
  filter: blur(48px);
  will-change: transform, opacity;
}
.page-hero-bloom::before {
  top: -34vmax;
  right: -18vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bloom-a) 26%, transparent), transparent 70%);
  animation: bloom-drift-a 16s var(--ease-out) infinite alternate;
}
.page-hero-bloom::after {
  bottom: -38vmax;
  left: -20vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bloom-b) 24%, transparent), transparent 70%);
  animation: bloom-drift-b 21s var(--ease-out) infinite alternate;
}
.page-hero-bloom .bloom-shadow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(40% 60% at 50% 50%, rgba(5, 5, 5, 0.9), transparent 70%);
  animation: bloom-shadow 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bloom-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
  50%  { opacity: 0.55; }
  to   { transform: translate3d(-14vw, 12vh, 0) scale(1.25); opacity: 1; }
}
@keyframes bloom-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.15); opacity: 0.7; }
  50%  { opacity: 1; }
  to   { transform: translate3d(12vw, -10vh, 0) scale(0.95); opacity: 0.6; }
}
@keyframes bloom-shadow {
  from { transform: translate3d(-12%, -6%, 0) rotate(0deg); }
  to   { transform: translate3d(12%, 8%, 0) rotate(8deg); }
}
.page-hero .container { position: relative; display: grid; gap: var(--space-5); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { color: var(--text-muted); }

.hero-split {
  display: grid;
  gap: var(--space-7);
  align-items: end;
}
@media (min-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero-split figure { margin: 0; position: relative; }
.hero-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.hero-split figcaption {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-block: 1px solid var(--border-subtle);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg-deep);
  padding: var(--space-6) var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.stat .num {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: var(--weight-display);
  color: var(--white);
  line-height: 1;
}
.stat .num span { color: var(--accent); }
.stat .label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.services-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  overflow: hidden;
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-beam);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
.service-card:hover { background: var(--surface-elevated); border-color: var(--border-strong); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--cyan);
}
.service-card h3 { font-size: var(--text-lg); }
.service-card p { color: var(--text-muted); flex-grow: 1; }
.service-card .index {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

/* ==========================================================================
   Work / gallery
   ========================================================================== */

.work-feature {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}
@media (min-width: 900px) {
  .work-feature { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: stretch; }
}
.work-feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.work-feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform var(--duration-slow) var(--ease-out); }
.work-feature:hover .work-feature-media img { transform: scale(1.025); }
.work-feature-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: flex-end;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.work-feature-body .tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tag-accent { border-color: transparent; background: var(--accent-soft); color: var(--spectrum-6); }
.tag-cyan { border-color: transparent; background: var(--cyan-soft); color: var(--cyan); }

.work-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
}
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out), opacity var(--duration-slow) var(--ease-out);
}
.work-card:hover img, .work-card:focus-visible img { transform: scale(1.05); }
.work-card .work-card-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-6) var(--space-5) var(--space-4);
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.92));
  display: grid;
  gap: var(--space-1);
}
.work-card h3 { font-size: var(--text-md); font-weight: var(--weight-semibold); }
.work-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* filter (CSS-only via radio inputs) */
.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.work-filter input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.work-filter label {
  padding: 9px 18px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.work-filter label:hover { color: var(--white); border-color: var(--border-strong); }
.work-filter input:checked + label {
  background: var(--surface-elevated);
  color: var(--white);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.work-filter input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 3px; }

#work-section:has(#f-dizajn-rasvjete:checked) .work-card:not([data-cat~="dizajn-rasvjete"]),
#work-section:has(#f-programiranje:checked) .work-card:not([data-cat~="programiranje"]),
#work-section:has(#f-laseri:checked) .work-card:not([data-cat~="laseri"]),
#work-section:has(#f-koncerti:checked) .work-card:not([data-cat~="koncerti"]),
#work-section:has(#f-korporativni:checked) .work-card:not([data-cat~="korporativni"]),
#work-section:has(#f-kazaliste:checked) .work-card:not([data-cat~="kazaliste"]) {
  opacity: 0;
  transform: scale(0.94) translateY(8px);
  filter: saturate(0.4);
  max-height: 0;
  margin: 0 !important;
  pointer-events: none;
  overflow: hidden;
  transition: opacity .38s var(--ease-out, ease), transform .45s cubic-bezier(.16,1,.3,1), filter .38s ease, max-height .5s ease .06s, margin .5s ease .06s;
}
#work-section .work-card {
  /* matched cards animate back in */
  max-height: 2000px;
  transition: opacity .45s var(--ease-out, ease), transform .55s cubic-bezier(.16,1,.3,1), filter .45s ease, max-height .5s ease;
}

/* ==========================================================================
   Process timeline
   ========================================================================== */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); } }
.timeline li {
  position: relative;
  counter-increment: step;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-5);
}
.timeline li::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--cyan);
  display: block;
  margin-bottom: var(--space-3);
}
.timeline li::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px;
  height: 2px;
  background: var(--gradient-beam);
  border-radius: 2px;
}
.timeline h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.timeline p { color: var(--text-muted); font-size: var(--text-sm); }
.timeline .mono-note {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* vertical variant */
.timeline-v { display: grid; grid-template-columns: 1fr; max-width: 760px; }
@media (min-width: 900px) { .timeline-v { grid-template-columns: 1fr; } }

/* ==========================================================================
   Press clippings
   ========================================================================== */

.press-grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }

.press-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}
.press-card:hover { background: var(--surface-elevated); border-color: var(--border-strong); }
.press-card blockquote {
  margin: 0;
  color: var(--text-body);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: 1.5;
  flex-grow: 1;
}
.press-card blockquote::before { content: "“"; color: var(--accent); font-size: 1.4em; line-height: 0; margin-right: 2px; }
.press-card cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.press-card cite::before { content: ""; width: 16px; height: 2px; background: var(--gradient-spectrum); border-radius: 2px; }

/* ==========================================================================
   Show types (laser page)
   ========================================================================== */

.show-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .show-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .show-grid { grid-template-columns: repeat(3, 1fr); } }

.show-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.show-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.show-card .show-body { padding: var(--space-5); display: grid; gap: var(--space-2); }
.show-card h3 { font-size: var(--text-lg); }
.show-card p { color: var(--text-muted); font-size: var(--text-sm); }
.show-card .show-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-blue);
}

/* ==========================================================================
   FAQ accordion (CSS-only)
   ========================================================================== */

.faq { display: grid; gap: var(--space-3); max-width: 820px; }
.faq details {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out);
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  color: var(--white);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 400;
  transition: transform var(--duration-base) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--cyan); }
.faq .faq-body { padding: 0 var(--space-6) var(--space-5); color: var(--text-muted); max-width: 68ch; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band { position: relative; overflow: hidden; background: var(--bg-deep); }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 90% at 20% 110%, var(--accent-soft), transparent 60%),
    radial-gradient(50% 90% at 85% -10%, var(--cyan-soft), transparent 60%);
}
.cta-band .container { position: relative; display: grid; gap: var(--space-5); justify-items: start; }
.cta-band .contact-line {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.cta-band .contact-line a { color: var(--gray-4); }
.cta-band .contact-line a:hover { color: var(--cyan); }

/* ==========================================================================
   Prose / two-column copy
   ========================================================================== */

.split {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.split figure { margin: 0; }
.split img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.prose { display: grid; gap: var(--space-4); max-width: 62ch; }
.prose p { color: var(--text-body); }
.prose p + p { color: var(--text-muted); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: baseline; color: var(--text-body); }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--gradient-beam);
  transform: translateY(-1px) rotate(45deg);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

.field { display: grid; gap: var(--space-2); }
.field label { color: var(--white); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.field .hint { font-size: var(--text-xs); color: var(--text-faint); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239494AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: var(--black-2); color: var(--white); }

/* ==========================================================================
   Contact page bits
   ========================================================================== */

.contact-cards { display: grid; gap: var(--space-4); }
.contact-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.contact-card .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--cyan);
}
.contact-card h3 { font-size: var(--text-base); margin-bottom: 2px; }
.contact-card p, .contact-card a { font-size: var(--text-sm); color: var(--text-muted); }
.contact-card a:hover { color: var(--cyan); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-8) var(--space-6);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-spectrum);
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--space-6); } }

.footer-brand { display: grid; gap: var(--space-4); align-content: start; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { color: var(--text-muted); font-size: var(--text-sm); max-width: 34ch; }

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-col a { color: var(--gray-4); font-size: var(--text-sm); }
.footer-col a:hover { color: var(--cyan); }
.footer-col p { color: var(--gray-4); font-size: var(--text-sm); }

.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.footer-social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all var(--duration-base) var(--ease-out);
}
.footer-social a:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--cyan); }

/* Editorial case rows (work page) */
.case-row { position: relative; margin-bottom: clamp(48px, 6vw, 88px); }
.case-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
}
.case-media img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}
.case-row:hover .case-media img { transform: scale(1.03); }
.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(5, 5, 5, 0.55) 100%);
  pointer-events: none;
}
.case-panel {
  position: relative;
  display: grid;
  gap: var(--space-3);
  background: rgba(9, 9, 15, 0.6);
  backdrop-filter: var(--blur-glass) saturate(1.4);
  -webkit-backdrop-filter: var(--blur-glass) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(245, 245, 245, 0.06);
}
.case-panel h3 { font-size: var(--text-2xl); font-weight: var(--weight-display); letter-spacing: 0; }
.case-panel p { color: var(--text-body); max-width: 44ch; }
.case-panel .case-specs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.case-num {
  position: absolute;
  top: -0.35em;
  right: var(--space-4);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-1);
  pointer-events: none;
}
@media (min-width: 900px) {
  .case-panel { position: absolute; bottom: var(--space-6); left: var(--space-6); max-width: 500px; }
  .case-row.flip .case-panel { left: auto; right: var(--space-6); }
  .case-row.flip .case-num { right: auto; left: var(--space-4); }
}
@media (max-width: 899px) {
  .case-panel { margin: -48px var(--space-4) 0; }
  .case-media img { aspect-ratio: 4 / 3; }
}

/* mixed-size grid: hero tile */
@media (min-width: 640px) {
  .work-card.span2 { grid-column: span 2; grid-row: span 2; }
  .work-card.span2 img { aspect-ratio: auto; height: 100%; }
}

/* ==========================================================================
   Misc
   ========================================================================== */

.marquee-note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Two main service categories (home) */
.duo-grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .duo-grid { grid-template-columns: 1fr 1fr; } }

.duo-card {
  --duo-a: var(--spectrum-2);
  --duo-b: var(--spectrum-5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6) var(--space-6);
  transition: border-color var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out);
}
.duo-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--duo-a), var(--duo-b));
}
.duo-card::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--duo-a) 16%, transparent), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
  opacity: 0.7;
}
.duo-card:hover { border-color: var(--border-strong); background: var(--surface-elevated); }
.duo-card:hover::after { opacity: 1; }
.duo-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-faint);
}
.duo-kicker strong { color: var(--cyan); font-weight: 500; }
.duo-card h3 { font-size: var(--text-xl); font-weight: var(--weight-display); letter-spacing: 0; }
.duo-card > p { color: var(--text-muted); max-width: 46ch; }
.duo-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.duo-links { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.duo-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 15px 2px;
  border-top: 1px solid var(--border-subtle);
  color: var(--white);
  font-weight: var(--weight-semibold);
  font-size: var(--text-md);
}
.duo-links a .arrow { color: var(--text-faint); transition: transform var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out); }
.duo-links a:hover { color: var(--cyan); }
.duo-links a:hover .arrow { transform: translateX(4px); color: var(--cyan); }
.duo-links .sub {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-body);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Scroll reveal (classes applied by main.js; disabled for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* Artist ticker — giant outlined names drifting across the black */
.ticker {
  overflow: hidden;
  padding-block: var(--space-7);
  background: var(--bg-deep);
  border-block: 1px solid var(--border-subtle);
}
.ticker-track {
  display: flex;
  align-items: baseline;
  gap: clamp(40px, 6vw, 88px);
  width: max-content;
  animation: ticker-scroll 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem);
  font-weight: var(--weight-black);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-2);
  transition: color var(--duration-slow) var(--ease-out), -webkit-text-stroke-color var(--duration-slow) var(--ease-out);
}
.ticker-track span:hover { color: var(--white); -webkit-text-stroke-color: transparent; }
.ticker-track .tick-dot {
  -webkit-text-stroke: 0;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.6rem);
  align-self: center;
  text-shadow: var(--glow-accent);
}
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ==========================================================================
   Premium layer — grain, HUD, beam sweeps, hero deck, lightbox
   ========================================================================== */

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

/* Sweeping "moving head" beam across sub-page heroes */
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% -20%;
  z-index: 0;
  background: conic-gradient(from 0deg at 50% 0%,
    transparent 0deg, transparent 156deg,
    color-mix(in srgb, var(--bloom-a) 9%, transparent) 172deg,
    color-mix(in srgb, var(--bloom-b) 7%, transparent) 180deg,
    transparent 196deg, transparent 360deg);
  transform-origin: 50% 0%;
  animation: beam-sweep 22s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes beam-sweep {
  from { transform: rotate(-16deg); }
  to   { transform: rotate(16deg); }
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: conic-gradient(from 180deg at 50% 100%,
    transparent 0deg, transparent 165deg,
    rgba(252, 3, 251, 0.07) 178deg,
    rgba(0, 232, 255, 0.06) 184deg,
    transparent 197deg, transparent 360deg);
  transform-origin: 50% 100%;
  animation: beam-sweep 26s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Fixed HUD corners (injected by main.js) */
.hud {
  position: fixed;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  pointer-events: none;
}
.hud-bl { left: clamp(20px, 3vw, 40px); bottom: 18px; }
.hud-br { right: clamp(20px, 3vw, 40px); bottom: 18px; }
.hud .hud-bar { width: 34px; height: 2px; background: var(--gradient-spectrum); border-radius: 2px; opacity: 0.7; }
@media (max-width: 900px) { .hud { display: none; } }

/* Section index marks (injected by main.js) */
.band-head { position: relative; }
.band-mark {
  position: absolute;
  top: 6px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

/* Hero tech deck (timecode / cue readout / slide progress) */
.hero-deck {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero-deck [data-status-tc] { color: var(--cyan); }
.hero-deck [data-hero-cue] { color: var(--text-muted); }
.hero-progress { display: flex; gap: 6px; margin-left: auto; }
.hero-progress span { width: 34px; height: 2px; border-radius: 2px; background: var(--gray-1); position: relative; overflow: hidden; }
.hero-progress span.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-beam);
  transform-origin: left;
  animation: bar-fill 7s linear both;
}
@keyframes bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 640px) { .hero-progress { margin-left: 0; } }

/* Lightbox (injected by main.js on pages with [data-photos]) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 320ms var(--ease-out), visibility 0s linear 320ms;
}
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity 320ms var(--ease-out); }
.lightbox-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: 20px clamp(20px, 3vw, 40px); }
.lightbox-title { color: var(--white); }
.lightbox-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.lightbox figure { flex: 1; margin: 0; display: grid; place-items: center; padding: 0 clamp(20px, 4vw, 64px); min-height: 0; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 210px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.7);
}
.lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 3vw, 40px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lightbox-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(9, 9, 15, 0.6);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.lightbox-btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan); }
.lightbox-nav { display: flex; gap: var(--space-3); }

/* Work cards as lightbox triggers */
button.work-card { padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.work-card .work-card-open {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(9, 9, 15, 0.55);
  border: 1px solid var(--border-strong);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.work-card:hover .work-card-open,
.work-card:focus-visible .work-card-open { opacity: 1; transform: none; }
@media (hover: none) { .work-card .work-card-open { opacity: 1; transform: none; } }
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow var(--duration-base) var(--ease-out);
  pointer-events: none;
}
.work-card:hover::after { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 32px rgba(0, 232, 255, 0.15); }


@media (min-width: 760px) {  }
.work-grid-lg .work-card img { aspect-ratio: 16 / 10; }
.work-grid-lg .work-card h3 { font-size: var(--text-lg); }

/* Control-room spec grid (home) */
.spec-grid {
  display: grid;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 760px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec-cell {
  background: var(--black-2);
  padding: var(--space-6) var(--space-5);
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.spec-cell .spec-key { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.spec-cell h3 { font-size: var(--text-lg); }
.spec-cell p { color: var(--text-muted); font-size: var(--text-sm); }

/* ==========================================================================
   Cinematic layer v2 — rail menu, cursor, TC panels, FX, glass buttons
   ========================================================================== */

/* Bigger brand */
.brand img { height: 52px; }
.footer-brand img { height: 56px; }
@media (max-width: 760px) { }

/* Kill residual hero drift — hard wipe only */
.hero-slide.is-active img { animation: none; transform: scale(1.05); }

/* Layout offsets for the left rail */
@media (min-width: 900px) {
  .top-inner .menu-toggle { display: none; }
}

/* Left rail — dark tinted glass strip, the menu lives here */
.side-rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 64px;
  z-index: 250;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-block: 16px 18px;
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.side-rail::after {
  content: "";
  position: absolute;
  top: 0; right: -1px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--page-a, var(--spectrum-1)), var(--page-b, var(--spectrum-5)), transparent);
  opacity: 0.35;
}
@media (min-width: 900px) { .side-rail { display: flex; } }
.rail-menu {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.6);
  color: var(--white);
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.rail-menu:hover { border-color: var(--page-a, var(--cyan)); box-shadow: 0 0 20px color-mix(in srgb, var(--page-a, var(--cyan)) 40%, transparent); }
.rail-word {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.rail-line { flex: 1; width: 1px; background: linear-gradient(180deg, transparent, var(--border-strong), transparent); }
.rail-tc {
  font-family: var(--font-tc);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  font-variant-numeric: tabular-nums;
}
.rail-rec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--spectrum-6);
}

/* Menu opens as a wipe from the rail */
.menu-overlay {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transition: clip-path 620ms var(--ease-out), visibility 0s linear 620ms;
}
.menu-overlay.is-open {
  clip-path: inset(0 0 0 0);
  transition: clip-path 620ms var(--ease-out);
}

/* Squared TC-generator panels */
.tc-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  width: fit-content;
  max-width: 100%;
}
.tc-cell {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 12px 18px 12px 14px;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  min-width: 120px;
}
.tc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--page-a, var(--cyan));
}
/* tc-jitter-guard */
.tc-digits {
  font-family: var(--font-tc);
  min-width: 11ch;
  display: inline-block;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.tc-val {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-4);
  line-height: 1.4;
}
.tc-cue { flex: 1; min-width: 220px; }

/* Top bar status: boxed, bigger, tabular */
.top-status {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  padding: 9px 16px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.top-status [data-status-tc] { color: var(--white); font-weight: 400; }

/* Readable micro-type */
.hud { font-size: 11px; }
.hud .sep { color: var(--gray-1); }
.hero-meta { font-size: var(--text-sm); color: var(--text-muted); }
.hero-latest { font-size: 12.5px; border-radius: 6px; letter-spacing: 0.12em; }

/* Custom cursor */
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label,
  body.has-cursor input, body.has-cursor select, body.has-cursor textarea, body.has-cursor summary { cursor: none; }
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    z-index: 600;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-100px, -100px);
  }
  .cursor-dot { width: 6px; height: 6px; background: var(--white); mix-blend-mode: difference; }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid color-mix(in srgb, var(--page-a, var(--cyan)) 75%, white);
    opacity: 0.85;
    transition: width 200ms var(--ease-out), height 200ms var(--ease-out), opacity 200ms var(--ease-out), border-color 200ms var(--ease-out);
  }
  body.cursor-hot .cursor-ring { width: 56px; height: 56px; border-color: var(--page-b, var(--accent)); opacity: 1; }
}

/* FX canvases */
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero .fx { z-index: 3; }
.fx-fixed { position: fixed; z-index: 5; opacity: 0.5; }

/* Glass buttons with orbiting light edge */
@property --btn-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn-beam, .btn-ghost {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 24, 38, 0.62), rgba(9, 9, 15, 0.72));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-beam::before, .btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--btn-ang),
    transparent 0%, var(--page-a, var(--spectrum-1)) 18%, var(--page-b, var(--spectrum-5)) 32%, transparent 50%,
    transparent 55%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 60%, transparent) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: btn-orbit 4s linear infinite;
  pointer-events: none;
}
.btn-ghost::before { opacity: 0.55; }
@keyframes btn-orbit { to { --btn-ang: 360deg; } }
.btn-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 160% at 50% 120%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 22%, transparent), transparent 60%);
  pointer-events: none;
}
.btn-beam:hover { box-shadow: 0 0 36px color-mix(in srgb, var(--page-b, var(--spectrum-5)) 35%, transparent); border-color: rgba(245, 245, 245, 0.4); }
.btn-ghost:hover { box-shadow: 0 0 28px color-mix(in srgb, var(--page-a, var(--spectrum-1)) 30%, transparent); color: var(--white); border-color: rgba(245, 245, 245, 0.35); }

/* Animated light blooms behind every band */
.band { overflow: hidden; }
.band::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(32% 38% at 14% 22%, color-mix(in srgb, var(--page-a, var(--spectrum-1)) 8%, transparent), transparent 70%),
    radial-gradient(28% 34% at 86% 78%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 7%, transparent), transparent 70%);
  animation: bloom-drift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes bloom-drift {
  from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
  to   { transform: translate3d(2.5%, 2%, 0) scale(1.06); }
}
.band > .container { position: relative; z-index: 1; }
.stats-grid { position: relative; z-index: 1; }

/* Stats — impressive digits */
.stat { padding: var(--space-7) var(--space-5); }
.stat .num {
  font-size: clamp(2.8rem, 2rem + 3.4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.stat .num span {
  background: linear-gradient(135deg, var(--page-a, var(--spectrum-1)), var(--page-b, var(--spectrum-5)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Departments — cinematic photo panels */
.duo-card { position: relative; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; }
.duo-media { position: absolute; inset: 0; z-index: 0; }
.duo-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 1.4s var(--ease-out), opacity 0.6s var(--ease-out); }
.duo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,8,0.25), rgba(5,5,8,0.55) 45%, rgba(5,5,8,0.94) 100%); }
.duo-card:hover .duo-media img { transform: scale(1.06); opacity: 0.7; }
.duo-card > *:not(.duo-media) { position: relative; z-index: 1; }

/* Work cards — light sheen sweep */
/* legacy shine-sweep removed \u2014 it slid past the rounded corners on hover */

/* Tilt helper (class added by JS) */
.tilt { will-change: transform; transition: transform 260ms var(--ease-out); transform-style: preserve-3d; }

/* Process timeline — 3D entrance + hover */
.timeline { perspective: 1400px; }
.timeline li {
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease-out), opacity 600ms var(--ease-out), border-color 300ms var(--ease-out), background 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.timeline li:hover {
  transform: translateY(-8px) rotateX(5deg);
  border-color: var(--border-strong);
  background: var(--surface-elevated);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 24px color-mix(in srgb, var(--page-a, var(--cyan)) 12%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .timeline li.reveal { transform: rotateX(26deg) translateY(46px); }
  .timeline li.reveal.in { transform: none; }
  .timeline li::after { transition: width 900ms var(--ease-out) 300ms; }
  .timeline li.reveal::after { width: 0; }
  .timeline li.reveal.in::after { width: 48px; }
}

/* Cue list — console-screen 3D */
.tc3d { perspective: 1300px; padding-block: var(--space-4); }
.tc3d-inner {
  transform: rotateX(16deg) rotateY(-5deg);
  transform-style: preserve-3d;
  transform-origin: 50% 20%;
  transition: transform 700ms var(--ease-out);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.92), rgba(8, 8, 14, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 48px 96px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(245, 245, 245, 0.06);
}
#cue-table tbody tr { transition: background 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
#cue-table tbody tr.is-live { background: rgba(0, 232, 255, 0.07); box-shadow: inset 3px 0 0 var(--cyan); }
#cue-table tbody tr.is-live td { color: var(--white); }
@media (max-width: 760px) {
  .tc3d-inner { transform: none; }
  .tc3d:hover .tc3d-inner { transform: none; }
}

/* Show-type cards as openable exhibits */
button.show-card { padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.show-card { transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.show-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 60%, transparent);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 28px color-mix(in srgb, var(--page-a, var(--cyan)) 15%, transparent);
}
.show-card .show-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--page-a, var(--cyan));
  opacity: 0.85;
}

/* Lightbox — description + spec chips */
.lightbox-top { flex-wrap: wrap; }
.lightbox-desc { max-width: 64ch; color: var(--gray-4); font-size: var(--text-base); margin: var(--space-3) 0 0; }
.lightbox-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* Frosted-glass sheet over the hero's left side (frozen-glass reference) */
.hero-frost {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: min(720px, 68%);
  z-index: 3;
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.32), rgba(7, 7, 7, 0.12));
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 72%, transparent 100%);
  pointer-events: none;
}
@media (max-width: 760px) { .hero-frost { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); } }

/* ==========================================================================
   Cinematic layer v3 — glass window, broadcast gimmicks, fluid motion
   ========================================================================== */

/* Even bigger brand */
.brand img { height: 62px; }
.footer-brand img { height: 44px; }
@media (max-width: 760px) { }

/* Frost sheet retired — replaced by the glass slide window */
.hero-frost { display: none; }

/* Hero glass window — frozen glass panel with live slide data */
.hero-glass {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(110px, 16vh, 190px);
  z-index: 4;
  width: min(330px, 36vw);
  padding: var(--space-5);
  display: grid;
  gap: 7px;
  background: linear-gradient(160deg, rgba(245, 245, 245, 0.12), rgba(245, 245, 245, 0.03));
  border: 1px solid rgba(245, 245, 245, 0.25);
  border-radius: 4px;
  backdrop-filter: blur(24px) saturate(1.5) brightness(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.5) brightness(1.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.hero-glass::before, .hero-glass::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(245, 245, 245, 0.65);
}
.hero-glass::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.hero-glass::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
.hg-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--page-a, var(--cyan));
  margin: 0;
}
.hg-title { font-size: var(--text-xl); font-weight: var(--weight-display); letter-spacing: 0; color: var(--white); }
.hg-venue { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-4); margin: 0; }
.hg-tc {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tc);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 245, 245, 0.18);
}
.hg-rec { color: var(--spectrum-6); font-size: 10px; letter-spacing: 0.22em; animation: pulse 1.6s steps(2, jump-none) infinite; }
@media (max-width: 1100px) { .hero-glass { display: none; } }

/* Broadcast gimmicks */
.onair {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: rgba(254, 54, 100, 0.16);
  border: 1px solid rgba(255, 54, 100, 0.5);
  color: #FF6B8F;
  font-size: 10px;
  letter-spacing: 0.22em;
  animation: pulse 2.2s steps(2, jump-none) infinite;
}
.smpte { display: inline-flex; height: 12px; }
.smpte i { width: 9px; height: 100%; }
.smpte i:nth-child(1) { background: #C0C0C0; }
.smpte i:nth-child(2) { background: #C0C000; }
.smpte i:nth-child(3) { background: #00C0C0; }
.smpte i:nth-child(4) { background: #00C000; }
.smpte i:nth-child(5) { background: #C000C0; }
.smpte i:nth-child(6) { background: #C00000; }
.smpte i:nth-child(7) { background: #0000C0; }

/* Rail — frozen glass + quick vertical links */
.side-rail {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.5), rgba(10, 10, 10, 0.45));
  backdrop-filter: blur(26px) saturate(1.5) brightness(1.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.5) brightness(1.08);
  border-right: 1px solid rgba(245, 245, 245, 0.14);
}
.rail-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-block: 6px;
}
.rail-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  writing-mode: vertical-rl;
  padding: 2px;
  transition: color var(--duration-base) var(--ease-out), text-shadow var(--duration-base) var(--ease-out);
}
.rail-links a:hover {
  color: var(--page-a, var(--cyan));
  text-shadow: 0 0 12px color-mix(in srgb, var(--page-a, var(--cyan)) 70%, transparent);
}

/* Departments — split-screen curtains */
.duo-grid { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.duo-card {
  flex: 1 1 340px;
  min-height: min(66vh, 620px);
  transition: flex 900ms var(--ease-out), border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
@media (hover: hover) and (min-width: 900px) {
  .duo-grid:hover .duo-card { flex: 0.8 1 340px; }
  .duo-grid .duo-card:hover {
    flex: 1.8 1 340px;
    border-color: color-mix(in srgb, var(--duo-a, var(--cyan)) 55%, transparent);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 40px color-mix(in srgb, var(--duo-a, var(--cyan)) 14%, transparent);
  }
}

/* Bands — stronger cinematic light */
.band::before {
  background:
    radial-gradient(38% 44% at 12% 18%, color-mix(in srgb, var(--page-a, var(--spectrum-1)) 16%, transparent), transparent 70%),
    radial-gradient(34% 40% at 88% 82%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 13%, transparent), transparent 70%),
    radial-gradient(20% 28% at 62% 6%, rgba(245, 245, 245, 0.05), transparent 70%);
}
.band:not(.cta-band)::after {
  content: "";
  position: absolute;
  inset: -45% -12%;
  background:
    conic-gradient(from 0deg at 28% -8%, transparent 164deg, color-mix(in srgb, var(--page-a, var(--spectrum-1)) 7%, transparent) 178deg, transparent 194deg),
    conic-gradient(from 180deg at 76% 108%, transparent 166deg, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 6%, transparent) 180deg, transparent 196deg);
  transform-origin: 40% 0%;
  animation: beam-sweep 20s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Work tiles — fluid, editorial */
.work-grid { counter-reset: wk; }
.work-card { counter-increment: wk; }
.work-card::before {
  content: counter(wk, decimal-leading-zero);
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  inset-inline-end: auto;
  width: auto; height: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(245, 245, 245, 0.9);
  background: rgba(7, 7, 7, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 4px 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: none;
  transition: border-color 400ms var(--ease-out), color 400ms var(--ease-out);
}
.work-card:hover::before { transform: none; border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 60%, transparent); color: var(--page-a, var(--cyan)); }
.work-card img { transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.work-card:hover img, .work-card:focus-visible img { transform: scale(1.07); filter: saturate(1.18) brightness(1.1); }
.work-card .work-card-info { transition: transform 700ms var(--ease-out); }
.work-card:hover .work-card-info { transform: translateY(-4px); }
.work-card .work-card-info h3 { position: relative; width: fit-content; }
.work-card .work-card-info h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--page-a, var(--spectrum-1)), var(--page-b, var(--spectrum-5)));
  transition: width 600ms var(--ease-out);
}
.work-card:hover .work-card-info h3::after { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .work-card.reveal {
    clip-path: inset(0 0 26% 0);
    filter: saturate(0.5) brightness(0.6);
    transition: clip-path 1000ms var(--ease-out) var(--reveal-delay, 0ms),
                filter 1000ms var(--ease-out) var(--reveal-delay, 0ms),
                opacity 800ms var(--ease-out) var(--reveal-delay, 0ms),
                transform 1000ms var(--ease-out) var(--reveal-delay, 0ms);
  }
  .work-card.reveal.in { clip-path: inset(0 0 0 0); filter: none; }
}

/* Service cards — gentle idle float ("What you get") */
@media (prefers-reduced-motion: no-preference) {
  .services-grid .service-card { animation: card-bob 7s ease-in-out infinite alternate; }
  .services-grid .service-card:nth-child(2) { animation-delay: 1.4s; }
  .services-grid .service-card:nth-child(3) { animation-delay: 2.8s; }
  .services-grid .service-card:nth-child(4) { animation-delay: 4.2s; }
}
@keyframes card-bob { from { transform: translateY(0); } to { transform: translateY(-9px); } }

/* Cue list — self-floating hologram (no cursor dependency) */
.tc3d-inner { position: relative; overflow: hidden; animation: console-float 14s ease-in-out infinite alternate; }
.tc3d:hover .tc3d-inner { transform: none; }
@keyframes console-float {
  0%   { transform: rotateX(16deg) rotateY(-6deg) translateY(0); }
  50%  { transform: rotateX(11deg) rotateY(-2deg) translateY(-10px); }
  100% { transform: rotateX(18deg) rotateY(-7deg) translateY(5px); }
}
.tc3d-inner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(0, 232, 255, 0.10), transparent);
  animation: crt-scan 5.5s linear infinite;
  pointer-events: none;
}
@keyframes crt-scan {
  0% { transform: translateY(-50px); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(460px); opacity: 0; }
}
@media (max-width: 760px) { .tc3d-inner { animation: none; } }

/* Previz stage — CSS 3D rig (lighting design process) */
.previz3d { perspective: 1100px; height: clamp(260px, 38vw, 380px); display: grid; place-items: center; margin-bottom: var(--space-7); position: relative; }
.pv-scene { position: relative; width: min(560px, 82%); height: 82%; transform-style: preserve-3d; animation: pv-rot 24s linear infinite; }
@keyframes pv-rot { from { transform: rotateX(14deg) rotateY(0deg); } to { transform: rotateX(14deg) rotateY(360deg); } }
.pv-floor {
  position: absolute;
  left: 50%; bottom: -8%;
  width: 135%; height: 135%;
  transform: translateX(-50%) rotateX(90deg);
  transform-origin: 50% 100%;
  background:
    repeating-linear-gradient(0deg, rgba(0, 232, 255, 0.15) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(0, 232, 255, 0.15) 0 1px, transparent 1px 42px);
  -webkit-mask-image: radial-gradient(58% 58% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(58% 58% at 50% 50%, #000, transparent 78%);
}
.pv-truss {
  position: absolute;
  top: 0; left: 4%; right: 4%;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--gray-1) 0 14px, transparent 14px 21px);
  border-block: 1px solid var(--gray-2);
}
.pv-beam {
  position: absolute;
  top: 10px;
  width: 120px; height: 104%;
  transform-origin: 50% 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.pv-b1 { left: 3%;  background: linear-gradient(180deg, var(--spectrum-2), transparent 85%); animation: pv-swing 5.2s ease-in-out infinite alternate; }
.pv-b2 { left: 22%; background: linear-gradient(180deg, var(--spectrum-5), transparent 85%); animation: pv-swing 6.4s ease-in-out -1.2s infinite alternate-reverse; }
.pv-b3 { left: 42%; background: linear-gradient(180deg, var(--spectrum-1), transparent 85%); animation: pv-swing 4.6s ease-in-out -2.1s infinite alternate; }
.pv-b4 { left: 62%; background: linear-gradient(180deg, var(--spectrum-4), transparent 85%); animation: pv-swing 7s ease-in-out -3s infinite alternate-reverse; }
.pv-b5 { left: 80%; background: linear-gradient(180deg, var(--spectrum-6), transparent 85%); animation: pv-swing 5.8s ease-in-out -4.4s infinite alternate; }
@keyframes pv-swing { from { transform: rotateZ(-26deg); } to { transform: rotateZ(26deg); } }
.pv-glow {
  position: absolute;
  left: 50%; bottom: -4%;
  width: 80%; height: 30%;
  transform: translateX(-50%);
  background: radial-gradient(50% 100% at 50% 100%, rgba(252, 3, 251, 0.18), transparent 70%);
  filter: blur(12px);
}
.pv-tag {
  position: absolute;
  top: 6px; right: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (prefers-reduced-motion: reduce) { .previz3d { display: none; } }

/* Timeline — flowing light rail above the steps */
@media (min-width: 900px) {
  .timeline { position: relative; padding-top: 18px; }
  .timeline::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--page-a, var(--spectrum-1)), var(--page-b, var(--spectrum-5)), transparent);
    background-size: 200% 100%;
    animation: flow-rail 6s linear infinite;
    border-radius: 2px;
  }
}
@keyframes flow-rail { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Show types — full-image cinematic exhibits */
.show-card { position: relative; min-height: 400px; }
.show-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 600ms var(--ease-out);
}
.show-card:hover img { transform: scale(1.08); opacity: 1; }
.show-card .show-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.6) 30%, rgba(5, 5, 5, 0.94));
  padding: var(--space-7) var(--space-5) var(--space-5);
}
.show-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color 400ms var(--ease-out);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .show-card.reveal {
    transition: opacity 700ms var(--ease-out) var(--reveal-delay, 0ms),
                transform 900ms var(--ease-out) var(--reveal-delay, 0ms);
  }
  .show-card.reveal img, .show-card.reveal .show-body {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 900ms var(--ease-out) var(--reveal-delay, 0ms);
  }
  .show-card.reveal.in img, .show-card.reveal.in .show-body { clip-path: inset(0 0 0 0); }
}

/* FAQ — numbered tech dossier */
.faq { max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: var(--space-4); align-items: start; counter-reset: faq; }
.faq details {
  counter-increment: faq;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.72), rgba(10, 10, 10, 0.72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.faq summary::before {
  content: "Q" counter(faq, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--page-a, var(--cyan));
  flex-shrink: 0;
}
.faq details[open] {
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 45%, transparent);
  box-shadow: 0 0 32px color-mix(in srgb, var(--page-a, var(--cyan)) 10%, transparent);
}
.faq details[open] summary { color: var(--page-a, var(--cyan)); }
.faq details[open] .faq-body { animation: faq-in 420ms var(--ease-out); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-8px); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* Lightbox — tech vibe, fluid open/step */
.lightbox { transform: scale(1.03); transition: opacity 380ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s linear 380ms; }
.lightbox.is-open { transform: scale(1); transition: opacity 380ms var(--ease-out), transform 500ms var(--ease-out); }
.lightbox-top { position: relative; border-bottom: 1px solid var(--border-subtle); }
.lightbox-top::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--gradient-spectrum);
  opacity: 0.6;
}
.lightbox figure { position: relative; }
.lightbox figure::before, .lightbox figure::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1.5px solid rgba(245, 245, 245, 0.4);
  pointer-events: none;
}
.lightbox figure::before { top: 16px; left: clamp(20px, 4vw, 64px); border-right: 0; border-bottom: 0; }
.lightbox figure::after { bottom: 16px; right: clamp(20px, 4vw, 64px); border-left: 0; border-top: 0; }
/* lb-in animation removed — conflicted with the .is-shown transition (caused stutter) */
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.965) translateY(12px); filter: blur(8px) saturate(0.6); }
  to   { opacity: 1; transform: none; filter: none; }
}
.lightbox-btn { border-radius: 8px; }
.lightbox-count {
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  background: rgba(7, 7, 7, 0.6);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Cinematic layer v4 — mesh, icon rail, dynamic glass, sister brand
   ========================================================================== */

/* Work tile counter chip — fix inherited inset from the retired sheen */
.work-card::before { inset: 14px auto auto 16px; }

/* Hero mesh overlay — fine technical grid over the slides */
.fx-dark { mix-blend-mode: normal; }

/* Glass slide window — bigger, floating, re-enters on slide change */
.hero-glass {
  width: min(430px, 42vw);
  padding: var(--space-6);
  gap: 9px;
  animation: hg-float 9s ease-in-out infinite alternate;
}
.hg-title { font-size: var(--text-2xl); }
.hg-venue { font-size: 12.5px; }
.hg-tc { font-size: 17px; }
.hg-label { font-size: 11px; }
@keyframes hg-float {
  from { transform: translateY(0) rotate(0.0001deg); }
  to   { transform: translateY(-12px) rotate(0.0001deg); }
}
@keyframes hg-in {
  from { opacity: 0.2; transform: translateY(16px); filter: blur(7px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* Rail — wider, icon shortcuts */
.side-rail { width: 76px; }
@media (min-width: 900px) {
}
.rail-links { gap: 10px; }
.rail-links a {
  writing-mode: horizontal-tb;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.4);
  color: var(--text-muted);
  letter-spacing: 0;
}
.rail-links a:hover {
  color: var(--page-a, var(--cyan));
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 55%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--page-a, var(--cyan)) 30%, transparent);
  text-shadow: none;
}

/* True-3D previz canvas (replaces the CSS rig) */
.rig3d-wrap {
  position: relative;
  height: clamp(320px, 44vw, 480px);
  margin-bottom: var(--space-7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 105%, rgba(24, 26, 52, 0.65), transparent 70%),
    linear-gradient(180deg, #05050a, #090911);
}
.rig3d-wrap .fx { mix-blend-mode: normal; }
.rig3d-wrap .pv-tag { z-index: 2; }

/* Sister brand — pozornice.hr */
.footer-sister { font-size: var(--text-sm); color: var(--text-muted); max-width: 34ch; }
.footer-sister a { color: var(--gray-4); font-weight: var(--weight-semibold); }
.footer-sister a:hover { color: var(--cyan); }
.sister-band .container { display: grid; gap: var(--space-5); justify-items: start; }
.sister-band .display-lg a { color: inherit; }
.sister-band .display-lg a:hover { filter: brightness(1.2); }

/* Hero "latest" — broadcast lower-third, readable type */
.hero-latest {
  align-items: center;
  gap: var(--space-4);
  padding: 12px 24px 12px 16px;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  background: rgba(9, 9, 15, 0.62);
  border-color: rgba(255, 255, 255, 0.35);
}
.hero-latest .hl-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--page-a, var(--cyan));
  padding-right: var(--space-4);
  border-right: 1px solid var(--border-strong);
}
.hero-latest .hl-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: var(--weight-display);
  letter-spacing: 0.01em;
  color: var(--white);
}

/* ==========================================================================
   Cinematic layer v5 — big rail, flag picker, subnav, TC flags
   ========================================================================== */

/* Rail — bigger, unmissable */
.side-rail { width: 96px; gap: var(--space-5); padding-block: 20px 22px; background: linear-gradient(180deg, rgba(20, 20, 20, 0.62), rgba(12, 12, 12, 0.55)); border-right: 1px solid rgba(245, 245, 245, 0.2); }
@media (min-width: 900px) {
  body { padding-left: 96px; }
  .top-inner { padding-left: calc(96px + 20px); }
  .hud-bl { left: calc(96px + 24px); }
  .menu-overlay { padding-left: 96px; }
}
.rail-menu {
  width: 56px; height: 56px;
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 45%, rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 18px color-mix(in srgb, var(--page-a, var(--cyan)) 18%, transparent);
}
.rail-menu .menu-icon { width: 22px; gap: 6px; }
.rail-word { font-size: 12.5px; letter-spacing: 0.42em; color: var(--gray-4); }
.rail-links a { width: 48px; height: 48px; border-radius: 12px; }
.rail-links svg { width: 20px; height: 20px; }
.rail-tc { font-size: 12px; }

/* Timecode flags on every running clock */
.rail-tc::before {
  content: "SMPTE LTC";
  color: var(--page-a, var(--cyan));
  letter-spacing: 0.3em;
  margin-block-end: 8px;
  font-size: 10px;
}
.top-status [data-status-tc]::before {
  content: "SMPTE LTC ";
  color: var(--page-a, var(--cyan));
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.hg-tc [data-status-tc]::before {
  content: "SMPTE LTC ";
  color: var(--page-a, var(--cyan));
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
}

/* Glass slide window — wipe entrance, roams the hero */
.hero-glass.hg-swap {
  animation: hg-wipe 850ms var(--ease-out), hg-float 9s ease-in-out 850ms infinite alternate;
}
@keyframes hg-wipe {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0.3; }
  55%  { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
.hero-glass.hg-pos-1 { bottom: auto; top: calc(96px + 7vh); }
.hero-glass.hg-pos-2 { bottom: 44%; right: clamp(28px, 9vw, 140px); }

/* Language picker — graphical flags, prominent */
.lang-switch { padding: 5px; gap: 5px; border-radius: 14px; background: rgba(12, 12, 12, 0.7); border-color: rgba(245, 245, 245, 0.25); }
.lang-switch button {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.lang-switch button svg {
  width: 28px; height: 19px;
  border-radius: 3px;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  opacity: 0.7;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.lang-switch button:hover svg { opacity: 1; transform: scale(1.08); }
.lang-switch button[aria-pressed="true"] {
  background: var(--surface-elevated);
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 55%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--page-a, var(--cyan)) 25%, transparent);
  color: var(--white);
}
.lang-switch button[aria-pressed="true"] svg { opacity: 1; }

/* Section quicklinks — sticky glass strip under sub-page heroes */
.subnav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 9, 15, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-block: 1px solid rgba(255, 255, 255, 0.2);
}
.subnav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: 10px;
}
.subnav-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-right: var(--space-3);
}
.subnav a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-4);
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.subnav a:hover {
  color: var(--page-a, var(--cyan));
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 55%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--page-a, var(--cyan)) 22%, transparent);
}

/* ==========================================================================
   Hero v2 — hung LED-wall screen instead of full-bleed
   ========================================================================== */
.hero { align-items: center; padding-top: calc(88px + 4vh); padding-bottom: var(--space-8); }
.hero::after { content: none; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 50% at 82% 30%, color-mix(in srgb, var(--page-a, var(--spectrum-5)) 12%, transparent), transparent 70%),
    radial-gradient(36% 46% at 8% 85%, color-mix(in srgb, var(--page-b, var(--spectrum-1)) 9%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: 4;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-layout { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
  .hero-layout .hero-screen { order: 2; }
}
.hero-content { padding-block: 0; }
.hero h1 { max-width: none; }

/* the screen hangs from a truss and sways gently */
.hero-screen {
  position: relative;
  aspect-ratio: 16 / 10.5;
  margin-top: 44px;
  transform-origin: 50% -60px;
  animation: screen-sway 11s ease-in-out infinite alternate;
  background: rgba(9, 9, 15, 0.6);
  border: 1px solid rgba(245, 245, 245, 0.22);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
@keyframes screen-sway {
  from { transform: rotate(-0.5deg); }
  to   { transform: rotate(0.5deg); }
}
.hero-screen::before {
  content: "";
  position: absolute;
  top: -42px; left: -6%; right: -6%;
  height: 13px;
  background: repeating-linear-gradient(90deg, var(--gray-1) 0 16px, rgba(60, 60, 60, 0.25) 16px 24px);
  border-block: 1px solid var(--gray-2);
  border-radius: 2px;
}
.hs-cable {
  position: absolute;
  top: -30px;
  width: 1.5px;
  height: 30px;
  background: linear-gradient(180deg, var(--gray-2), rgba(255, 255, 255, 0.4));
}
.hs-cable-l { left: 14%; }
.hs-cable-r { right: 14%; }
.hero-screen .hero-stage { position: absolute; inset: 10px; border-radius: 7px; overflow: hidden; }
.hero-screen::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 7px;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 5, 5, 0.48));
  pointer-events: none;
  z-index: 3;
}

/* glass window docks to the screen corners */
.hero-screen .hero-glass {
  right: -22px;
  bottom: -26px;
  width: min(330px, 78%);
  padding: var(--space-5);
  z-index: 5;
}
.hero-screen .hero-glass .hg-title { font-size: var(--text-xl); }
.hero-screen .hero-glass.hg-pos-1 { top: auto; bottom: -26px; right: auto; left: -22px; }
.hero-screen .hero-glass.hg-pos-2 { bottom: auto; top: -26px; right: -22px; left: auto; }
@media (max-width: 1100px) {
  .hero-screen .hero-glass { display: grid; right: 8px; bottom: 8px; width: min(300px, 86%); }
  .hero-screen .hero-glass.hg-pos-1 { bottom: 8px; left: 8px; right: auto; }
  .hero-screen .hero-glass.hg-pos-2 { top: 8px; right: 8px; bottom: auto; left: auto; }
}
@media (prefers-reduced-motion: reduce) { .hero-screen { animation: none; } }

/* Hero v2.1 — text hard left, screen bleeds off the right edge */
@media (min-width: 1024px) {
  .hero { padding-bottom: var(--space-7); }
  .hero .hero-layout {
    max-width: none;
    margin: 0;
    padding-left: clamp(24px, 3vw, 56px);
    padding-right: 0;
    grid-template-columns: minmax(360px, 500px) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 72px);
  }
  .hero-screen {
    aspect-ratio: auto;
    height: min(74vh, 780px);
    margin-top: 48px;
    border-radius: 12px 0 0 12px;
    border-right: 0;
    animation: screen-float 10s ease-in-out infinite alternate;
    transform-origin: center;
  }
  .hero-screen::before { right: 0; border-radius: 2px 0 0 2px; }
  .hero-screen .hero-glass.hg-pos-1 { left: -26px; right: auto; }
  .hero-screen .hero-glass.hg-pos-2 { right: 28px; left: auto; }
}
@keyframes screen-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

/* Hero v3 — ghost wireframe grandMA3 console; the screen bank shows the slides */
.hero-screen::before { content: none; }
.hs-cable { display: none; }
.hero-screen { margin-top: 12px; margin-bottom: 30%; }
.console-deck {
  position: absolute;
  top: calc(100% - 2px);
  left: -3%;
  width: 106%;
  height: auto;
  aspect-ratio: 1000 / 320;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hero-screen { height: min(56vh, 620px); }
  .console-deck { left: -2%; width: 102%; }
}

/* Hero v3.1 — natural photo fit, taller screen */
.hero-screen { aspect-ratio: 4 / 3; }
.hero-screen .hero-slide img { object-fit: contain; background: #050505; }
.hero-screen .hero-slide.is-active img { transform: none; }
@media (min-width: 1024px) {
  .hero-screen { height: min(66vh, 720px); aspect-ratio: auto; }
}

/* Hero v4 — clean frozen-glass frame, no console */
.console-deck { display: none; }
.hero-screen {
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(14px, 1.6vw, 22px);
  background: linear-gradient(155deg, rgba(245, 245, 245, 0.12), rgba(245, 245, 245, 0.035) 55%, rgba(245, 245, 245, 0.08));
  border: 1px solid rgba(245, 245, 245, 0.28);
  border-radius: 18px;
  backdrop-filter: blur(22px) saturate(1.4) brightness(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.4) brightness(1.08);
  box-shadow:
    0 48px 110px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
/* corner brackets on the glass */
.hero-screen .hs-cable { display: block; top: auto; height: auto; background: none; }
.hero-screen .hs-cable, .hero-screen .hs-cable::after {
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(245, 245, 245, 0.6);
}
.hero-screen .hs-cable-l { top: -7px; left: -7px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.hero-screen .hs-cable-r { bottom: -7px; right: -7px; top: auto; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }
/* spectrum hairline along the frame base */
.hero-screen::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: -1px;
  height: 2px;
  top: auto;
  background: var(--gradient-spectrum);
  border: 0;
  border-radius: 2px;
  opacity: 0.75;
  filter: blur(0.3px);
}
.hero-screen .hero-stage {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #050505;
}
.hero-screen::after { inset: clamp(14px, 1.6vw, 22px); border-radius: 10px; background: linear-gradient(180deg, transparent 68%, rgba(5, 5, 5, 0.42)); }
@media (min-width: 1024px) {
  .hero-screen {
    height: auto;
    max-height: none;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    border-right: 1px solid rgba(245, 245, 245, 0.28);
    margin-right: clamp(24px, 3vw, 56px);
  }
  .hero .hero-layout { padding-right: 0; }
  .hero-screen .hero-glass { right: -24px; }
  .hero-screen .hero-glass.hg-pos-2 { right: -24px; }
}

/* Hero v4.1 — thin subtle frame, images fill it */
.hero-screen {
  padding: 6px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(245, 245, 245, 0.09), rgba(245, 245, 245, 0.02) 55%, rgba(245, 245, 245, 0.05));
  border-color: rgba(245, 245, 245, 0.2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero-screen::after { inset: 6px; background: linear-gradient(180deg, transparent 74%, rgba(5, 5, 5, 0.34)); }
.hero-screen .hero-stage, .hero-screen::after { border-radius: 8px; }
.hero-screen .hero-slide img { object-fit: cover; }
@media (min-width: 1024px) {
}

/* Hero v4.2 — orbiting glow edge, crossfade slides, on-image progress */
.hero-screen {
  padding: 2px;
  border-radius: 14px;
  background: rgba(9, 9, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.hero-screen .hs-cable { display: none; }
.hero-screen::before {
  content: "";
  position: absolute;
  inset: -1px;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  height: auto;
  border: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--btn-ang),
    transparent 0%, var(--page-a, var(--spectrum-1)) 18%, var(--page-b, var(--spectrum-5)) 32%, transparent 50%,
    transparent 55%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 60%, transparent) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: btn-orbit 6s linear infinite;
  filter: none;
  opacity: 1;
  pointer-events: none;
}
.hero-screen::after { inset: 2px; border-radius: 12px; background: linear-gradient(180deg, transparent 78%, rgba(5, 5, 5, 0.3)); }
.hero-screen .hero-stage { border-radius: 12px; }
@media (min-width: 1024px) {
  .hero-screen::after, .hero-screen .hero-stage { border-radius: 12px; }
}

/* smooth crossfade — no wipe */
.hero-slide { transition: opacity 1200ms var(--ease-out); }
.hero-slide.is-active { animation: none; }
.hero-slide.is-active::after { content: none; }

/* slide progress bar on the image */
.hs-progress {
  position: absolute;
  left: 16px; right: 16px; bottom: 12px;
  height: 3px;
  border-radius: 2px;
  z-index: 4;
  background-color: rgba(245, 245, 245, 0.16);
  background-image: linear-gradient(90deg, var(--page-a, var(--spectrum-1)), var(--page-b, var(--spectrum-5)));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  animation: hs-grow 7s linear both;
}
@keyframes hs-grow {
  from { background-size: 0% 100%; }
  to   { background-size: 100% 100%; }
}

/* Hero headline — one notch smaller */
.hero h1.display-xl { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.6rem); }

/* Case study — split layout; panel beside the image, not over it */
@media (min-width: 900px) {
  .case-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5); align-items: stretch; }
  .case-row .case-panel { position: static; max-width: none; display: flex; flex-direction: column; gap: var(--space-3); justify-content: flex-end; }
  .case-media img { aspect-ratio: 16 / 10; height: 100%; }
  .case-num { right: auto; left: var(--space-4); }
}

/* Logo — centered in the top bar, bigger */
.top-inner { position: relative; }
.top-inner .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.brand img { height: 40px; }
.top-status { margin: 0 auto 0 0; }
@media (max-width: 760px) {
  .brand img { height: 34px; }
  .lang-switch { margin-left: 0; }
  .top-inner { justify-content: space-between; }
}

/* Logo — back at the left, keeping the new size */
.top-inner .brand {
  position: static;
  transform: none;
}
.top-status { margin: 0 auto; }

/* Full-width layout — sections span the viewport like the hero */
:root { --container-max: 1760px; }
.container { padding-inline: clamp(24px, 4vw, 76px); }
.band-head { max-width: 860px; }
.lede { max-width: 62ch; }

/* Selected work — page-accent hue over photos, full color on hover */
.work-card img { filter: saturate(0.3) brightness(0.88); }
.work-card::after {
  z-index: 1;
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--page-a, var(--spectrum-1)) 70%, transparent),
    color-mix(in srgb, var(--page-b, var(--spectrum-5)) 60%, transparent));
  mix-blend-mode: color;
  opacity: 1;
  transition: opacity 600ms var(--ease-out);
}
.work-card:hover::after, .work-card:focus-visible::after { opacity: 0; }
.work-card:hover, .work-card:focus-visible {
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 55%, transparent);
  box-shadow: 0 18px 42px -14px rgba(0,0,0,0.6), 0 0 32px color-mix(in srgb, var(--page-a, var(--cyan)) 15%, transparent);
}
.work-card .work-card-info { z-index: 2; }
.work-card:hover img, .work-card:focus-visible img { filter: none; }

.work-feature-media img { filter: saturate(0.3) brightness(0.88); }
.work-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--page-a, var(--spectrum-1)) 70%, transparent),
    color-mix(in srgb, var(--page-b, var(--spectrum-5)) 60%, transparent));
  mix-blend-mode: color;
  opacity: 1;
  transition: opacity 600ms var(--ease-out);
  pointer-events: none;
}
.work-feature:hover .work-feature-media::after { opacity: 0; }
.work-feature:hover .work-feature-media img { filter: none; }

/* Cue list — don't stretch on ultrawide */
.tc3d { max-width: 1240px; margin-inline: auto; }

/* Hero cue console (programming page) */
.page-hero .tc3d { max-width: none; padding-block: 0; }
.cue-console { display: grid; gap: 10px; padding: var(--space-4) var(--space-5); }
.cc-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}
.cc-head .cc-clock { color: var(--cyan); font-weight: 400; font-variant-numeric: tabular-nums; }
.cc-status { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-faint); }
.cc-status span { border: 1px solid var(--border-subtle); padding: 3px 8px; background: rgba(5, 5, 10, 0.5); }
.cc-run { color: #7CFF8A; border-color: rgba(124, 255, 138, 0.4); animation: pulse 2s steps(2, jump-none) infinite; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cc-table th { text-align: left; font-weight: 500; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); padding: 6px 8px; }
.cc-table td { padding: 7px 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--gray-4); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-table td:nth-child(3) { white-space: normal; }
.cc-table td:first-child { color: var(--cyan); }
.cc-table td:last-child { color: var(--text-faint); font-size: 10px; letter-spacing: 0.1em; }
.cc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}
.cc-meter { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.cc-meter i { width: 4px; height: 100%; background: var(--gradient-beam); transform-origin: bottom; animation: vu 1.1s ease-in-out infinite alternate; }
.cc-meter i:nth-child(1) { animation-delay: 0s; }
.cc-meter i:nth-child(2) { animation-delay: -0.3s; }
.cc-meter i:nth-child(3) { animation-delay: -0.6s; }
.cc-meter i:nth-child(4) { animation-delay: -0.15s; }
.cc-meter i:nth-child(5) { animation-delay: -0.45s; }
@keyframes vu { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
@media (max-width: 899px) { .page-hero .tc3d { margin-top: var(--space-6); } }

/* Hero cue console — responsive fixes */
@media (min-width: 900px) and (max-width: 1199px) {
  .page-hero .hero-split:has(.tc3d) { grid-template-columns: 1fr; }
  .page-hero .tc3d { margin-top: var(--space-6); max-width: 760px; }
  .page-hero .tc3d-inner { transform: none !important; animation: none; }
}
@media (min-width: 1200px) {
  .page-hero .tc3d-inner { animation: console-float-soft 14s ease-in-out infinite alternate; }
}
@keyframes console-float-soft {
  0%   { transform: rotateX(8deg) rotateY(-3deg) translateY(0); }
  50%  { transform: rotateX(5deg) rotateY(-1deg) translateY(-8px); }
  100% { transform: rotateX(9deg) rotateY(-4deg) translateY(4px); }
}

/* Hero previz console (lighting design page) */
.rig-canvas {
  position: relative;
  height: clamp(240px, 26vw, 340px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #05050a;
  border-radius: 6px;
  overflow: hidden;
}
.rig-canvas .fx { mix-blend-mode: normal; }

/* Previz console — bigger canvas, wider column */
.rig-canvas { height: clamp(300px, 34vw, 480px); }
@media (min-width: 1200px) {
  .page-hero .hero-split:has(.rig-console) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Production design — full-width third department card */
.duo-wide { flex: 1 1 100%; min-height: 400px; }
@media (hover: hover) and (min-width: 900px) {
  .duo-grid:hover .duo-wide, .duo-grid .duo-wide:hover { flex: 1 1 100%; }
}

/* Showlog console (about page) */
.showlog {
  position: relative;
  min-height: 250px;
  display: block;
  font-family: var(--font-tc, 'Martian Mono', ui-monospace, monospace);
  font-size: 12.5px;
  letter-spacing: 0.025em;
  color: var(--gray-4);
  border: 1px solid rgba(255, 255, 255, 0.17);
  background:
    radial-gradient(circle at 12% 100%, color-mix(in srgb, var(--page-a, var(--cyan)) 12%, transparent), transparent 38%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(145deg, rgba(12,17,24,.96), #040509 72%);
  background-size: auto, 32px 32px, 32px 32px, auto;
  border-radius: 6px;
  padding: var(--space-4);
  overflow: hidden;
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 28px 90px rgba(0,0,0,.32);
}
.showlog::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: -18%;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--page-a, var(--cyan)) 13%, transparent), rgba(255,255,255,.08), transparent);
  opacity: 0;
}
.showlog.is-streaming::before { animation: sl-scan 4.8s cubic-bezier(.45,0,.25,1) infinite; }
.showlog::after {
  content: "ARCHIVE STREAM / VERIFIED";
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 14px;
  color: color-mix(in srgb, var(--page-a, var(--cyan)) 62%, rgba(255,255,255,.35));
  font: 500 7px/1 var(--font-tc, 'Martian Mono', ui-monospace, monospace);
  letter-spacing: .18em;
}
.sl-lines {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 5px;
  min-width: 0;
  min-height: inherit;
  padding-top: 18px;
}
.sl-entry {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 30px;
  padding: 3px 8px 3px 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
  color: rgba(235,242,249,.48);
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(0,9px,0);
  transition: opacity .45s ease, filter .55s ease, transform .65s cubic-bezier(.16,1,.3,1), color .4s ease;
}
.sl-entry.is-live { opacity: 1; filter: none; transform: none; }
.sl-entry:last-child { color: rgba(255,255,255,.96); }
.sl-entry:last-child::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--page-a, var(--cyan)), transparent 82%);
  box-shadow: 0 0 12px color-mix(in srgb, var(--page-a, var(--cyan)) 58%, transparent);
  transform: scaleX(.08);
  transform-origin: left;
}
.sl-entry.is-complete:last-child::after { transform: scaleX(1); transition: transform .9s cubic-bezier(.16,1,.3,1); }
.sl-index {
  color: color-mix(in srgb, var(--page-a, var(--cyan)) 68%, rgba(255,255,255,.22));
  font-size: 7px;
  letter-spacing: .08em;
}
.sl-copy { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-caret {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 16px;
  width: 2px;
  height: 17px;
  background: var(--page-a, var(--cyan));
  box-shadow: 0 0 10px var(--page-a, var(--cyan));
  animation: pulse .82s steps(2, jump-none) infinite;
}
@keyframes sl-scan {
  0%, 8% { opacity: 0; transform: translate3d(0,0,0); }
  18% { opacity: .72; }
  78% { opacity: .24; }
  100% { opacity: 0; transform: translate3d(0,650%,0); }
}

/* pozornice.hr — prominent handoff callouts */
.menu-pozornice {
  display: grid;
  gap: 4px;
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  max-width: 360px;
  border: 1px solid color-mix(in srgb, var(--spectrum-8) 45%, transparent);
  border-radius: var(--radius-md);
  background: rgba(254, 168, 86, 0.07);
  transition: box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}
.menu-pozornice:hover { box-shadow: 0 0 26px rgba(254, 168, 86, 0.22); border-color: var(--spectrum-8); }
.mp-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--spectrum-8); }
.menu-pozornice strong { color: var(--white); font-size: var(--text-lg); font-weight: var(--weight-display); }
.mp-note { color: var(--text-muted); font-size: var(--text-sm); }
/* pozornice lockup now includes the wordmark — show it at full size in both spots */

.footer-pozornice {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  border: 1px solid color-mix(in srgb, var(--spectrum-8) 40%, transparent);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(254, 168, 86, 0.09), rgba(253, 225, 30, 0.04));
  transition: box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}
.footer-pozornice:hover { box-shadow: 0 0 32px rgba(254, 168, 86, 0.2); border-color: var(--spectrum-8); }
.fp-badge {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--spectrum-8) 55%, transparent);
  border-radius: 50%;
  color: var(--spectrum-8);
  font-size: 19px;
}
.fp-text { display: grid; gap: 3px; min-width: 0; }
.fp-text strong { color: var(--white); font-size: var(--text-md); }
.fp-text span { color: var(--text-muted); font-size: var(--text-sm); }
.fp-domain { margin-left: auto; font-family: var(--font-mono); font-size: 15px; font-weight: 400; letter-spacing: 0.06em; color: var(--spectrum-8); white-space: nowrap; }
@media (max-width: 700px) {
  .footer-pozornice { flex-wrap: wrap; }
  .fp-domain { margin-left: 0; }
}

/* pozornice.hr — red/blue, animated */
.menu-pozornice, .footer-pozornice {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0d0d15, #0d0d15) padding-box,
    linear-gradient(120deg, #E03C31, #3B6FF0, #E03C31) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: pz-border 5s linear infinite, pz-glow 3.2s ease-in-out infinite alternate;
}
@keyframes pz-border {
  from { background-position: 0 0, 0% 0; }
  to   { background-position: 0 0, 300% 0; }
}
@keyframes pz-glow {
  from { box-shadow: 0 0 14px rgba(224, 60, 49, 0.28); }
  to   { box-shadow: 0 0 32px rgba(59, 111, 240, 0.4); }
}
.menu-pozornice:hover, .footer-pozornice:hover {
  box-shadow: 0 0 40px rgba(59, 111, 240, 0.5);
  border-color: transparent;
}
.mp-kicker { color: #FF6B61; }
.menu-pozornice strong { color: var(--white); }
.fp-badge { border-color: rgba(224, 60, 49, 0.6); color: #FF6B61; }
.fp-domain { color: #6E9BFF; }

/* Rail menu button — glowing beacon */
.rail-menu {
  position: relative;
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 70%, transparent);
  animation: rail-beacon 2.6s ease-in-out infinite alternate;
}
@keyframes rail-beacon {
  from { box-shadow: 0 0 12px color-mix(in srgb, var(--page-a, var(--cyan)) 30%, transparent); }
  to   { box-shadow: 0 0 30px color-mix(in srgb, var(--page-a, var(--cyan)) 65%, transparent), 0 0 60px color-mix(in srgb, var(--page-b, var(--accent)) 25%, transparent); }
}
.rail-menu::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, var(--page-a, var(--cyan)) 55%, transparent);
  animation: rail-ping 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes rail-ping {
  0%   { transform: scale(0.82); opacity: 0; }
  35%  { opacity: 0.9; }
  100% { transform: scale(1.22); opacity: 0; }
}
.rail-menu:hover { animation-play-state: paused; box-shadow: 0 0 34px color-mix(in srgb, var(--page-a, var(--cyan)) 70%, transparent); }
/* mobile top-bar toggle gets the same treatment */
.menu-toggle {
  border-color: color-mix(in srgb, var(--page-a, var(--cyan)) 60%, transparent);
  animation: rail-beacon 2.6s ease-in-out infinite alternate;
}

/* Što radimo — clearer, richer service panels */
.duo-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--duo-a, var(--cyan)) 85%, white);
}
.duo-kicker strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: var(--weight-black);
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--duo-a, var(--cyan));
}
.duo-card h3 { font-size: var(--text-2xl); letter-spacing: 0; }
.duo-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--duo-a, var(--cyan)) 65%, var(--gray-3));
}
.duo-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.duo-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(9, 9, 15, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-weight: var(--weight-semibold);
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.duo-links a:hover {
  transform: translateX(8px);
  border-color: color-mix(in srgb, var(--duo-a, var(--cyan)) 60%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--duo-a, var(--cyan)) 20%, transparent);
  color: var(--white);
}
.duo-links .sub { display: block; color: var(--text-muted); font-size: var(--text-sm); font-weight: var(--weight-body); margin-top: 2px; }
.duo-links .arrow { color: var(--duo-a, var(--cyan)); font-size: 19px; flex-shrink: 0; transition: transform 300ms var(--ease-out); }
.duo-links a:hover .arrow { transform: translateX(4px); }

/* Worldwide stat — glowing globe behind the text */
.stat { position: relative; overflow: hidden; }
.stat-globe .fx { position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0.95; }
.stat-globe .num, .stat-globe .label { position: relative; z-index: 1; }
.stat-globe .num { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); letter-spacing: 0.02em; }
.stat-globe .label { text-shadow: 0 1px 8px rgba(5, 5, 5, 0.9); }

/* Long stat numbers fit their cell */
.stat .num.num-long { font-size: clamp(1.7rem, 1rem + 2.1vw, 3.1rem); }

/* Laser console — wide rectangular window */
.rig-canvas.rig-wide { height: clamp(230px, 21vw, 330px); }
@media (min-width: 1200px) {
  .page-hero .hero-split:has(.rig-wide) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Case/feature panels — center content instead of bottom void */
.work-feature-body { justify-content: center; gap: var(--space-4); }
@media (min-width: 900px) {
  .case-row .case-panel { justify-content: center; }
}

/* Theatre playbills */
.playbills { display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .playbills { grid-template-columns: 1fr 1fr; } }
.playbill {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 3vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(24, 24, 38, 0.6), rgba(9, 9, 15, 0.72));
}
.playbill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--btn-ang),
    transparent 0%, var(--page-a, var(--spectrum-1)) 18%, var(--page-b, var(--spectrum-5)) 32%, transparent 50%,
    transparent 55%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 60%, transparent) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: btn-orbit 7s linear infinite;
  pointer-events: none;
}
.playbill::after {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: conic-gradient(from 0deg at 50% -8%, transparent 166deg, rgba(245, 245, 245, 0.07) 180deg, transparent 194deg);
  transform-origin: 50% 0;
  animation: beam-sweep 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.playbill h3 {
  font-size: clamp(2.7rem, 2rem + 3.6vw, 5rem);
  font-weight: var(--weight-black);
  letter-spacing: 0;
  line-height: 1;
  background: var(--gradient-beam);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(252, 3, 251, 0.35));
}
.pb-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--page-a, var(--cyan));
}
.pb-note { color: var(--text-muted); font-size: var(--text-sm); max-width: 38ch; }

/* Production design card — slim banner, not a third giant panel */
.duo-wide { min-height: 0; }
@media (min-width: 900px) {
  .duo-wide {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-4) var(--space-7);
    padding-block: var(--space-6);
  }
  .duo-wide .duo-kicker { flex-basis: 100%; }
  .duo-wide h3 { flex: 1 1 300px; font-size: var(--text-xl); }
  .duo-wide > p[data-i18n="duo.c.body"] { flex: 2 1 420px; font-size: var(--text-sm); }
  .duo-wide .duo-spec { flex-basis: 100%; }
  .duo-wide .duo-links { flex: 1 1 320px; max-width: 460px; }
}

/* Production design — statement band with ghost 20+ */
.pd-inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .pd-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.pd-copy { display: grid; gap: var(--space-4); justify-items: start; }
.pd-num {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(6rem, 4rem + 9vw, 12rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-2);
  text-align: center;
}
.pd-num span {
  -webkit-text-stroke: 0px transparent;
  background: var(--gradient-beam);
  -webkit-background-clip: text;
  background-clip: text;
}
.pd-num small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  -webkit-text-stroke: 0;
}

/* Control room — live monitor cells */
.spec-cell { position: relative; overflow: hidden; min-height: 240px; }
.spec-cell .fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 500ms var(--ease-out);
}
.spec-cell:hover .fx { opacity: 0.55; }
.spec-cell > *:not(.fx) { position: relative; z-index: 1; }
.spec-tc {
  margin-top: auto;
  font-family: var(--font-tc);
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
  font-weight: 400;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(0, 232, 255, 0.5);
}
/* (LTC flag removed from the control-room clock) */

/* Spectrum hairlines — two more tasteful placements */
.subnav { position: sticky; }
.subnav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1.5px;
  background: var(--gradient-spectrum);
  opacity: 0.5;
}
.cc-head { border-bottom: 0; position: relative; padding-bottom: 10px; }
.cc-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--gradient-spectrum);
  opacity: 0.55;
  border-radius: 2px;
}

/* Hero slides — enter in cyan/magenta duotone, resolve to full color */
.hero-slide.is-active:nth-child(odd) img { animation: hue-in-cyan 2.4s var(--ease-out) both; }
.hero-slide.is-active:nth-child(even) img { animation: hue-in-magenta 2.4s var(--ease-out) both; }
@keyframes hue-in-cyan {
  0%   { filter: sepia(1) saturate(2.6) hue-rotate(140deg) brightness(0.95); transform: scale(1.04); }
  100% { filter: sepia(0) saturate(1) hue-rotate(0deg) brightness(1); transform: scale(1); }
}
@keyframes hue-in-magenta {
  0%   { filter: sepia(1) saturate(2.6) hue-rotate(250deg) brightness(0.95); transform: scale(1.04); }
  100% { filter: sepia(0) saturate(1) hue-rotate(0deg) brightness(1); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-stage { transition: none; }
}

/* === WP build overrides (LumiLas) ============================== */
/* Geometric lightbox close icon: replaces the ✕ glyph, whose font metrics sat off-centre */
.lightbox-close { font-size: 0; position: relative; }
.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
/* Hover lift on card info: grow padding instead of translating, so the bottom gradient stays flush with the card edge */
.work-card .work-card-info { transition: padding-bottom 700ms var(--ease-out); }
.work-card:hover .work-card-info,
.work-card:focus-visible .work-card-info { transform: none; padding-bottom: calc(var(--space-4) + 4px); }
/* Geometric lightbox nav chevrons: replace ‹ › glyphs (same off-centre font metrics as the old close ✕) */
.lightbox-prev, .lightbox-next { font-size: 0; position: relative; }
.lightbox-prev::before, .lightbox-next::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-radius: 1px;
}
.lightbox-prev::before { transform: translate(-35%, -50%) rotate(45deg); }
.lightbox-next::before { transform: translate(-65%, -50%) rotate(-135deg); }
/* Branding: logo in the hero HUD panel + LUMILAS stamps on instrument canvases */
.tc-cell.tc-brand { display: flex; align-items: center; justify-content: flex-end; padding-right: 18px; }
.tc-cell.tc-brand img { height: 22px; width: auto; opacity: 0.55; filter: saturate(0.85); }
.fx-brand {
  position: absolute; right: 14px; bottom: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.26); pointer-events: none; text-transform: uppercase;
}
/* Footer SMPTE bar: staggered pulse on hover */
.footer-bottom .smpte i { transition: transform 300ms var(--ease-out), filter 300ms var(--ease-out); transform-origin: bottom; }
.footer-bottom:hover .smpte i { animation: ll-smpte-pulse 1.1s var(--ease-out) infinite; }
.footer-bottom:hover .smpte i:nth-child(1) { animation-delay: 0ms; }
.footer-bottom:hover .smpte i:nth-child(2) { animation-delay: 90ms; }
.footer-bottom:hover .smpte i:nth-child(3) { animation-delay: 180ms; }
.footer-bottom:hover .smpte i:nth-child(4) { animation-delay: 270ms; }
.footer-bottom:hover .smpte i:nth-child(5) { animation-delay: 360ms; }
.footer-bottom:hover .smpte i:nth-child(6) { animation-delay: 450ms; }
.footer-bottom:hover .smpte i:nth-child(7) { animation-delay: 540ms; }
@keyframes ll-smpte-pulse {
  0%, 100% { transform: scaleY(1); filter: brightness(1); }
  35% { transform: scaleY(1.55); filter: brightness(1.5) saturate(1.4); }
}
@media (prefers-reduced-motion: reduce) { .footer-bottom:hover .smpte i { animation: none; } }
/* Brand cell fills the whole remaining top row of the HUD panel; logo scaled to the cell */
.tc-cell.tc-brand { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.tc-cell.tc-brand img { height: 34px; width: auto; opacity: 0.6; filter: saturate(0.85); }

.work-grid-lg .work-card { display: block; width: 100%; margin: 0 0 var(--space-4, 20px); break-inside: avoid; }
.work-grid-lg .work-card img { aspect-ratio: auto; height: auto; }
@media (max-width: 1100px) {  }
@media (max-width: 640px)  {  }
/* In-house note in the footer */
.footer-bottom .ll-inhouse { font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-muted, rgba(245, 245, 245,.55)); }

/* Mobile: the glass window becomes a slim bottom strip so the slide stays visible */
@media (max-width: 640px) {
  .hero-screen .hero-glass,
  .hero-screen .hero-glass.hg-pos-1,
  .hero-screen .hero-glass.hg-pos-2 {
    top: auto; left: 8px; right: 8px; bottom: 8px;
    width: auto; max-width: none;
    padding: 9px 12px; gap: 2px;
  }
  .hero-glass .hg-tc { display: none; }
  .hero-glass .hg-label { font-size: 9px; }
  .hero-glass .hg-title { font-size: 15px; }
  .hero-glass .hg-venue { font-size: 10.5px; }
}
/* Card hover: slow cinematic in, quick return (fixes the lingering "open" look) */
.work-card img { transition: transform 0.45s var(--ease-out), filter 0.45s var(--ease-out); }
.work-card:hover img, .work-card:focus-visible img { transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 1.5s cubic-bezier(0.16, 1, 0.3, 1); }

/* Cinematic lightbox: vignette stage, ambient projection, accent edge light, frame entrance */
.lightbox { background: radial-gradient(120% 130% at 50% 38%, rgba(9, 9, 15, 0.92), rgba(4, 4, 4, 0.985)); }
.lightbox figure { position: relative; }
.lightbox figure::before {
  content: '';
  position: absolute; inset: 6% 10%;
  background: var(--ll-ambient, none) center / cover no-repeat;
  filter: blur(72px) saturate(1.5) brightness(0.5);
  opacity: 0.55;
  border-radius: 40px;
  transition: opacity 700ms var(--ease-out);
  pointer-events: none;
}
.lightbox img {
  position: relative;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.7),
              0 0 0 1px color-mix(in srgb, var(--page-a, var(--spectrum-1)) 30%, transparent),
              0 0 90px color-mix(in srgb, var(--page-a, var(--spectrum-1)) 10%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox img { opacity: 0; transform: scale(1.035) translateY(6px); transition: opacity 450ms var(--ease-out), transform 1100ms cubic-bezier(0.16, 1, 0.3, 1); }
  .lightbox img.is-shown { opacity: 1; transform: none; }
}
/* Stronger ambient projection in the lightbox */
.lightbox figure::before { opacity: 0.78; filter: blur(72px) saturate(1.65) brightness(0.62); }
/* ==== Što radimo — premium service picker rows ==== */
.duo-links { display: grid; gap: 12px; margin-top: var(--space-4); }
.duo-links li { margin: 0; }
.duo-links a {
  position: relative;
  padding: 17px 18px 17px 22px;
  border: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(245, 245, 245,0.05), rgba(245, 245, 245,0.015));
  overflow: hidden;
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.duo-links a::before { /* accent tick */
  content: '';
  position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--duo-a, var(--spectrum-1)), var(--duo-b, var(--spectrum-5)));
  transform: scaleY(0.35);
  opacity: .55;
  transition: transform .45s var(--ease-out), opacity .45s var(--ease-out);
}
.duo-links a .arrow {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(9,9,15,.5);
  color: var(--text-muted);
  font-size: 15px;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.duo-links a:hover, .duo-links a:focus-visible {
  color: var(--white);
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--duo-a, var(--cyan)) 55%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--duo-a, var(--cyan)) 10%, transparent), rgba(245, 245, 245,0.03));
  box-shadow: 0 12px 36px rgba(0,0,0,.35), 0 0 26px color-mix(in srgb, var(--duo-a, var(--cyan)) 14%, transparent);
}
.duo-links a:hover::before, .duo-links a:focus-visible::before { transform: scaleY(1); opacity: 1; }
.duo-links a:hover .arrow, .duo-links a:focus-visible .arrow {
  transform: translateX(3px);
  color: #050505;
  background: linear-gradient(135deg, var(--duo-a, var(--cyan)), var(--duo-b, var(--spectrum-5)));
  border-color: transparent;
  box-shadow: 0 0 22px color-mix(in srgb, var(--duo-a, var(--cyan)) 45%, transparent);
}
.duo-links .sub { margin-top: 3px; }
/* Legal pages prose + footer legal links */
.legal-prose { color: var(--text-body); line-height: 1.75; }
.legal-prose h2 { font-size: var(--text-lg); margin: 2.2em 0 .6em; color: var(--white); }
.legal-prose p { margin: 0 0 1em; }
.legal-prose a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent); }
.legal-prose a:hover { border-bottom-color: var(--cyan); }
.legal-prose em { color: var(--text-muted); font-style: normal; font-size: var(--text-sm); }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--white); }
/* ==========================================================================
   2026-07-11 batch — logo scroll shadow, vertical right HUD,
   process band right-aligned on the design page, laser show-card colors
   ========================================================================== */

/* Topbar logo: shadow while scrolling so it stays legible over white display type */
.site-top .brand img { transition: filter 260ms var(--ease-out); }
.site-top.is-scrolled .brand img {
  filter: drop-shadow(0 1px 3px rgba(5, 5, 5, 0.95))
          drop-shadow(0 4px 14px rgba(5, 5, 5, 0.85))
          drop-shadow(0 0 26px rgba(5, 5, 5, 0.6));
}

/* HUD readouts: docked vertically on the right edge of the viewport */
.hud-bl, .hud-br {
  left: auto;
  bottom: auto;
  right: clamp(10px, 1.2vw, 18px);
  writing-mode: vertical-rl;
}
.hud-bl { top: 50%; transform: translateY(calc(-100% - 16px)); }
.hud-br { top: calc(50% + 16px); }
.hud-bl .hud-bar, .hud-br .hud-bar { width: 2px; height: 34px; }

/* Dizajn rasvjete — process band text right, for the left-right-left page rhythm */
.band:has(#ld-process-title) .band-head { margin-left: auto; text-align: right; }
.band:has(#ld-process-title) .band-mark { right: auto; left: 0; }

/* Laser show picker — per-type category color coding (set via --show-c inline) */
.show-card { --show-c: var(--page-a, var(--cyan)); }
.show-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--show-c), transparent 82%);
  z-index: 2;
  opacity: 0.95;
  pointer-events: none;
}
.show-card .show-spec, .show-card .show-more { color: var(--show-c); }
.show-card:hover {
  border-color: color-mix(in srgb, var(--show-c) 60%, transparent);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 28px color-mix(in srgb, var(--show-c) 18%, transparent);
}
.show-card:hover::after { border-color: color-mix(in srgb, var(--show-c) 55%, transparent); }
/* ==========================================================================
   2026-07-11 batch 2 — declutter sides, gallery row order, horizontal MENU,
   ON AIR live/laser alternation, service-picker color split
   ========================================================================== */

/* 1) Reduce side clutter: drop the second HUD line + the rail's vertical
      timecode (the topbar already shows SMPTE LTC), and calm the rest. */
.hud-br { display: none !important; }
.hud-bl { opacity: 0.42; }
.hud-bl .hud-bar { opacity: 0.4; }
.side-rail .rail-tc { display: none; }
.side-rail .rail-line { opacity: 0.5; }
.rail-rec { opacity: 0.72; }

/* 7) Sidestrip: MENU label horizontal, centered under the hamburger */
.side-rail .rail-word {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-align: center;
  margin-top: 2px;
  padding-left: 0.28em; /* optical centering for the tracked caps */
}



/* 5) ON AIR pill -> alternating LIVE SHOW RUNNING (red) / LASERS ACTIVE (green) */
.onair { transition: color 300ms var(--ease-out), background 300ms var(--ease-out), border-color 300ms var(--ease-out); }
.onair.onair-live {
  background: rgba(255, 40, 64, 0.16);
  border-color: rgba(255, 60, 80, 0.55);
  color: #FF5A6E;
}
.onair.onair-laser {
  background: rgba(72, 240, 110, 0.16);
  border-color: rgba(72, 240, 110, 0.55);
  color: #48F06E;
}
/* ==========================================================================
   2026-07-11 batch 3 — single-line HUD, animated masonry gallery + 6-way
   filter, frozen-glass featured project
   ========================================================================== */

/* Right HUD: collapse to a single vertical line (JS combines the content) */
.hud-bl.hud-solo {
  display: block;
  white-space: nowrap;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
}
.hud-bl.hud-solo .hud-bar { display: inline-block; margin-bottom: 10px; }

/* Gallery: JS masonry (row-major order, variable heights). Overrides the
   earlier uniform-grid rule via #id specificity. */
#work-masonry{position:relative!important;display:block!important;column-count:auto!important;columns:auto!important;grid-template-columns:none!important;width:100%;min-height:200px}
#work-masonry.js-masonry .work-card{position:absolute!important;top:0;left:0;margin:0!important;transition:transform .5s cubic-bezier(.16,1,.3,1),opacity .4s ease,width .3s ease}
/* pre-JS fallback: simple block flow so content is visible before JS runs */
#work-masonry:not(.js-masonry) .work-card{position:relative!important;display:inline-block;width:32%;vertical-align:top;margin:0 1% var(--space-4) 0!important}
#work-masonry .work-card{width:100%!important;break-inside:avoid;transform:none;clip-path:none!important}
#work-masonry .work-card img{width:100%!important;height:auto!important;aspect-ratio:auto!important;display:block;object-fit:cover}
#work-masonry .work-card.is-filtered{opacity:0;pointer-events:none;transform:scale(.9)!important}


#work-masonry .work-card {
  position: absolute;
  top: 0; left: 0;
  margin: 0 !important;
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 340ms var(--ease-out);
  will-change: transform, opacity;
}
#work-masonry .work-card img {
  aspect-ratio: auto !important;
  height: auto !important;
  width: 100%;
}
#work-masonry .work-card.is-filtered {
  opacity: 0;
  pointer-events: none;
}
#work-masonry.is-laying .work-card { transition: none; } /* silence transition during first paint */

/* Filter chips: active-state pop + smoother hover */
.work-filter label { transition: color 240ms var(--ease-out), border-color 240ms var(--ease-out), background 240ms var(--ease-out), transform 200ms var(--ease-out); }
.work-filter label:active { transform: scale(0.96); }
.work-filter input:checked + label { transform: translateY(-1px); }

/* ---- Featured project — frozen glass (mirrors the hero glass panel) ---- */
.featured-case { position: relative; }
.featured-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.featured-media img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.featured-case:hover .featured-media img { transform: scale(1.03); }
.featured-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(210deg, transparent 42%, rgba(5, 5, 5, 0.6) 100%);
  pointer-events: none;
}
.featured-glass {
  position: absolute;
  left: clamp(16px, 4vw, 52px);
  bottom: clamp(16px, 4vw, 52px);
  z-index: 4;
  width: min(440px, 46%);
  display: grid;
  gap: 10px;
  padding: var(--space-6);
  background: linear-gradient(160deg, rgba(245, 245, 245, 0.12), rgba(245, 245, 245, 0.03));
  border: 1px solid rgba(245, 245, 245, 0.25);
  border-radius: 6px;
  backdrop-filter: blur(24px) saturate(1.5) brightness(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.5) brightness(1.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.featured-glass::before, .featured-glass::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(245, 245, 245, 0.65);
}
.featured-glass::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.featured-glass::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
.featured-glass .fg-kicker {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--page-a, var(--cyan));
}
.featured-glass .fg-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-display); letter-spacing: 0; line-height: 1.05; }
.featured-glass .fg-meta { color: var(--text-muted); font-size: var(--text-sm); }
.featured-glass .fg-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.featured-glass .fg-specs span {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(245, 245, 245, 0.28);
  border-radius: 6px;
  padding: 3px 8px;
  background: rgba(9, 9, 15, 0.35);
}
.featured-glass .fg-btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) {
  .featured-glass {
    position: static;
    width: auto;
    margin: -44px var(--space-3) 0;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
  }
}
/* 2026-07-11 batch 3b — featured image was rendering ~820px tall (full-bleed
   16:8.5), stranding the glass card below the fold. Cap it to a compact,
   cinematic block so title + image + glass read together. */
.featured-media img {
  aspect-ratio: 16 / 6.4;
  max-height: 520px;
}
@media (max-width: 860px) {
  .featured-media img { aspect-ratio: 16 / 11; max-height: 60vh; }
}
/* featured section: clear the sticky subnav so ISTAKNUTO isn't flush */
.featured-band { padding-top: clamp(44px, 6vw, 90px); }

/* ==========================================================================
   2026-07-12 batch 5 — archive console in the Projekti hero (expanded),
   de-synced per-band bloom variants (kills the repetitive section look)
   ========================================================================== */

/* --- Projekti hero: copy left, expanded archive console right --- */
.work-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.work-hero-split .gal-console { max-width: 100%; width: 100%; }
.work-hero-split .gal-console .cue-console { min-height: 0; }
.work-hero-split .gal-console .showlog {
  min-height: 196px;
  max-height: 196px;
  overflow: hidden;
}
@media (max-width: 1020px) {
  .work-hero-split { grid-template-columns: 1fr; }
  .work-hero-split .gal-console { max-width: 560px; }
  .work-hero-split .gal-console .showlog { min-height: 150px; max-height: 150px; }
}

/* --- per-band bloom variants (classes assigned by JS in document order) ---
   Same visual language, but each consecutive band gets its own geometry,
   duration and phase so neighbours never read as copies. */
section.band.band-v1::before {
  background:
    radial-gradient(30% 36% at 86% 20%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 9%, transparent), transparent 70%),
    radial-gradient(26% 32% at 12% 80%, color-mix(in srgb, var(--page-a, var(--spectrum-1)) 7%, transparent), transparent 70%);
  animation-duration: 34s;
  animation-delay: -13s;
}
section.band.band-v2::before {
  background:
    radial-gradient(44% 30% at 50% 108%, color-mix(in srgb, var(--page-a, var(--spectrum-1)) 7%, transparent), transparent 72%),
    radial-gradient(18% 24% at 74% -6%, color-mix(in srgb, var(--page-b, var(--spectrum-5)) 6%, transparent), transparent 70%),
    radial-gradient(16% 22% at 20% 8%, rgba(245, 245, 245, 0.035), transparent 70%);
  animation-duration: 30s;
  animation-delay: -21s;
  animation-direction: alternate-reverse;
}
/* ==========================================================================
   2026-07-12 batch 6 — crowd pixels (audience LED wristbands) band
   ========================================================================== */
.crowd-band {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 64vh, 700px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 9vw, 130px);
}
.crowd-band::before { display: none; } /* no generic band bloom under the canvas */
.crowd-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.crowd-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.32) 46%, transparent 72%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.6), transparent 26%, transparent 72%, rgba(5, 5, 5, 0.72));
}
.crowd-inner { position: relative; z-index: 2; width: 100%; }
.crowd-glass {
  position: relative;
  width: min(600px, 100%);
  display: grid;
  gap: var(--space-3);
  padding: clamp(26px, 3.4vw, 44px);
  background: linear-gradient(160deg, rgba(245, 245, 245, 0.11), rgba(245, 245, 245, 0.025));
  border: 1px solid rgba(245, 245, 245, 0.24);
  border-radius: 6px;
  backdrop-filter: blur(22px) saturate(1.5) brightness(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(1.1);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.crowd-glass::before, .crowd-glass::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(245, 245, 245, 0.6);
}
.crowd-glass::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.crowd-glass::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
.crowd-glass .lede { max-width: 52ch; }
.crowd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.crowd-chips span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid color-mix(in srgb, var(--spectrum-1) 45%, rgba(245, 245, 245, 0.25));
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  background: rgba(9, 9, 15, 0.4);
}
.crowd-chips span:nth-child(2n) { border-color: color-mix(in srgb, var(--spectrum-5) 45%, rgba(245, 245, 245, 0.25)); }
.crowd-cta { margin-top: var(--space-3); }
.crowd-hud {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(245, 245, 245, 0.4);
  pointer-events: none;
  white-space: nowrap;
}
.ch-tl { top: 26px; left: 28px; }
.ch-br { bottom: 24px; right: 28px; }
@media (max-width: 640px) {
  .crowd-hud { display: none; }
  .crowd-band { min-height: 0; }
}
/* ==========================================================================
   2026-07-12 batch 7 — gallery card glow, pozornice logo + floating referral
   ========================================================================== */

/* corner fix without clip-path: even if the composited overflow clip drops
   during the hover scale, the img itself carries the radius — and outer
   glows are no longer clipped away */
#work-masonry .work-card img,
#work-masonry .work-card::before { border-radius: inherit; }

/* premium hover glow — dual-tone brand bloom + gradient hairline ring */
#work-masonry .work-card {
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 340ms var(--ease-out),
              box-shadow 420ms var(--ease-out), border-color 420ms var(--ease-out);
}
#work-masonry .work-card:hover,
#work-masonry .work-card:focus-visible {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* pozornice.hr logo in footer strip + menu overlay */
.footer-pozornice .fp-domain img,
.fp-logo img { height: 20px; width: auto; display: block; opacity: 0.92; }
.footer-pozornice:hover .fp-domain img, .menu-pozornice:hover img { opacity: 1; }

/* floating pozornice referral card */
.pz-float {
  position: fixed;
  right: clamp(46px, 4vw, 64px);
  bottom: 26px;
  z-index: 180;
  width: min(330px, calc(100vw - 120px));
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.pz-float.pz-in { opacity: 1; transform: none; pointer-events: auto; }
.pz-float > a {
  display: grid;
  gap: 7px;
  padding: 16px 18px 15px;
  background: linear-gradient(160deg, rgba(245, 245, 245, 0.1), rgba(9, 9, 15, 0.55));
  border: 1px solid rgba(245, 245, 245, 0.22);
  border-radius: 10px;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.pz-float > a:hover {
  border-color: color-mix(in srgb, var(--spectrum-6, #FF6B8F) 55%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(254, 112, 141, 0.16);
}
.pz-float strong { font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: 1.35; }
.pz-float span { font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.pz-float .pz-close {
  position: absolute;
  top: -9px; right: -9px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(9, 9, 15, 0.9);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.pz-float .pz-close:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 900px) { .pz-float { display: none; } }
/* topbar brand: modest static nudge toward the content column; the JS
   measurement overrides this with the exact pixel value */
@media (min-width: 761px) {
  .site-top .brand { margin-left: clamp(10px, 2.2vw, 36px); }
}

/* ==========================================================================
   2026-07-12 batch 8 — orbiting glow on gallery cards, LED-field behind the
   gallery (replaces the shine sweep), darker frozen-glass floating card
   ========================================================================== */

/* gallery cards: replace the shine sweep with the button-style orbiting ring */
#work-masonry .work-card::before,
#work-masonry .work-card:hover::before,
#work-masonry .work-card:focus-visible::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--btn-ang),
    transparent 0%, var(--spectrum-1) 18%, var(--spectrum-5) 32%, transparent 50%,
    transparent 55%, color-mix(in srgb, var(--spectrum-5) 60%, transparent) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  animation: btn-orbit 4s linear infinite;
  transform: none;
  transition: opacity 360ms var(--ease-out);
  opacity: 0;
  pointer-events: none;
}
#work-masonry .work-card:hover::before,
#work-masonry .work-card:focus-visible::before { opacity: 1; }

/* LED wristband field behind the gallery (viewport-sticky inside the band) */
.e-con:has(#work-masonry) { position: relative; overflow: hidden; }
.e-con:has(#work-masonry) .elementor-widget { position: relative; z-index: 1; }
.work-fx-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.work-fx-wrap canvas {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  opacity: 0.55;
}

/* floating pozornice card: semi-transparent dark frozen glass */
.pz-float > a {
  background: linear-gradient(165deg, rgba(14, 12, 22, 0.72), rgba(6, 5, 10, 0.82));
  border-color: rgba(245, 245, 245, 0.18);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}
/* ==========================================================================
   2026-07-12 batch 9 — pozornice windows restructured for the rectangular logo
   ========================================================================== */

/* footer strip: logo becomes the right-side anchor at proper scale */
.footer-pozornice .fp-domain {
  margin-left: auto;
  display: grid;
  place-items: center;
  padding-left: var(--space-4);
}
.footer-pozornice .fp-domain img {
  height: 52px;
  width: auto;
  opacity: 0.95;
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
}
.footer-pozornice:hover .fp-domain img { opacity: 1; transform: scale(1.05); }
@media (max-width: 700px) { }

/* menu overlay: copy left, rectangular logo right */
.menu-pozornice {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "kick logo" "note logo";
  column-gap: var(--space-4);
  align-items: center;
}
.menu-pozornice .mp-kicker { grid-area: kick; }
.menu-pozornice .mp-note { grid-area: note; }
.menu-pozornice img {
  grid-area: logo;
  height: 88px;
  width: auto;
  margin: 0;
  opacity: 0.95;
}

/* floating card: logo column + copy column */
.pz-float > a {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.pz-float .pz-logo { display: grid; place-items: center; }
.pz-float img { height: 72px; width: auto; opacity: 0.95; }
.pz-float .pz-copy { display: grid; gap: 5px; min-width: 0; }
/* gallery band: the LED field is the only background layer — no band beam
   sweep (it painted above the canvas and drowned the dots) and no bloom */
.band:has(#work-masonry)::before,
.band:has(#work-masonry)::after { display: none; }
.work-fx-wrap canvas { opacity: 0.7; }

/* gallery band: full-contrast black stage for the LED field */
.band:has(#work-masonry) {
  background: linear-gradient(180deg,
    rgba(2, 2, 4, 0) 0%,
    rgba(2, 2, 4, 0.97) clamp(140px, 20vh, 300px),
    rgba(2, 2, 4, 0.97) calc(100% - clamp(140px, 20vh, 300px)),
    rgba(2, 2, 4, 0) 100%);
}
.work-fx-wrap canvas { opacity: 1; }

/* LED field: fade the horizon (top) and floor edge into the black stage */
.work-fx-wrap canvas {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 92%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 92%, transparent);
}

/* ==========================================================================
   2026-07-12 batch 10 — no more grey slabs: raised sections go dark instead
   of lifting to grey (#141414). Small UI surfaces (icons, form fields, cards)
   keep their raised tone — this targets section backgrounds only.
   ========================================================================== */
/* raised sections are "pools of darkness": the page tone melts into the deep
   black over ~18vh at both ends, so there is never a hard seam against the
   neighbouring section — the darkness reads as stage lighting falloff. */
.band-raised {
  background: linear-gradient(180deg,
    rgba(4, 4, 4, 0) 0%,
    rgba(4, 4, 4, 0.94) clamp(90px, 16vh, 220px),
    rgba(4, 4, 4, 0.94) calc(100% - clamp(90px, 16vh, 220px)),
    rgba(4, 4, 4, 0) 100%);
}
/* ==========================================================================
   2026-07-12 batch 11 — pz-float close fix, horizontal footer logo, mobile
   topbar, favicon-chip section markers
   ========================================================================== */

/* floating card: the close X was painting BEHIND the link (the "ellipse") —
   now a proper button inside the top corner, above everything */
.pz-float .pz-close {
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 26px;
  height: 26px;
  padding: 0;
  min-height: 0;
  line-height: 1;
  font-size: 15px;
  background: rgba(9, 9, 15, 0.85);
  border-color: rgba(245, 245, 245, 0.3);
}
.pz-float > a { padding-right: 40px; position: relative; }

/* footer strip: horizontal wordmark proportions */
.footer-pozornice .fp-domain img { height: 30px; }
@media (max-width: 700px) { .footer-pozornice .fp-domain img { height: 22px; } }

/* mobile topbar: everything fits, menu toggle always reachable */
@media (max-width: 640px) {
  .top-inner { padding-inline: 12px !important; gap: 8px; }
  .lang-switch { gap: 2px; flex-shrink: 0; }
  .lang-switch button { padding: 4px 5px; }
  .lang-switch button svg { width: 19px; height: 13px; }
  .menu-toggle { flex-shrink: 0; padding-inline: 8px; }
  .menu-toggle span[data-i18n] { display: none; }
}

/* section markers: the 24px line next to eyebrows becomes the logo-chip mark */
.eyebrow::before {
  content: "";
  width: 34px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%208%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%2244%22%20y2%3D%220%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2300E8FF%22%2F%3E%3Cstop%20offset%3D%22.125%22%20stop-color%3D%22%234FA8FF%22%2F%3E%3Cstop%20offset%3D%22.25%22%20stop-color%3D%22%238A7BFF%22%2F%3E%3Cstop%20offset%3D%22.375%22%20stop-color%3D%22%23B44BF8%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23FC03FB%22%2F%3E%3Cstop%20offset%3D%22.625%22%20stop-color%3D%22%23FF3EA0%22%2F%3E%3Cstop%20offset%3D%22.75%22%20stop-color%3D%22%23FF7A6E%22%2F%3E%3Cstop%20offset%3D%22.875%22%20stop-color%3D%22%23FFA94D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FFEB3B%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%228%22%20rx%3D%224%22%20fill%3D%22url%28%23g%29%22%2F%3E%3C%2Fsvg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
}
/* ==========================================================================
   2026-07-12 batch 12 — PR frames: animated "screenshots" of real press
   stories in browser-window cards
   ========================================================================== */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.pr-frame {
  display: block;
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: rgba(9, 9, 15, 0.55);
  overflow: hidden;
  transition: border-color 340ms var(--ease-out), box-shadow 340ms var(--ease-out), transform 340ms var(--ease-out);
}
.pr-frame:hover {
  border-color: rgba(245, 245, 245, 0.35);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(-4px);
}
.pr-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(245, 245, 245, 0.05);
  border-bottom: 1px solid var(--border-subtle);
}
.pr-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #33334a; }
.pr-chrome i:nth-child(1) { background: rgba(255, 95, 87, 0.75); }
.pr-chrome i:nth-child(2) { background: rgba(254, 188, 46, 0.75); }
.pr-chrome i:nth-child(3) { background: rgba(40, 200, 100, 0.7); }
.pr-url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-ext { margin-left: auto; color: var(--text-muted); font-size: 12px; transition: color 240ms var(--ease-out), transform 240ms var(--ease-out); }
.pr-frame:hover .pr-ext { color: var(--white); transform: translate(2px, -2px); }

.pr-view {
  display: block;
  position: relative;
  height: 300px;
  overflow: hidden;
}
/* reading fade at the bottom of the "screenshot" */
.pr-view::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(9, 9, 15, 0.85));
  pointer-events: none;
}
.pr-page {
  display: grid;
  gap: 13px;
  padding: 18px 18px 26px;
  animation: pr-scroll var(--pr-dur, 17s) ease-in-out infinite;
  will-change: transform;
}
@keyframes pr-scroll {
  0%, 15%  { transform: translateY(0); }
  40%, 54% { transform: translateY(-30%); }
  80%, 88% { transform: translateY(-56%); }
  100%     { transform: translateY(0); }
}
.pr-frame:hover .pr-page { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .pr-page { animation: none; } }

.pr-mast { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.28em; color: rgba(245, 245, 245, 0.45); }
.pr-head { font-size: var(--text-lg); font-weight: var(--weight-display); color: var(--white); line-height: 1.25; }
.pr-meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; color: color-mix(in srgb, var(--spectrum-1) 70%, var(--text-muted)); }
.pr-quote { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.55; }
.pr-fig { display: block; height: 104px; border-radius: 6px; border: 1px solid rgba(245, 245, 245, 0.08); }
.pf-a { background: radial-gradient(80% 130% at 20% 80%, rgba(0, 232, 255, 0.28), transparent 60%), radial-gradient(90% 140% at 85% 15%, rgba(252, 3, 251, 0.24), transparent 65%), #0a0a14; }
.pf-b { background: radial-gradient(85% 130% at 75% 85%, rgba(180, 75, 248, 0.26), transparent 62%), radial-gradient(80% 120% at 15% 10%, rgba(253, 225, 30, 0.16), transparent 60%), #0a0a14; }
.pf-c { background: radial-gradient(90% 140% at 50% 100%, rgba(84, 171, 254, 0.26), transparent 64%), radial-gradient(70% 110% at 88% 8%, rgba(254, 112, 141, 0.18), transparent 58%), #0a0a14; }

.pr-src {
  display: block;
  padding: 11px 16px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
/* ==========================================================================
   2026-07-12 batch 13 — press stage: cue-list selector + one live frame
   ========================================================================== */
.press-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: stretch;
}
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.ps-list button {
  position: relative;
  width: 100%;
  text-align: left;
  display: grid;
  gap: 5px;
  padding: 14px 16px 16px;
  background: rgba(245, 245, 245, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 300ms var(--ease-out), background 300ms var(--ease-out), color 300ms var(--ease-out);
  overflow: hidden;
}
.ps-list li.is-active button {
  background: rgba(245, 245, 245, 0.07);
  border-color: rgba(245, 245, 245, 0.3);
  color: var(--white);
}
.ps-list button:hover { border-color: rgba(245, 245, 245, 0.3); }
.ps-src { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--spectrum-1) 60%, var(--text-muted)); }
.ps-head { font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: 1.35; }
/* cue-timer bar: fills over the rotation interval on the active item */
.ps-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(245, 245, 245, 0.07); }
.ps-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--spectrum-1), var(--spectrum-5)); }
.ps-list li.is-active .ps-bar i { animation: ps-cue var(--ps-int, 7s) linear forwards; }
@keyframes ps-cue { to { width: 100%; } }

.ps-frames { position: relative; min-height: 430px; }
.ps-frames .pr-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out);
}
.ps-frames .pr-frame.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ps-frames .pr-frame.is-leaving { opacity: 0; transform: translateX(-26px); }
.ps-frames .pr-view { flex: 1; height: auto; }

@media (max-width: 900px) {
  .press-stage { grid-template-columns: 1fr; }
  .ps-list { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 6px; }
  .ps-head { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ps-frames { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-frames .pr-frame { transition: none; }
  .ps-list li.is-active .ps-bar i { animation: none; width: 100%; }
}
/* pr-frame screenshot variant: the page IS a real full-page capture */
.pr-page.pr-shot { padding: 0; gap: 0; display: block; }
.pr-page.pr-shot img { display: block; width: 100%; height: auto; }
/* ==========================================================================
   2026-07-12 batch 14 — 3D press panels: large readable headline + quotes,
   layered depth, mouse tilt. Replaces the scrolling browser-frame look.
   ========================================================================== */
.ps-frames.ps-3d { perspective: 1300px; min-height: 460px; }
.ps-frames.ps-3d .pr-frame {
  border: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.ps-frames.ps-3d .pr-frame:hover { transform: none; box-shadow: none; }

.pp-card {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vh, 22px);
  height: 100%;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(245, 245, 245, 0.14);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(16, 14, 26, 0.66), rgba(6, 5, 11, 0.82));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: rotateY(var(--pp-ry, -6deg)) rotateX(var(--pp-rx, 2.2deg));
  transform-style: preserve-3d;
  transition: transform 520ms var(--ease-out), border-color 320ms var(--ease-out);
  will-change: transform;
  position: relative;
}
.pr-frame:hover .pp-card { border-color: rgba(245, 245, 245, 0.3); }
/* corner ticks — site console language */
.pp-card::before, .pp-card::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid rgba(0, 232, 255, 0.5);
  pointer-events: none;
}
.pp-card::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.pp-card::after  { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

.pp-mast {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: color-mix(in srgb, var(--spectrum-1) 75%, var(--text-muted));
  transform: translateZ(30px);
}
.pp-head {
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: var(--weight-display);
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--white);
  transform: translateZ(52px);
}
.pp-quote {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.78);
  max-width: 60ch;
  padding-left: 14px;
  border-left: 2px solid rgba(252, 3, 251, 0.45);
  transform: translateZ(36px);
}
.pp-quote.pp-q2 { border-left-color: rgba(0, 232, 255, 0.45); }
.pp-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  transform: translateZ(24px);
}
.pp-read { color: var(--white); opacity: 0.65; transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.pr-frame:hover .pp-read { opacity: 1; transform: translate(2px, -2px); }

/* entrance cascade when a story becomes active */
.ps-3d .pr-frame.is-active .pp-mast  { animation: pp-in 620ms var(--ease-out) both; }
.ps-3d .pr-frame.is-active .pp-head  { animation: pp-in 620ms 90ms var(--ease-out) both; }
.ps-3d .pr-frame.is-active .pp-quote { animation: pp-in 620ms 190ms var(--ease-out) both; }
.ps-3d .pr-frame.is-active .pp-q2    { animation-delay: 280ms; }
.ps-3d .pr-frame.is-active .pp-foot  { animation: pp-in 620ms 360ms var(--ease-out) both; }
@keyframes pp-in {
  from { opacity: 0; transform: translateZ(var(--z, 30px)) translateY(16px); }
  to   { opacity: 1; transform: translateZ(var(--z, 30px)) translateY(0); }
}
.ps-3d .pr-frame.is-active .pp-mast  { --z: 30px; }
.ps-3d .pr-frame.is-active .pp-head  { --z: 52px; }
.ps-3d .pr-frame.is-active .pp-quote { --z: 36px; }
.ps-3d .pr-frame.is-active .pp-foot  { --z: 24px; }

@media (max-width: 900px) {
  .ps-frames.ps-3d { min-height: 480px; perspective: none; }
  .pp-card { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-card { transform: none !important; transition: none; }
  .ps-3d .pr-frame.is-active .pp-mast,
  .ps-3d .pr-frame.is-active .pp-head,
  .ps-3d .pr-frame.is-active .pp-quote,
  .ps-3d .pr-frame.is-active .pp-foot { animation: none; }
}
/* ==========================================================================
   2026-07-12 batch 15 — mobile debug pass
   ========================================================================== */
/* iOS zooms the whole page when focusing inputs with font-size < 16px */
@media (max-width: 760px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}
/* cleaner touch feedback on interactive chrome */
.menu-toggle, .lang-switch button, .ps-list button, .pz-close { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* ==========================================================================
   2026-07-13 batch 16 — gallery card sharp-corner overflow fix + header logo
   ========================================================================== */
/* the reveal sweep left clip-path:inset() behind, a hard rectangle that
   overrode the 16px radius and exposed sharp corners on hover. If clip-path
   is ever present it must carry the same radius; and glows live outside the
   card so the card clips its own fill only. */
.work-card { clip-path: none !important; }
.work-card, .work-card::after { border-radius: 16px; }
/* keep the orbiting-ring ::before glow rounded too */
.work-card::before { border-radius: 18px; }

/* header wordmark a touch smaller */
.site-top .brand img { height: 28px; }
@media (max-width: 640px) { }
/* ==========================================================================
   2026-07-13 batch 17 — Safari rounded-corner clip fix
   Safari fails to clip a transform:scale() child (the hover zoom) to the
   parent's border-radius, so the image's square corners bleed past the
   rounded card. A -webkit-mask on the card forces a proper rounded clip that
   Safari honours even for transformed/composited children.
   ========================================================================== */
#work-masonry .work-card {
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000); /* legacy compositing kick */
  -webkit-mask-image: radial-gradient(#fff, #000);
  isolation: isolate;
}
/* clip the zooming image explicitly to the same radius on its own layer */
#work-masonry .work-card img {
  border-radius: 16px;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
}

/* header wordmark — tasteful size (Sven, 13 Jul) */
.site-top .brand img { height: 46px; }
@media (max-width: 640px) { .site-top .brand img { height: 38px; } }

/* ===== v2.0 refinements ===== */
.reveal { transform: translateY(16px) scale(0.99); transition: opacity 620ms cubic-bezier(0.16,1,0.3,1), transform 760ms cubic-bezier(0.16,1,0.3,1); }
.reveal.in { transform: none; }
:focus-visible { outline-offset: 3px; }


/* ===== v2.0 rail tooltips (rail-tip-fx) ===== */
.rail-links a { position: relative; }
.rail-links a[data-tip]::after {
  content: attr(data-tip);
  writing-mode: horizontal-tb;
  position: absolute; left: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(-6px);
  white-space: nowrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #EAF4FF;
  background: rgba(7,7,7,0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 2px solid var(--page-a, var(--cyan));
  padding: 7px 11px; border-radius: 8px;
  box-shadow: 0 8px 26px -10px rgba(0,0,0,0.7);
  opacity: 0; pointer-events: none; z-index: 260;
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out);
}
.rail-links a[data-tip]:hover::after,
.rail-links a[data-tip]:focus-visible::after {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

/* === scene-layer 2026 === */
/* one service hue per surface: subtle radial bloom at top, keyed to --page-a. <=12% alpha. */
.band-raised{position:relative}
.band-raised::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(60% 42% at 50% 0%, color-mix(in srgb, var(--page-a, var(--cyan)) 10%, transparent), transparent 72%);}
.band-raised > *{position:relative;z-index:1}
/* service cards: faint top bloom in the surface hue + hairline hover lift */
.service-card{position:relative;overflow:hidden}
.service-card::before{content:"";position:absolute;left:0;right:0;top:0;height:40%;pointer-events:none;
  background:radial-gradient(80% 100% at 50% 0%, color-mix(in srgb, var(--page-a, var(--cyan)) 8%, transparent), transparent 75%);}
.service-card > *{position:relative}


/* cold-scene utility */
/* technical data (rig specs, riders, DMX, numbers) is always cold — never warm */
.cold-scene, .cold-scene *{color:var(--cold-white)}
.cold-scene .label, .cold-scene .cold-label{color:var(--ice-blue)}
.show-specs, .spec-list{--page-a:var(--ice-blue)}


/* Masonry via CSS columns: newest-first source order flows top-to-bottom per column. */
.work-grid-lg{position:static!important;display:block!important;column-count:3;column-gap:var(--space-4,20px);grid-template-columns:none!important}
@media (max-width:1100px){.work-grid-lg{column-count:2}}
@media (max-width:640px){.work-grid-lg{column-count:1}}
.work-grid-lg .work-card{position:relative!important;top:auto!important;left:auto!important;width:100%!important;
  display:block;break-inside:avoid;-webkit-column-break-inside:avoid;margin:0 0 var(--space-4,20px)!important;
  transform:none!important;clip-path:none!important;
  transition:opacity .45s var(--ease-out,ease), transform .55s cubic-bezier(.16,1,.3,1), filter .45s ease}
.work-grid-lg .work-card.span2{grid-column:auto;grid-row:auto}
.work-grid-lg .work-card img{width:100%!important;height:auto!important;display:block;aspect-ratio:auto!important;object-fit:cover}
/* filter animation: hidden cards collapse out; showing cards fade/scale in */
.work-grid-lg .work-card.is-hiding{opacity:0;transform:scale(.94) translateY(8px);pointer-events:none}
.work-grid-lg .work-card.is-hidden{display:none!important}
.work-grid-lg .work-card.is-showing{animation:wkIn .5s cubic-bezier(.16,1,.3,1) both}
@keyframes wkIn{from{opacity:0;transform:scale(.94) translateY(10px)}to{opacity:1;transform:none}}


/* when JS masonry runs, IT controls show/hide+position; cancel the CSS :has() collapse to avoid conflict */
#work-masonry.js-masonry .work-card{max-height:none!important;overflow:visible!important}
#work-masonry.js-masonry .work-card.is-filtered{opacity:0!important;transform:scale(.9)!important;max-height:none!important}


/* === LLG GALLERY (self-contained) === */
.llg-filter{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 var(--space-6)}
.llg-chip{font-family:var(--font-console);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);background:transparent;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:9px 18px;cursor:pointer;transition:color .25s,border-color .25s,background .25s}
.llg-chip:hover{color:var(--white);border-color:rgba(255,255,255,.4)}
.llg-chip.is-active{color:var(--black-0,#050505);background:var(--cyan,#00E8FF);border-color:var(--cyan,#00E8FF)}
.llg-grid{position:relative;width:100%}
.llg-card{position:absolute;top:0;left:0;display:block;width:100%;padding:0;margin:0;border:0;background:none;text-align:left;cursor:pointer;color:inherit;font:inherit;border-radius:var(--radius-lg,14px);overflow:hidden;transition:transform .55s cubic-bezier(.16,1,.3,1),opacity .4s ease}
.llg-grid:not(.is-ready) .llg-card{position:relative;width:100%;margin:0 0 var(--space-4,20px)}
.llg-frame{display:block;position:relative;width:100%;overflow:hidden;border-radius:var(--radius-lg,14px);border:1px solid rgba(255,255,255,.09);background:var(--black-3,#141414)}
.llg-frame img{display:block;width:100%;height:100%;object-fit:cover}
.llg-card:hover .llg-frame{border-color:rgba(255,255,255,.28)}
.llg-card:hover .llg-frame img{transform:scale(1.04)}
.llg-frame img{transition:transform .7s cubic-bezier(.16,1,.3,1)}
.llg-info{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:2px;padding:20px 18px 16px;background:linear-gradient(180deg,transparent,rgba(5,5,5,.92));pointer-events:none}
.llg-t{font-family:var(--font-display);font-size:17px;color:var(--white,#F5F5F5);line-height:1.15}
.llg-m{font-family:var(--font-console);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ice-blue,#78B9FF)}
.llg-count{position:absolute;top:12px;right:14px;z-index:2;font-family:var(--font-console);font-size:10px;letter-spacing:.14em;color:rgba(255,255,255,.75);background:rgba(5,5,5,.5);border:1px solid rgba(255,255,255,.14);border-radius:4px;padding:3px 7px;pointer-events:none}
.llg-card.is-out{opacity:0;transform:scale(.92)!important;pointer-events:none}


/* timecode fixed-width coverage */
/* clocks & cue-consoles that inherited the proportional --font-console (Aldrich) — back to fixed-width Martian Mono */
.cc-head .cc-clock, .cc-clock, .tc3d, .tc3d-inner, [data-clock]{font-family:var(--font-tc)!important;font-variant-numeric:tabular-nums}


/* ============================================================
   2026-07: fixed left sidebar -> dark frozen-glass TOP STRIP.
   The rail collapses to just its MENU button (overlay handler kept),
   docked top-right in the top bar; 96px content offset removed;
   top bar restyled as frozen glass. Opened .menu-overlay left as-is.
   ============================================================ */
.site-top{ background: rgba(7,7,7,0.55); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); border-bottom: 1px solid rgba(245,245,245,0.10); }
@media (min-width: 900px){
  body{ padding-left: 0 !important; }
  .top-inner{ padding-left: clamp(20px,3vw,40px) !important; padding-right: calc(clamp(20px,3vw,40px) + 84px) !important; }
  .hud-bl{ display: none !important; }
  .side-rail{ left:auto !important; right:clamp(20px,3vw,40px) !important; top:0 !important; bottom:auto !important; width:auto !important; height:88px !important; flex-direction:row !important; align-items:center !important; gap:0 !important; padding:0 !important; background:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; border:none !important; box-shadow:none !important; z-index:260 !important; }
  .side-rail::before, .side-rail::after{ display:none !important; }
  .rail-word, .rail-links, .rail-line, .rail-tc, .rail-rec{ display:none !important; }
  .rail-menu:hover{ border-color: var(--page-a, var(--spectrum-1)) !important; box-shadow: 0 0 18px -4px var(--page-a, var(--spectrum-1)); }
}

/* LumiLas service heroes — deployed 2026-07-24 */
.ll-service-hero {
  --hero-overlay: 0.66;
  --hero-effect-opacity: 0.11;
  --hero-effect-speed: 18s;
  --hero-pointer-strength: 4px;
  --hero-parallax: 7px;
  --hero-haze: 0.12;
  --hero-laser-intensity: 0.16;
  --hero-cue-intensity: 0.18;
  --hero-mobile-complexity: 0.55;
  --hero-handover: 600ms;
  --hero-accent: #1ce3ff;
  --hero-accent-2: #8b74fd;
  --hero-copy-max: 680px;
  position: relative;
  min-height: clamp(760px, 88svh, 980px);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: #030405;
  color: #f7f7f4;
}

.ll-service-hero[data-service="design"] {
  --hero-overlay: 0.7;
  --hero-effect-opacity: 0.1;
  --hero-effect-speed: 23s;
  --hero-accent: #fc03fb;
  --hero-accent-2: #1ce3ff;
}

.ll-service-hero[data-service="programming"] {
  --hero-overlay: 0.72;
  --hero-effect-opacity: 0.14;
  --hero-effect-speed: 14s;
  --hero-accent: #1ce3ff;
  --hero-accent-2: #8b74fd;
}

.ll-service-hero[data-service="laser"] {
  --hero-overlay: 0.74;
  --hero-effect-opacity: 0.08;
  --hero-effect-speed: 26s;
  --hero-accent: #1ce3ff;
  --hero-accent-2: #48f06e;
}

.page-hero.ll-service-hero > .page-hero-bloom,
.page-hero.ll-service-hero:not([data-service="programming"]) > .container.hero-split > .tc3d {
  display: none !important;
}

.page-hero.ll-service-hero > .container.hero-split {
  position: relative;
  z-index: 4;
}

.page-hero.ll-service-hero > .container.hero-split > :first-child {
  position: relative;
  z-index: 1;
}

.page-hero.ll-service-hero[data-service="programming"] > .container.hero-split > .tc3d {
  position: relative;
  z-index: 3;
  display: block;
  filter:
    drop-shadow(0 34px 70px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 34px rgba(28, 227, 255, 0.08));
}

.page-hero.ll-service-hero[data-service="programming"] .tc3d-inner {
  background:
    linear-gradient(180deg, rgba(14, 18, 22, 0.91), rgba(4, 7, 10, 0.86));
  border-color: rgba(215, 245, 255, 0.2);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.page-hero.ll-service-hero[data-service="programming"] .tc3d-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.035), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(28, 227, 255, 0.07), transparent 28%);
  pointer-events: none;
}

.ll-service-hero__media,
.ll-service-hero__poster,
.ll-service-hero__video,
.ll-service-hero__ambient,
.ll-service-hero__shade {
  position: absolute;
  inset: 0;
}

.ll-service-hero__media {
  z-index: 0;
  overflow: hidden;
  background: #030405;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.ll-service-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: 1;
  transition: opacity 100ms linear;
  pointer-events: none;
}

.ll-service-hero.is-video-ready .ll-service-hero__media::after,
.ll-service-hero.is-settled .ll-service-hero__media::after,
.ll-service-hero.is-static .ll-service-hero__media::after {
  opacity: 0;
}

.ll-service-hero__poster,
.ll-service-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.ll-service-hero[data-service="laser"] .ll-service-hero__poster,
.ll-service-hero[data-service="laser"] .ll-service-hero__video {
  object-position: 68% 50%;
}

.ll-service-hero__poster {
  display: block;
  opacity: 1;
  transition: opacity var(--hero-handover) linear;
}

.ll-service-hero__video {
  opacity: 0;
  transition: opacity var(--hero-handover) linear;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.ll-service-hero.is-video-ready .ll-service-hero__video {
  opacity: 1;
}

.ll-service-hero.is-video-ready .ll-service-hero__poster {
  opacity: 0;
}

.ll-service-hero.is-settled .ll-service-hero__video,
.ll-service-hero.is-static .ll-service-hero__video {
  opacity: 0;
}

.ll-service-hero.is-settled .ll-service-hero__poster,
.ll-service-hero.is-static .ll-service-hero__poster {
  opacity: 1;
}

.ll-service-hero__shade {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 3, 4, calc(var(--hero-overlay) + 0.18)) 0%,
      rgba(2, 3, 4, var(--hero-overlay)) 26%,
      rgba(2, 3, 4, calc(var(--hero-overlay) - 0.18)) 46%,
      rgba(2, 3, 4, 0.1) 72%,
      rgba(2, 3, 4, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(2, 3, 4, 0.44), transparent 22%, transparent 72%, rgba(2, 3, 4, 0.72));
  pointer-events: none;
}

.ll-service-hero__ambient {
  z-index: 2;
  opacity: 0;
  transform: translate3d(
    calc(var(--hero-pointer-x, 0) * var(--hero-pointer-strength)),
    calc(var(--hero-pointer-y, 0) * var(--hero-pointer-strength)),
    0
  );
  transition: opacity 1.2s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.ll-service-hero.is-handover .ll-service-hero__ambient,
.ll-service-hero.is-settled .ll-service-hero__ambient,
.ll-service-hero.is-static .ll-service-hero__ambient {
  opacity: var(--hero-effect-opacity);
}

.ll-service-hero__ambient svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ll-service-hero__copy {
  position: relative;
  z-index: 2;
  width: min(var(--hero-copy-max), 48vw);
  min-height: inherit;
  display: grid;
  align-content: center;
  gap: clamp(18px, 2vw, 30px);
  padding:
    clamp(142px, 14vh, 190px)
    clamp(24px, 4vw, 68px)
    clamp(80px, 9vh, 126px);
}

.ll-service-hero__eyebrow {
  margin: 0;
  color: var(--hero-accent);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ll-service-hero__title {
  max-width: 11ch;
  margin: 0;
  color: #f7f7f4;
  font-family: var(--font-display, inherit);
  font-size: clamp(58px, 7.3vw, 120px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.ll-service-hero__lede {
  max-width: 56ch;
  margin: 0;
  color: rgba(247, 247, 244, 0.66);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.62;
}

.ll-service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ll-service-hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 247, 244, 0.12);
  color: rgba(247, 247, 244, 0.45);
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ll-service-hero__timecode {
  color: color-mix(in srgb, var(--hero-accent) 78%, white);
  font-variant-numeric: tabular-nums;
}

.ll-service-hero__ambient--design::before,
.ll-service-hero__ambient--design::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  transform-origin: center;
}

.ll-service-hero__ambient--design::before {
  width: 40vw;
  height: 54vw;
  left: 53%;
  top: -18%;
  background: conic-gradient(
    from 183deg,
    transparent 0 42%,
    color-mix(in srgb, var(--hero-accent) 46%, transparent) 48%,
    color-mix(in srgb, #fff 26%, transparent) 51%,
    transparent 57% 100%
  );
  animation: ll-design-haze var(--hero-effect-speed) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.ll-service-hero__ambient--design::after {
  width: 34vw;
  height: 34vw;
  right: 4%;
  bottom: -22%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hero-accent-2) 32%, transparent), transparent 70%);
  animation: ll-design-breathe calc(var(--hero-effect-speed) * 1.31) ease-in-out infinite alternate;
}

.ll-service-hero__ambient--programming {
  left: 48%;
  right: 4%;
  top: 24%;
  bottom: 18%;
  height: auto;
  background: radial-gradient(ellipse at 68% 52%, rgba(28, 227, 255, 0.08), transparent 62%);
  filter: blur(22px);
}

.ll-service-hero__cue-rail {
  fill: none;
  stroke: color-mix(in srgb, var(--hero-accent) 72%, transparent);
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}

.ll-service-hero__cue-pulse {
  fill: color-mix(in srgb, var(--hero-accent) 84%, white);
  filter: drop-shadow(0 0 8px var(--hero-accent));
  offset-path: path("M 10 30 L 90 30");
  animation: ll-cue-pulse var(--hero-effect-speed) cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ll-service-hero__cue-pulse:nth-of-type(2) {
  offset-path: path("M 10 50 L 90 50");
  animation-delay: -4.7s;
}

.ll-service-hero__cue-pulse:nth-of-type(3) {
  offset-path: path("M 10 70 L 90 70");
  animation-delay: -9.2s;
}

.ll-service-hero__ambient--laser {
  background:
    radial-gradient(circle at 72% 74%, rgba(28, 227, 255, 0.16), transparent 28%),
    radial-gradient(ellipse at 72% 88%, rgba(139, 116, 253, 0.12), transparent 38%);
  filter: blur(24px);
  animation: ll-laser-haze var(--hero-effect-speed) ease-in-out infinite alternate;
}

.ll-service-hero__laser-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 0.4;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px currentColor);
}

.ll-service-hero__laser-line--a {
  color: #1ce3ff;
  stroke: currentColor;
  animation: ll-laser-a var(--hero-effect-speed) ease-in-out infinite alternate;
}

.ll-service-hero__laser-line--b {
  color: #e9fbff;
  stroke: currentColor;
  animation: ll-laser-b calc(var(--hero-effect-speed) * 1.37) ease-in-out infinite alternate;
}

.ll-service-hero.is-paused .ll-service-hero__ambient *,
.ll-service-hero.is-paused .ll-service-hero__ambient::before,
.ll-service-hero.is-paused .ll-service-hero__ambient::after,
.ll-service-hero.is-paused .tc3d-inner,
.ll-service-hero.is-paused .cc-run,
.ll-service-hero.is-paused .cc-meter i {
  animation-play-state: paused !important;
}

@keyframes ll-design-haze {
  0% { transform: translate3d(-1.2%, 0, 0) rotate(-0.4deg); opacity: calc(var(--hero-haze) * 0.74); }
  45% { opacity: var(--hero-haze); }
  100% { transform: translate3d(1.4%, 0.8%, 0) rotate(0.6deg); opacity: calc(var(--hero-haze) * 0.82); }
}

@keyframes ll-design-breathe {
  from { transform: scale(0.98); opacity: calc(var(--hero-haze) * 0.7); }
  to { transform: scale(1.025); opacity: var(--hero-haze); }
}

@keyframes ll-cue-pulse {
  0%, 7% { offset-distance: 0%; opacity: 0; }
  13% { opacity: var(--hero-cue-intensity); }
  52% { opacity: var(--hero-cue-intensity); }
  60%, 100% { offset-distance: 100%; opacity: 0; }
}

@keyframes ll-laser-a {
  from { opacity: calc(var(--hero-laser-intensity) * 0.42); }
  to { opacity: var(--hero-laser-intensity); }
}

@keyframes ll-laser-b {
  from { opacity: calc(var(--hero-laser-intensity) * 0.34); }
  to { opacity: calc(var(--hero-laser-intensity) * 0.82); }
}

@keyframes ll-laser-haze {
  from { opacity: 0.05; transform: translate3d(-0.4%, 0, 0) scale(0.99); }
  to { opacity: 0.08; transform: translate3d(0.5%, -0.3%, 0) scale(1.01); }
}

@media (max-width: 899px) {
  .ll-service-hero {
    --hero-effect-opacity: calc(0.1 * var(--hero-mobile-complexity));
    --hero-pointer-strength: 0px;
    min-height: 100vh;
    min-height: 100lvh;
  }

  .ll-service-hero__poster,
  .ll-service-hero__video {
    object-position: 50% 50%;
  }

  .page-hero.ll-service-hero > .container.hero-split {
    min-height: 100vh;
    min-height: 100lvh;
    align-content: center;
  }

  .page-hero.ll-service-hero[data-service="programming"] > .container.hero-split > .tc3d {
    width: 100%;
    margin-top: clamp(32px, 8vw, 56px);
  }

  .page-hero.ll-service-hero[data-service="programming"] .tc3d-inner {
    transform: none !important;
  }

  .page-hero.ll-service-hero[data-service="programming"] .cc-table {
    font-size: clamp(9px, 2.7vw, 12px);
  }

  .page-hero.ll-service-hero[data-service="programming"] .cc-table th,
  .page-hero.ll-service-hero[data-service="programming"] .cc-table td {
    padding-inline: 5px;
  }

  .page-hero.ll-service-hero[data-service="programming"] .cc-table tbody tr:nth-child(n + 7) {
    display: none;
  }

  .ll-service-hero__shade {
    background:
      linear-gradient(180deg, rgba(2, 3, 4, 0.7) 0%, rgba(2, 3, 4, 0.48) 48%, rgba(2, 3, 4, 0.64) 100%),
      linear-gradient(90deg, rgba(2, 3, 4, 0.3), transparent 72%);
  }

  .ll-service-hero__copy {
    width: 100%;
    max-width: 620px;
    min-height: 100vh;
    min-height: 100lvh;
    align-content: start;
    padding: 142px 24px 78px;
  }

  .ll-service-hero__title {
    max-width: 10ch;
    font-size: clamp(50px, 14.5vw, 78px);
  }

  .ll-service-hero__lede {
    max-width: 43ch;
    font-size: 16px;
  }

  .ll-service-hero__ambient--programming {
    left: 20%;
    right: -30%;
    top: 56%;
  }
}

@media (max-width: 540px) {
  .ll-service-hero__copy {
    padding-top: 126px;
  }

  .ll-service-hero__actions {
    display: grid;
    justify-items: start;
  }

  .ll-service-hero__status {
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-service-hero__video {
    display: none;
  }

  .ll-service-hero__ambient {
    transform: none;
    transition: none;
    opacity: calc(var(--hero-effect-opacity) * 0.22);
  }

  .ll-service-hero__ambient *,
  .ll-service-hero__ambient::before,
  .ll-service-hero__ambient::after {
    animation: none !important;
  }

  .page-hero.ll-service-hero[data-service="programming"] .tc3d-inner,
  .page-hero.ll-service-hero[data-service="programming"] .tc3d-inner::after,
  .page-hero.ll-service-hero[data-service="programming"] .cc-run,
  .page-hero.ll-service-hero[data-service="programming"] .cc-meter i {
    animation: none !important;
    transform: none !important;
  }
}
