:root {
  --cream: #f7ecd1;
  --paper: #fff8e7;
  --ink: #173f45;
  --ink-dark: #102f33;
  --teal: #377b78;
  --teal-soft: #a9cbc0;
  --orange: #d95d2b;
  --brick: #a83c28;
  --mustard: #e7a226;
  --brown: #5c3827;
  --line: rgba(23, 63, 69, .22);
  --shadow: 0 12px 30px rgba(30, 48, 42, .14);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-dark);
  background: radial-gradient(circle at 20% 10%, rgba(231, 162, 38, .09), transparent 23rem), var(--cream);
  font-family: ui-rounded, "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: var(--paper);
  background: var(--ink);
  border-bottom: 5px solid var(--mustard);
  position: relative;
  z-index: 10;
}
.brand { text-decoration: none; line-height: 1; }
.brand-kicker { display: block; margin-bottom: 5px; color: var(--mustard); font-size: .62rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.brand-name { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 4.8vw, 1.75rem); font-style: italic; font-weight: 800; letter-spacing: -.035em; }
.main-nav { display: flex; gap: 16px; }
.main-nav a { color: var(--paper); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.main-nav a:hover { color: var(--mustard); }

.hero { background: var(--paper); }
.hero-art { min-height: 330px; background: url("images/home-hero.webp") 66% 63% / cover no-repeat; border-bottom: 7px solid var(--orange); }
.hero-copy { padding: 34px 20px 46px; }
.eyebrow { margin: 0 0 9px; color: var(--brick); font-size: .73rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.spark { color: var(--mustard); margin-right: 5px; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.03; letter-spacing: -.035em; }
h1 { margin-bottom: 18px; font-size: clamp(2.45rem, 11vw, 5rem); }
h2 { margin-bottom: 14px; font-size: clamp(1.9rem, 7.5vw, 3.4rem); }
h3 { margin-bottom: 12px; font-size: 1.55rem; }
p { margin-top: 0; }
.hero-lede { max-width: 680px; margin-bottom: 26px; color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 20px; border-radius: 7px; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.button-primary { color: #fffaf0; background: var(--brick); box-shadow: 4px 4px 0 var(--mustard); }
.button-primary:hover { background: var(--orange); transform: translateY(-1px); }
.button-secondary { border: 2px solid var(--ink); color: var(--ink); background: transparent; box-shadow: 4px 4px 0 var(--mustard); }
.button-secondary:hover { color: var(--paper); background: var(--ink); }

.intro-band { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px; color: var(--paper); background: var(--ink); border-bottom: 5px solid var(--mustard); text-align: center; }
.intro-band div { padding: 7px 5px; border-right: 1px solid rgba(255, 255, 255, .2); }
.intro-band div:last-child { border: 0; }
.intro-band strong, .intro-band span { display: block; }
.intro-band strong { color: var(--mustard); font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.intro-band span { font-size: .64rem; line-height: 1.2; }

.directory-shell { padding: 54px 18px 76px; }
.section-heading { max-width: 1180px; margin: 0 auto 26px; }
.section-note { max-width: 490px; color: var(--brown); }
.directory-tools { max-width: 1180px; margin: 0 auto 28px; }
.search-box { min-height: 50px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); box-shadow: 4px 4px 0 var(--mustard); }
.search-box > span[aria-hidden] { color: var(--orange); font-size: 1.5rem; font-weight: 900; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: rgba(23, 63, 69, .62); }
.filter-row { display: flex; gap: 9px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; min-height: 42px; padding: 9px 15px; border: 1px solid var(--teal); border-radius: 999px; color: var(--ink); background: transparent; font-size: .82rem; font-weight: 800; cursor: pointer; }
.filter.is-active { color: var(--paper); background: var(--ink); }
.results-count { margin: 12px 0 0; color: var(--brown); font-size: .78rem; }
.results-count strong { color: var(--ink); }

.cards-grid { max-width: 1180px; display: grid; gap: 22px; margin: 0 auto; }
.place-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; background: var(--paper); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.place-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(30, 48, 42, .2); }
.place-card-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-soft); }
.place-card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; border-radius: 6px; color: var(--paper); background: var(--ink); font-size: .67rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.card-badge span { color: var(--mustard); margin-right: 3px; }
.place-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 18px 17px; }
.place-type { margin-bottom: 8px; color: var(--brick); font-size: .69rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.place-card-body > p:not(.place-type) { color: var(--brown); font-size: .91rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: .78rem; font-weight: 800; }
.round-arrow { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--orange); font-size: 1.1rem; }
.empty-state { max-width: 600px; margin: 34px auto 0; padding: 36px 24px; border: 2px dashed var(--teal); border-radius: var(--radius); text-align: center; }
.empty-state > span { color: var(--mustard); font-size: 2.5rem; }

.trip-note { display: grid; gap: 20px; padding: 50px 20px; color: var(--paper); background: var(--teal); border-block: 8px solid var(--mustard); }
.trip-note .eyebrow { color: var(--mustard); }
.trip-note h2 { color: var(--paper); }
.trip-note p:last-child { max-width: 760px; }
.trip-note-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 4px solid var(--mustard); border-radius: 50%; color: var(--paper); font-size: 2rem; font-weight: 900; transform: rotate(8deg); }
.method-teaser { max-width: 1180px; display: grid; gap: 20px; margin: 0 auto; padding: 64px 20px; }
.method-teaser > div { max-width: 780px; }
.method-teaser .button { align-self: center; justify-self: start; }

