/* ==========================================
   Design System — Jonathan Ho Resume
   SaaS Edition
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* Core palette */
    --white: #FFFFFF;
    --navy: #0D0B2B;
    --navy-mid: #1A1060;
    --navy-card: #16134A;
    --purple: #7B5CF0;
    --purple-light: #9B7FF7;
    --purple-dim: rgba(123, 92, 240, 0.15);
    --yellow: #FFD93D;
    --yellow-pale: #FFFAE0;
    --yellow-cream: #FFF9F0;
    --teal: #00C9B8;
    --teal-dim: rgba(0, 201, 184, 0.15);
    --pink: #FF6B9D;
    --pink-dim: rgba(255, 107, 157, 0.15);
    --ink: #0D0B2B;
    --ink-80: rgba(13, 11, 43, 0.80);
    --ink-60: rgba(13, 11, 43, 0.60);
    --ink-40: rgba(13, 11, 43, 0.40);
    --ink-20: rgba(13, 11, 43, 0.20);
    --ink-10: rgba(13, 11, 43, 0.10);
    --ink-05: rgba(13, 11, 43, 0.05);
    --text-on-dark: rgba(255, 255, 255, 0.85);
    --text-on-dark-muted: rgba(255, 255, 255, 0.50);

    /* Typography */
    --font-main: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(123, 92, 240, 0.10);
    --shadow-md: 0 4px 28px rgba(123, 92, 240, 0.14);
    --shadow-lg: 0 8px 48px rgba(123, 92, 240, 0.18);
    --shadow-hover: 0 14px 56px rgba(123, 92, 240, 0.28);
    --shadow-yellow: 0 8px 40px rgba(255, 217, 61, 0.20);
    --shadow-teal: 0 8px 40px rgba(0, 201, 184, 0.18);

    /* Transitions */
    --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --content-max-width: 1040px;
    --train-icon-size: 37.5px;
}

/* ==========================================
   Reset & Base
   ========================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--ink);
    background: var(--navy);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
}

h1 { font-size: clamp(3.5rem, 9vw, 8rem); font-weight: 900; letter-spacing: -0.045em; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; }

p {
    font-size: clamp(0.95rem, 1.8vw, 1.075rem);
    line-height: 1.75;
    letter-spacing: -0.005em;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* ==========================================
   Utilities
   ========================================== */

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.section { padding: var(--spacing-xl) 0; position: relative; }

.section-label {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
}

.section-title {
    margin-bottom: var(--spacing-sm);
    color: var(--ink);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--ink-60);
    max-width: 640px;
    margin: 0 auto var(--spacing-lg);
    font-weight: 400;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        #12082e 0%,
        #1c0f4a 16%,
        #2a1a62 36%,
        #3d2a86 54%,
        #4d3d96 72%,
        #5a4e9e 88%,
        #4a3d82 100%
    );
}

/* Subtle star-dot field (under SVG burst) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
}

/* Radial sunburst lines */
.hero-radial-burst {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.92;
}

.hero-radial-burst-lines {
    fill: none;
}

.hero-radial-burst-nodes {
    pointer-events: none;
}

/* Blob container */
.resume-hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Blob 1: large purple, top-right */
.resume-hero-background::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 92, 240, 0.35) 0%, transparent 65%);
    filter: blur(60px);
    animation: blobFloat 10s ease-in-out infinite;
}

/* Blob 2: teal, bottom-left */
.resume-hero-background::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -8%;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 201, 184, 0.25) 0%, transparent 65%);
    filter: blur(50px);
    animation: blobFloat 14s ease-in-out infinite 3s;
}

/* Yellow blob */
.hero-blob-yellow {
    position: absolute;
    top: 20%;
    left: 8%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--yellow);
    filter: blur(48px);
    opacity: 0.22;
    animation: blobFloat 12s ease-in-out infinite 1.5s;
    pointer-events: none;
    z-index: 1;
}

/* Pink blob */
.hero-blob-pink {
    position: absolute;
    bottom: 25%;
    right: 12%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--pink);
    filter: blur(40px);
    opacity: 0.20;
    animation: blobFloat 16s ease-in-out infinite 5s;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-md);
    max-width: 900px;
}

