:root {
    --bg: #02040a;
    --ink: #f2f4fb;
    --muted: #8b96b4;
    --line: rgba(255, 255, 255, 0.09);
    --accent: rgb(30, 58, 138);
    --accent-rgb: 30, 58, 138;
    --flare: rgb(236, 156, 102);
    --flare-rgb: 236, 156, 102;
    --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --mono: "Space Mono", "Courier New", Courier, monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --lx: 50%; --ly: 35%;
    --sx: 6px; --sy: 12px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--display);
    line-height: 1.55;
    overflow-x: hidden;
    transition: background-color 2s var(--ease);
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(var(--accent-rgb), 0.55); color: #fff; }

/* ---------- AMBIENT LIGHT SOURCE ---------- */

.ambient-light {
    position: fixed; inset: -20%; z-index: 0; pointer-events: none;
    background: radial-gradient(46% 36% at 50% 42%, rgba(var(--flare-rgb), 0.09), rgba(var(--accent-rgb), 0.04) 55%, transparent 72%);
    mix-blend-mode: screen;
    animation: ambientDrift 26s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
    0%   { transform: translate3d(-6%, -4%, 0) scale(1); }
    50%  { transform: translate3d(8%, 7%, 0) scale(1.18); }
    100% { transform: translate3d(-3%, 4%, 0) scale(0.94); }
}

#page-backdrop {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    overflow: hidden;
}
#ambient-glow {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    overflow: hidden;
}
#ambient-glow .backdrop-light {
    position: absolute; border-radius: 50%;
    mix-blend-mode: screen;
    will-change: transform, opacity;
    animation: lightFade 22s ease-in-out infinite alternate;
}
#ambient-glow .bl-1 {
    width: 52vmax; height: 52vmax; left: -10vmax; top: 4vmax;
    background: radial-gradient(circle, rgba(64, 116, 238, 0.52), rgba(64, 116, 238, 0.14) 46%, rgba(64, 116, 238, 0) 68%);
    filter: blur(34px);
}
#ambient-glow .bl-2 {
    width: 46vmax; height: 46vmax; right: -8vmax; top: 22vmax;
    background: radial-gradient(circle, rgba(var(--flare-rgb), 0.42), rgba(var(--flare-rgb), 0.12) 46%, rgba(var(--flare-rgb), 0) 66%);
    filter: blur(38px);
    animation-delay: -7s; animation-duration: 26s;
}
#ambient-glow .bl-3 {
    width: 42vmax; height: 42vmax; left: 24vw; bottom: -12vmax;
    background: radial-gradient(circle, rgba(49, 229, 255, 0.34), rgba(49, 229, 255, 0.1) 44%, rgba(49, 229, 255, 0) 64%);
    filter: blur(40px);
    animation-delay: -14s; animation-duration: 30s;
}
@keyframes lightFade {
    0%   { opacity: 0.4; transform: translate3d(0, 0, 0) scale(1); }
    50%  { opacity: 0.9; transform: translate3d(3vw, -4vh, 0) scale(1.12); }
    100% { opacity: 0.55; transform: translate3d(-3vw, 3vh, 0) scale(0.94); }
}
#page-backdrop .film-strip {
    position: absolute; top: 0; bottom: 0; width: 36px;
    opacity: 0.75;
    filter: blur(2.5px);
    background:
        linear-gradient(90deg,
            transparent, rgba(148, 210, 255, 0.12) 16%, rgba(148, 210, 255, 0.12) 84%, transparent),
        repeating-linear-gradient(to bottom,
            rgba(148, 210, 255, 0.30) 0 2px,
            rgba(148, 210, 255, 0.06) 2px 52px,
            rgba(148, 210, 255, 0.03) 52px 104px);
    box-shadow: inset 0 0 0 1px rgba(148, 210, 255, 0.14);
    animation: filmFrames 4.8s linear infinite;
}
#page-backdrop .film-strip::before,
#page-backdrop .film-strip::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 9px;
    animation: filmMove 4.8s linear infinite;
}
#page-backdrop .film-strip::before {
    left: 3px;
    background: repeating-linear-gradient(to bottom,
        rgba(148, 210, 255, 0.14) 0 7px,
        rgba(1, 3, 8, 0.98) 7px 17px,
        rgba(148, 210, 255, 0.14) 17px 26px);
}
#page-backdrop .film-strip::after {
    right: 3px;
    background: repeating-linear-gradient(to bottom,
        rgba(148, 210, 255, 0.14) 0 13px,
        rgba(1, 3, 8, 0.98) 13px 23px,
        rgba(148, 210, 255, 0.14) 23px 26px);
}
#page-backdrop .fs-left  { left: 0; }
#page-backdrop .fs-right { right: 0; }
@keyframes filmMove {
    0%   { background-position-y: 0px;  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    12%  { background-position-y: 26px; }
    28%  { background-position-y: 26px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    40%  { background-position-y: 0px; }
    56%  { background-position-y: 0px;  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    68%  { background-position-y: 26px; }
    84%  { background-position-y: 26px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    100% { background-position-y: 0px; }
}
@keyframes filmFrames {
    0%   { background-position-y: 0px;   animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    12%  { background-position-y: 104px; }
    28%  { background-position-y: 104px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    40%  { background-position-y: 0px; }
    56%  { background-position-y: 0px;   animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    68%  { background-position-y: 104px; }
    84%  { background-position-y: 104px; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    100% { background-position-y: 0px; }
}
@media (max-width: 640px) {
    #page-backdrop .film-strip { width: 26px; opacity: 0.6; }
    #page-backdrop .film-strip::before,
    #page-backdrop .film-strip::after { width: 6px; left: 2px; right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    #ambient-glow .backdrop-light,
    #page-backdrop .film-strip,
    #page-backdrop .film-strip::before,
    #page-backdrop .film-strip::after { animation: none; }
}

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

.noise-overlay {
    position: fixed; inset: 0; z-index: 150; pointer-events: none;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)" opacity="0.5"/%3E%3C/svg%3E');
    opacity: 0.06;
    mix-blend-mode: overlay;
}

.scanlines {
    position: fixed; inset: 0; z-index: 149; pointer-events: none;
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
    mix-blend-mode: overlay;
}

#progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--flare));
    z-index: 300; box-shadow: 0 0 12px rgba(var(--flare-rgb), 0.6);
}

.cursor-glow {
    position: fixed; top: 0; left: 0; width: 420px; height: 420px;
    border-radius: 50%; z-index: 1; pointer-events: none;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.09), transparent 60%);
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

/* ---------- CINEMA PAGE TRANSITION GATE ---------- */

#cine-gate {
    position: fixed; inset: 0; z-index: 500; pointer-events: none;
    visibility: hidden;
}
#cine-gate .gate-bar {
    position: absolute; left: 0; right: 0; height: 0%;
    background: linear-gradient(180deg, #02040a, #050a18);
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#cine-gate .gate-top { top: 0; }
#cine-gate .gate-bottom { bottom: 0; }
#cine-gate .gate-hair {
    position: absolute; left: 0; right: 0; height: 2px; opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(148, 210, 255, 0.7), transparent);
    transform: scaleX(0);
}
#cine-gate .gate-top .gate-hair { bottom: -1px; }
#cine-gate .gate-bottom .gate-hair { top: -1px; }
#cine-gate .gate-flash {
    position: absolute; inset: 0; background: #fff; opacity: 0;
}
#cine-gate .gate-flash.pop { animation: gatePop 0.5s linear; }
#cine-gate .gate-flash.fade { animation: gateFade 0.5s linear forwards; }
#cine-gate.playing .gate-hair, #cine-gate.entering .gate-hair { animation: gateHair 0.7s linear; }
@keyframes gatePop {
    0% { opacity: 0; } 25% { opacity: 0.9; } 100% { opacity: 0; }
}
@keyframes gateFade {
    0% { opacity: 0.6; } 100% { opacity: 0; }
}
@keyframes gateHair {
    0% { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; transform: scaleX(1); }
    70% { opacity: 0.45; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); }
}

/* ---------- INTRO ---------- */

#intro {
    position: fixed; inset: 0; z-index: 400;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}
