/* ==========================================================================
   IDEA MEDIA USA — Site Stylesheet
   Brand: Red #FF2E44 (accent, used sparingly) | Black #000 | Off-White #F5F7F6
   Headings: Archivo (bold/black) | Body: Inter
   ========================================================================== */

:root {
  --red: #FF2E44;
  --red-dark: #d91e33;
  --black: #000000;
  --near-black: #0a0a0a;
  --off-white: #F5F7F6;
  --white: #ffffff;
  --ink: #111111;
  --muted: #575757;
  --muted-on-dark: #a8adac;
  --line: #DFDFDF;
  --line-on-dark: #232323;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --radius: 10px;
  --shadow: 0 16px 40px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1.2em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); }
.on-dark .lead, .on-dark p { color: var(--muted-on-dark); }

/* Red full-stop / accent word in headings */
.dot { color: var(--red); }

/* Kicker: small label above headings, echoes the logo's red dot */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: .65em; height: .65em;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.on-dark .kicker { color: var(--muted-on-dark); }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.on-dark { background: var(--black); color: var(--off-white); }
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons (slight skew echoes the logo tilt) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 1em 2.1em;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  transform: skewX(-6deg);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn > span { display: inline-block; transform: skewX(6deg); }
.btn:hover, .btn:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: skewX(-6deg) translateY(-3px);
  box-shadow: 0 12px 26px rgba(255, 46, 68, .35);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.on-dark .btn-ghost, .cta-band .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost { color: var(--white); border-color: var(--white); }
.on-dark .btn-ghost:hover, .on-dark .btn-ghost:focus-visible,
.cta-band .btn-ghost:hover, .cta-band .btn-ghost:focus-visible,
.hero .btn-ghost:hover, .hero .btn-ghost:focus-visible,
.page-hero .btn-ghost:hover, .page-hero .btn-ghost:focus-visible { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Arrow text-link */
.link-more {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.link-more::after { content: "\2192"; color: var(--red); transition: transform .25s var(--ease); }
.link-more:hover::after, .link-more:focus-visible::after { transform: translateX(6px); }
.on-dark .link-more { color: var(--off-white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0));
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled { background: rgba(0, 0, 0, .94); box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(1320px, 94%); margin-inline: auto; }
.logo-link { display: inline-flex; flex: none; }
.logo-link img { height: 58px; width: auto; }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--off-white);
  padding: .65rem .85rem;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .btn { margin-left: .75rem; padding: .7em 1.6em; }

/* Services dropdown (desktop) */
.has-sub { position: relative; }
.has-sub > a .caret { display: inline-block; margin-left: .35em; font-size: .7em; transition: transform .25s var(--ease); }
.sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 230px;
  background: var(--near-black);
  border: 1px solid var(--line-on-dark);
  border-top: 3px solid var(--red);
  list-style: none;
  margin: 0; padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover > a .caret, .has-sub:focus-within > a .caret { transform: rotate(180deg); }
.sub-menu a { display: block; padding: .6rem 1.2rem; font-size: .82rem; }
.sub-menu a::after { display: none; }
.sub-menu a:hover, .sub-menu a:focus-visible { color: var(--red); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px; height: 48px;
  padding: 10px;
  background: transparent;
  border: 0;
}
.nav-toggle .bar { display: block; width: 100%; height: 3px; background: var(--off-white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile nav panel */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(360px, 100%);
    background: var(--near-black);
    border-left: 1px solid var(--line-on-dark);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    padding: 1.5rem;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: .9rem .5rem; font-size: 1rem; border-bottom: 1px solid var(--line-on-dark); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--red); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding: 0 0 0 1rem; }
  .sub-menu a { font-size: .88rem; color: var(--muted-on-dark); }
  .has-sub > a .caret { display: none; }
  .site-nav .btn { margin: 1.25rem 0 0; display: block; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (cinematic stage: beams + LED grid + red glow) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #050505;
  color: var(--off-white);
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero.short { min-height: 62svh; padding-bottom: 4rem; }

/* moving light beams */
.hero-beams { position: absolute; inset: 0; pointer-events: none; }
.beam {
  position: absolute;
  top: -20%;
  width: 22vw;
  height: 130%;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 60%, transparent);
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  transform-origin: top center;
  animation: beam-sway 9s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.beam.b1 { left: 4%; animation-delay: 0s; }
.beam.b2 { left: 28%; animation-delay: -3s; width: 18vw; opacity: .8; }
.beam.b3 { left: 56%; animation-delay: -6s; }
.beam.b4 { left: 78%; animation-delay: -1.5s; width: 16vw; opacity: .7; }
.beam.red { background: linear-gradient(180deg, rgba(255,46,68,.22), rgba(255,46,68,.03) 60%, transparent); }
@keyframes beam-sway {
  from { transform: rotate(-7deg); opacity: .55; }
  50%  { opacity: 1; }
  to   { transform: rotate(7deg); opacity: .65; }
}

/* LED pixel grid overlay */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px);
  mask-image: radial-gradient(75% 75% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 45%, #000 30%, transparent 100%);
}

/* red stage-floor glow */
.hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -28vh;
  width: 130vw; height: 60vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,46,68,.30), transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-content h1 { text-wrap: balance; }
