@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #060609;
    --bg-2: #0a0a10;
    --panel: rgba(255,255,255,.045);
    --panel-strong: #111117;
    --text: #f7f5f2;
    --muted: #9896a1;
    --line: rgba(255,255,255,.12);
    --line-hot: rgba(255,77,146,.4);
    --pink: #ff4d92;
    --orange: #ff8a32;
    --cyan: #6be8ff;
    --green: #67f0a9;
    --shell: 1240px;
    --display: 'Bebas Neue', Impact, sans-serif;
    --body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--pink); color: #fff; }
[hidden] { display: none !important; }

.page-fx { position: fixed; inset: 0; pointer-events: none; z-index: 1000; mix-blend-mode: soft-light; }
.noise { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.scanlines { position: absolute; inset: 0; opacity: .08; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.055) 4px); }
.shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(6,6,9,.72); backdrop-filter: blur(18px) saturate(130%); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 170px; }
.brand-glyph { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); font-family: var(--display); font-size: 26px; background: linear-gradient(145deg, rgba(255,77,146,.18), rgba(107,232,255,.06)); position: relative; overflow: hidden; }
.brand-glyph::after { content: ''; position: absolute; width: 26px; height: 2px; background: var(--pink); transform: rotate(-45deg); bottom: 5px; right: -6px; }
.brand-word { font-family: var(--display); font-size: 23px; letter-spacing: .11em; }
.brand-beta { font-size: 9px; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line); padding: 4px 6px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #aaa8b2; }
.nav a { position: relative; padding: 28px 0; transition: color .2s ease; }
.nav a::after { content: ''; position: absolute; height: 2px; left: 0; right: 100%; bottom: 0; background: linear-gradient(90deg, var(--pink), var(--orange)); transition: right .25s ease; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav-cta { min-height: 40px; display: inline-flex; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.035); }
.status-light, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(103,240,169,.08), 0 0 16px rgba(103,240,169,.5); display: inline-block; }

.site-header.is-home { background: linear-gradient(180deg, rgba(3,3,8,.72), rgba(3,3,8,.18) 68%, transparent); border-bottom-color: rgba(255,255,255,.06); backdrop-filter: none; }

.home-hero { position: relative; min-height: 100svh; overflow: hidden; border-bottom: 1px solid var(--line); background: #08080c; }
.video-hero { display: grid; align-items: stretch; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-video-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3,3,8,.30) 0%, rgba(3,3,8,.10) 28%, rgba(3,3,8,.36) 65%, rgba(3,3,8,.90) 100%); }
.hero-video-vignette { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 42%, transparent 0%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.62) 100%), linear-gradient(90deg, rgba(0,0,0,.30), transparent 24%, transparent 76%, rgba(0,0,0,.30)); }
.hero-stage { position: relative; z-index: 3; min-height: 100svh; padding-top: 112px; padding-bottom: 44px; display: grid; grid-template-rows: auto 1fr auto; }
.hero-stage-top, .hero-stage-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-stage-top { padding-top: 8px; }
.hero-stage-bottom { align-self: end; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-stage-bottom p { margin: 0; max-width: 560px; color: rgba(255,255,255,.67); font-size: 11px; line-height: 1.65; letter-spacing: .08em; text-transform: uppercase; }
.hero-stage-bottom p strong { color: #fff; }
.hero-kicker, .micro-label { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #d8d4da; }
.hero-release { font-size: 9px; font-weight: 800; letter-spacing: .17em; color: rgba(255,255,255,.62); }
.hero-center { align-self: center; justify-self: center; width: min(100%, 1140px); padding: 54px 0 50px; text-align: center; }
.hero-eyebrow { margin: 0 0 10px; font-size: 10px; font-weight: 800; letter-spacing: .28em; color: rgba(255,255,255,.78); text-transform: uppercase; }
.hero-faltan { margin: 0; font-family: var(--display); font-size: clamp(82px, 13vw, 198px); line-height: .74; letter-spacing: -.02em; font-weight: 400; text-shadow: 0 8px 50px rgba(0,0,0,.30); }
.hero-after { margin: 22px 0 0; font-family: var(--display); font-size: clamp(23px, 3.3vw, 46px); line-height: 1; letter-spacing: .06em; color: rgba(255,255,255,.93); }

.countdown-frame { position: relative; overflow: visible; }
.countdown-cinematic { width: 100%; margin: 28px auto 0; background: transparent; backdrop-filter: none; }
.countdown-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 42px);
    flex-wrap: wrap;
}
.time-cell {
    position: relative;
    min-width: min(20vw, 210px);
    padding: 0;
    border-right: 0;
    text-align: center;
}
.time-cell:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: calc(clamp(8px, 1.1vw, 18px) * -1.4);
    top: 50%;
    transform: translateY(-58%);
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 78px);
    line-height: 1;
    color: rgba(103,240,169,.78);
    text-shadow: 0 0 12px rgba(103,240,169,.45), 0 0 26px rgba(103,240,169,.24);
}
.time-cell strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(88px, 12vw, 180px);
    font-weight: 400;
    line-height: .80;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    color: #9dffd0;
    text-shadow:
        0 0 10px rgba(103,240,169,.90),
        0 0 24px rgba(103,240,169,.65),
        0 0 48px rgba(103,240,169,.40),
        0 0 88px rgba(103,240,169,.20);
}
.time-cell span {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .30em;
    color: rgba(154,255,208,.92);
    text-shadow: 0 0 12px rgba(103,240,169,.22);
}
.countdown-frame.is-finished .time-cell strong { color: #9dffd0; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-actions-centered { justify-content: center; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; border: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #f5f1eb; color: #09090d; border-color: #f5f1eb; }
.btn-primary:hover { box-shadow: 0 16px 50px rgba(255,255,255,.14); }
.btn-ghost { background: rgba(7,7,12,.18); border-color: rgba(255,255,255,.42); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.10); }
.btn-large { min-height: 58px; padding: 0 26px; }
.video-toggle { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; padding: 0; color: rgba(255,255,255,.74); background: transparent; cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.video-toggle:hover { color: #fff; }
.video-toggle-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; font-size: 10px; }
.hero-scroll { position: absolute; right: 22px; bottom: 48px; z-index: 4; display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; font-size: 8px; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.38); }
.hero-scroll span { width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(255,255,255,.10), rgba(255,255,255,.72)); }

