/* ============================================================
   REALM OF ASTRAEA
   Shared Website Stylesheet
============================================================ */


/* ============================================================
   RESET / BASE
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            #211d18 0%,
            #0d0d0d 45%,
            #050505 100%
        );

    color: #e8dfd0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   ACCESSIBILITY
============================================================ */

.visually-hidden {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* ============================================================
   COLORS
============================================================ */

:root {
    --background-dark: #080808;
    --background-panel: #12110f;
    --background-panel-light: #1a1815;

    --gold: #c8a468;
    --gold-bright: #e0c188;
    --gold-dark: #77603c;

    --text-main: #e8dfd0;
    --text-muted: #b8ad9d;

    --red-dark: #4f0d0d;
    --red-mid: #761515;

    --green: #72c743;

    --blue-dark: #0c2236;
    --blue-mid: #1c4d73;
    --blue-bright: #4c8fc0;

    --border-dark: #26221c;
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        linear-gradient(
            to bottom,
            rgba(18, 17, 15, 0.98),
            rgba(7, 7, 7, 0.98)
        );

    border-bottom: 1px solid var(--gold-dark);

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.6);
}

.header-inner {
    width: min(1320px, 94%);
    margin: 0 auto;

    min-height: 60px;

    padding: 7px 0;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ============================================================
   NAVIGATION
============================================================ */

.main-nav {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    white-space: nowrap;
}

.main-nav a {
    position: relative;

    padding: 8px 0;

    color: #ded3c3;

    font-size: 0.84rem;

    text-transform: uppercase;

    letter-spacing: 1.15px;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-bright);

    text-shadow:
        0 0 8px rgba(224, 193, 136, 0.22);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 20%;
    right: 20%;
    bottom: 2px;

    height: 1px;

    background: var(--gold-bright);

    box-shadow:
        0 0 6px rgba(224, 193, 136, 0.45);
}

.main-nav .status-nav {
    padding: 8px 0;

    border: none;

    background: none;

    box-shadow: none;
}


/* ============================================================
   HOMEPAGE HERO
============================================================ */

.hero {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.18) 45%,
            rgba(0, 0, 0, 0.62) 100%
        ),
        url("../images/hero-background.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    border-bottom: 1px solid var(--gold-dark);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.36) 28%,
            rgba(0, 0, 0, 0.10) 58%,
            rgba(0, 0, 0, 0.20) 100%
        );

    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.16) 0%,
            rgba(0, 0, 0, 0.04) 24%,
            rgba(0, 0, 0, 0.04) 76%,
            rgba(0, 0, 0, 0.16) 100%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 820px;

    padding: 48px 24px;

    text-align: center;
}

.hero-prefix {
    margin-bottom: 2px;

    color: var(--gold);

    font-size: 1.55rem;

    text-transform: uppercase;

    letter-spacing: 6px;
}

.hero h1 {
    color: var(--gold-bright);

    font-size: clamp(4.2rem, 8vw, 7.2rem);

    font-weight: normal;

    line-height: 0.95;

    letter-spacing: 5px;

    text-transform: uppercase;
}

.hero-divider {
    width: 320px;
    max-width: 68%;

    height: 1px;

    margin: 30px auto 22px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold-bright),
            transparent
        );
}

.hero-tagline {
    margin-bottom: 28px;

    color: #f0e8db;

    font-size: 1.15rem;

    text-transform: uppercase;

    letter-spacing: 1.6px;
}


/* ============================================================
   BUTTONS
============================================================ */

.primary-button,
.card-button {
    display: inline-block;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-button {
    min-width: 270px;

    padding: 14px 30px;

    border: 1px solid #a15342;

    background:
        linear-gradient(
            to bottom,
            rgba(114, 24, 25, 0.96),
            rgba(61, 9, 10, 0.96)
        );

    color: #f0dfcc;

    font-size: 1rem;

    box-shadow:
        inset 0 0 0 3px #130404,
        inset 0 0 0 4px var(--gold-dark),
        0 7px 16px rgba(0, 0, 0, 0.6);
}

.primary-button:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            to bottom,
            #8d2020,
            #4b0c0c
        );

    border-color: var(--gold);
}


/* ============================================================
   SERVER INFORMATION
============================================================ */

