:root {
  --ink: #101828;
  --text: #344054;
  --muted: #667085;
  --line: #d0d5dd;
  --soft: #f5f7fa;
  --blue: #2563eb;
  --white: #ffffff;
  --container: min(1080px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; }

.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { color: var(--ink); font-size: 22px; font-weight: 800; }
.logo span { color: var(--blue); }
nav { display: flex; gap: 25px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--blue); }

.hero { min-height: 660px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 70px; padding: 70px 0; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; color: var(--ink); font-size: clamp(52px, 7vw, 80px); line-height: 1; letter-spacing: -.055em; }
.hero h2 { margin: 18px 0 12px; color: var(--blue); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; }
.actions { display: flex; gap: 12px; margin-top: 30px; }
.button { display: inline-block; border-radius: 6px; padding: 12px 18px; font-size: 14px; font-weight: 700; }
.button.primary { background: var(--blue); color: white; border: 1px solid var(--blue); }
.button.secondary { color: var(--ink); border: 1px solid var(--line); }
.button:hover { opacity: .88; }
.quick-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.quick-info li { display: flex; flex-direction: column; }
.quick-info strong { color: var(--ink); font-size: 12px; text-transform: uppercase; }
.quick-info span { color: var(--muted); font-size: 14px; }

.photo-placeholder { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px; text-align: center; background: var(--soft); border: 2px dashed #98a2b3; border-radius: 10px; }
.photo-placeholder strong { margin-top: 22px; color: var(--ink); font-size: 18px; }
.person-icon { width: 110px; height: 110px; position: relative; overflow: hidden; background: #e4e7ec; border-radius: 50%; }
.person-icon span { position: absolute; top: 20px; left: 36px; width: 38px; height: 38px; background: #98a2b3; border-radius: 50%; }
.person-icon i { position: absolute; bottom: -2px; left: 18px; width: 74px; height: 53px; background: #98a2b3; border-radius: 50% 50% 0 0; }

.section { padding: 95px 0; }
.muted-section { background: var(--soft); }
.two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.section-title h2, .cv-box h2 { margin: 0; color: var(--ink); font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -.045em; }
.section-title.narrow { max-width: 730px; }
.about-text > p { margin: 0 0 20px; font-size: 17px; }
.about-text strong { color: var(--ink); }
.role-box { margin-top: 34px; padding: 24px; background: white; border-left: 4px solid var(--blue); }
.role-box span { color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.role-box h3 { margin: 7px 0 0; color: var(--ink); font-size: 22px; }
.role-box p { margin: 2px 0 0; color: var(--muted); }

.skill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 38px 0 0; padding: 0; list-style: none; }
.skill-list li { padding: 9px 14px; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.projects { margin-top: 50px; border-top: 1px solid var(--ink); }
.projects article { min-height: 190px; display: grid; grid-template-columns: 1fr 170px; gap: 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.projects h3 { margin: 0 0 7px; color: var(--ink); font-size: 27px; letter-spacing: -.03em; }
.projects p { max-width: 690px; margin: 0; color: var(--muted); }
.projects article > a, .private { justify-self: end; color: var(--blue); font-size: 13px; font-weight: 700; }
.projects article > a:hover { text-decoration: underline; }
.private { color: var(--muted); }

.cv-box { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 45px; color: white; background: var(--blue); border-radius: 10px; }
.cv-box .eyebrow { color: #dbeafe; }
.cv-box h2 { color: white; }
.cv-box > div > p:last-child { max-width: 690px; margin: 18px 0 0; color: #dbeafe; }
.cv-status { padding: 11px 16px; border: 1px solid #bfdbfe; border-radius: 6px; color: #dbeafe; font-size: 14px; font-weight: 700; }

.contact-section { border-top: 1px solid var(--line); }
.social-links { border-top: 1px solid var(--ink); }
.social-links a { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.social-links span { color: var(--muted); }
.social-links strong { color: var(--ink); }
.social-links a:hover strong { color: var(--blue); }

footer { background: var(--ink); color: white; }
.footer-inner { min-height: 125px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-inner p { margin: 0; font-size: 14px; }
.footer-inner p:nth-child(2) { justify-self: center; color: #98a2b3; }
.footer-inner span { color: #98a2b3; }
.footer-inner a { justify-self: end; color: #98a2b3; font-size: 13px; }

@media (max-width: 850px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .photo-placeholder { max-width: 480px; }
  .two-column { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 580px) {
  :root { --container: calc(100% - 28px); }
  .hero { padding: 55px 0 75px; gap: 50px; }
  h1 { font-size: 14vw; }
  .actions { flex-direction: column; }
  .button { text-align: center; }
  .quick-info { grid-template-columns: 1fr; gap: 15px; }
  .section { padding: 75px 0; }
  .projects article { grid-template-columns: 1fr; gap: 12px; }
  .projects article > a, .private { justify-self: start; }
  .cv-box { grid-template-columns: 1fr; padding: 30px 22px; }
  .cv-status { width: max-content; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
