@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --sand-blue-50: #eef4f3;
  --sand-blue-100: #d8e6e4;
  --sand-blue-500: #527c83;
  --sand-blue-700: #294f59;
  --sand-green-100: #e2e8d6;
  --sand-green-400: #9cad76;
  --sand-green-700: #52653e;
  --sand: #f7f1e6;
  --ink: #233137;
  --muted: #647278;
  --border: color-mix(in srgb, var(--ink) 14%, transparent);
  --surface: rgb(255 253 248 / 84%);
  --background: #e7eeea;
  --shadow: 0 18px 50px rgb(41 79 89 / 14%);
}

:root[data-theme="dark"] {
  --sand-blue-50: #21353b;
  --sand-blue-100: #29454c;
  --sand-blue-500: #86b2b6;
  --sand-blue-700: #d8eff0;
  --sand-green-100: #35422b;
  --sand-green-400: #aabf7c;
  --sand-green-700: #d9e6b8;
  --sand: #172326;
  --ink: #e9f0eb;
  --muted: #acbdbb;
  --border: rgb(233 240 235 / 16%);
  --surface: rgb(34 53 57 / 88%);
  --background: #101a1d;
  --shadow: 0 20px 60px rgb(0 0 0 / 30%);
}

* { box-sizing: border-box; }
html { background: var(--background); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; }
body { min-width: 320px; margin: 0; background: radial-gradient(circle at 10% 5%, var(--sand-green-100), transparent 30rem), radial-gradient(circle at 92% 18%, var(--sand-blue-100), transparent 26rem), var(--background); }
a { color: inherit; }
.site-shell { width: min(100% - 2rem, 72rem); min-height: 100dvh; margin: auto; display: grid; grid-template-rows: auto 1fr auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; }
.site-header { border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .7rem; background: var(--sand-blue-700); color: var(--sand); font: 700 1.2rem Fraunces, serif; box-shadow: 0 4px 0 var(--sand-green-400); }
.brand strong, .brand small { display: block; }.brand strong { font: 700 1.05rem Fraunces, serif; }.brand small { margin-top: .08rem; color: var(--muted); font-size: .76rem; }
.theme-toggle { display: inline-flex; gap: .4rem; align-items: center; border: 1px solid var(--border); border-radius: 999px; padding: .55rem .75rem; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.hero { display: grid; justify-items: center; padding: clamp(3.5rem, 10vw, 8rem) 0 clamp(4rem, 9vw, 7rem); }.eyebrow { margin: 0 0 .55rem; color: var(--sand-green-700); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.hero__date { margin: 0 0 1.5rem; color: var(--muted); }
.business-card { width: min(100%, 43rem); padding: clamp(1.5rem, 5vw, 3.4rem); border: 1px solid var(--border); border-radius: 1.5rem; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(14px); }.business-card--featured { border-top: 7px solid var(--sand-blue-500); }
.business-card__topline { display: flex; justify-content: space-between; gap: 1rem; color: var(--sand-green-700); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.business-card h1 { max-width: 15ch; margin: .85rem 0 1rem; font: 700 clamp(2rem, 6vw, 4rem)/1.02 Fraunces, Georgia, serif; letter-spacing: -.045em; }.business-card h1 a { text-decoration: none; }.business-card h1 a:hover { text-decoration: underline; text-decoration-color: var(--sand-green-400); text-decoration-thickness: .12em; }.business-card__summary { max-width: 52ch; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }.business-card__address { margin: 1.8rem 0 0; font-weight: 600; }
.business-card--empty { border-top: 7px solid var(--border); }.business-card--empty h1 { max-width: none; font: 600 clamp(1.3rem, 3vw, 1.7rem)/1.3 "DM Sans", system-ui, sans-serif; letter-spacing: normal; color: var(--muted); }
.business-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }.button { border-radius: .8rem; padding: .72rem 1rem; text-decoration: none; font-size: .92rem; font-weight: 700; }.button--primary { background: var(--sand-blue-700); color: var(--sand); }.button--secondary { border: 1px solid var(--border); background: transparent; }.button:hover { transform: translateY(-1px); }
.archive-preview { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 3rem; }.archive-preview h2, .archive-page h1 { margin: 0; font: 700 clamp(1.8rem, 4vw, 2.7rem) Fraunces, serif; letter-spacing: -.035em; }.text-link { color: var(--sand-blue-700); font-weight: 700; text-underline-offset: .25em; }.archive-page { max-width: 48rem; margin: auto; padding: 5rem 0; }.archive-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }.archive-list li { border-bottom: 1px solid var(--border); }.archive-list a { display: grid; grid-template-columns: minmax(10rem, 1fr) 1fr auto; gap: 1rem; padding: 1.1rem 0; text-decoration: none; }.archive-list a:hover span:nth-child(2) { color: var(--sand-blue-700); text-decoration: underline; }.archive-list time { color: var(--muted); font-size: .88rem; }.archive-list span:nth-child(2) { font-weight: 700; }
.site-footer { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); }.site-footer a { color: var(--sand-blue-700); font-weight: 700; }