#intro.done { transform: translateY(-100%); opacity: 0; }

.intro-inner { width: min(520px, 82vw); }

.intro-logo {
    font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.4);
    padding-bottom: 18px; margin-bottom: 26px;
}
.intro-logo span { color: rgba(255,255,255,0.4); }

.intro-line {
    font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
    letter-spacing: 1px; margin-bottom: 14px; min-height: 1.4em;
}
.intro-caret {
    display: inline-block; width: 8px; height: 0.9em; background: var(--accent);
    vertical-align: text-bottom; margin-left: 4px;
    animation: caret 0.7s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.intro-bar {
    height: 2px; background: rgba(255,255,255,0.08); overflow: hidden;
}
#intro-fill {
    height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--flare));
    box-shadow: 0 0 10px rgba(var(--flare-rgb), 0.7);
}

.intro-code {
    margin-top: 14px; font-family: var(--mono); font-size: 0.7rem;
    color: var(--muted); letter-spacing: 2px;
}

/* ---------- HEADER ---------- */

header {
    position: fixed; top: 0; width: 100%; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 18px 8%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015) 55%, rgba(2,4,10,0.28));
    backdrop-filter: blur(40px) saturate(190%) contrast(110%);
    -webkit-backdrop-filter: blur(40px) saturate(190%) contrast(110%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: padding 0.4s var(--ease), border-color 0.4s, background 0.4s;
    overflow: hidden;
}
header.sunk {
    padding: 10px 8%;
    border-bottom-color: rgba(var(--accent-rgb), 0.3);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01) 55%, rgba(3,6,14,0.45));
    backdrop-filter: blur(44px) saturate(210%) contrast(115%);
    -webkit-backdrop-filter: blur(44px) saturate(210%) contrast(115%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* iridescent "fractalized" colour wash refracting through the glass */
header::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: conic-gradient(from 0deg at 50% -20%,
        rgba(120, 220, 255, 0.10) 0deg,
        rgba(255, 255, 255, 0.10) 45deg,
        rgba(255, 179, 120, 0.10) 90deg,
        rgba(120, 220, 255, 0.06) 135deg,
        rgba(255, 255, 255, 0.12) 180deg,
        rgba(255, 179, 120, 0.08) 225deg,
        rgba(120, 220, 255, 0.10) 270deg,
        rgba(255, 255, 255, 0.06) 315deg,
        rgba(120, 220, 255, 0.10) 360deg);
    mix-blend-mode: screen;
    opacity: 0.55;
    animation: glassFractal 16s ease-in-out infinite;
}

/* moving glisten streak across the glass */
header::after {
    content: ""; position: absolute; top: -60%; bottom: -60%; width: 34%; z-index: 0;
    pointer-events: none; background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.05) 42%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.05) 58%, transparent 100%);
    transform: skewX(-16deg) translateX(-220%);
    mix-blend-mode: screen;
    animation: glassGlisten 7.5s var(--ease) infinite;
}

.logo, .main-nav, .status-pill { position: relative; z-index: 1; }

@keyframes glassFractal {
    0%   { opacity: 0.4; filter: hue-rotate(0deg) saturate(1); }
    50%  { opacity: 0.8; filter: hue-rotate(70deg) saturate(1.6); }
    100% { opacity: 0.4; filter: hue-rotate(0deg) saturate(1); }
}
@keyframes glassGlisten {
    0%   { transform: skewX(-16deg) translateX(-220%); }
    55%  { transform: skewX(-16deg) translateX(340%); }
    100% { transform: skewX(-16deg) translateX(340%); }
}

.logo {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--display); color: #ffffff; text-decoration: none;
    font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap;
    transition: font-size 0.4s var(--ease), transform 0.4s var(--ease);
}
header.sunk .logo { font-size: 0.92rem; transform: translateY(-1px); }
.logo span { color: rgba(255,255,255,0.4); }