.hero-content .lead { color: #c9cecd; max-width: 560px; }
.hero-content .btn-row { margin-top: 2.2rem; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(245,247,246,.5);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue::before {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--red);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Scroll-reveal animations (JS adds .in via IntersectionObserver) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right.in { opacity: 1; transform: none; }
/* stagger children */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .3s; }
.stagger.in > *:nth-child(5) { transition-delay: .4s; }
.stagger.in > *:nth-child(6) { transition-delay: .5s; }

/* ---------- Service cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.2rem 1.8rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover, .card:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after, .card:focus-visible::after { transform: scaleX(1); }
.card .icon {
  width: 58px; height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--off-white);
  border-radius: var(--radius);
  transition: background .3s var(--ease);
}
.card:hover .icon { background: var(--red); }
.card .icon svg { width: 30px; height: 30px; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; }
.on-dark .card { background: #101010; border-color: var(--line-on-dark); color: var(--off-white); }
.on-dark .card p { color: var(--muted-on-dark); }
.on-dark .card .icon { background: #1c1c1c; }

/* ---------- Stats counters ---------- */
.stats { border-block: 1px solid var(--line-on-dark); }
.stat { text-align: center; padding: 1rem .5rem; }
.stat .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1;
  color: var(--white);
}
.stat .num .suffix { color: var(--red); }
.stat .label {
  margin-top: .6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- Portfolio cards ---------- */
.work-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  color: var(--off-white);
  background: var(--near-black);
  border: 1px solid var(--line-on-dark);
}
.work-card .art { position: absolute; inset: 0; transition: transform .5s var(--ease); }
.work-card:hover .art, .work-card:focus-visible .art { transform: scale(1.06); }
/* placeholder "art" gradients per category — swap for real photos later */
.art.live   { background: radial-gradient(120% 100% at 20% 0%, #3a0712 0%, #0a0a0a 55%), radial-gradient(60% 50% at 80% 100%, rgba(255,46,68,.35), transparent 70%); }
.art.video  { background: radial-gradient(120% 100% at 80% 0%, #101b2e 0%, #0a0a0a 60%), radial-gradient(50% 40% at 20% 100%, rgba(255,46,68,.25), transparent 70%); }
.art.vfx    { background: conic-gradient(from 210deg at 70% 30%, #0a0a0a, #1d0e2e 30%, #0a0a0a 60%), radial-gradient(40% 40% at 30% 80%, rgba(255,46,68,.3), transparent 70%); }
.art.comm   { background: radial-gradient(110% 90% at 50% 0%, #1c1c1c 0%, #0a0a0a 70%), radial-gradient(45% 40% at 85% 90%, rgba(255,46,68,.28), transparent 70%); }
.art::after { /* LED pixel texture */
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 10px);
}
.work-card .meta {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85) 55%);
}
.work-card .cat {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: .3em .8em;
  transform: skewX(-6deg);
  margin-bottom: .6rem;
}
.work-card h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.work-card .desc { font-size: .85rem; color: var(--muted-on-dark); margin: 0; }

/* portfolio filter buttons */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .6em 1.4em;
  background: transparent;
  border: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--off-white); color: var(--off-white); }
.filter-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.work-card.hide { display: none; }

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; max-width: 880px; margin-inline: auto; }
.carousel-track { position: relative; min-height: 320px; }
.t-slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}
.t-slide.active { opacity: 1; visibility: visible; transform: none; position: relative; }
.t-slide .quote-mark { font-family: var(--font-head); font-size: 4.5rem; font-weight: 900; line-height: .6; color: var(--red); margin-bottom: 1.2rem; }
.t-slide blockquote { margin: 0 0 1.6rem; font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.6; color: var(--ink); font-style: italic; }
.on-dark .t-slide blockquote { color: var(--off-white); }
.t-slide .who { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.t-slide .who span { display: block; font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .88rem; margin-top: .25rem; }
.on-dark .t-slide .who span { color: var(--muted-on-dark); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.carousel-btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  display: grid; place-items: center;
  transition: all .25s var(--ease);
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.on-dark .carousel-btn { border-color: var(--line-on-dark); color: var(--off-white); }
.carousel-dots { display: flex; gap: .55rem; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); transition: background .25s, transform .25s; }
.on-dark .carousel-dots button { background: var(--line-on-dark); }
.carousel-dots button[aria-selected="true"] { background: var(--red); transform: scale(1.3); }

/* ---------- Split sections (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.visual-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--near-black);
  border: 1px solid var(--line-on-dark);
  overflow: hidden;
}
.visual-panel .art { position: absolute; inset: 0; }
.visual-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Logo-style photo frame: tilted irregular keyline box + red slab + dot,
   echoing the IDEA! wordmark. */
.tilt-frame { position: relative; margin: 1.5rem .5rem 2.5rem; }
.tilt-frame .frame-back {
  position: absolute; inset: 0;
  background: var(--red);
  transform: rotate(-1deg) translate(18px, 20px);
  clip-path: polygon(2% 1%, 100% 4%, 98% 100%, 0 96%);
  z-index: 0;
}
.tilt-frame .frame-key {
  display: block;
  position: relative;
  z-index: 1;
  background: var(--black);
  padding: 12px;
  transform: rotate(-2.5deg);
  clip-path: polygon(0 4%, 100% 0, 98% 96%, 2% 100%);
  transition: transform .4s var(--ease);
}
.tilt-frame:hover .frame-key { transform: rotate(-1deg); }
.tilt-frame .frame-key img { display: block; width: 100%; height: auto; }
.tilt-frame .frame-dot {
  position: absolute;
  right: -3%; bottom: -8%;
  width: 16%; aspect-ratio: 1;
  background: var(--red);
  border: 6px solid var(--black);
  border-radius: 50%;
  z-index: 2;
}

/* checklist */
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.checklist li { position: relative; padding: .45rem 0 .45rem 2.1rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .85rem;
  width: 1.1rem; height: 1.1rem;
  background: var(--red);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 4%, 40% 70%);
}
.on-dark .checklist li { color: var(--muted-on-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: #050505;
  color: var(--off-white);
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -18vw; top: -30%;
  width: 60vw; height: 160%;
  background: radial-gradient(45% 45% at 50% 50%, rgba(255,46,68,.22), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: .85rem; color: var(--muted-on-dark); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted-on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--off-white); }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--white); border: 1px solid var(--line); padding: 2rem 1.5rem; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card .avatar {
  width: 120px; height: 120px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  border: 3px solid var(--red);
}
.team-card .avatar-photo { object-fit: cover; display: block; }
.team-card h3 { font-size: 1.02rem; margin: 0 0 .25rem; }
.team-card .role { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 46, 68, .15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .error-msg { display: none; color: var(--red-dark); font-size: .85rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-dark); }
.field.invalid .error-msg { display: block; }
fieldset.field { border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.2rem 1.2rem; margin: 0; }
fieldset.field legend { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; padding: 0 .5em; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem; }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid label { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.check-grid input { width: 1.15rem; height: 1.15rem; accent-color: var(--red); flex: none; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 6px; margin-top: 1.4rem; font-weight: 600; }
.form-status.ok { display: block; background: #e7f6ec; color: #156434; border: 1px solid #b9e4c8; }
.form-status.err { display: block; background: #fdeaec; color: #8f1422; border: 1px solid #f6c2c9; }

/* ---------- Contact info cards ---------- */
.info-card { background: var(--white); border: 1px solid var(--line); padding: 1.8rem 1.6rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.info-card .icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--black); color: var(--white); border-radius: var(--radius); }
.info-card .icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: .95rem; margin: 0 0 .3rem; }
.info-card p, .info-card a { margin: 0; color: var(--muted); font-size: .95rem; text-decoration: none; }
.info-card a:hover { color: var(--red); }
.map-frame { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--black);
  color: var(--off-white);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 120vw; height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 0%, rgba(255,46,68,.35), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { max-width: 720px; margin-inline: auto; }
.cta-band .lead { max-width: 560px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-on-dark); padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px)  { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .f-logo img { height: 68px; width: auto; }
.site-footer .tagline { margin-top: 1.1rem; font-size: .95rem; max-width: 300px; }
.site-footer h4 { color: var(--off-white); font-size: .85rem; letter-spacing: .14em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; font-size: .95rem; transition: color .2s; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--red); }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.f-contact svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; color: var(--red); }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  color: var(--off-white);
  transition: all .25s var(--ease);
}
.socials a:hover, .socials a:focus-visible { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-on-dark);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