.locale-hero { max-width: 38rem; margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem); text-align: center; }
.locale-hero h1 { margin: .4rem 0 1rem; font: 700 clamp(2rem, 5.5vw, 3.4rem)/1.08 Fraunces, Georgia, serif; letter-spacing: -.03em; }
.locale-hero p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.featured-wrap { display: flex; justify-content: center; margin: 0 0 clamp(2.5rem, 6vw, 3.5rem); }
.featured-locale { display: flex; position: relative; flex-direction: column; justify-content: center; width: 300px; min-height: 300px; padding: 2rem; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(14px); text-decoration: none; color: inherit; text-align: center; }
.featured-locale--active { border-top: 7px solid var(--sand-blue-500); }
.featured-locale--active:hover, a.featured-locale:hover { transform: translateY(-3px); box-shadow: 0 22px 55px rgb(41 79 89 / 18%); transition: transform .15s ease, box-shadow .15s ease; }
.featured-locale__eyebrow { margin: 0 0 .25rem; color: var(--sand-green-700); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.featured-locale__stamp { position: absolute; top: 1.25rem; right: 1.25rem; padding: .25rem .6rem; border-radius: .35rem; background: var(--sand-blue-700); font-size: .82rem; font-weight: 800; letter-spacing: .06em; color: var(--sand); box-shadow: var(--shadow-sm, 0 2px 6px rgb(0 0 0 / .12)); }
.featured-locale__name { margin: .5rem 0; font: 700 1.9rem/1.15 Fraunces, Georgia, serif; letter-spacing: -.03em; }
.featured-locale__region { color: var(--sand-blue-700); font-weight: 800; }
.featured-locale__meta { margin: 0; color: var(--muted); font-size: .92rem; }
.featured-locale__business { display: -webkit-box; overflow: hidden; margin: .6rem 0 0; color: var(--ink); font-size: .92rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.featured-locale__business strong { color: var(--sand-blue-700); font-weight: 700; }
.featured-locale__cta { display: inline-block; margin-top: 1.25rem; color: var(--sand-blue-700); font-weight: 700; font-size: .88rem; }

.locale-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin: 0 0 clamp(3rem, 8vw, 5rem); padding: 0; list-style: none; }

.locale-tile { position: relative; display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.35rem 1.4rem; border: 1px solid var(--border); border-radius: 1.1rem; background: var(--surface); backdrop-filter: blur(10px); text-decoration: none; color: inherit; }
.locale-tile--active { border-top: 4px solid var(--sand-blue-500); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.locale-tile--active:hover { transform: translateY(-3px); box-shadow: 0 22px 55px rgb(41 79 89 / 18%); }
.locale-tile--inactive { opacity: .5; }

.locale-tile__stamp { position: absolute; top: 1rem; right: 1rem; padding: .2rem .5rem; border-radius: .3rem; background: var(--sand-blue-700); font-family: "DM Sans", sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .05em; color: var(--sand); }
.locale-tile__name { max-width: 10rem; font: 700 1.1rem Fraunces, serif; letter-spacing: -.01em; }
.locale-tile__region { color: var(--sand-blue-700); font-weight: 800; }
.locale-tile__meta { font-size: .8rem; color: var(--muted); }
.locale-tile__badge { align-self: flex-start; margin-top: .5rem; padding: .2rem .55rem; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.locale-tile--active .locale-tile__badge { background: var(--sand-blue-700); color: var(--sand); }
.locale-tile--inactive .locale-tile__badge { background: var(--border); color: var(--muted); }

.map-placeholder { display: grid; place-items: center; gap: .6rem; height: 16rem; margin: 0 0 clamp(3rem, 8vw, 5rem); border: 1px dashed var(--border); border-radius: 1.5rem; background: repeating-linear-gradient(45deg, var(--sand-blue-100) 0 1px, transparent 1px 2.4rem), repeating-linear-gradient(-45deg, var(--sand-blue-100) 0 1px, transparent 1px 2.4rem), var(--surface); }
.map-placeholder__pin { display: block; width: .85rem; height: .85rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sand-blue-500); box-shadow: 0 4px 10px rgb(41 79 89 / 25%); }
.map-placeholder__label { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 600; }

@media (max-width: 38rem) { .theme-toggle__label { display: none; }.archive-list a { grid-template-columns: 1fr auto; }.archive-list time { grid-column: 1 / -1; }.site-footer { align-items: flex-start; flex-direction: column; } }