.main-nav { display: flex; gap: 28px; opacity: 0; visibility: hidden; transform: translateY(-10px); }
.main-nav a {
    color: var(--muted); text-decoration: none; font-family: var(--mono);
    font-size: 0.75rem; letter-spacing: 1px; position: relative; padding: 4px 0;
    transition: color 0.3s;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0%;
    background: var(--flare); transition: width 0.35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

header.sunk .main-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s;
}
header.sunk .main-nav a {
    opacity: 0; transform: translateY(-8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
header.sunk .main-nav a:nth-child(1) { transition-delay: 0.06s; }
header.sunk .main-nav a:nth-child(2) { transition-delay: 0.12s; }
header.sunk .main-nav a:nth-child(3) { transition-delay: 0.18s; }
header.sunk .main-nav a:nth-child(4) { transition-delay: 0.24s; }
header.sunk .main-nav a:nth-child(5) { transition-delay: 0.3s; }

.status-pill {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.5px;
    color: var(--muted);
    padding: 7px 14px; border-radius: 100px;
    border: 1px solid rgba(var(--accent-rgb), 0.35); white-space: nowrap;
    transition: border-color 1s ease;
}
.dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite; transition: all 1s ease;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* ---------- ADD TO DEVICE / INSTALL ---------- */

.install-btn {
    display: none; align-items: center; gap: 8px;
    margin-left: 12px;
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--ink);
    padding: 7px 14px; border-radius: 100px; cursor: pointer; white-space: nowrap;
    border: 1px solid rgba(var(--flare-rgb), 0.35);
    background: linear-gradient(165deg, rgba(20, 29, 52, 0.6), rgba(6, 10, 20, 0.6));
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.install-btn.show { display: inline-flex; }
.install-btn:hover { color: var(--flare); border-color: rgba(var(--flare-rgb), 0.7); transform: translateY(-1px); }
.install-ico { color: var(--flare); font-size: 1rem; line-height: 1; font-weight: 700; }

.install-dialog {
    position: fixed; inset: 0; z-index: 460;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    background: rgba(2, 4, 10, 0.7);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.install-dialog[hidden] { display: none; }
.install-card {
    position: relative; width: min(420px, 100%);
    text-align: center;
    padding: 40px 36px 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(165deg, rgba(18, 26, 46, 0.92), rgba(6, 10, 20, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 120px rgba(0, 0, 0, 0.6);
    animation: installIn 0.45s var(--ease);
}
@keyframes installIn {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to { opacity: 1; transform: none; }
}
.install-close {
    position: absolute; top: 12px; right: 14px;
    appearance: none; background: none; border: none; cursor: pointer;
    color: var(--muted); font-size: 1.3rem; line-height: 1;
    transition: color 0.3s;
}
.install-close:hover { color: var(--flare); }
.install-icon {
    width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 22px;
    overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.install-icon img { width: 100%; height: 100%; display: block; }
.install-head { font-size: 0.8rem; letter-spacing: 4px; color: #fff; margin-bottom: 10px; }
.install-head span { color: rgba(255, 255, 255, 0.4); }
.install-title { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.install-copy { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 22px; }
.install-steps { text-align: left; margin-bottom: 24px; }
.install-steps ol {
    display: flex; flex-direction: column; gap: 12px;
    padding: 0; margin: 0; list-style: none; counter-reset: istep;
}
.install-steps li {
    counter-increment: istep; position: relative;
    padding: 12px 14px 12px 46px;
    font-size: 0.88rem; color: var(--muted); line-height: 1.5;
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}
.install-steps li::before {
    content: counter(istep, decimal-leading-zero);
    position: absolute; left: 14px; top: 12px;
    font-family: var(--mono); font-size: 0.72rem; color: var(--flare);
}
.install-steps b { color: var(--ink); font-weight: 600; }
.share-sq {
    display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.25em;
    margin-left: 2px; border-radius: 3px;
    background: radial-gradient(circle at 50% 42%, rgba(236, 156, 102, 0.9) 0 30%, transparent 31%);
    border: 1.5px solid var(--ink);
}
body.dialog-open { overflow: hidden; }

/* ---------- MASTHEAD ---------- */

.masthead {
    min-height: 100svh;
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding: 140px 8% 40px;
}

#backdrop {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0.85;
}

.masthead-scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, rgba(2,4,10,0.55) 0%, rgba(2,4,10,0.1) 40%, var(--bg) 100%),
        radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(2,4,10,0.55) 100%);
}

.masthead-content {
    position: relative; z-index: 3;
    width: 100%;
}

.masthead-kicker {
    display: flex; align-items: center; gap: 18px; margin-bottom: 30px;
}
.kick {
    font-size: 0.72rem; letter-spacing: 4px; color: var(--flare);
    text-transform: uppercase;
}
.kick-rule { flex: 0 1 240px; height: 1px; background: rgba(var(--accent-rgb), 0.4); }

.masthead-title {
    font-size: clamp(3.2rem, 12vw, 10.5rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 40px;
    user-select: none;
}
.masthead-title .line { display: block; }
.masthead-title .line.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(var(--flare-rgb), 0.85);
}
.masthead-title .ch {
    display: inline-block;
    transform: translateY(115%);
    animation: rise 1s var(--ease) forwards;
    animation-delay: calc(var(--i) * 42ms + 500ms);
}
@keyframes rise { to { transform: translateY(0); } }

.masthead-sub {
    display: grid; grid-template-columns: minmax(0, 620px) auto;
    gap: 40px; align-items: end; margin-bottom: 60px;
}
.masthead-sub p {
    color: var(--muted); font-size: 1.15rem; line-height: 1.65; max-width: 560px;
}
.cta-row { display: flex; align-items: center; gap: 28px; justify-content: flex-end; }

.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    appearance: none; cursor: pointer; text-decoration: none; user-select: none;
    font-family: var(--mono); font-weight: 400; text-transform: uppercase;
    font-size: 0.66rem; letter-spacing: 3px; line-height: 1;
    padding: 17px 34px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--ink);
    background:
        radial-gradient(130% 170% at var(--lx, 50%) var(--ly, 30%), rgba(var(--flare-rgb), 0.1), transparent 46%),
        linear-gradient(165deg, rgba(20, 29, 52, 0.88), rgba(6, 10, 20, 0.82));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -14px 28px rgba(0, 0, 0, 0.2),
        var(--sx, 6px) var(--sy, 12px) 30px -10px rgba(0, 0, 0, 0.55);
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58%);
    transform: translateX(-130%);
    transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover {
    color: var(--flare); transform: translateY(-3px);
    border-color: rgba(var(--flare-rgb), 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -14px 28px rgba(0, 0, 0, 0.2),
        var(--sx, 6px) calc(var(--sy, 12px) + 14px) 44px -8px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(var(--flare-rgb), 0.14);
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible {
    outline: none; border-color: rgba(var(--flare-rgb), 0.7);
    box-shadow: 0 0 0 3px rgba(var(--flare-rgb), 0.2), var(--sx, 6px) var(--sy, 12px) 30px -10px rgba(0, 0, 0, 0.55);
}

.btn-link {
    color: var(--muted); text-decoration: none; font-size: 0.72rem; letter-spacing: 2px;
    border-bottom: 1px solid rgba(var(--flare-rgb), 0.5); padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
}
.btn-link:hover { color: var(--flare); border-color: var(--flare); }

.masthead-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 22px; border-top: 1px solid var(--line);
    font-size: 0.72rem; letter-spacing: 2px; color: var(--muted);
}

/* ---------- TICKER ---------- */

.ticker {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    overflow: hidden; padding: 16px 0; background: rgba(2,4,10,0.5);
    position: relative; z-index: 2;
}
.ticker-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 42px; padding-right: 42px; white-space: nowrap; }
.ticker-set span {
    font-family: var(--display); font-weight: 800; font-size: 0.95rem;
    letter-spacing: 6px; text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.ticker-set i { color: var(--flare); font-style: normal; font-size: 0.7rem; }
.ticker-alt .ticker-set span { color: rgba(236, 156, 102, 0.6); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; letter-spacing: 2px; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CHAPTERS ---------- */

.chapter {
    padding: 90px 8% 0;
    scroll-margin-top: 60px;
    position: relative;
}

.chapter-head {
    display: flex; align-items: flex-end; gap: 32px;
    padding-bottom: 26px; margin-bottom: 56px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.chapter-num {
    font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 9vw, 7.5rem);
    line-height: 0.8; color: transparent;
    -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.55);
    flex-shrink: 0;
    position: relative;
}
.chapter-num svg {
    display: block; height: 0.8em; width: auto;
    overflow: visible;
    filter: drop-shadow(0 0 var(--glow, 0px) var(--glow-c, rgba(125, 211, 252, 0.9)));
}
.chapter-flare {
    position: absolute; width: 5px; height: 5px; border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px 2px rgba(148, 210, 255, 0.95), 0 0 22px 6px rgba(37, 99, 235, 0.5);
    opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.chapter-flash {
    position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: auto;
    width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(148, 210, 255, 0.55), rgba(148, 210, 255, 0) 70%);
    filter: blur(6px); opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.chapter-head-main { flex: 1; }
.chapter-head-main h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800;
    letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 8px;
}
.chapter-sub { color: var(--muted); font-size: 1rem; }
.chapter-meta {
    font-size: 0.7rem; letter-spacing: 3px; color: var(--flare);
    text-align: right; padding-bottom: 6px; text-transform: uppercase;
}

/* ---------- POSTERS ---------- */

.poster-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

.poster {
    position: relative; border-radius: 4px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end;
    background:
        radial-gradient(140% 90% at 20% 0%, rgba(var(--accent-rgb), 0.22), transparent 55%),
        linear-gradient(to bottom, #060a16, var(--bg) 78%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 60px rgba(255, 255, 255, 0.03), var(--sx, 6px) var(--sy, 12px) 30px -10px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.poster:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.55), var(--sx, 6px) calc(var(--sy, 12px) + 16px) 44px -8px rgba(0, 0, 0, 0.6); }

.poster-art {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 28%;
    transition: transform 0.6s var(--ease);
}
.poster:hover .poster-art { transform: scale(1.06); }
.poster-art.motion-parallax { transition: none; will-change: transform; }

.poster-shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(2,4,10,0.96) 0%, rgba(2,4,10,0.5) 42%, rgba(2,4,10,0.08) 70%);
}
.poster-shade::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.09), transparent);
    transform: translateX(-180%) skewX(-18deg);
    animation: sheen 7s ease-in-out infinite;
}
.poster-shade::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.16), transparent 48%);
    mix-blend-mode: screen; opacity: 0; transition: opacity 0.35s;
}
.poster:hover .poster-shade::after { opacity: 1; }

@keyframes sheen {
    0%, 52%   { transform: translateX(-180%) skewX(-18deg); }
    88%, 100% { transform: translateX(320%) skewX(-18deg); }
}

.poster-id {
    position: absolute; top: 18px; left: 22px; z-index: 3;
    font-size: 0.72rem; letter-spacing: 3px; color: var(--flare);
}

.poster-body { position: relative; z-index: 3; padding: 26px; }

.poster-cat {
    font-size: 0.68rem; letter-spacing: 3px; color: var(--flare); margin-bottom: 10px;
    text-transform: uppercase;
}
.poster-body h3 {
    font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em;
    text-transform: uppercase; margin-bottom: 10px;
}
.poster-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; max-width: 44ch; }

.poster-more {
    margin-top: 18px; font-size: 0.7rem; letter-spacing: 2.5px; color: rgba(255,255,255,0.4);
    transition: color 0.3s, transform 0.3s var(--ease);
}
.poster:hover .poster-more { color: var(--flare); transform: translateX(4px); }

/* ---------- WHAT WE DO / SERVICES ---------- */

.chapter-services { padding-bottom: 110px; overflow: hidden; }

.services-ghost {
    position: absolute; top: 52%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 18vw, 16rem);
    letter-spacing: -0.03em; line-height: 1; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1px rgba(var(--flare-rgb), 0.1);
    user-select: none; pointer-events: none; z-index: 0;
}

