:root {
    --ink: #050d1a;
    --ink-soft: #09162a;
    --paper: #f5f7fb;
    --muted: #aeb9c8;
    --silver: #dce4ef;
    --blue: #4c7fff;
    --blue-bright: #8fb4ff;
    --line: rgba(205, 221, 244, 0.17);
    --glass: rgba(8, 19, 36, 0.68);
    --sans: "Aptos", "Inter", "Segoe UI", Arial, sans-serif;
    --serif: "Iowan Old Style", "Baskerville", "Bodoni 72", "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    background: var(--ink);
}

body {
    color: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 4px;
}

::selection {
    color: white;
    background: var(--blue);
}

.experience {
    position: fixed;
    inset: 0;
    isolation: isolate;
    overflow: hidden;
    touch-action: none;
    background:
        radial-gradient(circle at 74% 48%, rgba(41, 84, 156, 0.19), transparent 22%),
        radial-gradient(circle at 43% 112%, rgba(28, 72, 145, 0.23), transparent 41%),
        linear-gradient(135deg, #050c18 0%, #071326 54%, #050c18 100%);
}

.experience::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(2, 7, 14, 0.22), transparent 38%, transparent 72%, rgba(3, 8, 17, 0.18)),
        radial-gradient(ellipse at 72% 49%, transparent 0 11%, rgba(4, 12, 24, 0.22) 36%, rgba(3, 8, 16, 0.52) 82%);
}