.portal-section { padding: 128px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.section-head h2, .manifesto-grid h2, .final-cta h2, .roadmap-head h2, .jobs-intro h2, .community-copy h2, .page-cta h2 { margin: 18px 0 0; font-family: var(--display); font-size: clamp(58px, 7vw, 98px); font-weight: 400; line-height: .88; letter-spacing: -.015em; }
.section-head p, .manifesto-grid p, .jobs-intro p, .community-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.portal-grid { margin-top: 62px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.portal-card { position: relative; min-height: 370px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.025), transparent); transition: background .3s ease; }
.portal-card::before { content: ''; position: absolute; inset: auto -10% -45% 20%; height: 70%; opacity: 0; filter: blur(70px); transition: opacity .35s ease; }
.portal-card:hover::before { opacity: .23; }
.portal-project::before { background: var(--cyan); }
.portal-community::before { background: var(--pink); }
.portal-jobs::before { background: var(--orange); }
.portal-wiki::before { background: #a289ff; }
.portal-card:hover { background: rgba(255,255,255,.045); }
.portal-index { font-family: var(--display); font-size: 22px; color: #67656f; }
.portal-symbol { position: absolute; right: 24px; top: 18px; font-family: var(--display); font-size: 56px; color: rgba(255,255,255,.16); transition: transform .3s ease, color .3s ease; }
.portal-card:hover .portal-symbol { transform: rotate(-8deg) scale(1.08); color: rgba(255,255,255,.52); }
.portal-copy { position: absolute; left: 26px; right: 26px; bottom: 28px; z-index: 2; }
.portal-copy > span { font-size: 9px; font-weight: 800; letter-spacing: .17em; color: #7d7b84; }
.portal-copy h3 { margin: 8px 0 8px; font-family: var(--display); font-size: clamp(52px, 6vw, 78px); line-height: .9; font-weight: 400; }
.portal-copy p { margin: 0; max-width: 510px; color: #8e8c95; line-height: 1.65; font-size: 13px; }

.manifesto-strip { padding: 100px 0; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #0a0a0e, #08080c); }
.manifesto-grid { display: grid; grid-template-columns: 120px 1fr .65fr; gap: 45px; align-items: end; }
.manifesto-number { font-family: var(--display); font-size: 130px; color: rgba(255,255,255,.055); line-height: .75; }
.final-cta { position: relative; padding: 120px 0; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; width: 820px; height: 420px; border-radius: 50%; background: linear-gradient(90deg, var(--pink), var(--orange)); filter: blur(130px); opacity: .11; right: -240px; bottom: -250px; }
.final-cta-inner { position: relative; }
.final-cta h2 em, .subhero h1 em { font-style: normal; color: var(--pink); }
.founder-meter { width: min(100%, 680px); margin: 36px 0; }
.meter-row { display: flex; justify-content: space-between; gap: 18px; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #96949d; }
.meter-track { margin-top: 12px; height: 5px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--orange)); box-shadow: 0 0 20px rgba(255,77,146,.35); }

.subhero { position: relative; padding: 180px 0 96px; border-bottom: 1px solid var(--line); overflow: hidden; background: #08080c; }
.subhero::before { content: ''; position: absolute; inset: 74px 0 0; background-image: linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 90%); }
.subhero::after { content: ''; position: absolute; width: 600px; height: 360px; right: -180px; top: -100px; filter: blur(110px); opacity: .16; }
.subhero-project::after { background: var(--cyan); }
.subhero-community::after { background: var(--pink); }
.subhero-jobs::after { background: var(--orange); }
.subhero-wiki::after { background: #9878ff; }
.subhero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.subhero h1 { margin: 20px 0 0; font-family: var(--display); font-size: clamp(92px, 11vw, 150px); line-height: .78; font-weight: 400; letter-spacing: -.02em; }
.subhero-side { padding-bottom: 8px; }
.status-chip { width: fit-content; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.subhero-side p { margin: 22px 0 0; color: var(--muted); line-height: 1.8; font-size: 14px; }

.content-section { padding: 112px 0 130px; }
.project-status-card { border: 1px solid var(--line); background: linear-gradient(135deg, rgba(107,232,255,.055), rgba(255,255,255,.01)); }
.project-status-head { min-height: 46px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 800; letter-spacing: .14em; color: #8c8a93; }
.project-status-head strong { color: var(--cyan); }
.project-status-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; padding: 36px; min-height: 330px; }
.project-big { font-family: var(--display); font-size: clamp(64px, 8vw, 110px); line-height: .82; }
.project-status-body p { color: var(--muted); line-height: 1.8; font-size: 15px; max-width: 490px; }
.roadmap-head { margin: 110px 0 46px; }
.roadmap { border-top: 1px solid var(--line); }
.roadmap-item { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.roadmap-marker { font-family: var(--display); font-size: 54px; color: rgba(255,255,255,.14); }
.roadmap-item.is-live .roadmap-marker { color: var(--cyan); }
.roadmap-item h3 { margin: 10px 0 8px; font-family: var(--display); font-size: 40px; font-weight: 400; letter-spacing: .02em; }
.roadmap-item p { margin: 0; max-width: 770px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.tag { display: inline-flex; min-height: 23px; align-items: center; padding: 0 8px; border: 1px solid var(--line); color: #aaa8b2; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.tag-live { border-color: rgba(103,240,169,.28); color: var(--green); background: rgba(103,240,169,.05); }
.tag-wait { border-color: rgba(255,138,50,.28); color: var(--orange); background: rgba(255,138,50,.05); }
.tag-lock { color: #76747e; }
.page-cta { padding: 78px 0; border-top: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,77,146,.065), rgba(255,138,50,.035)); }
.page-cta-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.page-cta h2 { font-size: clamp(52px, 6vw, 82px); }

.community-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: center; }
.founder-pass { min-height: 560px; border: 1px solid rgba(255,255,255,.16); padding: 30px; position: relative; overflow: hidden; background: radial-gradient(circle at 85% 15%, rgba(255,77,146,.23), transparent 28%), radial-gradient(circle at 15% 90%, rgba(107,232,255,.12), transparent 25%), #101015; box-shadow: inset 0 0 80px rgba(255,255,255,.025); }
.founder-pass::before { content: 'LINAJ'; position: absolute; font-family: var(--display); font-size: 220px; line-height: 1; color: rgba(255,255,255,.025); right: -42px; bottom: 40px; transform: rotate(-90deg); }
.founder-pass::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.07); pointer-events: none; }
.pass-head, .pass-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #8e8c95; }
.pass-number { position: relative; z-index: 2; margin-top: 96px; font-family: var(--display); font-size: clamp(100px, 12vw, 154px); line-height: .78; background: linear-gradient(100deg, #fff, #ff90bc 52%, #ff9d54); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pass-name { position: relative; z-index: 2; margin-top: 14px; font-family: var(--display); font-size: 36px; letter-spacing: .06em; }
.pass-line { position: relative; z-index: 2; margin: 80px 0 20px; height: 1px; background: linear-gradient(90deg, var(--pink), rgba(255,255,255,.1)); }
.community-copy h2 { margin-bottom: 22px; }
.community-copy .btn { margin-top: 8px; }
.community-values { margin-top: 110px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.community-values article { min-height: 270px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.community-values article > span { color: var(--pink); font-family: var(--display); font-size: 27px; }
.community-values h3 { margin: 74px 0 10px; font-family: var(--display); font-weight: 400; font-size: 34px; }
.community-values p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.jobs-intro { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; }
.jobs-intro .micro-label { grid-column: 1 / -1; }
.jobs-grid { margin-top: 62px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.job-card { min-height: 360px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; background: rgba(255,255,255,.012); transition: background .2s ease; }
.job-card:hover { background: rgba(255,138,50,.035); }
.job-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #74727c; }
.job-card h3 { margin: 58px 0 10px; font-family: var(--display); font-size: 52px; font-weight: 400; line-height: .9; }
.job-card p { margin: 0; max-width: 520px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 38px; }
.job-meta span { padding: 6px 8px; border: 1px solid var(--line); color: #7e7c85; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.job-card > a { margin-top: 18px; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #e1dfe5; }
.open-application { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 32px; border: 1px solid var(--line); background: linear-gradient(110deg, rgba(255,138,50,.08), transparent 48%); }
.open-application h3 { margin: 8px 0; font-family: var(--display); font-size: 42px; font-weight: 400; }
.open-application p { margin: 0; color: var(--muted); font-size: 13px; }

.wiki-toolbar { display: grid; grid-template-columns: 220px 1fr; align-items: center; border: 1px solid var(--line); min-height: 74px; }
.wiki-toolbar label { padding: 0 20px; font-size: 9px; font-weight: 800; letter-spacing: .13em; color: #83818b; }
.search-box { height: 100%; min-height: 72px; display: flex; align-items: center; gap: 13px; padding: 0 18px; border-left: 1px solid var(--line); }
.search-box > span { font-size: 28px; color: #77757f; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; }
.search-box input::placeholder { color: #595761; }
.wiki-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wiki-card { min-height: 300px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; background: rgba(255,255,255,.012); }
.wiki-card-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; color: #77757f; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.wiki-card h2 { margin: 62px 0 10px; font-family: var(--display); font-size: 46px; font-weight: 400; }
.wiki-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 13px; max-width: 540px; }
.wiki-card > a { margin-top: auto; padding-top: 30px; font-size: 11px; font-weight: 800; }
.wiki-card > a.is-disabled { color: #56545d; pointer-events: none; }
.wiki-empty { margin-top: 34px; padding: 28px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

.site-footer { border-top: 1px solid var(--line); padding: 54px 0 28px; background: #050508; }
.footer-top { display: flex; justify-content: space-between; gap: 50px; align-items: flex-start; }
.footer-logo { font-family: var(--display); font-size: 42px; letter-spacing: .09em; }
.footer-logo span { color: var(--pink); }
.footer-top p { margin: 8px 0 0; max-width: 470px; color: #6e6c76; font-size: 12px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 30px; color: #8c8a94; font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; gap: 40px; color: #5e5c66; font-size: 9px; line-height: 1.6; }
.footer-bottom span:last-child { max-width: 680px; text-align: right; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .nav { display: none; }
    .brand-beta { display: none; }
    .home-hero { min-height: auto; }
    .section-head, .manifesto-grid, .subhero-grid, .project-status-body, .community-grid, .jobs-intro { grid-template-columns: 1fr; }
    .manifesto-number { display: none; }
    .portal-grid, .jobs-grid, .wiki-grid { grid-template-columns: 1fr; }
    .subhero-side { max-width: 620px; }
    .project-status-body { gap: 30px; }
    .community-grid { gap: 54px; }
    .page-cta-grid { align-items: flex-start; flex-direction: column; }
    .jobs-intro .micro-label { grid-column: auto; }
}

@media (max-width: 680px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .nav-wrap { min-height: 64px; }
    .nav-cta { padding: 0 11px; }
    .brand { min-width: 0; }
    .brand-word { font-size: 20px; }
    .home-hero { padding-top: 124px; }
    .mega-title { font-size: clamp(66px, 22vw, 100px); line-height: .82; }
    .hero-intro { font-size: 15px; }
    .countdown-frame { margin-top: 34px; }
    .countdown-grid { gap: 18px 26px; }
    .time-cell:nth-child(2) { border-right: 0; }
    .time-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .time-cell strong { font-size: 72px; }
    .countdown-topline, .countdown-note { align-items: flex-start; flex-direction: column; padding: 11px 14px; gap: 4px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-marquee { margin-top: 54px; }
    .portal-section, .content-section { padding: 84px 0; }
    .section-head h2, .manifesto-grid h2, .final-cta h2, .roadmap-head h2, .jobs-intro h2, .community-copy h2, .page-cta h2 { font-size: 58px; }
    .portal-card { min-height: 320px; }
    .manifesto-strip { padding: 76px 0; }
    .final-cta { padding: 88px 0; }
    .subhero { padding: 138px 0 74px; }
    .subhero h1 { font-size: clamp(74px, 23vw, 112px); }
    .roadmap-item { grid-template-columns: 68px 1fr; gap: 16px; }
    .roadmap-marker { font-size: 38px; }
    .roadmap-item h3 { font-size: 33px; }
    .founder-pass { min-height: 480px; padding: 22px; }
    .pass-number { margin-top: 86px; font-size: 100px; }
    .pass-line { margin-top: 64px; }
    .community-values { grid-template-columns: 1fr; }
    .community-values article { min-height: 220px; }
    .community-values h3 { margin-top: 45px; }
    .job-card { min-height: 330px; }
    .open-application { align-items: flex-start; flex-direction: column; }
    .wiki-toolbar { grid-template-columns: 1fr; }
    .wiki-toolbar label { padding: 16px 18px 8px; }
    .search-box { min-height: 64px; border-left: 0; }
    .wiki-card h2 { font-size: 40px; }
    .footer-top, .footer-bottom { flex-direction: column; }
    .footer-bottom span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
    .hero-stage { padding-top: 96px; }
    .hero-center { padding-top: 36px; }
    .hero-scroll { display: none; }
}

@media (max-width: 680px) {
    .site-header.is-home { background: rgba(5,5,9,.42); backdrop-filter: blur(10px); }
    .hero-stage { min-height: 100svh; padding-top: 84px; padding-bottom: 24px; }
    .hero-stage-top { align-items: flex-start; flex-direction: column; gap: 8px; }
    .hero-release { font-size: 8px; }
    .hero-center { padding: 34px 0 30px; }
    .hero-faltan { font-size: clamp(76px, 27vw, 118px); }
    .hero-eyebrow { font-size: 8px; letter-spacing: .19em; }
    .countdown-cinematic { margin-top: 14px; }
    .countdown-grid { gap: 18px 26px; }
    .time-cell { padding: 16px 10px 13px; }
    .time-cell:nth-child(2) { border-right: 0; }
    .time-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.24); }
    .time-cell strong { font-size: clamp(72px, 24vw, 100px); }
    .time-cell span { margin-top: 8px; font-size: 7px; letter-spacing: .18em; }
    .hero-after { margin-top: 18px; font-size: 25px; }
    .hero-actions-centered { align-items: stretch; flex-direction: column; margin-top: 24px; }
    .hero-actions-centered .btn { width: 100%; }
    .hero-stage-bottom { align-items: flex-end; gap: 20px; }
    .hero-stage-bottom p { max-width: 230px; font-size: 8px; }
    .video-toggle [data-video-toggle-label] { display: none; }
}

@media (max-width: 680px) {
    .home-hero { min-height: 100svh; padding-top: 0; }
}


@media (max-width: 900px) {
    .time-cell { min-width: 42%; }
    .time-cell:not(:last-child)::after { right: -16px; }
}

@media (max-width: 640px) {
    .countdown-cinematic { margin-top: 18px; }
    .countdown-grid { gap: 16px 18px; }
    .time-cell { min-width: calc(50% - 12px); }
    .time-cell strong { font-size: clamp(72px, 20vw, 122px); }
    .time-cell span { font-size: 9px; letter-spacing: .24em; }
    .time-cell:not(:last-child)::after { display: none; }
}

/* Home minimal: solo vídeo, navegación y cuenta atrás */
.home-hero-minimal {
    min-height: 100svh;
    height: 100svh;
    border-bottom: 0;
}

.hero-video-shade-minimal {
    background: linear-gradient(180deg, rgba(2, 4, 4, .34) 0%, rgba(2, 4, 4, .08) 38%, rgba(2, 4, 4, .18) 68%, rgba(2, 4, 4, .42) 100%);
}

.hero-video-vignette-minimal {
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,.08) 52%, rgba(0,0,0,.52) 100%);
}

.minimal-countdown-wrap {
    position: relative;
    z-index: 3;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 94px 24px 36px;
}

.countdown-minimal {
    width: auto;
    max-width: min(92vw, 780px);
    margin: 0;
}

.countdown-minimal .countdown-grid {
    gap: clamp(18px, 2.8vw, 42px);
    flex-wrap: nowrap;
}

.countdown-minimal .time-cell {
    min-width: 0;
    width: clamp(88px, 11vw, 145px);
}

.countdown-minimal .time-cell strong {
    font-size: clamp(54px, 6.4vw, 92px);
    line-height: .86;
    color: #9dffd0;
    text-shadow:
        0 0 7px rgba(103,240,169,.90),
        0 0 16px rgba(103,240,169,.54),
        0 0 32px rgba(103,240,169,.28);
}

.countdown-minimal .time-cell span {
    margin-top: 9px;
    font-size: 8px;
    letter-spacing: .26em;
    color: rgba(178,255,218,.86);
    text-shadow: 0 0 8px rgba(103,240,169,.18);
}

.countdown-minimal .time-cell:not(:last-child)::after {
    right: calc(clamp(9px, 1.35vw, 18px) * -1.45);
    font-size: clamp(28px, 3.5vw, 48px);
    color: rgba(103,240,169,.62);
    text-shadow: 0 0 10px rgba(103,240,169,.30);
}

.home-hero-minimal + * {
    display: none !important;
}

@media (max-width: 760px) {
    .minimal-countdown-wrap {
        padding: 88px 16px 28px;
    }

    .countdown-minimal {
        width: min(94vw, 520px);
    }

    .countdown-minimal .countdown-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .countdown-minimal .time-cell {
        width: auto;
        min-width: 0;
    }

    .countdown-minimal .time-cell strong {
        font-size: clamp(58px, 18vw, 88px);
    }

    .countdown-minimal .time-cell:not(:last-child)::after {
        display: none;
    }
}

/* =========================================================
   HOME / VIDEO + VERTICAL COUNTDOWN TOTEM
   ========================================================= */
.home-only {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
}

.home-hero-totem {
    min-height: 100svh;
    height: 100svh;
    border-bottom: 0;
    background: #030406;
}

.hero-video-shade-totem {
    background:
        linear-gradient(180deg, rgba(3,4,6,.28) 0%, rgba(3,4,6,.05) 28%, rgba(3,4,6,.08) 68%, rgba(3,4,6,.52) 100%),
        linear-gradient(90deg, rgba(0,0,0,.12) 0%, transparent 54%, rgba(0,0,0,.34) 100%);
}

.hero-video-vignette-totem {
    background:
        radial-gradient(circle at 48% 48%, transparent 0%, transparent 42%, rgba(0,0,0,.18) 72%, rgba(0,0,0,.54) 100%);
}

.countdown-totem {
    position: absolute;
    z-index: 5;
    top: calc(74px + 4.5vh);
    right: clamp(24px, 5.5vw, 108px);
    bottom: clamp(26px, 5vh, 70px);
    width: clamp(180px, 15vw, 250px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px 18px;
    background:
        linear-gradient(180deg, rgba(1,9,8,.76), rgba(2,7,7,.54)),
        radial-gradient(circle at 55% 15%, rgba(103,240,169,.08), transparent 42%);
    border: 1px solid rgba(130,255,195,.18);
    box-shadow:
        inset 0 0 46px rgba(103,240,169,.035),
        0 28px 90px rgba(0,0,0,.34);
    backdrop-filter: blur(11px) saturate(118%);
    overflow: hidden;
}

.countdown-totem::before,
.countdown-totem::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.countdown-totem::before {
    inset: 13px;
    border-left: 1px solid rgba(103,240,169,.20);
    border-right: 1px solid rgba(103,240,169,.10);
    background:
        linear-gradient(90deg, rgba(103,240,169,.52), rgba(103,240,169,.52)) left 8px top 9% / 26px 1px no-repeat,
        linear-gradient(180deg, rgba(103,240,169,.52), rgba(103,240,169,.52)) left 34px top 9% / 1px 42px no-repeat,
        linear-gradient(90deg, rgba(103,240,169,.30), rgba(103,240,169,.30)) right 5px top 27% / 38px 1px no-repeat,
        linear-gradient(180deg, rgba(103,240,169,.30), rgba(103,240,169,.30)) right 43px top 27% / 1px 54px no-repeat,
        linear-gradient(90deg, rgba(103,240,169,.40), rgba(103,240,169,.40)) left 8px bottom 18% / 34px 1px no-repeat,
        linear-gradient(180deg, rgba(103,240,169,.40), rgba(103,240,169,.40)) left 42px bottom 18% / 1px 46px no-repeat;
    opacity: .72;
}

.countdown-totem::after {
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(103,240,169,.13), transparent) 0 20% / 100% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(103,240,169,.10), transparent) 0 80% / 100% 1px no-repeat,
        radial-gradient(circle, rgba(103,240,169,.90) 0 1px, transparent 2px) 24px 22% / 34px 34px repeat-y;
    opacity: .35;
}

.totem-topline,
.totem-footerline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .17em;
    color: rgba(190,255,221,.64);
}

.totem-time {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(14px, 2.5vh, 28px);
    padding: 8px 0;
}

.totem-unit {
    position: relative;
    text-align: center;
}

.totem-unit:not(:last-child)::after {
    content: '';
    display: block;
    width: 46%;
    height: 1px;
    margin: clamp(10px, 1.5vh, 17px) auto 0;
    background: linear-gradient(90deg, transparent, rgba(103,240,169,.36), transparent);
    box-shadow: 0 0 12px rgba(103,240,169,.18);
}

.totem-unit strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(58px, 5.4vw, 92px);
    font-weight: 400;
    line-height: .76;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    color: #aaffd4;
    text-shadow:
        0 0 5px rgba(103,240,169,.98),
        0 0 14px rgba(103,240,169,.72),
        0 0 34px rgba(103,240,169,.42),
        0 0 62px rgba(103,240,169,.18);
}

.totem-unit span {
    display: block;
    margin-top: 7px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .30em;
    color: rgba(177,255,216,.70);
}

.totem-footerline {
    justify-content: flex-start;
}

.totem-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8cffc5;
    box-shadow: 0 0 8px rgba(103,240,169,.9), 0 0 18px rgba(103,240,169,.45);
}

.countdown-totem.is-finished .totem-unit strong {
    color: #fff;
}

@media (max-width: 900px) {
    .countdown-totem {
        top: auto;
        left: 50%;
        right: auto;
        bottom: clamp(26px, 6vh, 54px);
        transform: translateX(-50%);
        width: min(calc(100% - 34px), 620px);
        height: auto;
        padding: 14px 16px 13px;
    }

    .totem-topline,
    .totem-footerline {
        font-size: 7px;
    }

    .totem-time {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 15px 0 11px;
    }

    .totem-unit:not(:last-child)::after {
        position: absolute;
        top: 6px;
        right: -4px;
        width: 1px;
        height: 60%;
        margin: 0;
        background: linear-gradient(180deg, transparent, rgba(103,240,169,.32), transparent);
    }

    .totem-unit strong {
        font-size: clamp(42px, 11vw, 74px);
    }

    .totem-unit span {
        font-size: 7px;
        letter-spacing: .18em;
    }
}

@media (max-width: 640px) {
    .site-header.is-home .brand-beta { display: none; }
    .site-header.is-home .brand { min-width: auto; }
    .site-header.is-home .nav { display: none; }
    .site-header.is-home .shell { width: min(calc(100% - 28px), var(--shell)); }
    .site-header.is-home .nav-wrap { min-height: 64px; }

    .countdown-totem {
        bottom: 18px;
        width: calc(100% - 24px);
        padding: 12px 12px 11px;
    }

    .totem-topline { display: none; }
    .totem-footerline { margin-top: 4px; }
    .totem-time { padding-top: 9px; }
    .totem-unit strong { font-size: clamp(38px, 13vw, 58px); }
}

/* =========================================================
   HOME / REFERENCE STYLE: VIDEO + NEON SIDE SIGN
   ========================================================= */
.home-hero-reference {
    min-height: 100svh;
    height: 100svh;
    border: 0;
    background: #030208;
}

.hero-video-reference {
    object-position: center center;
}

.hero-video-shade-reference {
    background:
        linear-gradient(180deg, rgba(3,2,9,.20) 0%, rgba(3,2,9,.02) 34%, rgba(3,2,9,.08) 70%, rgba(3,2,9,.26) 100%),
        linear-gradient(90deg, rgba(0,0,0,.14), transparent 28%, transparent 69%, rgba(0,0,0,.24));
}

.hero-video-vignette-reference {
    background:
        radial-gradient(circle at 43% 48%, transparent 0%, transparent 50%, rgba(0,0,0,.17) 78%, rgba(0,0,0,.34) 100%);
}

.site-header.is-home {
    min-height: 78px;
    background: rgba(5,4,12,.28);
    border-bottom: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(10px) saturate(112%);
}

.site-header.is-home .nav-wrap {
    min-height: 78px;
}

.site-header.is-home .brand-beta {
    display: none;
}

.site-header.is-home .brand-word {
    font-size: 25px;
    letter-spacing: .27em;
}

.site-header.is-home .brand-glyph {
    width: 45px;
    height: 45px;
    border-color: rgba(255,255,255,.58);
    background: linear-gradient(145deg, rgba(255,61,167,.24), rgba(22,13,42,.42));
    box-shadow: inset 0 0 28px rgba(255,0,126,.08);
}

.site-header.is-home .brand-glyph::after {
    background: #ff43b8;
    box-shadow: 0 0 12px rgba(255,67,184,.64);
}

.site-header.is-home .nav {
    gap: clamp(34px, 4vw, 66px);
    font-size: 13px;
    letter-spacing: .13em;
}

.site-header.is-home .nav a::after {
    background: #ff39ae;
    box-shadow: 0 0 10px rgba(255,57,174,.65);
}

.site-header.is-home .nav-cta {
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid rgba(255,79,204,.84);
    border-radius: 18px;
    background: rgba(10,8,20,.30);
    box-shadow: inset 0 0 20px rgba(255,20,169,.04), 0 0 18px rgba(255,28,172,.07);
}

.site-header.is-home .status-light {
    background: #4dffc2;
    box-shadow: 0 0 12px rgba(77,255,194,.95), 0 0 24px rgba(77,255,194,.38);
}

.countdown-sign {
    --cyan: #19efff;
    --cyan-soft: #9affff;
    --pink-neon: #ff27bf;
    position: absolute;
    z-index: 6;
    top: 78px;
    right: clamp(18px, 3.4vw, 70px);
    bottom: 0;
    width: clamp(190px, 15vw, 270px);
    display: grid;
    place-items: center;
    isolation: isolate;
}

.countdown-sign::before {
    content: '';
    position: absolute;
    inset: 2.8% 14% 3%;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(6,32,40,.94), rgba(2,12,19,.88) 48%, rgba(6,29,39,.94)),
        repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 8px);
    border: 1px solid rgba(72,239,255,.44);
    clip-path: polygon(12% 0, 88% 0, 100% 5%, 100% 94%, 88% 100%, 12% 100%, 0 94%, 0 5%);
    box-shadow:
        inset 0 0 26px rgba(15,238,255,.12),
        inset 0 0 2px rgba(255,255,255,.55),
        0 0 10px rgba(0,229,255,.26),
        0 0 34px rgba(0,222,255,.14),
        0 20px 55px rgba(0,0,0,.38);
}

.countdown-sign::after {
    content: '';
    position: absolute;
    inset: 4.5% 18% 4.8%;
    z-index: -1;
    border-left: 3px solid rgba(34,239,255,.86);
    border-right: 3px solid rgba(34,239,255,.86);
    box-shadow:
        inset 7px 0 12px -9px var(--cyan),
        inset -7px 0 12px -9px var(--cyan),
        -4px 0 14px rgba(25,239,255,.35),
        4px 0 14px rgba(25,239,255,.35);
    opacity: .9;
}

.countdown-sign-inner {
    position: relative;
    width: 63%;
    height: 88%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.25vh, 14px);
}

.sign-kicker,
.sign-date {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .22em;
    color: rgba(170,255,255,.82);
    text-shadow: 0 0 8px rgba(25,239,255,.38);
    white-space: nowrap;
}

.sign-time {
    width: 100%;
    display: grid;
    gap: clamp(5px, .8vh, 10px);
}

.sign-unit {
    position: relative;
    min-height: clamp(95px, 15vh, 150px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sign-unit:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(39,235,255,.28), transparent);
    box-shadow: 0 0 10px rgba(39,235,255,.12);
}

.sign-unit strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(58px, 5vw, 90px);
    font-weight: 400;
    line-height: .78;
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
    color: #69fbff;
    -webkit-text-stroke: 1px rgba(191,255,255,.25);
    text-shadow:
        0 0 4px rgba(211,255,255,.98),
        0 0 10px rgba(25,239,255,.95),
        0 0 24px rgba(25,239,255,.70),
        0 0 48px rgba(25,239,255,.35);
    filter: saturate(1.15);
}

.sign-unit span {
    margin-top: 8px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .22em;
    color: rgba(214,255,255,.88);
    text-shadow: 0 0 8px rgba(25,239,255,.25);
}

.countdown-sign-rail {
    position: absolute;
    z-index: 3;
    top: 8%;
    bottom: 8%;
    width: 5px;
    background: linear-gradient(180deg, transparent 0, var(--cyan) 7%, #b5ffff 50%, var(--cyan) 93%, transparent 100%);
    border-radius: 99px;
    box-shadow: 0 0 5px #fff, 0 0 14px var(--cyan), 0 0 30px rgba(25,239,255,.48);
}

.countdown-sign-rail-left { left: 13.5%; }
.countdown-sign-rail-right { right: 13.5%; }

.countdown-sign-cap {
    position: absolute;
    z-index: 2;
    left: 20%;
    right: 20%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyan), #d6ffff, var(--cyan), transparent);
    box-shadow: 0 0 12px var(--cyan), 0 0 22px rgba(25,239,255,.34);
}
.countdown-sign-cap-top { top: 5.2%; }
.countdown-sign-cap-bottom { bottom: 5.2%; }

.sign-keys {
    position: absolute;
    z-index: 4;
    top: 15%;
    right: -1%;
    bottom: 12%;
    width: 32%;
    pointer-events: none;
}

.neon-key {
    position: absolute;
    right: 0;
    width: 58px;
    height: 30px;
    filter: drop-shadow(0 0 4px var(--pink-neon)) drop-shadow(0 0 12px rgba(255,39,191,.68));
}

.neon-key::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    border: 4px solid var(--pink-neon);
    border-radius: 50%;
    box-shadow: inset 0 0 7px rgba(255,255,255,.3);
}

.neon-key::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 12px;
    width: 34px;
    height: 5px;
    background: var(--pink-neon);
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(255,255,255,.35);
}

.neon-key i,
.neon-key i::before {
    position: absolute;
    content: '';
    width: 5px;
    height: 10px;
    background: var(--pink-neon);
    top: 12px;
}
.neon-key i { left: 42px; }
.neon-key i::before { left: 10px; }

.key-1 { top: 7%; }
.key-2 { top: 32%; }
.key-3 { top: 58%; }
.key-4 { top: 83%; }

@media (max-width: 1100px) {
    .countdown-sign {
        right: 16px;
        width: 205px;
    }

    .site-header.is-home .nav {
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .site-header.is-home .nav { display: none; }
    .site-header.is-home .brand-word { font-size: 20px; }
    .site-header.is-home .brand-glyph { width: 40px; height: 40px; }
    .site-header.is-home .nav-cta { min-height: 42px; padding: 0 14px; border-radius: 14px; }

    .countdown-sign {
        top: auto;
        right: 10px;
        bottom: 12px;
        width: 132px;
        height: min(74vh, 560px);
    }

    .countdown-sign::before { inset: 2% 8% 2%; }
    .countdown-sign::after { inset: 4% 13% 4%; }
    .countdown-sign-inner { width: 72%; height: 90%; gap: 4px; }
    .countdown-sign-rail-left { left: 7.5%; }
    .countdown-sign-rail-right { right: 7.5%; }
    .countdown-sign-cap { left: 15%; right: 15%; }
    .sign-kicker, .sign-date { font-size: 6px; letter-spacing: .14em; }
    .sign-unit { min-height: 82px; }
    .sign-unit strong { font-size: clamp(44px, 13vw, 62px); }
    .sign-unit span { margin-top: 5px; font-size: 6px; letter-spacing: .14em; }
    .sign-keys { display: none; }
}

/* ========================================================================== */
/* Cyber countdown sign - HTML/CSS/SVG recreation of the neon reference       */
/* ========================================================================== */
.cyber-countdown {
    --cc-cyan: #18eaff;
    --cc-cyan-hot: #b9ffff;
    --cc-pink: #ff28b9;
    position: absolute;
    z-index: 7;
    top: 86px;
    right: clamp(20px, 4.2vw, 78px);
    bottom: 10px;
    width: clamp(230px, 17vw, 300px);
    min-height: 630px;
    max-height: 820px;
    isolation: isolate;
    overflow: visible;
    pointer-events: none;
}

.cyber-countdown::before {
    content: '';
    position: absolute;
    inset: 4% 17% 7%;
    z-index: -6;
    background: rgba(1, 10, 18, .72);
    filter: blur(16px);
    box-shadow: 0 0 80px rgba(17, 230, 255, .18), 0 0 130px rgba(255, 30, 181, .08);
}

.cyber-shell {
    position: absolute;
    z-index: -4;
    inset: 2.4% 15% 6%;
    clip-path: polygon(18% 0, 82% 0, 91% 3%, 91% 84%, 86% 89%, 75% 92%, 68% 100%, 50% 94%, 32% 100%, 25% 92%, 14% 89%, 9% 84%, 9% 3%);
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 7px),
        linear-gradient(90deg, rgba(14, 39, 49, .96), rgba(1, 8, 16, .985) 24%, rgba(2, 11, 20, .995) 50%, rgba(1, 8, 16, .985) 76%, rgba(14, 39, 49, .96));
    border: 1px solid rgba(47, 220, 239, .38);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.025),
        inset 0 0 26px rgba(22, 230, 255, .11),
        0 0 7px rgba(39, 234, 255, .48),
        0 0 24px rgba(39, 234, 255, .28),
        0 25px 55px rgba(0,0,0,.58);
}

.cyber-shell::before,
.cyber-shell::after {
    content: '';
    position: absolute;
    top: 4.5%;
    bottom: 11%;
    width: 8px;
    opacity: .75;
    background: repeating-linear-gradient(180deg, rgba(24,234,255,.72) 0 2px, transparent 2px 14px);
}
.cyber-shell::before { left: 7%; }
.cyber-shell::after { right: 7%; }

.cyber-circuit {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.cyber-circuit path { fill: none; stroke-linecap: square; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.cyber-circuit .circuit-dim { stroke: rgba(36, 179, 194, .33); stroke-width: 1.2; }
.cyber-circuit .circuit-hot { stroke: var(--cc-cyan); stroke-width: 2.2; }
.cyber-circuit .circuit-pink { stroke: var(--cc-pink); stroke-width: 1.8; }
.cyber-circuit .micro-bars { stroke: rgba(255, 40, 185, .85); stroke-width: 2.4; }

.cyber-rail {
    position: absolute;
    z-index: 0;
    top: 4%;
    bottom: 11%;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, var(--cc-cyan) 3%, var(--cc-cyan-hot) 48%, var(--cc-cyan) 97%, transparent);
    box-shadow:
        0 0 3px #fff,
        0 0 8px var(--cc-cyan),
        0 0 18px rgba(24,234,255,.95),
        0 0 38px rgba(24,234,255,.55);
}
.cyber-rail::before,
.cyber-rail::after {
    content: '';
    position: absolute;
    left: -5px;
    width: 14px;
    height: 2px;
    background: var(--cc-cyan);
    box-shadow: 0 0 8px var(--cc-cyan);
}
.cyber-rail::before { top: 10%; }
.cyber-rail::after { bottom: 13%; }
.rail-left { left: 17.2%; }
.rail-right { right: 17.2%; }

.cyber-display {
    position: absolute;
    z-index: 3;
    top: 4.5%;
    bottom: 12%;
    left: 28%;
    right: 28%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
}

.cyber-badge,
.cyber-date {
    flex: 0 0 auto;
    text-align: center;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .22em;
    color: rgba(183, 255, 255, .78);
    text-shadow: 0 0 8px rgba(24,234,255,.55);
}
.cyber-badge { margin-bottom: 3px; }
.cyber-date { margin-top: 5px; }

.cyber-unit {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(46, 224, 239, .08);
}
.cyber-unit:first-of-type { border-top: 0; }
.cyber-unit::before,
.cyber-unit::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 9px;
    height: 2px;
    background: rgba(255, 40, 185, .72);
    box-shadow: 0 0 7px rgba(255,40,185,.65);
}
.cyber-unit::before { left: -18px; }
.cyber-unit::after { right: -18px; }

.seven-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, .25vw, 5px);
}
.seven-digit {
    position: relative;
    display: block;
    width: clamp(31px, 2.25vw, 40px);
    height: clamp(54px, 3.9vw, 70px);
    filter: drop-shadow(0 0 2px rgba(185,255,255,.28));
}
.seg {
    position: absolute;
    display: block;
    opacity: .10;
    background: #0c6370;
    transition: opacity .12s linear, background .12s linear, box-shadow .12s linear;
}
.seg.is-on {
    opacity: 1;
    background: linear-gradient(90deg, #21dcec, #d0ffff 48%, #23deef);
    box-shadow:
        0 0 3px rgba(255,255,255,.95),
        0 0 7px rgba(24,234,255,.95),
        0 0 16px rgba(24,234,255,.82),
        0 0 30px rgba(24,234,255,.45);
}
.seg-a, .seg-g, .seg-d {
    left: 16%;
    width: 68%;
    height: 11%;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}
.seg-a { top: 1%; }
.seg-g { top: 44.5%; }
.seg-d { bottom: 1%; }
.seg-b, .seg-c, .seg-e, .seg-f {
    width: 14%;
    height: 39%;
    clip-path: polygon(50% 0, 100% 12%, 100% 88%, 50% 100%, 0 88%, 0 12%);
}
.seg-b { top: 7%; right: 2%; }
.seg-c { bottom: 7%; right: 2%; }
.seg-f { top: 7%; left: 2%; }
.seg-e { bottom: 7%; left: 2%; }

.cyber-unit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transform-origin: center center;
    transition: transform .16s ease;
}

.cyber-label {
    margin-top: 6px;
    font-size: clamp(6px, .48vw, 8px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: .22em;
    color: rgba(209,255,255,.88);
    text-shadow: 0 0 7px rgba(24,234,255,.42);
    white-space: nowrap;
}

.cyber-key {
    position: absolute;
    z-index: 5;
    width: 72px;
    height: 38px;
    filter: drop-shadow(0 0 3px #ff8ee0) drop-shadow(0 0 9px var(--cc-pink)) drop-shadow(0 0 18px rgba(255,40,185,.62));
}
.cyber-key::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 27px;
    height: 27px;
    border: 4px solid var(--cc-pink);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), inset 0 0 8px rgba(255,40,185,.54);
}
.cyber-key::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 15px;
    width: 43px;
    height: 5px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffb3eb, var(--cc-pink));
    box-shadow: 0 0 5px rgba(255,255,255,.25);
}
.cyber-key span,
.cyber-key span::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 15px;
    width: 5px;
    height: 12px;
    border-radius: 1px;
    background: var(--cc-pink);
}
.cyber-key span { left: 48px; }
.cyber-key span::before { left: 13px; top: 0; }
.key-a { top: 14%; right: -2%; }
.key-b { top: 35%; right: 1%; transform: scale(.88); }
.key-c { top: 57%; left: -2%; transform: rotate(180deg) scale(.92); }
.key-d { top: 78%; right: -1%; transform: scale(.9); }

