:root {
    --atlantic-blue: #1A2B3C;
    --sandstone: #E5E0D8;
    --signal-orange: #FF4F00;
    --text-dark: #1A2B3C;
    --border-color: rgba(26, 43, 60, 0.15);
    --glass-bg: rgba(229, 224, 216, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--sandstone);
    color: var(--text-dark);
    font-family: 'Domine', serif;
    line-height: 1.7;
    overflow-x: hidden;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Broadsheet Grid System */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
}

header {
    padding: 1rem 0;
    background-color: var(--sandstone);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: clamp(160px, 18vw, 280px);
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--atlantic-blue);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--signal-orange);
}

.btn-signal {
    background-color: var(--signal-orange);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 0 8rem;
    grid-column: span 12;
}

.hero-content {
    grid-column: 2 / span 9;
    padding-left: 3rem;
    border-left: 1px solid var(--atlantic-blue);
}

h1 {
    font-size: 5.5rem;
    line-height: 1.05;
    margin: 1.5rem 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subhead {
    font-size: 1.75rem;
    max-width: 700px;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.section-label {
    grid-column: 2 / span 10;
    padding-left: 3.5rem;
    margin-bottom: 1rem;
    color: var(--signal-orange);
    font-size: 0.85rem;
}

/* War Room Timeline */
.war-room-preview {
    padding: 8rem 0;
    background-color: var(--sandstone);
}

.timeline-container {
    grid-column: 2 / span 10;
    padding: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.timeline-viz {
    position: relative;
    height: 200px;
    margin-top: 5rem;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--atlantic-blue);
}

.timeline-event {
    position: absolute;
    top: 0;
    padding-top: 2.5rem;
    font-size: 0.85rem;
    width: 150px;
}

.timeline-event::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--atlantic-blue);
    border-radius: 50%;
}

.timeline-event.active::before {
    background: var(--signal-orange);
    box-shadow: 0 0 15px var(--signal-orange);
}

/* Feature Cards */
.feature-card {
    grid-column: span 6;
    padding: 4rem;
    border-right: 1px solid var(--border-color);
}

.feature-card:last-child {
    border-right: none;
}

/* Index About Section (Origin Story) */
.about {
    padding: 10rem 0;
    background-color: var(--sandstone);
}

.about-content {
    grid-column: span 12;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p.mono {
    color: var(--signal-orange);
    margin-bottom: 2rem;
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Page Specifics */
.about-hero {
    grid-column: 2 / span 10;
    padding: 8rem 0 4rem;
}

.about-grid {
    grid-column: 2 / span 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    padding-bottom: 8rem;
}

.founder-column h2 {
    font-size: 3rem;
    margin: 1rem 0;
}

.founder-title {
    font-family: 'JetBrains Mono', monospace;
    color: var(--signal-orange);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.manifesto-section {
    padding: 10rem 0;
    background: var(--atlantic-blue);
    color: var(--sandstone);
}

.manifesto-content {
    grid-column: 2 / span 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-content h3 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.manifesto-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0.9;
}

.manifesto-content p.mono {
    opacity: 1;
    color: var(--signal-orange);
    margin-bottom: 2rem;
    font-size: 0.75rem;
}

footer {
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background-color: var(--sandstone);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    h1 {
        font-size: 4rem;
    }

    .hero-content {
        grid-column: 1 / span 12;
        padding-left: 0;
        border-left: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {

    .hero,
    .war-room-preview,
    .about-hero,
    .manifesto-section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    h1 {
        font-size: 3rem;
    }

    .subhead {
        font-size: 1.25rem;
    }

    .manifesto-section h3 {
        font-size: 2rem;
    }

    .manifesto-section p {
        font-size: 1.1rem;
    }

    .founder-column h2 {
        font-size: 2.2rem;
    }

    .grid-container {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .hero-content,
    .timeline-container,
    .about-hero,
    .about-grid {
        grid-column: auto;
        width: 100%;
    }

    .timeline-container {
        padding: 2rem;
    }

    .timeline-viz {
        height: auto;
        margin-top: 2rem;
        padding-left: 2rem;
        border-left: 1px solid var(--atlantic-blue);
    }

    .feature-card {
        padding: 2rem 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .feature-card:last-child {
        border-bottom: none;
    }

    .timeline-line {
        display: none;
    }

    .timeline-event {
        position: relative;
        left: 0 !important;
        top: 0;
        width: 100%;
        margin-bottom: 2rem;
        padding-top: 0;
        padding-left: 1.5rem;
    }

    .timeline-event::before {
        left: -2.35rem;
        top: 0.4rem;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
    }

    .manifesto-section {
        padding: 4rem 1.5rem;
    }
}