:root {
    --wall: #2a2826;
    --niche-interior: #32302c;
    --niche-border: #5a5248;
    --inscription-fresh: #a09888;
    --inscription-weathered: #8a8278;
    --base-line: #4a4540;
    --mark-stroke: #706860;
    --highlight: #c8b898;
    --void: #1a1816;
    --meta: #6a6258;
}

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

body {
    background-color: var(--wall);
    color: var(--inscription-fresh);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 2.2;
    letter-spacing: 0.03em;
    overflow-x: hidden;
}

/* The Approach */
.approach {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.approach-content {
    text-align: center;
    width: 60%;
    max-width: 720px;
    position: absolute;
    top: 65vh;
    left: 50%;
    transform: translate(-50%, -50%);
}

.domain-name {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: 0.2em;
    color: var(--inscription-weathered);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.approach-inscription {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 2.2;
    letter-spacing: 0.03em;
    color: var(--inscription-fresh);
    text-shadow: 1px 1px 0px rgba(26,24,22,0.6);
}

.base-line {
    position: absolute;
    top: 80%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--base-line);
}

/* The Wall */
.wall-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.wall-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 100vh;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wall-scroll::-webkit-scrollbar {
    display: none;
}

/* Niches */
.niche {
    flex: 0 0 85vw;
    height: 100vh;
    scroll-snap-align: center;
    border: 3px solid var(--niche-border);
    background-color: var(--niche-interior);
    padding: 0;
}

.niche-inner {
    border: 1px solid var(--base-line);
    margin: 8px;
    height: calc(100% - 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 32px;
}

.numeral-zone {
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.numeral {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(48px, 6vw, 64px);
    letter-spacing: 0.16em;
    color: var(--inscription-weathered);
    transition: color 0.6s ease;
}

.niche.focused .numeral {
    color: var(--highlight);
}

.inscription-zone {
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 560px;
}

.inscription {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 2.2;
    letter-spacing: 0.03em;
    color: var(--inscription-fresh);
    text-align: center;
    text-shadow: 1px 1px 0px rgba(26,24,22,0.6);
}

.mark-zone {
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-mark {
    display: block;
}

/* The Recession */
.recession {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    background-color: var(--void);
}

.recession-content {
    text-align: center;
}

.colophon-text {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.2em;
    color: var(--meta);
    text-transform: uppercase;
}

/* Scroll indicator */
.scroll-hint {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--meta);
}

/* Mobile */
@media (max-width: 768px) {
    .approach-content {
        width: 85%;
    }

    .niche {
        flex: 0 0 92vw;
    }

    .niche-inner {
        padding: 24px 20px;
    }

    .inscription-zone {
        max-width: 100%;
    }
}