.cyber-shards {
    position: absolute;
    z-index: -1;
    left: 28%;
    right: 28%;
    bottom: 2.5%;
    height: 11%;
    filter: drop-shadow(0 0 8px rgba(24,234,255,.42));
}
.cyber-shards i {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 52px;
    background: linear-gradient(180deg, rgba(24,234,255,.88), rgba(24,234,255,0));
    clip-path: polygon(0 0, 100% 14%, 55% 100%);
    transform-origin: top center;
}
.cyber-shards i:nth-child(1) { transform: translateX(-42px) rotate(17deg); height: 37px; }
.cyber-shards i:nth-child(2) { transform: translateX(-29px) rotate(-11deg); height: 58px; }
.cyber-shards i:nth-child(3) { transform: translateX(-14px) rotate(7deg); height: 45px; background: linear-gradient(180deg, rgba(255,40,185,.9), transparent); }
.cyber-shards i:nth-child(4) { transform: translateX(0) rotate(-2deg); height: 67px; }
.cyber-shards i:nth-child(5) { transform: translateX(14px) rotate(-15deg); height: 49px; background: linear-gradient(180deg, rgba(255,40,185,.82), transparent); }
.cyber-shards i:nth-child(6) { transform: translateX(28px) rotate(12deg); height: 41px; }
.cyber-shards i:nth-child(7) { transform: translateX(40px) rotate(-18deg); height: 31px; }