.server-section {
    position: relative;

    padding: 34px 18px 18px;

    background:
        radial-gradient(
            ellipse at center top,
            rgba(114, 88, 48, 0.08),
            transparent 50%
        ),
        linear-gradient(
            to bottom,
            #070707 0%,
            #0d0c0b 50%,
            #080808 100%
        );

    border-top: 1px solid #1d1914;
}

.section-frame {
    position: relative;

    width: min(1260px, 100%);

    aspect-ratio: 3 / 2;

    margin: 0 auto;

    background-image:
        url("../images/server-information-frame.png");

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    filter:
        drop-shadow(
            0 18px 22px rgba(0, 0, 0, 0.58)
        );
}

.server-heading {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
}

.server-grid {
    position: absolute;

    z-index: 2;

    left: 13.2%;
    right: 13.2%;

    top: 27.4%;
    bottom: 11.7%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-template-rows:
        repeat(3, minmax(0, 1fr));

    column-gap: 2.4%;
    row-gap: 3.2%;
}

.server-item {
    position: relative;

    min-width: 0;
    min-height: 0;

    overflow: hidden;
}

.server-text {
    position: absolute;

    left: 31%;
    right: 4%;

    top: 39%;
    bottom: 8%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.server-label {
    display: none;
}

.server-value {
    display: block;

    width: 100%;

    color: #f1e9dd;

    font-size:
        clamp(1rem, 1.45vw, 1.55rem);

    line-height: 1.08;

    text-align: center;

    text-transform: uppercase;
}

.server-value.online {
    color: #80e84e;
}

.server-item:nth-child(3) .server-value,
.server-item:nth-child(4) .server-value,
.server-item:nth-child(6) .server-value {
    font-size:
        clamp(0.92rem, 1.27vw, 1.38rem);
}

.server-subvalue {
    display: block;

    margin-top: 6px;

    color: #cfc2ae;

    font-size:
        clamp(0.62rem, 0.72vw, 0.76rem);

    text-transform: uppercase;

    letter-spacing: 0.9px;
}


/* ============================================================
   SERVER / CHRONICLES TRANSITION
============================================================ */

.server-section::after {
    content: "";

    position: absolute;

    z-index: 4;

    left: 50%;
    bottom: -24px;

    transform: translateX(-50%);

    width: min(1180px, 84%);
    height: 48px;

    background:
        linear-gradient(
            to bottom,
            #161411,
            #0c0b0a 48%,
            #050505
        );

    border-top:
        1px solid rgba(200, 164, 104, 0.34);

    border-bottom:
        1px solid rgba(200, 164, 104, 0.26);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.44);
}


/* ============================================================
   CHRONICLES
============================================================ */

.chronicles-section {
    position: relative;

    padding: 36px 18px 46px;

    background:
        linear-gradient(
            to bottom,
            #080808,
            #0c0b0a 22%,
            #0d0c0b 50%,
            #070707
        );

    border-top:
        1px solid rgba(200, 164, 104, 0.16);
}

.chronicles-section::before {
    content: "";

    position: absolute;

    z-index: 6;

    top: -31px;
    left: 50%;

    width: 28px;
    height: 28px;

    transform:
        translateX(-50%)
        rotate(45deg);

    background:
        radial-gradient(
            circle at 35% 30%,
            #5fa6d4,
            #2e6f99 28%,
            #153b59 56%,
            #081521
        );

    border: 2px solid var(--gold);
}

.chronicles-section::after {
    content: "";

    position: absolute;

    z-index: 5;

    top: -18px;
    left: 50%;

    width: min(700px, 58%);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold-dark) 16%,
            var(--gold) 43%,
            transparent 47%,
            transparent 53%,
            var(--gold) 57%,
            var(--gold-dark) 84%,
            transparent
        );
}