.services-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

.service {
    position: relative; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    padding: 30px; overflow: hidden; cursor: pointer;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.55));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 50px rgba(255, 255, 255, 0.02), var(--sx, 6px) var(--sy, 12px) 28px -10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.service:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 60px rgba(255, 255, 255, 0.03), 0 24px 60px rgba(0, 0, 0, 0.55), var(--sx, 6px) calc(var(--sy, 12px) + 16px) 42px -8px rgba(0, 0, 0, 0.6);
}
.service::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--flare), transparent 70%);
    transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease);
    z-index: 1;
}
.service:hover::before { transform: scaleX(1); }
.service::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(520px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.12), transparent 46%),
        linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.05) 50%, transparent 65%);
    background-size: 100% 100%, 220% 100%;
    background-position: 0 0, 100% 0;
    background-repeat: no-repeat;
    animation: glassShift 6.5s ease-in-out infinite;
    opacity: 0; transition: opacity 0.35s;
}
.service:hover::after { opacity: 1; }
@keyframes glassShift {
    0%, 55%  { background-position: 0 0, -60% 0; }
    90%, 100% { background-position: 0 0, 160% 0; }
}

.services-grid .service {
    background-color: #070c1a;
    background-size: 104%;
    background-position: center 28%;
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s, background-size 0.7s var(--ease);
}
.services-grid .service:hover { background-size: 118%; }
.services-grid .service:nth-child(1) { background-image: linear-gradient(180deg, rgba(7, 12, 26, 0.52) 0%, rgba(7, 12, 26, 0.8) 55%, rgba(7, 12, 26, 0.96) 100%), url('images/film.jpg'); }
.services-grid .service:nth-child(2) { background-image: linear-gradient(180deg, rgba(7, 12, 26, 0.52) 0%, rgba(7, 12, 26, 0.8) 55%, rgba(7, 12, 26, 0.96) 100%), url('images/ads.jpg'); }
.services-grid .service:nth-child(3) { background-image: linear-gradient(180deg, rgba(7, 12, 26, 0.52) 0%, rgba(7, 12, 26, 0.8) 55%, rgba(7, 12, 26, 0.96) 100%), url('images/audio.jpg'); }
.services-grid .service:nth-child(4) { background-image: linear-gradient(180deg, rgba(7, 12, 26, 0.52) 0%, rgba(7, 12, 26, 0.8) 55%, rgba(7, 12, 26, 0.96) 100%), url('images/post.jpg'); }
.services-grid .service:nth-child(5) { background-image: linear-gradient(180deg, rgba(7, 12, 26, 0.52) 0%, rgba(7, 12, 26, 0.8) 55%, rgba(7, 12, 26, 0.96) 100%), url('images/interactive.jpg'); }
.services-grid .service:nth-child(6) { background-image: linear-gradient(180deg, rgba(7, 12, 26, 0.52) 0%, rgba(7, 12, 26, 0.8) 55%, rgba(7, 12, 26, 0.96) 100%), url('images/delivery.jpg'); }

.service-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.68rem; letter-spacing: 3px; color: var(--muted); text-transform: uppercase;
    margin-bottom: 26px;
}
.service-id { color: var(--flare); }
.service-tag { color: var(--muted); }

.service h3 {
    font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 14px;
}
.service p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.service-dels {
    list-style: none; margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 9px;
    font-size: 0.68rem; letter-spacing: 1.5px; color: rgba(255,255,255,0.55);
}
.service-dels li::before { content: "→  "; color: var(--flare); }

.service-meta {
    display: flex; justify-content: space-between; margin-top: 24px;
    font-size: 0.62rem; letter-spacing: 2.5px; color: var(--muted);
    border-top: 1px solid var(--line); padding-top: 16px;
}
.service-meta span:last-child { color: var(--flare); }

.service-open-hint {
    margin-top: 14px; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    padding: 9px 14px; border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.service:hover .service-open-hint {
    color: var(--flare); border-color: rgba(var(--flare-rgb), 0.4);
    background: rgba(var(--flare-rgb), 0.06);
}

/* ---------- MODALS ---------- */

.modal-scrim {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(2, 4, 10, 0.68); backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-scrim.open { opacity: 1; visibility: visible; }

.modal {
    position: relative; z-index: 301;
    width: min(680px, 100%); max-height: 84vh; overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px;
    background: linear-gradient(165deg, rgba(18, 26, 46, 0.88), rgba(6, 10, 20, 0.82));
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    padding: 44px;
    transform: translateY(24px) scale(0.97); opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 60px -20px rgba(0, 0, 0, 0.6), 0 40px 120px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(var(--accent-rgb), 0.15);
}
.modal-scrim.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), 0.5); }

body.gsap .modal-scrim, body.gsap .modal { transition: none; }

.modal-close {
    position: absolute; top: 16px; right: 18px; z-index: 2;
    width: 36px; height: 36px; display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%;
    color: var(--muted); cursor: pointer;
    font-size: 1rem; line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--sx, 6px) var(--sy, 12px) 16px -6px rgba(0, 0, 0, 0.5);
    transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.modal-close:hover {
    color: var(--flare); border-color: rgba(var(--flare-rgb), 0.5);
    background: rgba(var(--flare-rgb), 0.08); transform: rotate(90deg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) calc(var(--sy, 12px) + 8px) 22px -6px rgba(0, 0, 0, 0.55), 0 0 18px rgba(var(--flare-rgb), 0.15);
}

.modal-kicker {
    font-size: 0.66rem; letter-spacing: 3.5px; color: var(--flare);
    text-transform: uppercase; margin-bottom: 18px;
}
.modal h3 {
    font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 18px;
}
.modal-lead { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 26px; }

.modal-block { margin-top: 24px; }
.modal-block .modal-label {
    font-size: 0.62rem; letter-spacing: 3px; color: var(--muted);
    text-transform: uppercase; margin-bottom: 12px;
}
.modal-block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.modal-block li {
    color: rgba(255,255,255,0.75); font-size: 0.85rem; line-height: 1.6;
    padding-left: 22px; position: relative;
}
.modal-block li::before { content: "→"; position: absolute; left: 0; color: var(--flare); }

.modal-rates { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.modal-rates-head {
    font-size: 0.62rem; letter-spacing: 3px; color: var(--muted);
    text-transform: uppercase; margin-bottom: 14px;
}
.modal-rates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rate-cell {
    position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0;
    padding: 16px 14px; border-radius: 6px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(10, 16, 32, 0.4));
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.rate-cell::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(300px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.14), transparent 50%);
    opacity: 0; transition: opacity 0.35s;
}
.rate-cell:hover::after { opacity: 1; }
.rate-cell:hover {
    transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 26px rgba(0, 0, 0, 0.4);
}
.rate-ccy, .rate-value, .rate-unit { position: relative; z-index: 1; }
.rate-ccy { font-size: 0.6rem; letter-spacing: 2.5px; color: var(--flare); }
.rate-value {
    font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
}
.rate-unit { font-size: 0.56rem; letter-spacing: 2px; color: var(--muted); }
.modal-rate-note {
    margin-top: 14px; font-size: 0.6rem; letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.55); text-transform: uppercase; line-height: 1.8;
}

.modal-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line);
    font-size: 0.66rem; letter-spacing: 2.5px; color: var(--muted); text-transform: uppercase;
}

/* ---------- LIVE / DYNAMICS ---------- */

.live-dot {
    display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--flare); margin-right: 8px; vertical-align: middle;
    box-shadow: 0 0 8px var(--flare); animation: pulse 1.6s infinite;
}

/* ---------- MANIFESTO ---------- */

.chapter-manifesto { padding-bottom: 90px; }

.manifesto-wrap { position: relative; }

.manifesto-big {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 22vw, 20rem);
    letter-spacing: -0.03em; line-height: 1; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.14);
    user-select: none; pointer-events: none;
    z-index: 0;
}

