﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background: #0f0c08; /* deep warm dark */
    color: #e8d8b0;
    font-family: Georgia, serif;
    text-align: center;
    min-height: 100vh;
}

/* =============================
   CLEAN BUTTON SYSTEM
============================= */

.button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 12px;
}

.portal-button {
    display: inline-block;
    min-width: 110px;
    padding: 10px 16px;
    font-family: "Franklin Gothic Medium", Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.04em;
    color: #a8792a;
    background-color: #351607;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

    .portal-button:hover {
        color: #000;
        background-color: rgba(255,223,112,0.35);
        border-color: #ffc800;
        box-shadow: 0 0 6px rgba(255,200,0,0.35);
    }

h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    font-size: 20px;
    font-style: italic;
    text-transform: uppercase;
    color: #e6cf8d;
    line-height: 1.2;
    margin-top: 18px;
    margin-bottom: 0.5em;
}

h2 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    font-size: 18px;
    color: #e6cf8d;
    line-height: 1.2;
    margin-top: 1.1em;
    margin-bottom: 14px;
}

h3 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    font-size: 16px;
    color: #e6cf8d;
    line-height: 1.2;
    margin-top: 1.2em;
    margin-bottom: 14px;
}

h4 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    color: #e6cf8d;
    margin-top: 16px;
}

h5 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
    color: #e6cf8d;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.2);
    margin-top: 16px;
}
/* ESSAY PAGE TITLE SYSTEM */

.essay-title-block {
    max-width: 750px;
    margin: 40px auto 28px auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

    .essay-title-block h1 {
        margin: 0 0 14px 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 30px;
        line-height: 1.15;
        font-weight: bold;
        font-style: italic;
        color: #e6cf8d;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .essay-title-block .subtitle {
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 16px;
        line-height: 1.35;
        font-weight: bold;
        color: #e6cf8d;
    }

.codex-wrapper {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.codex-column {
    column-count: 1;
    column-gap: 10px;
    column-rule: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px;
    font-family: Georgia, "Times New Roman", serif;
    color: #000;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-align: justify;
}

.topic {
    margin: 1.2rem auto; /* top/bottom 1rem, left/right auto = centered */
    max-width: 650px; /* text never stretches wider than 800px */
    padding: 20px;
    background: rgba(30, 25, 20, 0.7);
    border-left: 1px solid #000000;
    font-family: 'Gabriola', 'Palatino Linotype', 'Georgia', serif;
    color: #e6cf8d;
    font-size: 20px;
    letter-spacing: 0.05em; /* small spread */
    line-height: 1.2em;
    border-radius: 8px; /* keep topic as one block */
    break-inside: avoid; /* modern browsers */
    page-break-inside: avoid; /* printing */
    -webkit-column-break-inside: avoid; /* Safari/Chrome old syntax */
}

.blockquote {
    font-style: italic;
    background-color: #fdf7d8;
    border-left: 4px solid #000;
    padding: 12px 20px;
    margin: 20px 0;
    color: #e6cf8d;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: none;
    padding: 4px;
    text-align: left;
    font-family: 'Gabriola', 'Palatino Linotype', 'Georgia', serif;
    font-weight: normal;
    letter-spacing: 0.5px;
    color: #e6cf8d;
    font-size: 14px;
    letter-spacing: 0.1em; /* small spread */
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.2);
}

tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.4);
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 22px;
    justify-content: center;
    padding: 0 10px;
    max-width: 1000px;
    margin: 20px auto;
}

.grid-box {
    background-color: #f2e2c2;
    padding: 5px;
    text-align: center;
    transition: transform 0.2s;
    width: 100%;
}


    .grid-box a {
        font-size: 14px;
        color: #e6cf8d;
        text-decoration: none;
    }