/* ---------- Misc ---------- */
.eyebrow-band { background: var(--red); color: var(--white); padding: 1rem 0; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; text-align: center; }
.cities { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.city {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-on-dark); color: var(--muted-on-dark);
  padding: .45em 1em; transform: skewX(-6deg);
}
.city b { display: inline-block; transform: skewX(6deg); font-weight: inherit; }
/* ---------- Interactive USA map (About page) ---------- */
.map-panel {
  background: #0b0b0b;
  border: 1px solid var(--line-on-dark);
  border-bottom: 3px solid var(--red);
  padding: .9rem;
  margin-top: 1.4rem;
}
.map-panel svg { width: 100%; height: auto; display: block; }
.map-bg-dot { fill: #2e2e2e; }
.city-marker { cursor: pointer; outline: none; }
.city-marker .core {
  fill: var(--red);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.city-marker .ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.6s ease-out infinite;
}
@keyframes map-pulse {
  0%   { transform: scale(1); opacity: .85; }
  100% { transform: scale(3.4); opacity: 0; }
}
.city-marker:hover .core,
.city-marker:focus-visible .core,
.city-marker.active .core { transform: scale(1.7); }
.city-marker .lbl { opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.city-marker:hover .lbl,
.city-marker:focus-visible .lbl,
.city-marker.active .lbl { opacity: 1; }
.city-marker .lbl rect { fill: #000; stroke: var(--red); stroke-width: 1.5; }
.city-marker .lbl text {
  fill: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.city-marker:focus-visible .core { stroke: #fff; stroke-width: 3; }
button.map-city {
  background: transparent;
  cursor: pointer;
  border: 1px solid #c5c9c8;
  color: var(--muted);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
button.map-city:hover,
button.map-city:focus-visible,
button.map-city.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Interactive LED wall demo (LED Wall Screens page) ---------- */
.event-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.event-tab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .6em 1.3em;
  background: transparent;
  border: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark);
  transform: skewX(-6deg);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.event-tab b { display: inline-block; transform: skewX(6deg); font-weight: inherit; }
.event-tab:hover { border-color: var(--off-white); color: var(--off-white); }
.event-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: var(--white); }

.event-screen {
  position: relative;
  min-height: 420px;
  background: #060606;
  border: 1px solid var(--line-on-dark);
  border-bottom: 4px solid var(--red);
  overflow: hidden;
}
/* LED pixel texture over everything */
.led-pixels {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.42) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.42) 0 1px, transparent 1px 7px);
}
.event-scene {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.event-scene.active { opacity: 1; visibility: visible; transform: none; }
.scene-copy { position: relative; z-index: 2; max-width: 520px; }
.scene-copy h3 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .35rem; }
.scene-copy p { color: var(--muted-on-dark); margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.scene-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Corporate: rising chart bars */
.art-bars { display: flex; align-items: flex-end; gap: 4%; padding: 0 8%; }
.art-bars span {
  flex: 1; background: linear-gradient(180deg, rgba(255,46,68,.85), rgba(255,46,68,.15));
  transform-origin: bottom; animation: bar-grow 1.1s var(--ease) both, bar-breathe 3.4s ease-in-out 1.1s infinite alternate;
}
.art-bars span:nth-child(1) { height: 24%; animation-delay: .05s, 1.1s; }
.art-bars span:nth-child(2) { height: 38%; animation-delay: .15s, 1.3s; }
.art-bars span:nth-child(3) { height: 30%; animation-delay: .25s, 1.2s; }
.art-bars span:nth-child(4) { height: 52%; animation-delay: .35s, 1.4s; }
.art-bars span:nth-child(5) { height: 44%; animation-delay: .45s, 1.15s; }
.art-bars span:nth-child(6) { height: 64%; animation-delay: .55s, 1.5s; }
.art-bars span:nth-child(7) { height: 78%; animation-delay: .65s, 1.25s; }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bar-breathe { from { transform: scaleY(1); } to { transform: scaleY(.88); } }

/* Concerts: live equalizer */
.art-eq { display: flex; align-items: flex-end; gap: 1.6%; padding: 0 6%; }
.art-eq span {
  flex: 1; height: 70%;
  background: linear-gradient(180deg, #fff 0%, var(--red) 30%, rgba(255,46,68,.1) 100%);
  transform-origin: bottom;
  animation: eq-bounce 1s ease-in-out infinite alternate;
}
.art-eq span:nth-child(odd)  { animation-duration: .72s; }
.art-eq span:nth-child(3n)   { animation-duration: .58s; animation-delay: .12s; }
.art-eq span:nth-child(4n)   { animation-duration: .9s;  animation-delay: .2s; }
.art-eq span:nth-child(5n)   { animation-duration: .64s; animation-delay: .05s; }
@keyframes eq-bounce { from { transform: scaleY(.12); } to { transform: scaleY(1); } }

/* Conferences: glowing keynote screens with shimmer sweep */
.art-screens { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 0 8% 14%; }
.art-screens span {
  position: relative; width: 24%; aspect-ratio: 16/9;
  border: 2px solid rgba(255,255,255,.35);
  background: linear-gradient(120deg, rgba(255,255,255,.07) 30%, rgba(255,46,68,.25) 50%, rgba(255,255,255,.07) 70%);
  background-size: 250% 100%;
  animation: screen-sweep 3s linear infinite;
  overflow: hidden;
}
.art-screens span:nth-child(2) { width: 32%; border-color: var(--red); animation-delay: .4s; }
.art-screens span:nth-child(3) { animation-delay: .8s; }
@keyframes screen-sweep { from { background-position: 125% 0; } to { background-position: -125% 0; } }

/* Weddings: floating sparkles */
.art-sparkles span {
  position: absolute; bottom: -6%;
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 3px rgba(255,255,255,.5);
  animation: sparkle-rise 6s linear infinite;
  opacity: 0;
}
.art-sparkles span:nth-child(odd) { background: var(--red); box-shadow: 0 0 12px 3px rgba(255,46,68,.55); }
.art-sparkles span:nth-child(1)  { left: 6%;  animation-delay: 0s; }
.art-sparkles span:nth-child(2)  { left: 14%; animation-delay: 2.1s; }
.art-sparkles span:nth-child(3)  { left: 23%; animation-delay: 4.4s; }
.art-sparkles span:nth-child(4)  { left: 31%; animation-delay: 1.2s; }
.art-sparkles span:nth-child(5)  { left: 40%; animation-delay: 3.5s; }
.art-sparkles span:nth-child(6)  { left: 49%; animation-delay: .6s; }
.art-sparkles span:nth-child(7)  { left: 58%; animation-delay: 2.8s; }
.art-sparkles span:nth-child(8)  { left: 66%; animation-delay: 5s; }
.art-sparkles span:nth-child(9)  { left: 75%; animation-delay: 1.7s; }
.art-sparkles span:nth-child(10) { left: 83%; animation-delay: 3.9s; }
.art-sparkles span:nth-child(11) { left: 90%; animation-delay: .9s; }
.art-sparkles span:nth-child(12) { left: 96%; animation-delay: 4.8s; }
@keyframes sparkle-rise {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: .8; }
  100% { transform: translateY(-440px) scale(1.1); opacity: 0; }
}

/* Tours: LED ticker of cities */
.art-marquee { display: flex; align-items: center; overflow: hidden; }
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee-scroll 18s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 2px rgba(255,46,68,.85);
  padding-right: .5em;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Nonprofits: pulsing heart */
.art-pulse { display: grid; place-items: center; padding-bottom: 12%; }
.art-pulse .heart {
  width: clamp(70px, 12vw, 120px); color: var(--red);
  grid-area: 1 / 1;
  animation: heart-beat 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255,46,68,.6));
}
.art-pulse .ring {
  grid-area: 1 / 1;
  width: clamp(70px, 12vw, 120px); aspect-ratio: 1;
  border: 2px solid var(--red); border-radius: 50%;
  animation: map-pulse 2.4s ease-out infinite;
}
.art-pulse .r2 { animation-delay: .8s; }
.art-pulse .r3 { animation-delay: 1.6s; }
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
}