.pull-quote {
    position: relative; z-index: 1;
    font-family: var(--serif); font-style: italic;
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    line-height: 1.12; letter-spacing: -0.01em;
    max-width: 15ch; margin: 40px 0 70px;
}
.pull-quote em {
    font-style: italic; color: var(--flare);
}

.manifesto-cols {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    padding: 48px;
    max-width: 980px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(10, 16, 32, 0.28) 60%, rgba(3, 6, 14, 0.4));
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.manifesto-cols p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.manifesto-cols p::first-letter { font-size: 1.6em; color: var(--ink); font-weight: 600; }

/* ---------- TRAJECTORY / THE STORY ---------- */

.chapter-story { padding-bottom: 0; overflow: hidden; }

.story-ghost {
    position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 20vw, 18rem);
    letter-spacing: -0.03em; line-height: 1; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1px rgba(var(--flare-rgb), 0.12);
    user-select: none; pointer-events: none; z-index: 0;
}

.acts {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    position: relative; z-index: 1;
}

.act {
    position: relative; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    padding: 30px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.55));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 28px -10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.act:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.55), var(--sx, 6px) calc(var(--sy, 12px) + 16px) 40px -8px rgba(0, 0, 0, 0.6); }
.act::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--flare), transparent 70%);
}
.act::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(480px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.1), transparent 48%);
    opacity: 0; transition: opacity 0.35s;
}
.act:hover::after { opacity: 1; }

.act-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.68rem; letter-spacing: 3px; color: var(--muted); text-transform: uppercase;
    margin-bottom: 26px;
}
.act-id { color: var(--flare); }
.act-status { color: var(--muted); }
.act-status.now { color: var(--flare); }

.act-era {
    font-family: var(--display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.05;
    margin-bottom: 14px;
}

.act-body p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

.act-beats {
    list-style: none; margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px;
    font-size: 0.68rem; letter-spacing: 2px; color: rgba(255,255,255,0.5);
}
.act-beats li::before { content: "→  "; color: var(--flare); }

.story-outro {
    position: relative; z-index: 1;
    text-align: center;
    max-width: 980px; margin: 0 auto 110px;
    padding: 56px 48px;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(10, 16, 32, 0.28) 60%, rgba(3, 6, 14, 0.4));
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.story-quote { margin: 0 auto 28px; max-width: 24ch; }
.story-outro-copy { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 1rem; line-height: 1.75; }

/* ---------- DISPATCH ---------- */

.dispatch-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
    padding-bottom: 110px;
}

.dispatch {
    position: relative; padding: 34px; border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.55));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 28px -10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.dispatch:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.55), var(--sx, 6px) calc(var(--sy, 12px) + 16px) 40px -8px rgba(0, 0, 0, 0.6); }
.dispatch::before {
    content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 2px;
    background: linear-gradient(to bottom, var(--flare), transparent);
}
.dispatch::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(480px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.1), transparent 48%);
    opacity: 0; transition: opacity 0.35s;
}
.dispatch:hover::after { opacity: 1; }

.dispatch-head {
    display: flex; justify-content: space-between; font-size: 0.7rem;
    letter-spacing: 3px; color: var(--flare); margin-bottom: 26px; text-transform: uppercase;
}
.dispatch h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 12px; }
.dispatch p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; max-width: 48ch; }
.dispatch-meta {
    margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line);
    font-size: 0.7rem; letter-spacing: 2px; color: rgba(255,255,255,0.4);
}

/* ---------- PRICING ---------- */

.pricing-note {
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    padding: 20px 26px; margin-bottom: 44px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.5));
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.pricing-note p { font-size: 0.68rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.65); text-transform: uppercase; }

.cost-build {
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    overflow: hidden; margin-bottom: 56px;
    background: rgba(3, 6, 14, 0.5);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cost-build-head, .cost-row {
    display: grid; grid-template-columns: 1.6fr 1.4fr 1fr; gap: 16px; align-items: center;
    padding: 14px 22px; font-size: 0.66rem; letter-spacing: 2.5px;
}
.cost-build-head { color: var(--flare); border-bottom: 1px solid rgba(255, 255, 255, 0.12); text-transform: uppercase; }
.cost-row { color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cost-row:last-child { border-bottom: none; }
.cost-row span:last-child { color: var(--ink); font-weight: 700; }
.cost-row:hover { background: rgba(var(--accent-rgb), 0.08); }

.pricing-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 44px;
}
.tier {
    position: relative; display: flex; flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    padding: 28px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.55));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 28px -10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.tier:hover {
    border-color: rgba(255, 255, 255, 0.3); transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.55), var(--sx, 6px) calc(var(--sy, 12px) + 16px) 44px -8px rgba(0, 0, 0, 0.6);
}
.tier::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--flare), transparent 70%);
    transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease);
}
.tier:hover::before { transform: scaleX(1); }
.tier::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.1), transparent 46%);
    opacity: 0; transition: opacity 0.35s;
}
.tier:hover::after { opacity: 1; }
.tier-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.62rem; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; margin-bottom: 24px;
}
.tier-head span:first-child { color: var(--flare); }
.tier-price {
    font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 3rem);
    letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px;
}
.tier-price .tier-unit { font-size: 0.9rem; color: var(--muted); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.tier-range { font-size: 0.6rem; letter-spacing: 2px; color: var(--flare); margin-bottom: 16px; }
.tier-body { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 22px; }
.tier-dels {
    display: flex; flex-direction: column; gap: 9px; margin-top: auto;
    padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.68rem; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.6);
}
.pricing-foot {
    text-align: center; font-size: 0.62rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase; margin-bottom: 10px;
}

.value-prop { padding: 110px 8% 0; }
.value-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-bottom: 56px;
}
.value-card {
    position: relative; display: flex; flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    padding: 28px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.55));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.value-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--flare), transparent 70%);
    transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card-num { font-size: 0.62rem; letter-spacing: 3px; color: var(--flare); text-transform: uppercase; margin-bottom: 22px; }
.value-card h3 {
    font-family: var(--display); font-weight: 800; font-size: 1.35rem;
    letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 12px;
}
.value-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ---------- JOBS ---------- */

