@font-face {
  font-family: 'Public Sans';
  src: url(fonts/public-sans.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f7f9f4;
  --white: #fff;
  --stone: #eaf0e6;
  --ink: #172920;
  --muted: #496055;
  --accent: #204c39;
  --accent-hover: #173a2b;
  --lime: #e2edcb;
  --line: #c8d4c8;
  font-family: 'Public Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--lime); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.office :focus-visible { outline-color: var(--lime); }
[id] { scroll-margin-top: 1rem; }
.wrap { width: min(calc(100% - 2 * clamp(1.25rem, 5vw, 5rem)), 78rem); margin-inline: auto; }
.section-space { padding-block: clamp(3rem, 7vw, 6rem); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip { position: absolute; top: 0; left: 1rem; z-index: 2; transform: translateY(-130%); padding: .75rem 1rem; background: var(--paper); }
.skip:focus { transform: translateY(.5rem); }

.masthead { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; text-decoration: none; }
.brand b { font-weight: 650; }
.masthead nav { display: flex; gap: clamp(.75rem, 3vw, 2.25rem); align-items: center; }
.masthead nav a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; text-decoration: none; font-size: .875rem; font-weight: 650; }
.masthead nav a:hover, .text-link:hover, .profile-links a:hover { text-decoration: underline; }
.office-nav { padding-inline: 1rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); }

.hero { background: var(--paper); border-block: 1px solid var(--line); }
.office-card { border-left: 1px solid var(--line); padding: 1rem 0 1rem clamp(1.5rem, 4vw, 4rem); }
.office-card h2 { font: 400 clamp(1.5rem, 3vw, 2.2rem)/1.15 Georgia, serif; }
.office-card address { margin-block: 1rem .4rem; font-style: normal; }
.office { background: var(--accent); color: var(--paper); }
.hero-inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
}
.hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; column-gap: clamp(2rem, 6vw, 6rem); }
.hero h1, h2, .feature-caption strong { font-family: Georgia, serif; font-weight: 400; }
.hero h1 { margin: 0; max-width: 15ch; font-size: clamp(3rem, 5.8vw, 5.6rem); }
.hero h1 em { color: var(--accent); }
.location { display: flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .78rem; font-weight: 650; letter-spacing: .06em; margin-bottom: 1.4rem; }
.hero .hero-intro { margin-inline: 0; max-width: 46ch; }
.hero .hero-actions { justify-content: start; }
.feature-profile { display: block; background: var(--accent); color: var(--white); text-decoration: none; }
.feature-profile img { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; object-position: 50% 27%; }
.feature-caption { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.4rem; gap: 1rem; }
.feature-caption strong, .feature-caption small { display: block; }
.feature-caption strong { font-size: 1.55rem; line-height: 1.25; }
.feature-profile:hover strong, .client-paths a:hover strong { text-decoration: underline; }
.client-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding-block: 1.5rem; }
.client-paths a { padding: .35rem 1.4rem; text-decoration: none; border-left: 1px solid var(--line); }
.client-paths a:first-child { padding-left: 0; border: 0; }
.client-paths span { display: block; color: var(--muted); font-size: .9rem; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
h1 { max-width: 20ch; margin-inline: auto; font-size: clamp(2.15rem, 5.6vw, 5.1rem); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.04em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: -.025em; }
.hero-intro { max-width: 59ch; margin: 1.15rem auto 0; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .45rem 1.25rem; margin-top: 1.3rem; }
.cta, .text-link { display: inline-flex; gap: .7rem; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 700; }
.text-link { color: var(--accent); }
.cta { padding: .7rem 1.2rem; color: var(--white); background: var(--accent); border-radius: 999px; text-decoration: none; }
.cta:hover { background: var(--accent-hover); }
.office .cta { color: var(--accent-hover); background: var(--lime); }
.office .cta:hover { background: var(--white); }
.portraits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.5vw, 1.25rem); width: min(100%, 57rem); margin-inline: auto; }
.portrait { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: clamp(.65rem, 1.5vw, 1.15rem); overflow: hidden; color: var(--ink); text-decoration: none; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; object-position: 50% 31%; }
.portrait span { flex: 1; min-height: 3.25rem; display: flex; align-items: center; justify-content: space-between; gap: .25rem; padding: clamp(.45rem, 1.2vw, 1rem); font-size: clamp(.72rem, 1.15vw, .94rem); font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.portrait .icon { width: .85rem; height: .85rem; }
.portrait:hover span, .portrait:focus-visible span { background: var(--lime); }

.about, .faq, .office-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.25rem, 5vw, 5rem); }
.prose { max-width: 63ch; color: var(--muted); }
.prose p + p { margin-top: .85rem; }
.prose .text-link { margin-top: .65rem; }
.practice, .consultation { background: var(--stone); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .85rem; margin-bottom: clamp(1.5rem, 4vw, 2.35rem); }
.section-head p { margin-top: .625rem; color: var(--muted); }
.practice-grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; }
.practice-grid { list-style: none; gap: 1rem; }
.practice-grid li { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 2.5vw, 1.8rem); }
.practice-grid p, .steps p { margin: .65rem 0 0; color: var(--muted); }
.profile-links { display: flex; flex-wrap: wrap; gap: 0 .85rem; margin-top: auto; padding-top: .5rem; }
.profile-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .84rem; font-weight: 650; }

