:root {
  --canvas: #f6f9fb;
  --paper: #fcfcfb;
  --blue: #deedf5;
  --highlight: #b9d9e9;
  --accent: #795342;
  --ink: #3a251d;
  --muted: #61483d;
  --line: #c5d8e2;
  --title: 'kepler-std-display', 'Kepler Std Display', 'Kepler Std', Georgia, serif;
  --title-weight: 700;
  --subtitle: 'Times New Roman', Times, serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 400 1.075rem/1.6 var(--body); }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--title); font-weight: var(--title-weight); letter-spacing: -.035em; }
h2 { font-size: clamp(2.7rem, 5.2vw, 4.9rem); line-height: .99; }
h3 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.02; }
section[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(1230px, calc(100% - 7rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-200%); background: var(--ink); color: white; padding: .65rem 1rem; }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: var(--canvas); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; font: 600 .98rem/1.35 var(--body); text-decoration: none; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font: 400 .79rem/1.2 var(--subtitle); }
.monogram { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--accent); font: var(--title-weight) 1.52rem/1 var(--title); letter-spacing: -.08em; padding-right: .08em; }
nav { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 3.25rem); font: 650 .83rem/1.35 var(--body); }
nav a { text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--accent); }
.nav-contact { border: 1px solid var(--accent); padding: .68rem 1rem; }
.nav-contact span { margin-left: .3rem; }
.eyebrow, .card-key { color: var(--muted); font: 700 .72rem/1.4 var(--subtitle); text-transform: uppercase; letter-spacing: .15em; }
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 1px; margin-right: .65rem; vertical-align: middle; background: var(--accent); }

