:root {
    --paper: #f2e8d8;
    --paper-light: #fffaf0;
    --paper-deep: #dfcdb3;
    --ink: #2d2118;
    --ink-soft: #6d5949;
    --amber: #c66a35;
    --amber-deep: #93411f;
    --gold: #d9a85d;
    --sage: #52766b;
    --line: rgba(72, 49, 31, 0.16);
    --panel: rgba(255, 250, 240, 0.66);
    --display-font: "STKaiti", "KaiTi", "Songti SC", Georgia, serif;
    --body-font: "Aptos", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    --shadow-x: 0px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--body-font);
    background:
        radial-gradient(circle at 52% 38%, rgba(255, 250, 235, 0.98) 0 22%, rgba(255, 250, 235, 0) 53%),
        radial-gradient(circle at 4% 92%, rgba(198, 106, 53, 0.15), transparent 35%),
        radial-gradient(circle at 97% 8%, rgba(82, 118, 107, 0.12), transparent 28%),
        linear-gradient(135deg, #eee0cc 0%, #f8f1e5 48%, #e7d6bd 100%);
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

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

.page-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(70, 48, 31, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 48, 31, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
}

.ambient-orb {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.ambient-orb-one {
    width: 23rem;
    height: 23rem;
    top: 9vh;
    left: -14rem;
    border: 1px solid rgba(147, 65, 31, 0.18);
    box-shadow: 0 0 0 3.5rem rgba(255, 250, 240, 0.14), 0 0 0 7rem rgba(198, 106, 53, 0.035);
}

.ambient-orb-two {
    width: 18rem;
    height: 18rem;
    right: -7rem;
    bottom: -4rem;
    background: rgba(82, 118, 107, 0.08);
    box-shadow: 0 0 90px rgba(82, 118, 107, 0.16);
}

.topbar,
.page-footer {
    width: min(1540px, calc(100% - 64px));
    margin-inline: auto;
}

.topbar {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.5vw, 38px);
    margin-left: auto;
}

.top-nav a {
    position: relative;
    padding: 9px 0;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.top-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    width: 44px;
    height: 44px;
}

.brand-face,
.brand-ear {
    position: absolute;
    display: block;
    border: 1.5px solid var(--ink);
    background: rgba(255, 250, 240, 0.72);
}

.brand-face {
    inset: 7px 5px 4px;
    z-index: 2;
    border-radius: 45% 45% 48% 48%;
}

.brand-face::before,
.brand-face::after {
    content: "";
    position: absolute;
    top: 13px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ink);
}

.brand-face::before {
    left: 9px;
}

.brand-face::after {
    right: 9px;
}