.chronicles-artwork {
    position: relative;

    width: min(1260px, 100%);

    aspect-ratio: 3 / 2;

    margin: 16px auto 0;

    background-image:
        url("../images/chronicles-of-the-realm.png");

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.chronicles-hotspot {
    position: absolute;

    z-index: 5;

    display: block;

    border:
        1px solid transparent;

    border-radius: 4px;
}

.lore-hotspot {
    left: 20.4%;
    top: 78.2%;

    width: 24.1%;
    height: 8.8%;
}

.events-hotspot {
    left: 61.3%;
    top: 78.2%;

    width: 23.8%;
    height: 8.8%;
}

.chronicles-mobile {
    display: none;
}


/* ============================================================
   MOBILE CHRONICLE CARDS
============================================================ */

.chronicles-mobile h2 {
    color: var(--gold-bright);

    text-align: center;

    font-size: 1.8rem;

    font-weight: normal;

    text-transform: uppercase;

    letter-spacing: 2.5px;
}

.heading-divider {
    width: 220px;

    height: 1px;

    margin: 12px auto 28px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold),
            transparent
        );
}

.chronicle-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 26px;
}

.chronicle-card {
    min-height: 320px;

    border: 1px solid var(--gold-dark);

    padding: 6px;

    background: #0a0a09;
}

.chronicle-card-content {
    min-height: 308px;

    padding: 34px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #332d23,
            #171511
        );
}

.chronicle-type {
    color: var(--gold-bright);

    font-size: 1.95rem;

    text-transform: uppercase;
}

.chronicle-card h3 {
    margin-top: 20px;

    color: #e9dfd0;

    font-size: 1.42rem;

    font-weight: normal;
}

.chronicle-card p {
    margin-top: 12px;

    color: #c2b8a8;
}

.card-button {
    margin-top: 24px;

    padding: 10px 20px;

    border: 1px solid var(--gold-dark);

    color: var(--gold-bright);
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    padding: 30px 20px;

    border-top: 1px solid var(--gold-dark);

    background:
        linear-gradient(
            to bottom,
            #10100f,
            #050505
        );
}

.footer-inner {
    text-align: center;
}

.footer-title {
    color: var(--gold-bright);

    font-size: 1.45rem;

    text-transform: uppercase;

    letter-spacing: 2.5px;
}

.footer-subtitle {
    margin-top: 8px;

    color: #c7bcaa;

    text-transform: uppercase;

    letter-spacing: 1.6px;

    font-size: 0.82rem;
}

.footer-subtitle span {
    padding: 0 7px;

    color: var(--gold-dark);
}

.footer-divider {
    width: 160px;
    height: 1px;

    margin: 16px auto;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold-dark),
            transparent
        );
}

.footer-copyright {
    color: #857d70;

    font-size: 0.76rem;
}


/* ============================================================
   ============================================================
   LORE PAGE
   ============================================================
============================================================ */


/* ============================================================
   LORE PAGE BACKGROUND
============================================================ */

.lore-page {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(84, 64, 39, 0.15),
            transparent 38%
        ),
        linear-gradient(
            to bottom,
            #090909,
            #060606 40%,
            #090806
        );
}


/* ============================================================
   LORE HERO
============================================================ */

.lore-hero {
    position: relative;

    min-height: 440px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 20px;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at center,
            rgba(74, 56, 34, 0.26),
            transparent 52%
        ),
        linear-gradient(
            to bottom,
            #11100e,
            #090909 72%,
            #060606
        );

    border-bottom:
        1px solid rgba(200, 164, 104, 0.32);
}

.lore-hero::before {
    content: "";

    position: absolute;
    inset: 18px;

    border:
        1px solid rgba(200, 164, 104, 0.13);
}

.lore-hero-inner {
    position: relative;
    z-index: 2;

    width: min(900px, 100%);

    text-align: center;
}

.lore-hero-prefix {
    margin-bottom: 12px;

    color: var(--gold);

    font-size: 0.88rem;

    text-transform: uppercase;

    letter-spacing: 5px;
}

.lore-hero h1 {
    color: var(--gold-bright);

    font-size:
        clamp(2.8rem, 6vw, 5.1rem);

    font-weight: normal;

    line-height: 1.05;

    text-transform: uppercase;

    letter-spacing: 4px;
}

.lore-hero-subtitle {
    margin-top: 20px;

    color: #d7c9b5;

    font-size: 1.12rem;

    text-transform: uppercase;

    letter-spacing: 3px;
}

.lore-hero-introduction {
    max-width: 620px;

    margin: 28px auto 0;

    color: #aaa092;

    font-size: 1.05rem;

    font-style: italic;

    letter-spacing: 0.5px;
}


