@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
    color-scheme: light;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --ink: #111827;
    --muted: #526075;
    --accent: #2058d4;
    --line: #dce3ed;
    --soft: #edf3ff;
    --header: rgba(247, 249, 252, .96);
    --button-bg: #2058d4;
    --button-hover: #1945bf;
    --on-button: #ffffff;
}
[data-theme="dark"] {
    color-scheme: dark;
    --bg: #000000;
    --surface: #0c0c0f;
    --ink: #ffffff;
    --muted: #b5b8c2;
    --accent: #4b8eeb;
    --line: #27272f;
    --soft: #101a2c;
    --header: rgba(0, 0, 0, .96);
    --button-bg: #2058d4;
    --button-hover: #3074e0;
    --on-button: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.25; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 750; letter-spacing: -1.5px; margin-bottom: 14px; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.5px; }
main section { max-width: 1120px; margin: 0 auto; padding: 96px 32px; scroll-margin-top: 86px; }
main section + section { border-top: 1px solid var(--line); }
.experience-intro, .projects-intro, .skills-intro, .contact-intro { color: var(--muted); margin-bottom: 42px; }
.section-label, .eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 2000; padding: 10px 20px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }
@media (max-width: 640px) { main section { padding: 64px 24px; scroll-margin-top: 118px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
