:root {
  color-scheme: dark;
  --bg: #19171c;
  --surface: #211f25;
  --surface-container: #2a272e;
  --surface-high: #353039;
  --text: #eee5ed;
  --muted: #cbbfc9;
  --pink: #f4afcf;
  --on-primary: #481d34;
  --primary-container: #62334b;
  --line: #51434e;
  --radius: 24px;
  --shadow: 0 4px 16px #100d1429;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--scroll-offset, 104px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Roboto, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a, button { transition: background-color 180ms, color 180ms, box-shadow 180ms; }
.material-icon { display: inline-block; flex-shrink: 0; fill: currentColor; vertical-align: -4px; }
a:hover { color: var(--pink); }
a:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
::selection { background: var(--pink); color: var(--on-primary); }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); box-shadow: 0 1px 0 #51434e66; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; min-height: 48px; color: var(--text); font-size: 28px; font-weight: 700; letter-spacing: -1px; flex-shrink: 0; }
.wordmark span { color: var(--pink); }
.wordmark:hover { color: var(--text); }
nav { display: flex; gap: 4px; }
nav a { padding: 10px 20px; border-radius: 24px; font-size: 14px; font-weight: 500; color: var(--muted); min-height: 44px; }
nav a:hover { background: var(--surface-high); }
nav a[aria-current="location"] { background: var(--primary-container); color: #ffdaea; }
p { margin: 0 0 20px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1 { font-size: clamp(48px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -2.3px; }
h1 .accent { display: block; font-size: clamp(23px, 2.7vw, 34px); line-height: 1.3; letter-spacing: -.6px; margin-top: 22px; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; letter-spacing: -.7px; margin-bottom: 24px; }
h3 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
.accent { color: var(--pink); }
.muted { color: var(--muted); }
.eyebrow { color: var(--pink); font-size: 11px; font-weight: 600; letter-spacing: 1.6px; margin-bottom: 24px; }
.hero { margin-top: 32px; background: var(--surface); border-radius: 32px; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 560px; }
.hero-copy { padding: 52px 20px 40px 48px; align-self: center; position: relative; z-index: 1; }
.intro { font-size: 17px; color: var(--muted); margin-bottom: 20px; }
.hero-description { font-size: 16px; color: var(--muted); max-width: 500px; margin: 24px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 22px; font-size: 14px; font-weight: 600; }
.primary { background: var(--pink); color: var(--on-primary); }
.primary:hover { background: #ffc4df; color: var(--on-primary); box-shadow: var(--shadow); }
.secondary { border: 1px solid #9d8b98; color: var(--pink); }
.secondary:hover { background: #f4afcf14; }
.hero-portrait { width: min(300px, calc(100% - 48px)); min-width: 0; align-self: center; justify-self: center; margin-block: 32px; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 6 / 7; border-radius: 24px; border: 1px solid var(--line); background: var(--surface-container); box-shadow: var(--shadow); }
.hero-portrait img { display: block; width: 145%; max-width: none; height: auto; position: absolute; left: 50%; top: -2%; transform: translateX(-50%); }
.portrait-caption { display: flex; align-items: center; gap: 12px; font-size: 15px; margin-top: 18px; padding-inline: 4px; }
.portrait-caption small { display: block; font-size: 11px; color: var(--muted); }
.portrait-mark { border-radius: 50%; background: var(--primary-container); color: #ffdaea; width: 44px; height: 44px; display: grid; place-items: center; font-size: 13px; }
.hero-footer { padding: 20px 48px; background: var(--surface-container); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
.hero-footer strong { color: var(--text); font-weight: 500; }
.hero-footer a span { margin-left: 12px; color: var(--pink); }
.section { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 64px; padding-block: 56px; border-bottom: 1px solid var(--line); }
.section h2 { font-size: 22px; line-height: 1.4; letter-spacing: 0; margin: 0 0 20px; }
.section-content { max-width: 740px; color: var(--muted); }
.section-content p:last-child { margin-bottom: 0; }
.lead { color: var(--text); font-size: 20px; line-height: 1.6; }
.skills-list { margin: 0; }
.skills-list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-block: 16px; border-bottom: 1px solid #51434e80; }
.skills-list > div:first-child { padding-top: 0; }
.skills-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.skills-list dt { color: var(--text); font-size: 15px; font-weight: 500; }
.skills-list dd { color: var(--muted); font-size: 15px; margin: 0; }
.text-link { color: var(--pink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; display: inline-block; padding-block: 10px; font-size: 15px; overflow-wrap: anywhere; }
.text-link:hover { color: var(--text); }
.job { padding-block: 28px; border-bottom: 1px solid #51434e80; }
.job:first-child { padding-top: 0; }
.job:last-child { padding-bottom: 0; border-bottom: 0; }
.job-meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.job h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.job .date { font-size: 13px; margin-bottom: 20px; }
.job p { color: var(--muted); font-size: 15px; margin-bottom: 12px; max-width: 740px; }
.job p:last-child { margin-bottom: 0; }
.certifications-list { padding: 0; margin: 0; list-style: none; color: var(--muted); }
.certifications-list li + li { margin-top: 12px; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.contact-details .text-link:first-child { padding-top: 0; }
.contact-details p { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; font-size: 12px; color: var(--muted); align-items: center; }
.footer a { padding-block: 12px; text-decoration: underline; text-underline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; background: var(--pink); color: var(--on-primary); padding: 12px 24px; border-radius: 24px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .hero-copy { padding: 36px 16px 36px 32px; }
  .hero-layout { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 12px; min-height: 72px; }
  nav a { padding: 10px 12px; font-size: 12px; }
  .wordmark { min-height: 44px; font-size: 24px; }
  .hero { margin-top: 20px; border-radius: 24px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 24px; }
  h1 { font-size: clamp(44px, 9vw, 64px); }
  .hero-portrait { width: min(260px, calc(100% - 48px)); margin: 0 0 32px; }
  .hero-footer { padding: 20px 24px; }
  .section { grid-template-columns: 1fr; gap: 12px; padding-block: 36px; }
  .skills-list > div { grid-template-columns: 1fr; gap: 6px; }
  .section-heading .text-link { margin-bottom: 16px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 390px) {
  .header-inner { flex-wrap: wrap; justify-content: center; padding-block: 12px; gap: 8px; }
  nav { width: 100%; justify-content: center; }
  .hero-copy { padding-inline: 20px; }
  .hero-footer { flex-direction: column; gap: 8px; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .intro { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
