/* ============================================
   THE DESCENT — Design System & Styles
   A cinematic, dark-themed portfolio
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600&family=Orbitron:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --color-void: #000000;
    --color-smoke: rgba(255, 255, 255, 0.03);
    --color-beam: #ffffff;
    --color-beam-glow: rgba(255, 255, 255, 0.4);
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.4);
    --color-accent: #00ddff;
    --color-accent-warm: #ff9500;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-surface-hover: rgba(255, 255, 255, 0.1);
    --color-border: rgba(255, 255, 255, 0.08);

    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Orbitron', monospace;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-dramatic: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --timeline-width: 60px;
    --section-padding: 60px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    overflow-y: auto;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-body);
    background: var(--color-void);
    color: var(--color-text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Vertical Timeline ── */
.timeline {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: var(--timeline-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    gap: 0;
    pointer-events: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(255, 255, 255, 0.15) 20%,
            rgba(255, 255, 255, 0.15) 80%,
            transparent);
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.5s var(--ease-dramatic);
    position: relative;
    z-index: 2;
    margin: 12px 0;
}

.timeline-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.3);
}

.timeline-dot.active {
    background: var(--color-beam);
    border-color: var(--color-beam);
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
    transform: scale(1.4);
}

.timeline-dot .tooltip {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
    pointer-events: none;
}

.timeline-dot:hover .tooltip,
.timeline-dot.active .tooltip {
    opacity: 1;
    right: 28px;
    color: var(--color-text-secondary);
}

/* ── Page Sections ── */
.page-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--section-padding);
    padding-right: calc(var(--timeline-width) + var(--section-padding));
}

.section-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.3em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 2.5em;
}

/* ══════════════════════════════════════════
   SECTION 1 — THE VOID (Landing Page)
   ══════════════════════════════════════════ */

#the-void {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-void);
}

#the-void .section-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 40%,
            transparent 60%,
            rgba(0, 0, 0, 0.3) 100%);
}

/* Beam animation */
.void-beam {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6vw;
    height: 0;
    background: linear-gradient(to top,
            transparent,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0.8) 50%,
            var(--color-beam) 80%,
            var(--color-beam));
    z-index: 3;
    opacity: 0;
    filter: blur(8px);
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 80px rgba(255, 255, 255, 0.1);
}

.void-beam.animate {
    animation: beamLaunch 1.8s var(--ease-dramatic) forwards;
}

@keyframes beamLaunch {
    0% {
        height: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 1;
    }
}

/* Beam glow pulse */
.void-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15vw;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 70%);
    opacity: 0;
}

.void-beam.animate::after {
    animation: glowPulse 2s ease-in-out 1.5s infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.8;
    }
}

/* Silhouette */
.void-silhouette {
    position: absolute;
    bottom: -18vh;
    left: 50%;
    transform: translateX(-50%);
    height: 120vh;
    z-index: 4;
    opacity: 0;
    transition: all 1.5s var(--ease-dramatic);
    filter: brightness(0);
}

.void-silhouette.visible {
    opacity: 1;
}

.void-silhouette.split {
    /* Keep left: 50% from base class, and preserve the -50% translation to keep its origin centered */
    transform: translateX(calc(-50% + 30vw)) scale(1.1);
    transition: all 1.8s var(--ease-dramatic);
    transform-origin: bottom center;
}

/* Smoke overlay */
.void-smoke {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 80%,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 60%);
}

.void-smoke.visible {
    opacity: 1;
}

/* Landing text */
.void-text {
    position: relative;
    z-index: 5;
    text-align: center;
    opacity: 0;
    transition: all 1.5s var(--ease-dramatic);
}

.void-text.visible {
    opacity: 1;
}

.void-text.split {
    transform: translateX(-30vw) scale(0.6);
    text-align: left;
    transition: all 1.8s var(--ease-dramatic);
}

.void-name-first,
.void-name-last {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.25em;
    margin-right: -0.25em;
    text-transform: uppercase;
    line-height: 1.05;
    background: linear-gradient(180deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.void-name-first {
    font-size: clamp(3.5rem, 10vw, 8rem);
}

.void-name-last {
    font-size: clamp(3.5rem, 10vw, 8rem);
}

.void-tagline {
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 1.5em;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    width: 0;
    margin-left: auto;
    margin-right: auto;
}

.void-tagline.typing {
    animation: typewriter 2.5s steps(50) 0.3s forwards, blink 0.8s step-end infinite;
}

@keyframes typewriter {
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease 4.5s forwards;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-indicator .arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    position: relative;
}

.scroll-indicator .arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateX(-50%) rotate(45deg);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) rotate(45deg) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) rotate(45deg) translateY(5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ══════════════════════════════════════════
   SECTION 2 — THE MAN (About Me)
   ══════════════════════════════════════════ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-summary {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 1.8;
    color: var(--color-text-secondary);
    font-weight: 300;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-smooth);
}

.about-detail-item:hover {
    background: var(--color-surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.about-detail-item .icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 221, 255, 0.1);
    border-radius: 8px;
}

.about-detail-item .label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.about-detail-item .value {
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.about-languages {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lang-tag {
    padding: 4px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════
   SECTION 3 — THE JOURNEY (Education)
   ══════════════════════════════════════════ */

.journey-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 40px;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            var(--color-accent),
            rgba(255, 255, 255, 0.1));
}

.journey-item {
    position: relative;
    padding: 30px 0;
}

.journey-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 38px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: var(--color-void);
    z-index: 2;
    transition: all 0.4s ease;
}