/* Eyebrow */
.hero-eyebrow {
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: revealDown 0.8s var(--ease-out-expo) 0.2s forwards;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--purple-light);
    opacity: 0.6;
}

/* Title with clip-path reveal */
.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    animation: clipReveal 1.0s var(--ease-out-expo) 0.5s forwards;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
    line-height: 1;
}

.hero-title-accent {
    color: var(--yellow);
    display: inline-block;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    opacity: 0;
    animation: revealUp 0.8s var(--ease-out-expo) 0.9s forwards;
    letter-spacing: -0.01em;
}

/* Location line */
.hero-location {
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.04em;
    opacity: 0;
    animation: revealUp 0.8s var(--ease-out-expo) 1.1s forwards;
}

/* Summary bio */
.hero-summary {
    font-size: clamp(0.9rem, 1.7vw, 1.05rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin: 0 auto var(--spacing-md);
    letter-spacing: 0.01em;
    opacity: 0;
    animation: revealUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: revealUp 0.8s var(--ease-out-expo) 1.55s forwards;
}

/* Stat bar */
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: var(--spacing-lg);
    opacity: 0;
    animation: revealUp 0.8s var(--ease-out-expo) 1.5s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -0.04em;
    line-height: 1;
}

.hero-stat-label {
    font-family: var(--font-main);
    font-size: 0.65rem;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================
   Keyframes
   ========================================== */

/* ==========================================
   Seattle Skyline
   ========================================== */

.seattle-skyline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 100%;
    height: 220px;
    pointer-events: none;
    z-index: 2;
    fill: none;
    stroke: none;
    opacity: 0;
    animation: skylineReveal 2s var(--ease-out-expo) 0.6s forwards;
}

.seattle-skyline-path {
    fill: none;
    stroke: rgba(175, 155, 250, 0.92);
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 9000;
    stroke-dashoffset: 9000;
    animation: skylineDraw 3.5s ease-out 0.6s forwards;
}

@keyframes skylineDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes skylineReveal {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    100% { opacity: 1; }
}

/* ==========================================
   Moon
   ========================================== */

.hero-moon {
    position: absolute;
    top: 8%;
    right: 12%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* silvery crescent: bright face + inset shadow creates the dark side */
    background: radial-gradient(circle at 42% 42%, #f4f0ff 0%, #d8ccff 45%, #b0a0e8 100%);
    box-shadow:
        inset -16px -6px 0 4px #0D0B2B,
        0 0 28px 10px rgba(180, 160, 255, 0.38),
        0 0 70px 28px rgba(155, 127, 247, 0.20),
        0 0 130px 55px rgba(123, 92, 240, 0.10);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: moonReveal 1.5s var(--ease-out-expo) 0.8s forwards;
}

@keyframes moonReveal {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

/* ==========================================
   Floating Clouds
   ========================================== */

.hero-cloud {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    fill: rgba(255, 255, 255, 0.06);
    stroke: rgba(155, 127, 247, 0.25);
    stroke-width: 1;
}

.hero-cloud-1 {
    width: 220px;
    bottom: 28%;
    left: -60px;
    animation: cloudDrift1 28s linear infinite;
    opacity: 0;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.hero-cloud-2 {
    width: 160px;
    bottom: 38%;
    left: -40px;
    animation: cloudDrift2 38s linear infinite;
    opacity: 0;
    animation-delay: 4s;
    animation-fill-mode: forwards;
}

.hero-cloud-3 {
    width: 260px;
    bottom: 20%;
    left: -80px;
    animation: cloudDrift3 50s linear infinite;
    opacity: 0;
    animation-delay: 8s;
    animation-fill-mode: forwards;
}

@keyframes cloudDrift1 {
    0%   { transform: translateX(-60px);  opacity: 0; }
    5%   { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(calc(100vw + 260px)); opacity: 0; }
}

@keyframes cloudDrift2 {
    0%   { transform: translateX(-40px);  opacity: 0; }
    5%   { opacity: 0.7; }
    90%  { opacity: 0.7; }
    100% { transform: translateX(calc(100vw + 200px)); opacity: 0; }
}

@keyframes cloudDrift3 {
    0%   { transform: translateX(-80px);  opacity: 0; }
    5%   { opacity: 0.5; }
    90%  { opacity: 0.5; }
    100% { transform: translateX(calc(100vw + 300px)); opacity: 0; }
}

/* ==========================================
   Keyframes
   ========================================== */

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(2%, 3%) scale(1.04); }
    66%       { transform: translate(-2%, -2%) scale(0.97); }
}

@keyframes clipReveal {
    from { clip-path: inset(0 0 100% 0); opacity: 1; }
    to   { clip-path: inset(0 0 0% 0); opacity: 1; }
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes revealDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Button System
   ========================================== */

.cta-button,
.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button {
    padding: 0.875rem 2rem;
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
    box-shadow: 0 4px 24px rgba(123, 92, 240, 0.40);
}

.cta-button:hover {
    background: #6040D0;
    border-color: #6040D0;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(123, 92, 240, 0.55);
    color: var(--white);
}

.cta-button-secondary {
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.30);
}

.cta-button-secondary:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-2px);
    background: rgba(255, 217, 61, 0.10);
}

