/* VALHALLA ASCENDANT vx4-20261005 - generated by build.py from src/css; edit the sources, not this file */
/* VALHALLA ASCENDANT type: Tektur (display), Syncopate (the wordmark), Saira (interface),
   Martian Mono (figures). Self-hosted woff2 (SIL OFL 1.1, via fontsource); no font host is contacted. */
@font-face { font-family: "VX Tektur"; font-style: normal; font-display: swap; font-weight: 400 900; font-stretch: 75% 100%; src: url("./fonts/vx-tektur.woff2") format("woff2-variations"), url("./fonts/vx-tektur.woff2") format("woff2"); }
@font-face { font-family: "VX Syncopate"; font-style: normal; font-display: swap; font-weight: 700; src: url("./fonts/vx-syncopate-700.woff2") format("woff2"); }
@font-face { font-family: "VX Saira"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 50% 125%; src: url("./fonts/vx-saira.woff2") format("woff2-variations"), url("./fonts/vx-saira.woff2") format("woff2"); }
@font-face { font-family: "VX Martian"; font-style: normal; font-display: swap; font-weight: 100 800; font-stretch: 75% 112.5%; src: url("./fonts/vx-martian.woff2") format("woff2-variations"), url("./fonts/vx-martian.woff2") format("woff2"); }

/* ========================================================= THE ONE INTRO ===
   WELCOME TO VALHALLA INTELLIGENCE - THE GATES ARE OPEN (vx-intro.js) */
.vx-intro { position: fixed; inset: 0; z-index: 2147482000; overflow: hidden; background: #010104; color: #fff; cursor: pointer; contain: strict;
    font-family: "VX Tektur", "Bahnschrift", sans-serif; opacity: 0; transition: opacity 420ms ease; }
.vx-intro.is-run { opacity: 1; }
.vx-intro.is-release { opacity: 0; transition: opacity 1000ms cubic-bezier(0.7, 0, 0.2, 1); pointer-events: none; }
body.vx-intro-on { overflow: hidden; }
.vx-intro-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

