:root {
  --green: #163c32;
  --ink: #172d27;
  --gold: #e6c487;
  --brass: #805f2c;
  --paper: #fbfaf5;
  --muted: #475a53;
  --line: #d5dbd1;
  --serif: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit }
:focus-visible { outline: 3px solid #b38434; outline-offset: 4px }
.wrap { width: min(88%, 1320px); margin-inline: auto }
header, footer { color: #f8f7ed; background: #142d27 }
header { border-bottom: 1px solid #486056; position: relative; z-index: 2 }
.bar, .foot { display: flex; align-items: center; justify-content: space-between; gap: 24px }
.bar { min-height: 80px }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 500 1.95rem/.83 var(--serif) }
.brand small { display: block; margin-top: 6px; font: 600 .66rem/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .135em }
.seal { display: block; flex: none; width: 48px; height: 48px }
nav, .actions { display: flex; align-items: center; gap: 34px }
nav a, .textlink, .quiet { font-size: .94rem; font-weight: 600 }
#nav a { padding-block: 8px; border-bottom: 1px solid transparent }
#nav a:hover, #nav a[aria-current=page] { color: var(--gold); border-color: var(--gold) }
.cta, #menu { border: 1px solid transparent; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; background: var(--gold); color: #182c24; font: 600 .94rem/1.4 "DM Sans", sans-serif; cursor: pointer; transition: transform .2s, background .2s }
.cta:hover { background: #f1d6a6; transform: translateY(-2px) }
.topcta { background: transparent; color: var(--gold); border-color: #a48e64; padding: 10px 20px }
.topcta:hover { color: var(--ink) }
#menu { display: none }
.skip { position: absolute; top: -100px; background: white; color: var(--ink); padding: 12px; z-index: 5 }
.skip:focus { top: 6px }
.hero { position: relative; overflow: hidden; isolation: isolate; background: #102920; color: white }
.hero-art, .hero-art::after, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100% }
.hero-art { z-index: -1 }
.hero-art img { object-fit: cover; object-position: right 46%; animation: settle 1.7s ease-out both }
.hero-art::after { content: ""; background: linear-gradient(90deg, #0d211c 1%, rgba(13,33,28,.96) 24%, rgba(13,33,28,.76) 43%, rgba(18,29,20,.18) 76%), linear-gradient(0deg,#10231866,transparent 35%) }
.hero-inner { padding-block: clamp(58px,5.7vw,100px) }
.hero-copy { max-width: 720px }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--brass); font-size: .77rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor }
.hero .eyebrow, .intro .eyebrow { color: var(--gold) }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1; letter-spacing: -.043em }
h1 { font-size: clamp(3.55rem,6.8vw,7rem) }
.hero h1 { animation: rise .7s ease-out both }
.hero h1 em { font-weight: 500; color: #eed09a }
.lead, .intro .wrap>p:last-child { font-size: 1.08rem; line-height: 1.65; color: #e0e8de; max-width: 480px; margin: 21px 0 0 }
.actions { margin-top: 30px; gap: 28px }
.quiet, .textlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: #ac915f }
h2 { font-size: clamp(2.55rem,4vw,4.35rem) }
h3 { font-size: clamp(1.65rem,2.1vw,2.17rem) }
.practice, .split, .service-group { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8% }
.practice, .reading { padding-block: clamp(46px,5.2vw,88px) }
.practice-title p:not(.eyebrow), .card p, article p, .reading p, address, .home-about p:not(.eyebrow) { color: var(--muted); line-height: 1.65; font-size: 1rem }
.practice-title p:not(.eyebrow) { max-width: 310px; margin: 18px 0 24px }
.cards { border-top: 1px solid var(--line) }
.card { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 20px 5px; transition: background .2s, padding .2s }
.card:hover, .card:focus-visible { background: #eff1e8; padding-left: 12px }
.iconbox { display: grid; place-items: center; background: #e8ece2; width: 47px; height: 47px; border-radius: 50%; flex: none }
.icon { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.45; stroke-linejoin: round; stroke-linecap: round }
.card p { margin: 5px 0 0 }
.open-icon { color: var(--brass); font: 300 1.5rem/1 sans-serif; margin-left: auto }
.home-about { padding-block: 60px; background: #e9ede3 }
.home-about .split { align-items: center }
.about-photo { width: 100%; height: 275px; object-fit: cover }
.intro { color: white; background: linear-gradient(90deg,#142f27 8%,#142f27f2 54%,#142f27ae),url('/assets/library.jpg') center 40%/cover; padding-block: clamp(50px,5vw,82px) }
.intro h1 { font-size: clamp(3.2rem,5vw,5.5rem) }
.catalogue { padding-block: 26px 64px }
.index { flex-wrap: wrap; gap: 12px; padding: 12px 0 26px }
.index a { background: #e7ede3; padding: 10px 15px; border-radius: 3px }
.index a:hover { background: #d8e1d4 }
.service-group { border-top: 1px solid var(--line); padding-block: 40px; scroll-margin-top: 12px }
.group-title .icon { margin-bottom: 12px }
article + article { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px }
.reading p:first-child { margin-top: 0 }
address { font-style: normal; max-width: 330px; margin: 18px 0 }
form { padding: clamp(20px,3vw,42px); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass) }
form h2 { font-size: 2.5rem }
form label { display: block; font-weight: 600; margin: 16px 0 }
input, select, textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #9eafa4; padding: 12px; color: var(--ink); background: #fcfcf9; border-radius: 3px }
textarea { resize: vertical }
.contact-links { display: grid; justify-items: start; gap: 6px }
.foot { padding-block: 34px; font-size: .94rem }
@keyframes rise { from { transform: translateY(12px); opacity: .7 } to { transform: none; opacity: 1 } }
@keyframes settle { from { transform: scale(1.025) } to { transform: none } }
@media(max-width: 820px) {
  .bar { gap: 12px } nav { gap: 18px }
  .practice, .split, .service-group { gap: 4% }
}
@media(max-width: 700px) {
  .wrap { width: min(calc(100% - 40px), 580px) }
  .bar { min-height: 68px; flex-wrap: wrap; gap: 0 }
  .brand { font-size: 1.75rem; gap: 10px }
  .seal { width: 42px; height: 42px }
  .topcta { display: none }
  .js #menu { display: inline-flex; gap: 9px; min-height: 44px; background: transparent; color: var(--gold); padding: 8px 12px; border-color: #8a815e }
  .menu-icon { width: 15px; height: 8px; border-block: 1px solid currentColor }
  #nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 6px 0 14px }
  #nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; background: #203b33 }
  .js #nav:not(.open) { display: none }
  .hero-art { height: 78%; bottom: auto }
  .hero-art img { object-position: center 25% }
  .hero-art::after { background: linear-gradient(0deg,#102920 0%,#102920e8 31%,#10292070 80%,#10292036),linear-gradient(90deg,#10292088,transparent 85%) }
  .hero-inner { padding-block: clamp(76px,21vw,108px) 30px }
  .hero .eyebrow { font-size: .72rem; gap: 9px; letter-spacing: .10em; margin-bottom: 12px }
  .hero .eyebrow::before { width: 22px }
  .hero h1 { font-size: clamp(3.05rem,14vw,5rem); line-height: .96 }
  .lead, .intro .wrap>p:last-child { font-size: 1rem; line-height: 1.55; margin-top: 16px }
  .practice, .split, .service-group { grid-template-columns: minmax(0,1fr); gap: 20px }
  .practice, .reading { padding-block: 32px }
  .practice-title .eyebrow { margin-bottom: 10px }
  .practice-title p:not(.eyebrow) { margin: 10px 0 2px; max-width: 36ch }
  .cards { border: 1px solid var(--line); border-radius: 5px; background: #fffefa }
  .card { gap: 10px; padding: 16px 12px; align-items: flex-start }
  .card:last-child { border-bottom: 0 }
  .card h3 { font-size: 1.55rem }
  .card p { font-size: .94rem; line-height: 1.5 }
  .open-icon { align-self: center }
  .actions { gap: 18px; flex-wrap: wrap; margin-top: 20px }
  .actions a, .textlink, .foot a { display: inline-flex; align-items: center; min-height: 44px }
  .actions .cta { padding: 11px 18px }
  .iconbox { width: 35px; height: 35px }
  .iconbox .icon { width: 22px; height: 22px }
  .intro { background-image: linear-gradient(90deg,#142f27 4%,#142f27ee 55%,#142f2799),url('/assets/library-mobile.webp'); padding-block: 34px }
  .intro h1 { font-size: clamp(2.8rem,11vw,4rem) }
  .intro .eyebrow { margin-bottom: 12px }
  .catalogue { padding-block: 16px 32px }
  .index { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 0 18px }
  .index a { display: flex; align-items: center; min-height: 48px; padding: 9px 11px; line-height: 1.25 }
  .service-group { padding-block: 26px }
  .group-title { display: flex; align-items: center; gap: 12px }
  .group-title .icon { margin: 0; flex: none }
  .group-title h2 { font-size: 2.15rem }
  article p { margin-block: 10px 0 }
  article + article { padding-top: 18px; margin-top: 12px }
  .reading form { min-width: 0; padding: 20px 16px }
  form h2 { font-size: 2.1rem }
  input, select, textarea { min-width: 0; max-width: 100% }
  form .cta { width: 100% }
  .home-about { padding-block: 38px }
  .about-photo { height: 190px }
  .contact-links a { display: inline-flex; align-items: center; min-height: 44px }
  .reading .contact-links { display: grid }
  .foot { align-items: flex-start; flex-direction: column; gap: 18px }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}

/* The practice index and its selected service list share one catalogue. */
.directory { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); align-items: start; gap: clamp(24px, 5vw, 76px); padding-block: 44px 64px }
.directory-nav { display: grid; gap: 3px }
.directory-nav a { padding: 12px 14px; background: #eaf0e6; line-height: 1.4 }
.directory-nav a:hover, .directory-nav a[aria-current] { background: var(--green); color: white }
.directory-panel { scroll-margin-top: 18px; margin-bottom: 32px }
.directory-panel h2 { font-size: clamp(2.1rem, 3.1vw, 3.3rem); margin-bottom: 22px }
.directory-panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line) }
.directory-panel li { border-bottom: 1px solid var(--line) }
.directory-panel li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 4px; min-height: 46px }
.directory-panel li a:hover { background: #eef1e8 }
.directory-panel small { color: var(--brass); text-decoration: underline; text-underline-offset: 3px }
@media(max-width: 700px) {
  .directory { grid-template-columns: minmax(0,1fr); gap: 24px; padding-block: 24px 40px }
  .directory-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px }
  .directory-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px; font-size: .88rem }
}
#draft { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line) }
.draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px }
#copy-draft { border: 1px solid var(--line); padding: 10px 14px; min-height: 44px; background: var(--paper); color: var(--ink); cursor: pointer }
#copy-status:empty { margin: 0 }
