/* ============================================
   KAIGENREI.COM — Classified Dossier Experience
   Cyberpunk × Art Deco Surveillance Aesthetic
   ============================================ */

/* --- @property for radar rotation --- */
@property --radar-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* --- CSS Variables --- */
:root {
    /* Palette — Jewel-Toned Surveillance */
    --abyss-violet: #0D0517;
    --midnight-violet: #1A0A2E;
    --dossier-indigo: #2A1B3D;
    --decree-gold: #E8C547;
    --signal-green: #4DFFB4;
    --emergency-magenta: #C74882;
    --pale-lavender: #D4CEE8;
    --muted-amethyst: #7B6FA0;
    --curfew-red: #FF3B3B;
    --twilight-plum: #6B2D5B;
    --surveillance-teal: #1B3A4B;

    /* Cursor position (updated by JS) */
    --mx: 50%;
    --my: 50%;

    /* Radar angle (animated) */
    --radar-angle: 0deg;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--abyss-violet);
    color: var(--pale-lavender);
    font-family: 'Literata', serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.72;
    overflow-x: hidden;
    cursor: default;
}

/* --- SVG Filters (hidden) --- */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 3px;
    height: 100vh;
    z-index: 1000;
    background: rgba(42, 27, 61, 0.4);
}

#scroll-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--signal-green);
    transition: height 0.1s linear;
    box-shadow: 0 0 8px rgba(77, 255, 180, 0.5);
}

/* ============================================
   CURSOR SPOTLIGHT
   ============================================ */
#cursor-spotlight {
    position: fixed;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77, 255, 180, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    will-change: left, top;
}

#cursor-spotlight.intensified {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, rgba(77, 255, 180, 0.2) 0%, transparent 70%);
}

/* ============================================
   SCAN LINES OVERLAY
   ============================================ */
#scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(212, 206, 232, 0.03) 3px,
        rgba(212, 206, 232, 0.03) 4px
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

#scan-lines.active {
    opacity: 1;
}

#scan-lines.intensified {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(212, 206, 232, 0.06) 3px,
        rgba(212, 206, 232, 0.06) 4px
    );
}

/* ============================================
   CLASSIFICATION BADGES (fixed corners)
   ============================================ */
.classification-badge {
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 997;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    mix-blend-mode: difference;
}

.classification-badge.visible {
    opacity: 1;
    transform: scale(1);
}

.badge-top-left {
    top: 20px;
    left: 20px;
}

.badge-top-right {
    top: 20px;
    right: 20px;
}

.badge-ring {
    width: 100%;
    height: 100%;
    animation: badge-rotate 20s linear infinite;
}

@keyframes badge-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Badge stamp-in ripple */
.classification-badge.visible .badge-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--decree-gold);
    transform: translate(-50%, -50%);
    animation: badge-ripple 0.8s ease-out forwards;
}

@keyframes badge-ripple {
    0% { width: 10px; height: 10px; opacity: 0.8; }
    100% { width: 80px; height: 80px; opacity: 0; }
}

/* ============================================
   DOSSIER SECTIONS
   ============================================ */
.dossier-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    perspective: 1200px;
}

/* ============================================
   PARALLAX LAYERS
   ============================================ */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.layer-deep {
    z-index: 1;
    transform: translateZ(-120px) scale(1.1);
}

