/* Coastal editorial: serif headings (Fraunces), sand and navy, coral numbers. Layered over site.css (body.theme-coastal). */
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f6f1e7; --surface: #fffdf8; --ink: #1d2b3a; --muted: #6b6257; --line: #e4d9c6; --accent: #b4472f; --accent-2: #8f3420; --on-accent: #fff;
  --navy: #1d2b3a; --navy-ink: #f1ebe0; --gold: #e8a87c; --radius: 6px; --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow: 0 1px 2px rgba(29,43,58,.06), 0 8px 24px rgba(29,43,58,.07);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1720; --surface: #16212c; --ink: #f1ebe0; --muted: #a99f91; --line: #283542; --accent: #ee9a7c; --accent-2: #f4b49c; --on-accent: #2a0f07;
    --navy: #0a1118; --shadow: 0 1px 2px rgba(0,0,0,.4); }
}
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, .logo, .tx strong, .area-cards strong, .near-cards strong, .group-h, .place .lead { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }
.logo { font-size: 1.12rem; font-weight: 600; }

/* header, hero, footer */
.hero, .hero.no-img { background: var(--navy); }
.hero-txt { background: linear-gradient(transparent, rgba(12,20,28,.85)); padding-bottom: 30px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); text-shadow: none; }
.hero h1::before { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-bottom: 14px; }
.intro .prose { font-size: 1.1rem; }
.intro .prose.drop > p:first-child::first-letter { font-family: var(--serif); font-weight: 400; color: var(--accent);
  -webkit-initial-letter: 2; initial-letter: 2; margin-right: .14em; } /* the letter's top lines up with the first line, its foot with the second */
@supports not ((initial-letter: 2) or (-webkit-initial-letter: 2)) {
  .intro .prose.drop > p:first-child::first-letter { float: left; font-size: 3em; line-height: .8; padding: .1em .12em 0 0; margin: 0; }
}
.site-foot { background: var(--navy); color: #b9b0a3; border-top: 0; margin-top: 64px; }
.site-foot a { color: var(--navy-ink); }

/* list + controls */
.btn, .act, .chip, .tools input[type=search], .seg { border-radius: 6px; }
.seg button { border-radius: 4px; }
.seg button.on { background: var(--ink); color: var(--bg); }
.places li { border-bottom-color: var(--line); }
.pl { grid-template-columns: 46px 96px 1fr; }
.num { width: auto; height: auto; background: none; color: var(--accent); font: 500 1.65rem/1 var(--serif); place-content: start; margin-top: 0; font-variant-numeric: lining-nums; }
.th { border-radius: 4px; }
.tx strong { font-size: 1.16rem; }
.group-h { font-size: 1.3rem; border-bottom-width: 1px; }
.view-toggle { background: var(--navy); color: var(--navy-ink); }
@media (prefers-color-scheme: dark) { .view-toggle { background: var(--ink); color: var(--bg); } }
@media (max-width: 480px) { .pl { grid-template-columns: 36px 72px 1fr; } .num { font-size: 1.3rem; } }

/* home */
.home-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.area-cards a { border-radius: 6px; box-shadow: none; }
.area-cards strong { font-size: 1.5rem; }

/* place page */
.place h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
.place .lead { font-size: 1.28rem; color: var(--ink); line-height: 1.45; }
.facts dt { color: var(--accent); letter-spacing: .12em; font-size: .72rem; }
.sources h2 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.near-cards .img { border-radius: 4px; }
@media (min-width: 900px) { .gallery, .pbanner { border-radius: 6px; } }