@media (max-width: 1100px) {
    .cyber-countdown {
        right: 12px;
        width: 230px;
    }
    .cyber-display { left: 27%; right: 27%; }
    .cyber-key { transform: scale(.82); transform-origin: center; }
    .key-c { transform: rotate(180deg) scale(.82); }
}

@media (max-width: 760px) {
    .cyber-countdown {
        top: 78px;
        right: 4px;
        bottom: 4px;
        width: 158px;
        min-height: 510px;
    }
    .cyber-shell { inset: 3% 10% 6%; }
    .rail-left { left: 12%; }
    .rail-right { right: 12%; }
    .cyber-display { left: 22%; right: 22%; top: 5%; bottom: 13%; }
    .seven-digit { width: 27px; height: 48px; }
    .cyber-label { font-size: 6px; letter-spacing: .14em; }
    .cyber-badge, .cyber-date { font-size: 5px; letter-spacing: .14em; }
    .cyber-key { display: none; }
    .cyber-shards { left: 24%; right: 24%; }
}


/* ========================================================================== */
/* Compact floating cyber countdown — bouncing + orientation switching         */
/* ========================================================================== */
.cyber-countdown-mover {
    --cc-scale: .34;
    --cc-short: 88.4px;   /* 260 * .34 */
    --cc-long: 278.8px;   /* 820 * .34 */
    --cc-x: 0px;
    --cc-y: 86px;
    position: absolute;
    z-index: 7;
    top: 0;
    left: 0;
    width: var(--cc-short);
    height: var(--cc-long);
    transform: translate3d(var(--cc-x), var(--cc-y), 0);
    will-change: transform;
    pointer-events: none;
    overflow: visible;
}