.count { font-size: .82rem; font-weight: 650; color: var(--accent); padding: .3rem .75rem; border-radius: 999px; background: var(--stone); }
.index { border-top: 1px solid var(--line); }
.index details, .faq details { border-bottom: 1px solid var(--line); }
.index summary {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr) 1.25rem;
  gap: clamp(.75rem, 2vw, 1.35rem);
  align-items: center;
  min-height: 5rem;
  padding: .65rem;
  cursor: pointer;
  list-style: none;
}
.index summary::-webkit-details-marker { display: none; }
.index summary:hover, .index details[open] > summary, .index details:target > summary { background: var(--stone); }
.index summary:focus-visible { outline-offset: -3px; }
.index summary img { width: 3.35rem; height: 3.5rem; object-fit: cover; object-position: 50% 28%; border-radius: .5rem; }
.entry { display: flex; align-items: baseline; justify-content: space-between; gap: .25rem 1.25rem; }
.name { font-size: clamp(1rem, 1.6vw, 1.14rem); font-weight: 700; }
.field { font-size: .875rem; color: var(--muted); text-align: right; }
.toggle { color: var(--accent); }
details[open] .toggle { transform: rotate(45deg); }
.bio { padding: .9rem .65rem 1.5rem calc(4rem + clamp(.75rem, 2vw, 1.35rem)); max-width: 79ch; }
.bio p + p { margin-top: .65rem; }
.bar { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .875rem; font-weight: 650; }

.steps { list-style: none; counter-reset: step; gap: clamp(1rem, 4vw, 3rem); }
.steps li { counter-increment: step; border-top: 1px solid var(--accent); padding-top: .85rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--accent); font-size: .75rem; font-weight: 700; margin-bottom: .45rem; }
.faq { margin-top: clamp(2rem, 6vw, 4.5rem); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { min-height: 44px; padding: .7rem .25rem; cursor: pointer; font-weight: 650; }
.faq summary:hover { text-decoration: underline; }
.faq details p { padding: 0 .25rem 1rem; color: var(--muted); }
.office-inner { align-items: start; }
.office address { font-style: normal; font-size: 1.125rem; }
.office .cta { margin-top: 1rem; }
.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem clamp(1.25rem, 4vw, 4rem); padding-block: 1.75rem; }
.footer p { max-width: 60ch; color: var(--muted); font-size: .82rem; }
.back { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; white-space: nowrap; font-size: .82rem; font-weight: 650; }
.back .icon { transform: rotate(-90deg); }

