:root {
  --paper: #f6f5ee;
  --ink: #142b22;
  --muted: #475950;
  --line: #c8cfc0;
  --red: #30533b;
  --blue: #285237;
  --white: #fffef8;
  --pine: #102e24;
  --pine-deep: #0b251c;
  --lime: #d7ef79;
  --lime-ink: #182f1d;
  --soft-green: #e7ecde;
  --focus: #2166ad;
  --sans: "Avenir Next", Avenir, system-ui, sans-serif;
  --display: "Avenir Next", Avenir, system-ui, sans-serif;
  --metrics: ui-monospace, "SF Mono", Consolas, monospace;
  --radius: 14px;
}

body {
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1200px, calc(100% - 88px));
}

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

.skip {
  z-index: 10;
}

.mast,
footer {
  background: var(--pine-deep);
  color: var(--white);
  border-color: #3d594a;
}

.mast {
  padding: 15px 0;
}

.brand {
  min-height: 44px;
  color: var(--white);
  font-weight: 770;
  font-size: 1rem;
}

.brand:hover,
.mast nav a:hover,
.mast nav a[aria-current],
footer nav a:hover {
  color: var(--lime);
}

.stripe {
  width: 36px;
  height: 36px;
  background: var(--lime);
  border-radius: 5px 12px 5px 12px;
  position: relative;
  overflow: hidden;
}

.stripe::before {
  content: "";
  position: absolute;
  width: 33px;
  height: 30px;
  top: 16px;
  left: 2px;
  border: 2px solid var(--pine);
  border-radius: 11px 0 0 0;
  transform: rotate(-34deg);
  box-shadow: 0 0 0 3px var(--lime), 0 0 0 5px var(--pine), 0 0 0 8px var(--lime), 0 0 0 10px var(--pine);
}

.mast nav,
footer nav {
  gap: 1.7rem;
}

.mast nav a,
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f2f4e9;
  font-weight: 620;
}

.mast nav a[aria-current] {
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}

.mast :focus-visible,
.hero :focus-visible,
footer :focus-visible {
  outline-color: var(--lime);
}

.menu {
  color: var(--white);
  border-color: #778b7e;
  border-radius: 6px;
}

h1,
.section-head h2,
.tool-notes h2,
.listing h2,
.article-body h2,
.guide-card h2,
.guide-card h3 {
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -.045em;
}

.eyebrow {
  display: block;
  color: #45624a;
  font: 700 .78rem/1.35 var(--metrics);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: stretch;
  gap: clamp(1.4rem, 4vw, 3.8rem);
  padding-block: 36px 42px;
  background: var(--pine);
  box-shadow: 0 0 0 100vmax var(--pine);
  clip-path: inset(0 -100vmax);
  color: var(--white);
}

.hero-copy {
  align-self: center;
  padding-block: 20px;
}

.hero .eyebrow {
  color: var(--lime);
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.25rem, 5.65vw, 5.65rem);
  font-weight: 820;
  line-height: .94;
  letter-spacing: -.078em;
  margin-bottom: 19px;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--lime);
  font-weight: inherit;
  font-style: normal;
}

.hero p {
  color: #e2e9db;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.52;
  max-width: 40ch;
  margin-bottom: 22px;
}

.hero .plain {
  color: var(--lime);
}

.hero-photo {
  display: grid;
  align-self: stretch;
  aspect-ratio: auto;
  isolation: isolate;
  min-height: clamp(360px, 40vw, 550px);
  border: 0;
  border-radius: 132px 12px 12px 12px;
  background: #93654c;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  object-position: 75% 50%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 11px;
  border: 1px solid rgb(255 255 236 / 77%);
  border-radius: 123px 5px 5px 5px;
}

.button {
  min-height: 48px;
  border-radius: 8px;
  padding: .65rem 1rem;
  font-weight: 750;
  text-align: center;
}

.primary {
  color: var(--white);
  background: var(--pine);
}

.primary:hover {
  color: var(--white);
  background: #215137;
}

.hero .primary {
  color: var(--lime-ink);
  background: var(--lime);
}

.hero .primary:hover {
  color: var(--lime-ink);
  background: #e9ffa0;
}