.cyber-countdown-mover.is-horizontal {
    width: var(--cc-long);
    height: var(--cc-short);
}

.cyber-countdown {
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 260px !important;
    height: 820px !important;
    min-height: 0 !important;
    max-height: none !important;
    transform: scale(var(--cc-scale)) !important;
    transform-origin: top left !important;
    will-change: transform, filter;
    transition: filter .12s ease;
}

/* Rotate the whole physical sign after a side impact. The translate compensates
   for the negative X extent created by a 90deg clockwise rotation. */
.cyber-countdown-mover.is-horizontal .cyber-countdown {
    transform: translateX(var(--cc-long)) scale(var(--cc-scale)) rotate(90deg) !important;
}

/* When the physical sign lies horizontally, counter-rotate all readable
   information so the digits and labels stay upright on screen. */
.cyber-countdown-mover.is-horizontal .cyber-unit-content,
.cyber-countdown-mover.is-horizontal .cyber-badge,
.cyber-countdown-mover.is-horizontal .cyber-date {
    transform: rotate(-90deg);
}

.cyber-countdown-mover.is-horizontal .cyber-unit-content {
    min-width: 92px;
}

/* Tiny flash when the sign touches an edge. */
.cyber-countdown.is-bouncing {
    filter: brightness(1.22) saturate(1.16);
}

