/* ==========================================================================
   AU|CORE website: broadcast software, forged in Africa.
   The EBU/PAL colour bars are the brand: eight bars, eight systems.
   Fonts and bar colours are the AU|CORE design system's (aucore.css).
   ========================================================================== */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-bold.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("../fonts/jetbrainsmono-regular.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 600; font-display: swap; src: url("../fonts/jetbrainsmono-semibold.woff2") format("woff2"); }
@font-face { font-family: "Michroma"; font-weight: 400; font-display: swap; src: url("../fonts/michroma-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Michroma"; font-weight: 400; font-display: swap; src: url("../fonts/michroma-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #03050a;
  --bg-2: #060a12;
  --bg-3: #0a1020;
  --glass: rgba(14, 22, 38, .62);
  --glass-2: rgba(20, 31, 52, .72);
  --line: rgba(150, 178, 222, .11);
  --line-2: rgba(150, 178, 222, .2);
  --text: #eef3fb;
  --text-2: #aab7ca;
  --text-3: #73839b;
  --text-4: #4d5c73;
  /* The bars (EBU 100/0, lifted a touch for screens) */
  --white: #f2f5fa;
  --yellow: #ffe600;
  --cyan: #00e5e5;
  --green: #4dff5e;
  --magenta: #ff33cc;
  --red: #ff2d2d;
  --blue: #4d6bff;
  --black: #0b0e15;
  --teal: #2be0c4;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --brand: "Michroma", "Inter", sans-serif;
  --r: 14px;
  --r-l: 22px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --rainbow: linear-gradient(90deg, var(--white) 0 12.5%, var(--yellow) 0 25%, var(--cyan) 0 37.5%, var(--green) 0 50%,
                             var(--magenta) 0 62.5%, var(--red) 0 75%, var(--blue) 0 87.5%, #1b2130 0 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(1200px 700px at 85% -10%, rgba(77, 107, 255, .14), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(0, 229, 229, .06), transparent 60%),
    radial-gradient(900px 700px at 110% 70%, rgba(255, 51, 204, .06), transparent 60%);
  background-attachment: fixed;
}
/* fine grain over everything, like a monitor's mask */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .5;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--cyan); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ------------------------------------------------------------- wordmark */
.wordmark { display: inline-flex; align-items: center; font: 400 17px var(--brand); letter-spacing: .14em; color: var(--text); }
.wordmark.small { font-size: 13px; }
.wm-bars { display: inline-flex; height: .95em; margin: 0 .55em; gap: 1px; transform: translateY(-.02em); }
.wm-bars i { width: 2.5px; height: 100%; border-radius: 1px; }
.wm-bars i:nth-child(1) { background: var(--white); } .wm-bars i:nth-child(2) { background: var(--yellow); }
.wm-bars i:nth-child(3) { background: var(--cyan); } .wm-bars i:nth-child(4) { background: var(--green); }
.wm-bars i:nth-child(5) { background: var(--magenta); } .wm-bars i:nth-child(6) { background: var(--red); }
.wm-bars i:nth-child(7) { background: var(--blue); }
.wordmark:hover .wm-bars i { box-shadow: 0 0 8px currentColor; }
/* AU|CORE in running text: the colour bars stand in for the "|", at text size */
.au-name { white-space: nowrap; }
.wm-bars.inline { height: .78em; margin: 0 .2em; gap: .9px; transform: translateY(.06em); }
.wm-bars.inline i { width: 2px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 18px var(--pad); transition: background .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(3, 5, 10, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-color: var(--line); padding-block: 12px; }
/* over the bars: a deep black that fades down into them, so the menu sits on
   calm ground and the bars rise out of the dark; the glass takes over on scroll */
.nav::before { content: ""; position: absolute; inset: 0 0 -70px; z-index: -1; pointer-events: none; transition: opacity .35s;
  background: linear-gradient(180deg, rgba(3, 5, 10, .97) 0%, rgba(3, 5, 10, .88) 38%, rgba(3, 5, 10, .55) 66%, rgba(3, 5, 10, 0) 100%); }
.nav.scrolled::before, .nav.open::before { opacity: 0; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-links a { position: relative; isolation: isolate; font-size: 14px; color: var(--text-2); padding: 9px 15px; border-radius: 10px;
  transition: color .2s; }
/* each link wears its bar colour: Systems yellow, Principles cyan, Heritage green, Integration magenta */
.nav-links a:nth-child(1) { --c: var(--yellow); } .nav-links a:nth-child(2) { --c: var(--cyan); }
.nav-links a:nth-child(3) { --c: var(--green); }  .nav-links a:nth-child(4) { --c: var(--magenta); }
/* HUD: viewfinder corners in the link's colour, a breath of tint and glow */
.nav-links a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 8px; pointer-events: none; opacity: 0; transform: scale(.82);
  transition: opacity .22s ease, transform .4s cubic-bezier(.2, .9, .25, 1.35);
  background:
    linear-gradient(var(--c), var(--c)) left top / 9px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1.5px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 9px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1.5px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 9px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1.5px 9px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 9px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1.5px 9px no-repeat,
    color-mix(in srgb, var(--c) 9%, transparent);
  box-shadow: 0 0 22px -6px var(--c); }
/* the colour-bar line that shoots in underneath */
.nav-links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--white) 0 14.3%, var(--yellow) 0 28.6%, var(--cyan) 0 42.9%, var(--green) 0 57.1%,
                                     var(--magenta) 0 71.4%, var(--red) 0 85.7%, var(--blue) 0 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 8px rgba(255, 255, 255, .25); }
/* the section on screen keeps its link lit (site.js) */
.nav-links a.on { color: var(--text); }
.nav-links a.on::after { transform: scaleX(1); opacity: .55; }

/* the call to action looks like the other links at rest; its colour is red,
   the ON AIR tally's */
.nav-links .nav-cta { --c: var(--red); }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: #fff; animation: glitch .42s steps(1) both; }
  .nav-links a:hover::before { opacity: 1; transform: none; }
  .nav-links a:hover::after { transform: scaleX(1); opacity: 1; }
}
/* bad sync for a moment: the picture tears red/cyan, then locks with a glow */
@keyframes glitch {
  0%   { text-shadow: 2px 0 var(--red), -2px 0 var(--cyan); transform: translateX(1px); }
  18%  { text-shadow: -3px 0 var(--red), 3px 0 var(--cyan); transform: translateX(-1px) skewX(-6deg); }
  36%  { text-shadow: 1px 0 var(--red), -1px 0 var(--cyan); transform: translateX(1px); }
  54%  { text-shadow: -1px 0 var(--red), 1px 0 var(--cyan); transform: none; }
  72%, 100% { text-shadow: 0 0 12px color-mix(in srgb, var(--c) 70%, transparent); transform: none; }
}
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(255, 255, 255, .03); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* -------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 99px; font: 600 15px var(--font);
  letter-spacing: .01em; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #04121a; background: linear-gradient(120deg, var(--cyan), #6fd9ff 50%, var(--blue)); background-size: 160% 100%;
  box-shadow: 0 10px 34px rgba(0, 229, 229, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 44px rgba(77, 107, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 11.5px var(--brand); letter-spacing: .26em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: tally 2.4s ease-in-out infinite; }
@keyframes tally { 50% { opacity: .45; box-shadow: 0 0 4px var(--red); } }
.grad-text { background: linear-gradient(100deg, var(--white) 0%, var(--cyan) 30%, var(--blue) 55%, var(--magenta) 80%, var(--yellow) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }

/* ================================================================= hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }

.bars { position: absolute; top: 0; right: 0; bottom: 64px; width: 60%; display: flex; z-index: -2;
  perspective: 1200px; padding-top: 0; }
.bar { position: relative; flex: 1 1 0; border: 0; padding: 0; margin: 0; cursor: default; color: rgba(0, 0, 0, .7);
  transform-origin: 50% 100%; transition: flex-grow .55s cubic-bezier(.2, .8, .2, 1), filter .4s, opacity .4s;
  background: var(--c); animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 85ms + .15s); }
.bar::before { /* the light: a soft glow spilling left and up */
  content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: 0 0 60px -6px var(--c); opacity: .55; transition: opacity .4s; }
.bar::after { /* glass sheen down the bar */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 18%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .35) 100%); }
.bar:nth-child(1) { --i: 0; --c: var(--white); } .bar:nth-child(2) { --i: 1; --c: var(--yellow); }
.bar:nth-child(3) { --i: 2; --c: var(--cyan); } .bar:nth-child(4) { --i: 3; --c: var(--green); }
.bar:nth-child(5) { --i: 4; --c: var(--magenta); } .bar:nth-child(6) { --i: 5; --c: var(--red); }
.bar:nth-child(7) { --i: 6; --c: var(--blue); color: rgba(255, 255, 255, .85); } .bar:nth-child(8) { --i: 7; --c: var(--black); color: rgba(255, 255, 255, .5); }
/* Planned and reserved bars are dimmed by a shade layer, not a filter, so
   their names stay readable on top. The labels sit above the shade. */
