:root {
    --surface: #c8baa8;
    --slab1: #7a6e60;
    --slab2: #8a7e6e;
    --slab3: #6a6058;
    --slab4: #9a8e7e;
    --slab5: #5a5048;
    --edge: #5a5048;
    --deep-edge: #4a4238;
    --text-dark: #2a2420;
    --text-light: #d0c4b0;
    --meta: #6a5e50;
}

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

body {
    background-color: var(--surface);
    color: var(--text-dark);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 0.005em;
    overflow-x: hidden;
}

/* Slabs */
.slab {
    margin: 0 24px;
    position: relative;
    border-bottom: 6px solid var(--edge);
    overflow: hidden;
}

/* Watermarks */
.watermark {
    position: absolute;
    right: 24px;
    top: 24px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 120px;
    color: rgba(42, 36, 32, 0.15);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.slab-content {
    position: relative;
    z-index: 1;
}

.slab-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 0.005em;
    color: var(--text-dark);
}

.light-text {
    color: var(--text-light);
}

/* Slab 1: The Drop */
.slab-1 {
    background-color: var(--slab1);
    min-height: 100vh;
}

.slab-1-content {
    padding: 60vh 40px 60px 40px;
}

.domain-name {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(56px, 8vw, 80px);
    letter-spacing: -0.02em;
    color: var(--text-dark);
    line-height: 1.05;
    margin-bottom: 24px;
}

/* Slab 2: The Mass */
.slab-2 {
    background-color: var(--slab2);
    min-height: 100vh;
}

.slab-2-content {
    padding: 48px 40px 60px;
}

.mass-columns {
    display: flex;
    align-items: flex-start;
}

.mass-left {
    width: 55%;
}

.mass-divider {
    width: 4px;
    min-height: 300px;
    background-color: var(--edge);
    flex-shrink: 0;
}

.mass-right {
    width: 35%;
    position: relative;
    text-align: right;
    padding-right: 10px;
}

.numeral-large {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(80px, 10vw, 120px);
    color: rgba(42, 36, 32, 0.15);
    line-height: 1;
}

/* Slab 3: The Impression */
.slab-3 {
    background-color: var(--slab3);
    min-height: 100vh;
    box-shadow: inset 0 8px 0 0 #5a5048;
}

.slab-3-content {
    padding: 48px 40px 60px;
    display: flex;
    justify-content: center;
}

.impression-block {
    max-width: 70%;
}

.impression-text {
    line-height: 2.2;
}

/* Slab 4: The Stack */
.slab-4 {
    background-color: var(--slab4);
    min-height: 100vh;
}

.slab-4-content {
    padding: 48px 40px 60px;
}

.sample-grid {
    display: flex;
    gap: 3px;
}

.sample-block {
    flex: 1;
    height: 160px;
    border: 4px solid var(--edge);
    padding: 20px 16px;
    background-color: var(--slab4);
    transition: background-color 0.3s ease;
}

.sample-block:hover {
    background-color: #908474;
}

.sample-label {
    display: block;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.sample-desc {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Slab 5: The Base */
.slab-5 {
    background-color: var(--slab5);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: none;
}

.slab-5-content {
    text-align: center;
    padding: 40px;
}

.base-name {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--meta);
}

.base-rule {
    height: 8px;
    background-color: var(--deep-edge);
    margin-top: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .slab {
        margin: 0 12px;
    }

    .slab-1-content,
    .slab-2-content,
    .slab-3-content,
    .slab-4-content {
        padding: 48px 20px 40px;
    }

    .mass-columns {
        flex-direction: column;
    }

    .mass-left {
        width: 100%;
    }

    .mass-divider {
        width: 100%;
        height: 4px;
        min-height: 4px;
        margin: 20px 0;
    }

    .mass-right {
        width: 100%;
    }

    .impression-block {
        max-width: 100%;
    }

    .sample-grid {
        flex-direction: column;
    }

    .sample-block {
        height: auto;
    }

    .watermark {
        font-size: 80px;
    }
}