@media (max-width: 760px) {
    .cyber-countdown-mover {
        --cc-scale: .27;
        --cc-short: 70.2px;  /* 260 * .27 */
        --cc-long: 221.4px;  /* 820 * .27 */
    }

    .cyber-countdown {
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        width: 260px !important;
        height: 820px !important;
        min-height: 0 !important;
        max-height: none !important;
        transform: scale(var(--cc-scale)) !important;
        transform-origin: top left !important;
    }

    .cyber-countdown-mover.is-horizontal .cyber-countdown {
        transform: translateX(var(--cc-long)) scale(var(--cc-scale)) rotate(90deg) !important;
    }

    .cyber-countdown-mover.is-horizontal .cyber-unit-content,
    .cyber-countdown-mover.is-horizontal .cyber-badge,
    .cyber-countdown-mover.is-horizontal .cyber-date {
        transform: rotate(-90deg);
    }

    .cyber-shell { inset: 2.4% 15% 6% !important; }
    .rail-left { left: 17.2% !important; }
    .rail-right { right: 17.2% !important; }
    .cyber-display { left: 28% !important; right: 28% !important; top: 4.5% !important; bottom: 12% !important; }
    .seven-digit { width: clamp(31px, 2.25vw, 40px) !important; height: clamp(54px, 3.9vw, 70px) !important; }
    .cyber-label { font-size: clamp(6px, .48vw, 8px) !important; letter-spacing: .22em !important; }
    .cyber-badge, .cyber-date { font-size: 7px !important; letter-spacing: .22em !important; }
    .cyber-key { display: block !important; }
    .cyber-shards { left: 28% !important; right: 28% !important; }
}