/* ============================================================
   ORNAMENT
============================================================ */

.lore-ornament {
    width: min(460px, 80%);

    margin: 28px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;
}

.lore-ornament span {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold-dark)
        );
}

.lore-ornament span:last-child {
    background:
        linear-gradient(
            to left,
            transparent,
            var(--gold-dark)
        );
}

.lore-ornament i {
    display: block;

    width: 14px;
    height: 14px;

    transform: rotate(45deg);

    background:
        radial-gradient(
            circle at 30% 30%,
            #5694bd,
            #1c4d73 48%,
            #081722
        );

    border: 1px solid var(--gold);
}


/* ============================================================
   LORE BOOK
============================================================ */

.lore-book {
    position: relative;

    padding:
        72px
        20px
        90px;
}


/* ============================================================
   CHAPTER
============================================================ */

.lore-chapter {
    position: relative;

    width: min(940px, 100%);

    margin:
        0 auto 72px;

    padding:
        62px
        76px
        68px;

    background:
        radial-gradient(
            ellipse at center top,
            rgba(124, 96, 57, 0.10),
            transparent 46%
        ),
        linear-gradient(
            145deg,
            rgba(27, 25, 21, 0.97),
            rgba(12, 12, 11, 0.98)
        );

    border:
        1px solid rgba(200, 164, 104, 0.30);

    box-shadow:
        inset 0 0 0 4px #080808,
        inset 0 0 0 5px rgba(119, 96, 60, 0.35),
        0 20px 36px rgba(0, 0, 0, 0.48);
}

.lore-chapter::before,
.lore-chapter::after {
    content: "";

    position: absolute;

    width: 42px;
    height: 42px;

    opacity: 0.65;
}

.lore-chapter::before {
    top: 12px;
    left: 12px;

    border-top: 1px solid var(--gold-dark);
    border-left: 1px solid var(--gold-dark);
}

.lore-chapter::after {
    right: 12px;
    bottom: 12px;

    border-right: 1px solid var(--gold-dark);
    border-bottom: 1px solid var(--gold-dark);
}


/* ============================================================
   CHAPTER HEADER
============================================================ */

.chapter-header {
    margin-bottom: 42px;

    text-align: center;
}

.chapter-number {
    display: block;

    margin-bottom: 8px;

    color: var(--gold-dark);

    font-size: 0.76rem;

    text-transform: uppercase;

    letter-spacing: 4px;
}

.chapter-header h2 {
    color: var(--gold-bright);

    font-size:
        clamp(1.9rem, 4vw, 2.8rem);

    font-weight: normal;

    line-height: 1.15;

    text-transform: uppercase;

    letter-spacing: 2.5px;
}

.chapter-divider {
    width: 190px;
    max-width: 60%;

    height: 1px;

    margin: 20px auto 0;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold),
            transparent
        );
}


/* ============================================================
   CHAPTER TEXT
============================================================ */

.chapter-content {
    width: min(720px, 100%);

    margin: 0 auto;
}

.chapter-content p {
    margin-bottom: 24px;

    color: #d0c6b8;

    font-size: 1.04rem;

    line-height: 1.92;
}

.chapter-content strong {
    color: #e6d4b8;

    font-weight: normal;
}


/* ============================================================
   LORE EMPHASIS
============================================================ */

.chapter-content .lore-emphasis {
    margin:
        34px auto;

    color: #e4d8c6;

    font-size: 1.13rem;

    text-align: center;

    font-style: italic;
}

.chapter-content .lore-revelation {
    margin:
        38px auto;

    color: var(--gold-bright);

    font-size: 1.22rem;

    line-height: 1.65;

    text-align: center;
}

.chapter-content .lore-name {
    margin:
        42px auto;

    color: var(--gold-bright);

    font-size: 2rem;

    line-height: 1;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 5px;
}

.chapter-content .lore-cycle {
    margin:
        42px auto;

    color: #dfcfb7;

    text-align: center;

    font-size: 1.28rem;

    text-transform: uppercase;

    letter-spacing: 3px;
}

.chapter-content .lore-question {
    margin:
        42px auto;

    padding:
        22px 30px;

    color: var(--gold-bright);

    font-size: 1.3rem;

    line-height: 1.65;

    text-align: center;

    font-style: italic;

    border-top:
        1px solid rgba(200, 164, 104, 0.22);

    border-bottom:
        1px solid rgba(200, 164, 104, 0.22);
}