.tunnel-canvas {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.world {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    perspective: 1100px;
}

.world::before,
.world::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.world::before {
    z-index: 0;
    top: -31vh;
    right: -17vw;
    width: min(78vw, 1240px);
    aspect-ratio: 1;
    opacity: 0.34;
    border: 1px solid rgba(125, 163, 226, 0.16);
    box-shadow:
        inset 0 0 110px rgba(68, 111, 188, 0.08),
        0 0 140px rgba(57, 103, 194, 0.08);
    transform: rotate(-16deg) scale(1.04);
    animation: ambient-orbit 31s ease-in-out infinite alternate;
}

.world::after {
    z-index: 0;
    top: 8vh;
    right: -10vw;
    width: min(54vw, 880px);
    height: 76vh;
    opacity: 0.3;
    background:
        radial-gradient(ellipse at 35% 48%, transparent 0 35%, rgba(114, 156, 232, 0.14) 35.5% 36%, transparent 37% 48%, rgba(79, 124, 207, 0.09) 48.5% 49%, transparent 50%),
        radial-gradient(ellipse at 49% 54%, rgba(87, 128, 205, 0.09), transparent 62%);
    filter: blur(2px);
    transform: rotate(7deg);
    animation: ambient-wave 24s ease-in-out infinite alternate;
}

.grain {
    position: absolute;
    inset: -45%;
    opacity: 0.15;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 0.6px, transparent 0.9px),
        radial-gradient(circle, rgba(75, 122, 216, 0.13) 0 0.6px, transparent 0.85px);
    background-position: 0 0, 8px 11px;
    background-size: 13px 13px, 17px 17px;
    mask-image: radial-gradient(circle at 68% 48%, #000, transparent 72%);
    animation: grain-shift 15s steps(4) infinite;
}

.light-gates {
    position: absolute;
    z-index: 1;
    top: -13vh;
    right: 2vw;
    width: min(44vw, 730px);
    height: 91vh;
    opacity: 0.62;
    overflow: visible;
    border-radius: 48% 52% 58% 42% / 24% 28% 72% 76%;
    mask-image: radial-gradient(ellipse at 47% 47%, #000 0 50%, rgba(0, 0, 0, 0.86) 67%, transparent 91%);
    transform: perspective(850px) rotateY(-6deg) rotateZ(2deg);
    transform-origin: 50% 50%;
    filter:
        blur(0.5px)
        drop-shadow(0 0 52px rgba(99, 145, 238, 0.2));
    transition:
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.75s ease,
        filter 0.75s ease;
}

.light-gates::before,
.light-gates::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
}

.light-gates::before {
    top: 2%;
    left: 23%;
    width: 54%;
    height: 94%;
    opacity: 0.36;
    border: 1px solid rgba(198, 221, 255, 0.15);
    background: radial-gradient(ellipse at 44% 58%, rgba(172, 204, 255, 0.12), transparent 58%);
    filter: blur(4px);
    transform: rotate(8deg);
}

.light-gates::after {
    top: 14%;
    left: 37%;
    width: 25%;
    height: 73%;
    opacity: 0.68;
    background: linear-gradient(180deg, transparent, rgba(244, 249, 255, 0.52) 32%, rgba(177, 210, 255, 0.2) 72%, transparent);
    box-shadow:
        0 0 66px rgba(204, 225, 255, 0.22),
        0 0 140px rgba(81, 135, 234, 0.18);
    filter: blur(11px);
    transform: rotate(5deg);
}

.light-gates i {
    position: absolute;
    display: block;
    border: 1px solid rgba(188, 212, 248, 0.07);
    border-radius: 52% 48% 63% 37% / 19% 31% 69% 81%;
    background:
        radial-gradient(ellipse at 58% 55%, rgba(193, 217, 249, 0.16), transparent 56%),
        linear-gradient(180deg, rgba(48, 77, 121, 0.34), rgba(111, 150, 210, 0.14) 56%, transparent 88%);
    box-shadow:
        inset 0 0 58px rgba(153, 187, 235, 0.06),
        0 0 40px rgba(77, 119, 196, 0.06);
    transform-origin: 50% 58%;
    animation: gate-breathe 12s ease-in-out infinite alternate;
}

.light-gates i:nth-child(1) {
    top: -4%;
    left: 0;
    width: 42%;
    height: 101%;
    opacity: 0.48;
    transform: rotate(10deg);
}

.light-gates i:nth-child(2) {
    top: 1%;
    left: 20%;
    width: 42%;
    height: 94%;
    opacity: 0.64;
    border-radius: 47% 53% 42% 58% / 17% 24% 76% 83%;
    background:
        radial-gradient(ellipse at 46% 58%, rgba(228, 238, 252, 0.2), transparent 54%),
        linear-gradient(180deg, rgba(81, 119, 177, 0.38), rgba(190, 215, 249, 0.18) 57%, transparent 90%);
    transform: rotate(-3deg);
    animation-delay: -3.2s;
}

.light-gates i:nth-child(3) {
    top: 5%;
    left: 42%;
    width: 28%;
    height: 86%;
    opacity: 0.82;
    border-radius: 48% 52% 59% 41% / 14% 22% 78% 86%;
    background:
        radial-gradient(ellipse at 45% 54%, rgba(255, 255, 255, 0.38), transparent 50%),
        linear-gradient(180deg, rgba(111, 151, 211, 0.41), rgba(246, 250, 255, 0.62) 54%, rgba(196, 221, 255, 0.09) 82%, transparent);
    box-shadow:
        0 0 84px rgba(199, 222, 255, 0.24),
        inset 0 0 52px rgba(255, 255, 255, 0.14);
    transform: rotate(5deg);
    animation-delay: -6.4s;
}

.light-gates i:nth-child(4) {
    top: -1%;
    left: 59%;
    width: 41%;
    height: 99%;
    opacity: 0.4;
    border-radius: 43% 57% 66% 34% / 22% 17% 83% 78%;
    background:
        radial-gradient(ellipse at 38% 55%, rgba(187, 214, 250, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(48, 77, 121, 0.26), rgba(106, 140, 195, 0.1) 57%, transparent);
    transform: rotate(-8deg);
    animation-delay: -9.1s;
}

.portal-core {
    position: absolute;
    z-index: 3;
    top: 16vh;
    right: clamp(16vw, 19vw, 360px);
    width: clamp(26px, 4.1vw, 72px);
    height: 49vh;
    border-radius: 64% 36% 56% 44% / 18% 31% 69% 82%;
    opacity: 0.86;
    background:
        linear-gradient(180deg, transparent, rgba(244, 248, 255, 0.76) 17%, #fff 55%, rgba(180, 211, 255, 0.25) 83%, transparent);
    box-shadow:
        0 0 28px rgba(230, 240, 255, 0.44),
        0 0 94px rgba(89, 137, 231, 0.37),
        0 0 170px rgba(50, 101, 210, 0.22);
    filter: blur(1.5px);
    transform: translateZ(20px) rotate(4deg);
    transition:
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease,
        filter 0.6s ease;
    animation: portal-pulse 5.8s ease-in-out infinite;
}

.cloud-bank {
    position: absolute;
    z-index: 4;
    top: -10vh;
    bottom: -14vh;
    width: min(63vw, 1000px);
    opacity: 0.78;
    filter: blur(8px) saturate(88%);
    transition:
        transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.7s ease,
        filter 0.7s ease;
    will-change: transform;
}

.cloud-bank::before,
.cloud-bank::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.cloud-bank::before {
    inset: 7% 2% 23% 5%;
    background:
        radial-gradient(ellipse at 56% 14%, rgba(89, 119, 167, 0.32) 0 12%, transparent 38%),
        radial-gradient(ellipse at 69% 37%, rgba(84, 113, 157, 0.5) 0 16%, transparent 43%),
        radial-gradient(ellipse at 55% 63%, rgba(43, 70, 111, 0.74) 0 24%, transparent 53%),
        radial-gradient(ellipse at 74% 78%, rgba(104, 133, 178, 0.33) 0 15%, transparent 45%);
    box-shadow: inset 0 0 90px rgba(8, 20, 38, 0.36);
}

.cloud-bank::after {
    width: 74%;
    height: 48%;
    bottom: 0;
    background:
        radial-gradient(ellipse at 56% 44%, rgba(69, 97, 140, 0.48), transparent 54%),
        radial-gradient(ellipse at 23% 67%, rgba(30, 52, 83, 0.73), transparent 61%);
}

.cloud-bank i {
    position: absolute;
    display: block;
    width: 38%;
    aspect-ratio: 1.45;
    border-radius: 50%;
    opacity: 0.68;
    background:
        radial-gradient(ellipse at 58% 48%, rgba(130, 157, 197, 0.27), rgba(61, 89, 132, 0.24) 42%, transparent 72%);
    box-shadow:
        inset 20px 10px 32px rgba(183, 204, 231, 0.06),
        0 0 34px rgba(50, 78, 124, 0.12);
    animation: cloud-breathe 11s ease-in-out infinite alternate;
}

.cloud-bank i:nth-child(1) {
    top: 4%;
    left: 34%;
}

.cloud-bank i:nth-child(2) {
    top: 29%;
    left: 48%;
    width: 46%;
    animation-delay: -3s;
}

.cloud-bank i:nth-child(3) {
    top: 54%;
    left: 30%;
    width: 52%;
    animation-delay: -6s;
}

.cloud-bank i:nth-child(4) {
    top: 73%;
    left: 54%;
    width: 36%;
    animation-delay: -8s;
}

.cloud-left {
    left: -30vw;
    transform: translate3d(0, 0, 70px) rotate(2deg);
}

.cloud-left::after {
    left: 9%;
}

.cloud-right {
    right: -30vw;
    transform: translate3d(0, 0, 80px) scaleX(-1) rotate(1deg);
}

.cloud-right::after {
    right: 9%;
}

.cloud-haze {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: 0.52;
    background:
        radial-gradient(ellipse at 73% 51%, transparent 0 8%, rgba(83, 116, 166, 0.14) 18%, transparent 39%),
        radial-gradient(ellipse at 70% 96%, rgba(69, 105, 172, 0.13), transparent 44%);
    transition: opacity 0.7s ease, transform 1.1s ease;
}

.experience.is-traveling .cloud-left {
    opacity: 0.42;
    filter: blur(13px) saturate(105%);
    transform: translate3d(-22vw, 0, 190px) scale(1.2) rotate(-4deg);
}

.experience.is-traveling .cloud-right {
    opacity: 0.42;
    filter: blur(13px) saturate(105%);
    transform: translate3d(22vw, 0, 190px) scaleX(-1) scale(1.2) rotate(-4deg);
}

.experience.is-traveling .light-gates {
    opacity: 0.96;
    filter: drop-shadow(0 0 80px rgba(127, 172, 255, 0.4));
    transform: perspective(850px) rotateY(-2deg) scale(1.12) translateZ(120px);
}

.experience.is-traveling .portal-core {
    opacity: 1;
    filter: blur(0);
    transform: translateZ(260px) rotate(4deg) scale(1.55);
}

.experience.is-traveling .cloud-haze {
    opacity: 0.85;
    transform: scale(1.15);
}

.experience-header {
    position: absolute;
    z-index: 30;
    top: max(20px, env(safe-area-inset-top));
    left: clamp(24px, 4.5vw, 76px);
    right: clamp(24px, 4.5vw, 76px);
    min-height: 62px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    pointer-events: none;
}

.experience-header button {
    pointer-events: auto;
}

.brand {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: 11px;
    pointer-events: auto;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-grid;
    place-content: center;
    gap: 4px;
    border: 1px solid rgba(180, 207, 244, 0.22);
    border-radius: 11px;
    background: rgba(7, 17, 32, 0.5);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.menu-toggle i {
    width: 17px;
    height: 1px;
    display: block;
    background: #b9cdf2;
    transition: transform 0.22s ease, opacity 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
    border-color: rgba(144, 183, 255, 0.55);
    background: rgba(51, 91, 175, 0.3);
    transform: translateY(-1px);
}

.menu-toggle[aria-expanded="true"] i:first-child {
    transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] i:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

.brand img {
    display: block;
    width: clamp(166px, 13.5vw, 224px);
    height: auto;
    opacity: 0.93;
    filter:
        brightness(1.32)
        contrast(0.92)
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.38));
}

.header-status {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8c5d6;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.header-status strong {
    font-weight: 650;
}

.contact-shortcut {
    justify-self: end;
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #e5edfa;
    font-size: 0.72rem;
    font-weight: 680;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(147, 181, 243, 0.3);
    border-radius: 999px;
    background: rgba(36, 71, 143, 0.22);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-shortcut:hover {
    color: white;
    border-color: rgba(140, 177, 255, 0.55);
    background: rgba(61, 103, 196, 0.3);
    transform: translateY(-2px);
}

.contact-shortcut i {
    color: var(--blue-bright);
    font-style: normal;
    transition: transform 0.2s ease;
}

.contact-shortcut:hover i {
    transform: translateX(3px);
}

.scene-stack {
    position: absolute;
    z-index: 10;
    inset: 0;
    perspective: 1200px;
    pointer-events: none;
}

.scene {
    position: absolute;
    inset:
        clamp(102px, 12vh, 138px)
        clamp(62px, 8vw, 150px)
        clamp(90px, 11vh, 120px)
        clamp(62px, 10.5vw, 190px);
    display: grid;
    align-content: center;
    opacity: 0;
    pointer-events: none;
    transform-style: preserve-3d;
    will-change: opacity, transform, filter;
    transition:
        opacity 0.7s ease,
        transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s ease;
}

.scene.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.scene.is-past {
    opacity: 0;
    transform: translate3d(0, 0, 390px) scale(1.18);
    filter: blur(12px);
}

.scene.is-future {
    opacity: 0;
    transform: translate3d(0, 0, -540px) scale(0.74);
    filter: blur(14px);
}

.experience.is-traveling:not(.is-arriving) .scene.is-active {
    opacity: 0;
    filter: blur(8px);
}

.experience.is-traveling[data-direction="forward"]:not(.is-arriving) .scene.is-active {
    transform: translate3d(0, 0, 510px) scale(1.22);
}

.experience.is-traveling[data-direction="backward"]:not(.is-arriving) .scene.is-active {
    transform: translate3d(0, 0, -420px) scale(0.8);
}

.experience.is-arriving .scene.is-active {
    animation: scene-arrive 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.scene-copy {
    position: relative;
    z-index: 4;
    width: min(710px, 58vw);
}

.eyebrow {
    margin: 0 0 24px;
    color: #91b4ff;
    font-size: clamp(0.64rem, 0.7vw, 0.76rem);
    font-weight: 750;
    letter-spacing: 0.22em;
    line-height: 1.5;
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1,
h2 {
    margin: 0;
    color: #f6f8fb;
    font-weight: 390;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

h1 {
    max-width: 860px;
    font-size: clamp(4.2rem, 7.2vw, 8rem);
}

h2 {
    max-width: 820px;
    font-size: clamp(3.5rem, 5.3vw, 6.25rem);
}

h1 em,
h2 em {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.045em;
}

.hero-copy {
    width: min(850px, 61vw);
    transform: translateY(1vh);
}

.hero-lead,
.scene-lead {
    max-width: 650px;
    margin: 34px 0 0;
    color: #b7c2d0;
    font-size: clamp(1rem, 1.25vw, 1.28rem);
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.primary-action {
    min-height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 690;
    cursor: pointer;
}

.primary-action {
    min-width: 230px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: white;
    border: 1px solid rgba(138, 175, 255, 0.34);
    background:
        linear-gradient(100deg, #315fe8, #4f7df1 52%, #3157c7);
    box-shadow:
        0 16px 50px rgba(32, 80, 200, 0.24),
        inset 0 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-action > span {
    position: relative;
    z-index: 2;
}

.primary-action::after {
    position: absolute;
    z-index: 1;
    top: -45%;
    bottom: -45%;
    left: 0;
    width: 36%;
    content: "";
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(245, 250, 255, 0.64), transparent);
    filter: blur(2px);
    transform: translateX(-160%) skewX(-17deg);
}

.primary-action.is-passage-light::after {
    animation: passage-light 0.95s ease-out both;
}

.primary-action.is-passage-heartbeat {
    animation: passage-heartbeat 0.82s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.primary-action:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 60px rgba(32, 80, 200, 0.34),
        inset 0 1px rgba(255, 255, 255, 0.22);
}

@keyframes passage-light {
    0% {
        opacity: 0;
        transform: translateX(-160%) skewX(-17deg);
    }
    18% {
        opacity: 0.34;
    }
    62% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateX(420%) skewX(-17deg);
    }
}

@keyframes passage-heartbeat {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow:
            0 16px 50px rgba(32, 80, 200, 0.24),
            inset 0 1px rgba(255, 255, 255, 0.2);
    }
    32% {
        transform: translateY(-1px) scale(1.026);
        box-shadow:
            0 20px 64px rgba(87, 139, 255, 0.52),
            0 0 0 5px rgba(113, 157, 255, 0.11),
            inset 0 1px rgba(255, 255, 255, 0.28);
    }
    56% {
        transform: translateY(0) scale(0.995);
    }
    76% {
        transform: translateY(-1px) scale(1.014);
    }
}

.threshold-note {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(183, 200, 223, 0.6);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.threshold-note i {
    color: var(--blue-bright);
    font-style: normal;
    animation: nudge-down 1.8s ease-in-out infinite;
}

.history-scene {
    align-content: space-between;
}

.timeline {
    position: relative;
    z-index: 5;
    width: min(1100px, 78vw);
    margin-top: 7vh;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(194, 214, 241, 0.16);
}

.timeline article {
    position: relative;
    min-height: 150px;
    padding: 23px 26px 18px 0;
}

.timeline article::before {
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    content: "";
    border-radius: 50%;
    background: #75849a;
    box-shadow: 0 0 0 5px rgba(112, 135, 171, 0.08);
}

.timeline article.now::before {
    background: var(--blue-bright);
    box-shadow: 0 0 0 7px rgba(76, 127, 255, 0.11), 0 0 24px rgba(88, 137, 255, 0.55);
}

.timeline time,
.timeline strong,
.timeline span {
    display: block;
}

.timeline time {
    color: #90b2fa;
    font-size: 0.69rem;
    font-weight: 720;
    letter-spacing: 0.16em;
}

.timeline strong {
    margin-top: 16px;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    font-weight: 600;
}

.timeline span {
    max-width: 210px;
    margin-top: 7px;
    color: #8f9cac;
    font-size: 0.86rem;
}

.today-scene {
    grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
    align-items: center;
    gap: 3vw;
}

.today-scene .scene-copy {
    width: auto;
}

.today-scene h2 {
    font-size: clamp(3.4rem, 4.7vw, 5.6rem);
}

.system-map {
    position: relative;
    justify-self: end;
    width: min(620px, 42vw);
    aspect-ratio: 1.35;
}

.system-map::before,
.system-map::after {
    position: absolute;
    inset: 11%;
    content: "";
    border: 1px solid rgba(151, 179, 223, 0.16);
    border-radius: 50%;
    animation: orbit-spin 25s linear infinite;
}

.system-map::after {
    inset: 23%;
    border-color: rgba(109, 151, 230, 0.24);
    animation-direction: reverse;
    animation-duration: 19s;
}

.system-center,
.system-node {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(179, 205, 240, 0.18);
    background:
        linear-gradient(145deg, rgba(18, 38, 67, 0.78), rgba(6, 17, 33, 0.5));
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.system-center {
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    padding: 30px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 25px rgba(60, 102, 186, 0.03),
        0 0 80px rgba(63, 113, 216, 0.16);
}

.system-center small {
    color: #8dacf0;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
}

.system-center strong {
    margin-top: 8px;
    font-size: 1.2rem;
    font-weight: 570;
}

.system-node {
    width: 190px;
    min-height: 100px;
    padding: 18px 20px;
    border-radius: 20px;
}

.system-node span,
.system-node strong,
.system-node small {
    display: block;
}

.system-node span {
    color: #719cff;
    font-size: 0.63rem;
    letter-spacing: 0.14em;
}

.system-node strong {
    margin-top: 8px;
    font-size: 1.05rem;
}

.system-node small {
    margin-top: 3px;
    color: #8f9cac;
}

.node-one {
    top: 5%;
    left: 0;
}

.node-two {
    top: 8%;
    right: 0;
}

.node-three {
    right: 9%;
    bottom: 0;
}

.works-scene,
.legacy-scene {
    align-content: space-between;
}

.compact-copy {
    width: min(890px, 74vw);
}

.compact-copy h2 {
    font-size: clamp(3.3rem, 4.7vw, 5.7rem);
}

.project-rack {
    position: relative;
    z-index: 4;
    width: min(1120px, 80vw);
    margin-top: 5vh;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.project-card {
    min-width: 0;
    margin: 0;
    padding: 13px;
    overflow: hidden;
    border: 1px solid rgba(190, 213, 242, 0.17);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(15, 32, 57, 0.82), rgba(6, 16, 31, 0.58));
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    transform: perspective(700px) rotateY(-2deg);
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.project-card:hover {
    z-index: 3;
    border-color: rgba(126, 166, 255, 0.38);
    transform: perspective(700px) rotateY(0) translateY(-7px);
}

.project-card img,
.project-placeholder {
    display: block;
    width: 100%;
    height: clamp(150px, 21vh, 230px);
    border-radius: 15px;
    object-fit: cover;
}

.project-placeholder {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 75% 22%, rgba(83, 133, 245, 0.22), transparent 32%),
        linear-gradient(135deg, #12284a, #081528);
}

.project-placeholder span {
    color: #91b1f5;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
}

.project-placeholder strong {
    margin-top: 7px;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
    font-style: italic;
    font-weight: 400;
}

.project-card p {
    margin: 13px 7px 5px;
    color: #a9b6c6;
    font-size: 0.82rem;
}

.legacy-window {
    position: relative;
    z-index: 5;
    width: min(950px, 72vw);
    margin-top: 4vh;
    overflow: hidden;
    color: #1c2735;
    border: 1px solid rgba(219, 229, 242, 0.28);
    border-radius: 25px;
    background: #edf1f5;
    box-shadow:
        0 34px 100px rgba(0, 0, 0, 0.34),
        0 0 70px rgba(78, 120, 198, 0.09);
}

.legacy-bar {
    height: 38px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8390a0;
    background: linear-gradient(#f7f8fa, #dbe1e8);
    border-bottom: 1px solid #cbd3dc;
}

.legacy-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aab4bf;
}

.legacy-bar span {
    margin-left: auto;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
}

.legacy-tabs {
    padding: 0 13px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    background: #dae0e7;
}

.legacy-tabs button {
    min-height: 42px;
    color: white;
    border: 0;
    border-radius: 11px 11px 0 0;
    background: linear-gradient(#1648b9, #073186);
    cursor: pointer;
}

.legacy-tabs button[aria-selected="true"] {
    color: #243043;
    background: linear-gradient(#fff, #edf0f3);
}

.legacy-panel {
    min-height: 215px;
    padding: 27px 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 30px;
    background: linear-gradient(110deg, #fff, #eef1f4);
}

.legacy-panel small {
    color: #1747ad;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.legacy-panel h3 {
    margin: 9px 0;
    font-size: clamp(1.55rem, 2.2vw, 2.25rem);
    font-weight: 480;
    line-height: 1.08;
}

.legacy-panel p {
    margin: 0;
    color: #687485;
}

.legacy-panel img {
    width: 100%;
    max-height: 215px;
    object-fit: contain;
    background: #dce3eb;
    border: 7px solid white;
    border-radius: 5px;
    box-shadow: -8px 11px 24px rgba(31, 43, 58, 0.2);
    animation: legacy-image 0.42s ease;
}

.contact-scene {
    grid-template-columns: minmax(330px, 0.9fr) minmax(460px, 1.1fr);
    align-items: center;
    gap: clamp(34px, 7vw, 120px);
}

.contact-intro h2 {
    font-size: clamp(3.6rem, 5.2vw, 6rem);
}

.contact-intro > p:not(.eyebrow) {
    max-width: 520px;
    margin: 24px 0 16px;
    color: #aeb9c8;
}

.contact-intro > a {
    color: #93b5ff;
    font-weight: 650;
    text-decoration: none;
}

.contact-email {
    width: min(520px, 36vw);
    margin: 10px 0 0;
    display: block;
    color: #b5ccff !important;
    font-size: clamp(1.04rem, 1.3vw, 1.3rem);
    letter-spacing: 0.015em;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 22px rgba(101, 151, 255, 0.3);
}

.contact-email:hover {
    color: white !important;
}

.map-window {
    position: relative;
    width: min(520px, 36vw);
    height: 150px;
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid rgba(181, 207, 243, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(110deg, transparent 0 28%, rgba(91, 132, 216, 0.23) 28.5% 29.5%, transparent 30%),
        linear-gradient(8deg, transparent 0 48%, rgba(60, 103, 188, 0.18) 48.5% 49.5%, transparent 50%),
        #09172b;
}

.map-lines {
    position: absolute;
    inset: -40%;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(144, 172, 216, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(144, 172, 216, 0.14) 1px, transparent 1px);
    background-size: 48px 48px;
    transform-origin: center;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-window.zoom-1 .map-lines {
    transform: scale(1.55) rotate(2deg);
}

.map-window.zoom-2 .map-lines {
    transform: scale(2.35) rotate(-3deg);
}

.map-window > i {
    position: absolute;
    top: 47%;
    left: 54%;
    width: 16px;
    height: 16px;
    border: 4px solid white;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 12px rgba(76, 127, 255, 0.12), 0 0 30px rgba(76, 127, 255, 0.55);
}

.map-window > span {
    position: absolute;
    left: 14px;
    bottom: 12px;
    padding: 9px 12px;
    display: grid;
    color: #8090a5;
    font-size: 0.56rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    border: 1px solid rgba(179, 204, 239, 0.12);
    border-radius: 12px;
    background: rgba(5, 14, 27, 0.78);
}

.map-window > span strong {
    margin-top: 2px;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
}

.map-dots {
    position: absolute;
    right: 14px;
    bottom: 17px;
    display: flex;
    gap: 6px;
}

.map-dots button {
    width: 18px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #52637b;
    cursor: pointer;
}

.map-dots button[aria-pressed="true"] {
    background: #86acff;
}

.contact-form {
    position: relative;
    z-index: 5;
    align-self: center;
    padding: clamp(22px, 2.3vw, 35px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border: 1px solid rgba(186, 210, 242, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 0%, rgba(62, 109, 215, 0.13), transparent 36%),
        rgba(8, 20, 38, 0.67);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.contact-form::after {
    position: absolute;
    z-index: 10;
    inset: -1px;
    content: "";
    pointer-events: none;
    opacity: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(244, 249, 255, 0.72), rgba(174, 205, 255, 0.2) 44%, transparent 74%);
}

.contact-form.is-flashed::after {
    animation: contact-form-flash 0.52s ease-out both;
}

.contact-form label {
    position: relative;
    display: grid;
    gap: 6px;
}

.contact-form label.contact-field-nudge::after {
    position: absolute;
    z-index: 2;
    top: 21px;
    bottom: 0;
    left: 0;
    width: 26%;
    content: "";
    opacity: 0;
    pointer-events: none;
    border-radius: 12px;
    background: linear-gradient(90deg, transparent, rgba(208, 225, 255, 0.24), transparent);
    filter: blur(2px);
    transform: translateX(-170%) skewX(-17deg);
}

.contact-form label.contact-field-nudge.is-field-light::after {
    animation: contact-field-light 0.58s ease-out both;
}

.contact-form label > span {
    color: #a6b4c5;
    font-size: 0.7rem;
    font-weight: 640;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    color: white;
    border: 1px solid rgba(180, 207, 242, 0.15);
    border-radius: 12px;
    background: rgba(3, 11, 23, 0.38);
    outline: 0;
    touch-action: manipulation;
}

.contact-form input,
.contact-form select {
    height: 44px;
    padding: 0 13px;
}

.contact-form textarea {
    min-height: 82px;
    padding: 11px 13px;
    resize: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(119, 160, 255, 0.58);
    box-shadow: 0 0 0 3px rgba(76, 127, 255, 0.08);
}

.contact-form select {
    color-scheme: dark;
}

.contact-form select option {
    color: #edf4ff;
    background: #11213a;
}

.wide-field,
.contact-form > button,
.contact-form > small,
.form-feedback {
    grid-column: 1 / -1;
}

.contact-form > button {
    min-height: 49px;
    padding: 0 17px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-weight: 700;
    border: 1px solid rgba(136, 173, 255, 0.34);
    border-radius: 13px;
    background: linear-gradient(100deg, #3565ec, #4877e6);
    cursor: pointer;
}

.contact-form > button > span,
.contact-form > button > i {
    position: relative;
    z-index: 2;
}

.contact-form > button::after {
    position: absolute;
    z-index: 1;
    top: -48%;
    bottom: -48%;
    left: 0;
    width: 36%;
    content: "";
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(245, 250, 255, 0.52), transparent);
    filter: blur(2px);
    transform: translateX(-160%) skewX(-17deg);
}

.contact-form > button.is-contact-light::after {
    animation: contact-button-light 0.95s ease-out both;
}

.contact-form > button.is-contact-heartbeat:not(:disabled) {
    animation: contact-button-heartbeat 0.82s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.contact-form > button:disabled {
    opacity: 0.62;
    cursor: wait;
}

@keyframes contact-button-light {
    0% {
        opacity: 0;
        transform: translateX(-160%) skewX(-17deg);
    }
    18% {
        opacity: 0.26;
    }
    62% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateX(420%) skewX(-17deg);
    }
}

@keyframes contact-button-heartbeat {
    0%,
    100% {
        transform: scale(1);
        box-shadow: none;
    }
    32% {
        transform: scale(1.012);
        box-shadow: 0 0 0 3px rgba(114, 158, 255, 0.09);
    }
    56% {
        transform: scale(0.998);
    }
    76% {
        transform: scale(1.006);
    }
}

@keyframes contact-field-light {
    0% {
        opacity: 0;
        transform: translateX(-170%) skewX(-17deg);
    }
    20% {
        opacity: 0.08;
    }
    60% {
        opacity: 0.16;
    }
    100% {
        opacity: 0;
        transform: translateX(420%) skewX(-17deg);
    }
}

.contact-form > button i {
    font-style: normal;
}

.contact-form > small {
    color: #748296;
    font-size: 0.62rem;
}

.contact-form > small a {
    color: #a4baf0;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-feedback {
    min-height: 0;
    margin: 0;
    color: #9ab8f6;
    font-size: 0.72rem;
}

.form-feedback.is-error {
    color: #ffaaa8;
}

.chapter-nav {
    position: absolute;
    z-index: 30;
    left: clamp(24px, 4.5vw, 76px);
    top: 50%;
    display: grid;
    gap: 12px;
    transform: translateY(-50%);
}

.chapter-nav button {
    width: 112px;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(174, 190, 211, 0.45);
    font-size: 0.59rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: color 0.25s ease;
}

.chapter-nav button i {
    width: 12px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: width 0.3s ease, background 0.3s ease;
}

.chapter-nav button:hover {
    color: #ccd6e3;
}

.chapter-nav button.is-active {
    color: #a9c3ff;
}

.chapter-nav button.is-active i {
    width: 28px;
    background: #76a0ff;
    box-shadow: 0 0 12px rgba(102, 151, 255, 0.55);
}

.travel-controls {
    position: absolute;
    z-index: 30;
    right: clamp(24px, 4.5vw, 76px);
    bottom: max(24px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 9px;
}

.travel-controls button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(189, 211, 241, 0.17);
    border-radius: 50%;
    background: rgba(7, 17, 32, 0.48);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.travel-controls button:disabled {
    color: #526073;
    cursor: default;
}

.travel-controls span {
    min-width: 62px;
    color: #8392a5;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    text-align: center;
}

.noscript-message {
    position: fixed;
    z-index: 100;
    inset: auto 20px 20px;
    padding: 16px;
    color: #172031;
    border-radius: 12px;
    background: white;
}

@keyframes gate-breathe {
    from {
        filter: brightness(0.86) blur(0.4px);
    }
    to {
        filter: brightness(1.12) blur(1.6px);
    }
}

@keyframes ambient-orbit {
    from {
        opacity: 0.22;
        transform: rotate(-19deg) scale(0.98) translate3d(-1.5%, 0, 0);
    }
    to {
        opacity: 0.42;
        transform: rotate(-11deg) scale(1.08) translate3d(1.5%, 1%, 0);
    }
}

@keyframes ambient-wave {
    from {
        opacity: 0.2;
        transform: rotate(4deg) scale(0.96) translate3d(-2%, -1%, 0);
    }
    to {
        opacity: 0.36;
        transform: rotate(10deg) scale(1.05) translate3d(2%, 1.5%, 0);
    }
}

@keyframes portal-pulse {
    0%,
    100% {
        opacity: 0.72;
        box-shadow:
            0 0 28px rgba(230, 240, 255, 0.36),
            0 0 94px rgba(89, 137, 231, 0.26),
            0 0 170px rgba(50, 101, 210, 0.16);
    }
    50% {
        opacity: 0.96;
        box-shadow:
            0 0 34px rgba(239, 247, 255, 0.54),
            0 0 112px rgba(101, 151, 247, 0.45),
            0 0 190px rgba(50, 101, 210, 0.26);
    }
}

@keyframes cloud-breathe {
    from {
        transform: translate3d(-1.5%, -1%, 0) scale(0.96);
        opacity: 0.5;
    }
    to {
        transform: translate3d(2%, 1.5%, 0) scale(1.08);
        opacity: 0.78;
    }
}

@keyframes grain-shift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    33% {
        transform: translate3d(1.5%, -1%, 0);
    }
    66% {
        transform: translate3d(-1%, 1.5%, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes nudge-down {
    0%,
    100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(4px);
    }
}

@keyframes scene-arrive {
    from {
        opacity: 0;
        transform: translate3d(0, 0, -440px) scale(0.76);
        filter: blur(14px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes legacy-image {
    from {
        opacity: 0;
        transform: translateY(7px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1120px) {
    .scene {
        left: 115px;
        right: 60px;
    }

    .today-scene {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .system-map {
        width: 45vw;
    }

    .contact-scene {
        gap: 40px;
    }
}

@media (max-width: 820px) {
    .experience-header {
        top: max(12px, env(safe-area-inset-top));
        left: 18px;
        right: 18px;
        grid-template-columns: 1fr auto;
    }

    .brand img {
        width: 146px;
    }

    .header-status {
        display: none;
    }

    .contact-shortcut {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.64rem;
    }

    .light-gates {
        top: -4vh;
        right: -3vw;
        width: 48vw;
        height: 57vh;
        opacity: 0.48;
    }

    .portal-core {
        top: 13vh;
        right: 20vw;
        height: 38vh;
        opacity: 0.65;
    }

    .cloud-bank {
        width: 92vw;
    }

    .cloud-left {
        left: -63vw;
    }

    .cloud-right {
        right: -62vw;
    }

    .scene {
        inset:
            88px
            18px
            84px
            18px;
    }

    .scene-copy,
    .hero-copy,
    .compact-copy {
        width: 100%;
    }

    .eyebrow {
        margin-bottom: 15px;
        font-size: 0.58rem;
    }

    h1 {
        max-width: 620px;
        font-size: clamp(3.45rem, 14.8vw, 6.2rem);
    }

    h2,
    .today-scene h2,
    .compact-copy h2,
    .contact-intro h2 {
        font-size: clamp(2.65rem, 10.8vw, 4.3rem);
    }

    .hero-lead,
    .scene-lead {
        max-width: 520px;
        margin-top: 23px;
        font-size: 0.96rem;
    }

    .hero-actions {
        margin-top: 25px;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .primary-action {
        width: 100%;
        min-height: 50px;
    }

    .threshold-note {
        bottom: 4px;
        font-size: 0.56rem;
    }

    .chapter-nav {
        left: 50%;
        top: auto;
        bottom: max(22px, env(safe-area-inset-bottom));
        display: flex;
        gap: 12px;
        transform: translateX(-50%);
    }

    .chapter-nav button {
        width: 16px;
        height: 18px;
        padding: 0;
        justify-content: center;
    }

    .chapter-nav button i {
        width: 5px;
        height: 5px;
        border-radius: 50%;
    }

    .chapter-nav button.is-active i {
        width: 20px;
        border-radius: 5px;
    }

    .chapter-nav button span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .travel-controls {
        right: 15px;
        bottom: max(15px, env(safe-area-inset-bottom));
    }

    .travel-controls span {
        display: none;
    }

    .travel-controls button {
        width: 36px;
        height: 36px;
    }

    .history-scene,
    .works-scene,
    .legacy-scene {
        align-content: center;
    }

    .timeline {
        width: 100%;
        margin-top: 5vh;
        grid-template-columns: repeat(2, 1fr);
        border-top: 0;
        gap: 9px;
    }

    .timeline article {
        min-height: 110px;
        padding: 14px;
        border: 1px solid rgba(185, 209, 240, 0.13);
        border-radius: 15px;
        background: rgba(8, 21, 40, 0.45);
        backdrop-filter: blur(12px);
    }

    .timeline article::before {
        display: none;
    }

    .timeline strong {
        margin-top: 7px;
        font-size: 0.92rem;
    }

    .timeline span {
        margin-top: 3px;
        font-size: 0.72rem;
    }

    .today-scene {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 24px;
    }

    .system-map {
        justify-self: stretch;
        width: 100%;
        aspect-ratio: 1.45;
    }

    .system-center {
        width: 120px;
        height: 120px;
        padding: 18px;
    }

    .system-center strong {
        font-size: 0.9rem;
    }

    .system-node {
        width: 145px;
        min-height: 80px;
        padding: 12px 14px;
        border-radius: 15px;
    }

    .system-node strong {
        margin-top: 4px;
        font-size: 0.88rem;
    }

    .system-node small {
        font-size: 0.68rem;
    }

    .project-rack {
        width: 100%;
        margin-top: 4vh;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .project-card {
        padding: 7px;
        border-radius: 16px;
        transform: none;
    }

    .project-card img,
    .project-placeholder {
        height: clamp(110px, 22vh, 180px);
        border-radius: 10px;
    }

    .project-placeholder {
        padding: 10px;
    }

    .project-placeholder span {
        font-size: 0.44rem;
    }

    .project-placeholder strong {
        font-size: 1.05rem;
    }

    .project-card p {
        margin: 7px 3px 2px;
        font-size: 0.58rem;
    }

    .legacy-window {
        width: 100%;
        margin-top: 3vh;
        border-radius: 18px;
    }

    .legacy-tabs button {
        min-height: 38px;
        font-size: 0.7rem;
    }

    .legacy-panel {
        min-height: 245px;
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .legacy-panel h3 {
        font-size: 1.45rem;
    }

    .legacy-panel p {
        font-size: 0.8rem;
    }

    .legacy-panel img {
        max-height: 105px;
    }

    .contact-scene {
        grid-template-columns: 0.78fr 1.22fr;
        gap: 14px;
    }

    .contact-intro > p:not(.eyebrow) {
        margin: 12px 0 8px;
        font-size: 0.78rem;
    }

    .contact-intro > a {
        font-size: 0.78rem;
    }

    .map-window {
        width: 100%;
        height: 105px;
        margin-top: 13px;
        border-radius: 15px;
    }

    .contact-form {
        padding: 15px;
        grid-template-columns: 1fr;
        gap: 8px;
        border-radius: 19px;
    }

    .contact-form label,
    .wide-field,
    .contact-form > button,
    .contact-form > small,
    .form-feedback {
        grid-column: 1;
    }

    .contact-form input,
    .contact-form select {
        height: 38px;
    }

    .contact-form textarea {
        min-height: 58px;
    }

    .contact-form > button {
        min-height: 42px;
    }

    .contact-form > small {
        font-size: 0.51rem;
    }
}

@media (max-width: 560px) {
    .contact-scene {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 14px;
    }

    .contact-intro h2 {
        max-width: 340px;
        font-size: clamp(2.45rem, 10vw, 3.4rem);
    }

    .contact-intro > p:not(.eyebrow) {
        display: none;
    }

    .map-window {
        position: absolute;
        top: 100px;
        right: 0;
        width: 42%;
        height: 92px;
        margin: 0;
    }

    .map-window > span {
        left: 7px;
        bottom: 7px;
        padding: 6px 8px;
    }

    .map-dots {
        right: 8px;
        bottom: 9px;
    }

    .contact-form {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form label {
        grid-column: span 1;
    }

    .contact-form .wide-field,
    .contact-form > button,
    .contact-form > small,
    .form-feedback {
        grid-column: 1 / -1;
    }

    .contact-form label:nth-of-type(4) {
        grid-column: 1 / -1;
    }
}

@media (max-height: 720px) {
    .experience-header {
        top: 10px;
    }

    .brand img {
        width: 140px;
    }

    .scene {
        inset: 72px 18px 64px;
    }

    .eyebrow {
        margin-bottom: 11px;
    }

    .hero-lead {
        margin-top: 14px;
    }

    .hero-actions {
        margin-top: 16px;
    }

    .threshold-note {
        display: none;
    }

    .timeline {
        margin-top: 18px;
    }

    .timeline article {
        min-height: 94px;
    }

    .project-rack,
    .legacy-window {
        margin-top: 14px;
    }

    .project-card img,
    .project-placeholder {
        height: 120px;
    }

    .legacy-panel {
        min-height: 190px;
    }

    .map-window {
        height: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Expanded 2026 experience */

.text-link {
    width: fit-content;
    margin-top: 28px;
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a9c3ff;
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid rgba(142, 179, 255, 0.38);
}

.text-link span {
    transition: transform 0.25s ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

.solutions-scene,
.training-scene,
.archive-scene,
.fiera-scene {
    grid-template-columns: minmax(350px, 0.88fr) minmax(500px, 1.12fr);
    align-items: center;
    gap: clamp(30px, 5vw, 90px);
}

.solutions-scene .scene-copy,
.training-scene .scene-copy,
.archive-scene .scene-copy,
.fiera-scene .scene-copy {
    width: auto;
}

.solutions-scene h2,
.training-scene h2,
.archive-scene h2,
.fiera-scene h2 {
    font-size: clamp(3.25rem, 4.6vw, 5.4rem);
}

.current-proof {
    width: fit-content;
    margin-top: 26px;
    padding: 10px 14px;
    display: grid;
    border: 1px solid rgba(151, 184, 241, 0.18);
    border-radius: 13px;
    background: rgba(7, 18, 35, 0.42);
    backdrop-filter: blur(12px);
}

.current-proof span {
    color: #dfe8f8;
    font-size: 0.76rem;
    font-weight: 680;
}

.current-proof small {
    margin-top: 2px;
    color: #8595aa;
    font-size: 0.62rem;
}

.service-extent {
    max-width: 470px;
    margin: 13px 0 0;
    color: #8190a4;
    font-size: 0.68rem;
}

.offer-wheel {
    position: relative;
    justify-self: end;
    width: min(650px, 44vw);
    aspect-ratio: 1.22;
    filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.18));
}

.offer-orbits,
.offer-orbits::before,
.offer-orbits::after,
.offer-orbits i {
    position: absolute;
    border: 1px solid rgba(144, 176, 229, 0.14);
    border-radius: 50%;
}

.offer-orbits {
    inset: 8% 5%;
    border-color: rgba(146, 182, 243, 0.2);
    animation: offer-orbit-breathe 9s ease-in-out infinite;
}

.offer-orbits::before,
.offer-orbits::after {
    content: "";
}

.offer-orbits::before {
    inset: 12%;
}

.offer-orbits::after {
    inset: 28%;
    border-color: rgba(111, 157, 242, 0.3);
}

.offer-orbits i:first-child {
    inset: -5% 25%;
    border-color: rgba(142, 181, 255, 0.09);
    transform: rotate(42deg);
}

.offer-orbits i:last-child {
    inset: 24% -2%;
    border-color: rgba(142, 181, 255, 0.08);
    transform: rotate(-21deg);
}

.offer-center {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: min(270px, 43%);
    aspect-ratio: 1;
    padding: 25px;
    display: grid;
    align-content: center;
    text-align: center;
    border: 1px solid rgba(170, 202, 247, 0.22);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 24%, rgba(114, 159, 250, 0.18), transparent 37%),
        linear-gradient(145deg, rgba(18, 39, 72, 0.92), rgba(5, 15, 31, 0.82));
    box-shadow:
        0 0 0 20px rgba(67, 111, 203, 0.03),
        0 0 80px rgba(63, 113, 216, 0.2),
        inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transform: translate(-50%, -50%);
}

.offer-center small {
    color: #8eb2ff;
    font-size: 0.56rem;
    font-weight: 760;
    letter-spacing: 0.14em;
}

.offer-center strong {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: clamp(1.3rem, 1.8vw, 1.85rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.04;
}

.offer-center p {
    margin: 10px 0 0;
    color: #96a5b7;
    font-size: 0.72rem;
    line-height: 1.42;
}

.offer-node {
    position: absolute;
    z-index: 4;
    min-width: 135px;
    min-height: 48px;
    padding: 0 14px;
    color: #aab6c5;
    font-size: 0.7rem;
    font-weight: 650;
    border: 1px solid rgba(175, 201, 237, 0.16);
    border-radius: 999px;
    background: rgba(7, 18, 35, 0.72);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
    animation: offer-node-float 5.5s ease-in-out infinite alternate;
}

.offer-node span {
    margin-right: 7px;
    color: #6f97ef;
    font-size: 0.55rem;
}

.offer-node:hover,
.offer-node.is-active {
    color: white;
    border-color: rgba(136, 176, 255, 0.5);
    background: rgba(55, 96, 184, 0.34);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.23),
        0 0 24px rgba(77, 128, 241, 0.15);
}

.node-a {
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
}

.node-b {
    top: 22%;
    right: 1%;
    animation-delay: -1.8s;
}

.node-c {
    right: 7%;
    bottom: 10%;
    animation-delay: -3.5s;
}

.node-d {
    bottom: 0;
    left: 42%;
    animation-delay: -0.7s;
}

.node-e {
    bottom: 13%;
    left: 2%;
    animation-delay: -2.6s;
}

.node-f {
    top: 21%;
    left: 0;
    animation-delay: -4.2s;
}

.training-card {
    justify-self: end;
    width: min(580px, 42vw);
    padding: 15px;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 15px;
    border: 1px solid rgba(174, 204, 243, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(16, 35, 63, 0.86), rgba(5, 15, 30, 0.67));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateY(-3deg);
}

.training-image {
    position: relative;
    min-height: 315px;
    overflow: hidden;
    border-radius: 18px;
}

.training-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 45%, rgba(4, 11, 22, 0.82));
}

.training-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.training-image span {
    position: absolute;
    z-index: 2;
    left: 15px;
    bottom: 14px;
    color: #dce7fa;
    font-size: 0.58rem;
    letter-spacing: 0.15em;
}

.training-points {
    display: grid;
    gap: 9px;
}

.training-points p {
    margin: 0;
    padding: 18px 14px;
    display: grid;
    align-content: center;
    border: 1px solid rgba(173, 202, 239, 0.12);
    border-radius: 16px;
    background: rgba(6, 17, 33, 0.48);
}

.training-points strong {
    color: #dce7f7;
    font-size: 0.78rem;
}

.training-points span {
    margin-top: 4px;
    color: #8493a6;
    font-size: 0.65rem;
}

.archive-orbit {
    position: relative;
    justify-self: end;
    width: min(690px, 48vw);
    aspect-ratio: 1.28;
}

.archive-orbit::before,
.archive-orbit::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}

.archive-orbit::before {
    inset: 8% 5%;
    border: 2px solid rgba(137, 171, 229, 0.26);
    box-shadow:
        inset 0 0 80px rgba(66, 112, 205, 0.06),
        0 0 80px rgba(66, 112, 205, 0.05);
}

.archive-orbit::after {
    inset: 20%;
    border: 1px dashed rgba(126, 164, 232, 0.12);
    animation: archive-ring-spin 55s linear infinite;
}

.archive-core {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    width: 185px;
    aspect-ratio: 1;
    padding: 24px;
    display: grid;
    place-content: center;
    text-align: center;
    border: 2px solid rgba(158, 191, 240, 0.3);
    border-radius: 50%;
    background: rgba(7, 18, 36, 0.86);
    box-shadow:
        0 0 0 22px rgba(58, 102, 190, 0.04),
        0 0 75px rgba(67, 116, 216, 0.17);
    backdrop-filter: blur(16px);
    transform: translate(-50%, -50%);
}

.archive-core small,
.archive-core strong,
.archive-core span {
    display: block;
}

.archive-core small {
    color: #82a8f8;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
}

.archive-core strong {
    margin-top: 8px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.06;
}

.archive-core span {
    margin-top: 8px;
    color: #7d8da3;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
}

.archive-frame {
    position: absolute;
    z-index: 3;
    width: clamp(118px, 11vw, 178px);
    height: clamp(80px, 7.5vw, 118px);
    margin: 0;
    overflow: hidden;
    border: 2px solid rgba(239, 244, 252, 0.82);
    border-radius: 25px;
    background: #dfe5ed;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(27, 54, 94, 0.26);
    transition: opacity 0.32s ease, filter 0.32s ease;
    animation: archive-frame-float 6s ease-in-out infinite alternate;
}

.archive-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 7s ease;
}

.archive-frame:hover img {
    transform: scale(1.08);
}

.archive-frame.is-changing {
    opacity: 0.25;
    filter: blur(5px);
}

.frame-a {
    top: -5%;
    left: 37%;
}

.frame-b {
    top: 10%;
    right: 0;
    animation-delay: -1.1s;
}

.frame-c {
    right: 8%;
    bottom: -5%;
    animation-delay: -3.4s;
}

.frame-d {
    bottom: -7%;
    left: 34%;
    animation-delay: -2.2s;
}

.frame-e {
    bottom: -1%;
    left: 0;
    animation-delay: -4.7s;
}

.frame-f {
    top: 7%;
    left: 2%;
    animation-delay: -0.5s;
}

.fiera-tags {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fiera-tags span {
    padding: 8px 11px;
    color: #aebbcf;
    font-size: 0.66rem;
    border: 1px solid rgba(164, 194, 237, 0.16);
    border-radius: 999px;
    background: rgba(6, 17, 33, 0.42);
}

.fiera-board {
    position: relative;
    justify-self: end;
    width: min(620px, 43vw);
    height: clamp(410px, 56vh, 540px);
}

.fiera-board figure {
    position: absolute;
    margin: 0;
    padding: 11px;
    overflow: hidden;
    border: 1px solid rgba(192, 213, 241, 0.2);
    border-radius: 25px;
    background: rgba(9, 21, 39, 0.78);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(17px);
}

.fiera-board img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.fiera-board figcaption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    padding: 9px 11px;
    color: #e5edf9;
    font-size: 0.68rem;
    border: 1px solid rgba(229, 238, 250, 0.18);
    border-radius: 11px;
    background: rgba(4, 11, 22, 0.74);
    backdrop-filter: blur(12px);
}

.fiera-mobile-note {
    display: none;
}

.fiera-main {
    z-index: 2;
    top: 0;
    left: 0;
    width: 53%;
    height: auto;
    aspect-ratio: 387 / 468;
    transform: perspective(900px) rotateY(-4deg);
}

.fiera-media {
    z-index: 3;
    right: 0;
    bottom: 8%;
    width: 55%;
    height: auto;
    aspect-ratio: 492 / 320;
    transform: rotate(3deg);
}

.legacy-scene {
    align-content: center;
}

.legacy-heading {
    width: min(940px, 76vw);
}

.legacy-heading h2 {
    font-size: clamp(2.7rem, 4.1vw, 4.8rem);
}

.legacy-stage {
    position: relative;
    z-index: 5;
    width: min(1120px, 82vw);
    margin-top: 3vh;
    display: grid;
    grid-template-columns: minmax(220px, 0.62fr) minmax(560px, 1.38fr);
    align-items: center;
    gap: 18px;
}

.legacy-stage .legacy-window {
    width: 100%;
    margin: 0;
}

.promo-mascot {
    width: min(245px, 100%);
    justify-self: center;
    padding: 11px;
    overflow: hidden;
    color: #b8c5d5;
    border: 1px solid rgba(184, 209, 241, 0.19);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(17, 36, 63, 0.83), rgba(5, 15, 29, 0.72));
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(17px);
    transform: rotate(-1.2deg);
}

.promo-label {
    padding: 3px 5px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #96a8bf;
    font-size: 0.52rem;
    letter-spacing: 0.12em;
}

.promo-label i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #799fff;
    box-shadow: 0 0 12px rgba(97, 145, 255, 0.7);
}

.promo-mascot video {
    width: 100%;
    display: block;
    aspect-ratio: 29 / 36;
    object-fit: contain;
    border-radius: 14px;
    background: #02060c;
}

.promo-mascot p {
    margin: 10px 5px 4px;
    color: #8f9daf;
    font-size: 0.68rem;
    line-height: 1.42;
}

.promo-mascot.is-expanded {
    position: fixed;
    z-index: 90;
    top: 50%;
    left: 50%;
    width: min(420px, 88vw);
    width: min(420px, 88vw, 58dvh);
    padding: 12px;
    transform: translate(-50%, -50%) rotate(-0.45deg);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), 0 0 70px rgba(82, 137, 255, 0.24);
}

.promo-mascot.is-expanded video {
    max-height: calc(72dvh - 42px);
}

.promo-mascot.is-expanded p {
    display: none;
}

.promo-close {
    display: none;
}

.promo-mascot.is-expanded .promo-close {
    position: absolute;
    z-index: 3;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.25rem;
    line-height: 1;
    border: 1px solid rgba(209, 226, 255, 0.45);
    border-radius: 50%;
    background: rgba(5, 15, 30, 0.78);
    cursor: pointer;
}

.legacy-stage.has-expanded-promo .legacy-window {
    grid-column: 2;
}

.legacy-stage .legacy-panel {
    min-height: 245px;
    padding: 22px 26px;
}

@media (min-width: 561px) {
    .legacy-panel[data-legacy-panel="promo"] img,
    .legacy-panel[data-legacy-panel="servizi"] img {
        width: min(100%, 280px);
        height: auto;
        max-height: none;
        aspect-ratio: 492 / 380;
        justify-self: center;
        object-fit: cover;
    }

    .legacy-panel[data-legacy-panel="fiera"] {
        grid-template-columns: minmax(0, 1.42fr) minmax(150px, 0.58fr);
        min-height: 270px;
    }

    .legacy-panel[data-legacy-panel="fiera"] img {
        width: min(100%, 196px);
        height: auto;
        max-width: 100%;
        max-height: none;
        aspect-ratio: 387 / 468;
        justify-self: center;
        object-fit: cover;
    }

    .legacy-panel[data-legacy-panel="aicl"] img {
        width: min(100%, 280px);
        height: auto;
        max-height: none;
        aspect-ratio: 79 / 60;
        justify-self: center;
        object-fit: cover;
    }
}

.map-window {
    height: 172px;
    display: block;
    text-decoration: none;
    isolation: isolate;
    background: #09172b;
}

.map-slides,
.map-fallback,
.map-slides img {
    position: absolute;
    inset: 0;
}

.map-slides {
    z-index: 1;
}

.map-slides img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.03) brightness(0.76);
    transform: scale(1.035);
    transition:
        opacity 1.15s ease,
        transform 4.2s ease;
}

.map-slides img.is-active {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
}

.map-fallback {
    z-index: 0;
    opacity: 1;
    background:
        radial-gradient(circle at 62% 54%, rgba(83, 131, 235, 0.26), transparent 8%),
        repeating-radial-gradient(ellipse at 63% 54%, transparent 0 25px, rgba(126, 161, 221, 0.1) 26px 27px, transparent 28px 47px),
        linear-gradient(135deg, #102443, #071326);
    transition: opacity 0.5s ease;
}

.map-window.has-map .map-fallback {
    opacity: 0;
}

.map-window::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 9, 18, 0.64), transparent 55%),
        linear-gradient(0deg, rgba(3, 9, 18, 0.42), transparent 48%);
}

.map-window > span {
    z-index: 4;
    padding: 9px 12px 8px;
}

.map-window > span small {
    margin-top: 2px;
    color: #94a9c7;
    font-size: 0.52rem;
    letter-spacing: 0.05em;
    text-transform: none;
}

.map-dots {
    z-index: 5;
    gap: 5px;
}

.map-dots i {
    width: 12px;
    height: 4px;
    display: block;
    border-radius: 5px;
    background: rgba(216, 228, 244, 0.38);
    transition: width 0.3s ease, background 0.3s ease;
}

.map-dots i.is-active {
    width: 23px;
    background: #91b3ff;
}

@keyframes offer-orbit-breathe {
    0%,
    100% {
        transform: rotate(-1deg) scale(0.99);
    }
    50% {
        transform: rotate(2deg) scale(1.015);
    }
}

@keyframes offer-node-float {
    0% {
        translate: 0 -3px;
    }
    100% {
        translate: 0 5px;
    }
}

@keyframes archive-ring-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes archive-frame-float {
    0% {
        translate: 0 -5px;
        rotate: -0.7deg;
    }
    100% {
        translate: 4px 6px;
        rotate: 1.1deg;
    }
}

@media (max-width: 1120px) {
    .solutions-scene,
    .training-scene,
    .archive-scene,
    .fiera-scene {
        grid-template-columns: minmax(300px, 0.9fr) minmax(400px, 1.1fr);
        gap: 24px;
    }

    .offer-wheel,
    .training-card,
    .archive-orbit,
    .fiera-board {
        width: 46vw;
    }

    .legacy-stage {
        width: 100%;
        grid-template-columns: minmax(200px, 0.58fr) minmax(480px, 1.42fr);
    }
}

@media (max-width: 820px) {
    .solutions-scene,
    .training-scene,
    .archive-scene,
    .fiera-scene {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 20px;
    }

    .solutions-scene h2,
    .training-scene h2,
    .archive-scene h2,
    .fiera-scene h2 {
        font-size: clamp(2.45rem, 9.8vw, 4rem);
    }

    .solutions-scene .scene-lead,
    .training-scene .scene-lead,
    .archive-scene .scene-lead,
    .fiera-scene .scene-lead {
        margin-top: 15px;
        font-size: 0.82rem;
    }

    .current-proof {
        margin-top: 13px;
    }

    .offer-wheel {
        justify-self: center;
        width: min(600px, 91vw);
        max-height: 330px;
    }

    .offer-center {
        width: 190px;
        padding: 19px;
    }

    .offer-center p {
        font-size: 0.63rem;
    }

    .offer-node {
        min-width: 116px;
        min-height: 38px;
        padding: 0 10px;
        font-size: 0.61rem;
    }

    .training-card {
        justify-self: stretch;
        width: 100%;
        padding: 10px;
    }

    .training-image {
        min-height: 210px;
    }

    .training-points p {
        padding: 11px;
    }

    .text-link {
        margin-top: 14px;
        font-size: 0.78rem;
    }

    .archive-orbit {
        justify-self: center;
        width: min(640px, 91vw);
        max-height: 330px;
    }

    .archive-core {
        width: 138px;
        padding: 16px;
    }

    .archive-core strong {
        font-size: 1.05rem;
    }

    .archive-frame {
        width: clamp(95px, 23vw, 150px);
        height: clamp(67px, 15vw, 100px);
        border-width: 2px;
        border-radius: 18px;
    }

    .fiera-board {
        justify-self: center;
        width: min(610px, 91vw);
        min-height: 285px;
    }

    .fiera-tags {
        margin-top: 12px;
    }

    .legacy-heading {
        width: 100%;
    }

    .legacy-heading h2 {
        font-size: clamp(2.35rem, 8.9vw, 3.75rem);
    }

    .legacy-stage {
        width: 100%;
        margin-top: 18px;
        grid-template-columns: minmax(170px, 0.6fr) minmax(360px, 1.4fr);
        gap: 9px;
    }

    .promo-mascot {
        padding: 7px;
        border-radius: 16px;
    }

    .promo-mascot p {
        font-size: 0.56rem;
    }

    .legacy-stage .legacy-window {
        border-radius: 16px;
    }

    .legacy-stage .legacy-panel {
        min-height: 175px;
        padding: 16px;
    }

    .map-window {
        height: 112px;
    }
}

@media (max-width: 560px) {
    .solutions-scene,
    .training-scene,
    .archive-scene,
    .fiera-scene {
        gap: 12px;
    }

    .solutions-scene .scene-lead,
    .archive-scene .scene-lead,
    .fiera-scene .scene-lead {
        display: none;
    }

    .offer-wheel {
        width: 100%;
        height: 300px;
        aspect-ratio: auto;
    }

    .offer-center {
        width: 156px;
    }

    .offer-center p {
        display: none;
    }

    .offer-node {
        min-width: 101px;
        padding: 0 8px;
        font-size: 0.54rem;
    }

    .node-b,
    .node-c {
        right: 0;
    }

    .node-e,
    .node-f {
        left: 0;
    }

    .training-card {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .training-image {
        min-height: 175px;
    }

    .training-points {
        gap: 5px;
    }

    .training-points p {
        padding: 8px;
    }

    .training-points span {
        font-size: 0.56rem;
    }

    .archive-orbit {
        width: 100%;
        height: 292px;
        aspect-ratio: auto;
    }

    .archive-frame {
        width: 94px;
        height: 66px;
        border-width: 2px;
    }

    .fiera-board {
        width: 100%;
        min-height: 265px;
    }

    .fiera-tags span:nth-child(n + 3) {
        display: none;
    }

    .legacy-heading h2 {
        font-size: clamp(2.15rem, 8.2vw, 3rem);
    }

    .legacy-stage {
        margin-top: 12px;
        grid-template-columns: 1fr;
    }

    .promo-mascot {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
        gap: 8px;
    }

    .promo-label {
        grid-column: 1 / -1;
        padding-bottom: 2px;
    }

    .promo-mascot p {
        margin: 0;
    }

    .legacy-stage .legacy-bar {
        display: none;
    }

    .legacy-stage .legacy-tabs button {
        min-height: 31px;
        font-size: 0.58rem;
    }

    .legacy-stage .legacy-panel {
        min-height: 130px;
        padding: 12px;
        grid-template-columns: 1.25fr 0.75fr;
        gap: 8px;
    }

    .legacy-stage .legacy-panel h3 {
        margin: 5px 0;
        font-size: 1.05rem;
    }

    .legacy-stage .legacy-panel p {
        font-size: 0.64rem;
    }

    .legacy-stage .legacy-panel img {
        max-height: 94px;
        border-width: 4px;
    }

    .contact-scene .map-window {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 92px;
        margin-top: 9px;
    }

    .map-window > span strong {
        font-size: 0.72rem;
    }
}

@media (max-height: 720px) {
    .solutions-scene h2,
    .training-scene h2,
    .archive-scene h2,
    .fiera-scene h2 {
        font-size: clamp(2.2rem, 7.5vh, 3.7rem);
    }

    .offer-wheel,
    .archive-orbit {
        max-height: 275px;
    }

    .training-image {
        min-height: 170px;
    }

    .fiera-board {
        min-height: 245px;
    }

    .legacy-heading h2 {
        font-size: clamp(2rem, 6.6vh, 3.25rem);
    }

    .legacy-stage {
        margin-top: 9px;
    }

    .promo-mascot p {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-orbits,
    .offer-node,
    .archive-orbit::after,
    .archive-frame {
        animation: none !important;
    }
}

@keyframes contact-form-flash {
    0% {
        opacity: 0.68;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 820px) {
    .contact-email {
        width: 100%;
        font-size: 0.92rem;
    }
}

/* Backlog visual revision: authentic AICL asset, menu panel and original media ratios. */

.training-aicl-image {
    min-height: 0;
    aspect-ratio: 79 / 60;
    align-self: center;
    background: #071321;
}

.training-aicl-image::after {
    display: none;
}

.chapter-nav {
    position: absolute;
    z-index: 45;
    top: max(86px, calc(env(safe-area-inset-top) + 72px));
    left: clamp(24px, 4.5vw, 76px);
    width: min(272px, calc(100vw - 48px));
    padding: 9px;
    display: grid;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border: 1px solid rgba(174, 205, 247, 0.22);
    border-radius: 17px;
    background: rgba(7, 18, 35, 0.72);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px) saturate(125%);
    transform: translateY(-10px) scale(0.98);
    transform-origin: top left;
    transition: opacity 0.2s ease, transform 0.24s ease, visibility 0.24s step-end;
}

.chapter-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 0.2s ease, transform 0.24s ease, visibility 0s;
}

.chapter-nav button {
    width: 100%;
    min-height: 39px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(199, 214, 233, 0.78);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    text-align: left;
}

.chapter-nav button i {
    width: 14px;
    height: 1px;
    flex: 0 0 auto;
    border-radius: 1px;
}

.chapter-nav button:hover {
    color: white;
    border-color: rgba(140, 179, 251, 0.18);
    background: rgba(91, 135, 222, 0.13);
}

.chapter-nav button.is-active {
    color: #c5d9ff;
    border-color: rgba(137, 178, 255, 0.2);
    background: rgba(70, 113, 202, 0.17);
}

.chapter-nav button.is-active i {
    width: 24px;
}

@media (min-width: 821px) {
    .brand-cluster {
        transform: translateX(-42px);
    }

    .chapter-nav {
        left: clamp(24px, calc(4.5vw - 42px), 34px);
    }

    .menu-toggle:hover,
    .menu-toggle[aria-expanded="true"] {
        transform: translateY(-1px);
    }
}

@media (max-width: 820px) {
    .brand-cluster {
        gap: 8px;
    }

    .menu-toggle {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .chapter-nav {
        top: max(68px, calc(env(safe-area-inset-top) + 56px));
        left: 18px;
        bottom: auto;
        width: min(280px, calc(100vw - 36px));
        padding: 8px;
        gap: 1px;
        transform: translateY(-8px) scale(0.985);
    }

    .chapter-nav.is-open {
        transform: translateY(0) scale(1);
    }

    .chapter-nav button {
        width: 100%;
        height: auto;
        min-height: 38px;
        padding: 0 10px;
        justify-content: flex-start;
    }

    .chapter-nav button span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
    }

    .fiera-board {
        height: clamp(280px, 45vh, 400px);
        min-height: 0;
    }

    .legacy-stage .legacy-panel {
        min-height: 210px;
    }

    .legacy-panel img {
        max-height: 155px;
        min-height: 145px;
    }
}

@media (max-width: 560px) {
    .brand img {
        width: 132px;
    }

    .chapter-nav {
        top: max(64px, calc(env(safe-area-inset-top) + 52px));
        left: 12px;
        width: min(286px, calc(100vw - 24px));
    }

    .fiera-board {
        height: clamp(260px, 39vh, 330px);
    }

    .fiera-main {
        width: 55%;
    }

    .legacy-stage .legacy-panel {
        min-height: 154px;
    }

    .legacy-stage .legacy-panel img {
        max-height: 112px;
        min-height: 108px;
    }
}

/* Compact, legible headings and clearer travel controls on small screens. */
@media (max-width: 820px) {
    h1 {
        max-width: min(100%, 18ch);
        font-size: clamp(2.25rem, 9.2vw, 3.85rem);
        line-height: 0.98;
    }

    h2,
    .today-scene h2,
    .compact-copy h2,
    .contact-intro h2,
    .solutions-scene h2,
    .training-scene h2,
    .archive-scene h2,
    .fiera-scene h2,
    .legacy-heading h2 {
        font-size: clamp(1.8rem, 7.5vw, 3.05rem);
        line-height: 0.98;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: clamp(2rem, 8.8vw, 3.05rem);
    }

    h2,
    .today-scene h2,
    .compact-copy h2,
    .contact-intro h2,
    .solutions-scene h2,
    .training-scene h2,
    .archive-scene h2,
    .fiera-scene h2,
    .legacy-heading h2 {
        font-size: clamp(1.65rem, 7.1vw, 2.42rem);
    }
}

.travel-controls button {
    color: #d9e6ff;
    border-color: rgba(144, 183, 255, 0.52);
    background: linear-gradient(145deg, rgba(52, 94, 184, 0.8), rgba(17, 38, 82, 0.86));
    box-shadow: 0 8px 24px rgba(26, 69, 160, 0.3), inset 0 1px rgba(255, 255, 255, 0.16);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.travel-controls button:not(:disabled):hover,
.travel-controls button:not(:disabled):focus-visible {
    border-color: rgba(192, 218, 255, 0.9);
    background: linear-gradient(145deg, rgba(76, 126, 233, 0.92), rgba(35, 69, 146, 0.95));
    transform: translateY(-1px);
}

.travel-controls button:disabled {
    color: rgba(196, 211, 234, 0.45);
    border-color: rgba(141, 169, 213, 0.23);
    background: rgba(13, 29, 58, 0.62);
    box-shadow: none;
}

@media (max-width: 560px) {
    .contact-scene .map-window {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 82px;
        margin-top: 8px;
    }

    .map-window > span {
        left: 6px;
        bottom: 6px;
        max-width: calc(100% - 12px);
        padding: 4px 7px;
        display: flex;
        align-items: baseline;
        gap: 5px;
        color: rgba(184, 202, 229, 0.88);
        font-size: 0.47rem;
        letter-spacing: 0.04em;
        background: rgba(5, 14, 27, 0.52);
        backdrop-filter: blur(6px);
        white-space: nowrap;
    }

    .map-window > span strong {
        margin: 0;
        color: #f4f7ff;
        font-size: 0.58rem;
        white-space: nowrap;
    }

    .map-window > span small,
    .map-dots {
        display: none;
    }

    .fiera-board figcaption {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero-copy h1 {
        font-size: clamp(2.2rem, 9.7vw, 3.55rem);
    }

    .training-scene h2 {
        font-size: clamp(1.85rem, 8vw, 2.75rem);
    }

    .archive-scene .archive-copy {
        transform: translateY(-8px);
    }

    .archive-scene h2 {
        font-size: clamp(2.05rem, 8.7vw, 2.95rem);
    }

    .archive-scene .archive-orbit {
        margin-top: 8px;
    }

    .legacy-heading h2 {
        font-size: clamp(1.9rem, 8.1vw, 2.75rem);
    }

    .fiera-mobile-note {
        width: min(100%, 460px);
        margin: -3px auto 0;
        padding: 8px 10px;
        display: block;
        color: #c8d8ef;
        font-size: 0.61rem;
        line-height: 1.45;
        text-align: center;
        border: 1px solid rgba(170, 202, 247, 0.15);
        border-radius: 12px;
        background: rgba(8, 22, 43, 0.48);
    }

    .contact-email {
        margin-top: 15px;
        font-size: 1.08rem !important;
    }

    .contact-form {
        padding: 10px;
        gap: 6px;
        border-radius: 16px;
    }

    .contact-form label {
        gap: 4px;
    }

    .contact-form label > span {
        font-size: 0.61rem;
    }

    .contact-form input,
    .contact-form select {
        height: 35px;
        padding-inline: 9px;
        font-size: 0.78rem;
    }

    .contact-form textarea {
        min-height: 48px;
        padding: 8px 9px;
        font-size: 0.78rem;
    }

    .contact-form > button {
        min-height: 39px;
        font-size: 0.78rem;
    }

    .contact-form > small {
        font-size: 0.46rem;
    }

    .promo-mascot.is-expanded {
        /* Keep the opened card as tall as its portrait video needs to be.
           29 / 36 is the actual promo ratio, so there is no empty side area. */
        display: block;
        width: min(390px, 88vw);
        width: min(88vw, calc(62.8dvh - 37px));
        max-width: 390px;
    }

    .promo-mascot.is-expanded video {
        width: 100%;
        max-height: calc(72vh - 42px);
        max-height: calc(78dvh - 46px);
    }

    .legacy-stage > .promo-mascot:not(.is-expanded) {
        /* On a narrow portrait phone the legacy columns stack: make the
           closed promo as wide as the portrait video, not as wide as the stage. */
        display: block;
        width: min(132px, 42vw);
        justify-self: center;
    }

    .legacy-stage > .promo-mascot:not(.is-expanded) p {
        display: none;
    }

    /* Best-effort reduction of the native WebKit play overlay on the compact card. */
    .legacy-stage > .promo-mascot:not(.is-expanded) video::-webkit-media-controls-start-playback-button {
        transform: scale(0.72);
    }

    .legacy-stage.has-expanded-promo .legacy-window {
        grid-column: 1;
    }
}
}
