:root {
  --navy: #0b1c2e;
  --navy-2: #132b42;
  --gold: #c9a55c;
  --paper: #f7f3ec;
  --mist: #e9eef1;
  --ink: #16212e;
  --muted: #5e6974;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); }
a { color: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: white; color: var(--navy); }
.skip:focus { top: 1rem; }

.topbar {
  position: sticky; top: 0; z-index: 20; min-height: 72px; padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex; align-items: center; gap: 32px; color: white; background: rgba(11, 28, 46, .94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 165, 92, .25);
}
.brand { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--gold); text-decoration: none; font: 20px var(--serif); color: var(--gold); }
.nav { display: flex; gap: clamp(16px, 3vw, 38px); margin-left: auto; }
.nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; }
.nav a:hover { color: var(--gold); }
.lang { border: 1px solid rgba(201,165,92,.5); border-radius: 999px; background: transparent; color: var(--gold); padding: 8px 13px; cursor: pointer; }

.hero {
  min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(40px, 8vw, 110px);
  padding: clamp(64px, 9vw, 120px) max(24px, calc((100vw - var(--max)) / 2)); color: white;
  background: radial-gradient(circle at 72% 30%, #1c405f 0, var(--navy) 43%, #061321 100%);
}
.hero h1 { max-width: 760px; margin: 12px 0 22px; font: 400 clamp(48px, 7vw, 94px)/.94 var(--serif); letter-spacing: -.045em; }
.hero__lead { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font: clamp(19px, 2vw, 27px)/1.45 var(--serif); }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--gold); text-decoration: none; font-size: 14px; font-weight: 650; }
.button--gold { background: var(--gold); color: var(--navy); }
.button--ghost { color: var(--gold); }
.button:hover { transform: translateY(-2px); }
.button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.credentials { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; color: rgba(255,255,255,.68); font-size: 13px; }
.credentials li::before { content: "•"; margin-right: 10px; color: var(--gold); }
.portrait-wrap { justify-self: end; max-width: 410px; }
.portrait-frame { position: relative; padding: 12px; border: 1px solid rgba(201,165,92,.5); }
.portrait-frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(201,165,92,.18); }
.portrait-frame img { position: relative; display: block; width: 100%; height: auto; filter: saturate(.85) contrast(1.03); }
.portrait-note { display: block; margin-top: 18px; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .16em; text-align: right; text-transform: uppercase; }

.section { padding: clamp(76px, 10vw, 132px) max(24px, calc((100vw - var(--max)) / 2)); }
.section__intro { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; margin-bottom: 60px; }
.section h2, .contact h2 { margin: 0; font: 400 clamp(36px, 5vw, 64px)/1.05 var(--serif); letter-spacing: -.025em; }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--dark { color: white; background: var(--navy); }
.profile-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 9vw; align-items: end; }
.profile-copy { margin: 0; font: clamp(24px, 3vw, 39px)/1.38 var(--serif); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(11,28,46,.2); }
.stat { padding: 22px 10px; }
.stat strong, .stat span { display: block; }
.stat strong { font: 32px var(--serif); color: var(--navy); }
.stat span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.expertise { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid rgba(11,28,46,.18); }
.expertise article { padding: 24px 24px 0 0; }
.expertise span { color: var(--gold); font: 14px var(--serif); }
.expertise h3 { margin: 24px 0 0; font: 400 19px/1.45 var(--serif); }
.quotes { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; margin-top: 64px; }
blockquote { margin: 0; border-top: 1px solid rgba(201,165,92,.45); padding-top: 30px; color: rgba(255,255,255,.68); line-height: 1.7; }
.quote-main { margin-top: 0; color: white; font: clamp(25px, 3vw, 38px)/1.3 var(--serif); }
.quote-note { color: rgba(255,255,255,.45); font-size: 13px; }
.timeline { border-top: 1px solid rgba(11,28,46,.2); }
.job { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid rgba(11,28,46,.2); }
.job__date { color: var(--muted); font-size: 13px; }
.job h3 { margin: 0; font: 400 clamp(25px, 3vw, 36px) var(--serif); }
.job__company { color: #8a6a26; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tags li { padding: 7px 10px; border: 1px solid rgba(11,28,46,.18); border-radius: 999px; color: var(--muted); font-size: 12px; }
.qualification-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qualification-grid article { padding: 30px; background: rgba(255,255,255,.65); border-top: 3px solid var(--gold); }
.qualification-grid h3 { margin: 0 0 20px; font: 400 25px var(--serif); }
.qualification-grid ul { margin: 0; padding: 0; list-style: none; color: var(--muted); line-height: 1.8; }
.contact { padding: clamp(90px, 12vw, 160px) 24px; color: white; background: radial-gradient(circle at 50% 100%, var(--navy-2), var(--navy)); text-align: center; }
.contact p:not(.eyebrow) { color: rgba(255,255,255,.65); }
.contact .button { margin-top: 22px; }
.contact__location { margin-top: 30px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
body > footer { display: flex; justify-content: space-between; padding: 26px max(24px, calc((100vw - var(--max)) / 2)); color: rgba(255,255,255,.5); background: #061321; font-size: 12px; }
body > footer a { color: var(--gold); text-decoration: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 820px) {
  .topbar { min-height: 62px; gap: 16px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero__copy { order: 2; }
  .portrait-wrap { order: 1; justify-self: start; max-width: 230px; }
  .portrait-note { display: none; }
  .section__intro, .profile-grid, .quotes, .job { grid-template-columns: 1fr; }
  .section__intro { gap: 10px; margin-bottom: 38px; }
  .expertise { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 48px; }
  .hero__actions .button { width: 100%; }
  .stats, .qualification-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-top: 1px solid rgba(11,28,46,.12); }
  .expertise { grid-template-columns: 1fr; }
  .expertise article { padding-bottom: 22px; border-bottom: 1px solid rgba(11,28,46,.12); }
  body > footer { gap: 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
