* { box-sizing: border-box; }

:root {
    --cyan: #65faff;
    --orange: #ff7a18;
    --gold: #ffc44d;
    --ink: #000306;
    --panel: rgba(0, 7, 11, 0.94);
    --text: #c9e5e8;
    --muted: #86aeb2;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--ink);
    color: var(--text);
    font-family: "Courier New", monospace;
}

body { overflow-x: hidden; }

#matrix {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--ink);
}

.top-nav {
    position: fixed;
    top: 22px;
    left: 50%;
    z-index: 100;
    display: flex;
    gap: 18px;
    transform: translateX(-50%);
}

.top-nav a {
    padding: 9px 14px;
    border: 1px solid var(--cyan);
    background: rgba(0, 5, 8, 0.88);
    box-shadow: 0 0 8px rgba(0, 234, 255, 0.35);
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-decoration: none;
    white-space: nowrap;
    transition: 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.active {
    border-color: var(--orange);
    box-shadow: 0 0 14px rgba(255, 101, 0, 0.75);
    color: var(--orange);
    outline: none;
}

.about-page {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 116px 0 70px;
}

.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(101, 250, 255, 0.7);
    background:
        linear-gradient(110deg, rgba(0, 9, 14, 0.98) 0 47%, rgba(0, 7, 10, 0.45) 72%),
        var(--panel);
    box-shadow: -9px 0 28px rgba(0, 234, 255, 0.18),
                9px 0 28px rgba(255, 101, 0, 0.16);
}

.about-hero::before,
.origin-panel::before,
.realm-principles::before,
.realm-sectors::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(101, 250, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(101, 250, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
}

.hero-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    padding: clamp(38px, 6vw, 76px);
}

.eyebrow {
    margin: 0 0 13px;
    color: var(--orange);
    font-size: 11px;
    letter-spacing: 0.26em;
}

h1, h2, h3 {
    font-family: "Orbitron", "Arial Black", sans-serif;
}

h1 {
    margin: 0;
    color: #020607;
    font-size: clamp(58px, 7.5vw, 108px);
    letter-spacing: 0.035em;
    line-height: 0.86;
    -webkit-text-stroke: 2px var(--cyan);
    text-shadow: -4px 0 14px rgba(0, 234, 255, 0.62),
                  4px 0 14px rgba(255, 101, 0, 0.34);
}

.hero-lede {
    max-width: 650px;
    margin: 32px 0 0;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(101, 250, 255, 0.22);
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-actions a,
.sovereign-panel a {
    padding: 12px 16px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    background: rgba(0, 8, 12, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: 180ms ease;
}

.hero-actions a:hover,
.hero-actions a:focus-visible,
.sovereign-panel a:hover,
.sovereign-panel a:focus-visible {
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 0 16px rgba(255, 122, 24, 0.35);
    outline: none;
}

.hero-actions .primary-action {
    border-color: var(--orange);
    color: var(--orange);
}

.hero-visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    perspective: 780px;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #00090e 0%, transparent 28%),
        radial-gradient(circle at 62% 48%, transparent 0 34%, rgba(0, 3, 6, 0.72) 76%);
}

.paradigm-vista {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 58% 46%, rgba(101, 250, 255, 0.12), transparent 31%),
        linear-gradient(180deg, transparent 52%, rgba(255, 122, 24, 0.05));
}

