/* ================================================
   PRIT DUDHIA — PORTFOLIO
   Nike-Inspired Editorial Design System
   ================================================ */

/* ---------- SPLASH SCREEN ---------- */
.splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.splash.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.splash-line {
    overflow: hidden;
}

.splash-line span {
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #f0f0f0;
    transform: translateY(110%);
    animation: splashLineUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-line-1 span {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    color: #888;
    animation-delay: 0.3s;
}

.splash-line-2 span {
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 1;
    animation-delay: 0.5s;
}

.splash-line-3 span {
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 1;
}

.splash-line-3 .splash-highlight {
    animation-delay: 0.65s;
}

.splash-line-3 .splash-q {
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(4rem, 12vw, 10rem);
    color: #c9f31d;
    transform: translateY(110%);
    animation: splashLineUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.splash-highlight {
    color: #f0f0f0;
    -webkit-text-stroke: 2px #f0f0f0;
}

.splash-line-2 .splash-highlight {
    color: transparent;
    -webkit-text-stroke: 2px #f0f0f0;
}

@keyframes splashLineUp {
    0% { transform: translateY(110%); }
    100% { transform: translateY(0); }
}

/* Splash enter button */
.splash-enter {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    opacity: 0;
    animation: splashFadeIn 0.6s ease 1.2s forwards;
    transition: all 0.3s;
}

.splash-enter span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #888;
    transition: color 0.3s;
}

.splash-enter:hover span {
    color: #c9f31d;
}

.splash-arrow-wrap {
    width: 50px;
    height: 50px;
    border: 1.5px solid #888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-enter:hover .splash-arrow-wrap {
    background: #c9f31d;
    border-color: #c9f31d;
    color: #0a0a0a;
    transform: translateX(5px);
}

@keyframes splashFadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Splash counter */
.splash-counter {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
    font-family: 'Syne', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    z-index: 1;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Splash bg lines */
.splash-bg-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.splash-bg-lines span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.04);
}

.splash-bg-lines span:nth-child(1) { left: 20%; }
.splash-bg-lines span:nth-child(2) { left: 40%; }
.splash-bg-lines span:nth-child(3) { left: 50%; }
.splash-bg-lines span:nth-child(4) { left: 60%; }
.splash-bg-lines span:nth-child(5) { left: 80%; }

/* When splash is active, hide everything behind */
body.splash-active .social-sidebar,
body.splash-active .nav,
body.splash-active .hero,
body.splash-active .marquee-strip,
body.splash-active .section,
body.splash-active .section-contact,
body.splash-active .footer,
body.splash-active .cursor-dot,
body.splash-active .cursor-outline,
body.splash-active .scroll-top {
    opacity: 0;
    pointer-events: none;
}