.outline {
  color: var(--ink);
  border-color: #8b9b8c;
}

.outline:hover {
  color: var(--ink);
  background: var(--soft-green);
}

.plain {
  color: #285237;
  font-weight: 730;
}

.home-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  max-width: 530px;
}

.home-search label {
  display: grid;
  gap: .3rem;
  min-width: 0;
  font-size: .86rem;
  font-weight: 680;
  color: inherit;
}

.home-search input,
.home-search select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: .5rem .7rem;
  color: var(--ink);
  border: 1px solid #9faa95;
  border-radius: 8px;
  background: var(--white);
}

.home-search .button {
  grid-column: 1/-1;
  justify-self: start;
}

.hero .actions {
  margin-top: 9px;
}

.hero .actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .3rem;
}

.home-discovery,
.field {
  padding-block: clamp(35px, 5vw, 65px);
}

.section-head {
  align-items: flex-end;
  column-gap: 24px;
  row-gap: 8px;
  margin-bottom: 20px;
}

.section-head h2 {
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-wrap: balance;
}

.section-head p {
  color: var(--muted);
  max-width: 56ch;
  margin-top: .55rem;
}

.discovery-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.discovery-card {
  min-width: 0;
  min-height: 190px;
  padding: clamp(14px, 1.9vw, 23px);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.discovery-card:has(img) {
  padding-top: 0;
}

.discovery-card > img {
  width: calc(100% + 2 * clamp(14px, 1.9vw, 23px));
  max-width: none;
  margin-inline: calc(-1 * clamp(14px, 1.9vw, 23px));
  aspect-ratio: 768 / 400;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  margin-bottom: 6px;
}

.discovery-card:hover,
.discovery-card:focus-within {
  border-color: #7f9c7c;
}

.discovery-card h3 {
  font-size: clamp(1.25rem, 2.05vw, 1.65rem);
  letter-spacing: -.04em;
}

.discovery-card p {
  max-width: 39ch;
  color: var(--muted);
  margin-top: .35rem;
}

.discovery-card > span[aria-hidden] {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: auto 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 750;
}

.discovery-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: .15em;
}

.article-services .discovery-grid {
  gap: 9px;
}

.article-services .discovery-card {
  --card-padding: 12px;
  line-height: 1.42;
  font-size: .91rem;
  padding: 0 var(--card-padding) var(--card-padding);
}

.article-services .discovery-card > img {
  width: calc(100% + 2 * var(--card-padding));
  margin-inline: calc(-1 * var(--card-padding));
}

.quick {
  gap: 0;
  margin-top: 0;
  border: 1px solid #adbc9e;
  border-radius: var(--radius);
  background: var(--soft-green);
}

.quick a {
  padding: 17px 18px;
  border-radius: var(--radius);
}

.quick a+a {
  border-color: #adbc9e;
}

.quick a:hover {
  background: #dbe5ce;
}

.quick strong {
  font-size: 1.08rem;
}

.quick span {
  font-size: .91rem;
}

.quick b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  color: var(--ink);
  background: var(--lime);
}

.guide-card {
  overflow: visible;
  border-color: var(--line);
  border-radius: var(--radius);
}

.guide-card > a {
  border-radius: var(--radius);
}

.guide-card:hover {
  border-color: #7f9c7c;
}

.guide-card img {
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  border-bottom: 1px solid var(--line);
}

.guide-card h2,
.guide-card h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.guide-card div {
  padding: 15px 18px 20px;
}

small {
  color: #36583c;
}

.crumb {
  padding-top: 20px;
  font-size: .87rem;
  gap: .35rem;
}

.crumb a {
  color: #285237;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.crumb span {
  padding-inline: 0;
}

.intro {
  padding-block: 25px 27px;
}

.intro h1,
.article h1 {
  font-size: clamp(2.6rem, 6vw, 5.45rem);
  letter-spacing: -.072em;
  line-height: .99;
}

.intro h1 {
  max-width: 22ch;
}

.intro p,
.article header p {
  font-size: clamp(1rem, 2vw, 1.23rem);
  max-width: 64ch;
  line-height: 1.52;
  margin-top: 13px;
}