/* ==========================================
   Scroll Indicator
   ========================================== */

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: revealUp 0.8s var(--ease-out-expo) 2s forwards;
}

.scroll-indicator span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-size: 0.6rem;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-indicator span::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--purple-light), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================
   Scroll Reveal
   ========================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Metro Track Navigation
   ========================================== */

.page-metro-track {
    position: fixed;
    left: 44px;
    top: 0;
    height: 100vh;
    z-index: 900;
    opacity: 0;
    animation: revealUp 0.8s var(--ease-out-expo) 1.8s forwards;
}

.page-track-line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: rgba(123, 92, 240, 0.25);
    transform: translateX(-50%);
}

.page-train-indicator { display: none; }

.page-metro-stops {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2vh 0;
}

.page-metro-stop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    height: 4vh;
    padding: 1vh;
    margin: -1vh;
}

.page-stop-node {
    width: 10px; height: 10px;
    background: var(--white);
    border: 2px solid rgba(123, 92, 240, 0.30);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out-expo);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.page-metro-stop-start .page-stop-node,
.page-metro-stop-end .page-stop-node {
    width: 10px; height: 10px;
    background: var(--white);
    border: 2px solid var(--purple);
    box-shadow: 0 0 0 3px rgba(123, 92, 240, 0.15);
}

.page-metro-stop-end .page-stop-node {
    animation: pulseDestination 2.5s ease-in-out infinite;
}

