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

/* === CUSTOM PROPERTIES === */
:root {
    --deep-navy: #0a0e2a;
    --deep-purple: #1a0a3e;
    --neon-green: #76ff03;
    --amber: #ffab00;
    --hot-magenta: #ff2d78;
    --electric-cyan: #00e5ff;
    --lavender: #d4d0f0;
    --ghost-white: #f0f0ff;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--deep-navy);
    color: var(--ghost-white);
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

/* === HERO === */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--deep-navy);
}

#field-lines-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.field-line {
    position: absolute;
    width: 1px;
    transform-origin: center bottom;
    opacity: 0.6;
}

#monopole-sphere {
    position: absolute;
    width: clamp(80px, 12vw, 160px);
    height: clamp(80px, 12vw, 160px);
    border-radius: 50%;
    background: var(--electric-cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

#hero-title {
    position: relative;
    z-index: 3;
    font-family: 'Overpass', sans-serif;
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ghost-white);
    margin-top: 8vh;
}

#hero-subtitle {
    position: relative;
    z-index: 3;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    color: var(--lavender);
    margin-top: 1rem;
    letter-spacing: 0.05em;
}

/* === BOTANICAL ELEMENTS === */
#botanical-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.botanical {
    position: absolute;
}

.botanical.b1 {
    width: 60px;
    left: 12%;
    top: 15%;
    transform: rotate(-15deg);
}

.botanical.b2 {
    width: 55px;
    right: 10%;
    top: 20%;
    transform: rotate(10deg);
}

.botanical.b3 {
    width: 80px;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
}

/* === NARRATIVE SECTIONS === */
.narrative-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

#prediction {
    background: var(--deep-navy);
}

#search {
    background: var(--deep-purple);
}

#physics {
    background: var(--deep-navy);
}

#absence {
    background: var(--deep-purple);
}

.section-field-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.narrative-content {
    max-width: 680px;
    width: 100%;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.section-label {
    display: block;
    font-family: 'Inconsolata', monospace;
    font-size: 0.8rem;
    color: var(--electric-cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.narrative-section h2 {
    font-family: 'Overpass', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--ghost-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.narrative-section p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--lavender);
    margin-bottom: 1.2rem;
}

.narrative-section em {
    color: var(--amber);
    font-style: italic;
}

.mono-text {
    font-family: 'Inconsolata', monospace;
}

/* === DIRAC EQUATION === */
.dirac-equation {
    margin-top: 2.5rem;
    padding: 2rem;
    border: 1px solid var(--electric-cyan);
    text-align: center;
}

.dirac-equation .mono-text {
    display: block;
    font-size: 1.8rem;
    color: var(--electric-cyan);
    margin-bottom: 0.5rem;
}

.equation-note {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--lavender);
    opacity: 0.7;
}

/* === TIMELINE === */
.timeline {
    margin-top: 2.5rem;
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--hot-magenta);
}

.timeline-event {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    background: var(--hot-magenta);
    border-radius: 50%;
}

.timeline-year {
    font-family: 'Inconsolata', monospace;
    font-size: 1.1rem;
    color: var(--amber);
    display: block;
}

.timeline-desc {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--lavender);
    font-weight: 300;
}

/* === PHYSICS DIAGRAM === */
.physics-diagram {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.dipole-container,
.monopole-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.dipole-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.pole {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Overpass', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.pole.north {
    background: var(--hot-magenta);
    color: var(--ghost-white);
}

.pole.south {
    background: var(--electric-cyan);
    color: var(--deep-navy);
}

.pole-connector {
    width: 40px;
    height: 2px;
    background: var(--lavender);
    opacity: 0.5;
}

.pole.mono {
    background: var(--neon-green);
    color: var(--deep-navy);
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
}

.versus-mark {
    font-size: 2rem;
    color: var(--lavender);
    opacity: 0.5;
}

.diagram-label {
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Inconsolata', monospace;
    font-size: 0.75rem;
    color: var(--lavender);
    opacity: 0.6;
    margin-top: 0.5rem;
}

.dipole-container .diagram-label {
    flex-basis: 100%;
}

/* === CLOSING === */
.closing-thought {
    color: var(--amber) !important;
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.3rem) !important;
    margin-top: 1rem;
}

/* === COLOPHON === */
#colophon {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--deep-navy);
    border-top: 1px solid rgba(212, 208, 240, 0.1);
}

.colophon-text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--lavender);
    opacity: 0.5;
}

.colophon-sub {
    font-size: 1.2rem;
    color: var(--electric-cyan);
    opacity: 0.4;
    margin-top: 0.5rem;
}

/* === SECTION FIELD LINE DECORATIONS === */
.section-line {
    position: absolute;
    width: 1px;
    opacity: 0.15;
}
