*{box-sizing:border-box}html{overflow-wrap:anywhere}body{margin:0}a{color:inherit;text-underline-offset:.2em}img{max-width:100%}button,input,select{font:inherit}input,select{max-width:100%;min-height:48px;padding:.7rem;border:1px solid currentColor;background:#fff;color:#222}button{min-height:48px;padding:.7rem 1rem;cursor:pointer}:focus-visible{outline:3px solid #2765c9;outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;left:-10000px}.skip:focus{left:1rem;top:1rem;background:#fff;color:#111;padding:1rem;z-index:9}.search{display:grid;grid-template-columns:2fr 1fr auto;align-items:end;gap:1rem;margin:2rem 0}.search label{display:grid;gap:.4rem}.result-count{margin:1rem 0}.empty{border:1px solid;padding:1.5rem}.profile-content{max-width:860px;margin:2rem auto;padding:0 1.2rem}.profile-content h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.12}.profile-content p,.profile-content li{line-height:1.65}.source-list a{overflow-wrap:anywhere}.site-footer{padding:2rem max(1.2rem,4vw);margin-top:3rem;border-top:1px solid}.site-footer nav{display:flex;gap:1rem;flex-wrap:wrap}.site-footer p{max-width:70ch}.place-links{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem}.fact-list{padding-left:1.3rem}.result-services{font-size:.9em}.site-main{min-width:0}@media(max-width:650px){.search{grid-template-columns:1fr}.site-footer{padding:1.2rem}.site-main{min-width:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
body {
  margin: 0;
  padding-left: 268px;
  background: #F4F6F5;
  color: #111E1B;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ---- left rail ---- */
.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 268px;
  box-sizing: border-box;
  padding: 2.2rem 1.6rem;
  background: #12305B;
  border-right: 3px solid #2E6B5E;
  color: #E4ECF7;
  overflow-y: auto;
}
.rail-mark {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #FFFFFF;
  text-decoration: none;
}
.rail-mark:hover { color: #9CD6C3; }
.rail-note {
  margin: 0.45rem 0 1.8rem;
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9EB6D6;
}
.rail-nav ul { list-style: none; margin: 0; padding: 0; }
.rail-nav li { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.rail-nav li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.rail-nav a {
  display: block;
  padding: 0.72rem 0;
  color: #D6E2F2;
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.rail-nav a:hover { color: #FFFFFF; }
.rail-primary { color: #FFFFFF; font-weight: bold; }
.rail-tick {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.6rem;
  background: #4FA98F;
  transform: rotate(45deg);
}

/* ---- main column ---- */
.site-main {
  max-width: 1020px;
  margin: 0 auto;
  padding: 3.2rem 2.5rem 4.5rem;
}

.eyebrow {
  margin: 0;
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2E6B5E;
}
.home-hero h1,
.dir-head h1 {
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: #0E1F1B;
  margin: 0.55rem 0 1rem;
  max-width: 22ch;
}
.home-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.dir-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.hero-lede {
  margin: 0 0 1.6rem;
  max-width: 58ch;
  font-size: 1.1rem;
  color: #31403C;
}
.hero-cta {
  display: inline-block;
  padding: 0.85rem 1.45rem;
  background: #12305B;
  border-bottom: 3px solid #2E6B5E;
  color: #FFFFFF;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.hero-cta:hover { background: #2E6B5E; border-bottom-color: #12305B; }
.hero-fine { margin: 1.1rem 0 0; max-width: 56ch; color: #55635F; }
.dir-sub { margin: 0; max-width: 60ch; color: #3E4C48; }

/* ---- panels ---- */
.panel {
  margin-top: 2.6rem;
  padding: 1.5rem 1.8rem 1.7rem;
  background: #FFFFFF;
  border: 1px solid #DCE2E0;
}
.panel-head {
  padding-bottom: 0.85rem;
  border-bottom: 2px solid #12305B;
}
.panel-head h2 {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0.005em;
  color: #0E1F1B;
}
.panel-sub { margin: 0.45rem 0 0; font-size: 0.92rem; color: #5A6864; max-width: 62ch; }
.search-panel { border-top: 3px solid #12305B; }

/* ---- the run: results threaded on a single line ---- */
.run {
  margin: 0.3rem 0 0 0.6rem;
  border-left: 2px solid #D2DBD8;
}
.directory-result {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.7rem;
  border-bottom: 1px solid #E7EBE9;
}
.directory-result:last-child { border-bottom: 0; }
.result-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1.6rem;
  align-items: baseline;
}
.result-name {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.32;
}
.result-name a {
  color: #12305B;
  text-decoration: none;
  border-bottom: 1px solid #B7C6DD;
}
.result-name a:hover { color: #2E6B5E; border-bottom-color: #2E6B5E; }
.result-where {
  margin: 0;
  font-family: Consolas, Menlo, "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #4C5A56;
  text-align: right;
}
.where-mark {
  position: absolute;
  left: -7px;
  top: 1.5rem;
  width: 9px;
  height: 9px;
  background: #FFFFFF;
  border: 2px solid #2E6B5E;
  transform: rotate(45deg);
}
.result-services {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #55635F;
}

/* ---- locality index ---- */
.place-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 0;
  margin-top: 1rem;
}
.place-links a {
  display: block;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid #E7EBE9;
  color: #1E2E2A;
  text-decoration: none;
  font-size: 0.95rem;
}
.place-links a:hover { color: #2E6B5E; background: #F1F7F4; }

/* ---- search + count ---- */
.search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 0;
}
.count-band {
  margin-top: 1.5rem;
  padding-left: 0.85rem;
  border-left: 3px solid #2E6B5E;
  font-size: 0.95rem;
  color: #3B4A46;
}

.profile-content {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.7;
  color: #1B2926;
}
.profile-content a { color: #12305B; }

@media (max-width: 900px) {
  body { padding-left: 0; }
  .site-rail {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0.9rem 1.1rem 1rem;
    border-right: 0;
    border-bottom: 3px solid #2E6B5E;
  }
  .rail-mark { font-size: 1.35rem; }
  .rail-note { margin: 0.2rem 0 0.7rem; }
  .rail-nav ul { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
  .rail-nav li,
  .rail-nav li:last-child { border: 0; }
  .rail-nav a { padding: 0.3rem 0; font-size: 0.92rem; }
  .site-main { padding: 1.8rem 1.1rem 3rem; }
  .panel { padding: 1.2rem 1.1rem 1.3rem; margin-top: 1.8rem; }
  .home-hero h1 { max-width: none; }
}

@media (max-width: 560px) {
  .result-line { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .result-where { text-align: left; }
  .where-mark { top: auto; bottom: 1.15rem; }
  .place-links { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
  .run { margin-left: 0.4rem; }
  .directory-result { padding-left: 1.3rem; }
  .hero-cta { display: block; text-align: center; }
}
