/* rational.monster — Bauhaus Sunset Monument */
/* Palette: #1A1008 #4A3020 #8A6A40 #B07030 #C07858 #D8A040 #FFE8C8 #FFF6EA */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFF6EA;
    color: #4A3020;
    font-family: 'Albert Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.85;
    overflow-x: hidden;
}

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

h1, h2 {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 700;
    color: #1A1008;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    margin-bottom: 1.2rem;
}

.system-label {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 0.75rem;
    color: #B07030;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

p {
    max-width: 65ch;
}

/* ============================================
   HERO SECTION — MONUMENT
   ============================================ */

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FFF6EA 0%, #FFE8C8 50%, #FFF6EA 100%);
    overflow: hidden;
}

/* Isometric Icon Pictograms */
#isometric-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.iso-icon {
    position: absolute;
    opacity: 0.1;
}

.iso-cube {
    width: 120px;
    height: 120px;
    top: 8%;
    left: 10%;
}

.iso-prism {
    width: 90px;
    height: 90px;
    top: 15%;
    right: 12%;
}

.iso-cylinder {
    width: 80px;
    height: 96px;
    bottom: 25%;
    left: 8%;
}

.iso-hex {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 8%;
}

.iso-diamond {
    width: 70px;
    height: 70px;
    top: 35%;
    left: 25%;
}

.iso-cross {
    width: 85px;
    height: 85px;
    top: 20%;
    right: 30%;
}

.iso-arch {
    width: 75px;
    height: 75px;
    bottom: 30%;
    right: 20%;
}

.iso-grid-sq {
    width: 65px;
    height: 65px;
    top: 45%;
    left: 15%;
}

/* Hero Composition */
#hero-composition {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#hero-circle {
    width: 400px;
    height: 400px;
    position: relative;
    margin-bottom: 2.5rem;
}

#circle-geometry {
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

#hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: 0.08em;
    color: #1A1008;
    position: relative;
}

#hero-label {
    margin-top: 0.6rem;
}

/* Mountain Silhouette */
#mountain-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    opacity: 0.06;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    padding: clamp(48px, 10vh, 100px) clamp(24px, 5vw, 80px);
    max-width: 800px;
    margin: 0 auto;
}

/* Fade-Reveal */
.fade-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms ease-out, transform 800ms ease-out;
}

.fade-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SYSTEM GRID (3-column for principles)
   ============================================ */

.section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

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

.grid-item .system-label {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.grid-item p:last-child {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #4A3020;
}

.section-icon {
    width: 60px;
    height: 60px;
    opacity: 0.6;
}

/* Tertiary accent for section border */
#system {
    border-top: 1px solid #C07858;
}

/* ============================================
   LANDSCAPE ILLUSTRATION
   ============================================ */

#landscape-illustration {
    margin-bottom: 1.5rem;
}

#landscape-illustration svg {
    width: 100%;
    max-height: 250px;
}

/* ============================================
   COLOR BLOCKS
   ============================================ */

#color-blocks {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.color-block {
    width: 48px;
    height: 48px;
    border-radius: 2px;
    position: relative;
    transition: transform 400ms ease-out;
}

.color-block:nth-child(7),
.color-block:nth-child(8) {
    border: 1px solid #D8A040;
}

.color-block:hover {
    transform: translateY(-4px);
}

/* ============================================
   MONUMENT GEOMETRY
   ============================================ */

#monument-geometry {
    margin-top: 2.5rem;
}

#monument-geometry svg {
    width: 100%;
    max-height: 200px;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
    text-align: center;
    padding-top: clamp(48px, 8vh, 80px);
    padding-bottom: clamp(48px, 8vh, 80px);
}

#footer-line {
    width: 60px;
    height: 1px;
    background-color: #D8A040;
    margin: 0 auto 2rem;
}

#footer .system-label {
    margin-bottom: 0.4rem;
}

#footer-text {
    font-weight: 300;
    font-size: 0.85rem;
    color: #8A6A40;
}

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

@media (max-width: 768px) {
    #hero-circle {
        width: 260px;
        height: 260px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .iso-icon {
        display: none;
    }

    #color-blocks {
        gap: 0.4rem;
    }

    .color-block {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    #hero-circle {
        width: 200px;
        height: 200px;
    }

    #hero-title {
        font-size: clamp(1.6rem, 8vw, 2.4rem);
    }

    .color-block {
        width: 30px;
        height: 30px;
    }
}
