@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@700;800&display=swap");

:root {
  --text: #1f2544;
  --muted: #4f5878;
  --primary: #5c2b82;
  --teal: #138b98;
  --border: rgba(92,43,130,.14);
  --surface: #f7f5fb;
  --container: 1180px;
  --gutter: 48px;
  --heading: "Manrope", "Avenir Next", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: #fff; font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, .eyebrow, .nav-links, .button, dt { font-family: var(--heading); }
.container { width: min(calc(100% - var(--gutter)),var(--container)); margin: 0 auto; }
.site-header { padding: 28px 0 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 90px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .94rem; font-weight: 600; }
.nav-links a { position: relative; padding-bottom: 10px; }
.nav-links a.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 999px; background: var(--primary); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--primary); border-radius: 12px; color: var(--primary); background: #fff; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(31,37,68,.12); }
.button-primary { color: #fff; background: var(--primary); }
.profile-page { position: relative; overflow: hidden; padding: 72px 0 104px; background: linear-gradient(135deg,#f8f5fb,#fff 58%,#edf4f6); }
.profile-page::after { content: ""; position: absolute; width: 460px; height: 460px; right: -190px; bottom: -240px; border: 90px solid rgba(19,139,152,.09); border-radius: 50%; }
.breadcrumb { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 48px; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--primary); font-weight: 700; }
.profile-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 300px 1fr; align-items: start; gap: clamp(48px,8vw,100px); }
.portrait-wrap { overflow: hidden; border: 1px solid var(--border); border-radius: 24px; background: #ebe8ef; box-shadow: 0 18px 40px rgba(31,37,68,.1); }
.portrait-wrap img { width: 100%; height: 390px; object-fit: cover; object-position: center top; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--teal); font-size: .77rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1 { max-width: 850px; margin: 0 0 28px; color: var(--primary); font-size: clamp(2.8rem,5.6vw,5.4rem); line-height: .98; letter-spacing: -.065em; }
.lead { max-width: 700px; margin: 0 0 38px; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.facts { display: grid; max-width: 760px; margin: 0 0 40px; border-top: 1px solid var(--border); }
.fact { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--border); }
dt { color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
dd { margin: 0; color: var(--text); line-height: 1.55; }
.back-link { gap: 9px; }
.site-footer { padding: 38px 0; color: rgba(255,255,255,.82); background: linear-gradient(90deg,#26124b,#341f72); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-row img { width: 110px; }
.footer-row p { margin: 0; font-size: .9rem; }
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; flex-wrap: wrap; }
  .profile-grid { grid-template-columns: 250px 1fr; gap: 42px; }
  .portrait-wrap img { height: 330px; }
}
@media (max-width: 640px) {
  :root { --gutter: 28px; }
  .site-header { padding-top: 18px; }
  .brand { width: 100%; display: flex; justify-content: center; }
  .brand img { width: 82px; }
  .nav-links { gap: 15px 20px; font-size: .9rem; }
  .nav > .button { width: 100%; }
  .profile-page { padding: 54px 0 74px; }
  .breadcrumb { margin-bottom: 36px; }
  .profile-grid { grid-template-columns: 1fr; gap: 38px; }
  .portrait-wrap { max-width: 270px; }
  .portrait-wrap img { height: 350px; }
  .fact { grid-template-columns: 1fr; gap: 8px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition-duration: .01ms !important; } }
