/* ========================================
   ABOUT MIDEVILS — Parchment Theme
   Light theme inspired by midevils.html
   ======================================== */

:root {
    --parchment: #C5AE91;
    --dark-parchment: #8a6a3a;
    --ink: #1a1008;
    --red: #b02010;
    --gold: #D4A017;
    --off-white: #f8f0e0;
}

/* Override base.css dark theme for this page */
body {
    background: var(--off-white) !important;
    background-image: none !important;
    color: var(--ink);
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 18px;
    line-height: 1.75;
}

body::before {
    display: none !important;
}

.background-overlay {
    display: none !important;
}

/* ---- Hero Header ---- */
.about-hero {
    background: linear-gradient(160deg, #12082a 0%, #280808 55%, #12082a 100%);
    padding: 80px 24px 56px;
    text-align: center;
    border-bottom: 5px solid var(--gold);
}

.hero-logo {
    display: block;
    max-width: clamp(240px, 40vw, 420px);
    height: auto;
    margin: 0 auto 8px;
}

.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;
}

.about-hero .tagline {
    font-family: 'Cinzel', serif;
    font-size: clamp(.9rem, 2.5vw, 1.35rem);
    color: #c5ae91;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-top: 6px;
    margin-bottom: 22px;
}

.about-hero .hero-desc {
    max-width: 700px;
    margin: 0 auto;
    color: #e8dcc8;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.stat {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(212, 160, 23, .4);
    border-radius: 8px;
    padding: 14px 26px;
    text-align: center;
}

.stat-n {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-l {
    font-size: .8rem;
    color: #b0a080;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---- Main Content ---- */
.about-main {
    background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(160, 133, 95, .06) 39px, rgba(160, 133, 95, .06) 40px);
    position: relative;
    z-index: 2;
}

.wrap {
    max-width: 840px;
    margin: 0 auto;
    padding: 56px 28px;
}

.wrap + .wrap {
    border-top: 2px solid rgba(160, 133, 95, .25);
}

/* ---- Typography ---- */
h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--red);
    text-shadow: 2px 2px 0 rgba(90, 0, 0, .35);
    margin-bottom: 28px;
    text-align: center;
}

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 10px auto 0;
}

h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-parchment);
    margin: 24px 0 10px;
}

p {
    margin-bottom: 14px;
}

/* ---- Card / Callout ---- */
.card {
    background: rgba(197, 174, 145, .18);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 18px 0;
}

.callout {
    background: linear-gradient(135deg, rgba(197, 174, 145, .3), rgba(197, 174, 145, .08));
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 24px 30px;
    margin: 24px 0;
    text-align: center;
    font-style: italic;
    color: #3a2010;
    font-size: 1.08rem;
}