@media (prefers-reduced-motion: reduce) {
    .cyber-countdown-mover {
        --cc-x: calc(100vw - 120px);
        --cc-y: 96px;
        will-change: auto;
    }
    .cyber-countdown { will-change: auto; }
}

/* ========================================================================== */
/* Weapon wheel navigation — lightweight SVG, reference geometry             */
/* ========================================================================== */
.weapon-wheel-trigger {
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 5100;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0,0,0,.66);
    cursor: pointer;
    transition: border-color .14s ease, background .14s ease, transform .14s ease, opacity .14s ease;
}
.weapon-wheel-trigger:hover,
.weapon-wheel-trigger:focus-visible {
    outline: none;
    border-color: rgba(255,255,255,.76);
    background: rgba(0,0,0,.88);
    transform: translateY(-2px);
}
.weapon-wheel-trigger-icon { position: relative; width: 24px; height: 18px; display: block; }
.weapon-wheel-trigger-icon i { position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; border-radius: 10px; }
.weapon-wheel-trigger-icon i:nth-child(1) { top: 0; }
.weapon-wheel-trigger-icon i:nth-child(2) { top: 8px; }
.weapon-wheel-trigger-icon i:nth-child(3) { bottom: 0; }
body.weapon-wheel-open .weapon-wheel-trigger { opacity: 0; pointer-events: none; }

