@font-face {
  font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap;
}
:root {
  --ink: #182f28;
  --muted: #505a51;
  --paper: #f7f5ee;
  --line: #d9dbd1;
  --white: #fffef9;
  --green: #193f33;
  --accent: #b4472d;
  --focus: #9b3b25;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.layout { width: min(1184px, calc(100% - 88px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 1; top: 0; left: 1rem; transform: translateY(-135%); padding: .6rem; background: var(--white); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.02rem; font-weight: 700; letter-spacing: -.036em; }
.mark { display: flex; align-items: center; justify-content: center; gap: 3px; width: 32px; height: 32px; border-radius: 9px; background: var(--green); }
.mark i { transform: skewX(-21deg); width: 3px; height: 13px; background: #e9d8ae; border-radius: 1.5px; }
nav { display: flex; align-items: center; gap: 1.45rem; font-size: .84rem; font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-button { padding: .65rem .8rem; border: 1px solid #a2a99d; border-radius: 6px; }
.hero { padding: clamp(2.25rem, 5.8vw, 4.4rem) 0 1.55rem; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(1.75rem, 5.2vw, 5rem); align-items: center; }
.location { display: flex; align-items: center; gap: .43rem; color: var(--muted); font-weight: 700; font-size: .79rem; letter-spacing: .055em; text-transform: uppercase; }
.location span { display: inline-block; width: .58rem; height: .58rem; background: var(--accent); border-radius: 50%; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: .99; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7.35vw, 6.25rem); margin: .21em 0 .24em; }
h1 em { font-weight: 400; color: var(--accent); }
.intro { font-size: clamp(.95rem, 1.5vw, 1.14rem); color: var(--muted); max-width: 35em; }
.hero-image { aspect-ratio: 1.52; background: #b3b6a6; border-radius: 12px 12px 64px 12px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.search-wrap { padding-bottom: 2.6rem; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.search-panel { display: grid; grid-template-columns: .82fr 1.1fr max-content; gap: .95rem; align-items: end; padding: 1.12rem 1.25rem; background: #e9eee6; border: 1px solid #cad3c8; border-radius: 12px; }
label { display: block; font-size: .83rem; font-weight: 700; min-width: 0; }
input, select, textarea { width: 100%; display: block; color: var(--ink); background: var(--white); border: 1px solid #a4ada2; border-radius: 6px; padding: .56rem .7rem; margin-top: .3rem; font-size: 1rem; font-weight: 500; min-height: 45px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.6em; min-height: 45px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; font-size: .92rem; padding: .57rem .92rem; }
.primary { color: var(--white); background: var(--green); }
.primary:hover { background: #10543c; }
.secondary { color: var(--green); background: var(--white); border-color: #a4ada2; }
.results { padding-bottom: 3.7rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: .8rem; }
h2 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
#provider-heading:focus { outline-offset: 5px; }
#result-count { margin-top: .38rem; font-size: .88rem; font-weight: 700; }
.directory-note { margin: .5rem 0 1.2rem; font-size: .81rem; color: var(--muted); }
.text-button { border: 0; background: transparent; padding: .45rem .1rem; min-height: 44px; text-decoration: underline; text-underline-offset: .22em; color: var(--ink); font-size: .88rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.card { display: flex; flex-direction: column; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.territory { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
h3 { font-size: 1.26rem; letter-spacing: -.035em; margin: .3rem 0 .42rem; }
.card-copy { font-size: .89rem; color: var(--muted); margin-bottom: .88rem; }
.details { margin-top: auto; border-top: 1px solid var(--line); }
.details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .16rem .65rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .81rem; }
.details dt { color: var(--muted); }
.details dd { font-weight: 600; }
.visit { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; margin-top: .7rem; font-size: .85rem; font-weight: 700; }
.quote-section { background: var(--green); color: var(--white); padding: clamp(2.7rem, 6vw, 5.5rem) 0; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.9rem, 6vw, 6rem); align-items: start; }
.quote-grid h2 { margin-bottom: .35em; }
.quote-grid p { max-width: 34em; }
.quote-note { font-size: .83rem; margin-top: .8rem; color: #e1e9dc; }
.quote-card { background: var(--white); color: var(--ink); border-radius: 12px; padding: clamp(1.05rem, 3vw, 1.75rem); }
.quote-card legend { font-weight: 700; font-size: 1.13rem; padding: 0; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: .85rem 0 1.13rem; }
.quote-card small { color: var(--muted); }
#draft-result { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
#draft { margin-bottom: .55rem; resize: vertical; }
#copy-status { color: var(--muted); font-size: .82rem; margin-top: .4rem; }
#intake-form { border-top: 1px solid var(--line); padding-top: 1.15rem; margin-top: 1.15rem; }
.intake-provider { margin-top: .85rem; }
.span-all { grid-column: 1 / -1; }
.consent { display: flex; align-items: start; gap: .6rem; font-weight: 500; }
.consent input { width: 1.1rem; min-height: 1.1rem; flex: 0 0 auto; margin: .15rem 0 0; accent-color: var(--green); }
.intake-note { margin: .8rem 0; color: var(--muted); font-size: .82rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#intake-status:not(:empty) { margin-top: .8rem; background: #edf0e7; padding: .7rem; font-size: .9rem; overflow-wrap: anywhere; }
.footer-inner { padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .9rem; font-size: .8rem; }
.footer-inner p { color: var(--muted); }
@media (max-width: 880px) {
  .layout { width: calc(100% - 48px); }
  .card { padding: .9rem; }
}
@media (max-width: 670px) {
  .layout { width: calc(100% - 36px); }
  .header-inner { min-height: 58px; }
  nav { gap: .55rem; }
  nav a:first-child { display: none; }
  .nav-button { font-size: .71rem; padding: .37rem .45rem; }
  .brand { font-size: .78rem; gap: .35rem; }
  .mark { width: 24px; height: 24px; border-radius: 6px; }
  .hero { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.8rem 0 .9rem; }
  .desktop { display: none; }
  .location { font-size: .7rem; }
  h1 { font-size: clamp(3.1rem, 11vw, 4.6rem); }
  .hero-image { aspect-ratio: 2.5; border-radius: 8px 8px 30px 8px; }
  .search-panel, .cards, .quote-grid { grid-template-columns: 1fr; }
  .search-panel { gap: .65rem; padding: .85rem; }
  .search-wrap { padding-bottom: 1.65rem; }
  .results { padding-bottom: 2.45rem; }
}
@media (max-width: 365px) {
  .quote-fields { grid-template-columns: 1fr; }
}