.jobs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 64px;
}
.role {
    position: relative; display: flex; flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px;
    padding: 26px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.55));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 28px -10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.role:hover {
    border-color: rgba(255, 255, 255, 0.3); transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.55), var(--sx, 6px) calc(var(--sy, 12px) + 16px) 44px -8px rgba(0, 0, 0, 0.6);
}
.role::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.1), transparent 46%);
    opacity: 0; transition: opacity 0.35s;
}
.role:hover::after { opacity: 1; }
.role-head {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 0.58rem; letter-spacing: 2.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 22px;
}
.role-head span:first-child { color: var(--flare); }
.role h3 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 10px; }
.role p { color: var(--muted); font-size: 0.86rem; line-height: 1.65; margin-bottom: 20px; }
.role-apply {
    margin-top: auto; align-self: flex-start; appearance: none; cursor: pointer;
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--mono); text-transform: uppercase;
    font-size: 0.62rem; letter-spacing: 3px; line-height: 1;
    padding: 13px 20px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14); color: var(--ink);
    background:
        radial-gradient(130% 170% at var(--lx, 50%) var(--ly, 30%), rgba(var(--flare-rgb), 0.1), transparent 46%),
        linear-gradient(165deg, rgba(20, 29, 52, 0.88), rgba(6, 10, 20, 0.82));
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -12px 24px rgba(0, 0, 0, 0.2),
        var(--sx, 6px) var(--sy, 12px) 22px -8px rgba(0, 0, 0, 0.55);
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.role-apply::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58%);
    transform: translateX(-130%);
    transition: transform 0.7s var(--ease);
}
.role-apply:hover::after { transform: translateX(130%); }
.role-apply:hover {
    color: var(--flare); transform: translateY(-2px);
    border-color: rgba(var(--flare-rgb), 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -12px 24px rgba(0, 0, 0, 0.2),
        var(--sx, 6px) calc(var(--sy, 12px) + 12px) 30px -6px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(var(--flare-rgb), 0.14);
}
.role-apply:active { transform: translateY(0) scale(0.98); }
.role-apply:focus-visible {
    outline: none; border-color: rgba(var(--flare-rgb), 0.7);
    box-shadow: 0 0 0 3px rgba(var(--flare-rgb), 0.2), var(--sx, 6px) var(--sy, 12px) 22px -8px rgba(0, 0, 0, 0.55);
}

.apply-wrap {
    position: relative; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
    padding: 44px; margin-bottom: 110px;
    background: linear-gradient(165deg, rgba(18, 26, 46, 0.7), rgba(6, 10, 20, 0.65));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 44px -14px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.apply-head { margin-bottom: 32px; }
.apply-head h3 {
    font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    letter-spacing: -0.01em; margin-bottom: 10px;
}
.apply-head p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; max-width: 520px; }

.apply-form { display: flex; flex-direction: column; gap: 20px; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.apply-form label {
    display: flex; flex-direction: column; gap: 8px;
    font-size: 0.62rem; letter-spacing: 3px; color: var(--flare); text-transform: uppercase;
}
.apply-form input, .apply-form select, .apply-form textarea {
    appearance: none; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 4px;
    background: rgba(2, 4, 10, 0.55); color: var(--ink);
    font-family: var(--display); font-size: 0.95rem; padding: 13px 14px; letter-spacing: 0.02em;
    outline: none; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.apply-form textarea { resize: vertical; min-height: 96px; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
    border-color: rgba(var(--flare-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--flare-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background: rgba(3, 6, 14, 0.8);
}
.apply-form select { cursor: pointer; }
.apply-form select option { background: #060a16; color: var(--ink); }
.apply-submit { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.apply-note { font-size: 0.6rem; letter-spacing: 2.5px; color: rgba(255, 255, 255, 0.4); }
.apply-note a { color: var(--flare); text-decoration: none; border-bottom: 1px solid rgba(var(--flare-rgb), 0.4); }

/* ---------- FOOTER ---------- */

footer {
    position: relative;
    border-top: 1px solid rgba(var(--accent-rgb), 0.3);
    padding: 64px 8% 48px;
    background:
        radial-gradient(120% 90% at 50% 115%, rgba(var(--flare-rgb), 0.12), transparent 55%),
        linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), 0.08));
}
.footer-mark {
    text-align: center; font-size: 0.72rem; letter-spacing: 3px;
    color: var(--muted); margin-bottom: 48px;
    padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.85rem; }
.footer-label { font-size: 0.66rem; letter-spacing: 3px; color: var(--flare); margin-bottom: 8px; }
.footer-col a {
    color: rgba(255, 255, 255, 0.55); text-decoration: none;
    font-family: var(--mono); font-size: 0.78rem; letter-spacing: 1px;
    width: fit-content; padding: 2px 0; position: relative;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s var(--ease);
}
.footer-col a::before {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--flare); box-shadow: 0 0 8px var(--flare);
    transition: width 0.35s var(--ease);
}
.footer-col a:hover { color: var(--ink); text-shadow: 0 0 14px rgba(var(--flare-rgb), 0.35); transform: translateX(3px); }
.footer-col a:hover::before { width: 100%; }
.footer-col a:focus-visible {
    outline: none; color: var(--flare);
    border-radius: 2px; box-shadow: 0 0 0 2px rgba(var(--flare-rgb), 0.35);
}
.footer-col > span { font-size: 0.78rem; letter-spacing: 1px; color: rgba(255, 255, 255, 0.4); font-family: var(--mono); }
.footer-col > span#footer-greeting { color: rgba(236, 156, 102, 0.75); }

.footer-social {
    display: flex; justify-content: center; gap: 12px; margin-top: 44px;
    padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 12, 24, 0.4);
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social a:hover {
    color: var(--flare); border-color: rgba(var(--flare-rgb), 0.45);
    background: rgba(var(--flare-rgb), 0.08);
    box-shadow: 0 0 18px rgba(var(--flare-rgb), 0.2);
    transform: translateY(-3px);
}
.footer-social a:focus-visible {
    outline: none; border-color: rgba(var(--flare-rgb), 0.7);
    box-shadow: 0 0 0 3px rgba(var(--flare-rgb), 0.18);
}

/* ---------- HUD BEACON — right-hand navigation ---------- */

.hud {
    position: fixed; right: 14px; top: 50%; z-index: 150;
    width: 254px; transform: translateY(-50%) translateX(26px) scale(0.98);
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px;
    padding: 20px 20px 15px;
    background:
        radial-gradient(130% 90% at 90% -8%, rgba(var(--flare-rgb), 0.12), transparent 55%),
        linear-gradient(165deg, rgba(16, 24, 44, 0.72), rgba(5, 9, 18, 0.8));
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 40px rgba(var(--flare-rgb), 0.04),
                var(--sx, 6px) var(--sy, 12px) 34px -12px rgba(0, 0, 0, 0.6), 0 24px 70px rgba(0, 0, 0, 0.6);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.6s var(--ease), visibility 0.6s, transform 0.6s var(--ease),
                filter 0.6s, border-color 0.5s, box-shadow 0.5s;
}
.hud.on {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(-50%) translateX(0) scale(1);
    border-color: rgba(var(--flare-rgb), 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 44px rgba(var(--flare-rgb), 0.07),
                0 0 40px rgba(var(--flare-rgb), 0.18), 0 24px 70px rgba(0, 0, 0, 0.6);
}
.hud.fading {
    opacity: 0; visibility: hidden; pointer-events: none;
    filter: blur(7px); transform: translateY(-50%) translateX(16px) scale(0.99);
    transition-duration: 0.9s, 0.9s, 0.9s, 0.9s, 0.7s, 0.7s;
}

.hud-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.54rem; letter-spacing: 3px; color: var(--muted); text-transform: uppercase;
}
.hud-head-right { display: flex; align-items: center; }
.hud-head-right .live-dot { width: 5px; height: 5px; margin-right: 6px; }

.hud-list { position: relative; padding: 4px 0 6px; }

.hud-spine {
    position: absolute; top: 8px; bottom: 8px; right: 18px; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, transparent, rgba(var(--flare-rgb), 0.28) 30%, rgba(var(--flare-rgb), 0.28) 70%, transparent);
}
.hud-spine::after {
    content: ""; position: absolute; left: 50%; top: var(--pulse-top, 8px);
    width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(var(--flare-rgb), 0.6) 45%, transparent 72%);
    transform: translateY(-50%); filter: blur(0.5px);
    animation: hudPulse 2s ease-in-out infinite;
}
@keyframes hudPulse {
    0%, 100% { transform: translateY(-50%) scale(0.8); opacity: 0.5; }
    50% { transform: translateY(-50%) scale(1.25); opacity: 1; }
}

.hud-scan {
    position: absolute; left: 2px; right: 4px; height: 3px; border-radius: 2px;
    top: var(--pulse-top, 8px);
    background: linear-gradient(90deg, transparent, rgba(var(--flare-rgb), 0.85), #fff 55%, transparent);
    box-shadow: 0 0 14px rgba(var(--flare-rgb), 0.8), 0 8px 22px rgba(var(--flare-rgb), 0.5);
    opacity: 0.75; animation: hudScanPulse 2s ease-in-out infinite;
}
@keyframes hudScanPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hud-node {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    width: 100%; gap: 12px; padding: 8px 0; cursor: pointer;
    appearance: none; background: none; border: none;
    opacity: 0; transform: translateX(-14px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.hud.on .hud-node {
    opacity: 1; transform: none;
    transition-delay: calc(0.12s + var(--i) * 0.05s);
}
.hud-node-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; text-align: left; }
.hud-node-index { font-size: 0.54rem; letter-spacing: 2.5px; color: rgba(255, 255, 255, 0.32); transition: color 0.3s; }
.hud-node-name {
    font-size: 0.62rem; letter-spacing: 2.5px; color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s, text-shadow 0.3s;
}
.hud-node-chaps {
    font-size: 0.52rem; letter-spacing: 2px; color: rgba(255, 255, 255, 0.28);
    padding: 2px 7px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 3px;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.hud-node:hover .hud-node-chaps, .hud-node.active .hud-node-chaps {
    color: rgba(255, 255, 255, 0.7); border-color: rgba(var(--flare-rgb), 0.4);
    background: rgba(var(--flare-rgb), 0.06);
}
.hud-node:hover .hud-node-name, .hud-node.active .hud-node-name { color: #fff; }
.hud-node:hover .hud-node-index, .hud-node.active .hud-node-index { color: var(--flare); }
.hud-node.active .hud-node-name { text-shadow: 0 0 14px rgba(var(--flare-rgb), 0.55); }

.hud-node::before {
    content: ""; position: absolute; right: 30px; top: 50%; width: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--flare-rgb), 0.75));
    transition: width 0.35s var(--ease);
}
.hud-node:hover::before, .hud-node.active::before { width: 28px; }

.hud-node-core {
    position: relative; width: 16px; height: 16px; margin-right: 11px; flex-shrink: 0;
    display: grid; place-items: center;
}
.hud-node-core::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.hud-node:hover .hud-node-core::before, .hud-node.active .hud-node-core::before {
    background: var(--flare); border-color: var(--flare);
    box-shadow: 0 0 12px 2px rgba(var(--flare-rgb), 0.6);
    transform: scale(1.15);
}
.hud-node-ring, .hud-node-orbit { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.hud-node-ring {
    border: 1px solid rgba(var(--flare-rgb), 0.85);
    opacity: 0; transform: scale(0.35);
    animation: hudPing 3.85s linear infinite;
    animation-delay: calc(var(--i) * 0.55s);
}
@keyframes hudPing {
    0% { opacity: 0; transform: scale(0.35); }
    4% { opacity: 0.9; }
    12% { opacity: 0; transform: scale(1.75); }
    100% { opacity: 0; transform: scale(0.35); }
}
.hud-node-orbit {
    border: 1px dashed rgba(var(--flare-rgb), 0.5);
    opacity: 0; animation: hudOrbit 6s linear infinite;
}
.hud-node.active .hud-node-orbit { opacity: 1; }
@keyframes hudOrbit { to { transform: rotate(360deg); } }

.hud-ghost {
    position: absolute; top: 48%; left: -42px; transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: var(--serif); font-weight: 700; font-size: 3.1rem; letter-spacing: 0.04em;
    color: rgba(var(--flare-rgb), 0.16); filter: blur(2px); pointer-events: none;
    white-space: nowrap; opacity: 0; transition: opacity 0.8s var(--ease);
    animation: ghostDrift 8s ease-in-out infinite alternate;
}
.hud.on .hud-ghost { opacity: 1; }
@keyframes ghostDrift { from { top: 44%; } to { top: 52%; } }

.hud-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 6px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.5rem; letter-spacing: 2px; color: rgba(255, 255, 255, 0.42); text-transform: uppercase;
}

/* ---------- FINALE ---------- */

.finale {
    position: relative; border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 8px;
    padding: 56px 44px; margin-bottom: 110px; text-align: center; overflow: hidden;
    background: rgba(3, 6, 14, 0.55);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    transition: border-color 0.8s, box-shadow 0.8s;
}
.finale.unlocked {
    border-color: rgba(var(--flare-rgb), 0.55); border-style: solid;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--sx, 6px) var(--sy, 12px) 44px -14px rgba(0, 0, 0, 0.55), 0 0 80px rgba(var(--flare-rgb), 0.12), 0 30px 80px rgba(0, 0, 0, 0.6);
}
.finale::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--flare), transparent);
    transform: scaleX(0.25); opacity: 0.6; transform-origin: center;
    transition: transform 0.9s var(--ease), opacity 0.9s;
}
.finale.unlocked::before { transform: scaleX(1); opacity: 1; }