.weapon-wheel-overlay[hidden] { display: none !important; }
.weapon-wheel-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No backdrop-filter: blurring a fullscreen moving video was the main source of jank. */
    background: linear-gradient(rgba(4,8,18,.70), rgba(4,8,18,.70)), rgba(5,21,255,.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s linear, visibility .12s linear;
}
body.weapon-wheel-open { overflow: hidden; }
body.weapon-wheel-open .weapon-wheel-overlay { opacity: 1; visibility: visible; }

.weapon-wheel-close {
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 5200;
    min-width: 58px;
    height: 58px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: rgba(0,0,0,.78);
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}
.weapon-wheel-close i,
.weapon-wheel-close i::after { width: 17px; height: 2px; background: currentColor; display: block; content: ''; }
.weapon-wheel-close i { transform: rotate(45deg); }
.weapon-wheel-close i::after { transform: rotate(90deg); }

.weapon-wheel-stage {
    width: min(92vw, 660px);
    aspect-ratio: 1;
    opacity: 0;
    transform: scale(.985);
    transition: opacity .12s linear, transform .14s ease-out;
    contain: layout paint;
}
body.weapon-wheel-open .weapon-wheel-stage { opacity: 1; transform: scale(1); }

.weapon-wheel-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    /* The old version rotated the complete SVG and counter-rotated text in CSS.
       Browser SVG transform-box differences caused labels to jump. The 22deg
       rotation is now baked directly into the PHP sector coordinates. */
    transform: none;
}
.weapon-wheel-outline { fill: none; stroke: rgba(0,0,0,.42); stroke-width: 4; pointer-events: none; }
.weapon-wheel-hole { fill: rgba(0,0,0,.48); stroke: rgba(0,0,0,.42); stroke-width: 5; pointer-events: none; }

.weapon-wheel-link { cursor: pointer; outline: none; color: #fff; }
.weapon-wheel-slice {
    fill: rgba(255,255,255,.27);
    stroke: rgba(0,0,0,.38);
    stroke-width: 5px;
    transition: fill .10s linear, stroke .10s linear, stroke-width .10s linear;
}
.weapon-wheel-link.active-weapon .weapon-wheel-slice {
    stroke: rgb(82,149,177);
    stroke-width: 10px;
}
.weapon-wheel-link:hover .weapon-wheel-slice,
.weapon-wheel-link:focus-visible .weapon-wheel-slice {
    fill: rgba(255,255,255,.96);
    stroke: rgba(255,255,255,.96);
    stroke-width: 2px;
}

/* Important: content remains in native SVG coordinates. No CSS SVG transforms. */
.weapon-wheel-content { color: #fff; pointer-events: none; }
.weapon-wheel-link:hover .weapon-wheel-content,
.weapon-wheel-link:focus-visible .weapon-wheel-content { color: #101114; }
.weapon-wheel-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.weapon-wheel-label {
    fill: currentColor;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}
.weapon-wheel-center-copy { pointer-events: none; }
#hovered-page-name {
    fill: #fff;
    stroke: rgba(0,0,0,.9);
    stroke-width: 1.2px;
    paint-order: stroke;
    font-family: var(--body);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
}
.weapon-wheel-center-sub {
    fill: rgba(255,255,255,.64);
    font-family: var(--body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

@media (max-width: 700px) {
    .weapon-wheel-stage { width: min(98vw, 560px); }
    .weapon-wheel-trigger,
    .weapon-wheel-close { right: 16px; bottom: 16px; width: 54px; min-width: 54px; height: 54px; }
    .weapon-wheel-close span { display: none; }
    .weapon-wheel-label { font-size: 12px; }
    #hovered-page-name { font-size: 22px; }
}
@media (max-width: 430px) {
    .weapon-wheel-stage { width: 360px; max-width: 96vw; }
    .weapon-wheel-label { font-size: 10px; letter-spacing: .5px; }
    #hovered-page-name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .weapon-wheel-overlay,
    .weapon-wheel-stage,
    .weapon-wheel-slice { transition: none; }
}
