:root {
  --navy: #17313d;
  --navy-soft: #234653;
  --ink: #243842;
  --cream: #f7f5ef;
  --gold: #9a7b43;
  --gold-light: #d5c092;
  --line: #d8d8cf;
  --muted: #647176;
  --content: 1280px;
  --side: max(5.5vw, calc((100vw - var(--content)) / 2));
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.7 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(3rem, 4.6vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(2.35rem, 3.2vw, 3.25rem); line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 1.55rem; line-height: 1.35; }
em { color: var(--gold); font-weight: 400; }
p + p { margin-top: 1rem; }
section[id] { scroll-margin-top: 96px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: white; }
.skip:focus { top: 12px; }
.eyebrow, .person-role, .contact-name { font: 600 .82rem/1.5 Arial, Helvetica, sans-serif; letter-spacing: .1em; }

.header { min-height: 96px; padding: 18px var(--side); display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.brand-logo { width: 66px; height: 66px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.brand-text span { font-size: .72rem; letter-spacing: .09em; }
.brand-text strong { font: 1.42rem/1.25 Georgia, "Times New Roman", serif; letter-spacing: .14em; }
.header nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; }
.header nav a { padding: 8px 0; }
.header nav a:hover { color: var(--gold); }
.nav-contact { display: flex; gap: 22px; border-bottom: 1px solid var(--gold); }
.menu-toggle { display: none; }

.hero { padding: 40px var(--side) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(42px, 6vw, 88px); align-items: center; }
.hero-copy { padding: 36px 0; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 { max-width: 620px; }
.hero-bottom { max-width: 430px; margin-top: 30px; }
.hero-bottom p { color: var(--muted); }
.text-link, .map-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 24px; padding-bottom: 7px; border-bottom: 1px solid var(--gold); font-size: .94rem; }
.text-link:hover, .map-link:hover { color: var(--gold); }
.hero-photo { position: relative; overflow: hidden; background: var(--navy); }
.hero-photo img { display: block; width: 100%; height: auto; }
.hero-photo:after { content: ""; position: absolute; inset: 68% 0 0; background: linear-gradient(transparent, rgba(12, 30, 38, .68)); }
.hero-photo figcaption { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 1; display: flex; justify-content: space-between; gap: 20px; color: white; font-size: .82rem; letter-spacing: .08em; }
.hero-photo figcaption span { font: italic 1rem/1.4 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.hero-foot a { display: flex; gap: 16px; font-size: .82rem; letter-spacing: .08em; }

.section { padding: 96px var(--side); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 100px); }
.intro h2, .section-heading h2, .contact h2 { max-width: 650px; margin-top: 20px; }
.intro-content { padding-top: 50px; max-width: 580px; color: var(--muted); }
.intro-content .lead { margin-bottom: 24px; color: var(--ink); font: 1.35rem/1.55 Georgia, "Times New Roman", serif; }
.principles { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--gold); font-size: .8rem; letter-spacing: .1em; }
.office-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; margin-top: 18px; }
.office-gallery img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.office-gallery figcaption { display: flex; gap: 14px; margin-top: 13px; color: var(--muted); font-size: .9rem; }
.office-gallery figcaption span { color: var(--gold); }