footer { padding: 42px 20px; color: var(--paper); background: var(--ink-dark); text-align: center; }
.footer-mark { margin-bottom: 12px; color: var(--mustard); letter-spacing: .6em; }
.footer-nav { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.footer-nav a { color: var(--teal-soft); font-size: .78rem; font-weight: 800; }
.fine-print { max-width: 650px; margin: 22px auto 0; color: var(--teal-soft); font-size: .72rem; }

/* Destination pages */
.detail-main { max-width: 1180px; margin: 0 auto; padding: 18px 16px 62px; }
.breadcrumbs { display: flex; gap: 8px; margin: 0 0 18px; color: var(--teal); font-size: .76rem; font-weight: 800; }
.breadcrumbs a { text-decoration: none; }
.detail-hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.detail-star, .detail-note { position: absolute; display: grid; place-items: center; color: var(--paper); background: var(--orange); }
.detail-star { right: 14px; bottom: 14px; width: 45px; height: 45px; border-radius: 50%; }
.detail-note { right: 66px; bottom: 22px; width: 30px; height: 30px; border-radius: 7px; transform: rotate(-7deg); }
.detail-layout { display: grid; gap: 28px; margin-top: 32px; }
.detail-copy > h1 { font-size: clamp(2.5rem, 10vw, 5.25rem); overflow-wrap: anywhere; }
.detail-intro { max-width: 760px; color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 4.7vw, 1.65rem); }
.editorial-panel { margin-top: 34px; padding: 28px 22px; border-left: 8px solid var(--mustard); color: var(--paper); background: var(--ink); }
.editorial-panel .eyebrow { color: var(--mustard); }
.editorial-panel h2 { color: var(--paper); font-size: clamp(1.75rem, 6.5vw, 2.65rem); }
.planning-section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.planning-section h2 { font-size: 2rem; }
.visit-card { align-self: start; padding: 24px 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: 7px 7px 0 var(--mustard); }
.visit-card-label { color: var(--brick); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.visit-card dl { margin: 0 0 24px; }
.visit-card dl div { padding: 13px 0; border-top: 1px solid var(--line); }
.visit-card dt { color: var(--teal); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.visit-card dd { margin: 2px 0 0; color: var(--ink); font-weight: 750; }
.button-full { width: 100%; }
.phone-link { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 13px; color: var(--ink); font-weight: 900; text-decoration: none; }
.phone-link span { color: var(--orange); }
.verification-note { margin: 15px 0 0; color: var(--brown); font-size: .72rem; }
.related-section { margin-top: 68px; padding-top: 44px; border-top: 5px solid var(--mustard); }
.related-heading { margin-bottom: 24px; }
.related-grid { display: grid; gap: 18px; }
.compact-card .place-card-body > p:not(.place-type) { display: none; }
.compact-card h3 { font-size: 1.3rem; }
.return-strip { display: flex; align-items: center; gap: 14px; margin-top: 48px; padding: 18px; border-radius: 12px; color: var(--paper); background: var(--teal); text-decoration: none; }
.return-strip small, .return-strip strong { display: block; }
.return-strip small { color: var(--mustard); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.return-icon { font-size: 1.7rem; }

/* About and 404 */
.about-main { max-width: 1100px; margin: 0 auto; padding: 54px 18px 80px; }
.about-hero { max-width: 900px; }
.about-hero > p:last-child { max-width: 760px; color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.principles-grid { display: grid; gap: 18px; margin-top: 46px; }
.principles-grid article { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.principles-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; color: var(--paper); background: var(--orange); font-size: 1.3rem; font-weight: 900; }
.principles-grid h2 { font-size: 1.7rem; }
.editorial-method { margin-top: 56px; padding: 34px 24px; border-left: 8px solid var(--mustard); color: var(--paper); background: var(--ink); }
.editorial-method h2 { color: var(--paper); }
.editorial-method .eyebrow { color: var(--mustard); }
.editorial-method .button { margin-top: 12px; }
.not-found-body { min-height: 100vh; display: flex; flex-direction: column; }
.not-found-body footer { margin-top: auto; }
.not-found { max-width: 760px; margin: 0 auto; padding: 80px 20px; text-align: center; }
.not-found > span { display: block; color: var(--mustard); font-size: 4rem; }

@media (min-width: 650px) {
  .main-nav { gap: 28px; }
  .main-nav a { font-size: .85rem; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 800px) {
  .hero { position: relative; min-height: 650px; }
  .hero-art { position: absolute; inset: 0; min-height: 0; border: 0; background-position: 68% 61%; }
  .hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 248, 231, .97) 0%, rgba(255, 248, 231, .88) 37%, transparent 67%); }
  .hero-copy { position: relative; z-index: 1; width: min(53%, 700px); padding: 110px 0 100px clamp(32px, 6vw, 86px); }
  .hero-copy h1 { font-size: clamp(3.5rem, 6vw, 5.7rem); }
  .intro-band { padding-inline: max(8vw, calc((100vw - 1180px) / 2)); }
  .intro-band strong { font-size: 1.7rem; }
  .intro-band span { font-size: .75rem; }
  .directory-shell { padding: 78px 32px 96px; }
  .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
  .section-heading > div { max-width: 660px; }
  .directory-tools { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: 12px 22px; align-items: center; }
  .search-box { grid-row: span 2; margin: 0; }
  .results-count { margin: 0; }
  .cards-grid { gap: 26px; }
  .trip-note { grid-template-columns: 84px minmax(0, 850px); justify-content: center; padding: 70px 40px; }
  .method-teaser { grid-template-columns: 1fr auto; align-items: center; padding: 82px 32px; }
  .detail-main { padding: 28px 28px 82px; }
  .detail-hero img { aspect-ratio: 16 / 8.7; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; margin-top: 48px; }
  .visit-card { position: sticky; top: 24px; }
  .about-main { padding: 82px 28px 100px; }
}

@media (min-width: 1060px) {
  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 70px; }
  .detail-main { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .place-card, .button-primary { transition: none; }
}