.paradigm-horizon {
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: -36%;
    height: 78%;
    transform: rotateX(64deg);
    transform-origin: center top;
    background-image:
        linear-gradient(rgba(101, 250, 255, 0.32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(101, 250, 255, 0.25) 1px, transparent 1px);
    background-size: 38px 38px;
    box-shadow: 0 -1px 18px rgba(101, 250, 255, 0.5);
}

.paradigm-beam {
    position: absolute;
    top: 5%;
    left: 58%;
    width: 2px;
    height: 82%;
    background: linear-gradient(transparent, var(--cyan) 28% 70%, var(--orange));
    box-shadow: 0 0 12px var(--cyan), 0 0 28px rgba(255, 122, 24, 0.65);
}

.paradigm-orbit,
.paradigm-core,
.paradigm-node {
    position: absolute;
    top: 46%;
    left: 58%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.paradigm-orbit {
    border: 1px solid currentColor;
    box-shadow: inset 0 0 24px currentColor, 0 0 16px currentColor;
}

.orbit-one {
    width: 270px;
    height: 270px;
    color: rgba(101, 250, 255, 0.72);
    animation: paradigm-spin 18s linear infinite;
}

.orbit-two {
    width: 170px;
    height: 170px;
    color: rgba(255, 122, 24, 0.78);
    animation: paradigm-spin-reverse 12s linear infinite;
}

.paradigm-core {
    width: 78px;
    height: 78px;
    border: 3px solid var(--cyan);
    background: rgba(0, 12, 17, 0.88);
    box-shadow: inset 0 0 22px var(--orange), 0 0 26px var(--cyan);
}

.paradigm-node {
    width: 13px;
    height: 13px;
    border: 2px solid var(--orange);
    background: var(--ink);
    box-shadow: 0 0 12px var(--orange);
}

.node-one { margin: -150px 0 0 -150px; }
.node-two { margin: 145px 0 0 145px; border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.node-three { margin: 148px 0 0 -148px; }

@keyframes paradigm-spin {
    to { transform: translate(-50%, -50%) rotate(405deg); }
}

@keyframes paradigm-spin-reverse {
    to { transform: translate(-50%, -50%) rotate(-315deg); }
}

.hero-scanline {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(transparent 49%, rgba(101, 250, 255, 0.1) 50%, transparent 51%);
    background-size: 100% 7px;
    opacity: 0.28;
}

.hero-coordinate {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 18px;
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: 0.18em;
}

.realm-status {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 18px 0;
    background: rgba(101, 250, 255, 0.22);
}

.realm-status div {
    padding: 18px;
    background: rgba(0, 8, 12, 0.96);
}

.realm-status span,
.realm-status strong {
    display: block;
}

.realm-status span {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.16em;
}

.realm-status strong {
    color: var(--cyan);
    font-size: 14px;
    letter-spacing: 0.1em;
}

.origin-panel,
.realm-principles,
.realm-sectors {
    position: relative;
    margin-top: 18px;
    padding: clamp(28px, 5vw, 56px);
    overflow: hidden;
    border: 1px solid rgba(101, 250, 255, 0.48);
    background: var(--panel);
}

.section-heading {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.section-heading h2,
.sovereign-panel h2 {
    margin: 0;
    color: var(--cyan);
    font-size: clamp(30px, 5vw, 58px);
    letter-spacing: 0.035em;
    line-height: 1;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.96);
    paint-order: stroke fill;
    text-shadow: 0 0 13px rgba(101, 250, 255, 0.35);
}

.origin-panel .section-heading h2,
.realm-sectors .section-heading h2 {
    color: var(--orange);
    text-shadow: 0 0 16px rgba(255, 122, 24, 0.52);
}

.origin-panel {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 40px 64px;
}

.origin-panel .section-heading {
    grid-column: 1 / -1;
}

.origin-copy {
    position: relative;
    z-index: 2;
}

.origin-copy p {
    margin: 0 0 18px;
    color: #b9d6d9;
    font-size: 16px;
    line-height: 1.8;
}

.origin-copy strong {
    color: var(--orange);
    text-shadow: 0 0 9px rgba(255, 122, 24, 0.55);
}

.origin-mark {
    position: relative;
    z-index: 2;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 24, 0.42);
    background:
        radial-gradient(circle, rgba(255, 122, 24, 0.1), transparent 58%),
        rgba(0, 5, 8, 0.76);
}

.origin-castle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.1) contrast(1.08);
}

.origin-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 3, 6, 0.96), transparent 70%);
}

.origin-mark-copy {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-items: end center;
    padding: 0 24px 6px;
    color: var(--orange);
    font: 900 clamp(22px, 3vw, 34px) "Arial Black", Impact, sans-serif;
    letter-spacing: 0.12em;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 122, 24, 0.7);
}