.bar-n, .bar-name { z-index: 1; }
.bar.planned { color: rgba(255, 255, 255, .92); }
.bar.planned::after { background:
  repeating-linear-gradient(135deg, rgba(0, 0, 0, .3) 0 10px, transparent 10px 20px),
  linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .45) 20%, rgba(0, 0, 0, .6) 100%); }
.bar.reserved.b-white { color: rgba(255, 255, 255, .9); }
.bar.reserved.b-white::after { background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .6) 22%, rgba(0, 0, 0, .7) 100%); }
.bar.planned:hover::after, .bar.planned.active::after { background:
  repeating-linear-gradient(135deg, rgba(0, 0, 0, .18) 0 10px, transparent 10px 20px),
  linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, .35) 100%); }
.bar.reserved.b-white:hover::after, .bar.reserved.b-white.active::after { background:
  linear-gradient(180deg, rgba(255, 255, 255, .25) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, .35) 100%); }
.bar.reserved.b-white:hover, .bar.reserved.b-white.active { color: rgba(0, 0, 0, .7); }
.bar.b-black { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .06); }
.bar.b-black::before { box-shadow: none; }
.bars:hover .bar:not(:hover), .bars.focusing .bar:not(.active) { filter: brightness(.38) saturate(.7); }
.bar:hover, .bar.active { flex-grow: 1.9; filter: none !important; }
.bar.lit { flex-grow: 1.5; filter: none; }
.bar.lit::before { opacity: 1; }
.bar:hover::before, .bar.active::before { opacity: 1; }
.bar-n { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); font: 600 11px var(--mono); letter-spacing: .1em; opacity: .75; }
.bar-name { position: absolute; bottom: 26%; left: 50%; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font: 400 12px var(--brand); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; opacity: .85; }
@keyframes rise { from { transform: scaleY(0); opacity: 0; } 60% { opacity: 1; } to { transform: scaleY(1); } }

