@font-face {
  font-family: "DM Sans";
  src: url("/assets/sans-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #241a2b;
  --green: #542347;
  --link: #582341;
  --muted: #635e68;
  --rule: #e5dfe5;
  --wash: #f6f3f6;
  --serif: "DM Sans", Arial, sans-serif;
}
body { font-family: var(--serif); }
.wrap { width: min(76rem, calc(100% - clamp(2rem, 8vw, 8rem))); }
h1, h2, h3 { color: var(--ink); }
.mast { border: 0; }
.mast-inner { min-height: 78px; border: 0; }
.brand, .brand:hover { gap: .5rem; color: #2c1832; text-decoration: none; }
.brand img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.brand span { font-size: 1.48rem; font-weight: 550; letter-spacing: -.065em; }
.brand b { font-weight: 850; }
.mast nav { gap: clamp(.6rem, 2.3vw, 2.1rem); font-weight: 650; }
.mast nav a { color: var(--ink); }
.section-head { border: 0; padding: 0 0 1rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.22rem); line-height: 1.1; letter-spacing: -.055em; }
#result-count, .state-total { font: 550 .88rem/1.4 var(--serif); color: var(--muted); }
.directory-intro {
  isolation: isolate; position: relative; overflow: hidden; display: flex;
  flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: clamp(22rem, 31vw, 27rem); gap: 1.5rem;
  padding: clamp(1.5rem, 4.7vw, 4.3rem); background: #292139; border-radius: 1.4rem;
  margin: .2rem 0 clamp(2rem, 4vw, 3.4rem);
}
.hero-photo, .hero-photo img, .directory-intro::before { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: 62% 54%; }
.directory-intro::before { content: ""; z-index: -1; background: linear-gradient(90deg,rgba(27,15,36,.92),rgba(34,20,45,.69) 41%,rgba(34,20,45,.04) 88%); }
.directory-intro h1 { color: white; font-size: clamp(3.35rem, 6.5vw, 5.55rem); letter-spacing: -.073em; font-weight: 780; line-height: .94; }
.directory-intro h1 span { color: #ff827f; }
.home .intro { font-size: clamp(.97rem, 1.3vw, 1.08rem); color: #fff; margin: 1rem 0 0; max-width: 40ch; }
.find-location { width: min(100%, 28rem); background: none; border: 0; padding: 0; }
.find-location label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.input-row { background: white; border-radius: .85rem; padding: .3rem; align-items: center; }
.input-row input { height: 46px; border: 0; padding-inline: .85rem .25rem; border-radius: .55rem; font-size: 1rem; }
.input-row button { border: 0; background: #ff8480; color: #311329; border-radius: .57rem; padding-inline: 1.3rem; font-weight: 750; }
.input-row button:hover { background: #ffaaa6; }
.home .city-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(.75rem,1.7vw,1.4rem); }
.location-card { position: relative; padding: 0; border: 0; min-width: 0; }
.city-card-link { color: var(--ink); display: block; font: 700 clamp(1.22rem,2vw,1.55rem)/1.25 var(--serif); letter-spacing: -.045em; }
.city-card-link img { width: 100%; height: auto; aspect-ratio: 1.72; object-fit: cover; border-radius: 1rem; }
.city-card-link span { display: block; padding: .7rem 2rem 0 0; }
.city-card-link::after { content: "↗"; position: absolute; right: .05rem; bottom: 1.9rem; width: 1.65rem; height: 1.65rem; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; color: var(--green); font: 1rem/1 Arial,sans-serif; }
.city-state { position: static; min-height: 1.85rem; color: var(--muted); }
.home .states-index { margin: clamp(2.5rem,5vw,4.8rem) 0 2rem; border-top: 1px solid var(--rule); padding-top: 1.8rem; }
.home .coverage-bar { margin: 0; }
.home .alphabet { margin: .7rem 0 1.25rem; }
.alphabet a { background: var(--wash); border: 1px solid #e5dce4; min-width: 3.25rem; min-height: 40px; border-radius: 2rem; justify-content: center; color: var(--green); }
.state-groups h3 { font-weight: 750; letter-spacing: .02em; color: var(--muted); font-size: .84rem; padding-bottom: .55rem; border-bottom: 1px solid var(--rule); }
.state-groups a { color: var(--ink); }
.home .state-groups small, .home #state-results small { color: #703446; background: #ffeded; border-radius: 1rem; }
.home .about { background: var(--wash); padding: 1.5rem; border: 0; border-radius: 1rem; align-items: start; }
footer { border-color: var(--rule); }
.crumb { color: var(--muted); }
.state-heading, .city-heading { background: #f4edf3; border: 0; border-radius: 1.15rem; overflow: hidden; margin: .5rem 0 2rem; }
.state-heading { padding: clamp(1rem,3.4vw,3rem); }
.state-heading h1 span, .city-heading h1 span { font: 550 clamp(1.05rem,2vw,1.65rem)/1.25 var(--serif); letter-spacing: -.035em; }
.city-heading img { height: 100%; min-height: 10rem; }
.state-explore, .other-cities { border: 0; border-radius: 1rem; padding: 1.25rem; }
.state-city img { border-radius: .65rem; }
:focus-visible { outline-color: #965092; }
.city-card-link img.state-art { object-fit: contain; background: #f4edf3; padding: .8rem; }
@media (min-width: 761px) and (max-width: 959px) {
  .home .city-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .home .city-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem .85rem; }
  .directory-intro { min-height: 21rem; }
  .brand img { width: 2rem; height: 2rem; }
  .mast-inner { min-height: 64px; }
  .city-card-link::after { display: none; }
  .city-card-link span { padding-right: 0; }
  .city-state { min-height: 2.75rem; }
  .home .states-index { margin-top: 1.75rem; }
}
@media (max-width: 440px) {
  .brand span { font-size: 1.16rem; }
  .mast nav { font-size: .82rem; gap: .65rem; }
  .mast-inner { gap: .3rem; }
  .directory-intro { padding: 1.2rem; border-radius: 1rem; }
  .directory-intro::before { background: linear-gradient(90deg,rgba(27,15,36,.89),rgba(28,19,34,.44)); }
  .input-row button { padding-inline: .8rem; }
  .city-card-link img { aspect-ratio: 1.35; border-radius: .75rem; }
  .home .coverage-bar { display: block; }
}