.hero { background: var(--blue); border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 625px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding-block: 3.35rem 3.7rem; }
.hero h1, .contact-page h1 { margin: .6rem 0 1.25rem; font-size: clamp(5rem, 9.9vw, 10rem); line-height: .81; }
h1 span { color: var(--accent); }
.hero-topic { margin-top: 1.5rem; font: 600 clamp(1.02rem, 1.65vw, 1.42rem)/1.4 var(--subtitle); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; padding: .87rem 1.05rem; gap: 1rem; text-decoration: none; font: 700 .8rem/1.4 var(--body); border: 1px solid transparent; }
.dark { color: var(--paper); background: var(--ink); }
.dark:hover { background: #583b2f; }
.light { color: var(--ink); background: var(--highlight); }
.light:hover { background: #d1e7f2; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: .16rem; font: 700 .81rem/1.55 var(--body); }
.portrait { max-width: 492px; width: 100%; justify-self: end; }
.portrait-mat { padding: 13px; border: 1px solid #ad8b77; background: #cce1ed; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center; background: #d6e5ed; filter: grayscale(100%); }
.portrait figcaption { display: flex; justify-content: space-between; gap: .5rem 1rem; border-bottom: 1px solid #ad8b77; padding: .63rem 0; font: 600 .68rem/1.4 var(--body); color: var(--muted); letter-spacing: .06em; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 1.1rem 3rem; margin-bottom: 2.2rem; }
.section .eyebrow, .contact-band .eyebrow { margin-bottom: .7rem; }
.section-intro > p { max-width: 28rem; color: var(--muted); }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.practice-card { border: 1px solid var(--line); background: var(--paper); }
.practice-card summary { display: flex; flex-direction: column; min-height: 248px; cursor: pointer; list-style: none; padding: clamp(1.25rem, 2.5vw, 2rem); }
.practice-card summary::-webkit-details-marker { display: none; }
.practice-card summary:hover { background: #edf5fa; }
.practice-card h3 { margin-block: .6rem; }
.card-key { letter-spacing: .095em; font-size: .65rem; }
.card-description { display: block; color: var(--muted); padding-bottom: 1.3rem; }
.card-toggle { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--line); font: 700 .76rem/1.4 var(--body); }
.toggle-symbol { display: grid; place-items: center; min-width: 1.6rem; min-height: 1.6rem; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; }
.toggle-symbol::before { content: '+'; }
.practice-card[open] .toggle-symbol::before { content: '−'; }
.practice-card[open] .more, .practice-card:not([open]) .less { display: none; }
.detail-body { padding: 0 clamp(1.25rem, 2.5vw, 2rem) 1.6rem; }
dt { font: 700 .84rem/1.45 var(--body); }
dd { margin-top: .27rem; color: var(--muted); font-size: .95rem; }
dd + dt { margin-top: 1rem; }
.profile { background: var(--blue); border-block: 1px solid var(--line); }
.profile-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1.3rem 3rem; }
.profile-role { margin-top: .8rem; color: var(--muted); font: 700 .86rem/1.5 var(--subtitle); }
.credentials { padding: 0; margin: 1.2rem 0; list-style: none; }
.credentials li { border-top: 1px solid var(--line); padding-block: .55rem; }
.contact-band { padding-block: 3.6rem; background: var(--ink); color: var(--paper); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.35rem; }
.contact-band .eyebrow { color: #c4dfed; }
.contact-band p:last-child { margin-top: .75rem; color: #deedf5; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 75px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem 1.1rem; padding-block: 1rem; font-size: .85rem; }
.footer-inner a { text-underline-offset: .18rem; }

.contact-page { background: var(--blue); min-height: calc(100svh - 167px); display: grid; align-items: center; padding-block: clamp(3rem, 8vw, 7rem); }
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem 4rem; }
.address-card { padding: clamp(1.5rem, 4.5vw, 3.25rem); border: 1px solid var(--line); background: var(--paper); }
.address-card h2 { font-size: clamp(2.5rem, 4.3vw, 4rem); margin-top: .55rem; }
address { font-style: normal; margin-block: .85rem; }
.contact-actions { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 4.5rem); }
  .hero-inner { min-height: 530px; gap: 2rem; }
  .portrait figcaption { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .75rem; padding-block: .85rem; }
  nav { width: 100%; justify-content: space-between; gap: .65rem; font-size: .74rem; }
  .nav-contact { padding: .38rem .54rem; }
  .hero-inner, .section-intro, .profile-inner, .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding-block: 2.6rem 2rem; gap: 2rem; }
  .hero h1, .contact-page h1 { font-size: clamp(3.8rem, 14vw, 6.75rem); }
  .portrait { justify-self: start; max-width: 430px; }
  .portrait-mat { padding: 8px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card summary { min-height: 0; }
  .section-intro { margin-bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contact-email { margin-top: .7rem; overflow-wrap: anywhere; }
.contact-email a { text-underline-offset: .18em; }



[data-layout="signature"] .hero { background: var(--blue); }
[data-layout="signature"] .hero-inner { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 3rem 2.5rem; text-align: center; }
[data-layout="signature"] .hero h1 { font-size: clamp(4rem, 8vw, 7.8rem); line-height: .92; }
[data-layout="signature"] .hero h1 br, [data-layout="signature"] .hero-topic br { display: none; }
[data-layout="signature"] .hero .actions { justify-content: center; }
[data-layout="signature"] .portrait { justify-self: center; max-width: 300px; }
[data-layout="signature"] .portrait-mat { border-radius: 50% 50% 0 0; overflow: hidden; padding: 7px; }
[data-layout="signature"] .portrait img { border-radius: inherit; }
[data-layout="signature"] .portrait figcaption { justify-content: center; }
[data-layout="signature"] .portrait figcaption span:first-child { display: none; }
[data-layout="signature"] .section-intro { display: block; text-align: center; }
[data-layout="signature"] .section-intro > p { margin: .85rem auto 0; }
[data-layout="signature"] .practice-grid { grid-template-columns: 1fr; max-width: 690px; margin-inline: auto; gap: .65rem; }
[data-layout="signature"] .practice-card summary { min-height: 0; }
[data-layout="signature"] .profile-inner { grid-template-columns: 1fr; max-width: 690px; }

@media (max-width: 760px) {
  [data-layout="signature"] .hero h1 { font-size: clamp(3.3rem, 11vw, 6rem); }
}

.form-fields { display: grid; gap: .85rem; margin-top: 1.15rem; }
.form-fields[hidden], [data-draft-editor][hidden] { display: none; }
.form-fields label { display: grid; gap: .3rem; font: 700 .79rem/1.45 var(--body); }
.form-fields :is(input, textarea, select) {
  width: 100%;
  padding: .58rem .65rem;
  color: var(--ink);
  border: 1px solid #977565;
  border-radius: 0;
  background: var(--paper);
  font: 400 1rem/1.5 var(--body);
}
.form-fields textarea { resize: vertical; }
.form-fields button { justify-self: start; cursor: pointer; text-align: left; }
.form-note { font-size: .86rem; color: var(--muted); }
.contact-details { border-top: 1px solid var(--line); margin-top: 1.5rem; }

.blog-intro { background: var(--blue); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 6rem); }
.blog-intro h1 { font-size: clamp(3.45rem, 7.8vw, 7.4rem); line-height: .95; margin-block: .55rem 1.1rem; }
.blog-intro p:last-child { color: var(--muted); max-width: 36rem; }
.blog-articles h2, .draft-editor h2 { font-size: clamp(2.4rem, 5vw, 3.9rem); margin-bottom: .75rem; }
.blog-articles p { color: var(--muted); }
.draft-editor { max-width: 780px; margin-bottom: clamp(2.5rem, 6vw, 5rem); padding: clamp(1rem, 4vw, 2.5rem); border: 1px solid var(--line); background: var(--paper); }
.draft-editor summary { cursor: pointer; font: 700 .92rem/1.5 var(--body); }
.draft-editor .form-note { margin-top: .55rem; }
.draft-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.button.outline { color: var(--ink); background: var(--paper); border-color: var(--accent); }
.button.outline:hover { background: var(--blue); }
@media (max-width: 430px) {
  .header-inner nav { flex-wrap: wrap; justify-content: flex-start; }
}
.blog-teaser { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.blog-teaser h2 { font-size: clamp(2.5rem, 5vw, 4rem); }

.editorial-photo { margin: 0 auto clamp(2rem, 5vw, 4rem); }
.editorial-photo img { width: 100%; aspect-ratio: 3 / 1; height: auto; object-fit: cover; object-position: center 43%; background: var(--blue); }
.photo-section { padding-top: 0; }
.photo-section h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.15rem; }
.photo-gallery { border-block: 1px solid var(--line); }
.photo-gallery summary { cursor: pointer; padding-block: .9rem; font: 650 .88rem/1.6 var(--body); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; padding-bottom: 1.1rem; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--blue); }
.photo-grid figcaption { font-size: .76rem; color: var(--muted); padding-top: .3rem; }
@media (max-width: 640px) {
  .editorial-photo img { aspect-ratio: 3 / 2; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
}

.practice-nav {
  position: relative;
}

.practice-nav summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  cursor: pointer;
  list-style: none;
}

.practice-nav summary::-webkit-details-marker {
  display: none;
}

.practice-nav summary::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: translateY(-.12rem) rotate(45deg);
}

.practice-nav[open] summary::after {
  transform: translateY(.12rem) rotate(225deg);
}

.practice-nav-list {
  position: absolute;
  z-index: 10;
  inset-inline-start: 0;
  top: 100%;
  min-width: max(100%, 11rem);
  margin: 0;
  padding: .3rem;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 .4rem 1rem rgb(36 35 31 / 10%);
}

.practice-nav-list a {
  display: block;
  padding: .65rem .75rem;
}

.practice-nav-list a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: var(--blue);
  color: var(--ink);
}

.detail-body > p {
  margin-top: .8rem;
}

.cookie-banner {
  position: fixed;
  z-index: 20;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem 1.5rem;
  width: min(46rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 .35rem 1.25rem rgb(36 35 31 / 15%);
}

.cookie-banner[hidden], .cookie-settings[hidden] {
  display: none;
}

.cookie-banner > div:first-child {
  flex: 1 1 19rem;
}

.cookie-banner h2 {
  margin-bottom: .35rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.cookie-banner p {
  font-size: .9rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.cookie-actions button {
  min-width: 5.5rem;
  min-height: 2.75rem;
  padding: .4rem .75rem;
  border: 1px solid var(--accent);
  background: var(--canvas);
  color: var(--ink);
  font-size: .875rem;
  cursor: pointer;
}

.cookie-actions button:hover {
  background: var(--blue);
}

.cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