.layer-mid {
    z-index: 2;
    transform: translateZ(-60px) scale(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-front {
    z-index: 3;
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

/* ============================================
   RADAR GRADIENT MESH BACKGROUNDS
   ============================================ */
.radar-bg {
    width: 100%;
    height: 100%;
    background:
        conic-gradient(from var(--radar-angle), #0D0517, #1B3A4B, #6B2D5B, #0D0517),
        radial-gradient(ellipse at 40% 60%, rgba(77, 255, 180, 0.06), transparent 70%);
    animation: radar-rotate 30s linear infinite;
}

.radar-bg-alt {
    background:
        conic-gradient(from var(--radar-angle), #0D0517, #6B2D5B, #1B3A4B, #0D0517),
        radial-gradient(ellipse at 60% 40%, rgba(199, 72, 130, 0.04), transparent 70%);
    animation: radar-rotate 30s linear infinite reverse;
}

@keyframes radar-rotate {
    from { --radar-angle: 0deg; }
    to { --radar-angle: 360deg; }
}

/* ============================================
   INTERFERENCE TRANSITION (between sections)
   ============================================ */
.dossier-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--signal-green) 0px,
        var(--signal-green) 2px,
        transparent 2px,
        transparent 6px
    );
    opacity: 0.2;
    z-index: 10;
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero .layer-front {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-kanji-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-kanji {
    font-family: 'Literata', serif;
    font-size: clamp(4rem, 12vw, 9rem);
    color: var(--decree-gold);
    opacity: 0;
    display: inline-block;
    transform: scale(1.2);
    transition: opacity 0.3s ease, transform 0.5s ease;
    text-shadow: 0 0 40px rgba(232, 197, 71, 0.3);
}

.hero-kanji.revealed {
    opacity: 1;
    transform: scale(1);
}

.hero-title {
    font-family: 'Poiret One', cursive;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--decree-gold);
    opacity: 0;
    transition: opacity 0.6s ease, letter-spacing 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 24px;
}

.hero-title.revealed {
    opacity: 1;
    letter-spacing: 0.18em;
}

.hero-subtitle {
    font-family: 'Anybody', sans-serif;
    font-size: clamp(0.75rem, 1.8vw, 1.1rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted-amethyst);
    font-variation-settings: 'wght' 100;
    opacity: 0;
    transition: opacity 0.8s ease, font-variation-settings 2s ease;
    margin-bottom: 40px;
}

.hero-subtitle.revealed {
    opacity: 1;
    font-variation-settings: 'wght' 400;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity 0.8s ease 0.5s;
}

.hero-meta.revealed {
    opacity: 1;
}

.meta-item {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.meta-label {
    color: var(--muted-amethyst);
}

.meta-value {
    color: rgba(77, 255, 180, 0.85);
}

.status-active {
    color: var(--signal-green);
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.4; }
}

.meta-divider {
    color: var(--dossier-indigo);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
}

/* ============================================
   DOSSIER GRID (6-column asymmetric)
   ============================================ */
.dossier-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr) minmax(80px, 1fr);
    gap: 2px;
    width: 100%;
    max-width: 1200px;
    min-height: 60vh;
    align-items: start;
}

/* Grid hairline rules */
.dossier-grid > * {
    border-left: 1px solid var(--dossier-indigo);
    padding: 20px;
}

.dossier-grid > *:first-child {
    border-left: none;
}

/* ============================================
   CLASSIFICATION SIDEBAR
   ============================================ */
.classification-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
}

.sidebar-stamp {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--decree-gold);
    padding: 6px 10px;
    border: 1px solid rgba(232, 197, 71, 0.3);
    text-align: center;
    filter: url(#roughen);
    opacity: 0.8;
}

.sidebar-stamp-urgent {
    border-color: var(--curfew-red);
    color: var(--curfew-red);
    box-shadow: inset 0 0 6px rgba(255, 59, 59, 0.2);
}

.sidebar-label {
    font-family: 'Anybody', sans-serif;
    font-variation-settings: 'wght' 300;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted-amethyst);
}

.sidebar-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: rgba(77, 255, 180, 0.85);
    letter-spacing: 0.1em;
}

.sidebar-sparkline {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-sparkline svg {
    width: 100%;
    max-width: 80px;
}

.sparkline-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--muted-amethyst);
    text-transform: uppercase;
}

.sparkline-urgent {
    color: var(--curfew-red);
}

.sparkline-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1.5s ease;
}

.sparkline-path.drawn {
    stroke-dashoffset: 0;
}

/* ============================================
   SECTION HEADINGS (stamped)
   ============================================ */
.section-heading {
    font-family: 'Poiret One', cursive;
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--decree-gold);
    margin-bottom: 30px;
    position: relative;
}

