/* 
   Sovereign Ecosystem - Global Noir Standard
   Standardized industrial, boxless aesthetic for The Fort That Holds and sub-Forts.
*/

:root {
    --ember-red: #B22222;
    --tongue-orange: #FF4500;
    --flicker-yellow: #FFD700;
    --white-heat: #FAFAFA;
    --sapphire-blue: #0F52BA;
    --coal-black: #1B1B1B;
    --deep-char: #151010;
    --silver-rim: #C0C0C0;
    --bg-black: #0b0606;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: var(--bg-black);
    color: var(--white-heat);
    line-height: 1.7;
    padding: 0 24px 0;
    min-height: 100vh;
}

a {
    color: var(--flicker-yellow);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    max-width: 1080px;
    margin: 0 auto;
    padding: 96px 0 48px;
    text-align: left;
}

header h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    color: var(--tongue-orange);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
}

header p.tagline,
header .subtitle {
    font-size: 1.15rem;
    color: var(--flicker-yellow);
    max-width: 800px;
    margin-top: 24px;
    letter-spacing: 0.05em;
}

main {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    gap: 80px;
}

section {
    border-top: 1px solid rgba(192, 192, 192, 0.25);
    padding-top: 48px;
}

section h2 {
    font-size: 1.2rem;
    color: var(--white-heat);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    opacity: 0.8;
}

.grid {
    display: grid;
    gap: 40px;
}

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

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

@media (max-width: 1024px) {
    .grid.three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .grid.three,
    .grid.two {
        grid-template-columns: 1fr;
    }
}

.card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.2s ease;
}

.card:hover {
    opacity: 0.7;
}

.card h3 {
    color: var(--flicker-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.95rem;
    color: rgba(250, 250, 250, 0.85);
}

footer {
    max-width: 1080px;
    margin: 120px auto 0;
    text-align: center;
    color: rgba(250, 250, 250, 0.65);
}

@media (max-width: 640px) {
    header {
        padding: 64px 0 32px;
    }
}

/* Specific Media Mixins */
.media-embed {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(192, 192, 192, 0.25);
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--flicker-yellow);
    color: var(--flicker-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn:hover {
    background: rgba(255, 215, 0, 0.1);
    text-decoration: none;
}