.directory {
  padding-bottom: 60px;
}

.directory-help {
  align-items: center;
  background: var(--soft-green);
  border: 1px solid #b9c6ae;
  border-radius: var(--radius);
  padding: .7rem 1.15rem;
  margin-bottom: 14px;
}

.directory-help .plain {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.filter {
  grid-template-columns: minmax(155px, 1.35fr) repeat(5, minmax(105px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 11px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.directory-coverage-summary {
  padding: .4rem 1rem .7rem;
  margin-bottom: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.directory-coverage-summary summary {
  width: fit-content;
  max-width: 100%;
  padding-block: .65rem;
  cursor: pointer;
  font-weight: 700;
}

.region-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr));
  gap: .6rem;
  margin: .35rem 0 .8rem;
}

.region-summary > div {
  padding: .75rem;
  background: var(--soft-green);
  border-radius: 8px;
  font-size: .93rem;
}

.region-summary dt { font-weight: 750; }
.region-summary dd { margin: .2rem 0 0; }
.directory-coverage-summary > p { max-width: 75ch; }

.listing-access {
  display: flex;
  flex-wrap: wrap;
  column-gap: .7rem;
  font-size: .84rem;
  color: var(--muted);
}

.listing-access strong { color: var(--ink); }

.filter label,
.settings label,
.time-inputs label {
  font-weight: 700;
}

.filter input,
.filter select,
.settings select,
.settings input:not([type=range]),
.time-inputs input {
  min-height: 48px;
  padding: .5rem .7rem;
  border: 1px solid #889c8b;
  border-radius: 8px;
}

.filter ::placeholder,
.home-search ::placeholder {
  color: #576b5d;
  opacity: 1;
}

.directory-results-head,
.directory-views {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.directory-results-head {
  margin-bottom: 10px;
}

.directory-views {
  gap: 4px;
  padding: 4px;
  background: var(--soft-green);
  border-radius: 9px;
}

.directory-views button {
  min-height: 44px;
  padding: .35rem .8rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.directory-views button[aria-pressed="true"],
.directory-views button[aria-selected="true"] {
  border-color: #9caf99;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(18 48 36 / 10%);
}

#listing-count {
  color: var(--ink);
  font-weight: 730;
}

#directory-empty {
  border: 1px solid #b7c4b5;
  border-radius: var(--radius);
  padding: 1.3rem;
  margin-block: 12px;
  color: var(--ink);
  background: var(--soft-green);
}

#directory-empty .button {
  margin-top: .65rem;
}

.coverage-map {
  margin-block: 14px 22px;
  padding: clamp(12px, 2.4vw, 24px);
  border: 1px solid #aebaab;
  border-radius: var(--radius);
  background: var(--soft-green) radial-gradient(circle at center, #c5cebd 1px, transparent 1.5px) 0 0 / 18px 18px;
}

.coverage-map h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: -.04em;
}

.coverage-map p {
  max-width: 68ch;
  margin-top: .25rem;
  color: var(--muted);
}

.coverage-map a {
  color: var(--ink);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
  width: min(100%, 680px);
  margin: 18px auto 10px;
}

.map-tile {
  grid-column: var(--col);
  grid-row: var(--row);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  min-width: 0;
  min-height: 44px;
  padding: 4px 2px;
  border: 1px solid #758f77;
  border-radius: 5px;
  background: #f8f9eb;
  color: var(--ink);
  font: 750 .79rem/1.15 var(--metrics);
}

.map-tile span + span,
.map-tile small {
  font-size: .68rem;
  color: inherit;
}

button.map-tile:hover:not(:disabled),
.map-tile[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--lime);
}

.map-tile:disabled,
span.map-tile {
  opacity: 1;
  cursor: default;
  color: #55695b;
  border-color: #b3bfb0;
  background: #dce4d9;
}

.listing-grid {
  gap: 15px;
}

.listing {
  border-radius: var(--radius);
  padding: clamp(15px, 2.1vw, 21px);
  gap: 8px;
}

.listing h2 {
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  line-height: 1.1;
}

.listing-services {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.listing-services > * {
  border-radius: 4px;
  padding: .22rem .45rem;
  color: #24422f;
  background: var(--soft-green);
  font-size: .79rem;
  font-weight: 650;
}

.listing-actions {
  width: 100%;
  gap: .15rem .65rem;
  border-top: 1px solid var(--line);
}

.listing-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.method-note {
  font-size: .88rem;
}

.tool-grid {
  gap: 20px;
}

.instrument,
.tool-notes {
  border-radius: var(--radius);
}

.instrument {
  background: var(--white);
  border-top: 5px solid var(--pine);
}

.instrument h2 {
  font-size: 1.32rem;
  letter-spacing: -.045em;
}

.tool-notes {
  background: var(--soft-green);
}

.tool-notes h2 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.tool-notes a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.beat {
  background: #e8edde;
  border-color: #94a998;
  box-shadow: 0 0 0 5px #f4f5eb;
}

.beat[data-beat="normal"] {
  background: #95b35f;
  border-color: #537239;
}

.beat[data-beat="accent"] {
  background: var(--lime);
  border-color: var(--pine);
}

.tempo button,
.presets button {
  border-radius: 8px;
  border-color: #a5b6a6;
}

.tempo button:hover,
.presets button:hover,
.presets button[aria-pressed="true"] {
  background: var(--lime);
  border-color: #6d885d;
  color: var(--ink);
}

#tempo-number {
  font-family: var(--metrics);
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.075em;
  font-size: clamp(3.5rem, 8vw, 6rem);
}

#pace-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#pace-result strong {
  display: grid;
  align-content: center;
  min-height: 59px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft-green);
  font: 750 clamp(1rem, 2.65vw, 1.35rem)/1.25 var(--metrics);
  overflow-wrap: anywhere;
}

#pace-result strong:first-child {
  background: var(--lime);
}

#metro-status,
#timer {
  font-weight: 590;
}

[aria-invalid="true"] {
  border-color: #a42d28 !important;
  outline: 2px solid #a42d28;
  outline-offset: 1px;
}

[aria-invalid="true"]:focus-visible {
  outline-color: var(--focus);
}

.cadence-skeleton {
  border-color: #afbea9;
  border-left-color: var(--pine);
  animation: none;
}

.cadence-skeleton span {
  animation: none;
}

.whole,
.article {
  padding-bottom: 64px;
}

.article {
  padding-top: 27px;
}

.article header,
.article figure,
.article-body {
  max-width: 820px;
}

.article header small {
  width: fit-content;
  margin-bottom: 13px;
  color: #386243;
  font: 700 .77rem/1.45 var(--metrics);
  letter-spacing: .02em;
}

.article figure {
  margin-top: 25px;
}

.article figure img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article figcaption {
  margin-top: 7px;
  font-size: .85rem;
}

.article-body {
  color: #263e32;
  font-size: 1.07rem;
  line-height: 1.65;
}

.article-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  color: var(--ink);
}

.article-body section {
  margin-block: 23px;
}

footer {
  padding: 23px 0 29px;
}

@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 56px);
  }

  .filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    gap: 22px;
  }

  .hero-photo {
    min-height: 330px;
    border-top-left-radius: 98px;
  }

  .hero-photo::after {
    border-top-left-radius: 89px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 34px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 19px;
    padding-block: 24px 26px;
  }

  .hero-copy {
    padding-block: 7px 0;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.55rem);
    margin-bottom: 13px;
  }

  .hero p {
    margin-bottom: 15px;
  }

  .hero-photo {
    min-height: 0;
    aspect-ratio: 1.68;
    border-top-left-radius: 66px;
  }

  .hero-photo img {
    object-position: 56% 50%;
  }

  .hero-photo::after {
    inset: 7px;
    border-top-left-radius: 60px;
  }

  .discovery-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .directory-help {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }

  .directory-help {
    gap: 0;
  }

  .coverage-map {
    overflow-x: auto;
  }

  .map-grid {
    min-width: 305px;
    gap: 3px;
  }

  .map-tile {
    min-height: 36px;
    padding: 3px 0;
    font-size: .71rem;
  }
}

@media (max-width: 700px) {
  .mast {
    padding: 10px 0;
  }

  .mast-inner {
    gap: 5px;
  }

  #main-nav {
    gap: 0;
  }

  #main-nav li {
    min-width: 0;
  }

  #main-nav a {
    min-height: 44px;
  }

  .quick a + a {
    border-radius: 0;
  }

  .quick a:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

@media (max-width: 520px) {
  .discovery-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .home-search input,
  .home-search select,
  .filter input,
  .filter select,
  .settings input:not([type=range]),
  .settings select,
  .time-inputs input {
    font-size: 1rem;
  }

  .home-search .button {
    width: 100%;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .listing-actions a {
    padding: 0 .1rem;
  }
}

@media (max-width: 350px) {
  .home-search,
  .filter {
    grid-template-columns: 1fr;
  }
}

@media (forced-colors: active) {
  .map-tile[aria-pressed="true"],
  .directory-views button[aria-pressed="true"],
  .directory-views button[aria-selected="true"] {
    border: 2px solid Highlight;
  }
}

.hero h1 {
  font-size: clamp(2.55rem, 5.1vw, 4.85rem);
  line-height: 0.98;
  text-wrap: balance;
}

.field-media {
  margin-block: 3.5rem;
  max-width: 840px;
}

.field-media h2 {
  font-size: clamp(1.7rem, 4.1vw, 2.7rem);
  margin: 0 0 1.15rem;
}

.field-diagram {
  margin: 0;
}

.field-diagram + .field-diagram {
  margin-block-start: 1.8rem;
}

.field-diagram img,
.field-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--pine-deep);
}

.field-diagram figcaption {
  color: var(--muted);
  margin-top: 0.8rem;
  max-width: 62ch;
}

.field-video {
  margin-block-start: 2.35rem;
}

.field-video h3 {
  font-size: clamp(1.25rem, 2.7vw, 1.7rem);
  margin: 0 0 0.45rem;
}

.field-video p {
  margin: 0 0 0.85rem;
}

.field-video details {
  margin-top: 0.9rem;
}

.field-video summary {
  cursor: pointer;
  width: fit-content;
  font-weight: 700;
  padding-block: 0.45rem;
}

.field-video li + li {
  margin-top: 0.4rem;
}

.running-footer {
  border-top: 2px solid var(--lime);
  padding-block: clamp(28px, 5vw, 52px) 18px;
}

.running-footer-main {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 2.25fr);
  gap: clamp(26px, 5vw, 72px);
  padding-bottom: 24px;
}

.running-footer p {
  color: #c5d4c8;
  font-size: .92rem;
}

.running-footer-identity p {
  max-width: 29ch;
  margin-top: 12px;
}

.running-footer .brand {
  padding-inline: 2px;
  font-size: 1.14rem;
}

.running-footer .brand-symbol {
  width: 42px;
  height: 42px;
}

.running-footer nav.running-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px 24px;
}

.running-footer-group h2 {
  color: var(--lime);
  font-size: .96rem;
  font-weight: 720;
  margin-bottom: 4px;
}

.running-footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.running-footer-links li {
  display: flex;
  min-width: 0;
}

.running-footer-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 24px;
  border-top: 1px solid #3d594a;
  padding-top: 9px;
}

.running-footer-details a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f2f4e9;
  font-size: .92rem;
  font-weight: 620;
}

.running-footer a[aria-current="page"],
.running-footer-details a:hover {
  color: var(--lime);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .running-footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 17px;
  }

  .running-footer nav.running-footer-links,
  .running-footer-group:last-child ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .running-footer-group:last-child {
    grid-column: 1 / -1;
    margin-top: 14px;
  }

  .running-footer .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .running-footer-details {
    flex-wrap: wrap;
    padding-top: 13px;
  }
}

.directory-sort {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
}

.directory-sort select {
  min-height: 44px;
  max-width: 100%;
  padding: .3rem .5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.listing h2 .listing-profile {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #82977f;
  text-decoration-thickness: 1px;
  text-underline-offset: .17em;
}

.listing h2 .listing-profile:hover {
  color: var(--blue);
  text-decoration-thickness: 2px;
}

.provider-badges, .provider-services {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  padding: 0;
  margin: .65rem 0 0;
}

.provider-badges li, .provider-services li {
  padding: .23rem .6rem;
  border: 1px solid #a6b598;
  border-radius: 5px;
  color: var(--pine);
  background: var(--soft-green);
  font-size: .78rem;
  font-weight: 700;
}

.provider-badges li {
  border-color: #a7bc62;
  background: #edf3d6;
}

.listing .listing-fit {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.provider-profile {
  max-width: 1040px;
  padding-block: 34px 40px;
}

.provider-lead {
  padding: clamp(20px, 4.5vw, 54px);
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--white);
}

.provider-lead .eyebrow {
  color: var(--lime);
}

.provider-lead h1 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  font-weight: 790;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  margin-block: .28em .24em;
}

.provider-lead .provider-badges {
  margin-top: 16px;
}

.provider-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}

.provider-panel {
  padding: clamp(17px, 3vw, 27px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  min-width: 0;
}

.provider-panel h2 {
  color: var(--ink);
  font-size: clamp(1.18rem, 2.55vw, 1.65rem);
  margin-bottom: 11px;
}

.provider-panel p + p {
  margin-top: .65em;
}

.provider-panel p,
.provider-panel a {
  overflow-wrap: anywhere;
}

.provider-panel a {
  text-underline-offset: .17em;
}

.provider-panel .provider-fit {
  margin-top: .8rem;
  border-inline-start: 3px solid #9db854;
  padding-inline-start: .6rem;
}

.provider-panel .provider-note {
  color: var(--muted);
  font-size: .92rem;
}

.provider-return {
  margin-top: 22px;
}

@media (max-width: 630px) {
  .provider-profile { padding-top: 22px; }
  .provider-profile-grid { grid-template-columns: minmax(0,1fr); }
  .directory-results-head { gap: .6rem; }
  .directory-sort { font-size: .85rem; }
}

.provider-visit-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-top: 18px;
}

.provider-visit-action .primary {
  background: var(--lime);
  color: var(--lime-ink);
}

.provider-visit-action .primary:hover {
  background: #e8f5b8;
  color: var(--lime-ink);
}

.provider-visit-action .primary:focus-visible {
  outline-color: var(--lime);
}

.provider-visit-action p {
  max-width: 43ch;
  color: #d6e3d8;
  font-size: .92rem;
}

.provider-inquiry {
  margin-block: 14px;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.provider-inquiry summary {
  cursor: pointer;
  font-weight: 700;
}

.provider-inquiry p {
  margin-block: .65rem 0;
}

.provider-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .43fr);
  gap: clamp(1rem, 3.5vw, 2rem);
  align-items: end;
}

.provider-address {
  color: #d6e3d8;
}

.provider-identity .provider-badges {
  gap: .25rem 1rem;
  margin-top: .85rem;
}

.provider-identity .provider-badges li {
  padding: 0 0 0 .55rem;
  border: 0;
  border-inline-start: 2px solid var(--lime);
  border-radius: 0;
  color: #ecf5e3;
  background: transparent;
}

.provider-visit-action {
  align-items: start;
  flex-direction: column;
  margin-top: 0;
  padding-block-start: .8rem;
  border-top: 1px solid #6a8374;
}

.provider-visit-action .primary {
  min-width: min(10rem, 100%);
  max-width: 100%;
  white-space: normal;
}

.provider-score {
  margin-top: .9rem;
  padding: .7rem .85rem;
  border-inline-start: 3px solid #758f31;
  border-radius: 0 5px 5px 0;
  background: var(--soft-green);
}

.provider-panel .provider-score .provider-fit {
  margin: 0;
  padding: 0;
  border: 0;
}

.provider-score dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .55rem .8rem;
  margin: .5rem 0;
}

.provider-score dt {
  font-size: .83rem;
  font-weight: 700;
}

.provider-score dd {
  margin-inline-start: 0;
  font-size: .87rem;
  color: var(--muted);
}

.provider-phone {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .provider-lead, .provider-score dl { grid-template-columns: minmax(0,1fr); }
}