@media (max-width: 700px) {
  .event-screen { min-height: 360px; }
  .marquee-track span { -webkit-text-stroke-width: 1.5px; }
}

/* ---------- Broadcast switcher (Media Production page) ----------
   Program monitor on the left, multiview of 8 service "feeds" on the right. */
.media-deck { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); align-items: stretch; }
@media (max-width: 900px) { .media-deck { grid-template-columns: 1fr; } }

.pgm {
  position: relative;
  min-height: 440px;
  background: #060606;
  border: 1px solid var(--line-on-dark);
  border-bottom: 4px solid var(--red);
  overflow: hidden;
}
.pgm-head {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.1rem;
  font-family: var(--font-head); font-weight: 800; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.pgm-tag { background: var(--red); color: #fff; padding: .3em .9em; transform: skewX(-6deg); }
.pgm-live { display: inline-flex; align-items: center; gap: .5em; color: var(--muted-on-dark); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: rec-blink 1.2s steps(1) infinite; }
@keyframes rec-blink { 50% { opacity: .15; } }
.scanlines {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
}
.pgm-scene {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3.5rem 2rem 2.5rem;
  opacity: 0; visibility: hidden; transform: scale(.97);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.pgm-scene.active { opacity: 1; visibility: visible; transform: none; }
.pgm-scene h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 1.4rem 0 .5rem; }
.pgm-scene p { color: var(--muted-on-dark); max-width: 420px; margin: 0; }
.pgm-scene .ic { width: clamp(80px, 11vw, 120px); height: auto; }

.multiview { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-content: stretch; }
@media (max-width: 480px) { .multiview { grid-template-columns: 1fr 1fr; gap: .6rem; } }
.feed {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.1rem .6rem;
  background: #0d0d0d;
  border: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.feed:hover { border-color: var(--off-white); color: var(--off-white); transform: translateY(-2px); }
.feed[aria-selected="true"] { border-color: var(--red); background: #120406; color: var(--white); }
.feed[aria-selected="true"]::after {
  content: "";
  position: absolute; top: .55rem; right: .55rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  animation: rec-blink 1.2s steps(1) infinite;
}
.feed .ic { width: 34px; height: 34px; }
.feed-name {
  font-family: var(--font-head); font-weight: 700; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
}
/* tile icons animate only on hover / when live */
.feed .ic * { animation-play-state: paused; }
.feed:hover .ic *, .feed[aria-selected="true"] .ic * { animation-play-state: running; }

/* ----- Animated service icons (shared by tiles + program monitor) ----- */
.ic { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ic .rec { fill: var(--red); stroke: none; animation: rec-blink 1.2s steps(1) infinite; }
.ic .clap { transform-box: fill-box; transform-origin: left bottom; animation: ic-clap 2.2s var(--ease) infinite; }
@keyframes ic-clap { 0%, 55%, 90%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } }
.ic .heart-pop { fill: var(--red); stroke: none; transform-box: fill-box; transform-origin: center; animation: ic-pop 1.6s ease-in-out infinite; }
@keyframes ic-pop { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.22); } 36% { transform: scale(1); } 50% { transform: scale(1.12); } }
.ic .bob { transform-box: fill-box; transform-origin: center; animation: ic-bob 2.6s ease-in-out infinite alternate; }
@keyframes ic-bob { from { transform: translateY(-2px); } to { transform: translateY(2.5px); } }
.ic .prop { transform-box: fill-box; transform-origin: center; animation: ic-prop .5s linear infinite alternate; }
.ic .prop.p2 { animation-delay: .12s; }
@keyframes ic-prop { from { transform: scaleX(1); } to { transform: scaleX(.2); } }
.ic .wv { stroke: var(--red); animation: ic-wave 2s ease-out infinite; }
.ic .wv.d2 { animation-delay: .2s; }
.ic .wv.d3 { animation-delay: .5s; }
.ic .wv.d4 { animation-delay: .7s; }
@keyframes ic-wave { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.ic .playhead { stroke: var(--red); animation: ic-scrub 3.2s ease-in-out infinite alternate; }
@keyframes ic-scrub { from { transform: translateX(0); } to { transform: translateX(26px); } }
.ic .draw { stroke: var(--red); stroke-dasharray: 52; animation: ic-draw 2.6s var(--ease) infinite; }
@keyframes ic-draw { 0% { stroke-dashoffset: 52; } 55%, 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---------- Show-week timeline (LED Wall Screens page) ---------- */
.timeline { position: relative; --p: 0; }
.tl-track {
  position: absolute;
  top: 26px; left: 12.5%; right: 12.5%;
  height: 3px;
  background: var(--line-on-dark);
}
.tl-progress {
  position: absolute; inset: 0;
  background: var(--red);
  transform: scaleX(var(--p));
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.tl-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.tl-step { text-align: center; opacity: .55; transition: opacity .4s var(--ease); }
.tl-step.active { opacity: 1; }
.tl-node {
  position: relative;
  width: 54px; height: 54px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--line-on-dark);
  background: #0d0d0d;
  color: var(--muted-on-dark);
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  display: inline-grid; place-items: center;
  transition: all .3s var(--ease);
}
.tl-node:hover { border-color: var(--off-white); color: var(--off-white); }
.tl-step.active .tl-node {
  background: var(--red); border-color: var(--red); color: var(--white);
  box-shadow: 0 0 24px rgba(255, 46, 68, .5);
}
.tl-step.active .tl-node::after {
  content: "";
  position: absolute; inset: -2px;
  border: 2px solid var(--red); border-radius: 50%;
  animation: map-pulse 2.2s ease-out infinite;
}
.tl-when {
  display: inline-block;
  font-family: var(--font-head); font-weight: 800; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-on-dark); color: var(--muted-on-dark);
  padding: .35em 1em;
  transform: skewX(-6deg);
  margin-bottom: .9rem;
  transition: all .3s var(--ease);
}
.tl-step.active .tl-when { background: var(--red); border-color: var(--red); color: var(--white); }
.tl-body h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.tl-body > p { color: var(--muted-on-dark); font-size: .95rem; margin: 0; }
.tl-list {
  list-style: none; margin: 0; padding: 0;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease), opacity .5s var(--ease), margin .5s var(--ease);
}
.tl-step.active .tl-list { max-height: 200px; opacity: 1; margin-top: .9rem; }
.tl-list li {
  position: relative;
  font-size: .88rem; color: var(--off-white);
  padding: .25rem 0 .25rem 1.5rem;
  text-align: left;
}
.tl-list li::before {
  content: "";
  position: absolute; left: 0; top: .62rem;
  width: .85rem; height: .85rem;
  background: var(--red);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 4%, 40% 70%);
}
/* mobile: vertical timeline */
@media (max-width: 900px) {
  .tl-track { left: 26px; right: auto; top: 27px; bottom: 27px; width: 3px; height: auto; }
  .tl-progress { transform: scaleY(var(--p)); transform-origin: top; }
  .tl-steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .tl-step { text-align: left; display: flex; gap: 1.3rem; align-items: flex-start; }
  .tl-node { flex: none; margin-bottom: 0; }
  .tl-list li { text-align: left; }
}

/* ---------- Campaign dashboard (Digital Marketing page) ---------- */
.dm-dash { align-items: stretch; }
.dm-tabs { display: flex; flex-direction: column; gap: .6rem; }
.dm-tab {
  text-align: left;
  padding: .85rem 1.1rem;
  background: #0d0d0d;
  border: 1px solid var(--line-on-dark);
  border-left: 3px solid transparent;
  color: var(--off-white);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.dm-tab:hover { transform: translateX(3px); border-color: var(--off-white); }
.dm-tab[aria-selected="true"] { background: #140406; border-left-color: var(--red); }
.dm-tab-name { display: block; font-family: var(--font-head); font-weight: 800; font-size: .92rem; letter-spacing: .02em; }
.dm-tab-desc { display: block; font-size: .82rem; color: var(--muted-on-dark); margin-top: .15rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease), opacity .35s var(--ease), margin .35s var(--ease); }
.dm-tab[aria-selected="true"] .dm-tab-desc { max-height: 60px; opacity: 1; margin-top: .35rem; }

.dm-screen {
  position: relative;
  background: #060606;
  border: 1px solid var(--line-on-dark);
  border-bottom: 4px solid var(--red);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dm-screen-top { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--line-on-dark); }
.dm-dots { display: inline-flex; gap: .35rem; }
.dm-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.dm-live { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 800; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); }
.dm-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rec-blink 1.2s steps(1) infinite; }
.dm-stage { position: relative; flex: 1; }
.dm-scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  padding: 2rem;
  opacity: 0; visibility: hidden; transform: scale(.97);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.dm-scene.active { opacity: 1; visibility: visible; transform: none; }
