:root {
  --ink: #07111f;
  --ink-2: #0d1c35;
  --blue: #3158b7;
  --blue-bright: #5f84e5;
  --paper: #f4f2ed;
  --white: #ffffff;
  --line: rgba(7, 17, 31, 0.15);
  --line-dark: rgba(255, 255, 255, 0.17);
  --muted: #5e6775;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 18px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.topbar {
  color: rgba(255,255,255,.76);
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  font-size: .76rem;
  letter-spacing: .06em;
}
.topbar-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-label { text-transform: uppercase; }
.topbar-contact { display: flex; align-items: center; gap: 26px; }
.topbar-contact a { transition: color .2s ease; }
.topbar-contact a:hover { color: var(--white); }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(7,17,31,.97);
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; min-width: 210px; align-items: center; gap: 13px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; line-height: 1; }
.brand-name { font-size: 1rem; font-weight: 800; letter-spacing: .15em; }
.brand-tagline { color: rgba(255,255,255,.58); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav-link {
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--white); }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  color: var(--white);
  background: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { border-color: #24499f; background: #24499f; transform: translateY(-2px); }
.button--light { color: var(--ink); border-color: var(--white); background: var(--white); }
.button--light:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.button--outline { border-color: rgba(255,255,255,.48); background: transparent; }
.button--outline:hover { color: var(--ink); border-color: var(--white); background: var(--white); }
.arrow { font-size: 1.05rem; transition: transform .2s ease; }
.button:hover .arrow { transform: translateX(4px); }
.back-link:hover .arrow { transform: translateX(-4px); }

.brand:focus-visible, .nav-link:focus-visible, .button:focus-visible, .back-link:focus-visible, .advisor-link:focus-visible, .contact-link:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

.profile-main { overflow: hidden; }
.profile-hero { padding: clamp(68px, 8vw, 112px) 0 clamp(84px, 10vw, 138px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}
.profile-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: #1a2230;
  box-shadow: 22px 22px 0 rgba(49, 88, 183, .12);
}
.profile-portrait::before {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -14px;
  width: 74px;
  height: 74px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  content: "";
  pointer-events: none;
}
.profile-portrait::after {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -70px 90px rgba(7,17,31,.18);
  content: "";
  pointer-events: none;
}
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-portrait--square img { object-position: center center; }
.profile-copy { max-width: 680px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 2px; flex: 0 0 auto; background: currentColor; content: ""; }
.profile-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7.1vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}
.profile-lead {
  max-width: 630px;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.25;
}
.profile-description { max-width: 650px; }
.profile-description p { margin-bottom: 17px; color: var(--muted); font-size: 1.05rem; }
.profile-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-item { min-height: 112px; padding: 23px 20px 20px 0; }
.meta-item + .meta-item { padding-left: 20px; border-left: 1px solid var(--line); }
.meta-label { display: block; margin-bottom: 7px; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.meta-value { color: var(--ink-2); font-size: .94rem; line-height: 1.45; }

.profile-cta { color: var(--white); background: var(--ink); }
.profile-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  padding: clamp(64px, 8vw, 96px) 0;
}
.profile-cta h2 {
  max-width: 730px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}
.profile-cta p { max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.66); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

.other-advisors { padding: clamp(68px, 8vw, 104px) 0; }
.other-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.other-head h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 400; letter-spacing: -.035em; }
.advisor-links { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.advisor-link {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px 26px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding .2s ease;
}
.advisor-link + .advisor-link { padding-left: 30px; border-left: 1px solid var(--line); }
.advisor-link:hover { color: var(--blue); }
.advisor-link strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.advisor-link span { color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.advisor-link .advisor-arrow { color: var(--blue); font-size: 1.45rem; }

.footer { color: rgba(255,255,255,.62); background: #040b14; }
.footer-inner { display: flex; min-height: 120px; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: var(--white); font-size: .82rem; font-weight: 800; letter-spacing: .14em; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.footer-contact { display: flex; gap: 24px; font-size: .86rem; }
.contact-link:hover { color: var(--white); }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .profile-grid { grid-template-columns: minmax(280px, .78fr) minmax(380px, 1.22fr); gap: 52px; }
  .profile-copy h1 { font-size: clamp(3.6rem, 7vw, 5.5rem); }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .topbar-label { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .nav { min-height: 72px; }
  .brand { min-width: 0; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy { display: none; }
  .profile-hero { padding-top: 48px; }
  .back-link { margin-bottom: 32px; }
  .profile-grid { grid-template-columns: 1fr; gap: 52px; }
  .profile-portrait { width: min(100%, 500px); }
  .profile-copy h1 { font-size: clamp(3.5rem, 16vw, 5.7rem); }
  .profile-meta { grid-template-columns: 1fr; }
  .meta-item { min-height: auto; padding: 18px 0; }
  .meta-item + .meta-item { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .profile-cta-inner { grid-template-columns: 1fr; }
  .cta-actions { align-items: flex-start; }
  .advisor-links { grid-template-columns: 1fr; }
  .advisor-link + .advisor-link { padding-left: 0; border-left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px 0; }
  .footer-contact { flex-direction: column; gap: 8px; }
}

@media (max-width: 460px) {
  .topbar-contact a:first-child { display: none; }
  .button--appointment { padding-inline: 12px; font-size: .7rem; }
  .profile-portrait { box-shadow: 12px 12px 0 rgba(49, 88, 183, .12); }
  .other-head { align-items: flex-start; flex-direction: column; }
}

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