.page-stop-label {
    position: absolute;
    left: calc(50% + 18px);
    top: 50%;
    transform: translate(-8px, -50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
    pointer-events: none;
    background: var(--white);
    border: 1px solid rgba(123, 92, 240, 0.20);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.page-stop-name {
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.page-stop-subtitle {
    font-family: var(--font-main);
    font-size: 0.65rem;
    color: var(--ink-40);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 2px;
}

.page-metro-stop:hover .page-stop-node {
    transform: translateX(-50%) scale(1.4);
    border-color: var(--purple);
    background: var(--purple);
    box-shadow: 0 0 0 4px rgba(123, 92, 240, 0.20);
}

.page-metro-stop:hover .page-stop-label {
    opacity: 1;
    transform: translate(0, -50%);
    pointer-events: auto;
}

.page-metro-stop.active .page-stop-node {
    width: 14px; height: 14px;
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(123, 92, 240, 0.20);
    transform: translateX(-50%);
}

.page-metro-stop.active .page-stop-name { color: var(--purple); }

.page-metro-stop-start.active .page-stop-node,
.page-metro-stop-end.active .page-stop-node {
    width: 14px; height: 14px;
    background: var(--purple);
    border-color: var(--purple);
    border-width: 2px;
}

.page-metro-stop-end .page-stop-name { color: var(--ink); }

@keyframes pulseDestination {
    0%, 100% { box-shadow: 0 0 0 0 rgba(123, 92, 240, 0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(123, 92, 240, 0); }
}

/* ==========================================
   Section Separator
   ========================================== */

.section-divider {
    width: 100%;
    height: 1px;
    background: var(--ink-10);
    margin: 0;
}

/* ==========================================
   Card Data-Viz Decorations
   ========================================== */

/* Shared base – absolutely positioned inside any card with position:relative */
.card-viz {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease 0.25s;
}

/* Top-right corner placement */
.card-viz-tr {
    top: 1.25rem;
    right: 1.25rem;
}

/* Bottom-right corner placement */
.card-viz-br {
    bottom: 1rem;
    right: 1.25rem;
}

/* Reveal when the parent card is visible */
.reveal.active .card-viz {
    opacity: 1;
}

/* Animated path / polyline / circle stroke draw-on */
.viz-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.reveal.active .viz-line {
    stroke-dashoffset: 0;
}

/* Animated bar height (scale up from baseline) */
.viz-bar {
    transform-origin: bottom center;
    transform: scaleY(0);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active .viz-bar:nth-child(2) { transition-delay: 0.35s; transform: scaleY(1); }
.reveal.active .viz-bar:nth-child(3) { transition-delay: 0.42s; transform: scaleY(1); }
.reveal.active .viz-bar:nth-child(4) { transition-delay: 0.49s; transform: scaleY(1); }
.reveal.active .viz-bar:nth-child(5) { transition-delay: 0.56s; transform: scaleY(1); }
.reveal.active .viz-bar:nth-child(6) { transition-delay: 0.63s; transform: scaleY(1); }
.reveal.active .viz-bar:nth-child(7) { transition-delay: 0.70s; transform: scaleY(1); }

/* ==========================================
   Summary Section
   ========================================== */

.summary-section {
    background: var(--white);
}

.summary-body {
    font-size: clamp(1rem, 1.9vw, 1.15rem);
    line-height: 1.85;
    color: var(--ink-80);
    max-width: 720px;
    font-weight: 400;
    letter-spacing: -0.005em;
}

/* ==========================================
   Experience Section
   ========================================== */

.experience-section {
    background: var(--white);
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: var(--spacing-md);
}

.experience-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem;
    border: 1px solid var(--ink-10);
    border-left: 4px solid var(--purple);
    box-shadow: var(--shadow-md);
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at top right, rgba(123, 92, 240, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.experience-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--ink-10);
    border-left-color: var(--purple);
}

.experience-card-header {
    margin-bottom: 1.25rem;
}

.experience-role {
    font-family: var(--font-main);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.3rem;
    letter-spacing: -0.025em;
}

.experience-company {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.experience-dates {
    font-family: var(--font-main);
    font-size: 0.72rem;
    color: var(--ink-40);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.experience-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.experience-bullets li {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    line-height: 1.7;
    color: var(--ink-80);
    padding-left: 1.5rem;
    position: relative;
}

.experience-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
}

/* ==========================================
   Skills Section
   ========================================== */

.skills-section {
    background: var(--yellow-cream);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
    margin-top: var(--spacing-md);
}

.skill-group {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    border: 1px solid rgba(123, 92, 240, 0.10);
    border-top: 3px solid var(--purple);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
}

.skill-group:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.skill-group-title {
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.skill-group-emoji {
    font-size: 1rem;
    filter: grayscale(0.3);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(123, 92, 240, 0.07);
    border: 1px solid rgba(123, 92, 240, 0.18);
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--purple);
    transition: var(--transition-fast);
    cursor: default;
    letter-spacing: 0.01em;
}

.skill-tag:hover {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
    transform: translateY(-1px);
}

/* ==========================================
   Education Section
   ========================================== */

.education-section {
    background: var(--white);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
    margin-top: var(--spacing-md);
}

.education-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    border: 1px solid var(--ink-10);
    border-top: 3px solid var(--teal);
    box-shadow: var(--shadow-teal);
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
}

/* School logo — top-right corner */
.edu-logo-wrap {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.reveal.active .edu-logo-wrap {
    opacity: 1;
}

.edu-logo {
    display: block;
}

.education-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 48px rgba(0, 201, 184, 0.22);
}

.education-school {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.education-degree {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-80);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.education-dates {
    font-family: var(--font-main);
    font-size: 0.72rem;
    color: var(--ink-40);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.education-gpa {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: var(--teal);
    color: var(--white);
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
}

.education-details {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.education-details li {
    font-size: 0.875rem;
    color: var(--ink-60);
    padding-left: 1rem;
    position: relative;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.education-details li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 0.8rem;
}

/* ==========================================
   Built With Claude Section
   ========================================== */

.claude-section {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Star-dot overlay */
.claude-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Purple glow orb */
.claude-section::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 92, 240, 0.20) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: blobFloat 12s ease-in-out infinite;
}

.claude-section .container {
    position: relative;
    z-index: 1;
}

.claude-section .section-label {
    color: var(--purple-light);
    opacity: 0.9;
}
.claude-section .section-label::before {
    background: var(--purple-light);
}

.claude-section .section-title {
    color: var(--white);
}

.claude-section .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

.claude-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-md);
}

/* Individual Claude project card */
.claude-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(123, 92, 240, 0.20);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.claude-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--teal), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.claude-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(123, 92, 240, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(123, 92, 240, 0.20);
}

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

.claude-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(123, 92, 240, 0.18);
    border: 1px solid rgba(123, 92, 240, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    transition: var(--transition);
}

.claude-card:hover .claude-card-icon {
    background: rgba(123, 92, 240, 0.30);
    border-color: rgba(123, 92, 240, 0.50);
}

.claude-card-title {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.claude-card-tag {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 0.875rem;
    display: inline-block;
}

.claude-card-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.5rem;
}

.claude-card-link {
    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--purple-light);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(123, 92, 240, 0.40);
    padding-bottom: 1px;
}

.claude-card-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
    gap: 0.65rem;
}

/* Claude hero banner within the section */
.claude-hero-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: rgba(123, 92, 240, 0.12);
    border: 1px solid rgba(123, 92, 240, 0.25);
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.claude-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 92, 240, 0.60), transparent);
}