.brand-ear {
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.brand-ear-left {
    left: 2px;
}

.brand-ear-right {
    right: 2px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: var(--display-font);
    font-size: 20px;
    letter-spacing: 0.12em;
}

.brand small {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 9px;
    letter-spacing: 0.2em;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.live-status time {
    min-width: 68px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 5px rgba(82, 118, 107, 0.12);
    animation: livePulse 2.2s ease-in-out infinite;
}

.twin-layout {
    width: min(1540px, calc(100% - 64px));
    min-height: calc(100vh - 154px);
    margin: 0 auto;
    padding: 42px 0 34px;
    display: grid;
    grid-template-columns: minmax(245px, 0.82fr) minmax(500px, 1.48fr) minmax(230px, 0.7fr);
    gap: clamp(24px, 3vw, 54px);
    align-items: center;
}

.intro-panel {
    align-self: center;
}

.eyebrow,
.section-label {
    color: var(--amber-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.eyebrow {
    margin: 0 0 20px;
}

.intro-panel h1 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(46px, 4.7vw, 78px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.intro-panel h1 em {
    position: relative;
    color: var(--amber-deep);
    font-style: normal;
}

.intro-panel h1 em::after {
    content: "";
    position: absolute;
    right: -7px;
    bottom: 4px;
    left: -4px;
    height: 8px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(217, 168, 93, 0.32);
    transform: rotate(-2deg);
}

.intro-copy {
    max-width: 32em;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 2;
}

.intro-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.primary-action,
.text-action,
.deck-button {
    border: 0;
    cursor: pointer;
}

.primary-action {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border-radius: 999px;
    color: #fffaf0;
    background: var(--ink);
    box-shadow: 0 14px 34px rgba(69, 42, 22, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(69, 42, 22, 0.24);
}

.action-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e3b477;
    box-shadow: 0 0 0 5px rgba(227, 180, 119, 0.15);
}

.text-action {
    padding: 10px 0;
    color: var(--amber-deep);
    background: transparent;
    border-bottom: 1px solid rgba(147, 65, 31, 0.24);
}

.text-action span {
    display: inline-block;
    margin-left: 6px;
    transition: transform 180ms ease;
}

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

.quick-stats {
    margin: 44px 0 0;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.quick-stats div {
    padding: 13px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.quick-stats dt {
    color: var(--ink-soft);
    font-size: 11px;
}

.quick-stats dd {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
}

.stage-shell {
    min-width: 0;
    align-self: stretch;
    display: grid;
    grid-template-rows: auto minmax(520px, 1fr) auto;
    gap: 13px;
}

.stage-heading,
.spec-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stage-heading > div:first-child,
.spec-heading {
    gap: 11px;
}

.stage-heading > div:first-child {
    display: flex;
    align-items: baseline;
}

.section-index {
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 14px;
    font-style: italic;
}

.stage-readout {
    display: flex;
    gap: 16px;
    color: var(--ink-soft);
    font-family: "Consolas", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
}

.stage-readout b {
    color: var(--ink);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.model-viewport {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(74, 50, 31, 0.14);
    border-radius: 46% 46% 28px 28px / 24% 24% 28px 28px;
    background:
        radial-gradient(circle at 50% 39%, rgba(255, 252, 244, 0.96) 0 23%, rgba(255, 252, 244, 0.2) 54%, transparent 66%),
        linear-gradient(145deg, rgba(255, 252, 245, 0.72), rgba(224, 207, 182, 0.48));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -55px 80px rgba(137, 92, 53, 0.07),
        0 30px 80px rgba(73, 49, 31, 0.12);
    touch-action: none;
    cursor: grab;
}

.model-viewport::before {
    content: "";
    position: absolute;
    inset: 12% 9% 18%;
    z-index: -2;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 34px, rgba(147, 65, 31, 0.065) 35px 36px);
    opacity: 0.52;
}

.model-viewport::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 23% 72%, rgba(105, 69, 41, 0.04));
    mix-blend-mode: soft-light;
}

.model-viewport.is-dragging {
    cursor: grabbing;
}

#bearCanvas,
.model-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#bearCanvas {
    z-index: 3;
    opacity: 0;
    transition: opacity 520ms ease;
}

.model-fallback {
    z-index: 2;
    object-fit: contain;
    padding: 3% 4% 10%;
    filter: drop-shadow(18px 24px 30px rgba(69, 43, 25, 0.19));
    transition: opacity 420ms ease, transform 420ms ease;
}

.webgl-ready #bearCanvas {
    opacity: 1;
}

.webgl-ready .model-fallback {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
}

.loading-state {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 9px;
    color: var(--ink-soft);
    background: rgba(245, 236, 221, 0.86);
    backdrop-filter: blur(12px);
    transition: opacity 420ms ease, visibility 420ms ease;
}

.loading-state strong {
    font-family: var(--display-font);
    font-size: 18px;
    letter-spacing: 0.08em;
}

.loading-state small {
    font-size: 8px;
    letter-spacing: 0.22em;
}

.loading-state.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-ring {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border: 1px solid rgba(45, 33, 24, 0.15);
    border-top-color: var(--amber);
    border-radius: 50%;
    animation: spin 1.1s linear infinite;
}

.halo {
    position: absolute;
    left: 50%;
    top: 43%;
    z-index: -1;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 247, 224, 0.95), rgba(217, 168, 93, 0.18) 48%, transparent 72%);
    filter: blur(5px);
    animation: haloBreathe 5.5s ease-in-out infinite;
}

.orbit {
    position: absolute;
    left: 50%;
    top: 45%;
    z-index: 1;
    width: 66%;
    aspect-ratio: 1;
    border: 1px solid rgba(147, 65, 31, 0.13);
    border-radius: 50%;
    pointer-events: none;
}

.orbit::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 14px rgba(198, 106, 53, 0.68);
}