/* Reveal animation when splash exits */
body.splash-exit .social-sidebar,
body.splash-exit .nav,
body.splash-exit .hero,
body.splash-exit .marquee-strip,
body.splash-exit .section,
body.splash-exit .section-contact,
body.splash-exit .footer {
    animation: mainReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.splash-exit .nav { animation-delay: 0s; }
body.splash-exit .hero { animation-delay: 0.1s; }
body.splash-exit .social-sidebar { animation-delay: 0.2s; }

@keyframes mainReveal {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------- RESET ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- CSS VARIABLES ---------- */
:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-elevated: #1a1a1a;
    --text: #f0f0f0;
    --text-muted: #888888;
    --accent: #c9f31d;
    --accent-hover: #deff59;
    --accent-dark: #9abf00;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- LIGHT THEME ---------- */
[data-theme="light"] {
    --bg: #f5f5f0;
    --bg-alt: #eaeae5;
    --bg-elevated: #ffffff;
    --text: #111111;
    --text-muted: #666666;
    --accent: #111111;
    --accent-hover: #333333;
    --accent-dark: #000000;
    --border: rgba(0, 0, 0, 0.07);
    --border-strong: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .name-stroke {
    -webkit-text-stroke-color: #111;
}

[data-theme="light"] .hero-bg-text,
[data-theme="light"] .contact-bg-text {
    color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .marquee-strip {
    background: #111;
    color: #f0f0f0;
}

[data-theme="light"] .project-row:hover {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .btn-solid {
    background: #111;
    color: #f0f0f0;
}

[data-theme="light"] .btn-solid:hover {
    background: #333;
}

[data-theme="light"] .btn-outline {
    border-color: #111;
    color: #111;
}

[data-theme="light"] .btn-outline:hover {
    background: #111;
    color: #f0f0f0;
}

[data-theme="light"] .section-contact {
    background: #111;
    color: #f0f0f0;
}

[data-theme="light"] .section-contact .contact-heading,
[data-theme="light"] .section-contact .contact-sub,
[data-theme="light"] .section-contact .contact-social {
    color: #f0f0f0;
}

[data-theme="light"] .section-contact .accent-text {
    color: #c9f31d;
}

[data-theme="light"] .section-contact .btn-solid {
    background: #c9f31d;
    color: #111;
}

[data-theme="light"] .footer {
    background: #111;
    color: #888;
}

[data-theme="light"] .social-sidebar a {
    color: #111;
}

[data-theme="light"] .course-card {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
}

[data-theme="light"] .cursor-dot,
[data-theme="light"] .cursor-outline {
    display: none;
}

/* ---------- TYPOGRAPHY ---------- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
    opacity: 0.5;
}

.cursor-hover .cursor-dot {
    width: 60px;
    height: 60px;
    background: rgba(201, 243, 29, 0.15);
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    opacity: 0;
}

/* ---------- SOCIAL SIDEBAR ---------- */
.social-sidebar {
    position: fixed;
    left: 2rem;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    z-index: 100;
}

.social-sidebar a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-sidebar a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.sidebar-line {
    width: 1px;
    height: 80px;
    background: var(--text-muted);
    margin-top: 0.5rem;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 2rem;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 var(--border);
}

[data-theme="light"] .nav.scrolled {
    background: rgba(245, 245, 240, 0.85);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--text);
    transition: color 0.3s;
}

.accent-dot {
    color: var(--accent);
}

[data-theme="light"] .accent-dot {
    color: #c9f31d;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.theme-toggle:hover {
    color: var(--accent);
    transform: rotate(30deg);
}

/* Theme toggle attention animation */
.theme-toggle.attract {
    animation: toggleBounce 2s ease-in-out 3;
}

.theme-toggle.attract::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: togglePulseRing 2s ease-in-out 3;
    pointer-events: none;
}

.theme-toggle.attract::after {
    content: 'Try me!';
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0a0a0a;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    animation: toggleTooltipIn 0.4s ease 0.8s forwards, toggleTooltipOut 0.4s ease 5.5s forwards;
    pointer-events: none;
}

@keyframes toggleBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(1.3) rotate(-15deg); }
    30% { transform: scale(1) rotate(10deg); }
    45% { transform: scale(1.15) rotate(-5deg); }
    60% { transform: scale(1) rotate(0deg); }
}

@keyframes togglePulseRing {
    0% { transform: scale(1); opacity: 0; }
    15% { transform: scale(1.1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes toggleTooltipIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(5px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toggleTooltipOut {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(5px); }
}

.theme-toggle .light-icon { display: none; }
.theme-toggle .dark-icon { display: block; }

[data-theme="light"] .theme-toggle .light-icon { display: block; }
[data-theme="light"] .theme-toggle .dark-icon { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-link:hover {
    color: var(--accent);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 22rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.05em;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-name {
    margin-bottom: 1.5rem;
}

.name-line {
    display: block;
    font-size: clamp(4rem, 13vw, 12rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.name-filled {
    color: var(--text);
    transition: color 0.4s;
}

.name-stroke {
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
    transition: all 0.6s var(--ease);
}

.name-stroke:hover {
    color: var(--accent);
    -webkit-text-stroke-color: var(--accent);
}

[data-theme="light"] .name-stroke:hover {
    color: #c9f31d;
    -webkit-text-stroke-color: #c9f31d;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-solid:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 243, 29, 0.2);
}

.btn-large {
    padding: 1.3rem 3.5rem;
    font-size: 1rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1.5px solid var(--text);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-outline:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-2px);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ---------- MARQUEE STRIP ---------- */
.marquee-strip {
    background: var(--accent);
    color: var(--bg);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

[data-theme="light"] .marquee-strip {
    color: #f0f0f0;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 8rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--bg-alt);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.section-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--border-strong);
    line-height: 1;
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 580px;
}

.about-stats {
    display: flex;
    gap: 3rem;
}

.stat-block {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

[data-theme="light"] .stat-number {
    color: #111;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-details {
    display: flex;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.detail-group {
    flex: 1;
}

.detail-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
}

[data-theme="light"] .detail-title {
    color: #111;
}

.detail-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    transition: all 0.3s;
}

.tag:hover {
    border-color: var(--accent);
    color: var(--text);
}

.detail-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- EDUCATION (About section) ---------- */
.about-education {
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.education-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.education-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s var(--ease);
}

.education-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

[data-theme="light"] .education-card {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .education-card:hover {
    background: rgba(0, 0, 0, 0.05);
}

.education-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: #fff;
}

.education-logo img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
}

.education-info {
    min-width: 0;
}

.education-degree {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.education-school {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ---------- PROJECTS ---------- */
.project-list {
    border-top: 1px solid var(--border);
}

.project-row {
    display: grid;
    grid-template-columns: 60px 1fr 50px;
    gap: 2rem;
    align-items: center;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    cursor: pointer;
    text-decoration: none;
}

.project-row:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 2.5rem;
}

.project-idx {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-name {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
    transition: color 0.3s;
}

.project-row:hover .project-name {
    color: var(--accent);
}

[data-theme="light"] .project-row:hover .project-name {
    color: #c9f31d;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.project-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.8rem;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.project-row:hover .project-tags span {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="light"] .project-row:hover .project-tags span {
    border-color: #aaa;
    color: #555;
}

.project-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.4s var(--ease);
    justify-self: end;
}

.project-row:hover .project-arrow {
    color: var(--accent);
    transform: translateX(8px);
}

/* ---------- COURSE PROJECTS ---------- */
.course-scroll {
    overflow-x: auto;
    padding-bottom: 1rem;
    margin: 0 -2rem;
    padding: 0 2rem 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.course-scroll::-webkit-scrollbar {
    height: 4px;
}

.course-scroll::-webkit-scrollbar-track {
    background: var(--border);
}

.course-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
}

.course-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.course-card {
    width: 280px;
    flex-shrink: 0;
    padding: 2rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s var(--ease);
}

.course-card:hover::before {
    height: 100%;
}

.course-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.course-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.course-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---------- SKILLS MARQUEE ---------- */
.skills-marquee {
    overflow: hidden;
    padding: 2rem 0;
}

.skills-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: skillsScroll 25s linear infinite;
    width: max-content;
    padding: 1.5rem 0;
}

.skills-track-reverse {
    animation: skillsScrollReverse 20s linear infinite;
}

.skill-word {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    padding: 0 1rem;
    transition: all 0.3s;
    cursor: default;
    flex-shrink: 0;
}

.skill-word:hover {
    color: var(--accent);
    -webkit-text-stroke-color: var(--accent);
}

[data-theme="light"] .skill-word:hover {
    color: #c9f31d;
    -webkit-text-stroke-color: #c9f31d;
}

.skill-sep {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--border-strong);
    padding: 0 0.5rem;
    flex-shrink: 0;
}

@keyframes skillsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes skillsScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ---------- RESEARCH ---------- */
.research-list {
    border-top: 1px solid var(--border);
}

.research-row {
    display: grid;
    grid-template-columns: 60px 50px 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.8rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.research-row:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 2rem;
}

[data-theme="light"] .research-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.research-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.research-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

[data-theme="light"] .research-icon {
    color: #111;
}

.research-row:hover .research-icon {
    transform: scale(1.2);
}

.research-row p {
    font-size: 1.05rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.research-row:hover p {
    color: var(--text);
}

/* ---------- ACHIEVEMENTS ---------- */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.achievement-item {
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s var(--ease);
    cursor: default;
}

.achievement-item:hover {
    background: rgba(201, 243, 29, 0.03);
}

[data-theme="light"] .achievement-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.achievement-icon {
    font-size: 1.8rem;
    color: var(--accent);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    transition: all 0.3s;
}

[data-theme="light"] .achievement-icon {
    color: #111;
}

.achievement-item:hover .achievement-icon {
    border-color: var(--accent);
    background: rgba(201, 243, 29, 0.1);
}

[data-theme="light"] .achievement-item:hover .achievement-icon {
    border-color: #111;
    background: rgba(0, 0, 0, 0.06);
}

.achievement-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 0.5rem;
    transition: color 0.3s;
}

.achievement-item:hover p {
    color: var(--text);
}

/* ---------- EXPERIENCE TIMELINE ---------- */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-strong);
}

.timeline-item {
    position: relative;
    padding-bottom: 3.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent);
    background: var(--bg);
    transform: translateX(-50%) rotate(45deg);
    transition: all 0.3s;
    z-index: 1;
}

[data-theme="light"] .timeline-dot {
    background: var(--bg);
    border-color: #111;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    transform: translateX(-50%) rotate(45deg) scale(1.3);
}

.timeline-content {
    transition: all 0.3s;
    overflow: hidden;
    min-width: 0;
}

.timeline-header {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

/* Company Logo */
.company-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    background: #fff;
    border-radius: 11px;
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 1px;
    background: rgba(201, 243, 29, 0.08);
}

[data-theme="light"] .logo-fallback {
    color: #111;
    background: rgba(0, 0, 0, 0.05);
}

.timeline-item:hover .company-logo {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(201, 243, 29, 0.15);
}

[data-theme="light"] .timeline-item:hover .company-logo {
    border-color: #111;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.company {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.5px;
}

.role-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 1rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    align-self: flex-start;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

[data-theme="light"] .role-tag {
    border-color: #111;
    color: #111;
}

.timeline-img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    margin: 1rem 0;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.timeline-item:hover .timeline-img {
    filter: grayscale(0%);
}

.timeline-details {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.timeline-details li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.timeline-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

[data-theme="light"] .timeline-details li::before {
    color: #111;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.8rem;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.timeline-tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="light"] .timeline-tags span:hover {
    border-color: #111;
    color: #111;
}

/* ---------- CONTACT ---------- */
.section-contact {
    background: var(--bg-alt);
    padding: 10rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 20rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.contact-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.accent-text {
    color: var(--accent);
}

[data-theme="light"] .section-contact .accent-text {
    color: #c9f31d;
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.contact-social {
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.contact-social span {
    display: block;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-social-links a {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.contact-social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

[data-theme="light"] .contact-social-links a {
    color: #aaa;
}

[data-theme="light"] .contact-social-links a:hover {
    color: #c9f31d;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg);
    padding: 2rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.project-row.reveal:nth-child(2) { transition-delay: 0.05s; }
.project-row.reveal:nth-child(3) { transition-delay: 0.1s; }
.project-row.reveal:nth-child(4) { transition-delay: 0.15s; }
.project-row.reveal:nth-child(5) { transition-delay: 0.2s; }
.project-row.reveal:nth-child(6) { transition-delay: 0.25s; }
.project-row.reveal:nth-child(7) { transition-delay: 0.3s; }
.project-row.reveal:nth-child(8) { transition-delay: 0.35s; }

.achievement-item.reveal:nth-child(2) { transition-delay: 0.05s; }
.achievement-item.reveal:nth-child(3) { transition-delay: 0.1s; }
.achievement-item.reveal:nth-child(4) { transition-delay: 0.15s; }
.achievement-item.reveal:nth-child(5) { transition-delay: 0.2s; }
.achievement-item.reveal:nth-child(6) { transition-delay: 0.25s; }
.achievement-item.reveal:nth-child(7) { transition-delay: 0.3s; }
.achievement-item.reveal:nth-child(8) { transition-delay: 0.35s; }

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 243, 29, 0.3);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-details {
        flex-direction: column;
        gap: 2rem;
    }

    .education-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .project-desc {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .social-sidebar {
        display: none;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .section-header {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 3rem;
    }

    .section-num {
        font-size: 2.5rem;
    }

    .project-row {
        grid-template-columns: 40px 1fr 30px;
        gap: 1rem;
        padding: 1.5rem 0.5rem;
    }

    .project-row:hover {
        padding-left: 1rem;
    }

    .research-row {
        grid-template-columns: 40px 40px 1fr;
        gap: 1rem;
        padding: 1.2rem 0.5rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -2rem;
    }

    .section-contact {
        padding: 6rem 1.5rem;
    }

    .contact-heading {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }

    .splash-counter {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    .splash-content {
        padding: 0 1rem;
    }

    .splash-line-2 span,
    .splash-line-3 span,
    .splash-line-3 .splash-q {
        font-size: clamp(2.8rem, 11vw, 5rem);
        letter-spacing: 1px;
    }

    .splash-line-1 span {
        font-size: clamp(0.75rem, 2.5vw, 1rem);
        letter-spacing: 1.5px;
    }

    .splash-counter {
        font-size: clamp(3rem, 8vw, 5rem);
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .hero {
        padding: 4rem 1rem 2rem;
    }

    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-solid,
    .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section {
        padding: 4rem 1rem;
    }

    .about-stats {
        gap: 2rem;
    }

    .project-row {
        grid-template-columns: 1fr 30px;
        gap: 0.5rem;
        padding: 1.2rem 0.5rem;
    }

    .project-row:hover {
        padding-left: 0.8rem;
    }

    .project-idx {
        display: none;
    }

    .project-name {
        font-size: 1.1rem;
    }

    .project-desc {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .project-tags {
        gap: 0.4rem;
    }

    .project-tags span {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .research-row {
        grid-template-columns: 40px 1fr;
        gap: 0.8rem;
    }

    .research-num {
        font-size: 0.75rem;
    }

    .research-icon {
        display: none;
    }

    .research-row p {
        font-size: 0.9rem;
    }

    .achievement-item {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .achievement-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .achievement-item p {
        font-size: 0.85rem;
    }

    .company {
        font-size: 1rem;
        word-break: break-word;
    }

    .company-logo {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .company-logo img {
        padding: 4px;
        border-radius: 9px;
    }

    .role-tag {
        font-size: 0.65rem;
        letter-spacing: 1px;
        padding: 0.2rem 0.7rem;
        word-break: break-word;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-dot {
        left: -1.5rem;
        width: 10px;
        height: 10px;
    }

    .timeline-header {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .timeline-details li {
        font-size: 0.85rem;
        padding-left: 1.2rem;
    }

    .timeline-tags {
        gap: 0.4rem;
    }

    .timeline-tags span {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .timeline-img {
        max-height: 160px;
    }

    .contact-heading {
        font-size: 2.2rem;
    }

    .contact-sub {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 1rem 2.5rem;
        font-size: 0.85rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .mobile-link {
        font-size: 1.8rem;
    }

    .course-card {
        width: 240px;
        padding: 1.5rem;
    }

    .course-card h4 {
        font-size: 1rem;
    }

    .course-card p {
        font-size: 0.8rem;
    }

    .splash-content {
        padding: 0 1rem;
    }

    .splash-enter {
        margin-top: 2rem;
    }

    .splash-counter {
        right: 1rem;
        bottom: 1rem;
        font-size: clamp(3rem, 8vw, 6rem);
    }

    .section-contact {
        padding: 5rem 1rem;
    }
}

@media (max-width: 400px) {
    .splash-line-2 span,
    .splash-line-3 span,
    .splash-line-3 .splash-q {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        letter-spacing: 0px;
    }

    .splash-line-1 span {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .name-line {
        font-size: 3.2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .company {
        font-size: 0.9rem;
    }

    .timeline-header {
        gap: 0.6rem;
    }

    .company-logo {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .company-logo img {
        padding: 3px;
        border-radius: 7px;
    }

    .contact-heading {
        font-size: 1.8rem;
    }

    .project-name {
        font-size: 0.95rem;
    }

    .course-card {
        width: 210px;
        padding: 1.2rem;
    }
}

/* ---------- SELECTION ---------- */
::selection {
    background: var(--accent);
    color: var(--bg);
}

/* ---------- FOCUS VISIBLE ---------- */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
