:root {
  --navy: #0F2747;
  --gold: #C5A46D;
  --ivory: #F8F7F3;
  --white: #fffefa;
  --line: rgba(15, 39, 71, .16);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 82px; }

body {
  margin: 0;
  color: var(--navy);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.shell { width: min(100% - 40px, 1180px); margin-inline: auto; }
.section { padding: 76px 0; }
.section-soft { background: rgba(255, 255, 255, .44); }

.skip-link {
  position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px;
  color: var(--ivory); background: var(--navy); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; z-index: 10; top: 0;
  background: rgba(248, 247, 243, .96);
  border-bottom: 1px solid rgba(197, 164, 109, .3);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 37px; height: 37px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display); font-size: 23px; font-weight: 600;
  line-height: 1; letter-spacing: .025em; white-space: nowrap;
  font-variant-caps: small-caps;
}

.nav-toggle {
  display: grid; place-content: center; gap: 5px; width: 46px; min-height: 46px;
  padding: 0; color: var(--navy); background: transparent; border: 1px solid var(--line); cursor: pointer;
}
.nav-toggle span:not(.sr-only) { display: block; width: 19px; height: 1px; background: currentColor; }
.primary-nav {
  position: absolute; inset: 100% 0 auto; display: grid; padding: 14px 20px 18px;
  background: var(--ivory); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav a {
  padding: 11px 0; font-size: 11px; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; border-bottom: 1px solid rgba(15, 39, 71, .09);
}
.primary-nav a:last-child { border-bottom: 0; }

.eyebrow {
  margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 500;
  letter-spacing: .19em; line-height: 1.4; text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--navy); }
h1, h2 { letter-spacing: .025em; font-variant-caps: small-caps; }
h1 { margin-bottom: 20px; font-size: clamp(39px, 11vw, 62px); line-height: .94; }
h2 { margin-bottom: 0; font-size: clamp(37px, 8vw, 49px); line-height: 1; }
h3 { margin-bottom: 9px; font-size: 29px; line-height: 1; letter-spacing: .02em; font-variant-caps: small-caps; }
.section-heading { margin-bottom: 36px; text-align: center; }
.gold-rule { width: 48px; height: 1px; margin: 24px 0; background: var(--gold); }

.hero { overflow: hidden; padding-top: 56px; }
.hero-grid { display: grid; gap: 42px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.lead { margin-bottom: 17px; font-size: 16px; line-height: 1.75; }
.hero-copy p:not(.eyebrow) { max-width: 58ch; }
.text-link {
  display: inline-flex; gap: 9px; margin-top: 15px; padding: 7px 0; font-size: 11px;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--gold);
}
.text-link span { color: var(--gold); font-size: 16px; line-height: .8; transition: transform .2s ease; }
.portrait { position: relative; margin: 0 auto; max-width: 420px; }
.portrait::before {
  position: absolute; z-index: -1; top: 24px; right: -14px; bottom: -14px; left: 24px;
  border: 1px solid var(--gold); content: "";
}
.portrait img { width: 100%; height: clamp(340px, 95vw, 500px); object-fit: cover; object-position: center top; }

