/* ppzz.lu — Mid-century slab-serif monochrome */

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

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

body {
    background-color: #fafaf8;
    color: #1a1a1a;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility */
.mono {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a8a8a;
}

/* Scroll Container */
.scroll-container {
    width: 100%;
}

/* Block System */
.block {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    border-bottom: 0.5px solid #c8c8c8;
}

.block-inner {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

/* Block 1: Title */
.block-title {
    background-color: #fafaf8;
}

.display-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(4rem, 12vw, 10rem);
    letter-spacing: -0.03em;
    line-height: 1;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.display-title .dot {
    color: #d94f30;
}

.subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: #6b6b6b;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.skyline-hero {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.6;
}

.skyline-svg {
    width: 100%;
    height: auto;
}

/* Block 2: The Hum */
.block-hum {
    background-color: #f5f2ed;
}

.glyph-cluster {
    margin-bottom: 2rem;
}

.glyph {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #3d3d3d;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.glyph:hover {
    transform: translateY(-8px);
    color: #d94f30;
}

.block-text {
    font-family: 'Roboto Slab', serif;
    font-size: 1.125rem;
    line-height: 2;
    color: #3d3d3d;
}

/* Block 3: Bridge */
.block-bridge {
    background-color: #fafaf8;
}

.bridge-svg {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin-bottom: 2rem;
}

.block-heading {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.block-caption {
    margin-top: 0.5rem;
}

/* Block 4: Typography */
.block-type {
    background-color: #f5f2ed;
}

.type-specimen {
    text-align: left;
    width: 100%;
}

.type-row {
    padding: 1.5rem 0;
    border-bottom: 0.5px solid #c8c8c8;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.type-row:last-child {
    border-bottom: none;
}

.type-label {
    font-size: 0.7rem;
}

.type-sample {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.type-sample.zilla-bold {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: 2rem;
}

.type-sample.roboto {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
}

.type-sample.plex {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 1.25rem;
}

/* Block 5: Palette */
.block-palette {
    background-color: #fafaf8;
}

.swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.swatch {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.25rem;
}

.swatch-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.55rem;
    color: #fafaf8;
    letter-spacing: 0.02em;
}

.swatch-label.dark {
    color: #3d3d3d;
}

/* Block 6: Components */
.block-components {
    background-color: #f5f2ed;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.component-card {
    padding: 1.5rem;
    border: 1px solid #c8c8c8;
    background: #fafaf8;
    transition: border-color 0.3s ease;
}

.component-card:hover {
    border-color: #d94f30;
}

.card-number {
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    color: #d94f30;
}

.card-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.card-desc {
    font-size: 0.875rem;
    color: #6b6b6b;
    line-height: 1.5;
}

/* Block 7: End */
.block-end {
    background-color: #1a1a1a;
    color: #fafaf8;
}

.end-mark {
    margin-bottom: 2rem;
}

.end-glyph {
    font-size: 3rem;
    color: #d94f30;
}

.end-text {
    font-family: 'Roboto Slab', serif;
    font-size: 1.125rem;
    line-height: 2;
    color: #c8c8c8;
    margin-bottom: 1rem;
}

.end-credit {
    color: #6b6b6b;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60px;
    background: #c8c8c8;
    z-index: 100;
}

.scroll-dot {
    display: block;
    width: 3px;
    height: 10px;
    background: #d94f30;
    position: absolute;
    top: 0;
    transition: top 0.1s linear;
}

/* Reveal animation */
.block-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.block-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .block {
        padding: 3rem 1.5rem;
    }

    .swatch {
        width: 60px;
        height: 60px;
    }

    .scroll-indicator {
        right: 1rem;
    }
}