.orbit-one {
    transform: translate(-50%, -50%) rotate(18deg) scaleY(0.33);
    animation: orbitOne 12s linear infinite;
}

.orbit-one::after {
    top: 50%;
    right: -4px;
}

.orbit-two {
    width: 54%;
    transform: translate(-50%, -50%) rotate(-42deg) scaleY(0.4);
    animation: orbitTwo 16s linear infinite reverse;
}

.orbit-two::after {
    bottom: 8%;
    left: 9%;
    background: var(--sage);
}

.scan-beam {
    position: absolute;
    left: 14%;
    top: 8%;
    z-index: 6;
    width: 72%;
    height: 2px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(198, 106, 53, 0.95), transparent);
    box-shadow: 0 0 18px rgba(198, 106, 53, 0.7);
}

.scan-active .scan-beam {
    opacity: 0.7;
    animation: scanBeam 2.8s ease-in-out infinite;
}

.model-shadow {
    position: absolute;
    left: calc(50% + var(--shadow-x));
    bottom: 14%;
    z-index: 1;
    width: 50%;
    height: 8%;
    border-radius: 50%;
    background: rgba(81, 52, 29, 0.24);
    filter: blur(20px);
    transform: translateX(-50%) rotate(-1deg);
    transition: left 120ms linear;
}

.pedestal {
    position: absolute;
    left: 50%;
    bottom: -2%;
    z-index: 5;
    width: 72%;
    height: 20%;
    transform: translateX(-50%);
    pointer-events: none;
}

.pedestal-top,
.pedestal-side {
    position: absolute;
    left: 0;
    width: 100%;
    border-radius: 50%;
}

.pedestal-top {
    top: 0;
    height: 45%;
    background:
        radial-gradient(ellipse at 36% 26%, rgba(255, 247, 224, 0.95), transparent 34%),
        linear-gradient(180deg, #dec8a8, #b99a75);
    border: 1px solid rgba(255, 248, 231, 0.82);
    box-shadow: inset 0 7px 13px rgba(255, 252, 240, 0.34), 0 -8px 28px rgba(82, 55, 34, 0.12);
}

.pedestal-side {
    top: 20%;
    height: 78%;
    overflow: hidden;
    border-radius: 0 0 50% 50% / 0 0 28% 28%;
    background: linear-gradient(90deg, #9c7a57, #ccb08c 22%, #b28e68 76%, #896749);
    box-shadow: inset 0 -25px 34px rgba(70, 43, 24, 0.16);
}

.pedestal-side::before {
    content: "WARM TWIN · 001";
    position: absolute;
    left: 50%;
    top: 43%;
    color: rgba(255, 247, 227, 0.72);
    font-size: 8px;
    letter-spacing: 0.36em;
    transform: translateX(-50%);
    white-space: nowrap;
}

.pedestal-line {
    position: absolute;
    left: 9%;
    top: 25%;
    z-index: 2;
    width: 82%;
    height: 1px;
    background: rgba(255, 246, 225, 0.54);
}

.hotspot {
    position: absolute;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    pointer-events: none;
    opacity: 0.82;
}

.hotspot span {
    position: relative;
    width: 9px;
    height: 9px;
    border: 1px solid var(--amber-deep);
    border-radius: 50%;
}

.hotspot span::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--amber);
}

.hotspot small {
    font-size: 9px;
    letter-spacing: 0.12em;
}

.hotspot-hat {
    top: 16%;
    right: 16%;
}

.hotspot-scroll {
    top: 51%;
    right: 8%;
}