.castellation { position: absolute; left: 0; right: 0; bottom: 0; height: 11%; display: flex; pointer-events: none;
  border-top: 1px solid rgba(0, 0, 0, .55); animation: fade 1s ease 1.2s both; }
.castellation i { flex: 1; background: var(--black); }
.castellation .c-blue { background: var(--blue); } .castellation .c-magenta { background: var(--magenta); }
.castellation .c-cyan { background: var(--cyan); } .castellation .c-white { background: var(--white); }
.bars:hover .castellation, .bars.focusing .castellation { filter: brightness(.4); }
.scanline { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .22) 49%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .22) 51%, transparent 100%);
  background-size: 100% 260px; background-repeat: no-repeat; animation: scan 1.6s ease-in 1.15s both; }
@keyframes scan { from { background-position: 0 -260px; opacity: 1; } to { background-position: 0 calc(100% + 260px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* the darkness the copy stands in, fading into the bars */
.hero-shade { position: absolute; inset: 0 0 64px; z-index: -1; pointer-events: none;
  /* dark only where the copy stands; the bars from 40% on stay at full light */
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, rgba(3, 5, 10, .72) 39%, rgba(3, 5, 10, 0) 46%),
    linear-gradient(0deg, var(--bg) 0%, rgba(3, 5, 10, 0) 12%),
    linear-gradient(180deg, rgba(3, 5, 10, .6) 0%, rgba(3, 5, 10, 0) 14%); }

/* the copy always wraps before the bars begin (they start at 40% of the width) */
.hero-copy { position: relative; align-self: center; max-width: min(660px, 41vw); padding: 112px var(--pad) 48px; animation: up 1s cubic-bezier(.2, .8, .2, 1) .5s both; }
.hero-copy p, .hero-copy li { text-wrap: pretty; }
/* sized to its column (41vw): "forged in Africa." always fits one line */
.hero h1 { font-size: clamp(36px, 3.8vw, 72px); font-weight: 700; letter-spacing: -.035em; }
.hero .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }
/* six lines, six bar colours in bar order: yellow, cyan, green, magenta, red, blue */
.lede-lines { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 7px; }
.lede-lines li { position: relative; padding-left: 24px; font-size: clamp(14.5px, 1.12vw, 16.5px); line-height: 1.5; color: var(--text-2);
  animation: up .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.75s + var(--i) * 90ms); }
/* all six lines bold and white (the user's choice) */
.lede-lines.strong li { font-weight: 600; font-size: clamp(15px, 1.22vw, 18px); color: var(--text); letter-spacing: -.01em; }
.lede-lines li::before { content: ""; position: absolute; left: 0; top: .72em; width: 13px; height: 2.5px; border-radius: 2px;
  background: var(--c); box-shadow: 0 0 9px var(--c); }
.lede-lines li:nth-child(1) { --c: var(--yellow); --i: 0; }
.lede-lines li:nth-child(2) { --c: var(--cyan); --i: 1; }
.lede-lines li:nth-child(3) { --c: var(--green); --i: 2; }
.lede-lines li:nth-child(4) { --c: var(--magenta); --i: 3; }
.lede-lines li:nth-child(5) { --c: var(--red); --i: 4; }
.lede-lines li:nth-child(6) { --c: var(--blue); --i: 5; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

/* the card that names a bar */
/* hangs left of the mouse pointer (site.js, via translate); never catches the mouse itself
   (that would read as leaving the bars and make it flicker) */
.bar-card { position: absolute; left: 0; top: 0; z-index: 3; width: 290px; padding: 20px 22px; pointer-events: none;
  transition: translate .09s ease-out;
  border-radius: var(--r); background: rgba(8, 12, 22, .82); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  display: grid; gap: 4px; animation: pop .25s ease both; }
.bar-card[hidden] { display: none; }
.bar-card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--c, var(--cyan));
  box-shadow: 0 0 14px var(--c, var(--cyan)); }