/* the light behind the gates */
.vx-intro-light { position: absolute; inset: -10%; z-index: 1; opacity: 0; transform: scaleX(0.02);
    background: radial-gradient(16% 62% at 50% 44%, #ffffff 0%, #fff4d6 22%, rgba(255, 214, 140, 0.85) 42%, transparent 72%),
        radial-gradient(46% 60% at 50% 44%, rgba(245, 194, 90, 0.55) 0%, rgba(142, 124, 255, 0.28) 55%, transparent 78%);
    transition: opacity 600ms ease, transform 1500ms cubic-bezier(0.16, 1, 0.3, 1); }
.vx-intro.is-seam .vx-intro-light { opacity: 0.35; }
.vx-intro.is-open .vx-intro-light { opacity: 1; transform: scaleX(1); }
.vx-intro.is-light .vx-intro-light { transform: scale(1.6); opacity: 0.85; }
.vx-intro-rays { position: absolute; inset: -30%; z-index: 1; opacity: 0; pointer-events: none;
    background: repeating-conic-gradient(from 0deg at 50% 44%, rgba(255, 236, 190, 0.22) 0deg 2.2deg, transparent 2.2deg 9deg);
    -webkit-mask: radial-gradient(circle at 50% 44%, #000 0%, rgba(0, 0, 0, 0.6) 22%, transparent 58%); mask: radial-gradient(circle at 50% 44%, #000 0%, rgba(0, 0, 0, 0.6) 22%, transparent 58%);
    transition: opacity 900ms ease; animation: vx-rays 24s linear infinite; }
.vx-intro.is-open .vx-intro-rays { opacity: 1; }
.vx-intro.is-light .vx-intro-rays { opacity: 0.7; }
@keyframes vx-rays { to { transform: rotate(360deg); } }

/* the gates */
.vx-gates { position: absolute; inset: 0; z-index: 2; perspective: 1600px; perspective-origin: 50% 44%; }
.vx-gate { position: absolute; top: 0; bottom: 0; width: 50.2%; overflow: hidden; backface-visibility: visible; transform-style: preserve-3d;
    background:
        linear-gradient(180deg, transparent 0 15.5%, rgba(255, 220, 150, 0.08) 15.5% 16.2%, rgba(0, 0, 0, 0.55) 16.2% 18.6%, rgba(255, 220, 150, 0.06) 18.6% 19.2%, transparent 19.2% 80.8%, rgba(255, 220, 150, 0.06) 80.8% 81.4%, rgba(0, 0, 0, 0.55) 81.4% 83.8%, rgba(255, 220, 150, 0.08) 83.8% 84.5%, transparent 84.5%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0 2px, transparent 2px 9.6%),
        radial-gradient(120% 70% at 50% 46%, #1c1610 0%, #0e0b08 55%, #050403 100%);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.9);
    transition: transform 1700ms cubic-bezier(0.65, 0, 0.18, 1), filter 1700ms ease; }
.vx-gate-l { left: 0; transform-origin: 0% 50%; }
.vx-gate-r { right: 0; transform-origin: 100% 50%; }
.vx-gate-art { position: absolute; top: 0; height: 100%; width: 100%; left: 0; }
.vx-gate-r .vx-gate-art { left: auto; right: 0; }
.vx-gate-mark { position: absolute; z-index: 1; opacity: 0.0; filter: grayscale(1) sepia(1) saturate(2.6) hue-rotate(-8deg) brightness(0.62) contrast(1.25) drop-shadow(0 0 0 rgba(245, 194, 90, 0));
    transition: opacity 900ms ease, filter 900ms ease; }
.vx-intro.is-runes .vx-gate-mark { opacity: 0.9; }
.vx-intro.is-gates .vx-gate-mark { filter: grayscale(1) sepia(1) saturate(3) hue-rotate(-8deg) brightness(1.15) contrast(1.15) drop-shadow(0 0 14px rgba(245, 194, 90, 0.9)); }
.vx-gate-rings circle { fill: none; stroke: rgba(245, 194, 90, 0.16); stroke-width: 2; }
.vx-gate-rings circle:nth-child(2) { stroke-width: 1; stroke-dasharray: 2 10; }
.vx-gate-rings circle:nth-child(4) { stroke: rgba(245, 194, 90, 0.08); stroke-width: 1; }
.vx-intro.is-gates .vx-gate-rings circle { stroke: rgba(255, 216, 144, 0.4); transition: stroke 500ms ease; }
.vx-gate-glyphs path, .vx-gate-column path { fill: none; stroke: #ffd890; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 90; stroke-dashoffset: 90; opacity: 0.15; filter: drop-shadow(0 0 6px rgba(245, 194, 90, 0.9));
    transition: stroke-dashoffset 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease; transition-delay: calc(var(--i, 0) * 90ms); }
.vx-intro.is-runes .vx-gate-glyphs path, .vx-intro.is-runes .vx-gate-column path { stroke-dashoffset: 0; opacity: 1; }
.vx-intro.is-charge .vx-gate-glyphs path, .vx-intro.is-charge .vx-gate-column path { animation: vx-rune-pulse 1100ms ease-in-out infinite; animation-delay: calc(var(--i, 0) * -70ms); }
@keyframes vx-rune-pulse { 0%, 100% { filter: drop-shadow(0 0 6px rgba(245, 194, 90, 0.9)); } 50% { filter: drop-shadow(0 0 14px #f5c25a) drop-shadow(0 0 30px rgba(245, 194, 90, 0.65)); } }
.vx-intro.is-charge .vx-gate-rings circle { stroke: rgba(255, 216, 144, 0.28); transition: stroke 900ms ease; }
.vx-intro.is-gates .vx-gate-glyphs path, .vx-intro.is-gates .vx-gate-column path { stroke: #fff4d8; filter: drop-shadow(0 0 10px #f5c25a) drop-shadow(0 0 22px rgba(245, 194, 90, 0.7)); transition-delay: 0ms; animation: none; }
.vx-gate-edge { position: absolute; top: 0; bottom: 0; width: 18px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(70, 52, 22, 0.6) 40%, rgba(0, 0, 0, 0.9)); }
.vx-gate-l .vx-gate-edge { right: 0; }
.vx-gate-r .vx-gate-edge { left: 0; }
.vx-seam { position: absolute; z-index: 3; left: 50%; top: 50%; width: 2px; height: 0; margin-left: -1px; transform: translateY(-50%); border-radius: 2px;
    background: linear-gradient(180deg, transparent, #fff6dd 20%, #fff 50%, #fff6dd 80%, transparent);
    box-shadow: 0 0 18px 4px rgba(245, 194, 90, 0.9), 0 0 60px 14px rgba(245, 194, 90, 0.45);
    transition: height 1100ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease; }
.vx-intro.is-seam .vx-seam { height: 100%; }
.vx-intro.is-gates .vx-seam { width: 5px; margin-left: -2.5px; box-shadow: 0 0 30px 10px rgba(255, 236, 190, 1), 0 0 120px 40px rgba(245, 194, 90, 0.6); }
.vx-intro.is-open .vx-seam { opacity: 0; }
.vx-intro.is-charge .vx-seam { animation: vx-seam-flicker 1600ms steps(1, end) infinite; }
@keyframes vx-seam-flicker { 0%, 100% { opacity: 1; } 31% { opacity: 0.55; } 34% { opacity: 1; } 71% { opacity: 0.7; } 73% { opacity: 1; } }
.vx-intro.is-gates .vx-seam { animation: none; }
.vx-intro.is-gates .vx-gate { animation: vx-gate-strain 480ms ease-in-out 4; }
@keyframes vx-gate-strain { 0%, 100% { translate: 0 0; } 25% { translate: -2px 1px; } 50% { translate: 2px -1px; } 75% { translate: -1px 0; } }
.vx-intro.is-open .vx-gate-l { transform: rotateY(-76deg) translateZ(0); filter: brightness(0.75) saturate(1.2); }
.vx-intro.is-open .vx-gate-r { transform: rotateY(76deg) translateZ(0); filter: brightness(0.75) saturate(1.2); }

/* the mark at the heart of the light */
.vx-intro-mark { position: absolute; z-index: 5; left: 50%; top: 44%; width: clamp(110px, 16vmin, 190px); aspect-ratio: 1; transform: translate(-50%, -50%) scale(0.4); opacity: 0;
    transition: transform 1400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease; }
.vx-intro-mark img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 24px rgba(255, 236, 190, 0.95)) drop-shadow(0 0 60px rgba(245, 194, 90, 0.7)); }
.vx-intro.is-open .vx-intro-mark { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.vx-intro-mark::before { content: ""; position: absolute; inset: -40%; border-radius: 50%; border: 2px solid rgba(255, 236, 190, 0.8); opacity: 0; }
.vx-intro.is-open .vx-intro-mark::before { animation: vx-intro-ring 1600ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes vx-intro-ring { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }

/* the words */
.vx-intro-title { position: absolute; z-index: 6; left: 0; right: 0; top: 77%; display: grid; justify-items: center; gap: 0.7rem; padding: 0 1rem; text-align: center; pointer-events: none; }
.vx-it-pre { font-family: "VX Martian", monospace; font-size: clamp(0.7rem, 1.4vw, 1rem); letter-spacing: 0.9em; padding-left: 0.9em; color: #ffe6a3; opacity: 0; transform: translateY(8px); filter: blur(6px);
    transition: opacity 700ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms ease, letter-spacing 1400ms cubic-bezier(0.16, 1, 0.3, 1); text-shadow: 0 0 14px rgba(245, 194, 90, 0.8); }
.vx-intro.is-words .vx-it-pre { opacity: 1; transform: none; filter: none; letter-spacing: 0.6em; }
.vx-intro-title strong { display: block; font-weight: 900; font-size: clamp(1.7rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: 0.08em; white-space: nowrap; }
.vx-intro-title strong span { display: inline-block; opacity: 0; transform: translateY(0.35em) scale(1.35); filter: blur(10px);
    background: linear-gradient(180deg, #fffaf0 10%, #ffe3a3 45%, #f5c25a 60%, #a8741c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: none; transition: opacity 600ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms ease; transition-delay: calc(var(--i, 0) * 78ms); }
.vx-intro-title strong .vx-sp { width: 0.4em; }
.vx-intro.is-name .vx-intro-title strong span { opacity: 1; transform: none; filter: drop-shadow(0 0 18px rgba(245, 194, 90, 0.55)); }
.vx-intro-title em { font-style: normal; font-family: "VX Saira", sans-serif; font-weight: 700; font-stretch: 125%; font-size: clamp(0.85rem, 2.1vw, 1.5rem); letter-spacing: 0.5em; padding-left: 0.5em; color: #fff;
    text-shadow: 0 0 18px rgba(255, 236, 190, 0.9), 0 0 50px rgba(245, 194, 90, 0.7); white-space: nowrap; }
.vx-intro-title em span { display: inline-block; opacity: 0; transform: scale(1.4); filter: blur(12px); transition: opacity 500ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms ease; }
.vx-intro.is-gates .vx-intro-title em span:first-child, .vx-intro.is-are .vx-intro-title em span:last-child { opacity: 1; transform: none; filter: none; }
.vx-intro.is-open .vx-intro-title em { animation: vx-em-burn 1400ms ease-out; }
@keyframes vx-em-burn { 0% { text-shadow: 0 0 26px #fff, 0 0 80px rgba(245, 194, 90, 1); } 100% { text-shadow: 0 0 18px rgba(255, 236, 190, 0.9), 0 0 50px rgba(245, 194, 90, 0.7); } }
.vx-intro.is-light .vx-intro-title { transition: transform 1600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 1200ms ease; transform: translateY(-6vh) scale(0.94); }

/* thunder */
.vx-intro-flash { position: absolute; inset: 0; z-index: 7; background: #fff; opacity: 0; pointer-events: none; }
.vx-intro.is-seam .vx-intro-flash { animation: vx-boom-breath 900ms ease-out; }
@keyframes vx-boom-breath { 0% { opacity: 0.28; background: #ffcf7a; } 100% { opacity: 0; background: #ffcf7a; } }
.vx-intro.is-gates .vx-intro-flash { animation: vx-glow-pulse 1800ms ease-out; }
@keyframes vx-glow-pulse { 0% { opacity: 0; background: #ffe2a0; } 18% { opacity: 0.16; background: #ffe2a0; } 100% { opacity: 0; background: #ffe2a0; } }
.vx-intro.is-open .vx-intro-flash { animation: vx-thunder-2 1200ms ease-out; }
@keyframes vx-thunder { 0% { opacity: 0; } 8% { opacity: 0.85; } 16% { opacity: 0.1; } 24% { opacity: 0.6; } 100% { opacity: 0; } }
@keyframes vx-thunder-2 { 0% { opacity: 0.95; background: #fff8e6; } 100% { opacity: 0; } }

/* controls */
.vx-intro-ui { position: absolute; z-index: 9; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; gap: 0.5rem; }
.vx-intro-ui button { min-height: 44px; padding: 0 1.1rem; border-radius: 999px; cursor: pointer; font-family: "VX Saira", sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.24em;
    color: #ffe6a3; background: rgba(10, 8, 4, 0.65); border: 1px solid rgba(245, 194, 90, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 200ms, color 200ms; }
.vx-intro-ui button:hover { background: rgba(245, 194, 90, 0.2); color: #fff; }
.vx-intro-ui button:focus-visible { outline: 2px solid #f5c25a; outline-offset: 3px; }
.vx-intro-sound { color: #1c1200 !important; background: linear-gradient(160deg, #fff1c4, #f5c25a) !important; animation: vx-sound-call 1.6s ease-in-out infinite; }
@keyframes vx-sound-call { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 194, 90, 0.6); } 50% { box-shadow: 0 0 0 10px rgba(245, 194, 90, 0); } }
@media (max-width: 640px) { .vx-intro-title { top: 72%; } .vx-it-pre { letter-spacing: 0.5em; } .vx-intro.is-words .vx-it-pre { letter-spacing: 0.4em; } .vx-intro-title strong { letter-spacing: 0.03em; } .vx-intro-title em { letter-spacing: 0.3em; padding-left: 0.3em; } }
@media (max-width: 380px) { .vx-intro-title em { letter-spacing: 0.18em; padding-left: 0.18em; font-size: 0.78rem; } }
@media (prefers-reduced-motion: reduce) { .vx-intro { display: none !important; } }

.vx-intro-mark3d { position: absolute; left: -45%; top: -45%; width: 190%; height: 190%; pointer-events: none; filter: drop-shadow(0 0 30px rgba(255, 236, 190, 0.85)) drop-shadow(0 0 70px rgba(245, 194, 90, 0.55)); }
.vx-intro-mark.has-3d img { opacity: 0; }

/* ---------------------------------------------------------------- LOW EFFECTS (vx-fx.js): the switch, bottom right */
.vx-fx { position: fixed; z-index: 88; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 0.5rem; margin: 0;
    padding: 0.45rem 0.55rem 0.45rem 0.65rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(8, 10, 14, 0.84); color: rgba(240, 244, 250, 0.88);
    font: 700 10.5px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); opacity: 0.8; transition: opacity 0.2s, transform 0.2s, border-color 0.2s; }
.vx-fx:hover, .vx-fx:focus-visible { opacity: 1; transform: translateY(-1px); border-color: var(--vx-accent, #ffd27a); }
.vx-fx:focus-visible { outline: 2px solid var(--vx-accent, #ffd27a); outline-offset: 2px; }
.vx-fx svg { width: 14px; height: 14px; flex: none; fill: currentColor; }
.vx-fx-sw { position: relative; width: 26px; height: 14px; flex: none; border-radius: 7px; background: rgba(255, 255, 255, 0.2); transition: background 0.2s; }
.vx-fx-sw i { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform 0.2s, background 0.2s; }
.vx-fx[aria-pressed="true"] { opacity: 0.95; color: #fff; border-color: var(--vx-accent, #ffd27a); }
.vx-fx[aria-pressed="true"] .vx-fx-sw { background: var(--vx-accent, #ffd27a); }
.vx-fx[aria-pressed="true"] .vx-fx-sw i { transform: translateX(12px); background: #111; }
@media (max-width: 640px) { .vx-fx { padding: 0.55rem; gap: 0.4rem; } .vx-fx .vx-fx-txt { display: none; } }
@media print { .vx-fx { display: none !important; } }
/* ---------------------------------------------------------------- LOW EFFECTS: what it turns off */
html.vx-low .vx-sparks, html.vx-low .vx-sigil-fx { display: none !important; }
html.vx-low *, html.vx-low *::before, html.vx-low *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.vx-low * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.vx-low .vx-tilt { transform: none !important; }
html.vx-low::view-transition-old(root), html.vx-low::view-transition-new(root) { animation: none !important; }