.journey-item:first-child::before {
    background: var(--color-accent);
    box-shadow: 0 0 15px rgba(0, 221, 255, 0.5);
}

.journey-degree {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.journey-field {
    font-size: 0.95rem;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.journey-institution {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.journey-years {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.journey-status {
    display: inline-block;
    margin-left: 12px;
    padding: 2px 10px;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 10px;
    font-family: var(--font-mono);
}

.journey-status.current {
    background: rgba(0, 221, 255, 0.15);
    color: var(--color-accent);
    border: 1px solid rgba(0, 221, 255, 0.3);
}

.journey-status.completed {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* Experience sub-section */
.experience-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.experience-card {
    padding: 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.experience-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.experience-company {
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.experience-period {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.experience-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.experience-bullets li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.experience-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* ══════════════════════════════════════════
   HORIZONTAL SCROLLING STRIPS
   (Chronicles, Forge, Codex, Hall, Beyond)
   ══════════════════════════════════════════ */

.strips-container {
    width: 100%;
    /* Removed overflow: hidden so hovered cards aren't cropped when scaling */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strip {
    display: flex;
    width: max-content;
    gap: 24px;
    will-change: transform;
}

.strip.scroll-right {
    animation: scrollRight 55s linear infinite;
}

.strip.scroll-left {
    animation: scrollLeft 55s linear infinite;
}

.strip:hover {
    animation-play-state: paused;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Generic strip card */
.strip-card {
    flex-shrink: 0;
    padding: 24px 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.5s var(--ease-dramatic);
    cursor: default;
    min-width: 280px;
}

/* Half-width cards for Codex & Hall */
.strip-card.compact {
    width: 320px;
    min-width: 140px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    white-space: normal;
}

.strip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--card-accent, var(--color-accent)), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.strip-card:hover::before {
    opacity: 1;
}

.strip-card:hover {
    transform: scale(1.15);
    background: var(--color-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 255, 255, 0.03);
    z-index: 10;
}

.strip-card.clickable {
    cursor: pointer;
}

.strip-card.clickable:hover {
    border-color: var(--card-accent, var(--color-accent));
}

/* Card content styles */
.card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.card-description {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-tag {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.card-date {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.card-link-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.8rem;
}

.strip-card:hover .card-link-icon {
    opacity: 1;
}

/* ══════════════════════════════════════════
   SECTION 5 — THE FORGE (Tech Stack)
   ══════════════════════════════════════════ */

.forge-category {
    margin-bottom: 40px;
}

.forge-category-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    padding-left: 4px;
}

.skill-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 200px;
    padding: 16px 22px;
}

.skill-card img {
    width: 32px;
    height: 32px;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.strip-card:hover .skill-card img {
    filter: grayscale(0);
}

.skill-card .skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Soft skills variant */
.soft-skill-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.soft-skill-icon {
    font-size: 1.5rem;
}

.soft-skill-name {
    font-size: 0.85rem;
    font-weight: 500;
}

/* ══════════════════════════════════════════
   SECTION 9 — THE BEACON (Contact)
   ══════════════════════════════════════════ */

.beacon-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.beacon-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beacon-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.beacon-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.beacon-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    transition: all 0.4s var(--ease-smooth);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.beacon-link:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-accent);
    color: var(--color-text-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.beacon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.beacon-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.beacon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    text-decoration: none;
    border: none;
}

.beacon-btn.primary {
    background: var(--color-text-primary);
    color: var(--color-void);
    font-weight: 600;
}

.beacon-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.beacon-btn.secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.beacon-btn.secondary:hover {
    background: var(--color-surface);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    :root {
        --timeline-width: 40px;
        --section-padding: 24px;
    }

    .void-name-first,
    .void-name-last {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .beacon-links {
        flex-direction: column;
        align-items: center;
    }

    .beacon-actions {
        flex-direction: column;
        align-items: center;
    }

    .strip-card {
        min-width: 240px;
        padding: 18px 22px;
    }

    .strip-card:hover {
        transform: scale(1.08);
    }

    .timeline-dot .tooltip {
        display: none;
    }

    .void-text.split {
        transform: translateX(-15vw) scale(0.7);
    }

    .void-silhouette.split {
        transform: translateX(20vw) scale(0.6);
    }
}

@media (max-width: 480px) {

    .void-name-first,
    .void-name-last {
        font-size: clamp(2rem, 12vw, 3rem);
        letter-spacing: 0.15em;
    }

    .page-section {
        padding: 20px;
        padding-right: calc(var(--timeline-width) + 16px);
    }
}

/* ── Utility: Loading screen ── */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-void);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-pulse {
    width: 4px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    animation: loaderPulse 1s ease-in-out infinite;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scaleY(0.3);
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
    width: 100%;
    padding: 30px;
    text-align: center;
    background: var(--color-void);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ══════════════════════════════════════════
   MOBILE OPTIMIZATION
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .timeline {
        display: none;
    }

    .page-section {
        padding-right: var(--section-padding);
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .void-silhouette.split {
        transform: translateX(-50%) scale(0.9);
        opacity: 0.3;
    }

    .void-text.split {
        transform: translateX(0) scale(0.8);
        text-align: center;
    }

    .strip-card.compact {
        width: 280px;
    }
}