/* GRAPHERS.NET - BRUTALIST DATA VISUALIZATION */

/* ============================================================
   RESET & FUNDAMENTALS
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1A0F0A;
    color: #F5E6D0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Color palette palette support */
.color-3e2723 { color: #3E2723; }
.color-8b3a2a { color: #8B3A2A; }
.bg-3e2723 { background-color: #3E2723; }
.bg-8b3a2a { background-color: #8B3A2A; }

/* ============================================================
   LEFT STRIP (STRUCTURAL COLUMN)
   ============================================================ */

.left-strip {
    position: fixed;
    left: 0;
    top: 0;
    width: 48px;
    height: 100vh;
    background-color: #2C1810;
    z-index: 1000;
    border-right: 2px solid #A0522D;
}

/* ============================================================
   MAIN CONTENT LAYOUT
   ============================================================ */

.main-content {
    margin-left: 48px;
    width: calc(100% - 48px);
}

/* SLAB SECTIONS */

.slab {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    border-bottom: 8px solid #A0522D;
    position: relative;
}

.slab:last-child {
    border-bottom: none;
}

.slab-content {
    max-width: 900px;
    width: 100%;
}

/* DIVIDER */

.divider {
    height: 8px;
    background-color: #A0522D;
    width: 100%;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 96px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #F5E6D0;
    margin-bottom: 20px;
    line-height: 1;
}

h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #F5E6D0;
    margin-bottom: 30px;
    letter-spacing: 0.08em;
}

h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 700;
    color: #D4A574;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #F5E6D0;
    margin-bottom: 20px;
}

.subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 24px;
    font-weight: 400;
    color: #C49A5C;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
}

.slab-description {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    color: #C49A5C;
    margin-top: 30px;
}

.technical-note {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: #A0522D;
    margin-top: 30px;
    font-weight: 400;
}

.closing-statement {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    color: #D4A574;
    margin-top: 40px;
    text-align: center;
    font-weight: 400;
}

/* ============================================================
   SECTION NUMBERS
   ============================================================ */

.section-number {
    font-family: 'Roboto Slab', serif;
    font-size: 120px;
    font-weight: 900;
    color: #5C4033;
    opacity: 0.3;
    line-height: 0.8;
    margin-bottom: 20px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

#slab-1 {
    background: linear-gradient(135deg, #1A0F0A 0%, #2C1810 100%);
    border-bottom: none;
    padding-bottom: 80px;
}

#slab-1 .slab-content {
    text-align: center;
}

.hero-geometry {
    margin: 60px auto;
    display: flex;
    justify-content: center;
}

.inscribed-circle {
    opacity: 0.9;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================================
   GEOMETRY GRID (Section 2)
   ============================================================ */

.geometry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 50px 0;
}

.geometry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid #5C4033;
    background-color: rgba(44, 24, 16, 0.5);
    transition: all 0.3s ease;
}

.geometry-item:hover {
    background-color: rgba(44, 24, 16, 0.8);
    border-color: #A0522D;
}

.labeled-triangle,
.axis-cross,
.tick-ruler {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.geometry-label {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: #D4A574;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   GRAPH PAPER SECTION (Section 3)
   ============================================================ */

.graph-paper-section {
    display: flex;
    justify-content: center;
    margin: 50px 0;
    padding: 40px;
    background-color: #0D0705;
    border: 2px solid #5C4033;
}

.graph-paper {
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 2px solid #A0522D;
}

/* ============================================================
   TOOLS LIST (Section 4)
   ============================================================ */

.tools-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 50px 0;
}

.tool-item {
    padding: 30px;
    border-left: 4px solid #A0522D;
    background-color: rgba(62, 39, 35, 0.3);
    transition: all 0.3s ease;
}

.tool-item:hover {
    background-color: rgba(62, 39, 35, 0.6);
    border-left-color: #D4A574;
}

/* Additional color palette references */
.accent-8b3a2a {
    color: #8B3A2A;
}

.accent-3e2723 {
    border-color: #3E2723;
}

.tool-item h3 {
    margin-bottom: 15px;
}

.tool-item p {
    font-size: 16px;
    margin: 0;
}

/* ============================================================
   CLOSING GEOMETRY (Section 5)
   ============================================================ */

.closing-geometry {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.nested-squares {
    opacity: 0.8;
    animation: rotate-slow 8s linear infinite;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1024px) {
    h1 {
        font-size: 72px;
    }

    h2 {
        font-size: 36px;
    }

    .slab {
        padding: 60px 40px;
    }

    .geometry-grid {
        grid-template-columns: 1fr;
    }

    .tools-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .left-strip {
        width: 32px;
    }

    .main-content {
        margin-left: 32px;
        width: calc(100% - 32px);
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .slab {
        padding: 40px 20px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 80px;
    }

    .subtitle {
        font-size: 18px;
    }

    .geometry-grid {
        gap: 20px;
    }

    .geometry-item {
        padding: 20px;
    }

    .tools-list {
        gap: 20px;
    }

    .tool-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .left-strip {
        width: 24px;
    }

    .main-content {
        margin-left: 24px;
        width: calc(100% - 24px);
    }

    h1 {
        font-size: 36px;
        letter-spacing: 0.08em;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
    }

    .slab {
        padding: 30px 15px;
        padding-top: 60px;
    }

    .subtitle {
        font-size: 14px;
    }

    .section-number {
        font-size: 80px;
    }

    .inscribed-circle,
    .graph-paper,
    .nested-squares {
        max-width: 150px;
    }
}
