/* Layout: one phone-width column; home is a hero + 2-column tile grid, each section is a reading page with a sticky back bar. */
:root {
  --bg: #eef3f0;          /* pale lake mist */
  --surface: #ffffff;
  --tile: #f8fbf9;
  --ink: #1c2b28;
  --muted: #5b6d68;
  --line: #d6e1dc;
  --lake: #1f5e5b;        /* deep lake teal */
  --lake-soft: #dcebe7;
  --shell: #b9802a;       /* turtle-shell ochre */
  --fill-bg: #fff1b8;     /* "fill me in" highlight */
  --fill-ink: #6b4a00;
  --font-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1918; --surface: #162321; --tile: #1a2a28; --ink: #e6efec; --muted: #9db1ab;
    --line: #2a3d3a; --lake: #7cc4bd; --lake-soft: #1f3836; --shell: #e0ab5a;
    --fill-bg: #4a3a0c; --fill-ink: #ffe08a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1918; --surface: #162321; --tile: #1a2a28; --ink: #e6efec; --muted: #9db1ab;
  --line: #2a3d3a; --lake: #7cc4bd; --lake-soft: #1f3836; --shell: #e0ab5a;
  --fill-bg: #4a3a0c; --fill-ink: #ffe08a; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--bg);
}
.wrap { max-width: 560px; margin: 0 auto; padding-block: 20px 32px; display: grid; gap: 16px; }
a { color: var(--lake); }
:focus-visible { outline: 3px solid var(--shell); outline-offset: 2px; border-radius: 8px; }

/* ---------- Home ---------- */
.hero {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  display: grid; gap: 6px; justify-items: center;
  border: 1px solid var(--line);
}
.hero .logo { width: 150px; height: 150px; margin-bottom: 8px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.9rem;
  line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance;
}
.hero .where {
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin: 0; text-wrap: balance;
}
.hero .welcome { margin: 8px 0 0; font-size: 1.05rem; max-width: 30ch; text-wrap: balance; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  display: grid; justify-items: center; align-content: center; gap: 10px;
  min-height: 118px; padding: 16px 10px;
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.25;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.tile svg { width: 28px; height: 28px; color: var(--lake); }
.tile:hover { border-color: var(--lake); }
.tile:active { transform: scale(0.97); background: var(--lake-soft); }

/* ---------- Host contact ---------- */
.host {
  display: flex; align-items: center; gap: 14px;
  background: var(--lake-soft); border-radius: var(--radius); padding: 16px 18px;
}
.host .icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lake);
  color: var(--surface); display: grid; place-items: center; }
.host .icon svg { width: 22px; height: 22px; }
.host .who { min-width: 0; }
.host .label { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); }
.host .name { font-weight: 700; }
.host .phone { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.host .phone a { text-decoration: none; font-weight: 700; }
.host .note { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }

/* ---------- Section page ---------- */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--bg); padding-block: 10px;
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--line);
}
.bar .inner { max-width: 560px; margin: 0 auto; }
.back {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 0.95rem;
}
.back svg { width: 18px; height: 18px; }

.page-head { display: grid; gap: 8px; padding-top: 8px; }
.page-head .badge { width: 52px; height: 52px; border-radius: 16px; background: var(--lake-soft);
  color: var(--lake); display: grid; place-items: center; }
.page-head .badge svg { width: 28px; height: 28px; }
.page-head h1 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem;
  line-height: 1.15; margin: 0; text-wrap: balance; }
.page-head .intro { margin: 0; color: var(--muted); font-size: 1.05rem; }

.items { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; }
.item { padding: 18px 20px; display: grid; gap: 8px; min-width: 0; }
.item + .item { border-top: 1px solid var(--line); }
.item h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; margin: 0;
  color: var(--lake); }
.item .body { display: grid; gap: 10px; overflow-wrap: anywhere; }
.item p { margin: 0; }
.item ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.item li::marker { color: var(--shell); }
.directions {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lake); color: var(--lake);
  text-decoration: none; font-family: var(--font-display); font-size: 0.92rem; font-weight: 500;
}
.directions svg { width: 16px; height: 16px; }

.photo { margin: 2px 0 4px; display: grid; gap: 8px; }
.photo img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.photo figcaption { font-size: 0.92rem; color: var(--muted); }

mark.fill {
  background: var(--fill-bg); color: var(--fill-ink); border-radius: 4px;
  padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.foot { text-align: center; color: var(--muted); font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }
