/*
  NP-Led House Calls
  Quiet editorial palette: navy #11283b, gold #dbc495, ivory #f7f4ed.
*/

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/CormorantGaramond.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/Inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #11283b;
  --navy-deep: #0c1e2d;
  --navy-soft: #1b3950;
  --gold: #dbc495;
  --gold-bright: #e8d6aa;
  --ivory: #f7f4ed;
  --paper: #fffdf8;
  --ink: #172e40;
  --muted: #53616a;
  --line: rgba(17, 40, 59, 0.17);
  --line-light: rgba(247, 244, 237, 0.26);
  --shadow-soft: 0 18px 46px rgba(10, 29, 43, 0.10);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --container: 76rem;
  --gutter: clamp(1.125rem, 4vw, 3.25rem);
  --header-height: 5.45rem;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

[hidden] {
  display: none !important;
}

:target {
  scroll-margin-top: calc(var(--header-height) + 1.4rem);
}

::selection {
  background: var(--gold);
  color: var(--navy-deep);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.2rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* Launch status */
.launch-banner {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(219, 196, 149, 0.38);
  color: var(--ivory);
}

.launch-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.35rem;
  padding: 0.45rem 0;
  color: rgba(247, 244, 237, 0.92);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.105em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.status-dot {
  width: 0.46rem;
  height: 0.46rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(219, 196, 149, 0.12);
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(17, 40, 59, 0.11);
  background: rgba(247, 244, 237, 0.96);
  box-shadow: 0 6px 20px rgba(10, 29, 43, 0.035);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 0.8rem;
}

.brand-link {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  line-height: 1.15;
  text-decoration: none;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.brand-name {
  overflow: hidden;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.12rem + 0.5vw, 1.52rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-subtitle {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  width: 2.8rem;
  min-height: 2.8rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.18rem;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.menu-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
}

.site-nav {
  position: absolute;
  z-index: 35;
  top: calc(100% + 1px);
  right: var(--gutter);
  left: var(--gutter);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 0.35rem 0.35rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.site-nav:not(.is-open) {
  display: none;
}

.site-nav a {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 680;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav a:last-child {
  border-bottom: 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #efe9db;
}

.site-nav .nav-phone {
  background: var(--navy);
  color: var(--ivory);
}

.site-nav .nav-phone:hover,
.site-nav .nav-phone:focus-visible {
  background: var(--navy-soft);
}

/* Reusable typographic and interaction primitives */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  color: #8d7543;
  font-size: 0.69rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 2.5rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 8vw, 6.6rem);
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 550;
}

h2 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.45rem, 4.7vw, 4.25rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  letter-spacing: -0.035em;
}

p {
  margin-bottom: 1rem;
}

.button,
.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.button {
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  cursor: pointer;
  transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-bright);
}

.button-navy {
  background: var(--navy);
  color: var(--ivory);
}

.button-navy:hover,
.button-navy:focus-visible {
  background: var(--navy-soft);
}

.text-link {
  width: fit-content;
  min-height: 2.75rem;
  border-bottom: 1px solid currentColor;
  letter-spacing: 0.035em;
  transition: color 170ms ease, gap 170ms ease;
}

.text-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.text-link:hover {
  gap: 0.8rem;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section-intro > p,
.area-heading > p {
  max-width: 39rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1vw + 0.65rem, 1.21rem);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}

.hero::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(45%, 43rem);
  content: "";
  background: #18364b;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: clamp(2.5rem, 6vw, 6.5rem);
  right: min(47%, 45rem);
  width: clamp(3rem, 8vw, 9.5rem);
  height: 1px;
  content: "";
  background: var(--gold);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  align-items: center;
  gap: clamp(2.3rem, 5vw, 5.75rem);
  padding-block: clamp(3.5rem, 7vw, 7.75rem) clamp(3rem, 5vw, 5.5rem);
}

.hero-copy {
  min-width: 0;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  color: var(--ivory);
}

