@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #fffbf3;
  --white: #fffef9;
  --ink: #182f27;
  --muted: #4a5c51;
  --line: #d9d9ca;
  --hero: #fff0df;
  --coral: #a33f2b;
  --coral-dark: #85311f;
  --focus: #2758a4;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 18rem; }
body {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font: 400 1rem/1.55 var(--body);
  margin: 0;
  min-height: 100vh;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--coral-dark); }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
:target { scroll-margin-top: 1rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 740; letter-spacing: -0.045em; line-height: 1.06; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.85rem); overflow-wrap: anywhere; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.4rem; }
.site-width { margin-inline: auto; width: min(100% - 4rem, 78rem); }
.sr-only {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.skip {
  background: var(--white);
  border-radius: 0.5rem;
  font-weight: 700;
  left: 1rem;
  padding: 0.65rem 1rem;
  position: absolute;
  top: 0.5rem;
  transform: translateY(-150%);
  z-index: 3;
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid #e8e2d5; }
.header-layout, .footer-layout {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 4.5rem;
}
.wordmark {
  align-items: center;
  display: inline-flex;
  font: 770 clamp(1.15rem, 2.1vw, 1.44rem)/1.05 var(--display);
  gap: 0.65rem;
  letter-spacing: -0.047em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  background: #d66b51;
  border-radius: 1.1rem 1.1rem 0.55rem 0.55rem;
  display: inline-block;
  flex: 0 0 auto;
  height: 1.95rem;
  position: relative;
  width: 1.95rem;
}
.brand-mark::before {
  background: #fff4cb;
  border-radius: 0.65rem 0.65rem 0.22rem 0.22rem;
  bottom: 0.28rem;
  content: "";
  height: 1rem;
  left: 0.57rem;
  position: absolute;
  width: 0.81rem;
}
.brand-mark::after {
  background: #ffdc86;
  border-radius: 50%;
  content: "";
  height: 0.28rem;
  left: 0.84rem;
  position: absolute;
  top: 0.27rem;
  width: 0.28rem;
}
.header-layout nav, .footer-layout nav { display: flex; flex-wrap: wrap; gap: 0.65rem 1.8rem; }
.header-layout nav a, .footer-layout nav a {
  font-size: 0.96rem;
  font-weight: 650;
  text-decoration: none;
}
.header-layout nav a:hover, .footer-layout nav a:hover,
.header-layout [aria-current="page"] { text-decoration: underline; }
.site-footer { background: #f3efdf; border-top: 1px solid #e9e1c9; margin-top: 4rem; }
.footer-layout { min-height: 6.1rem; }

.hero {
  background: var(--hero);
  border: 1px solid #f0dac3;
  border-radius: 1.65rem;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  margin-top: clamp(1.15rem, 3vw, 2.25rem);
  min-height: 28rem;
  overflow: hidden;
}
.hero-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(1.6rem, 4vw, 3.3rem);
}
.eyebrow {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.hero .eyebrow { align-items: center; display: flex; gap: 0.55rem; }
.hero .eyebrow::before {
  background: #d3674d;
  border-radius: 50%;
  content: "";
  flex: 0 0 0.45rem;
  height: 0.45rem;
}
.hero h1 { font-size: clamp(2.5rem, 5.35vw, 4.85rem); font-weight: 775; letter-spacing: -0.063em; line-height: 0.98; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--coral); }
.hero-intro { color: #354b40; font-size: clamp(1.03rem, 1.52vw, 1.23rem); margin-top: 1.3rem; max-width: 29rem; }
.hero-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.85rem; }
.hero-photo { min-width: 0; position: relative; }
.hero-photo img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 64% center;
  position: absolute;
  width: 100%;
}
.hero-photo figcaption {
  background: #fffbf3;
  border-radius: 0.4rem;
  bottom: 0.8rem;
  color: var(--ink);
  font-size: 0.82rem;
  padding: 0.23rem 0.48rem;
  position: absolute;
  right: 0.8rem;
}

.hero-search { display: flex; gap: 0.55rem; margin-top: 1.65rem; }
.query-field {
  align-items: center;
  background: var(--white);
  border: 1px solid #a9afa1;
  border-radius: 0.62rem;
  display: flex;
  flex: 1 1 auto;
  gap: 0.8rem;
  min-width: 0;
  padding-inline: 0.98rem 0.65rem;
}
.query-field:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.query-field input {
  appearance: none;
  background: transparent;
  border: 0;
  flex: 1;
  min-height: 3.3rem;
  min-width: 0;
  outline: 0;
  padding: 0;
}
.query-field input::placeholder { color: #58655e; opacity: 1; }
.search-mark {
  border: 2px solid #4a5f53;
  border-radius: 50%;
  flex: 0 0 0.81rem;
  height: 0.81rem;
  margin-top: -0.12rem;
  position: relative;
}
.search-mark::after {
  background: #4a5f53;
  border-radius: 1px;
  bottom: -0.24rem;
  content: "";
  height: 2px;
  position: absolute;
  right: -0.28rem;
  transform: rotate(45deg);
  width: 0.42rem;
}
.button {
  align-items: center;
  background: var(--coral);
  border: 1px solid transparent;
  border-radius: 0.62rem;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.97rem;
  font-weight: 700;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.68rem 1rem;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--coral-dark); color: white; }
.button--quiet { background: var(--ink); }
.button--quiet:hover { background: #345648; }

.home-areas { margin-top: clamp(2.2rem, 5vw, 3.85rem); }
.section-intro { color: var(--muted); margin-top: 0.45rem; }
.area-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.area-card--rose { --area-bg: #f8e1d6; --area-pattern: #dfac99; --area-edge: #edc7b7; }
.area-card--mint { --area-bg: #e6efda; --area-pattern: #abc396; --area-edge: #cddabd; }
.area-card--gold { --area-bg: #ffedbe; --area-pattern: #e1bc69; --area-edge: #efdb9b; }
.area-card--lavender { --area-bg: #eee6f5; --area-pattern: #c8adda; --area-edge: #ded0e8; }
.area-card {
  background: var(--area-bg);
  border: 1px solid var(--area-edge);
  border-radius: 1.15rem;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: end;
  min-height: 10.1rem;
  overflow: hidden;
  padding: 1.15rem 1.25rem;
  position: relative;
  text-decoration: none;
}
.area-card:hover { border-color: var(--ink); color: var(--ink); }
.area-card:hover .area-name { text-decoration: underline; text-decoration-thickness: 0.07em; }
.area-name { font: 750 clamp(1.85rem, 3.1vw, 2.62rem)/1.05 var(--display); letter-spacing: -0.055em; overflow-wrap: anywhere; }
.area-state {
  align-self: start;
  color: #34473c;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: auto;
}
.area-count { color: #34473c; font-size: 0.92rem; margin-top: 0.35rem; }
.area-shape {
  border: 1.1rem solid var(--area-pattern);
  border-bottom: 0;
  border-radius: 4.8rem 4.8rem 0 0;
  bottom: -0.3rem;
  height: 7.2rem;
  opacity: 0.45;
  position: absolute;
  right: -0.65rem;
  transform: rotate(22deg);
  width: 7rem;
  z-index: -1;
}
.area-card--mint .area-shape { border-radius: 50%; border-bottom: 1.1rem solid var(--area-pattern); transform: none; }
.area-card--gold .area-shape { border-radius: 4.8rem 4.8rem 0 0; right: -1.45rem; transform: rotate(-31deg); }
.area-card--lavender .area-shape { border-radius: 2.2rem; border-bottom: 1.1rem solid var(--area-pattern); transform: rotate(32deg); }
.feature-band {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.15rem 2rem;
  grid-template-columns: minmax(12rem, 1fr) 3fr;
  margin-top: 2.65rem;
  padding-top: 1.7rem;
}
.feature-band h2 { font-size: 1.45rem; padding-block: 0.65rem; }
.feature-links, .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-links a, .city-links a {
  background: #f2f0e4;
  border: 1px solid #dedfce;
  border-radius: 10rem;
  display: block;
  font-size: 0.96rem;
  font-weight: 650;
  padding: 0.46rem 0.79rem;
  text-decoration: none;
}
.feature-links a:hover, .city-links a:hover { background: #e8ebd8; color: var(--ink); text-decoration: underline; }

.page-space { padding-top: 1.4rem; }
.breadcrumbs ol {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 0.24rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; }
.page-intro { margin: 2rem 0 1.6rem; }
.page-intro > p, .area-hero > div > p:not(.eyebrow) {
  color: #3d5146;
  font-size: 1.15rem;
  margin-top: 0.75rem;
  max-width: 43rem;
}
.page-intro > .button { margin-top: 1rem; }
.area-hero, .detail-hero {
  align-items: end;
  background: var(--area-bg);
  border: 1px solid var(--area-edge);
  border-radius: 1.4rem;
  display: flex;
  gap: 1.4rem 3rem;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding: clamp(1.4rem, 4vw, 2.7rem);
}
.area-hero h1, .detail-hero h1 { font-size: clamp(2.55rem, 5.2vw, 4.65rem); }
.area-hero .eyebrow, .detail-hero .eyebrow { margin-bottom: 0.75rem; }
.city-jumps { margin: 1.25rem 0 1.8rem; }
.city-section { margin-top: 2.3rem; }
.city-section h2 { margin-bottom: 0.95rem; }
.end-link { margin-top: 1.5rem; }

.venue-grid {
  display: grid;
  gap: 0.88rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.venue-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 1.15rem;
}
.venue-card h2, .venue-card h3 { font-size: 1.55rem; }
.venue-card h2 a, .venue-card h3 a { text-decoration-color: #a0aa9b; text-decoration-thickness: 0.07em; }
.venue-card h2 a:hover, .venue-card h3 a:hover { text-decoration-color: currentColor; }
.card-place {
  align-items: baseline;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.89rem;
  font-weight: 650;
  gap: 0.3rem 0.56rem;
}
.distance { background: #efeadb; border-radius: 0.4rem; color: var(--ink); font-weight: 600; padding: 0.06rem 0.45rem; }
.card-description { color: #3d5146; }
.tags li { background: #edf0e1; border-radius: 0.42rem; color: #274438; font-size: 0.83rem; padding: 0.25rem 0.48rem; }
.card-source { color: var(--muted); font-size: 0.86rem; margin-top: auto; padding-top: 0.25rem; }
.card-source span[aria-hidden] { margin-inline: 0.2rem; }

.detail-hero { margin-bottom: 2rem; }
.street-address { font-size: 1.1rem; margin-top: 0.9rem; }
.detail-action { flex: 0 0 auto; }
.detail-action p { color: #3b4c44; font-size: 0.92rem; margin-top: 0.6rem; }
.visit-section > .tags { margin-top: 0.8rem; }
.visit-facts {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  margin: 1rem 0 0;
}
.visit-fact {
  display: grid;
  gap: 0.25rem 1.5rem;
  grid-template-columns: minmax(8rem, 1fr) 4fr;
  padding: 0.9rem clamp(0.9rem, 3vw, 1.5rem);
}
.visit-fact + .visit-fact { border-top: 1px solid #e3e5d7; }
.visit-fact dt { font-weight: 700; }
.visit-fact dd { margin: 0; }
.unconfirmed { color: #7c3f2c; font-weight: 700; }
.visit-note { color: var(--muted); margin-top: 0.8rem; }
.sources-section { border-top: 1px solid var(--line); margin-top: 2.1rem; padding-top: 1.55rem; }
.sources-list {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.source-entry { background: #f4f1e7; border: 1px solid #e4dfd0; border-radius: 0.75rem; padding: 0.9rem; }
.source-entry a { font-weight: 700; overflow-wrap: anywhere; }
.source-entry p { color: var(--muted); font-size: 0.92rem; margin-top: 0.3rem; }
.source-entry .source-fields { color: #3e4c43; }

.search-panel { background: var(--hero); border: 1px solid #f0dac3; border-radius: 1rem; padding: clamp(0.85rem, 2vw, 1.35rem); }
.search-row { display: flex; gap: 0.66rem; }
.area-select { display: flex; flex: 0 0 auto; position: relative; }
.area-select::after {
  border-right: 2px solid #415348;
  border-bottom: 2px solid #415348;
  content: "";
  height: 0.43rem;
  pointer-events: none;
  position: absolute;
  right: 0.85rem;
  top: calc(50% - 0.31rem);
  transform: rotate(45deg);
  width: 0.43rem;
}
.area-select select {
  appearance: none;
  background: var(--white);
  border: 1px solid #a9afa1;
  border-radius: 0.62rem;
  min-height: 3.3rem;
  padding: 0.5rem 2.15rem 0.5rem 0.75rem;
  width: 100%;
}
.search-panel fieldset { border: 0; margin: 1rem 0 0; min-width: 0; padding: 0; }
.search-panel legend { font-weight: 700; margin-bottom: 0.5rem; padding: 0; }
.filter-list { display: flex; flex-wrap: wrap; gap: 0.44rem; }
.filter { cursor: pointer; position: relative; }
.filter input {
  appearance: none;
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}
.filter span {
  align-items: center;
  background: var(--white);
  border: 1px solid #c7bfaf;
  border-radius: 0.58rem;
  display: flex;
  font-size: 0.93rem;
  font-weight: 650;
  gap: 0.42rem;
  line-height: 1.3;
  min-height: 2.55rem;
  padding: 0.45rem 0.65rem;
}
.filter span::before {
  background: var(--white);
  border: 1px solid #657967;
  border-radius: 50%;
  content: "";
  flex: 0 0 0.72rem;
  height: 0.72rem;
}
.filter:hover span { border-color: var(--ink); }
.filter input:checked + span { background: #e1ebd7; border-color: #557458; }
.filter input:checked + span::before { background: #46674c; box-shadow: inset 0 0 0 2px #e1ebd7; }
.filter input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.search-results { margin-top: 1.8rem; }
.section-bar { align-items: baseline; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; }
#result-status { color: var(--muted); margin: 0.35rem 0 0.8rem; overflow-wrap: anywhere; }
.zip-note { color: var(--muted); margin-bottom: 0.8rem; }
.search-cities { border-top: 1px solid var(--line); margin-top: 2.25rem; padding-top: 1.25rem; }
.search-cities h2 { font-size: 1.45rem; margin-bottom: 0.65rem; }
.city-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.reading { max-width: 54rem; }
.reading section { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.4rem; }
.reading section h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.reading section p { margin-top: 0.7rem; }
.reading section ul { margin-top: 0.5rem; padding-left: 1.25rem; }

@media (max-width: 59rem) {
  .site-width { width: min(100% - 3rem, 78rem); }
  .hero-copy { padding-inline: 1.55rem; }
  .hero { min-height: 25rem; }
  .hero-search .button { padding-inline: 0.68rem; }
  .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid { gap: 0.75rem; }
  .area-card { padding-inline: 0.95rem; }
  .area-shape { height: 6rem; right: -1.1rem; width: 6rem; }
}

@media (max-width: 47.5rem) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 1.65rem; }
  .hero h1 { font-size: clamp(2.65rem, 8.4vw, 4rem); }
  .hero-intro { margin-top: 1rem; }
  .hero-photo { min-height: clamp(13rem, 50vw, 20rem); }
  .hero-photo img { object-position: center 54%; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-card { min-height: 8.2rem; }
  .feature-band { gap: 0.5rem; grid-template-columns: 1fr; margin-top: 1.8rem; }
  .feature-band h2 { padding-block: 0; }
  .area-hero, .detail-hero { align-items: start; flex-direction: column; }
  .search-row { flex-wrap: wrap; }
  .search-row .query-field { flex-basis: 100%; }
}

@media (max-width: 35rem) {
  .site-width { width: calc(100% - 2rem); }
  .header-layout { gap: 0.55rem; min-height: 3.75rem; }
  .wordmark { gap: 0.42rem; }
  .brand-mark { transform: scale(0.88); transform-origin: left center; margin-right: -0.16rem; }
  .header-layout nav { gap: 0.3rem 0.64rem; justify-content: end; }
  .header-layout nav a { font-size: 0.88rem; }
  .hero { border-radius: 1.05rem; }
  .hero-copy { padding: 1.3rem; }
  .hero .eyebrow { font-size: 0.77rem; margin-bottom: 0.75rem; }
  .hero h1 span { overflow-wrap: normal; }
  .hero-search { flex-wrap: wrap; margin-top: 1.05rem; }
  .hero-search .query-field, .hero-search .button { flex: 1 0 100%; }
  .venue-grid { grid-template-columns: 1fr; }
  .area-card { padding: 0.78rem; }
  .area-name { font-size: clamp(1.53rem, 5.9vw, 2rem); }
  .area-shape { height: 4.85rem; width: 4.9rem; }
  .footer-layout { align-items: start; flex-direction: column; gap: 0.75rem; padding-block: 1.15rem; }
  .footer-layout nav { gap: 0.5rem 0.95rem; }
  .visit-fact { grid-template-columns: 1fr; }
  .search-row .area-select, .search-row .button { flex: 1 1 10rem; }
}

@media (max-width: 23rem) {
  .header-layout nav { column-gap: 0.45rem; }
  .header-layout nav a { font-size: 0.82rem; }
  .hero-copy { padding: 1.1rem; }
  .hero h1 { font-size: 2.4rem; }
}