.bc-n { font: 600 11px var(--mono); color: var(--text-3); letter-spacing: .12em; }
.bc-name { font: 400 18px var(--brand); letter-spacing: .08em; }
.bc-kind { color: var(--text-2); font-size: 14px; }
.bc-status { margin-top: 6px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--cyan)); }
/* the larger card: the system's jobs as a list, its own mark as the bullets */
.bar-card.wide { width: 380px; padding: 26px 28px 24px; gap: 6px; }
.bar-card.wide .bc-name { font-size: 24px; }
.bar-card.wide .bc-kind { display: none; }
.bc-items { list-style: none; margin: 12px 0 6px; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 12px; }
.bc-items[hidden] { display: none; }
.bc-items li { display: flex; align-items: center; gap: 14px; font: 500 17px/1.3 var(--font); color: var(--text); letter-spacing: -.005em;
  animation: up .45s cubic-bezier(.2, .8, .2, 1) both; }
.bc-items li:nth-child(2) { animation-delay: .07s; } .bc-items li:nth-child(3) { animation-delay: .14s; }
.bc-items li::before { content: ""; flex: none; width: 22px; height: 22px; background: center / contain no-repeat; }
/* each system's own mark as its bullets (paths relative to this stylesheet) */
.bar-card[data-key="transmux"] .bc-items li::before { background-image: url("../img/transmux-mark.svg");
  filter: drop-shadow(0 0 6px rgba(255, 170, 40, .65)); }
.bar-card[data-key="epg"] .bc-items li::before { background-image: url("../img/epg-mark.svg"); border-radius: 6px;
  filter: drop-shadow(0 0 6px rgba(0, 229, 229, .6)); }
.bar-card[data-key="citb"] .bc-items li::before { background-image: url("../img/citb-mark.svg");
  filter: drop-shadow(0 0 6px rgba(255, 51, 204, .65)); }
.bar-card[data-key="nexus"] .bc-items li::before { background-image: url("../img/nexus-mark.svg");
  filter: drop-shadow(0 0 6px rgba(77, 107, 255, .75)); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* the signal monitor along the bottom of the hero */
.monitor { position: relative; z-index: 2; height: 64px; display: grid; grid-template-columns: auto auto auto minmax(80px, 1fr) auto; align-items: center; gap: 26px;
  padding: 0 var(--pad); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(6, 10, 18, .9), rgba(3, 5, 10, .96));
  font: 400 12px var(--mono); color: var(--text-3); letter-spacing: .04em; animation: fade 1s ease 1.6s both; }
.mon-id { display: inline-flex; align-items: center; gap: 9px; font: 400 11px var(--brand); letter-spacing: .22em; color: var(--text); }
.tally { width: 9px; height: 9px; border-radius: 2px; background: var(--red); box-shadow: 0 0 14px var(--red); animation: tally 2.4s ease-in-out infinite; }
/* the PID analyser: one level bar per PID, in TransMUX's PID colours
   (tables gold, video blue, audio green, null grey); video and null mirror each other */