/*POEM STYLE*/
.poem {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #e6cf8d;
    letter-spacing: 0.05em; /* small spread */
    font-size: 12px;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    line-height: 1.2;
    white-space: pre-line;
    text-align: center;
    background: rgba(30, 25, 20, 0.7);
    border-left: 4px solid #999;
    border-radius: 4px;
}

.stanza {
    max-width: 65ch; /* great for readability */
    margin-inline: auto; /* centers each child */
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #e6cf8d;
    letter-spacing: 0.05em; /* small spread */
    font-size: 12px;
    margin-bottom: 0;
    color: #000;
    white-space: pre-line;
}

.poem-mono {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #e6cf8d;
    letter-spacing: 0.05em; /* small spread */
    font-size: 12px;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    line-height: 1.6;
    white-space: pre;
    background: rgba(30, 25, 20, 0.7);
    border-left: 4px solid #999;
    border-radius: 4px;
    text-align: left;
}

/* ===== PARAGRAPHS ===== */


ul {
    list-style: none; /* removes bullets */
    margin: 0 0 8px 0; /* only bottom space */
    padding: 0; /* no extra indent */
}

li {
    font-family: "Franklin Gothic", Arial, sans-serif;
    font-size: 14px;
    color: #e6cf8d;
    line-height: 1.4; /* breathing room without looking airy */
    margin-bottom: 4px; /* small gap between items */
}
/* ===== LINKS ===== */
a {
    color: #007acc;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }
/* Container for the entire footnotes block */
.footnotes {
    margin-top: 1em;
    border-top: 1px solid #ccc;
    padding-top: 1em;
    align-content: center;
    font-size: 0.7em;
    color: #444;
    max-width: 500px;
}

    /* Individual footnote number style */
    .footnotes sup {
        font-weight: bold;
        color: #555;
    }

    /* Style for each footnote item */
    .footnotes li {
        margin-bottom: 0.6em;
        list-style: decimal inside;
        line-height: 1.5;
    }

    /* Optional: make links in footnotes stand out slightly */
    .footnotes a {
        color: #336699;
        text-decoration: underline;
    }

@media (max-width: 768px) {

    .simple-grid {
        grid-template-columns: 1fr !important;
    }

    .grid-box {
        width: 100%;
        max-width: 100%;
    }

        .grid-box p,
        .grid-box {
            text-align: left !important;
        }
}
/* ===== IMAGES ===== */
header img {
    max-width: 75%;
    height: auto;
    display: block;
    object-fit: contain;
    padding-block: 20px; /* already there: top & bottom */
    margin-inline: auto; /* ⬅️ NEW: centers the image horizontally */
    padding-inline: 10px; /* ⬅️ Optional: adds breathing room on sides */
}

.threshold {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

h1 {
    font-size: 2rem;
    margin: 20px 0 10px;
    color: #d4af88;
}

h2 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #d4af88;
}

.tagline {
    font-size: 1.8rem;
    font-style: italic;
    color: #b89e6e;
    margin-bottom: 50px;
}

.paths {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.path {
    flex: 1;
    min-width: 320px;
    max-width: 480px;
    background: rgba(30, 25, 20, 0.7);
    border: 1px solid #6b5c3d;
    border-radius: 12px;
    padding: 10px 10px;
    transition: all 0.4s ease;
}

    .path:hover {
        transform: translateY(-12px);
        border-color: #d4af88;
        box-shadow: 0 0 35px rgba(212, 175, 136, 0.3);
    }

    .path h2 {
        color: #e8c080;
        font-size: 1.1rem;
        margin: 15px 0;
    }

    .path p {
        text-align: justify;
        line-height: 1.6;
        font-size: 1.05rem;
        max-width: 90%;
        margin: 0 auto 20px auto;
    }

.serious img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding-block: 5px; /* already there: top & bottom */
}

.wolf img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding-block: 5px; /* already there: top & bottom */
}


.enter-btn {
    display: inline-block;
    transition: all 0.3s;
}

    .enter-btn:hover {
        background: #000000;
        color: #000000;
    }