.dm-cap { text-align: center; }
.dm-cap strong { display: block; font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
.dm-cap span { display: block; color: var(--muted-on-dark); font-size: .92rem; margin-top: .3rem; }

/* Strategy — bullseye */
.dm-target { position: relative; width: 130px; height: 130px; display: grid; place-items: center; }
.dm-target span { position: absolute; border-radius: 50%; }
.dm-target .r1 { width: 130px; height: 130px; border: 2px solid #2a2a2a; }
.dm-target .r2 { width: 88px; height: 88px; border: 2px solid #3a3a3a; }
.dm-target .r3 { width: 46px; height: 46px; border: 2px solid var(--red); }
.dm-target .bull { width: 16px; height: 16px; background: var(--red); box-shadow: 0 0 14px rgba(255,46,68,.7); }
.dm-scene.active .dm-target .bull { animation: dm-lock 2.4s ease-in-out infinite; }
@keyframes dm-lock { 0%,100% { transform: translate(0,0); } 25% { transform: translate(34px,-22px); } 55% { transform: translate(-18px,14px); } 80% { transform: translate(0,0); } }

/* Social — counter + hearts */
.dm-metric { text-align: center; }
.dm-count { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem,6vw,3.4rem); color: #fff; line-height: 1; }
.dm-metric-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); margin-top: .5rem; }
.dm-hearts { position: relative; width: 100%; height: 0; }
.dm-hearts i { position: absolute; bottom: 0; width: 12px; height: 12px; background: var(--red); clip-path: path("M6 11S0 7 0 3.2A3 3 0 0 1 6 2a3 3 0 0 1 6 1.2C12 7 6 11 6 11z"); opacity: 0; }
.dm-scene.active .dm-hearts i { animation: dm-float 3s ease-in infinite; }
.dm-hearts i:nth-child(1){ left: 18%; animation-delay: 0s; }
.dm-hearts i:nth-child(2){ left: 38%; animation-delay: .8s; }
.dm-hearts i:nth-child(3){ left: 55%; animation-delay: 1.5s; }
.dm-hearts i:nth-child(4){ left: 72%; animation-delay: 2.2s; }
.dm-hearts i:nth-child(5){ left: 86%; animation-delay: .4s; }
@keyframes dm-float { 0% { transform: translateY(0) scale(.7); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-150px) scale(1.1); opacity: 0; } }