html { scroll-padding-bottom: var(--notice-space, 0px); }
body { padding-bottom: var(--notice-space, 0px); }
.cookie-notice { position: fixed; z-index: 1; inset: auto 0 0; background: var(--accent); color: var(--white); }
.cookie-notice-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: .8rem; }
.cookie-notice p { max-width: 78ch; font-size: .875rem; }
.cookie-notice a { font-weight: 700; }
.cookie-notice .cta { flex: none; border: 0; font-family: inherit; cursor: pointer; color: var(--ink); background: var(--lime); }
.cookie-notice .cta:hover { background: var(--white); }
.cookie-notice :focus-visible { outline-color: var(--lime); }
.privacy-page { max-width: 46rem; }
.privacy-page h1 { margin-inline: 0; }
.privacy-page section { margin-block: 2rem 1.5rem; }
.privacy-page h2 { margin-bottom: .5rem; font-size: clamp(1.3rem, 3vw, 1.75rem); }
.privacy-page p { color: var(--muted); }

@media (max-height: 30rem) { .cookie-notice { position: static; } }

@media (max-width: 58rem) {
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry { flex-direction: column; }
  .field { text-align: left; }
  .portrait .icon { display: none; }
}

@media (max-width: 43rem) {
  .office-card { border-left: 0; border-top: 1px solid var(--line); padding: 1.4rem 0 0; }
  .hero-inner, .client-paths { grid-template-columns: 1fr; }
  .client-paths a, .client-paths a:first-child { padding: .8rem 0; border: 0; }
  .client-paths a + a { border-top: 1px solid var(--line); }
  .masthead { flex-direction: column; align-items: start; justify-content: center; gap: .2rem; padding-block: .7rem .35rem; }
  .masthead nav { flex-wrap: wrap; column-gap: clamp(.75rem, 4vw, 1.5rem); row-gap: 0; }
  .masthead nav a { font-size: .8rem; }
  .office-nav { padding-inline: 0; border: 0; }
  .office-nav .icon { display: none; }
  .about, .faq, .office-inner { grid-template-columns: 1fr; }
  .portrait img { aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr auto; }
  .footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 31rem) {
  .cookie-notice-inner { align-items: start; flex-direction: column; }
  .practice-grid { grid-template-columns: 1fr; }
  .bio { padding-left: .65rem; }
}

/* A printed-folio palette links the portrait spread and practice index. */
:root {
  --paper: #faf6ec; --ink: #292322; --stone: #efe6d6;
  --muted: #60574e; --line: #cbbfa9; --accent: #522a33;
  --accent-hover: #351d27; --lime: #efd9af; --gold: #d8b478;
}
.masthead { border-top: 4px double var(--accent); }
.brand { font: 500 clamp(1.45rem, 2.5vw, 2.15rem)/1 Georgia, serif; }
.hero { color: var(--paper); border-bottom: 5px double var(--gold); background: radial-gradient(ellipse at 75% 80%, #71424a, transparent 70%), #361f29; }
.hero .location { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; }
.hero h1 em { display: block; color: var(--lime); }
.hero .hero-intro { color: var(--paper); }
.hero .text-link { color: var(--lime); }
.hero .cta { background: var(--lime); color: var(--ink); }
.hero :focus-visible { outline-color: var(--gold); }
.cta, .office-nav { border-radius: .15rem; }
.team-spread { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; align-items: start; }
.team-spread a { min-width: 0; display: block; padding: .4rem; border: 1px solid var(--gold); text-decoration: none; }
.team-spread a + a { margin-top: 2.8rem; }
.team-spread img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 30%; }
.team-spread span { display: block; padding: .65rem .35rem .35rem; font: 400 clamp(1rem, 1.5vw, 1.45rem)/1.15 Georgia, serif; }
.team-spread small { display: block; margin-top: .4rem; font: .78rem/1.35 'Public Sans', sans-serif; color: var(--lime); }
.team-spread a:hover span { text-decoration: underline; }
.practice-grid { gap: 1px; border: 1px solid var(--line); background: var(--line); }
.practice-grid li { border: 0; border-radius: 0; background: var(--paper); }
.practice-grid h3, .steps h3 { color: var(--accent); font: 500 1.6rem/1.12 Georgia, serif; }
.directory { padding-block: clamp(3rem, 6vw, 5rem); }
.directory .section-head, .consultation .section-head { border-bottom: 3px double var(--line); padding-bottom: 1rem; }
@media (min-width: 64rem) {
  .index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-items: start; }
  .index .entry { flex-direction: column; }
  .index .field { text-align: left; }
}