/* ============================================================
   SEQUENCES
============================================================ */

.lore-sequence {
    margin:
        38px auto;

    text-align: center;
}

.lore-sequence p {
    margin-bottom: 8px;

    color: #e2d5c2;

    font-size: 1.12rem;

    line-height: 1.6;

    font-style: italic;
}

.lore-worlds p {
    color: var(--gold-bright);

    text-transform: uppercase;

    letter-spacing: 2px;
}


/* ============================================================
   DARK CHAPTERS
============================================================ */

.lore-chapter-dark {
    background:
        radial-gradient(
            ellipse at center,
            rgba(79, 13, 13, 0.10),
            transparent 58%
        ),
        linear-gradient(
            145deg,
            #171312,
            #090909
        );

    border-color:
        rgba(132, 74, 54, 0.42);
}


/* ============================================================
   CROWMIRE CHAPTERS
============================================================ */

.lore-chapter-crowmire {
    background:
        radial-gradient(
            ellipse at center top,
            rgba(72, 21, 17, 0.17),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            #171210,
            #080808
        );

    border-color:
        rgba(130, 77, 54, 0.50);
}


/* ============================================================
   HEAVEN CHAPTER
============================================================ */

.lore-chapter-heaven {
    background:
        radial-gradient(
            ellipse at center top,
            rgba(133, 118, 83, 0.13),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            #1b1915,
            #0b0b0a
        );
}


/* ============================================================
   FINAL CHAPTERS
============================================================ */

.lore-chapter-future {
    border-color:
        rgba(200, 164, 104, 0.44);
}

.lore-final-line {
    margin:
        55px auto 10px !important;

    color: var(--gold-bright) !important;

    font-size: 1.65rem !important;

    text-align: center;

    font-style: italic;
}

.lore-ending {
    margin-top: 45px;

    text-align: center;
}

.lore-ending p {
    margin-bottom: 8px;

    color: #ddd1bf;

    text-align: center;

    font-style: italic;
}

.astraea-declaration {
    margin:
        62px auto 0 !important;

    color: var(--gold-bright) !important;

    font-size:
        clamp(2rem, 5vw, 3.2rem) !important;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 6px;
}


/* ============================================================
   EPILOGUE BREAK
============================================================ */

.epilogue-break {
    width: min(700px, 80%);

    margin:
        105px auto 95px;

    display: flex;
    align-items: center;

    gap: 22px;
}

.epilogue-break span {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--gold-dark)
        );
}

.epilogue-break span:last-child {
    background:
        linear-gradient(
            to left,
            transparent,
            var(--gold-dark)
        );
}

.epilogue-gem {
    width: 20px;
    height: 20px;

    transform: rotate(45deg);

    background:
        radial-gradient(
            circle at 30% 30%,
            #4c8fc0,
            #1c4d73 45%,
            #07141f
        );

    border: 1px solid var(--gold);
}


/* ============================================================
   VANISHING CHAPTER
============================================================ */

.lore-chapter-vanish {
    background:
        radial-gradient(
            ellipse at center,
            rgba(36, 48, 57, 0.13),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #131415,
            #080808
        );

    border-color:
        rgba(118, 112, 96, 0.38);
}

.vanish-final {
    max-width: 650px;

    margin-top: 60px !important;

    font-size: 1.4rem !important;
}


/* ============================================================
   END OF LORE
============================================================ */

.lore-close {
    width: min(700px, 100%);

    margin:
        100px auto 20px;

    text-align: center;
}

.lore-close .lore-ornament {
    margin-bottom: 40px;
}


/* ============================================================
   LORE AUTHOR CREDIT
============================================================ */

.lore-credit {
    margin-top: 30px;

    color: #8f8678;

    font-size: 0.75rem;

    font-style: italic;

    letter-spacing: 0.7px;

    text-align: center;
}


/* ============================================================
   RESPONSIVE NAVIGATION
============================================================ */