.drag-hint {
    position: absolute;
    left: 50%;
    bottom: 19%;
    z-index: 8;
    min-width: max-content;
    padding: 8px 13px;
    border: 1px solid rgba(74, 50, 31, 0.13);
    border-radius: 999px;
    color: var(--ink-soft);
    background: rgba(255, 250, 240, 0.7);
    backdrop-filter: blur(10px);
    font-size: 9px;
    letter-spacing: 0.1em;
    transform: translateX(-50%);
    transition: opacity 260ms ease, transform 260ms ease;
}

.drag-hint.is-hidden {
    opacity: 0;
    transform: translate(-50%, 8px);
}

.drag-icon {
    margin-right: 5px;
    color: var(--amber-deep);
}

.control-deck {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 250, 240, 0.44);
    backdrop-filter: blur(16px);
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.deck-button {
    min-height: 35px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 10px;
    color: var(--ink-soft);
    background: transparent;
    font-size: 10px;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.deck-button:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.56);
}

.deck-button:active {
    transform: scale(0.97);
}

.deck-button.is-active {
    color: #fff9ed;
    background: var(--ink);
}

.button-icon {
    font-size: 15px;
    line-height: 1;
}

.light-control {
    display: grid;
    grid-template-columns: auto minmax(76px, 130px) 24px;
    align-items: center;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 9px;
    white-space: nowrap;
}

.light-control input {
    width: 100%;
    height: 3px;
    appearance: none;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--amber) 0 62%, rgba(74, 50, 31, 0.15) 62%);
}

.light-control input::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
    appearance: none;
    border: 2px solid var(--paper-light);
    border-radius: 50%;
    background: var(--amber-deep);
    box-shadow: 0 2px 5px rgba(45, 33, 24, 0.2);
    cursor: pointer;
}

.light-control output {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.spec-panel {
    align-self: center;
}

.spec-heading {
    justify-content: flex-start;
    margin-bottom: 16px;
}

.identity-card,
.warm-note,
.coordinate-card {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(18px);
}

.identity-card {
    padding: 22px;
    border-radius: 22px 22px 8px 22px;
    box-shadow: 0 18px 44px rgba(82, 53, 31, 0.08);
}

.identity-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.identity-chip {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--sage);
    background: rgba(82, 118, 107, 0.1);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.identity-code {
    color: var(--ink-soft);
    font-family: "Consolas", monospace;
    font-size: 8px;
}

.identity-card h2 {
    margin: 24px 0 5px;
    font-family: var(--display-font);
    font-size: 34px;
    font-weight: 500;
}

.identity-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.voice-wave {
    height: 28px;
    margin-top: 23px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.voice-wave i {
    width: 2px;
    height: 7px;
    border-radius: 99px;
    background: var(--amber);
    animation: voiceWave 1.7s ease-in-out infinite;
}

.voice-wave i:nth-child(2) { animation-delay: -0.2s; }
.voice-wave i:nth-child(3) { animation-delay: -0.4s; }
.voice-wave i:nth-child(4) { animation-delay: -0.7s; }
.voice-wave i:nth-child(5) { animation-delay: -0.9s; }
.voice-wave i:nth-child(6) { animation-delay: -0.5s; }
.voice-wave i:nth-child(7) { animation-delay: -0.8s; }
.voice-wave i:nth-child(8) { animation-delay: -0.3s; }
.voice-wave i:nth-child(9) { animation-delay: -0.6s; }

.spec-list {
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.spec-row {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.spec-row span {
    color: var(--ink-soft);
    font-size: 10px;
}

.spec-row strong {
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}

.warm-note {
    position: relative;
    margin-top: 20px;
    padding: 24px 22px 20px;
    overflow: hidden;
    border-radius: 8px 22px 22px 22px;
}

.warm-note::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -38px;
    bottom: -48px;
    border-radius: 50%;
    background: rgba(198, 106, 53, 0.1);
}

.note-mark {
    display: block;
    height: 28px;
    color: var(--amber);
    font-family: Georgia, serif;
    font-size: 46px;
    line-height: 1;
}

.warm-note p {
    margin: 9px 0 17px;
    font-family: var(--display-font);
    font-size: 15px;
    line-height: 1.75;
}

.warm-note small {
    color: var(--ink-soft);
    font-size: 8px;
    letter-spacing: 0.18em;
}

.coordinate-card {
    margin-top: 12px;
    padding: 11px 13px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 13px;
}

.coordinate-card div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-right: 1px solid var(--line);
}

.coordinate-card div:last-child {
    border-right: 0;
}

.coordinate-card span {
    color: var(--amber-deep);
    font-size: 9px;
    font-weight: 800;
}

.coordinate-card b {
    font-family: "Consolas", monospace;
    font-size: 9px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.spec-row-technical {
    display: none;
}

.campus-story,
.feature-map {
    width: min(1540px, calc(100% - 64px));
    margin-inline: auto;
}

.campus-story {
    padding: clamp(78px, 9vw, 138px) 0 44px;
    border-top: 1px solid var(--line);
}

.campus-story-head,
.feature-map-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(36px, 7vw, 118px);
    align-items: end;
}

.campus-story-head h2,
.feature-map-head h2 {
    max-width: 13em;
    margin: 16px 0 0;
    font-family: var(--display-font);
    font-size: clamp(44px, 5vw, 78px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0.015em;
}

.campus-story-head > p,
.feature-map-head > p {
    margin: 0 0 8px;
    color: var(--ink-soft);
    font-size: clamp(14px, 1.15vw, 18px);
    line-height: 2;
}

.campus-gallery {
    margin-top: clamp(40px, 6vw, 82px);
    display: grid;
    grid-template-columns: 1.28fr 0.86fr 0.86fr;
    gap: 18px;
}

.campus-scene {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(73, 49, 31, 0.16);
    border-radius: 28px;
    background: var(--ink);
    box-shadow: 0 26px 70px rgba(73, 49, 31, 0.11);
}

.campus-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(34, 25, 18, 0.92), rgba(34, 25, 18, 0.08) 72%);
}

.campus-scene img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) sepia(0.08);
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.campus-scene:hover img {
    transform: scale(1.045);
    filter: saturate(1) sepia(0);
}