.claude-hero-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 92, 240, 0.15) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

.claude-banner-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(123, 92, 240, 0.50));
}

.claude-banner-text h3 {
    color: var(--white);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.025em;
}

.claude-banner-text p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.925rem;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================
   Contact Section
   ========================================== */

.contact-section {
    background: #050318;
    position: relative;
    overflow: hidden;
}

/* Mesh SVG — fills the section behind content */
.contact-mesh-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Three drift cycles for visual variety */
@keyframes meshDrift0 {
    0%,100% { transform: translateX(0)   translateY(0); }
    50%      { transform: translateX(6px) translateY(4px); }
}
@keyframes meshDrift1 {
    0%,100% { transform: translateX(0)    translateY(0); }
    50%      { transform: translateX(-8px) translateY(6px); }
}
@keyframes meshDrift2 {
    0%,100% { transform: translateX(0)   translateY(0); }
    50%      { transform: translateX(5px) translateY(-5px); }
}

.mesh-anim-0 { animation: meshDrift0 14s ease-in-out infinite; }
.mesh-anim-1 { animation: meshDrift1 18s ease-in-out infinite 2s; }
.mesh-anim-2 { animation: meshDrift2 22s ease-in-out infinite 5s; }

/* Radial vignette so mesh fades toward edges */
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, #050318 88%);
    pointer-events: none;
    z-index: 1;
}

/* Content sits above mesh + vignette */
.contact-content {
    position: relative;
    z-index: 2;
}

/* In dark mode the section uses pure deep navy */
[data-theme="dark"] .contact-section {
    background: #03020f;
}
[data-theme="dark"] .contact-section::before {
    background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, #03020f 88%);
}

/* Light mode: pale background, dark lines */
[data-theme="light"] .contact-section {
    background: #F5F3FC;
}
[data-theme="light"] .contact-section::before {
    background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, #F5F3FC 88%);
}
[data-theme="light"] .contact-mesh-bg {
    mix-blend-mode: multiply;
    filter: saturate(2.5) brightness(0.18);
}
[data-theme="light"] .contact-section .section-label {
    color: var(--purple);
}
[data-theme="light"] .contact-section .section-label::before {
    background: var(--purple);
}
[data-theme="light"] .contact-section .section-title {
    color: var(--ink);
}
[data-theme="light"] .contact-section .section-subtitle {
    color: var(--ink-60);
}
[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(123, 92, 240, 0.18);
    box-shadow: 0 8px 40px rgba(123, 92, 240, 0.12);
}
[data-theme="light"] .contact-card::before {
    background: linear-gradient(90deg, transparent, rgba(123,92,240,0.5), rgba(0,201,184,0.5), transparent);
}
[data-theme="light"] .contact-value {
    color: var(--ink);
}
[data-theme="light"] .contact-label {
    color: var(--ink-40);
}
[data-theme="light"] .contact-link {
    color: var(--purple);
}
[data-theme="light"] .contact-link:hover {
    color: #6040D0;
}
[data-theme="light"] .contact-footer {
    border-top-color: rgba(13, 11, 43, 0.10);
}
[data-theme="light"] .contact-footer p {
    color: var(--ink-40);
}
[data-theme="light"] .contact-icon-wrap {
    background: rgba(123, 92, 240, 0.08);
    border-color: rgba(123, 92, 240, 0.20);
}