.finale-lock-icon {
    width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16); color: var(--muted);
    background: radial-gradient(80% 80% at 30% 20%, rgba(255, 255, 255, 0.08), transparent);
    transition: color 0.8s, border-color 0.8s, transform 0.8s var(--ease);
}
.finale-lock-icon svg { width: 26px; height: 26px; }
.finale.unlocked .finale-lock-icon { color: var(--flare); border-color: rgba(var(--flare-rgb), 0.5); transform: rotate(-12deg) scale(0.9); opacity: 0.4; }

.finale-lock-kicker {
    font-size: 0.66rem; letter-spacing: 3.5px; color: var(--flare); margin-bottom: 18px;
}
.finale h3 {
    font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    letter-spacing: -0.01em; margin-bottom: 16px;
}
.finale p { color: var(--muted); font-size: 0.98rem; line-height: 1.75; max-width: 560px; margin: 0 auto; }

.finale-open {
    display: none; opacity: 0; transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.finale.unlocked .finale-lock { display: none; }
.finale.unlocked .finale-open { display: block; opacity: 1; transform: translateY(0); }
.finale-open-kicker {
    font-size: 0.66rem; letter-spacing: 3.5px; color: var(--flare); margin-bottom: 18px;
}
.finale-cta {
    margin-top: 28px; font-size: 0.66rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.5);
}

/* ---------- TOAST ---------- */

.toast {
    position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
    z-index: 350; pointer-events: none;
    font-family: var(--mono); font-size: 0.64rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--flare); padding: 12px 22px; border-radius: 999px; white-space: nowrap;
    background: rgba(3, 6, 14, 0.7);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(var(--flare-rgb), 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 18px -8px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.5);
    opacity: 0; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- REVEAL / MOTION ---------- */