.origin-mark-copy small {
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgba(101, 250, 255, 0.28);
    background: rgba(0, 3, 6, 0.78);
    box-shadow: 0 0 18px rgba(0, 3, 6, 0.92);
    color: var(--cyan);
    font: 700 9px "Courier New", monospace;
    letter-spacing: 0.18em;
    line-height: 1.6;
    white-space: nowrap;
}

.principle-layout article:nth-child(even) h3,
.sector-card:nth-child(even) h3 {
    color: var(--orange);
    text-shadow: 0 0 10px rgba(255, 122, 24, 0.42);
}

.principle-layout article:nth-child(odd) h3,
.sector-card:nth-child(odd) h3 {
    text-shadow: 0 0 10px rgba(101, 250, 255, 0.42);
}

.principle-layout,
.sector-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.principle-layout article,
.sector-card {
    padding: 22px;
    border: 1px solid rgba(101, 250, 255, 0.3);
    background: rgba(0, 10, 15, 0.84);
}

.principle-layout article > span,
.sector-index {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 0.18em;
}

.principle-layout h3,
.sector-card h3 {
    margin: 12px 0;
    color: var(--cyan);
    font-size: 20px;
    letter-spacing: 0.08em;
}

.principle-layout p,
.sector-card p {
    margin: 0;
    color: #9dbfc2;
    font-size: 13px;
    line-height: 1.65;
}

.sector-card {
    color: inherit;
    text-decoration: none;
    transition: 180ms ease;
}

.sector-card small {
    display: block;
    margin-top: 20px;
    color: #d8eff1;
    font-size: 9px;
    letter-spacing: 0.12em;
}

.sector-card:hover,
.sector-card:focus-visible {
    border-color: var(--orange);
    background: rgba(255, 122, 24, 0.06);
    box-shadow: inset 0 0 24px rgba(255, 122, 24, 0.06),
                0 0 16px rgba(255, 122, 24, 0.18);
    transform: translateY(-2px);
    outline: none;
}

.sovereign-panel {
    margin-top: 18px;
    padding: clamp(32px, 6vw, 68px);
    border: 1px solid rgba(255, 122, 24, 0.55);
    background:
        linear-gradient(100deg, rgba(255, 122, 24, 0.08), transparent 65%),
        rgba(0, 6, 9, 0.95);
}

.sovereign-panel p:not(.eyebrow) {
    max-width: 780px;
    margin: 24px 0 30px;
    color: #b9d6d9;
    font-size: 16px;
    line-height: 1.8;
}

