:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #555555;
  --line: #e5e5e5;
  --accent: #0B5FFF;
  --soft: #f6f8fc;
  --soft2: #eef3fb;
  --warn: #8a5a00;
  --ok: #1b5e2a;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration-thickness: 1px; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 760px; margin: 0 auto; padding: 1.1rem 1rem 3rem; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.35rem;
  padding-bottom: 0.9rem;
}
.brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand a { color: var(--ink); text-decoration: none; }
.tagline { color: var(--muted); font-size: 0.9rem; margin: 0.2rem 0 0.7rem; }
nav {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.85rem;
  font-size: 0.88rem;
}
nav a { color: var(--ink); }
nav a[aria-current="page"] { color: var(--accent); }

/* Type */
h1 {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  line-height: 1.18; letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
}
h2 {
  font-size: 1.15rem; margin: 1.7rem 0 0.65rem;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.02rem; margin: 0 0 0.35rem; }
.lead { font-size: 1.02rem; color: var(--muted); margin: 0 0 1rem; }
.meta { font-size: 0.84rem; color: var(--muted); }
.source { font-size: 0.8rem; color: var(--muted); }
.source a { color: var(--muted); }

/* Notion-like cards */
.grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
}

.callout, .fact, .card, .place {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 0.85rem 0.95rem;
  margin: 0;
}
.callout {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: #fff;
}
.callout .icon {
  flex: 0 0 auto; font-size: 1.25rem; line-height: 1.2;
  width: 1.6rem; text-align: center;
}
.callout p { margin: 0; }
.callout + .callout { margin-top: 0.65rem; }

.fact {
  background: var(--soft2);
  border-color: #d7e3f7;
}
.fact-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin: 0.75rem 0;
}
.fact-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid #d7e3f7;
  background: var(--soft2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem; font-weight: 600;
}
.fact-pill span.label {
  font-weight: 500; color: var(--muted); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}

.card h3, .place h3 { margin-top: 0; }
.card p:last-child, .place p:last-child { margin-bottom: 0; }

.place {
  background: #fff;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.place .row-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem;
  align-items: center;
}
.facts-inline {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.25rem 0;
}
.facts-inline .chip {
  font-size: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  color: var(--muted);
  background: var(--soft);
}

/* Photos */
figure.photo {
  margin: 0.9rem 0 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fafafa;
}
figure.photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
figure.photo.tall img { aspect-ratio: 4 / 5; object-fit: cover; }
figure.photo figcaption {
  padding: 0.45rem 0.7rem 0.55rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  background: #fff;
}
figure.photo figcaption a { color: var(--muted); }

.hero-stack { margin-bottom: 1rem; }

/* Details / toggles */
details.more {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.55rem 0.85rem;
  margin: 0.65rem 0;
}
details.more summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex; align-items: center; gap: 0.4rem;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before {
  content: "▸";
  color: var(--accent);
  font-size: 0.85rem;
}
details.more[open] summary::before { content: "▾"; }
details.more .body { margin-top: 0.55rem; color: var(--ink); }
details.more .body > *:first-child { margin-top: 0; }

/* Badges / buttons */
.badge {
  display: inline-block; font-size: 0.72rem; padding: 0.12rem 0.45rem;
  border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  font-weight: 600;
}
.badge.ok { border-color: #9ad0a8; color: var(--ok); background: #f1faf3; }
.badge.warn { border-color: #e0c07a; color: var(--warn); background: #fff8e8; }
.badge.no { border-color: var(--line); }

.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 0.55rem 0.9rem; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.btn.secondary {
  background: transparent; color: var(--accent) !important;
  border: 1px solid var(--accent);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.55rem; }

ul.clean { padding-left: 1.1rem; margin: 0.4rem 0; }
ul.clean li { margin: 0.25rem 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0.75rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; margin: 0; }
th, td { border-bottom: 1px solid var(--line); padding: 0.5rem 0.45rem; text-align: left; vertical-align: top; }
th {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); background: var(--soft); position: sticky; top: 0;
}
tr:last-child td { border-bottom: none; }

.todo {
  background: #fff8e8; border: 1px dashed #d4a017;
  padding: 0.6rem 0.75rem; border-radius: 8px; font-size: 0.9rem;
  margin: 0.65rem 0;
}
.placeholder {
  border: 1px dashed var(--line); padding: 0.7rem;
  border-radius: 8px; color: var(--muted); font-size: 0.88rem; background: #fafafa;
  margin: 0.65rem 0;
}

.section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); font-weight: 700; margin: 1.4rem 0 0.55rem;
}

footer.site {
  margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
footer.site p { margin: 0.3rem 0; }

/* Itinerary step cards */
.steps { display: grid; gap: 0.65rem; counter-reset: step; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 0.95rem; background: #fff;
  display: grid; grid-template-columns: auto 1fr; gap: 0.7rem;
}
.step .n {
  width: 1.7rem; height: 1.7rem; border-radius: 999px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700;
}
.step h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.step p { margin: 0; font-size: 0.92rem; color: var(--muted); }

@media (max-width: 480px) {
  nav { gap: 0.35rem 0.65rem; font-size: 0.84rem; }
  .fact-row { gap: 0.4rem; }
}

/* Weather */
.weather-card .weather-now {
  display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 0.45rem;
}
.weather-temp {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1;
}
.weather-cond { display: flex; flex-direction: column; gap: 0.1rem; }
.weather-cond strong { font-size: 1rem; }
.weather-cond span { font-size: 0.84rem; color: var(--muted); }
.weather-fallback { margin: 0; font-size: 0.92rem; }
.weather-iframe {
  width: 100%; border: 0; border-radius: 8px;
  min-height: 180px; background: var(--soft);
}
.webcam-embed {
  width: 100%; border: 0; border-radius: 8px;
  aspect-ratio: 800 / 656; background: #111;
  margin: 0.45rem 0 0.35rem;
}
.webcam-list { list-style: none; padding: 0; margin: 0.35rem 0 0; }
.webcam-list li {
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
}
.webcam-list li:first-child { border-top: 0; padding-top: 0; }
.webcam-list strong { display: block; }

.updated { margin-top: -0.35rem; margin-bottom: 0.9rem; }
.faq-item h2 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.answer { font-size: 1.05rem; }