.stamped-heading {
    filter: url(#roughen-strong);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.5s ease;
}

.stamped-heading.visible {
    opacity: 1;
    transform: translateY(0);
    filter: url(#roughen);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding: 20px 30px;
}

.content-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.body-text {
    font-family: 'Literata', serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.72;
    color: var(--pale-lavender);
}

.kanji-inline, .hangul-inline {
    color: var(--decree-gold);
    font-weight: 500;
}

/* ============================================
   REDACTION BLOCKS
   ============================================ */
.redaction-block {
    position: relative;
    margin: 16px 0;
    cursor: pointer;
}

.redaction-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--abyss-violet);
    box-shadow: inset 0 0 8px rgba(255, 59, 59, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    clip-path: inset(0 0 0 0);
}

.redaction-block[data-revealed="true"] .redaction-cover {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
}

.redaction-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--curfew-red);
    text-transform: uppercase;
    opacity: 0.7;
}

.redaction-content {
    padding: 16px;
    background: rgba(26, 10, 46, 0.8);
    border-left: 2px solid var(--curfew-red);
}

/* ============================================
   MARGIN ANNOTATIONS
   ============================================ */
.margin-annotations {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 60px;
}

.annotation {
    display: flex;
    gap: 6px;
    font-size: 0.7rem;
    line-height: 1.5;
}

.annotation-marker {
    font-family: 'Share Tech Mono', monospace;
    color: var(--decree-gold);
    flex-shrink: 0;
}

.annotation-urgent {
    color: var(--curfew-red);
    font-weight: bold;
}

.annotation-text {
    font-family: 'Literata', serif;
    font-style: italic;
    color: var(--muted-amethyst);
    font-size: 0.7rem;
}

/* ============================================
   GAUGE METERS
   ============================================ */
.gauge-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.gauge-meter svg {
    width: 50px;
    height: 50px;
}

.gauge-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--muted-amethyst);
    text-transform: uppercase;
}

.gauge-fill {
    stroke-dasharray: 0 163;
    transition: stroke-dasharray 1.2s ease;
}

.gauge-fill.animated {
    /* JS will set the target dasharray */
}

/* ============================================
   HEATMAP GRID
   ============================================ */
.heatmap-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.heatmap-grid svg {
    width: 50px;
    height: 50px;
}

.heatmap-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--muted-amethyst);
    text-transform: uppercase;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 16px 0;
    border-left: 2px solid var(--dossier-indigo);
    padding-left: 20px;
}

.timeline-entry {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(42, 27, 61, 0.5);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-entry.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--decree-gold);
    flex-shrink: 0;
    width: 50px;
}

.timeline-event {
    font-family: 'Literata', serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--pale-lavender);
}

/* ============================================
   MECHANISM CARDS
   ============================================ */
.mechanism-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.mechanism-card {
    background: rgba(26, 10, 46, 0.6);
    border: 1px solid var(--dossier-indigo);
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mechanism-card:hover {
    border-color: var(--decree-gold);
    box-shadow: 0 0 20px rgba(232, 197, 71, 0.1);
}

.mechanism-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.mechanism-title {
    font-family: 'Anybody', sans-serif;
    font-variation-settings: 'wght' 700;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--decree-gold);
    margin-bottom: 8px;
}

.mechanism-desc {
    font-family: 'Literata', serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--pale-lavender);
    opacity: 0.8;
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */
.ripple-target {
    position: relative;
    overflow: hidden;
}

.ripple-target .ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--emergency-magenta);
    opacity: 0.4;
    transform: scale(0);
    animation: ripple-expand 0.5s ease-out forwards;
    pointer-events: none;
}

@keyframes ripple-expand {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   DATA CALLOUT (Korea 2024 timeline)
   ============================================ */
.data-callout {
    background: rgba(26, 10, 46, 0.7);
    border: 1px solid var(--dossier-indigo);
    margin: 16px 0;
    overflow: hidden;
}

.callout-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(42, 27, 61, 0.5);
    border-bottom: 1px solid var(--dossier-indigo);
}

.callout-icon {
    color: var(--decree-gold);
    font-size: 0.9rem;
}

.callout-title {
    font-family: 'Anybody', sans-serif;
    font-variation-settings: 'wght' 600;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--decree-gold);
}