.campus-scene > div {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    color: #fffaf0;
}

.campus-scene span {
    color: #e5b56d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.campus-scene h3 {
    margin: 10px 0 8px;
    font-family: var(--display-font);
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 500;
}

.campus-scene p {
    max-width: 33em;
    margin: 0;
    color: rgba(255, 250, 240, 0.78);
    font-size: 13px;
    line-height: 1.8;
}

.campus-commitments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 240, 0.48);
    overflow: hidden;
}

.campus-commitments div {
    min-height: 128px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    border-right: 1px solid var(--line);
}

.campus-commitments div:last-child {
    border-right: 0;
}

.campus-commitments strong {
    color: var(--amber-deep);
    font-family: var(--display-font);
    font-size: 20px;
    font-weight: 600;
}

.campus-commitments span {
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.7;
}

.feature-map {
    padding: clamp(96px, 10vw, 156px) 0 clamp(84px, 9vw, 132px);
}

.feature-map-layout {
    margin-top: clamp(42px, 6vw, 82px);
    display: grid;
    grid-template-columns: minmax(560px, 1.34fr) minmax(330px, 0.66fr);
    gap: 20px;
}

.feature-bear {
    position: relative;
    min-height: 780px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 40px;
    background:
        linear-gradient(rgba(95, 67, 45, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 67, 45, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 50% 46%, rgba(255, 252, 241, 0.98), rgba(228, 208, 179, 0.7) 68%, rgba(194, 160, 116, 0.34));
    background-size: 34px 34px, 34px 34px, auto;
    box-shadow: inset 0 0 100px rgba(255, 250, 240, 0.56), 0 34px 90px rgba(71, 48, 31, 0.1);
}

.feature-bear::after {
    content: "YAVIS / YZU INTERACTIVE PROTOTYPE";
    position: absolute;
    right: 28px;
    bottom: 24px;
    color: rgba(45, 33, 24, 0.4);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.feature-bear-halo {
    position: absolute;
    top: 48%;
    left: 50%;
    width: min(70%, 620px);
    aspect-ratio: 1;
    border: 1px solid rgba(198, 106, 53, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 250, 240, 0.22), 0 0 0 84px rgba(198, 106, 53, 0.035);
    transform: translate(-50%, -50%);
}

.feature-bear > img {
    position: absolute;
    inset: 4% 12% 2%;
    width: 76%;
    height: 94%;
    object-fit: contain;
    filter: drop-shadow(0 34px 28px rgba(62, 39, 22, 0.18));
}

.feature-pin {
    position: absolute;
    z-index: 4;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.feature-pin span {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 250, 240, 0.88);
    border-radius: 50%;
    color: #fffaf0;
    background: var(--amber-deep);
    box-shadow: 0 0 0 8px rgba(147, 65, 31, 0.13), 0 12px 26px rgba(62, 39, 22, 0.24);
    font-family: "Consolas", monospace;
    font-size: 10px;
    transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.feature-pin span::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(147, 65, 31, 0.3);
    border-radius: 50%;
    animation: pinPulse 2.4s ease-in-out infinite;
}

.feature-pin small {
    padding: 9px 12px;
    border: 1px solid rgba(72, 49, 31, 0.13);
    border-radius: 99px;
    color: var(--ink);
    background: rgba(255, 250, 240, 0.9);
    box-shadow: 0 8px 22px rgba(70, 44, 25, 0.12);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.feature-pin:hover small,
.feature-pin:focus-visible small,
.feature-pin.is-active small {
    opacity: 1;
    transform: translateX(0);
}

.feature-pin:hover span,
.feature-pin:focus-visible span,
.feature-pin.is-active span {
    background: var(--sage);
    box-shadow: 0 0 0 10px rgba(82, 118, 107, 0.16), 0 14px 30px rgba(62, 39, 22, 0.26);
    transform: scale(1.08);
}

.feature-pin-head { top: 13%; left: 48%; }
.feature-pin-eyes { top: 30%; left: 49%; }
.feature-pin-voice { top: 38%; left: 68%; flex-direction: row-reverse; }
.feature-pin-core { top: 48%; left: 49%; }
.feature-pin-touch { top: 63%; left: 35%; }
.feature-pin-button { top: 58%; left: 73%; flex-direction: row-reverse; }

.feature-console {
    min-height: 780px;
    padding: clamp(30px, 4vw, 58px);
    display: flex;
    flex-direction: column;
    color: #fff8ea;
    border-radius: 40px;
    background:
        radial-gradient(circle at 88% 8%, rgba(198, 106, 53, 0.3), transparent 31%),
        linear-gradient(145deg, #231a14, #3b2a1f 58%, #251c16);
    box-shadow: 0 34px 90px rgba(45, 33, 24, 0.22);
}

.feature-console-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #e5b56d;
    font-family: "Consolas", monospace;
    font-size: 9px;
    letter-spacing: 0.16em;
}

.feature-console-status {
    padding: 7px 9px;
    color: #d7e5df;
    border: 1px solid rgba(158, 202, 188, 0.28);
    border-radius: 99px;
    background: rgba(82, 118, 107, 0.25);
}

.feature-console h3 {
    margin: auto 0 24px;
    font-family: var(--display-font);
    font-size: clamp(42px, 4.6vw, 72px);
    font-weight: 500;
    line-height: 1.08;
}

.feature-console > p {
    margin: 0;
    color: rgba(255, 248, 234, 0.7);
    font-size: 15px;
    line-height: 1.95;
}

.feature-tags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.feature-tags span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 248, 234, 0.16);
    border-radius: 99px;
    color: rgba(255, 248, 234, 0.76);
    font-size: 10px;
}

.feature-source {
    margin-top: 38px;
    padding-top: 22px;
    display: grid;
    gap: 8px;
    border-top: 1px solid rgba(255, 248, 234, 0.14);
}

.feature-source span {
    color: #e5b56d;
    font-size: 9px;
    letter-spacing: 0.16em;
}

.feature-source strong {
    color: rgba(255, 248, 234, 0.72);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
}

.feature-selector {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 250, 240, 0.48);
}

