:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --card: #fff;
  --ink: #172334;
  --muted: #4d5969;
  --blue: #174eba;
  --blue-hover: #123f97;
  --edge: #e0e5e9;
  --navy: #1a2c45;
  --round: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2, h3 { letter-spacing: -.046em; line-height: 1.06; }
h2 { font-size: clamp(2.15rem, 4.35vw, 3.8rem); }
h3 { font-size: clamp(1.27rem, 2.2vw, 1.75rem); }
a { color: var(--blue); text-underline-offset: .24em; touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid #3770de; outline-offset: 4px; border-radius: 5px; }
img { display: block; width: 100%; height: auto; }
.frame { width: min(1190px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: -70px; left: 12px; background: white; padding: 10px 16px; }
.skip:focus { top: 10px; }
.top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #dfe4e7; background: #f6f6f3ed; backdrop-filter: blur(19px) saturate(135%); }
.top-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 725; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: white; font-size: .9rem; letter-spacing: -.04em; }
.top nav { display: flex; align-items: center; gap: clamp(11px, 2.3vw, 30px); }
.top nav a { padding: 10px 0; color: var(--muted); text-decoration: none; font-weight: 590; font-size: .92rem; white-space: nowrap; }
.top nav a:hover { color: var(--blue); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 99px; padding: 11px 19px; text-decoration: none; font-weight: 680; white-space: nowrap; transition: background-color .18s, color .18s, transform .18s; }
.button:active { transform: scale(.97); }
.header-button, .quiet { background: white; color: var(--ink); border: 1px solid var(--edge); }
.header-button:hover, .quiet:hover { background: #e7edf7; color: var(--blue-hover); }
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--blue-hover); }
.hero { display: grid; grid-template-columns: 1.14fr .86fr; gap: 10px; margin-top: 24px; }
.intro, .portrait { border-radius: 34px; overflow: hidden; }
.intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 4.5vw, 64px); background: #e9edf0; }
.eyebrow { color: #345470; font-size: .88rem; font-weight: 740; letter-spacing: .025em; }
.intro h1 { margin-block: 18px 23px; font-size: clamp(2.8rem, 5.03vw, 4.8rem); letter-spacing: -.06em; }
.intro h1 span { display: block; color: var(--blue); }
.hero-lead { max-width: 35ch; color: var(--muted); font-size: clamp(1.05rem, 1.65vw, 1.26rem); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.intro-meta { margin-top: 24px; color: #43576e; font-size: .92rem; font-weight: 640; }
.portrait { position: relative; min-height: clamp(450px, 43vw, 585px); background: #dededb; }
.portrait img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 25%; }
.section { margin-top: clamp(55px, 8vw, 107px); }
.section-title { margin-bottom: 20px; }
.section-title .eyebrow { margin-bottom: 8px; }
.profile { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; min-height: 360px; border: 1px solid var(--edge); border-radius: var(--round); background: var(--card); }
.profile-copy { padding: clamp(26px, 4.5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.profile h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.profile-copy > p:not(.eyebrow), .section-lead { color: var(--muted); font-size: 1.04rem; }
.workspace { position: relative; min-height: 280px; }
.workspace img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { padding: clamp(20px, 3vw, 34px); border-radius: var(--round); border: 1px solid var(--edge); background: var(--card); }
.card p { color: var(--muted); }
.expertise .card:not(.main-card), .addresses .card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.expertise .card:not(.main-card) .text-link, .addresses .text-link { margin-top: auto; }
.main-card { grid-column: 1 / -1; padding: 0; border: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1.13fr; background: var(--navy); color: white; }
.main-card > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 15px; padding: clamp(22px, 4.5vw, 59px); }
.main-card h3 { font-size: clamp(2rem, 4.2vw, 3.55rem); }
.main-card p { color: #e8eef7; max-width: 39ch; }
.main-card a { color: #cfdeff; }
.main-card img { height: 100%; max-height: 340px; min-height: 258px; object-fit: cover; object-position: center; }
.text-link { font-weight: 670; }
.qualifications { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 32px; }
.section-lead { margin-block: 14px; max-width: 37ch; }
.timeline dl > div { display: grid; grid-template-columns: minmax(92px, .27fr) 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--edge); }
.timeline dl > div:first-child { padding-top: 0; }
.timeline dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.timeline dt { color: var(--blue); font-weight: 740; }
.timeline dd { color: var(--muted); }
.visit-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.addresses .eyebrow { color: #345470; }
.visit-note { margin-top: 14px; color: var(--muted); }
.lower { display: grid; grid-template-columns: .7fr 1.3fr; gap: 12px; align-items: start; }
.lower h2 { margin-bottom: 16px; font-size: clamp(1.7rem, 3.3vw, 2.6rem); }
.reviews ul { padding: 0; margin-top: 12px; list-style: none; display: flex; flex-wrap: wrap; gap: 5px 15px; }
.reviews a { display: inline-flex; align-items: center; min-height: 44px; }
.faq details { border-top: 1px solid var(--edge); }
.faq summary { cursor: pointer; padding-block: 14px; min-height: 44px; font-weight: 650; }
.faq details p { padding: 0 0 15px; }
.footer { margin-top: clamp(55px, 8vw, 105px); border-top: 1px solid var(--edge); background: #ebeeef; padding-block: 32px 42px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; color: var(--muted); font-size: .94rem; }
.footer-inner strong { color: var(--ink); }
.footer-links { display: grid; align-content: start; gap: 6px; }
.fine { grid-column: 1 / -1; }
.mobile-call { display: none; }
@media (max-width: 950px) {
  .frame { width: calc(100% - 44px); }
  .hero { grid-template-columns: 1.08fr .92fr; }
  .intro { padding: 28px; }
  .portrait { min-height: 440px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 116px; }
  .top-inner { flex-wrap: wrap; min-height: 0; padding-top: 8px; gap: 0 12px; }
  .top nav { order: 3; width: 100%; justify-content: space-between; gap: 15px; overflow-x: auto; scrollbar-width: thin; }
  .top nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .hero { grid-template-columns: 1fr; margin-top: 14px; }
  .portrait { min-height: 0; height: clamp(320px, 70vw, 455px); }
  .portrait img { object-position: center 25%; }
  .profile, .qualifications { grid-template-columns: 1fr; gap: 0; }
  .qualifications { gap: 18px; }
  .cards { gap: 8px; }
  .lower { grid-template-columns: 1fr 1fr; }
  .mobile-call { display: inline-flex; position: fixed; z-index: 8; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 5px 20px #123c8840; }
  .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .frame { width: calc(100% - 28px); }
  .brand { font-size: .91rem; gap: 6px; }
  .mark { width: 32px; height: 32px; border-radius: 9px; }
  .header-button { padding-inline: 15px; }
  .top nav { gap: 13px; }
  .top nav a { font-size: .86rem; }
  .intro, .portrait { border-radius: 24px; }
  .intro { padding: 27px 19px; }
  .intro h1 { font-size: clamp(2.1rem, 9vw, 3rem); margin-block: 12px 15px; }
  .portrait { height: 320px; }
  .actions { margin-top: 19px; }
  .intro-meta { margin-top: 15px; }
  .workspace { min-height: 240px; }
  .cards, .main-card, .lower, .footer-inner { grid-template-columns: 1fr; }
  .main-card img { min-height: 0; max-height: 260px; aspect-ratio: 3 / 2; }
  .visit-title { align-items: flex-start; flex-direction: column; }
  .timeline dl > div { grid-template-columns: 87px 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