.callout-entries {
    padding: 0;
}

.callout-entry {
    display: flex;
    gap: 16px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(42, 27, 61, 0.3);
    align-items: baseline;
}

.callout-entry:last-child {
    border-bottom: none;
}

.callout-time {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(77, 255, 180, 0.85);
    flex-shrink: 0;
    width: 80px;
}

.callout-text {
    font-family: 'Literata', serif;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--pale-lavender);
}

/* ============================================
   ART DECO FRAMES
   ============================================ */
.deco-frame {
    position: absolute;
    height: 60%;
    top: 20%;
    opacity: 0.3;
}

.deco-frame-left {
    left: 30px;
}

.deco-frame-right {
    right: 30px;
}

.deco-frame svg {
    height: 100%;
    width: 60px;
}

/* ============================================
   BOTANICAL SVG OVERLAYS
   ============================================ */
.botanical {
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: opacity 2s ease;
}

.botanical.visible {
    opacity: 1;
}

.botanical-small {
    width: 200px;
    height: 200px;
}

.botanical-large {
    width: 350px;
    height: 350px;
}

.botanical-chrysanthemum {
    position: absolute;
    right: 10%;
    bottom: 10%;
}

.botanical-mugunghwa {
    position: absolute;
    left: 8%;
    top: 15%;
}

.botanical-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 8s ease;
}

.botanical-path.drawn {
    stroke-dashoffset: 0;
}

/* ============================================
   EPILOGUE SECTION
   ============================================ */
.section-epilogue .layer-front {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.epilogue-content {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.epilogue-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.epilogue-text {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.8;
    text-align: center;
}

.epilogue-text:last-child {
    color: var(--decree-gold);
    font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.epilogue-classification {
    margin-top: 20px;
}

.classification-seal {
    width: 150px;
    height: 150px;
    animation: seal-rotate 40s linear infinite;
    opacity: 0;
    transition: opacity 1s ease;
}

.classification-seal.visible {
    opacity: 1;
}

@keyframes seal-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.classification-seal svg {
    width: 100%;
    height: 100%;
}

.epilogue-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--dossier-indigo);
    width: 100%;
    text-align: center;
}

.footer-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--muted-amethyst);
    opacity: 0.5;
}

/* ============================================
   SECTION TRANSITION (CRT interference)
   ============================================ */
.dossier-section.transitioning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(77, 255, 180, 0.05) 2px,
        rgba(77, 255, 180, 0.05) 4px
    );
    z-index: 50;
    animation: interference-flash 0.2s ease-out forwards;
    pointer-events: none;
}

@keyframes interference-flash {
    0% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* ============================================
   RESPONSIVE (below 768px)
   ============================================ */
@media (max-width: 768px) {
    .dossier-grid {
        grid-template-columns: 1fr;
    }

    .dossier-grid > * {
        border-left: none;
        border-top: 1px solid var(--dossier-indigo);
    }

    .dossier-grid > *:first-child {
        border-top: none;
    }

    .classification-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 10px;
        align-items: center;
    }

    .margin-annotations {
        padding-top: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .layer-deep {
        transform: translateZ(-30px) scale(1.02);
    }

    .layer-mid {
        transform: translateZ(-15px) scale(1.01);
    }

    .layer-front {
        padding: 30px 16px;
    }

    .mechanism-grid {
        grid-template-columns: 1fr;
    }

    .hero-kanji {
        font-size: clamp(3rem, 10vw, 6rem);
    }

    .hero-kanji-container {
        gap: 10px;
    }

    .botanical {
        width: 200px;
        height: 200px;
    }

    .botanical-large {
        width: 250px;
        height: 250px;
    }

    .main-content {
        padding: 20px 10px;
    }

    .deco-frame {
        display: none;
    }

    .timeline-entry {
        flex-direction: column;
        gap: 4px;
    }

    .callout-entry {
        flex-direction: column;
        gap: 4px;
    }

    .callout-time {
        width: auto;
    }

    #cursor-spotlight {
        display: none;
    }
}

/* ============================================
   ANIMATION UTILITY CLASSES
   ============================================ */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}
