:root {
    --dawn: #f0d8c8;
    --morning: #f5ede0;
    --noon: #fafafa;
    --dusk: #e8c8a0;
    --text-primary: #2a2620;
    --text-faded: #8a8070;
    --hour-underline: #c8b8a0;
    --tech: #6a6050;
}

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

body {
    background-color: var(--dawn);
    color: var(--text-primary);
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.015em;
    overflow-x: hidden;
}

/* Gnomon */
.gnomon {
    position: fixed;
    left: 50%;
    top: 0;
    width: 2px;
    height: 40vh;
    background-color: var(--text-primary);
    transform: translateX(-1px);
    z-index: 10;
}

/* Shadow SVG */
.shadow-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
}

/* Plaza */
.plaza {
    position: relative;
    z-index: 1;
    padding-bottom: 100vh;
}

/* Sections */
.hour-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dawn-section {
    padding-top: 65vh;
    padding-bottom: 20vh;
}

.domain-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(40px, 5vw, 56px);
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: var(--text-primary);
    text-align: center;
}

/* Hour blocks */
.hour-block {
    max-width: 320px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
    left: var(--offset-x, 0);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hour-block.visible {
    opacity: 1;
}

.hour-numeral {
    display: block;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: 0.14em;
    color: var(--text-faded);
    margin-bottom: 12px;
}

.hour-text {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.015em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.hour-data {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.05em;
    color: var(--tech);
    margin-bottom: 8px;
}

.hour-line {
    width: 60px;
    height: 1px;
    background-color: var(--hour-underline);
}

/* Dusk */
.dusk-section {
    padding-top: 40vh;
    padding-bottom: 20vh;
}

.domain-name-small {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: var(--text-faded);
    text-align: center;
    margin-bottom: 24px;
}

.sun-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-primary);
    margin: 0 auto;
}

/* Mobile */
@media (max-width: 768px) {
    .hour-block {
        --offset-x: 0 !important;
        left: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .gnomon {
        left: 50%;
        height: 30vh;
    }
}
