/* Vintage postcard: seaside poster lettering (Oswald), sea blue and sunshine yellow. Layered over site.css (body.theme-postcard). */
@font-face { font-family: "Oswald"; src: url(../fonts/oswald-600.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #fff8ec; --surface: #ffffff; --ink: #173f52; --muted: #5f7480; --line: #f0dfc0; --accent: #1f6f99; --accent-2: #155a7e; --on-accent: #fff;
  --sea: #1f6f99; --sea-ink: #e3f2fa; --sun: #ffd166; --sun-ink: #4d3500; --edge: #ffffff; --radius: 12px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1b24; --surface: #132632; --ink: #f3ead8; --muted: #a3b3bd; --line: #24404f; --accent: #6cc3ea; --accent-2: #9ad6f1; --on-accent: #062433;
    --sea: #12506f; --edge: #1d3442; }
}
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, .view-toggle, .seg button, .facts dt, .sources h2 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* header, hero, footer */
.site-head { background: var(--sea); border-bottom: 4px solid var(--sun); backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo { color: #fff; letter-spacing: .06em; }
.logo img { background: #fff; border-radius: 7px; padding: 2px; }
.crumb a { color: var(--sea-ink); }
.hero, .hero.no-img { background: var(--sea); }
.hero-txt { background: linear-gradient(transparent, rgba(8,36,52,.78)); padding-bottom: 26px; }
.hero h1 { font-size: clamp(1.9rem, 6.5vw, 4rem); line-height: 1.04; text-shadow: 3px 3px 0 rgba(0,0,0,.28); }
.hero h1::before { content: "Wish you were here"; display: block; font-size: max(.32em, 12px); letter-spacing: .22em; color: var(--sun); text-shadow: none; margin-bottom: .5em; }
.hero::after { content: ""; position: absolute; top: 16px; right: 16px; width: 104px; height: 84px; opacity: .9; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 104'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Ccircle cx='42' cy='52' r='36' stroke-dasharray='5 4'/%3E%3Ccircle cx='42' cy='52' r='27'/%3E%3Cpath d='M64 32q8-7 16 0t16 0t16 0t16 0M64 46q8-7 16 0t16 0t16 0t16 0M64 60q8-7 16 0t16 0t16 0t16 0M64 74q8-7 16 0t16 0t16 0t16 0'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.hero.no-img::after { opacity: .5; }
@media (max-width: 600px) { .hero::after { width: 72px; height: 58px; top: 12px; right: 12px; } }
.site-foot { position: relative; background: var(--sea); color: var(--sea-ink); border-top: 0; margin-top: 72px; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: var(--sea);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 14V8q10-10 20 0t20 0v6z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 14V8q10-10 20 0t20 0v6z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 14px; }
.site-foot a { color: #fff; }

/* list + controls */
.seg button { letter-spacing: .06em; }
.seg button.on { background: var(--sun); color: var(--sun-ink); }
.places li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding-left: 12px; box-shadow: 0 2px 0 var(--line); }
.places li.hl { background: color-mix(in srgb, var(--sun) 22%, var(--surface)); }
.pl { padding: 12px 50px 12px 0; }
.onmap { right: 8px; }
.num { border-radius: 8px; transform: rotate(-4deg); font-family: var(--display); font-weight: 600; font-size: .95rem; box-shadow: 2px 2px 0 rgba(0,0,0,.18); }
.th { border-radius: 4px; border: 3px solid var(--edge); box-shadow: 0 1px 4px rgba(0,0,0,.22); }
.tx strong { font-size: 1.08rem; letter-spacing: .04em; line-height: 1.2; }
.group-h { border-bottom: 3px dashed var(--c, var(--accent)); }
.view-toggle { background: var(--sun); color: var(--sun-ink); letter-spacing: .08em; }

/* home */
.area-cards a { border-radius: 4px; border: 8px solid var(--edge); box-shadow: 0 8px 24px rgba(23,63,82,.16); transform: rotate(-.6deg); }
.area-cards li:nth-child(even) a { transform: rotate(.6deg); }
.area-cards a:hover { transform: rotate(0) translateY(-2px); }
.area-cards strong { font-size: 1.35rem; }

/* place page */
.place h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.facts dt { color: var(--accent); letter-spacing: .1em; font-size: .8rem; }
.act { border-width: 2px; }
.act:hover { border-color: var(--sun); }
.near-cards .img { border: 4px solid var(--edge); box-shadow: 0 1px 4px rgba(0,0,0,.2); border-radius: 4px; }
.head-share, .head-me { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.head-share:hover, .head-me:hover { color: var(--sun); border-color: var(--sun); }