@media (max-width: 1100px) {

    .main-nav {
        flex-wrap: wrap;

        gap: 14px 24px;
    }

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size:
            clamp(3.8rem, 15vw, 5.8rem);
    }

    .server-section::after,
    .chronicles-section::before,
    .chronicles-section::after {
        display: none;
    }

    .section-frame {
        width: min(720px, 100%);

        aspect-ratio: auto;

        padding: 38px 22px;

        background-image: none;

        background:
            linear-gradient(
                145deg,
                #191714,
                #0b0b0a
            );

        border: 1px solid var(--gold-dark);

        filter: none;
    }

    .server-heading {
        position: static;

        width: auto;
        height: auto;

        margin: 0 0 24px;

        overflow: visible;

        clip: auto;

        white-space: normal;

        color: var(--gold-bright);

        text-align: center;

        font-size: 1.7rem;
    }

    .server-grid {
        position: static;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-template-rows: auto;

        gap: 0;

        border:
            1px solid rgba(200, 164, 104, 0.30);
    }

    .server-item {
        min-height: 150px;

        padding: 20px;

        display: flex;
        align-items: center;
        justify-content: center;

        border:
            1px solid rgba(200, 164, 104, 0.16);
    }

    .server-text {
        position: static;

        width: 100%;
    }

    .server-label {
        display: block;

        margin-bottom: 7px;

        color: var(--gold);

        text-transform: uppercase;
    }

    .chronicles-artwork {
        display: none;
    }

    .chronicles-mobile {
        display: block;

        width: min(760px, 100%);

        margin: 0 auto;
    }

    .chronicle-grid {
        grid-template-columns: 1fr;
    }


    /* LORE */

    .lore-hero {
        min-height: 390px;

        padding:
            60px
            20px;
    }

    .lore-book {
        padding:
            50px
            16px
            70px;
    }

    .lore-chapter {
        margin-bottom: 52px;

        padding:
            50px
            44px
            56px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 560px) {

    .header-inner {
        min-height: auto;

        padding: 8px 0;
    }

    .main-nav {
        gap: 6px 14px;
    }

    .main-nav a {
        font-size: 0.72rem;
    }

    .hero {
        min-height: 450px;
    }

    .server-section,
    .chronicles-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .server-grid {
        grid-template-columns: 1fr;
    }


    /* LORE HERO */

    .lore-hero {
        min-height: 340px;

        padding:
            50px
            16px;
    }

    .lore-hero::before {
        inset: 9px;
    }

    .lore-hero-prefix {
        font-size: 0.7rem;

        letter-spacing: 3px;
    }

    .lore-hero h1 {
        font-size:
            clamp(2.1rem, 11vw, 3.2rem);

        letter-spacing: 2px;
    }

    .lore-hero-subtitle {
        font-size: 0.85rem;

        letter-spacing: 2px;
    }

    .lore-hero-introduction {
        font-size: 0.92rem;
    }


    /* LORE BOOK */

    .lore-book {
        padding:
            36px
            10px
            60px;
    }

    .lore-chapter {
        margin-bottom: 36px;

        padding:
            42px
            22px
            46px;
    }

    .chapter-header {
        margin-bottom: 32px;
    }

    .chapter-number {
        font-size: 0.68rem;

        letter-spacing: 3px;
    }

    .chapter-header h2 {
        font-size:
            clamp(1.55rem, 8vw, 2.1rem);

        letter-spacing: 1.5px;
    }

    .chapter-content p {
        margin-bottom: 21px;

        font-size: 0.96rem;

        line-height: 1.82;
    }

    .chapter-content .lore-revelation {
        font-size: 1.08rem;
    }

    .chapter-content .lore-name {
        font-size: 1.55rem;

        letter-spacing: 3px;
    }

    .chapter-content .lore-cycle {
        font-size: 1rem;

        letter-spacing: 1.5px;
    }

    .chapter-content .lore-question {
        padding:
            18px
            10px;

        font-size: 1.08rem;
    }

    .lore-final-line {
        font-size: 1.35rem !important;
    }

    .astraea-declaration {
        font-size: 2rem !important;

        letter-spacing: 3px;
    }

    .epilogue-break {
        margin:
            70px auto
            65px;
    }

    .vanish-final {
        font-size: 1.18rem !important;
    }

    .lore-close {
        margin-top: 70px;
    }

    .lore-credit {
        margin-top: 24px;

        font-size: 0.7rem;
    }

}