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

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

body {
    background: #1a1209;
    color: #f2e8d9;
    font-family: 'Source Serif 4', serif;
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
.display-heading {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f2e8d9;
}

.section-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f2e8d9;
    margin-bottom: 1.5rem;
}

.tagline {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #d4b896;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.body-text {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: #d4b896;
    max-width: 60ch;
}

/* === GRAFFITI TAGS === */
.graffiti-tag {
    font-family: 'Permanent Marker', cursive;
    position: absolute;
    opacity: 0.6;
    color: #b85a3a;
    font-size: clamp(1.5rem, 3vw, 3rem);
    transform: rotate(-5deg);
    pointer-events: none;
    user-select: none;
}

.tag-1 { top: 15%; left: 8%; transform: rotate(-8deg); }
.tag-2 { top: 25%; right: 12%; transform: rotate(3deg); }
.tag-3 { bottom: 20%; left: 15%; transform: rotate(-2deg); font-size: clamp(2rem, 4vw, 4rem); }
.tag-final {
    position: relative;
    margin-top: 3rem;
    opacity: 0.8;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    transform: rotate(-1deg);
    color: #b85a3a;
}

/* === STAMPS === */
.stamp {
    position: absolute;
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 3px solid #8b3a1d;
    color: #8b3a1d;
    padding: 0.4rem 1.2rem;
    opacity: 0.4;
    transform: rotate(-12deg);
    pointer-events: none;
    font-size: 1.2rem;
}

.stamp-classified { bottom: 15%; right: 10%; }
.stamp-redacted { top: 12%; right: 8%; transform: rotate(8deg); }
.stamp-sealed { bottom: 10%; left: 8%; transform: rotate(-6deg); }

/* === SECTIONS === */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

/* Progressive narrowing */
.courtyard-content { max-width: 90%; }
.portico-content { max-width: 75%; }
.corridor-content { max-width: 60%; }
.chamber-content { max-width: 50%; }
.vault-content { max-width: 40%; }

/* === MARBLE BACKGROUNDS === */
.marble-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.4;
}

.section-courtyard .marble-bg {
    background:
        linear-gradient(17deg, #d4b896 0%, transparent 40%),
        linear-gradient(147deg, #f2e8d9 10%, transparent 50%),
        linear-gradient(82deg, #a67c52 20%, transparent 60%),
        radial-gradient(ellipse at 30% 70%, #e8d5bf 0%, transparent 50%);
}

.section-portico .marble-bg {
    background:
        linear-gradient(200deg, rgba(212, 184, 150, 0.25) 0%, transparent 45%),
        linear-gradient(35deg, rgba(166, 124, 82, 0.2) 10%, transparent 55%),
        radial-gradient(ellipse at 70% 30%, rgba(242, 232, 217, 0.15) 0%, transparent 45%);
}

.section-corridor .marble-bg {
    background:
        linear-gradient(120deg, #6b5d4f 0%, transparent 40%),
        linear-gradient(300deg, #a67c52 10%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, #2c1e14 0%, transparent 60%);
}

.section-chamber .marble-bg {
    background:
        linear-gradient(45deg, #2c1e14 0%, transparent 50%),
        linear-gradient(225deg, #6b5d4f 10%, transparent 45%),
        radial-gradient(ellipse at 40% 60%, #1a1209 0%, transparent 50%);
}

.section-vault .marble-bg {
    background:
        linear-gradient(0deg, #1a1209 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, #2c1e14 0%, transparent 40%);
}

/* Color reference: #c25428 used for hover accent */
.cta-button:hover {
    background: #c25428;
    color: #1a1209;
}

/* === STENCIL BLOCKS === */
.stencil-block {
    margin-top: 2rem;
    padding: 1rem 2rem;
    border: 2px dashed #8b3a1d;
    display: inline-block;
}

.stencil-text {
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b85a3a;
}

/* === FEATURES === */
.feature-blocks {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    color: #8b3a1d;
    font-size: 0.8rem;
}

.feature-label {
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #d4b896;
}

/* === CTA BUTTON === */
.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #f2e8d9;
    border: 2px solid #b85a3a;
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: #b85a3a;
    color: #1a1209;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    margin-top: 3rem;
}

.scroll-arrow {
    font-size: 2rem;
    color: #d4b896;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* === SECTION REVEAL ANIMATION === */
.section-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .vault-content { max-width: 85%; }
    .chamber-content { max-width: 85%; }
    .corridor-content { max-width: 90%; }
    .portico-content { max-width: 90%; }
    .stamp { display: none; }
}