/* ---- Trinity Circles ---- */
.trinity {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.t-card {
    background: linear-gradient(135deg, #2a1a0a, #1a0a02);
    border: 2px solid var(--gold);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    overflow: hidden;
}

.t-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

.t-name {
    font-family: 'Cinzel', serif;
    font-size: .9rem;
    font-weight: 700;
    color: var(--gold);
}

.t-sub {
    font-size: .72rem;
    color: #c5ae91;
    margin-top: 4px;
}

/* ---- Traits Grid ---- */
.traits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px auto;
    max-width: 100%;
}

.trait {
    background: rgba(197, 174, 145, .2);
    border: 1px solid rgba(160, 133, 95, .4);
    border-radius: 10px;
    padding: 6px 6px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trait-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
}

.trait-name {
    font-family: 'Cinzel', serif;
    font-size: .75rem;
    color: var(--dark-parchment);
    margin-top: 4px;
}

/* ---- Iceberg ---- */
.iceberg-above {
    background: linear-gradient(to bottom, #e8f4fd, #b8d8f0);
    border: 2px solid #5b9bd5;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 24px 28px;
}

.iceberg-above .il {
    font-family: 'Cinzel', serif;
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a3a5c;
    margin-bottom: 8px;
}

.iceberg-below {
    background: linear-gradient(to bottom, #1a3a5c, #0d2040);
    border: 2px solid #5b9bd5;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 24px 28px;
    color: #a8c8e8;
}

.iceberg-below .il {
    font-family: 'Cinzel', serif;
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a8ab8;
    margin-bottom: 8px;
}

/* ---- Parchment Box ---- */
.parchment-box {
    background: var(--parchment);
    border-radius: 14px;
    padding: 36px 34px;
    margin: 20px 0;
    border: 2px solid #8a6a3a;
}

.parchment-box p {
    color: #2a1a08;
}

/* ---- Timeline ---- */
.timeline {
    border-left: 3px solid var(--gold);
    padding-left: 22px;
    margin: 16px 0;
}

.tl {
    position: relative;
    margin-bottom: 20px;
}

.tl::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 7px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
}

.tl p {
    color: #2a1a08;
}

/* ---- Ghost Box ---- */
.ghost-box {
    background: linear-gradient(135deg, #0d0d1a, #1a0a2e);
    color: #e0d0c0;
    border-radius: 14px;
    padding: 36px 34px;
    margin: 20px 0;
    border: 1px solid rgba(120, 60, 220, .4);
}

.ghost-box h3 {
    color: #c084fc;
}

.ghost-box p {
    color: #c8b8a8;
}

/* ---- Community Section ---- */
.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.community-card {
    background: rgba(197, 174, 145, .18);
    border: 1px solid rgba(160, 133, 95, .35);
    border-radius: 12px;
    padding: 24px;
}

.community-card h3 {
    margin-top: 0;
}

blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 18px;
    margin: 18px 0;
    font-style: italic;
    color: #5a2010;
    font-size: 1.05rem;
}

blockquote cite {
    display: block;
    font-style: normal;
    font-size: .85rem;
    color: var(--dark-parchment);
    margin-top: 6px;
}

/* ---- Burns Grid ---- */
.burns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.burn-card {
    background: rgba(197, 174, 145, .18);
    border: 1px solid rgba(160, 133, 95, .35);
    border-radius: 12px;
    padding: 24px;
}

.burn-card h3 {
    margin-top: 0;
}

.burn-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 14px;
}

.ghostar-img {
    float: right;
    width: 45%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    margin: 0 0 16px 24px;
}

/* ---- Midland Map ---- */
.midland-map {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--gold);
    margin-bottom: 24px;
}

/* ---- Conclusion ---- */
.conclusion {
    background: linear-gradient(135deg, #fff9f0, #f5ead0);
    border: 2px solid var(--gold);
    border-radius: 14px;
    padding: 40px 36px;
    margin: 20px 0;
}

.conclusion h2 {
    color: var(--red);
}

.conclusion blockquote {
    border-left: 4px solid var(--red);
    color: #5a2010;
    font-size: 1.08rem;
}

.sig {
    text-align: right;
    margin-top: 28px;
    font-family: 'Cinzel', serif;
    color: var(--dark-parchment);
}

/* ---- CTA Links ---- */
.cta-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.cta-link {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--off-white);
    background: linear-gradient(135deg, #5a0000, #8b2010);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 14px 32px;
    text-decoration: none;
    transition: background 300ms ease, transform 150ms ease;
}

.cta-link:hover {
    background: linear-gradient(135deg, #7a1010, #a03020);
    transform: translateY(-2px);
}

/* ---- Footer ---- */
.about-footer {
    background: #0d0d0d;
    color: #808080;
    text-align: center;
    padding: 28px 20px;
    font-size: .85rem;
    border-top: 3px solid var(--gold);
}

.about-footer strong {
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .trinity {
        grid-template-columns: repeat(2, 1fr);
    }

    .t-card {
        padding: 8px 6px;
    }

    .t-name {
        font-size: .75rem;
    }

    .t-sub {
        font-size: .63rem;
    }

    .ghost-box,
    .parchment-box,
    .conclusion {
        padding: 24px 18px;
    }

    .community-grid,
    .burns-grid {
        grid-template-columns: 1fr;
    }

    .traits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .trait-name {
        font-size: .65rem;
    }

    .ghostar-img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px 0;
    }

    .about-hero {
        padding: 70px 16px 40px;
    }

    .wrap {
        padding: 40px 18px;
    }

    .cta-link {
        padding: 12px 24px;
        font-size: .85rem;
    }
}