.team { background: var(--navy); color: var(--cream); }
.team em, .team .eyebrow { color: var(--gold-light); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 64px; align-items: end; margin-bottom: 52px; }
.section-heading > p { max-width: 430px; padding-bottom: 4px; color: var(--muted); }
.team .section-heading > p { color: #c2cdd1; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.person { position: relative; min-height: 212px; padding: 24px; display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 24px; border: 1px solid #49606a; }
.person-lead { grid-column: 1 / -1; min-height: 300px; display: grid; grid-template-columns: 220px 1fr; gap: 42px; background: var(--navy-soft); }
.leader-photo, .person-photo { display: block; object-fit: cover; border: 1px solid rgba(255,255,255,.22); }
.leader-photo { width: 220px; height: 280px; object-position: center; }
.person-photo { width: 132px; height: 164px; object-position: center; }
.person-photo-wide { height: 100px; object-position: 64% center; }
.person-role { max-width: 420px; color: #becbd0; }
.person h3 { margin-top: 12px; color: white; }
.person-note { max-width: 520px; margin-top: 16px; color: #c2cdd1; }
.person-number { position: absolute; right: 22px; top: 18px; color: #91a4ab; font-size: .8rem; }

.expertise .section-heading { margin-bottom: 40px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; }
.services article { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.service-index { display: block; margin-bottom: 18px; color: var(--gold); font-size: .82rem; }
.services h3 { margin-bottom: 13px; }
.services p { max-width: 360px; color: var(--muted); font-size: .96rem; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; border-top: 1px solid var(--line); background: #efefe8; }
.contact-details { padding-top: 48px; }
.contact-name { margin-bottom: 18px; }
.contact address { max-width: 520px; font: normal 1.45rem/1.5 Georgia, "Times New Roman", serif; }
.contact-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 22px; }
.contact-phone { display: inline-block; border-bottom: 1px solid var(--gold); color: var(--navy); font: 1.75rem/1.4 Georgia, "Times New Roman", serif; }
.contact-landline { color: var(--ink); font-size: 1rem; letter-spacing: .025em; }
.contact-phone:hover, .contact-landline:hover, .footer-phone:hover, .footer-landline:hover { color: var(--gold); }
.contact-qr-group { max-width: 600px; margin-top: 30px; }
.contact-qr-title { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .1em; }
.contact-qr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 12px; margin-top: 12px; }
.contact-qr-grid figure { min-width: 0; align-self: start; padding: 9px 9px 7px; border: 1px solid var(--line); background: #fff; }
.contact-qr-grid img { display: block; width: 100%; height: auto; object-fit: contain; }
.contact-qr-grid figcaption { margin-top: 6px; color: var(--muted); font-size: .76rem; line-height: 1.35; text-align: center; }
.contact-details > p:not(.contact-name) { max-width: 440px; margin-top: 22px; color: var(--muted); }

footer { padding: 36px var(--side) 24px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; background: var(--navy); color: #c3cdd0; font-size: .86rem; }
.footer-name { display: flex; align-items: center; gap: 14px; font-size: .72rem; letter-spacing: .08em; }
.footer-logo { width: 58px; height: 58px; object-fit: contain; }
.footer-name strong { display: block; color: var(--cream); font: 1.35rem/1.4 Georgia, "Times New Roman", serif; letter-spacing: .1em; }
.footer-phone { display: inline-block; margin-top: 6px; color: var(--cream); font-size: 1rem; }
.footer-landline { display: inline-block; margin-top: 2px; color: #c3cdd0; font-size: .9rem; }
.back-top { border-bottom: 1px solid #7c8c92; }

@media (max-width: 980px) {
  :root { --side: 5vw; }
  .header nav { gap: 18px; }
  .hero { column-gap: 40px; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .section-heading { gap: 40px; }
  .services { gap: 0 24px; }
}

@media (max-width: 760px) {
  :root { --side: 6vw; }
  h1 { font-size: clamp(2.7rem, 12vw, 3.55rem); }
  h2 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  h3 { font-size: 1.4rem; }
  .header { min-height: 86px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .brand-logo { width: 54px; height: 54px; }
  .brand-text span { font-size: .62rem; }
  .brand-text strong { font-size: 1.15rem; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; padding: 10px 0; border: 0; background: transparent; color: var(--ink); }
  .header nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; }
  .header nav.is-open { display: flex; }
  .header nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav-contact { justify-content: space-between; border-bottom: 0; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .hero-copy { padding: 42px 0 36px; }
  .hero-copy .eyebrow { margin-bottom: 20px; }
  .hero-bottom { margin-top: 24px; }
  .hero-photo figcaption { left: 18px; right: 18px; bottom: 16px; flex-wrap: wrap; }
  .hero-foot { padding: 20px 0 24px; align-items: center; }
  .hero-foot span { max-width: 240px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .intro, .section-heading, .contact { grid-template-columns: 1fr; gap: 28px; }
  .intro h2, .section-heading h2, .contact h2 { margin-top: 16px; }
  .intro-content, .contact-details { padding-top: 0; }
  .intro-content .lead { font-size: 1.25rem; }
  .office-gallery { grid-template-columns: 1fr; gap: 28px; margin-top: 4px; }
  .office-gallery img { height: clamp(220px, 60vw, 320px); aspect-ratio: auto; object-fit: cover; object-position: center; }
  .section-heading { margin-bottom: 34px; }
  .team-list { grid-template-columns: 1fr; gap: 16px; }
  .person { min-height: 0; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px; }
  .person-lead { grid-column: auto; grid-template-columns: 110px 1fr; gap: 22px; padding: 22px; }
  .leader-photo { width: 110px; height: 140px; }
  .person-photo { width: 92px; height: 116px; }
  .person-photo-wide { height: 70px; }
  .person-lead .person-note { display: none; }
  .person-role { padding-right: 18px; font-size: .75rem; }
  .person-number { right: 14px; top: 12px; }
  .services { grid-template-columns: 1fr; }
  .services article { padding: 24px 0; }
  .contact address { font-size: 1.32rem; }
  .contact-phone { font-size: 1.6rem; }
  .contact-qr-group { max-width: 330px; margin-top: 26px; }
  .contact-qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .contact-qr-grid figure { padding: 10px 10px 8px; }
  footer { display: block; }
  footer > p { margin-top: 20px; }
  .back-top { display: inline-block; margin-top: 22px; }
}

@media (max-width: 390px) {
  .brand-text span { max-width: 150px; line-height: 1.5; }
  .person { grid-template-columns: 78px 1fr; gap: 14px; }
  .person-lead { grid-template-columns: 90px 1fr; gap: 14px; }
  .leader-photo { width: 90px; height: 116px; }
  .person-photo { width: 78px; height: 98px; }
  .person-photo-wide { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