.hero-description {
  max-width: 35rem;
  margin-bottom: 1.6rem;
  color: rgba(247, 244, 237, 0.86);
  font-size: clamp(1.11rem, 1vw + 0.7rem, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.3rem;
  margin-bottom: 1.4rem;
}

.hero-actions .text-link {
  color: var(--ivory);
}

.hero-status {
  max-width: 41rem;
  margin-bottom: 1.65rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--gold);
  color: rgba(247, 244, 237, 0.8);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-provider {
  display: grid;
  max-width: 29rem;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-light);
}

.hero-provider small {
  grid-row: span 2;
  padding-top: 0.16rem;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-provider strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-provider span {
  color: rgba(247, 244, 237, 0.7);
  font-size: 0.75rem;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  width: min(100%, 31rem);
  margin: 0 auto;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -1rem;
  right: -0.8rem;
  width: 57%;
  height: 52%;
  content: "";
  border-top: 1px solid rgba(219, 196, 149, 0.8);
  border-right: 1px solid rgba(219, 196, 149, 0.8);
}

.hero-art {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  box-shadow: 1.45rem 1.45rem 0 rgba(219, 196, 149, 0.15);
}

.visual-caption {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: rgba(247, 244, 237, 0.74);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.visual-caption::before {
  width: 1.8rem;
  height: 1px;
  content: "";
  background: var(--gold);
}

.credential-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.credential-inner {
  display: grid;
  grid-template-columns: 1fr;
}

.credential-item {
  display: grid;
  gap: 0.2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.credential-item:last-child {
  border-bottom: 0;
}

.credential-item small {
  color: #7a6d57;
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.credential-item strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Care approach: deliberately long editorial rows rather than cards */
#approach {
  background: var(--ivory);
}

.approach-layout {
  display: grid;
  gap: clamp(2.75rem, 7vw, 7rem);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  gap: 0.55rem;
  padding: clamp(1.55rem, 3vw, 2.45rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-number,
.county-index {
  color: #9a824f;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 650;
  font-variant-numeric: lining-nums;
  line-height: 1.1;
}

.service-row h3 {
  margin-bottom: 0.55rem;
}

.service-row p {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Provider panel */
.provider-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}

.provider-section::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(36vw, 33rem);
  height: 100%;
  content: "";
  border-left: 1px solid rgba(219, 196, 149, 0.19);
  background: linear-gradient(145deg, transparent 12%, rgba(219, 196, 149, 0.08) 12%, transparent 12.35%);
}

.provider-layout {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.provider-section .eyebrow {
  color: var(--gold);
}

.provider-section h2,
.provider-section h3 {
  color: var(--ivory);
}

.provider-designation {
  margin-bottom: 1.15rem;
  color: rgba(247, 244, 237, 0.92);
  font-size: clamp(1.1rem, 1vw + 0.7rem, 1.32rem);
  line-height: 1.45;
}

.provider-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
}

.provider-credentials span {
  padding-right: 0.9rem;
  border-right: 1px solid rgba(219, 196, 149, 0.52);
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.provider-credentials span:last-child {
  border-right: 0;
}

.provider-copy > p {
  max-width: 43rem;
  color: rgba(247, 244, 237, 0.88);
  font-size: clamp(1.04rem, 0.95rem + 0.4vw, 1.2rem);
}

.provider-note {
  margin: 1.6rem 0 0;
  padding: 1rem 0 1rem 1.05rem;
  border-left: 2px solid var(--gold);
  color: rgba(247, 244, 237, 0.75);
  font-size: 0.9rem;
  line-height: 1.65;
}

.provider-facts {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 2.3rem;
  border-top: 1px solid var(--line-light);
}

.provider-facts > div {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-light);
}

.provider-facts small {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.provider-facts strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.22;
}

/* Planned service territory */
.service-area {
  background: var(--paper);
}

.area-heading {
  display: grid;
  gap: 0;
  padding-bottom: clamp(2rem, 4vw, 3.75rem);
}

.county-list {
  border-top: 1px solid var(--line);
}

.county-row {
  display: grid;
  grid-template-columns: 2.55rem minmax(0, 1fr);
  column-gap: 0.55rem;
  padding: clamp(1.7rem, 3.7vw, 3.1rem) 0;
  border-bottom: 1px solid var(--line);
}

.county-row h3 {
  grid-column: 2;
  margin-bottom: 0.3rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.county-row p {
  grid-column: 2;
  max-width: 45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.county-label {
  grid-column: 2;
  order: -1;
  margin-bottom: 0.55rem;
  color: #8a7547;
  font-size: 0.66rem;
  font-weight: 770;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.area-note {
  max-width: 57rem;
  margin: 1.65rem 0 0;
  color: #68716f;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Referral / partner section */
.partners-section {
  border-top: 1px solid var(--line);
  background: #eee9df;
}

.partners-layout {
  display: grid;
  gap: clamp(2.3rem, 7vw, 6rem);
}

.partner-copy {
  align-self: end;
  max-width: 40rem;
}

.partner-copy > p {
  color: var(--muted);
}

.partner-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.3rem 0 1.45rem;
}

.partner-types span {
  padding: 0.48rem 0.66rem;
  border: 1px solid rgba(17, 40, 59, 0.24);
  color: var(--navy);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
}

.partner-copy .text-link {
  color: var(--navy);
}

/* FAQ: composed as a quiet list */
.faq-section {
  background: var(--ivory);
}

.faq-layout {
  display: grid;
  gap: clamp(2.4rem, 7vw, 6.5rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 600;
  line-height: 1.14;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: none;
  stroke: #8d7543;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 46rem;
  margin: 0 2.1rem 1.45rem 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Contact / map */
.contact-section {
  position: relative;
  background: #f1ede5;
}

.contact-layout {
  display: grid;
  gap: clamp(2.75rem, 7vw, 7rem);
}

.contact-copy > p:not(.contact-warning) {
  max-width: 38rem;
  color: var(--muted);
}

.contact-phone {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1.45rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-decoration-color: rgba(17, 40, 59, 0.38);
  text-decoration-thickness: 1px;
}

.contact-phone svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
}

.contact-details {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.contact-details > div {
  display: grid;
  gap: 0.25rem;
}

.contact-details dt {
  color: #837551;
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.55;
}

.contact-details a {
  text-decoration-color: rgba(17, 40, 59, 0.38);
}

.optional-directions {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--navy);
  font-size: 0.79rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-warning {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid #9c714c;
  color: #5c5d59;
  font-size: 0.83rem;
  line-height: 1.65;
}

.map-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 35px rgba(10, 29, 43, 0.08);
}

.map-label {
  display: grid;
  gap: 0.22rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.map-label small {
  color: #88774f;
  font-size: 0.63rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.map-label strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.location-map {
  display: grid;
  min-height: 19rem;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(17, 40, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 40, 59, 0.035) 1px, transparent 1px),
    #e7e5de;
  background-size: 24px 24px;
}

.location-map > iframe,
.location-map > img {
  width: 100%;
  min-height: 19rem;
  border: 0;
}

.map-loading {
  display: grid;
  max-width: 19rem;
  justify-items: center;
  gap: 0.9rem;
  padding: 1.8rem;
  color: var(--navy);
  text-align: center;
}

.map-loading svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.45;
}

.map-loading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.map-panel > .button,
.map-panel #load-map {
  width: calc(100% - 2.3rem);
  margin: 1rem 1.15rem 0;
}

.map-help {
  margin: 0;
  padding: 0.95rem 1.15rem 1.2rem;
  color: #68716f;
  font-size: 0.75rem;
  line-height: 1.55;
}

/* Emergency and footer */
.emergency-note {
  border-top: 1px solid rgba(219, 196, 149, 0.35);
  background: var(--navy-deep);
  color: var(--ivory);
}

.emergency-note > .container {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-block: 1.2rem;
}

.emergency-note svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
}

.emergency-note p {
  max-width: 60rem;
  margin: 0;
  color: rgba(247, 244, 237, 0.88);
  font-size: 0.8rem;
  line-height: 1.6;
}

.site-footer {
  background: var(--navy);
  color: var(--ivory);
}

.footer-layout {
  display: grid;
  gap: 1.75rem;
  padding-block: clamp(2.6rem, 5vw, 4.25rem);
}

.footer-brand .brand-name {
  display: block;
  overflow: visible;
  color: var(--ivory);
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  text-overflow: clip;
  white-space: normal;
}

.footer-brand p {
  max-width: 29rem;
  margin: 0.65rem 0 0;
  color: rgba(247, 244, 237, 0.7);
  font-size: 0.83rem;
  line-height: 1.6;
}

.footer-meta {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-meta p,
.footer-meta small {
  margin: 0;
  color: rgba(247, 244, 237, 0.72);
  font-size: 0.74rem;
  line-height: 1.5;
}

.back-top {
  width: fit-content;
  min-height: 2.75rem;
  align-self: start;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 730;
  letter-spacing: 0.1em;
  line-height: 2.6rem;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-bottom {
  padding-block: 1rem;
  border-top: 1px solid var(--line-light);
}

.footer-bottom p {
  margin: 0;
  color: rgba(247, 244, 237, 0.52);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* Wide layouts */
@media (min-width: 44rem) {
  .credential-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .credential-item {
    min-height: 5.8rem;
    padding: 1.25rem 1.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .credential-item:first-child {
    padding-left: 0;
  }

  .credential-item:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .provider-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .provider-facts > div {
    padding: 1.15rem 1.15rem;
    border-right: 1px solid var(--line-light);
    border-bottom: 0;
  }

  .provider-facts > div:first-child {
    padding-left: 0;
  }

  .provider-facts > div:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .footer-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.8fr) auto;
    align-items: end;
  }
}

@media (min-width: 58rem) {
  :root {
    --header-height: 5.8rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    width: auto;
    align-items: center;
    gap: clamp(0.85rem, 1.7vw, 1.55rem);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav:not(.is-open) {
    display: flex;
  }

  .site-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 0.73rem;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .site-nav a:not(.nav-phone) {
    box-shadow: inset 0 -1px 0 transparent;
  }

  .site-nav a:not(.nav-phone):hover,
  .site-nav a:not(.nav-phone):focus-visible {
    background: transparent;
    box-shadow: inset 0 -1px 0 var(--navy);
  }

  .site-nav .nav-phone {
    min-height: 2.6rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--navy);
    border-radius: 0.16rem;
    background: var(--navy);
    color: var(--ivory);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.76fr);
  }

  .hero-visual {
    justify-self: end;
    margin: 0;
  }

  .approach-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: minmax(14rem, 0.68fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .provider-layout {
    grid-template-columns: minmax(16rem, 0.76fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .partners-layout {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1fr);
    align-items: end;
  }

  .county-row {
    grid-template-columns: minmax(3.5rem, 0.25fr) minmax(11rem, 0.75fr) minmax(0, 1.5fr);
    column-gap: 1.25rem;
    align-items: start;
  }

  .county-row h3 {
    grid-column: 2;
    grid-row: span 2;
    margin: 0;
  }

  .county-row p {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .county-label {
    grid-column: 3;
    margin-top: 0.32rem;
  }
}

@media (min-width: 72rem) {
  .service-row {
    grid-template-columns: 4.35rem minmax(0, 1fr);
    gap: 1.15rem;
  }

  .service-row > div {
    display: grid;
    grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.15fr);
    column-gap: 2.5rem;
    align-items: start;
  }

  .service-row h3 {
    margin-bottom: 0;
  }
}

@media (max-width: 23.5rem) {
  .brand-mark {
    width: 1.95rem;
    height: 1.95rem;
  }

  .brand-subtitle {
    display: none;
  }

  .header-inner {
    gap: 0.45rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: flex-start;
  }

  .provider-credentials {
    display: grid;
  }

  .provider-credentials span {
    padding-right: 0;
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
