@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');

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

:root {
    --white: #FAFAFA;
    --charcoal: #1A1A1A;
    --mid-gray: #6C757D;
    --crimson: #E63946;
    --deep-blue: #1D3557;
    --golden: #F4D35E;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background-color: var(--white);
    color: var(--charcoal);
    font-family: 'Space Grotesk', sans-serif;
}

.horizontal-gallery {
    display: flex;
    height: 100vh;
    width: 600vw;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-frame {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.frame-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4rem;
}

.type-composition {
    display: flex;
    align-items: baseline;
    gap: 0.5vw;
    position: relative;
    z-index: 10;
}

.type-char {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(4rem, 15vw, 20rem);
    line-height: 0.85;
    color: var(--charcoal);
    display: inline-block;
}

.type-dot {
    color: var(--crimson);
}

.geo-element {
    position: absolute;
    pointer-events: none;
}

.geo-circle {
    width: clamp(80px, 15vw, 200px);
    height: clamp(80px, 15vw, 200px);
    top: 15%;
    right: 15%;
}

.geo-rect {
    width: clamp(40px, 5vw, 80px);
    height: clamp(80px, 10vw, 160px);
    bottom: 20%;
    left: 10%;
}

.statement-block {
    text-align: center;
    position: relative;
    z-index: 10;
}

.statement-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 6rem);
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--charcoal);
}

.statement-text.accent {
    color: var(--crimson);
}

.statement-text.large {
    font-size: clamp(3rem, 10vw, 10rem);
    font-weight: 300;
}

.stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.geo-line-container {
    width: clamp(100px, 20vw, 250px);
}

.geo-line {
    width: 100%;
}

.grid-composition {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    width: clamp(250px, 40vw, 500px);
    height: clamp(250px, 40vw, 500px);
}

.grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell-text {
    border: 2px solid var(--charcoal);
    padding: 1rem;
}

.grid-word {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 3rem);
    letter-spacing: 0.08em;
}

.cell-shape svg {
    width: 80%;
    height: 80%;
}

.closing-frame {
    flex-direction: column;
    gap: 2rem;
}

.type-composition.small {
    gap: 0.3vw;
}

.closing-char {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 4vw, 4rem);
    color: var(--mid-gray);
}

.closing-line {
    width: clamp(100px, 20vw, 300px);
}

.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    transition: opacity 0.5s;
}

.scroll-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--mid-gray);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.frame-1 { background: var(--white); }
.frame-2 { background: var(--white); }
.frame-3 { background: var(--white); }
.frame-4 { background: var(--white); }
.frame-5 { background: var(--white); }
.frame-6 { background: var(--white); }