.canon-links {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.system-status {
    margin: 30px 0 0;
    color: var(--cyan);
    font-size: 11px;
    letter-spacing: 0.16em;
}

.system-status span {
    color: var(--orange);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Story Experience Layout & Typography */

.story-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 24px;
}

.story-intro,
.archive-invitation {
    position: relative;
    margin-top: 18px;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(101, 250, 255, 0.42);
    background: linear-gradient(110deg, rgba(0, 234, 255, 0.055), transparent 72%), var(--panel);
}

.story-intro h2,
.archive-invitation h2 {
    margin: 0;
    color: var(--cyan);
    font-size: clamp(28px, 4.5vw, 48px);
    letter-spacing: 0.035em;
    line-height: 1.08;
    text-shadow: 0 0 13px rgba(101, 250, 255, 0.3);
}

.story-intro p:not(.eyebrow),
.archive-invitation p:not(.eyebrow) {
    max-width: 820px;
    margin: 18px 0 0;
    color: #c4e4e7;
    font-size: 16px;
    line-height: 1.8;
}

.story-intro strong {
    color: var(--gold);
}

.about-shortcuts {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.about-shortcuts a {
    padding: 11px 14px;
    border: 1px solid rgba(101, 250, 255, 0.4);
    color: var(--cyan);
    background: rgba(0, 8, 12, 0.76);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: 180ms ease;
}

.about-shortcuts a:hover,
.about-shortcuts a:focus-visible {
    border-color: var(--orange);
    color: var(--orange);
    outline: none;
}

.archive-invitation {
    border-color: rgba(255, 122, 24, 0.5);
    background: linear-gradient(100deg, rgba(255, 122, 24, 0.07), transparent 70%), rgba(0, 6, 9, 0.95);
}

.archive-invitation h2 {
    color: var(--orange);
    text-shadow: 0 0 13px rgba(255, 122, 24, 0.34);
}

.archive-invitation .primary-action {
    display: inline-block;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--orange);
    color: var(--orange);
    background: rgba(0, 8, 12, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-decoration: none;
}

.archive-invitation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px 26px;
    margin-top: 24px;
}

.archive-invitation .primary-action:hover,
.archive-invitation .primary-action:focus-visible {
    box-shadow: 0 0 16px rgba(255, 122, 24, 0.35);
    outline: none;
}

.story-section {
    position: relative;
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid rgba(101, 250, 255, 0.35);
    background: var(--panel);
    overflow: hidden;
}

.story-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(101, 250, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(101, 250, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
}

.story-body {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.story-body p {
    margin: 0 0 20px;
    color: #c4e4e7;
    font-size: 16px;
    line-height: 1.85;
}

.story-body p:last-child {
    margin-bottom: 0;
}

.story-body strong {
    color: var(--orange);
    text-shadow: 0 0 8px rgba(255, 122, 24, 0.45);
}

.story-subtitle {
    margin-top: 14px;
    color: var(--gold);
    font-size: clamp(20px, 3vw, 32px);
    letter-spacing: 0.12em;
    text-shadow: 0 0 16px rgba(255, 196, 77, 0.5);
    font-family: "Orbitron", "Arial Black", sans-serif;
}

/* Four Pillars Presentation */

.pillars-showcase {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.pillar-card {
    padding: 24px 20px;
    border: 1px solid rgba(255, 196, 77, 0.35);
    background: rgba(0, 8, 12, 0.94);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    transition: 200ms ease;
}

.pillar-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(255, 196, 77, 0.3);
    transform: translateY(-2px);
}

.pillar-badge {
    display: inline-block;
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.pillar-card h3 {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 22px;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(255, 196, 77, 0.5);
}

.pillar-card h3::after {
    content: ",";
}

.pillar-card p {
    margin: 0;
    color: #a7cfd3;
    font-size: 14px;
    line-height: 1.6;
}

/* Keepers of the Realm (PRIME, DOT, LOX, VALOR, PULSE, RIG) */

.keepers-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.keeper-card {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(101, 250, 255, 0.3);
    background: rgba(0, 8, 12, 0.92);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.85);
    transition: 200ms ease;
}

.keeper-card:hover {
    transform: translateY(-2px);
}

.keeper-badge {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.keeper-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    letter-spacing: 0.12em;
}

.keeper-card p {
    margin: 0 0 12px;
    color: #b5d5d8;
    font-size: 13.5px;
    line-height: 1.7;
}

.keeper-card p:last-child {
    margin-bottom: 0;
}

/* Keeper Distinct Visual Identities */
.keeper-prime {
    border-color: rgba(255, 196, 77, 0.5);
}
.keeper-prime .keeper-badge { color: var(--gold); }
.keeper-prime h3 {
    color: var(--gold);
    text-shadow: 0 0 14px rgba(255, 196, 77, 0.6);
}
.keeper-prime:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 196, 77, 0.35);
}

.keeper-dot {
    border-color: rgba(181, 140, 255, 0.45);
}
.keeper-dot .keeper-badge { color: #d0b3ff; }
.keeper-dot h3 {
    color: #cbb0ff;
    text-shadow: 0 0 14px rgba(181, 140, 255, 0.5);
}
.keeper-dot:hover {
    border-color: #d0b3ff;
    box-shadow: 0 0 20px rgba(181, 140, 255, 0.3);
}

.keeper-lox {
    border-color: rgba(255, 122, 24, 0.5);
}
.keeper-lox .keeper-badge { color: var(--orange); }
.keeper-lox h3 {
    color: var(--orange);
    text-shadow: 0 0 14px rgba(255, 122, 24, 0.6);
}
.keeper-lox:hover {
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(255, 122, 24, 0.35);
}

.keeper-valor {
    border-color: rgba(255, 224, 154, 0.45);
}
.keeper-valor .keeper-badge { color: #ffe09a; }
.keeper-valor h3 {
    color: #ffe09a;
    text-shadow: 0 0 14px rgba(255, 224, 154, 0.5);
}
.keeper-valor:hover {
    border-color: #ffe09a;
    box-shadow: 0 0 20px rgba(255, 224, 154, 0.35);
}

.keeper-pulse {
    border-color: rgba(118, 241, 210, 0.45);
}
.keeper-pulse .keeper-badge { color: #76f1d2; }
.keeper-pulse h3 {
    color: #76f1d2;
    text-shadow: 0 0 14px rgba(118, 241, 210, 0.5);
}
.keeper-pulse:hover {
    border-color: #76f1d2;
    box-shadow: 0 0 20px rgba(118, 241, 210, 0.3);
}

.keeper-rig {
    border-color: rgba(227, 155, 255, 0.45);
}
.keeper-rig .keeper-badge { color: #e39bff; }
.keeper-rig h3 {
    color: #e39bff;
    text-shadow: 0 0 14px rgba(227, 155, 255, 0.5);
}
.keeper-rig:hover {
    border-color: #e39bff;
    box-shadow: 0 0 20px rgba(227, 155, 255, 0.3);
}

/* The Storm Anomaly Section */

.storm-section {
    position: relative;
    border: 1px solid rgba(101, 250, 255, 0.55);
    background:
        radial-gradient(ellipse at 50% 30%, rgba(101, 250, 255, 0.08), transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 122, 24, 0.06), transparent 55%),
        rgba(0, 5, 9, 0.96);
    box-shadow: 0 0 32px rgba(101, 250, 255, 0.12),
                inset 0 0 40px rgba(0, 0, 0, 0.9);
}

.storm-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent 0,
        transparent 3px,
        rgba(101, 250, 255, 0.04) 4px,
        transparent 5px
    );
    opacity: 0.7;
    animation: storm-scan 8s linear infinite;
}

@keyframes storm-scan {
    from { background-position: 0 0; }
    to { background-position: 0 80px; }
}

.storm-section .section-heading h2 {
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(101, 250, 255, 0.6);
}

/* Major Visual Moments (Quotes) */

.storm-signal-callout {
    position: relative;
    margin: 36px 0;
    padding: clamp(28px, 4vw, 44px) 24px;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    background:
        radial-gradient(circle at center, rgba(255, 196, 77, 0.1), transparent 75%),
        rgba(0, 4, 7, 0.85);
    text-align: center;
    box-shadow: 0 0 35px rgba(255, 196, 77, 0.18);
}

.storm-signal-callout.signal-prompt {
    border-color: var(--gold);
}

.storm-signal-callout.signal-response {
    border-color: var(--cyan);
    background:
        radial-gradient(circle at center, rgba(101, 250, 255, 0.12), transparent 75%),
        rgba(0, 4, 7, 0.85);
    box-shadow: 0 0 35px rgba(101, 250, 255, 0.2);
}

.signal-text {
    margin: 0;
    font-family: "Orbitron", "Arial Black", sans-serif;
    font-size: clamp(28px, 6vw, 62px);
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
}

.signal-prompt .signal-text {
    color: var(--gold);
    text-shadow: 0 0 24px rgba(255, 196, 77, 0.75),
                 0 0 48px rgba(255, 122, 24, 0.4);
}

.signal-response .signal-text {
    color: var(--cyan);
    text-shadow: 0 0 24px rgba(101, 250, 255, 0.8),
                 0 0 48px rgba(101, 250, 255, 0.45);
}

.signal-label {
    display: block;
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.24em;
    color: var(--muted);
}

/* Concluding Grand Statement */

.conclusion-panel {
    position: relative;
    margin-top: 24px;
    padding: clamp(48px, 7vw, 84px) clamp(24px, 4vw, 48px);
    border: 1px solid var(--orange);
    background:
        radial-gradient(circle at center, rgba(255, 122, 24, 0.12), transparent 70%),
        rgba(0, 6, 9, 0.98);
    box-shadow: 0 0 40px rgba(255, 122, 24, 0.22);
    text-align: center;
}

.conclusion-statement {
    margin: 0;
    font-family: "Orbitron", "Arial Black", sans-serif;
    font-size: clamp(24px, 4.5vw, 46px);
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-shadow: 0 0 22px rgba(255, 122, 24, 0.75),
                 0 0 40px rgba(255, 196, 77, 0.4);
}

.conclusion-statement::after {
    content: "";
    display: block;
    width: min(160px, 50%);
    height: 3px;
    margin: 28px auto 0;
    background: linear-gradient(90deg, var(--cyan), var(--gold), var(--orange));
    box-shadow: 0 0 12px var(--gold);
}

/* Responsive adjustments for story elements */

@media (max-width: 920px) {
    .pillars-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    .keepers-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pillars-showcase {
        grid-template-columns: 1fr;
    }
    .keepers-layout {
        grid-template-columns: 1fr;
    }
    .story-section {
        padding: 24px 18px;
    }
    .conclusion-panel {
        padding: 36px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storm-section::after {
        animation: none;
    }
    .pillar-card:hover,
    .keeper-card:hover {
        transform: none;
    }
}

@media (max-width: 920px) {
    .top-nav {
        position: absolute;
        top: 14px;
        left: 12px;
        right: 12px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px;
        transform: none;
    }

    .top-nav a {
        padding: 7px 9px;
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .about-page { padding-top: 126px; }

    .about-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-visual {
        min-height: 360px;
        order: -1;
    }

    .hero-visual::after {
        background: linear-gradient(0deg, #00090e 0%, transparent 58%);
    }

    .hero-copy { margin-top: -110px; }

    .realm-status,
    .principle-layout,
    .sector-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .origin-panel { grid-template-columns: 1fr; }
    .origin-panel .section-heading { grid-column: auto; }
}

@media (max-width: 560px) {
    .about-page { width: min(100% - 18px, 1180px); }
    .hero-copy { padding: 28px 20px 34px; }
    .hero-visual { min-height: 290px; }
    h1 { font-size: clamp(48px, 17vw, 72px); }
    .hero-lede { font-size: 15px; }
    .realm-status,
    .principle-layout,
    .sector-layout { grid-template-columns: 1fr; }
    .origin-panel,
    .realm-principles,
    .realm-sectors,
    .sovereign-panel,
    .story-intro,
    .archive-invitation { padding: 26px 20px; }
    .about-shortcuts a { flex: 1 1 calc(50% - 10px); text-align: center; }
    .origin-mark { min-height: 220px; }
    .origin-mark-copy small { white-space: normal; }
    .archive-invitation-actions { align-items: stretch; }
}


.chronicle-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
}

.chronicle-actions .primary-action,
.chronicle-actions .secondary-action {
    display: inline-flex;
    flex: 1 1 260px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    background: rgba(0, 8, 12, 0.88);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.chronicle-actions .secondary-action { font-family: inherit; }

.chronicle-actions .primary-action:hover,
.chronicle-actions .secondary-action:hover,
.chronicle-actions .primary-action:focus-visible,
.chronicle-actions .secondary-action:focus-visible {
    border-color: var(--orange);
    color: var(--orange);
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.chronicle-listen {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(101, 250, 255, 0.3);
    background: rgba(0, 8, 12, 0.72);
}

.chronicle-listen[hidden] { display: none; }
.chronicle-listen-note { margin-top: 0 !important; }
.chronicle-listen audio { display: block; width: 100%; max-width: 100%; }

@media (max-width: 560px) {
    .chronicle-actions { flex-direction: column; }
    .chronicle-actions .primary-action,
    .chronicle-actions .secondary-action { flex-basis: auto; width: 100%; }
    .chronicle-listen { padding: 12px; }
}