/* Content — reels stack */
.dm-reels { position: relative; width: 120px; height: 150px; }
.dm-reels span { position: absolute; inset: 0; border: 2px solid var(--line-on-dark); border-radius: 10px; background: #101010; }
.dm-reels span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: translate(-35%,-50%); border-left: 16px solid var(--red); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.dm-scene.active .dm-reels span:nth-child(1){ animation: dm-shuffle 3s ease-in-out infinite; }
.dm-scene.active .dm-reels span:nth-child(2){ animation: dm-shuffle 3s ease-in-out infinite .4s; }
.dm-scene.active .dm-reels span:nth-child(3){ animation: dm-shuffle 3s ease-in-out infinite .8s; }
@keyframes dm-shuffle { 0%,100% { transform: translate(0,0) rotate(0); } 33% { transform: translate(14px,-10px) rotate(5deg); } 66% { transform: translate(-12px,8px) rotate(-4deg); } }

/* Paid ads — bars + badge */
.dm-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.dm-bars span { width: 18px; background: linear-gradient(180deg, var(--red), rgba(255,46,68,.15)); transform-origin: bottom; transform: scaleY(.15); }
.dm-scene.active .dm-bars span { animation: dm-grow 2.6s ease-in-out infinite alternate; }
.dm-bars span:nth-child(1){ height: 35%; animation-delay: 0s; }
.dm-bars span:nth-child(2){ height: 50%; animation-delay: .15s; }
.dm-bars span:nth-child(3){ height: 42%; animation-delay: .3s; }
.dm-bars span:nth-child(4){ height: 68%; animation-delay: .45s; }
.dm-bars span:nth-child(5){ height: 84%; animation-delay: .6s; }
.dm-bars span:nth-child(6){ height: 100%; animation-delay: .75s; }
@keyframes dm-grow { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.dm-badge { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); border: 1px solid var(--line-on-dark); padding: .4em 1em; }
.dm-badge b { color: var(--red); }

/* SEO — climbing rank */
.dm-serp { display: flex; flex-direction: column; gap: 8px; width: 200px; }
.dm-serp .row { height: 16px; border-radius: 4px; background: #161616; }
.dm-serp .row.you { background: var(--red); display: grid; place-items: center; order: 0; transition: order .4s; }
.dm-serp .row.you b { font-family: var(--font-head); font-size: .6rem; letter-spacing: .12em; color: #fff; }
.dm-scene.active .dm-serp .row.you { animation: dm-climb 3s ease-in-out infinite; }
@keyframes dm-climb { 0% { transform: translateY(48px); } 50%,100% { transform: translateY(0); } }
.dm-rank { font-family: var(--font-head); font-weight: 900; font-size: 2rem; color: #fff; }
.dm-rank .dm-rankno { color: var(--red); }

/* Email — open-rate ring */
.dm-ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.dm-ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.dm-ring .track { fill: none; stroke: #1c1c1c; stroke-width: 10; }
.dm-ring .fill { fill: none; stroke: var(--red); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; }
.dm-scene.active .dm-ring .fill { animation: dm-ring 2.6s ease-out forwards; }
@keyframes dm-ring { to { stroke-dashoffset: 119; } }
.dm-ring-num { position: absolute; font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; color: #fff; }

/* Web — landing page + cursor */
.dm-page { position: relative; width: 150px; height: 150px; background: #101010; border: 1px solid var(--line-on-dark); border-radius: 8px; padding: 16px; }
.dm-page .bar { display: block; height: 9px; border-radius: 3px; background: #2a2a2a; margin-bottom: 9px; }
.dm-page .bar.b1 { width: 80%; }
.dm-page .bar.b2 { width: 55%; }
.dm-page .dm-cta { position: absolute; left: 16px; bottom: 22px; font-family: var(--font-head); font-weight: 800; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: .5em 1em; }
.dm-scene.active .dm-page .dm-cta { animation: dm-pulse-cta 2.2s ease-in-out infinite; }
@keyframes dm-pulse-cta { 0%,100% { box-shadow: 0 0 0 0 rgba(255,46,68,.5); } 50% { box-shadow: 0 0 0 8px rgba(255,46,68,0); } }
.dm-page .dm-cursor { position: absolute; right: 20px; bottom: 26px; width: 16px; height: 16px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(-135deg); }
.dm-scene.active .dm-page .dm-cursor { animation: dm-click 2.2s ease-in-out infinite; }
@keyframes dm-click { 0%,100% { transform: rotate(-135deg) translate(6px,6px); } 45% { transform: rotate(-135deg) translate(-10px,-10px); } 55% { transform: rotate(-135deg) translate(-12px,-12px); } }

/* Analytics — drawing line */
.dm-graph { position: relative; width: 220px; }
.dm-graph svg { width: 220px; height: 120px; }
.dm-graph .line { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.dm-scene.active .dm-graph .line { animation: dm-draw 2.4s var(--ease) forwards; }
@keyframes dm-draw { to { stroke-dashoffset: 0; } }
.dm-graph-up { display: block; text-align: right; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--red); margin-top: .3rem; }

@media (max-width: 900px) { .dm-screen { min-height: 380px; } }

/* ---------- Mixing console (Audio Systems page) ---------- */
.console {
  max-width: 860px; margin-inline: auto;
  background: #0a0a0a;
  border: 1px solid var(--line-on-dark);
  border-bottom: 4px solid var(--red);
  padding: clamp(1rem, 3vw, 1.8rem);
}
.console-lcd {
  position: relative;
  min-height: 110px;
  background: #050505;
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  padding: 1.1rem 1.3rem 1.1rem 2.2rem;
  margin-bottom: 1.4rem;
  overflow: hidden;
}
.console-lcd::after { /* faint scan texture */
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px);
}
.lcd-cursor {
  position: absolute; left: 1rem; top: 1.25rem;
  width: 9px; height: 18px;
  background: var(--red);
  animation: rec-blink 1.1s steps(1) infinite;
}
.lcd-text { position: absolute; inset: 1.1rem 1.3rem auto 2.2rem; opacity: 0; transition: opacity .45s var(--ease); }
.lcd-text.active { opacity: 1; position: relative; inset: auto; }
.lcd-text strong {
  display: block;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--red);
  text-shadow: 0 0 14px rgba(255,46,68,.45);
  margin-bottom: .35rem;
}
.lcd-text span { color: #c9cecd; font-size: .95rem; }

.console-strips { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 700px) { .console-strips { grid-template-columns: repeat(2, 1fr); } }
.strip {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: 1.1rem .6rem 1rem;
  background: #101010;
  border: 1px solid var(--line-on-dark);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.strip:hover { border-color: var(--off-white); transform: translateY(-2px); }
.strip[aria-selected="true"] { border-color: var(--red); background: #140507; }

.strip-top { display: flex; gap: 14px; align-items: flex-end; height: 150px; }
/* LED meter: gradient level masked into segments */
.meter {
  position: relative;
  width: 12px; height: 150px;
  background: #050505;
  border: 1px solid #1d1d1d;
  overflow: hidden;
}
.meter .level {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  background: linear-gradient(0deg, #5a5f5e 0%, #b9bfbe 55%, var(--red) 85%);
  transform: scaleY(.1);
  transform-origin: bottom;
  animation: meter-dance .46s ease-in-out infinite alternate, meter-drift 3.1s ease-in-out infinite alternate;
  animation-play-state: paused, paused;
}
.meter::after { /* segment gaps */
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 5px, #0a0a0a 5px 7px);
}
.strip[aria-selected="true"] .meter .level { animation-play-state: running, running; }
@keyframes meter-dance { from { transform: scaleY(.38); } to { transform: scaleY(.78); } }
@keyframes meter-drift { from { opacity: .85; } 50% { transform: scaleY(.95); } to { opacity: 1; } }

/* Fader */
.fader {
  position: relative;
  width: 30px; height: 150px;
}
.fader::before { /* track */
  content: "";
  position: absolute; left: 50%; top: 4px; bottom: 4px;
  width: 4px; margin-left: -2px;
  background: #1d1d1d;
  border-radius: 2px;
}
.knob {
  position: absolute; left: 50%;
  width: 30px; height: 16px;
  margin-left: -15px;
  bottom: 10%;
  background: linear-gradient(180deg, #2b2b2b, #0c0c0c);
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  transition: bottom .55s var(--ease);
}
.knob::after { /* center line */
  content: "";
  position: absolute; left: 3px; right: 3px; top: 50%;
  height: 2px; margin-top: -1px;
  background: var(--red);
}
.strip[aria-selected="true"] .knob { bottom: 68%; box-shadow: 0 0 12px rgba(255,46,68,.4); }

.ch-on {
  font-family: var(--font-head); font-weight: 800; font-size: .6rem;
  letter-spacing: .14em;
  padding: .3em .9em;
  border: 1px solid var(--line-on-dark);
  border-radius: 3px;
  color: #3c3c3c;
  transition: all .3s var(--ease);
}
.strip[aria-selected="true"] .ch-on {
  background: var(--red); border-color: var(--red); color: #fff;
  box-shadow: 0 0 14px rgba(255,46,68,.55);
}
.ch-name {
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-on-dark);
  text-align: center; line-height: 1.35;
  transition: color .3s var(--ease);
}
.strip[aria-selected="true"] .ch-name { color: var(--white); }
.ch-num { font-family: var(--font-head); font-weight: 800; font-size: .62rem; letter-spacing: .16em; color: #3c3c3c; }

/* ---------- Lighting cue deck (Stage Lighting page) ---------- */
.cuedeck { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); align-items: stretch; }
@media (max-width: 900px) { .cuedeck { grid-template-columns: 1fr; } }

/* Mini stage */
.cue-stage {
  position: relative;
  min-height: 420px;
  background: #050505;
  border: 1px solid var(--line-on-dark);
  border-bottom: 4px solid var(--red);
  overflow: hidden;
}
.truss {
  position: absolute; top: 26px; left: 7%; right: 7%;
  height: 8px;
  background: linear-gradient(180deg, #2a2a2a 0 2px, transparent 2px 6px, #2a2a2a 6px 8px);
  display: flex; justify-content: space-between;
  transition: box-shadow .8s var(--ease);
}
.fixture {
  position: relative;
  width: 14px; height: 18px;
  top: 8px;
  background: #1b1b1b;
  border: 1px solid #2e2e2e;
  border-radius: 2px;
}
.fixture::after { /* status LED */
  content: "";
  position: absolute; top: 3px; left: 50%;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: #333;
  transition: background .6s, box-shadow .6s;
}
.lbeam {
  position: absolute; top: 16px; left: 50%;
  width: 110px; height: 460px;
  margin-left: -55px;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.06) 70%, transparent);
  transform-origin: top center;
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
}
.fog {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 52%;
  background: linear-gradient(0deg, rgba(255,255,255,.14), transparent);
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.stage-floor {
  position: absolute; left: 50%; bottom: -16%;
  width: 120%; height: 40%;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 50%, rgba(255,46,68,.35), transparent 70%);
  transition: opacity 1s var(--ease);
}

/* CUE 01 — Lighting Design: symmetric branded fan, red/white alternating */
.cue-design .f1 .lbeam { transform: rotate(20deg); }
.cue-design .f2 .lbeam { transform: rotate(10deg); background: linear-gradient(180deg, rgba(255,46,68,.6), rgba(255,46,68,.05) 70%, transparent); }
.cue-design .f3 .lbeam { transform: rotate(0); }
.cue-design .f4 .lbeam { transform: rotate(-10deg); background: linear-gradient(180deg, rgba(255,46,68,.6), rgba(255,46,68,.05) 70%, transparent); }
.cue-design .f5 .lbeam { transform: rotate(-20deg); }
.cue-design .fixture::after { background: var(--red); box-shadow: 0 0 6px var(--red); }

/* CUE 02 — Programming & Ops: beams sweep live */
.cue-program .lbeam { animation: cue-sweep 1.6s ease-in-out infinite alternate; }
.cue-program .f1 .lbeam { animation-delay: 0s; }
.cue-program .f2 .lbeam { animation-delay: -.4s; background: linear-gradient(180deg, rgba(255,46,68,.6), rgba(255,46,68,.05) 70%, transparent); }
.cue-program .f3 .lbeam { animation-delay: -.8s; }
.cue-program .f4 .lbeam { animation-delay: -1.2s; background: linear-gradient(180deg, rgba(255,46,68,.6), rgba(255,46,68,.05) 70%, transparent); }
.cue-program .f5 .lbeam { animation-delay: -1.6s; }
.cue-program .fixture::after { background: var(--red); box-shadow: 0 0 6px var(--red); }
.cue-program .stage-floor { background: radial-gradient(50% 60% at 50% 50%, rgba(255,46,68,.5), transparent 70%); }
@keyframes cue-sweep { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }

/* CUE 03 — Atmospherics: wide hazy beams + fog */
.cue-atmo .lbeam { transform: scaleX(2.1) rotate(0); opacity: .4; filter: blur(7px); }
.cue-atmo .f1 .lbeam { transform: scaleX(2.1) rotate(14deg); }
.cue-atmo .f5 .lbeam { transform: scaleX(2.1) rotate(-14deg); }
.cue-atmo .fog { opacity: 1; }
.cue-atmo .fixture::after { background: #b9bfbe; box-shadow: 0 0 6px #b9bfbe; }
.cue-atmo .stage-floor { background: radial-gradient(50% 60% at 50% 50%, rgba(255,255,255,.18), transparent 70%); }

/* CUE 04 — Power & Rigging: work lights, truss check */
.cue-rig .lbeam { opacity: .07; }
.cue-rig .f3 .lbeam { opacity: .5; transform: scaleX(1.6); background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.06) 70%, transparent); }
.cue-rig .truss { box-shadow: 0 0 18px rgba(255,46,68,.65); }
.cue-rig .fixture::after { background: var(--red); box-shadow: 0 0 8px var(--red); animation: rec-blink 1s steps(1) infinite; }
.cue-rig .stage-floor { opacity: .35; }

/* Cue stack list */
.cue-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.cue-item { background: #0d0d0d; border: 1px solid var(--line-on-dark); transition: border-color .3s var(--ease); }
.cue-item:has(.cue[aria-selected="true"]) { border-color: var(--red); }
.cue {
  display: flex; align-items: center; gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  background: transparent;
  border: 0;
  color: var(--muted-on-dark);
  cursor: pointer;
  text-align: left;
}
.cue-no {
  flex: none;
  font-family: var(--font-head); font-weight: 800; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-on-dark);
  padding: .35em .9em;
  transform: skewX(-6deg);
  transition: all .3s var(--ease);
}
.cue[aria-selected="true"] .cue-no { background: var(--red); border-color: var(--red); color: #fff; }
.cue-label {
  flex: 1;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  letter-spacing: .08em; text-transform: uppercase;
  transition: color .3s var(--ease);
}
.cue[aria-selected="true"] .cue-label { color: var(--white); }
.cue-go {
  flex: none;
  font-family: var(--font-head); font-weight: 800; font-size: .62rem;
  letter-spacing: .16em;
  padding: .4em 1em;
  border: 1px solid var(--line-on-dark);
  border-radius: 3px;
  color: #3c3c3c;
  transition: all .3s var(--ease);
}
.cue:hover .cue-go { border-color: var(--off-white); color: var(--off-white); }
.cue[aria-selected="true"] .cue-go {
  background: var(--red); border-color: var(--red); color: #fff;
  box-shadow: 0 0 14px rgba(255,46,68,.55);
}
.cue-desc {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease), opacity .5s var(--ease);
}
.cue-item:has(.cue[aria-selected="true"]) .cue-desc { max-height: 160px; opacity: 1; }
.cue-desc p { margin: 0; padding: 0 1.1rem 1.1rem; font-size: .92rem; color: var(--muted-on-dark); }

/* ---------- CEO message signature (About page) ---------- */
.signature {
  margin-top: 2rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.signature::before {
  content: "";
  display: block;
  width: 64px; height: 4px;
  background: var(--red);
  margin-bottom: 1rem;
  transform: skewX(-20deg);
}
.signature span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: .88rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: .3rem;
}

/* ---------- CMS: dynamic cards + project detail modal ---------- */
.work-card img.art { width: 100%; height: 100%; object-fit: cover; }
.cms-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .8);
  display: grid; place-items: center;
  padding: 1.5rem;
  overflow-y: auto;
}
.cms-modal-box {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--off-white);
  color: var(--ink);
  border-bottom: 4px solid var(--red);
}
.cms-modal-close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-size: 1.4rem; line-height: 1;
}
.cms-modal-close:hover { background: var(--red); }
.modal-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cms-modal-body { padding: 1.8rem; }
.cms-modal-body .cat {
  display: inline-block;
  font-family: var(--font-head); font-weight: 800; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: var(--red);
  padding: .3em .8em; transform: skewX(-6deg);
  margin: 0 .3rem .8rem 0;
}
.cms-modal-body h3 { font-size: 1.6rem; margin: .2rem 0 .3rem; }
.modal-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.modal-services { font-size: .92rem; color: var(--muted); }
.modal-quote {
  margin: 1.2rem 0; padding: 1rem 1.2rem;
  background: var(--white); border-left: 4px solid var(--red);
  font-style: italic; font-size: .95rem;
}
.modal-quote footer { margin-top: .5rem; font-style: normal; font-weight: 600; font-size: .85rem; color: var(--muted); }
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.2rem 0; }
.modal-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .modal-gallery { grid-template-columns: repeat(2, 1fr); } }
.cms-modal-body .btn { margin-top: .6rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: .8em 1.4em;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { left: 0; }