.mon-pids { display: flex; align-items: center; gap: 14px; }
.pid { display: flex; align-items: center; gap: 7px; }
.pid i { position: relative; width: 6px; height: 30px; border-radius: 2px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.pid i b { position: absolute; left: 0; right: 0; bottom: 0; height: var(--lv, 20%); background: var(--pc); box-shadow: 0 0 8px var(--pc);
  transition: height .14s linear; }
.pid > span { display: flex; flex-direction: column; font: 500 9.5px/1.2 var(--mono); color: var(--text-4); letter-spacing: .04em; }
.pid em { font-style: normal; font-weight: 600; color: var(--text-2); }
.p-psi { --pc: #ffd25a; } .p-vid { --pc: #5cb2ff; } .p-aud { --pc: #3ee08f; } .p-nul { --pc: #6b7891; }
/* the service rack: SVC 1-8 in the bar colours, flickering with packets; LOCK steady */
.mon-rack { display: flex; align-items: center; gap: 16px; }
.rack-leds { display: grid; grid-template-columns: auto repeat(8, 9px); gap: 5px; align-items: center; }
.rack-lbl { font: 600 9.5px var(--mono); letter-spacing: .1em; color: var(--text-4); margin-right: 3px; }
.rack-leds i { width: 9px; height: 9px; border-radius: 2px; background: var(--lc); opacity: .22; transition: opacity .07s, box-shadow .07s; }
.rack-leds i.on { opacity: 1; box-shadow: 0 0 8px var(--lc); }
.rack-leds i:nth-of-type(1) { --lc: var(--white); } .rack-leds i:nth-of-type(2) { --lc: var(--yellow); }
.rack-leds i:nth-of-type(3) { --lc: var(--cyan); }  .rack-leds i:nth-of-type(4) { --lc: var(--green); }
.rack-leds i:nth-of-type(5) { --lc: var(--magenta); } .rack-leds i:nth-of-type(6) { --lc: var(--red); }
.rack-leds i:nth-of-type(7) { --lc: var(--blue); } .rack-leds i:nth-of-type(8) { --lc: #8a93a8; }
.rack-lock { display: inline-flex; align-items: center; gap: 7px; font: 600 10px var(--mono); letter-spacing: .12em; color: #7dffc9; }
.rack-lock i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 10px #3ee08f; }
.mon-trace { height: 34px; width: 100%; }
.trace-grid { stroke: rgba(150, 178, 222, .14); stroke-width: 1; stroke-dasharray: 3 5; }
.trace { fill: none; stroke: var(--green); stroke-width: 1.6; filter: drop-shadow(0 0 4px rgba(77, 255, 94, .8)); vector-effect: non-scaling-stroke; }
.mon-tc { color: var(--text); font: 600 15px var(--mono); letter-spacing: .08em; font-variant-numeric: tabular-nums; }

/* ============================================================= sections */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(64px, 7.5vw, 110px) var(--pad); }
.section + .section { padding-top: clamp(24px, 3vw, 40px); }
.heritage h2 { font-size: clamp(30px, 3.3vw, 46px); }
/* headings that must stay on one line on desktop: they take the full width and scale with the window */
@media (min-width: 861px) {
  .sec-head:has(.one-line) { max-width: none; }
  .section h2.one-line { white-space: nowrap; font-size: clamp(28px, 4vw, 54px); }
}
.nw { white-space: nowrap; }
.sec-head { max-width: 760px; margin-bottom: 54px; }
.section h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; letter-spacing: -.03em; }
.sec-sub { margin-top: 20px; color: var(--text-2); font-size: clamp(16px, 1.25vw, 18px); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { --c: var(--cyan); position: relative; padding: 26px 24px 28px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s, background .35s; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); box-shadow: 0 0 22px 1px var(--c); }
.card::after { content: ""; position: absolute; inset: -40% -20% auto -20%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); opacity: .35; transition: opacity .35s; }
.card:hover, .card.active { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5), 0 0 40px -12px var(--c); background: var(--glass-2); }
.card:hover::after, .card.active::after { opacity: 1; }
.card.c-white { --c: var(--white); } .card.c-yellow { --c: var(--yellow); } .card.c-cyan { --c: var(--cyan); }
.card.c-green { --c: var(--green); } .card.c-magenta { --c: var(--magenta); } .card.c-red { --c: var(--red); }
.card.c-blue { --c: var(--blue); } .card.c-black { --c: #3a4256; }
.card.reserved { background: rgba(10, 15, 26, .45); border-style: dashed; }
.card.reserved h3 { color: var(--text-2); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.card-n { font: 600 12px var(--mono); color: var(--c); letter-spacing: .12em; }
.card h3 { font: 400 20px var(--brand); letter-spacing: .06em; margin-bottom: 6px; }
.card .kind { font: 500 12px var(--mono); color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.card p { color: var(--text-2); font-size: 15px; }
.card ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.card li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text-2); }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.status { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid; }
.s-pilot { color: #7dffc9; border-color: rgba(43, 224, 196, .4); background: rgba(43, 224, 196, .08); }
.s-dev { color: #ffd27a; border-color: rgba(255, 196, 80, .38); background: rgba(255, 196, 80, .07); }
.s-design { color: #b9c3ff; border-color: rgba(140, 155, 255, .35); background: rgba(140, 155, 255, .07); }
.s-reserved { color: var(--text-3); border-color: var(--line-2); }

/* ---------------------------------------------------------- principles */
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden; }
.pr { position: relative; padding: 34px 30px 36px; background: var(--bg-2); transition: background .35s; }
.pr:hover { background: #0a1120; }
.pr::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 0; height: 2px; background: var(--rainbow); opacity: 0; transition: opacity .35s; }
.pr:hover::after { opacity: .8; }
.pr-ico { display: inline-block; font: 600 12px var(--mono); color: var(--cyan); letter-spacing: .08em; padding: 6px 10px; border-radius: 8px;
  border: 1px solid rgba(0, 229, 229, .25); background: rgba(0, 229, 229, .06); margin-bottom: 22px; }
.pr:nth-child(2) .pr-ico { color: var(--yellow); border-color: rgba(255, 230, 0, .25); background: rgba(255, 230, 0, .05); }
.pr:nth-child(3) .pr-ico { color: var(--magenta); border-color: rgba(255, 51, 204, .28); background: rgba(255, 51, 204, .06); }
.pr:nth-child(4) .pr-ico { color: var(--green); border-color: rgba(77, 255, 94, .25); background: rgba(77, 255, 94, .05); }
.pr:nth-child(5) .pr-ico { color: #8fa2ff; border-color: rgba(77, 107, 255, .35); background: rgba(77, 107, 255, .08); }
.pr:nth-child(6) .pr-ico { color: #ff7a7a; border-color: rgba(255, 45, 45, .3); background: rgba(255, 45, 45, .06); }
.pr h3 { font-size: 21px; margin-bottom: 12px; }
.pr p { color: var(--text-2); font-size: 15px; }

/* ------------------------------------------------------------ heritage */
.heritage { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.he-copy p { color: var(--text-2); font-size: clamp(16px, 1.25vw, 18px); margin-top: 20px; }
.he-copy h2 + p { margin-top: 26px; }
.he-quote { position: relative; margin-top: 34px !important; padding: 18px 0 18px 26px; font: 400 clamp(19px, 1.7vw, 24px)/1.4 var(--font) !important;
  color: var(--text) !important; font-style: italic; }
.he-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--white), var(--yellow), var(--cyan), var(--green), var(--magenta), var(--red), var(--blue)); }
.he-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 28px 18px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--line); container-type: inline-size; min-width: 0; }
.stat b { display: block; font: 400 clamp(26px, 23cqi, 48px)/1 var(--brand); letter-spacing: .02em; white-space: nowrap;
  background: linear-gradient(180deg, #fff, #9fb2cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 14px; color: var(--text-3); font-size: clamp(12.5px, 1.1vw, 14px); }  /* "years of experience" stays on one line down to ~1100 px */
.stat strong, .he-copy strong { color: var(--text); font-weight: 600; }
.stat:nth-child(1) { box-shadow: inset 0 2px 0 var(--yellow); } .stat:nth-child(2) { box-shadow: inset 0 2px 0 var(--cyan); }
.stat:nth-child(3) { box-shadow: inset 0 2px 0 var(--magenta); } .stat:nth-child(4) { box-shadow: inset 0 2px 0 var(--blue); }

/* ---------------------------------------------------------------- rack */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font: 500 14px var(--font); color: var(--text-2); padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); transition: color .25s, border-color .25s, background .25s, transform .25s; }
.chips li:hover { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .05); transform: translateY(-2px); }
.fineprint { margin-top: 26px; color: var(--text-4); font-size: 12.5px; }
/* integration: the two sentences each keep to one line on desktop */
@media (min-width: 861px) { .rack .sec-head { max-width: none; } .rack .sec-sub { max-width: 980px; } }
/* the standards: set like signal names, each lighting up in a bar colour */
.chips.std li { font: 500 13.5px var(--mono); letter-spacing: .03em; color: var(--text-2); }
.chips.std li:nth-child(6n+1) { --c: var(--yellow); } .chips.std li:nth-child(6n+2) { --c: var(--cyan); }
.chips.std li:nth-child(6n+3) { --c: var(--green); }  .chips.std li:nth-child(6n+4) { --c: var(--magenta); }
.chips.std li:nth-child(6n+5) { --c: var(--red); }    .chips.std li:nth-child(6n+6) { --c: var(--blue); }
.chips.std li:hover { color: #fff; border-color: color-mix(in srgb, var(--c) 60%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: 0 0 18px -6px var(--c); }

/* ------------------------------------------------------------- contact */
.ct-panel { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px); border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(700px 360px at 85% 0%, rgba(77, 107, 255, .18), transparent 60%),
              radial-gradient(600px 320px at 0% 100%, rgba(255, 51, 204, .12), transparent 60%), var(--bg-2); }