.feature-selector button {
    min-height: 134px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "index title"
        "index copy";
    column-gap: 16px;
    align-content: center;
    text-align: left;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.feature-selector button:nth-child(3n) { border-right: 0; }
.feature-selector button:nth-last-child(-n + 3) { border-bottom: 0; }

.feature-selector button:hover,
.feature-selector button.is-active {
    color: #fff8ea;
    background: var(--ink);
}

.feature-selector button > span {
    grid-area: index;
    color: var(--amber-deep);
    font-family: "Consolas", monospace;
    font-size: 10px;
}

.feature-selector button:hover > span,
.feature-selector button.is-active > span {
    color: #e5b56d;
}

.feature-selector strong {
    grid-area: title;
    font-family: var(--display-font);
    font-size: 21px;
    font-weight: 600;
}

.feature-selector small {
    grid-area: copy;
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.65;
}

.feature-selector button:hover small,
.feature-selector button.is-active small {
    color: rgba(255, 248, 234, 0.65);
}

.page-footer {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 8px;
    letter-spacing: 0.17em;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: revealUp 760ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.reveal-two { animation-delay: 120ms; }
.reveal-three { animation-delay: 220ms; }

noscript {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 30;
    padding: 12px 18px;
    color: white;
    background: var(--ink);
    border-radius: 99px;
    transform: translateX(-50%);
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(82, 118, 107, 0.1); }
    50% { box-shadow: 0 0 0 8px rgba(82, 118, 107, 0.02); }
}

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes haloBreathe {
    0%, 100% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.96); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes orbitOne {
    to { transform: translate(-50%, -50%) rotate(378deg) scaleY(0.33); }
}

@keyframes orbitTwo {
    to { transform: translate(-50%, -50%) rotate(318deg) scaleY(0.4); }
}

@keyframes scanBeam {
    0%, 100% { top: 12%; opacity: 0; }
    18%, 82% { opacity: 0.72; }
    50% { top: 72%; }
}

@keyframes voiceWave {
    0%, 100% { height: 6px; opacity: 0.5; }
    50% { height: 24px; opacity: 1; }
}

@keyframes pinPulse {
    0%, 100% { opacity: 0.34; transform: scale(0.9); }
    50% { opacity: 0; transform: scale(1.45); }
}

@media (max-width: 1180px) {
    .twin-layout {
        grid-template-columns: minmax(230px, 0.72fr) minmax(470px, 1.28fr);
        grid-template-areas:
            "intro stage"
            "spec stage";
        align-items: start;
    }

    .intro-panel { grid-area: intro; }
    .stage-shell { grid-area: stage; min-height: 780px; }
    .spec-panel { grid-area: spec; }
    .stage-shell { grid-template-rows: auto minmax(650px, 1fr) auto; }
    .model-viewport { min-height: 650px; }
    .identity-card { display: none; }
    .warm-note { margin-top: 16px; }

    .campus-gallery {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .campus-scene-wide {
        grid-row: span 2;
        min-height: 600px;
    }

    .campus-scene:not(.campus-scene-wide) {
        min-height: 290px;
    }

    .campus-commitments {
        grid-template-columns: repeat(2, 1fr);
    }

    .campus-commitments div:nth-child(2) {
        border-right: 0;
    }

    .campus-commitments div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .feature-map-layout {
        grid-template-columns: minmax(500px, 1.2fr) minmax(300px, 0.8fr);
    }
}

@media (max-width: 820px) {
    .topbar,
    .page-footer,
    .twin-layout {
        width: min(100% - 28px, 720px);
    }

    .topbar {
        min-height: 76px;
    }

    .top-nav {
        display: none;
    }

    .live-status span:not(.live-dot) {
        display: none;
    }

    .twin-layout {
        min-height: auto;
        padding-top: 24px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "stage"
            "spec";
        gap: 38px;
    }

    .stage-shell {
        min-height: 0;
        grid-template-rows: auto minmax(590px, 72vh) auto;
    }

    .model-viewport {
        min-height: 590px;
        border-radius: 42% 42% 24px 24px / 18% 18% 24px 24px;
    }

    .intro-panel h1 {
        font-size: clamp(48px, 13vw, 72px);
    }

    .intro-copy {
        max-width: 48em;
    }

    .quick-stats {
        margin-top: 30px;
    }

    .spec-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .spec-heading,
    .spec-list,
    .coordinate-card {
        grid-column: 1 / -1;
    }

    .identity-card {
        display: block;
    }

    .warm-note {
        margin-top: 0;
    }

    .page-footer {
        margin-top: 48px;
    }

    .campus-story,
    .feature-map {
        width: min(100% - 28px, 720px);
    }

    .campus-story-head,
    .feature-map-head {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .campus-story-head h2,
    .feature-map-head h2 {
        font-size: clamp(42px, 10vw, 66px);
    }

    .campus-gallery {
        grid-template-columns: 1fr;
    }

    .campus-scene-wide,
    .campus-scene:not(.campus-scene-wide) {
        min-height: 440px;
        grid-row: auto;
    }

    .feature-map-layout {
        grid-template-columns: 1fr;
    }

    .feature-bear,
    .feature-console {
        min-height: 680px;
    }

    .feature-console h3 {
        margin-top: auto;
    }

    .feature-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-selector button:nth-child(3n) { border-right: 1px solid var(--line); }
    .feature-selector button:nth-child(2n) { border-right: 0; }
    .feature-selector button:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
    .feature-selector button:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 560px) {
    .brand strong { font-size: 17px; }
    .brand small { letter-spacing: 0.12em; }
    .live-status time { display: none; }

    .stage-shell {
        grid-template-rows: auto minmax(510px, 67vh) auto;
    }

    .model-viewport {
        min-height: 510px;
    }

    .stage-readout {
        gap: 8px;
        font-size: 8px;
    }

    .hotspot {
        display: none;
    }

    .pedestal {
        width: 86%;
        height: 18%;
    }

    .control-deck {
        align-items: stretch;
        flex-direction: column;
    }

    .control-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .deck-button {
        padding-inline: 7px;
        justify-content: center;
        font-size: 9px;
    }

    .button-icon {
        display: none;
    }

    .light-control {
        grid-template-columns: auto 1fr 24px;
        padding: 0 4px 4px;
    }

    .spec-panel {
        grid-template-columns: 1fr;
    }

    .spec-heading,
    .spec-list,
    .coordinate-card {
        grid-column: auto;
    }

    .page-footer {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        line-height: 1.8;
    }

    .campus-story {
        padding-top: 72px;
    }

    .campus-story-head h2,
    .feature-map-head h2 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .campus-scene-wide,
    .campus-scene:not(.campus-scene-wide) {
        min-height: 390px;
    }

    .campus-commitments {
        grid-template-columns: 1fr;
    }

    .campus-commitments div,
    .campus-commitments div:nth-child(2) {
        min-height: 112px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .campus-commitments div:last-child {
        border-bottom: 0;
    }

    .feature-bear {
        min-height: 540px;
        border-radius: 28px;
    }

    .feature-bear > img {
        inset: 5% 4% 2%;
        width: 92%;
        height: 93%;
    }

    .feature-bear::after {
        right: 18px;
        bottom: 16px;
        font-size: 6px;
    }

    .feature-pin span {
        width: 34px;
        height: 34px;
        font-size: 8px;
    }

    .feature-pin small {
        display: none;
    }

    .feature-pin-head { top: 14%; left: 46%; }
    .feature-pin-eyes { top: 31%; left: 47%; }
    .feature-pin-voice { top: 39%; left: 66%; }
    .feature-pin-core { top: 49%; left: 48%; }
    .feature-pin-touch { top: 64%; left: 31%; }
    .feature-pin-button { top: 59%; left: 76%; }

    .feature-console {
        min-height: 500px;
        padding: 30px;
        border-radius: 28px;
    }

    .feature-selector {
        grid-template-columns: 1fr;
    }

    .feature-selector button,
    .feature-selector button:nth-child(2n),
    .feature-selector button:nth-child(3n),
    .feature-selector button:nth-last-child(-n + 2),
    .feature-selector button:nth-last-child(-n + 3) {
        min-height: 112px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .feature-selector button:last-child {
        border-bottom: 0;
    }
}

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