.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.practice-card {
  position: relative; min-height: 181px; overflow: hidden;
  background: rgba(248, 247, 243, .54); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.practice-toggle {
  display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 180px; padding: 20px 15px;
  color: inherit; text-align: left; background: transparent; border: 0; cursor: pointer;
}
.practice-card svg { width: 40.3px; height: 40.3px; margin-bottom: auto; fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.contact-icon { width: 31px; height: 31px; margin-bottom: auto; fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.practice-title { margin-top: 19px; font-size: 10px; font-weight: 400; line-height: 1.55; letter-spacing: .065em; text-transform: uppercase; }
.practice-toggle::after { position: absolute; right: 14px; bottom: 13px; color: var(--gold); font-size: 25px; font-weight: 300; line-height: 1; content: "+"; }
.practice-card.is-open .practice-toggle::after { content: "−"; }
.practice-details { max-height: 0; padding: 0 15px; overflow: hidden; color: var(--navy); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: max-height .25s ease, padding .25s ease, opacity .2s ease, transform .2s ease, visibility .2s; }
.practice-card.is-open .practice-details { max-height: 320px; padding: 0 15px 18px; opacity: 1; visibility: visible; transform: translateY(0); }
.practice-card.is-open { background: var(--white); border-color: var(--gold); }
.practice-details-title { display: block; margin-bottom: 7px; font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1; }
.practice-list-intro { margin: 0 0 7px; font-size: 12px; font-weight: 400; line-height: 1.35; }
.practice-details ul { display: grid; gap: 3px; padding: 0; margin: 0; list-style: none; }
.practice-details li { display: flex; gap: 6px; font-size: 12px; font-weight: 400; line-height: 1.35; }
.practice-details li::before { color: var(--gold); content: "•"; }

.contact { background: var(--navy); color: var(--ivory); }
.contact h2, .contact h3 { color: var(--ivory); }
.contact .section-heading .eyebrow { color: var(--gold); }
.contact-rule { margin-inline: auto; }
.contact-intro { max-width: 58ch; margin: 18px auto 0; line-height: 1.7; }
.contact-grid { display: grid; gap: 14px; }
.contact-remote { max-width: 68ch; margin: 26px auto 0; text-align: center; line-height: 1.7; }
.contact-card { display: flex; gap: 18px; min-height: 215px; padding: 25px 21px; border: 1px solid rgba(197, 164, 109, .55); }
.contact-card .contact-icon { flex: 0 0 auto; margin: 2px 0 0; }
.contact-value { display: block; margin-bottom: 21px; color: var(--ivory); font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 17px;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.button-outline { color: var(--ivory); border: 1px solid var(--gold); }
.button-solid { gap: 9px; color: var(--ivory); background: var(--navy); border: 1px solid var(--navy); }
.button span { color: var(--gold); font-size: 15px; line-height: 1; }

.office-grid { display: grid; gap: 42px; align-items: center; }
.office-copy > p:not(.eyebrow) { max-width: 56ch; }
address { margin: 26px 0; font-style: normal; font-size: 14px; line-height: 1.9; }
address strong { font-weight: 500; }
.map-link { position: relative; display: block; overflow: hidden; max-width: 570px; margin-inline: auto; }
.map-link::after { position: absolute; inset: 0; border: 1px solid rgba(197, 164, 109, .85); content: ""; pointer-events: none; }
.map-link img { width: 100%; transition: transform .4s ease; object-fit: cover;}
.map-overlay {
  position: absolute; right: 13px; bottom: 13px; padding: 7px 9px; color: var(--ivory); background: var(--navy);
  font-size: 9px; font-weight: 400; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase;
}
.map-overlay span { color: var(--gold); }

.site-footer { padding: 27px 0 23px; color: var(--ivory); background: #0b203b; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-logo { width: 130px; height: auto; object-fit: contain; opacity: .96; }
.footer-meta { display: grid; gap: 3px; }
.site-footer p { margin: 0; font-size: 9px; letter-spacing: .075em; line-height: 1.6; }
.footer-link { color: var(--ivory); font-size: 9px; font-weight: 400; letter-spacing: .1em; line-height: 1.6; text-decoration: underline; text-decoration-color: rgba(197, 164, 109, .75); text-underline-offset: 3px; }

.privacy-policy { padding-top: clamp(58px, 9vw, 100px); padding-bottom: clamp(72px, 10vw, 120px); }
.privacy-content { max-width: 820px; }
.privacy-heading { margin-bottom: 42px; }
.privacy-heading h1 { margin-bottom: 0; overflow-wrap: anywhere; font-size: clamp(35px, 7vw, 58px); }
.privacy-updated { margin: 18px 0 0; color: rgba(15, 39, 71, .72); font-size: 12px; line-height: 1.6; }
.privacy-content h2 { margin: 42px 0 13px; font-size: clamp(29px, 5vw, 38px); line-height: 1.05; }
.privacy-content p { max-width: 78ch; margin-bottom: 18px; }
.privacy-content ul { max-width: 78ch; padding-left: 21px; margin: 0 0 20px; }
.privacy-content li { padding-left: 5px; }
.privacy-content li + li { margin-top: 6px; }
.privacy-note { max-width: 78ch; padding: 19px 21px; margin: 28px 0 0; background: rgba(255, 255, 255, .5); border-left: 1px solid var(--gold); }
.privacy-note p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (hover: hover) {
  .primary-nav a:hover { color: var(--gold); }
  .text-link:hover span { transform: translateX(4px); }
  .practice-card:hover { background: var(--white); border-color: var(--gold); transform: translateY(-3px); }
  .button-outline:hover { color: var(--navy); background: var(--gold); }
  .button-solid:hover { color: var(--navy); background: transparent; border-color: var(--gold); }
  .map-link:hover img { transform: scale(1.025); }
}

@media (hover: hover) and (min-width: 620px) {
  .practice-details {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-height: none; padding: 18px 17px;
    color: var(--ivory); background: var(--navy); transform: translateY(6px); pointer-events: none;
  }
  .practice-card:hover .practice-details, .practice-card:focus-within .practice-details, .practice-card.is-open .practice-details {
    padding: 18px 17px; opacity: 1; visibility: visible; transform: translateY(0);
  }
  .practice-card:hover .practice-toggle::after, .practice-card:focus-within .practice-toggle::after, .practice-card.is-open .practice-toggle::after { color: var(--ivory); z-index: 1; }
  .practice-card:hover .practice-toggle::after { content: "−"; }
  .practice-details-title { color: var(--ivory); }
}

@media (min-width: 620px) {
  .shell { width: min(100% - 64px, 1180px); }
  .section { padding: 95px 0; }
  .hero { padding-top: 74px; }
  .practice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .practice-card { min-height: 202px; }
  .practice-toggle { min-height: 200px; padding: 23px 20px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-card { padding: 31px 28px; }
}

@media (min-width: 860px) {
  body { font-size: 15px; }
  .header-inner { min-height: 82px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 27px; }
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex; gap: clamp(19px, 2.6vw, 37px); padding: 0; background: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .primary-nav a { padding: 5px 0; border: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .85fr); gap: clamp(45px, 8vw, 126px); }
  .hero-copy { padding: 14px 0; }
  .portrait { justify-self: end; width: min(100%, 425px); }
  .practice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .office-grid { grid-template-columns: minmax(0, .92fr) minmax(330px, 1fr); gap: clamp(48px, 8vw, 120px); }
  .map-link { justify-self: end; width: 100%; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-logo { width: 145.6px; }
  .footer-meta { justify-items: end; }
}

@media (min-width: 1120px) {
  .section { padding: 112px 0; }
  .hero { min-height: 655px; padding-top: 82px; padding-bottom: 82px; }
  .practice-card { min-height: 214px; }
  .practice-toggle { min-height: 212px; padding: 27px 23px; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
  .reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

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