.reveal {
    opacity: 0; transform: translateY(34px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
}
.reveal.active { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .masthead-title .ch { animation: none; transform: none; }
    .intro, .cursor-glow { display: none; }
    .masthead { min-height: auto; padding-top: 160px; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
    .poster-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    header { padding: 14px 6%; }
    .masthead { padding: 130px 6% 32px; }
    .masthead-kicker .kick-rule { flex-basis: 40px; }
    .masthead-sub { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
    .cta-row { justify-content: flex-start; flex-wrap: wrap; }
    .masthead-meta { flex-direction: column; gap: 10px; align-items: flex-start; }
    .chapter { padding: 70px 6% 0; }
    .chapter-head { flex-wrap: wrap; gap: 16px; }
    .chapter-meta { text-align: left; width: 100%; }
    .poster-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .acts { grid-template-columns: 1fr; }
    .manifesto-cols { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
    .story-outro { padding: 36px 22px; margin-bottom: 80px; }
    .dispatch-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .status-pill { display: none; }
    .hud { display: none; }    .finale { padding: 44px 22px; margin-bottom: 80px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }
    .value-prop { padding: 70px 6% 0; }
    .value-grid { grid-template-columns: 1fr; }
    .apply-wrap { padding: 28px 20px; margin-bottom: 80px; }
    .apply-row { grid-template-columns: 1fr; }
    .cost-build-head, .cost-row { grid-template-columns: 1fr 1fr; padding: 12px 16px; }
    .cost-build-head span:first-child, .cost-row span:first-child { grid-column: 1 / -1; }
    .cost-build-head span:last-child, .cost-row span:last-child { grid-column: 2; }
}

@media (max-width: 480px) {
    .modal { padding: 32px 22px; }
    .modal-rates-grid { grid-template-columns: 1fr; }
    .rate-cell { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 14px; }
    .rate-value { margin-left: auto; }
    .rate-unit { flex-basis: 100%; }
    .apply-submit { justify-content: center; }
    .apply-submit .btn { width: 100%; }
    .role-apply { width: 100%; justify-content: center; }
}

/* ---------- MULTI-VOLUME SITE (SEO / AIO) ---------- */

.main-nav a.active { color: var(--ink); }
.main-nav a.active::after { width: 100%; }

a.hud-node { text-decoration: none; }

.page-hero {
    min-height: 74svh;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 190px 8% 52px;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(62% 52% at 74% 16%, rgba(var(--flare-rgb), 0.07), transparent 62%),
        linear-gradient(to bottom, rgba(2,4,10,0.35) 0%, transparent 45%, var(--bg) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 1100px; }
.page-hero-kicker {
    font-size: 0.72rem; letter-spacing: 4px; color: var(--flare);
    text-transform: uppercase; margin-bottom: 24px;
}
.page-hero-title {
    font-size: clamp(3rem, 9vw, 7rem); line-height: 0.92;
    font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase;
    margin-bottom: 30px;
}
.page-hero-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 640px; }
.page-hero-meta {
    margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 0.68rem; letter-spacing: 2.5px; color: var(--muted); text-transform: uppercase;
}

.page-intro {
    display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px;
    max-width: 1400px; margin: 110px auto 46px;
    padding: 48px 46px;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(10, 16, 32, 0.28) 60%, rgba(3, 6, 14, 0.4));
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.page-intro h2 {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15;
    letter-spacing: -0.01em; margin-bottom: 20px;
}
.page-intro p { color: var(--muted); font-size: 1rem; line-height: 1.78; max-width: 62ch; }
.page-intro p + p { margin-top: 16px; }
.page-intro p a { color: var(--flare); text-decoration: none; border-bottom: 1px solid rgba(var(--flare-rgb), 0.4); }
.page-intro-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 8px;
}
.page-intro-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.78rem; letter-spacing: 2.5px; text-transform: uppercase;
    border-bottom: 1px solid rgba(var(--flare-rgb), 0.4); padding-bottom: 6px;
    transition: color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.page-intro-links a:hover { color: var(--flare); transform: translateX(6px); border-color: var(--flare); }

.faq {
    max-width: 1200px; margin: 0 auto; padding: 96px 8% 40px;
}
.faq-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 24px; flex-wrap: wrap; margin-bottom: 38px;
}
.faq-head h2 {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.01em;
}
.faq-head .mono { font-size: 0.64rem; letter-spacing: 3px; color: var(--flare); text-transform: uppercase; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; padding: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(10, 16, 32, 0.55));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 26px -10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.5), var(--sx, 6px) calc(var(--sy, 12px) + 14px) 38px -8px rgba(0, 0, 0, 0.6);
}
.faq-item::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.08), transparent 46%);
    opacity: 0; transition: opacity 0.35s;
}
.faq-item:hover::after { opacity: 1; }
.faq-item h3 {
    font-size: 1.02rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: -0.01em; margin-bottom: 10px; position: relative; z-index: 1;
}
.faq-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; position: relative; z-index: 1; }
.faq-item strong { color: var(--ink); font-weight: 700; }

.page-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
    margin: 90px auto 110px; max-width: 1200px;
    padding: 42px 46px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(18, 26, 46, 0.7), rgba(6, 10, 20, 0.65));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 44px -14px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.page-cta::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 255, 255, 0.08), transparent 46%);
    opacity: 0; transition: opacity 0.35s;
}
.page-cta:hover::after { opacity: 1; }
.page-cta-left { display: flex; flex-direction: column; gap: 14px; }
.page-cta-kicker { font-size: 0.62rem; letter-spacing: 3px; color: var(--flare); text-transform: uppercase; }
.page-cta-copy { color: var(--muted); font-size: 0.9rem; line-height: 1.7; max-width: 42ch; }
.page-cta-link {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.01em;
    color: var(--ink); text-decoration: none;
    display: inline-flex; align-items: center; gap: 18px; white-space: nowrap;
    transition: color 0.3s, transform 0.3s var(--ease);
}
.page-cta-link:hover { color: var(--flare); transform: translateX(8px); }

@media (max-width: 1024px) {
    .page-intro { grid-template-columns: 1fr; gap: 32px; }
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .page-hero { min-height: 64svh; padding: 150px 6% 40px; }
    .page-intro { padding: 28px 24px; margin-top: 80px; }
    .faq { padding: 70px 6% 24px; }
    .page-cta { margin: 60px auto 70px; padding: 28px 24px; }
    .page-cta-link { white-space: normal; }
}

/* ---------- GRID TABLE — a deck of cards bursting onto the table ---------- */

.chapter-grid { padding-bottom: 0; }
.deal-card { will-change: transform; }

.grid-table {
    position: relative; height: 560px; margin: 40px 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 26px;
    background:
        radial-gradient(46% 70% at 50% 50%, rgba(var(--flare-rgb), 0.07), transparent 65%),
        radial-gradient(120% 130% at 50% 50%, rgba(14, 22, 44, 0.72), rgba(3, 6, 14, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 10px rgba(2, 4, 10, 0.35),
        inset 0 0 0 11px rgba(var(--accent-rgb), 0.22),
        0 30px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    perspective: 1200px;
}
.grid-table::before {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(rgba(var(--accent-rgb), 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(72% 72% at 50% 50%, #000, transparent 82%);
    -webkit-mask-image: radial-gradient(72% 72% at 50% 50%, #000, transparent 82%);
}

.grid-bar {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.42), rgba(3, 6, 14, 0.8));
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.grid-bar-seg {
    display: flex; flex-direction: column; gap: 5px;
    padding: 18px 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    will-change: transform;
}
.grid-bar-seg:first-child { border-left: 0; }
.grid-bar-kicker {
    font-size: 0.56rem; letter-spacing: 2.5px; color: var(--flare); text-transform: uppercase;
}
.grid-bar-seg strong {
    font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.grid-bar-sub {
    font-size: 0.54rem; letter-spacing: 2px; color: rgba(255, 255, 255, 0.42); text-transform: uppercase;
}

.grid-table-deck {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 5; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.grid-table-deck .deck-stack { position: relative; width: 74px; height: 96px; }
.deck-stack i {
    position: absolute; inset: 0; border-radius: 8px;
    border: 1px solid rgba(var(--flare-rgb), 0.45);
    background: linear-gradient(150deg, rgba(20, 30, 56, 0.92), rgba(6, 10, 20, 0.96));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}
.deck-stack i:nth-child(1) { transform: translate(-7px, -5px) rotate(-8deg); }
.deck-stack i:nth-child(2) { transform: translate(0, -2px) rotate(0deg); }
.deck-stack i:nth-child(3) { transform: translate(7px, 0) rotate(8deg); }
.grid-table-deck .mono {
    font-size: 0.58rem; letter-spacing: 3px; color: var(--flare); text-transform: uppercase;
}

@media (max-width: 1024px) {
    .grid-bar-seg { padding: 16px 18px; }
}

@media (max-width: 720px) {
    .grid-table { height: auto; padding: 26px 20px 30px; display: grid; gap: 16px; }
    .grid-table::before { background-size: 30px 30px; }
    .grid-table-deck { display: none; }
    .grid-bar {
        position: static; grid-template-columns: 1fr;
        border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; overflow: hidden;
    }
    .grid-bar-seg { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 16px 18px; }
    .grid-bar-seg:first-child { border-top: 0; }
}

/* ---------- AI-GENERATED BADGE + GRID ENTRANCE TELEMETRY ---------- */

.ai-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 100px;
    border: 1px solid rgba(var(--flare-rgb), 0.4);
    background: rgba(6, 10, 20, 0.55);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    font-size: 0.6rem; letter-spacing: 2.5px; color: var(--ink); text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--sx, 6px) var(--sy, 12px) 18px -8px rgba(0, 0, 0, 0.5), 0 0 26px rgba(var(--flare-rgb), 0.14);
    margin-bottom: 22px;
}
.ai-badge .live-dot { width: 6px; height: 6px; margin-right: 0; }

.page-hero-title .ch {
    display: inline-block;
    transform: translateY(115%);
    animation: rise 1s var(--ease) forwards;
    animation-delay: calc(var(--i) * 38ms + 400ms);
}

.page-hero-title--roster {
    font-size: clamp(2.9rem, 7.7vw, 6.4rem);
}

.grid-entry-tag {
    text-align: center; font-size: 0.6rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase; margin: 0 0 110px;
    opacity: 0; transition: opacity 0.6s var(--ease);
}