.ct-panel p { color: var(--text-2); max-width: 620px; margin-top: 18px; font-size: clamp(16px, 1.25vw, 18px); }
.ct-bars { position: absolute; top: 0; right: clamp(24px, 5vw, 70px); width: clamp(120px, 18vw, 230px); height: 100%; display: flex; opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.ct-bars i { flex: 1; }
.ct-bars i:nth-child(1) { background: var(--white); } .ct-bars i:nth-child(2) { background: var(--yellow); }
.ct-bars i:nth-child(3) { background: var(--cyan); } .ct-bars i:nth-child(4) { background: var(--green); }
.ct-bars i:nth-child(5) { background: var(--magenta); } .ct-bars i:nth-child(6) { background: var(--red); }
.ct-bars i:nth-child(7) { background: var(--blue); } .ct-bars i:nth-child(8) { background: var(--black); }
.ct-panel > :not(.ct-bars) { position: relative; max-width: calc(100% - clamp(140px, 22vw, 280px)); }
.ct-where { font: 400 12px var(--brand); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }

/* -------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); }
.ft-bars { display: flex; height: 3px; }
.ft-bars i { flex: 1; }
.ft-bars i:nth-child(1) { background: var(--white); } .ft-bars i:nth-child(2) { background: var(--yellow); }
.ft-bars i:nth-child(3) { background: var(--cyan); } .ft-bars i:nth-child(4) { background: var(--green); }
.ft-bars i:nth-child(5) { background: var(--magenta); } .ft-bars i:nth-child(6) { background: var(--red); }
.ft-bars i:nth-child(7) { background: var(--blue); } .ft-bars i:nth-child(8) { background: #1b2130; }
.ft-row { max-width: var(--max); margin: 0 auto; padding: 34px var(--pad) 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  color: var(--text-3); font-size: 13.5px; }
.ft-copy { margin-left: auto; }

/* Desktop: a card shows what the system is; hover or focus turns the
   description into its three key points (both share one cell, so the card
   keeps its height). Phones show both, one under the other. */
@media (min-width: 1000px) {
  .card { cursor: default; }
  .card-body { display: grid; }
  .card-body > * { grid-area: 1 / 1; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
  .card-body ul { margin: 0; padding: 0; border: 0; opacity: 0; transform: translateY(10px); align-self: start; }
  .card:is(:hover, :focus-visible, .active) .card-body > p { opacity: 0; transform: translateY(-10px); }
  .card:is(:hover, :focus-visible, .active) .card-body ul { opacity: 1; transform: none; }
  .card:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: var(--r-l); }
  /* a hint that there is more: three dots in the system's colour, gone on hover */
  .card:has(.card-body ul) .card-top::after { content: ""; position: absolute; right: 24px; bottom: 22px; width: 22px; height: 4px;
    background: radial-gradient(circle, var(--c) 1.6px, transparent 2px) 0 0 / 8px 4px repeat-x; opacity: .6; transition: opacity .3s; }
  .card:is(:hover, :focus-visible, .active) .card-top::after { opacity: 0; }
}

/* ===================================================== one block per screen
   The "magnet": every block (hero, the five sections) is one screen high,
   its content centred; the last screen is the contact panel plus the footer
   (the panel is shortened by the footer's height, --tail, site.js). Native
   scroll snap holds the blocks; site.js glides between them (html.glide),
   with CSS snap off meanwhile so the two never fight. Desktop-sized windows
   only and never with reduced motion: phones and short screens scroll freely. */
@media (min-width: 1000px) and (min-height: 820px) and (prefers-reduced-motion: no-preference) {
  html.snap { scroll-snap-type: y mandatory; scroll-behavior: auto; }
  html.snap.glide { scroll-snap-type: none; }
  html.snap main > .hero { scroll-snap-align: start; }
  html.snap main > .section {
    min-height: 100vh; min-height: 100svh; scroll-snap-align: start;
    padding-top: 96px; padding-bottom: 56px; }
  html.snap main > .section:not(.heritage) { display: flex; flex-direction: column; justify-content: center; }
  html.snap main > .heritage { align-content: center; }
  html.snap main > .section .sec-head { margin-bottom: 40px; }
  /* the eight systems fit one screen: a little tighter than on a long page */
  html.snap main > .suite { padding-top: 84px; padding-bottom: 40px; }
  html.snap .suite .sec-head { max-width: 980px; margin-bottom: 26px; }
  html.snap .suite h2 { font-size: clamp(32px, 3.4vw, 46px); }
  html.snap .suite .sec-sub { margin-top: 12px; font-size: 16px; }
  html.snap .card { padding: 20px 22px 22px; }
  html.snap .card-top { margin-bottom: 14px; }
  html.snap .card .kind { margin-bottom: 12px; font-size: 11px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.snap .card p, html.snap .card li { font-size: 14px; line-height: 1.5; }
  html.snap main > .contact { min-height: calc(100svh - var(--tail, 0px)); }
}
/* short desktop screens: the cards say it themselves, the intro gives way */
@media (min-width: 1000px) and (min-height: 820px) and (max-height: 940px) and (prefers-reduced-motion: no-preference) {
  html.snap .suite .sec-sub { display: none; }
  html.snap main > .suite { padding-top: 80px; }
}

/* ======================================================= Countdown to Air
   The intro (intro.js): snow -> signal lock -> leader 8..1 in bar colours,
   one bar per beat -> ON AIR -> the picture collapses to a line like an old
   monitor. Only while html.intro-on (intro-gate.js); the page waits beneath. */
.intro { display: none; }
html.intro-on .intro, .intro.s-out { display: grid; }
html.intro-on { overflow: hidden; }
html.intro-on .hero, html.intro-on .hero * { animation-play-state: paused !important; }
.intro { position: fixed; inset: 0; z-index: 300; place-items: center; background: #000; overflow: hidden; --lc: #f2f5fa; }
.intro canvas { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); opacity: 0; filter: contrast(1.2); }
.intro.s-snow canvas { opacity: .85; }
.intro.s-snow::after { content: ""; position: absolute; left: 0; right: 0; height: 22%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7), transparent); animation: roll .38s linear infinite; }
@keyframes roll { from { top: -22%; } to { top: 100%; } }
/* signal lock: a white line flares across, then the leader is there */
.intro.s-lock::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #fff; pointer-events: none;
  box-shadow: 0 0 30px 6px rgba(255, 255, 255, .7); animation: lock .32s ease-out both; }
