/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    background-color: #2e0a16;
    color: #d4c4a8;
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* === FIXED MARGIN MARKERS === */
.margin-marker {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 0.5px;
    background-color: rgba(212, 196, 168, 0.15);
    z-index: 100;
    pointer-events: none;
}

.margin-marker-left {
    left: 10vw;
}

.margin-marker-right {
    right: 10vw;
}

/* === FOOTPRINT TRAIL === */
#footprint-trail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.footprint-dot {
    position: absolute;
    left: 4vw;
    width: 2px;
    height: 2px;
    background-color: #8b7355;
    opacity: 0;
    transition: opacity 600ms ease;
}

.footprint-dot.visible {
    opacity: 0.3;
}

/* === HERO SECTION === */
.section-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2e0a16;
    position: relative;
}

.hero-word {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 9rem);
    letter-spacing: 0.02em;
    color: #d4c4a8;
    text-shadow: 1px 1px 0px #1a0610, -1px -1px 0px #4a1a2a;
    text-transform: uppercase;
    text-align: center;
}

/* === RHOMBUS === */
.rhombus {
    width: 120px;
    height: 120px;
    background-color: #a0522d;
    display: block;
    margin: 0 auto;
}

.rhombus-breathing {
    margin-top: 30vh;
    transform: scaleX(3) scaleY(0.3);
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scaleX(1.5) scaleY(0.08);
    }
    50% {
        transform: scaleX(3) scaleY(0.08);
    }
}

.rhombus-container {
    padding: 8vh 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a0610;
}

.rhombus-morph {
    transform: scaleX(3) scaleY(0.08);
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rhombus-morph.active {
    transform: rotate(45deg) scale(1);
}

/* === VOID SECTIONS === */
.section-void {
    position: relative;
}

.first-void {
    height: 80vh;
    background-color: #1a0610;
}

.final-void {
    height: 40vh;
    background-color: #1a0610;
}

/* === CONTENT SECTIONS === */
.section-content {
    padding: 15vh 0;
    position: relative;
}

.first-island {
    background-color: #1a0610;
}

.second-island {
    background-color: #1a0610;
}

.third-island {
    background-color: #1a0610;
}

/* === CONTENT ISLANDS === */
.content-island {
    background-color: #4a1a2a;
    padding: clamp(2rem, 4vw, 4rem);
    position: relative;
    /* Leather grain texture */
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(212, 196, 168, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 196, 168, 0.02) 0%, transparent 40%),
        radial-gradient(ellipse at 40% 80%, rgba(139, 115, 85, 0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 60%, rgba(212, 196, 168, 0.02) 0%, transparent 35%),
        radial-gradient(circle at 15% 15%, rgba(139, 115, 85, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 85% 85%, rgba(212, 196, 168, 0.03) 0%, transparent 30%);
    background-color: #4a1a2a;
}

.island-left {
    margin-left: 12vw;
    max-width: 38vw;
}

.island-right {
    margin-left: 52vw;
    max-width: 32vw;
}

.island-wide-left {
    margin-left: 8vw;
    max-width: 44vw;
}

/* === TYPOGRAPHY === */
.section-header {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.02em;
    color: #d4c4a8;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.body-text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: #d4c4a8;
    margin-bottom: 1.5rem;
}

.body-text:last-child {
    margin-bottom: 0;
}

.highlight-word {
    color: #c9a84c;
    font-style: inherit;
}

/* === DATA GRID === */
.data-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

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

.data-number {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: #c9a84c;
    line-height: 1.1;
}

.data-label {
    font-family: 'DM Mono', monospace;
    font-weight: 400;
    font-size: 0.778rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b7355;
    margin-top: 0.5rem;
}

/* === CLOSING SECTION === */
.section-closing {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1a0610;
    gap: 3rem;
}

.closing-label {
    font-family: 'DM Mono', monospace;
    font-weight: 400;
    font-size: 0.778rem;
    letter-spacing: 0.08em;
    color: #8b7355;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .island-left,
    .island-right,
    .island-wide-left {
        margin-left: 5vw;
        max-width: 90vw;
    }

    .margin-marker {
        display: none;
    }
}
