:root {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(138, 2, 12, 0.12), transparent 26rem),
        radial-gradient(circle at 85% 12%, rgba(161, 1, 9, 0.08), transparent 20rem),
        linear-gradient(180deg, #f7f2ed 0%, #f5f0eb 44%, #efe7de 100%);
}

.site-noise,
.site-wash {
    pointer-events: none;
    position: fixed;
    inset: 0;
}

.site-noise {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), transparent 18rem),
        linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    opacity: 0.65;
    z-index: -2;
}

.site-wash {
    background-image:
        linear-gradient(rgba(74, 1, 8, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 1, 8, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 88%);
    z-index: -1;
}

.font-display {
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 0.98;
}

.crimson-shell,
.hero-shell,
.crimson-card,
.footer-shell {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(145deg, rgba(138, 2, 12, 0.98), rgba(101, 4, 15, 1) 70%, rgba(74, 1, 8, 1)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    box-shadow: 0 28px 80px rgba(74, 1, 8, 0.22);
    position: relative;
    overflow: hidden;
}

.hero-shell::before,
.crimson-shell::before,
.crimson-card::before,
.footer-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 18rem),
        linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.04) 48%, transparent 72%);
    pointer-events: none;
}

.paper-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(138, 2, 12, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.3)),
        linear-gradient(180deg, #faf6f1, #f5f0eb);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 24px 64px rgba(74, 1, 8, 0.1);
}

.paper-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.55), transparent 16rem),
        linear-gradient(rgba(138, 2, 12, 0.02), rgba(138, 2, 12, 0.015));
    pointer-events: none;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Oswald", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8A020C;
    position: relative;
    z-index: 1;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.72);
}

.section-label::before {
    content: "";
    display: inline-block;
    height: 1px;
    width: 2.75rem;
    background: currentColor;
    opacity: 0.5;
}

.timeline-frame {
    min-height: 20rem;
    border: 1px solid rgba(138, 2, 12, 0.15);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(245, 240, 235, 0.85));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 20px 40px rgba(74, 1, 8, 0.08);
}

textarea {
    resize: vertical;
}

.prose p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