@keyframes lock { 0% { transform: scaleY(1) scaleX(.2); opacity: 1; } 40% { transform: scaleY(60) scaleX(1); opacity: .9; } 100% { transform: scaleY(260); opacity: 0; } }

.intro-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; opacity: 0;
  transition: opacity .2s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.s-lock .intro-stage { opacity: 1; }
.leader { position: relative; width: min(58vmin, 440px); aspect-ratio: 1; display: grid; place-items: center; }
@property --sw { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.lead-sweep { position: absolute; inset: 5%; border-radius: 50%;
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--lc) 30%, transparent) var(--sw), rgba(255, 255, 255, .03) 0); }
.beat .lead-sweep { animation: sweep var(--beat, 230ms) linear both; }
@keyframes sweep { from { --sw: 0deg; } to { --sw: 360deg; } }
.lead-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.lead-ring circle, .lead-ring path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; }
.lead-ring circle:first-child { stroke: color-mix(in srgb, var(--lc) 70%, white); filter: drop-shadow(0 0 8px var(--lc)); }
.lead-n { position: relative; font: 400 clamp(96px, 26vmin, 210px)/1 var(--brand); color: var(--lc); text-shadow: 0 0 34px var(--lc), 0 0 2px #fff; }
.beat .lead-n { animation: beatpop var(--beat, 230ms) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes beatpop { from { transform: scale(1.22); opacity: .35; filter: blur(2px); } to { transform: none; opacity: 1; filter: none; } }
.lead-bars { display: flex; gap: 3px; width: min(58vmin, 440px); height: 12px; }
.lead-bars i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .06); transition: background .15s, box-shadow .15s; }
.lead-bars i.on:nth-child(1) { --b: var(--white); } .lead-bars i.on:nth-child(2) { --b: var(--yellow); }
.lead-bars i.on:nth-child(3) { --b: var(--cyan); }  .lead-bars i.on:nth-child(4) { --b: var(--green); }
.lead-bars i.on:nth-child(5) { --b: var(--magenta); } .lead-bars i.on:nth-child(6) { --b: var(--red); }
.lead-bars i.on:nth-child(7) { --b: var(--blue); } .lead-bars i.on:nth-child(8) { --b: #8a93a8; }
.lead-bars i.on { background: var(--b); box-shadow: 0 0 14px var(--b); }

/* zero: ON AIR, the name over it */
.intro-air { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 26px; opacity: 0; transform: scale(1.08);
  transition: opacity .22s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.s-air .intro-stage { opacity: 0; transform: scale(.9); }
.s-air .intro-air { opacity: 1; transform: none; }
.air-tally { display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px; border-radius: 8px; font: 400 clamp(22px, 4vmin, 34px) var(--brand);
  letter-spacing: .3em; color: #fff; background: #d7192f; box-shadow: 0 0 60px rgba(255, 30, 60, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.air-tally i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; animation: tally .5s ease-in-out infinite; }
.air-mark { font-size: clamp(22px, 4.2vmin, 38px); }

/* the curtain: the picture collapses to a line, then a dot, and the page is there */
.intro.s-out { animation: crt-off .56s cubic-bezier(.7, 0, .3, 1) forwards; pointer-events: none; }
@keyframes crt-off {
  0%   { clip-path: inset(0 0 0 0); filter: brightness(1); }
  55%  { clip-path: inset(49.7% 0 49.7% 0); filter: brightness(3); }
  100% { clip-path: inset(50% 50% 50% 50%); filter: brightness(4); opacity: 0; } }
.intro-skip { position: absolute; right: 22px; bottom: 20px; z-index: 2; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5); background: transparent; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.intro-skip:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ========================================================== responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mon-rack { display: none; }
  .monitor { grid-template-columns: auto auto minmax(80px, 1fr) auto; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 64px 12px auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 18px;
    background: rgba(6, 10, 18, .96); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-links .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  .nav.open { background: rgba(3, 5, 10, .9); }

  .hero { min-height: auto; grid-template-rows: auto auto auto; }
  .bars { position: relative; width: 100%; height: 44svh; min-height: 280px; bottom: auto; order: -1; margin-top: 0; }
  .bar-n { top: 76px; }
  .bar-name { font-size: 10px; letter-spacing: .16em; bottom: 20%; }
  .hero-shade { inset: 0; background: linear-gradient(180deg, rgba(3, 5, 10, .5) 0%, rgba(3, 5, 10, 0) 14%, rgba(3, 5, 10, 0) 30%, var(--bg) 44svh); }
  .hero-copy { padding: 30px var(--pad) 56px; max-width: none; }
  .hero h1 { font-size: clamp(38px, 9.5vw, 60px); }
  .bar-card { right: 16px; left: 16px; width: auto; top: calc(44svh - 110px); bottom: auto; translate: none !important; }
  .monitor { grid-template-columns: auto 1fr auto; height: 56px; gap: 14px; }
  .mon-pids, .mon-rack { display: none; }
  .heritage { grid-template-columns: 1fr; }
  .ct-panel > :not(.ct-bars) { max-width: 100%; }
  .ct-bars { opacity: .25; }
}
@media (max-width: 560px) {
  .cards, .pr-grid { grid-template-columns: 1fr; }
  .he-stats { grid-template-columns: 1fr 1fr; }
  .bar-name { display: none; }
  .btn { width: 100%; justify-content: center; }
  .ft-copy { margin-left: 0; }
  .section h2 { text-wrap: balance; }   /* even lines on a phone: no lone "built" in Heritage */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