/* Text overrides so section label / title always read on the dark bg */
.contact-section .section-label {
    color: var(--purple-light);
}
.contact-section .section-label::before {
    background: var(--purple-light);
}
.contact-section .section-title {
    color: var(--white);
}
.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid rgba(123, 92, 240, 0.25);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.04);
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,200,0.7), rgba(155,127,247,0.7), transparent);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(123, 92, 240, 0.10);
    border: 1px solid rgba(123, 92, 240, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-icon {
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 0.15rem;
}

.contact-value {
    font-family: var(--font-main);
    font-size: 0.975rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.contact-link {
    color: rgba(155, 127, 247, 0.95);
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--teal);
    text-decoration: underline;
}

.contact-footer {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.contact-footer p {
    font-family: var(--font-main);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(123, 92, 240, 0.18);
    border: 1px solid rgba(123, 92, 240, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ==========================================
   Mobile Bottom Navigation Bar
   ========================================== */

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(13, 11, 43, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(123, 92, 240, 0.30);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.bottom-nav-tabs {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    height: 60px;
}

.bottom-nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.bottom-nav-tab.active {
    color: var(--white);
}

.bottom-nav-tab.active .bottom-nav-icon svg {
    filter: drop-shadow(0 0 8px rgba(123, 92, 240, 0.70));
}

.bottom-nav-tab:active { opacity: 0.7; }

.bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
}

.bottom-nav-label {
    font-family: var(--font-main);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

/* ==========================================
   Loading Spinner override
   ========================================== */

.loading-spinner {
    border-color: rgba(123, 92, 240, 0.20);
    border-top-color: var(--purple);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1024px) {
    .page-metro-track { left: 24px; }
    .container { margin-left: 60px; }
}

@media (max-width: 768px) {
    .container { margin-left: auto; }
    .page-metro-track { display: none; }
    .bottom-nav { display: block; }

    .App {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    .scroll-indicator { display: none; }

    .hero-stats { gap: 1.5rem; }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .cta-button,
    .cta-button-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .skills-grid { grid-template-columns: 1fr; }
    .education-grid { grid-template-columns: 1fr; }
    .claude-grid { grid-template-columns: 1fr; }

    .contact-card { padding: var(--spacing-md); }

    .claude-hero-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .container { padding: 0 var(--spacing-sm); }
    .experience-card { padding: 1.25rem; }
    .hero-stats { display: none; }
}

/* ==========================================
   Scroll Reveal — Horizontal Variants
   ========================================== */

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delay helpers */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================
   Theme Toggle Button
   ========================================== */

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 950;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 8px 14px;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    line-height: 1;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* ==========================================
   Dark Mode (default) — content sections
   ========================================== */

[data-theme="dark"] body {
    background: var(--navy);
    color: var(--text-on-dark);
}

[data-theme="dark"] .summary-section,
[data-theme="dark"] .experience-section,
[data-theme="dark"] .education-section,
[data-theme="dark"] .contact-section {
    background: #100e30;
}

[data-theme="dark"] .skills-section {
    background: #0e0c28;
}

[data-theme="dark"] .section-label {
    color: var(--purple-light);
}

[data-theme="dark"] .section-label::before {
    background: var(--purple-light);
}

[data-theme="dark"] .section-title {
    color: var(--white);
}

[data-theme="dark"] .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .section-divider {
    background: rgba(255, 255, 255, 0.07);
}

/* Summary */
[data-theme="dark"] .summary-body {
    color: rgba(255, 255, 255, 0.75);
}

/* Experience cards */
[data-theme="dark"] .experience-card {
    background: #1a1650;
    border-color: rgba(123, 92, 240, 0.20);
    border-left-color: var(--purple);
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .experience-card:hover {
    background: #1e1a5a;
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(123, 92, 240, 0.35);
    border-left-color: var(--purple);
}

[data-theme="dark"] .experience-role {
    color: var(--white);
}

[data-theme="dark"] .experience-dates {
    color: rgba(255, 255, 255, 0.38);
}

[data-theme="dark"] .experience-bullets li {
    color: rgba(255, 255, 255, 0.72);
}

/* Skill groups */
[data-theme="dark"] .skill-group {
    background: #1a1650;
    border-color: rgba(123, 92, 240, 0.18);
    border-top-color: var(--purple);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] .skill-group:hover {
    background: #1e1a5a;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .skill-tag {
    background: rgba(123, 92, 240, 0.15);
    border-color: rgba(123, 92, 240, 0.30);
    color: var(--purple-light);
}

[data-theme="dark"] .skill-tag:hover {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
}

/* Education cards */
[data-theme="dark"] .education-card {
    background: #1a1650;
    border-color: rgba(0, 201, 184, 0.15);
    border-top-color: var(--teal);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] .education-card:hover {
    background: #1e1a5a;
    box-shadow: 0 14px 48px rgba(0, 201, 184, 0.18);
}

[data-theme="dark"] .education-school {
    color: var(--white);
}

[data-theme="dark"] .education-degree {
    color: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .education-dates {
    color: rgba(255, 255, 255, 0.38);
}

[data-theme="dark"] .education-details li {
    color: rgba(255, 255, 255, 0.55);
}


/* Metro track */
[data-theme="dark"] .page-stop-label {
    background: #1a1650;
    border-color: rgba(123, 92, 240, 0.30);
}

[data-theme="dark"] .page-stop-name {
    color: var(--white);
}

[data-theme="dark"] .page-stop-subtitle {
    color: rgba(255, 255, 255, 0.40);
}

/* ==========================================
   Light Mode Theme
   ========================================== */

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] {
    --navy: #F0EEF8;
    --navy-mid: #E8E3F5;
    --navy-card: #FFFFFF;
    --ink: #0D0B2B;
    --yellow: #E6A800;
}

[data-theme="light"] body {
    background: #F5F3FC;
    color: var(--ink);
}

/* Hero — light mode */
[data-theme="light"] .hero {
    background: linear-gradient(
        180deg,
        #B8D4F8 0%,
        #D4E8FF 30%,
        #E8F2FF 60%,
        #F0EEF8 100%
    );
}

[data-theme="light"] .hero::before {
    opacity: 0;
}

[data-theme="light"] .hero-title {
    color: #1a0a3d;
    text-shadow: 0 2px 20px rgba(100, 80, 200, 0.15);
}

[data-theme="light"] .hero-title-accent {
    color: #7B3F00;
    text-shadow: 0 2px 16px rgba(123, 63, 0, 0.20);
}

[data-theme="light"] .hero-eyebrow {
    color: rgba(13, 11, 43, 0.7);
}

[data-theme="light"] .hero-eyebrow::before,
[data-theme="light"] .hero-eyebrow::after {
    background: rgba(13, 11, 43, 0.4);
}

[data-theme="light"] .hero-location {
    color: rgba(13, 11, 43, 0.7);
}

[data-theme="light"] .hero-subtitle {
    color: rgba(13, 11, 43, 0.75);
}

[data-theme="light"] .hero-summary {
    color: rgba(13, 11, 43, 0.72);
}

[data-theme="light"] .hero-moon {
    background: radial-gradient(circle at 38% 38%, #fffde0 0%, #FFD93D 45%, #FFA500 100%);
    /* remove the crescent inset shadow — it's a full sun */
    box-shadow:
        inset 0 0 0 0 transparent,
        0 0 40px 18px rgba(255, 210, 0, 0.60),
        0 0 90px 40px rgba(255, 170, 0, 0.35),
        0 0 160px 70px rgba(255, 130, 0, 0.18);
}

[data-theme="light"] .hero-cloud {
    fill: rgba(255, 255, 255, 0.65);
    stroke: rgba(100, 150, 220, 0.3);
}

[data-theme="light"] .hero-radial-burst {
    filter: hue-rotate(180deg) saturate(0.4) brightness(1.2);
    opacity: 0.5;
}

[data-theme="light"] .resume-hero-background::before {
    background: radial-gradient(circle, rgba(100, 150, 240, 0.20) 0%, transparent 65%);
}

[data-theme="light"] .resume-hero-background::after {
    background: radial-gradient(circle, rgba(0, 180, 220, 0.15) 0%, transparent 65%);
}

[data-theme="light"] .hero-blob-yellow {
    background: #FFE082;
    opacity: 0.35;
}

[data-theme="light"] .hero-blob-pink {
    background: #F8BBD9;
    opacity: 0.30;
}

[data-theme="light"] .scroll-indicator span {
    color: rgba(13, 11, 43, 0.45);
}

[data-theme="light"] .cta-button-secondary {
    color: #1a0a3d;
    border-color: rgba(13, 11, 43, 0.30);
}

[data-theme="light"] .cta-button-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: rgba(123, 92, 240, 0.08);
}

/* Light mode section backgrounds */
[data-theme="light"] .summary-section,
[data-theme="light"] .experience-section,
[data-theme="light"] .education-section {
    background: #FFFFFF;
}

[data-theme="light"] .skills-section {
    background: var(--yellow-cream);
}

/* Light mode section text */
[data-theme="light"] .section-label {
    color: var(--purple);
}

[data-theme="light"] .section-label::before {
    background: var(--purple);
}

[data-theme="light"] .section-title {
    color: var(--ink);
}

[data-theme="light"] .section-subtitle {
    color: var(--ink-60);
}

[data-theme="light"] .section-divider {
    background: rgba(13, 11, 43, 0.08);
}

/* Light mode summary */
[data-theme="light"] .summary-body {
    color: var(--ink-80);
}

/* Light mode experience */
[data-theme="light"] .experience-card {
    background: var(--white);
    border-color: var(--ink-10);
    border-left-color: var(--purple);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .experience-card:hover {
    box-shadow: var(--shadow-hover);
}

[data-theme="light"] .experience-role {
    color: var(--ink);
}

[data-theme="light"] .experience-dates {
    color: var(--ink-40);
}

[data-theme="light"] .experience-bullets li {
    color: var(--ink-80);
}

/* Light mode skills */
[data-theme="light"] .skill-group {
    background: var(--white);
    border-color: rgba(123, 92, 240, 0.10);
    border-top-color: var(--purple);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .skill-tag {
    background: rgba(123, 92, 240, 0.07);
    border-color: rgba(123, 92, 240, 0.18);
    color: var(--purple);
}

[data-theme="light"] .skill-tag:hover {
    background: var(--purple);
    color: var(--white);
}

/* Light mode education */
[data-theme="light"] .education-card {
    background: var(--white);
    border-color: var(--ink-10);
    border-top-color: var(--teal);
    box-shadow: var(--shadow-teal);
}

[data-theme="light"] .education-school {
    color: var(--ink);
}

[data-theme="light"] .education-degree {
    color: var(--ink-80);
}

[data-theme="light"] .education-dates {
    color: var(--ink-40);
}

[data-theme="light"] .education-details li {
    color: var(--ink-60);
}


/* claude-section stays dark in both modes */
[data-theme="light"] .claude-section {
    background: #1a0a3d;
}

/* Light mode metro track */
[data-theme="light"] .page-track-line {
    background: rgba(123, 92, 240, 0.30);
}

[data-theme="light"] .page-stop-node {
    background: var(--white);
    border-color: rgba(123, 92, 240, 0.50);
}

[data-theme="light"] .page-stop-label {
    background: var(--white);
    border-color: rgba(123, 92, 240, 0.20);
}

[data-theme="light"] .page-stop-name {
    color: var(--ink);
}

/* Light mode bottom nav */
[data-theme="light"] .bottom-nav {
    background: rgba(240, 238, 248, 0.97);
    border-top: 1px solid rgba(123, 92, 240, 0.20);
}

[data-theme="light"] .bottom-nav-tab {
    color: rgba(13, 11, 43, 0.4);
}

[data-theme="light"] .bottom-nav-tab.active {
    color: var(--purple);
}
