/* ═══════════════════════════════════════════════════════════════════════
   Watermark — prose pages

   These carry no map and no JavaScript. They are the pages a person reads
   when they are deciding whether to believe the rest of the site, and the
   pages a search engine reads to work out what this site is, so they must
   render completely from HTML alone and arrive fast.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #060b12; --ink-2: #0a121c;
  --fg: #e9f1f8; --fg-2: #b3c5d6; --fg-3: #7e93a8;
  --water: #4fd8ff; --dry: #7fe0a8; --caution: #ffbb5c; --alarm: #ff7a6b;
  --hairline: rgba(148, 178, 208, 0.14);
  --font: ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", Inter, Roboto,
          "Helvetica Neue", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font: 17px/1.65 var(--font);
  background-image: radial-gradient(1200px 600px at 50% -10%, #0e1b28 0%, var(--ink) 62%);
}

.top {
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: blur(14px); background: rgba(6, 11, 18, 0.82);
  border-bottom: 1px solid var(--hairline);
}
.top-in {
  max-width: 760px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand { font-weight: 650; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--water); }
.top nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14.5px; }
.top nav a { color: var(--fg-3); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--water); }

main { max-width: 760px; margin: 0 auto; padding: 38px 22px 80px; }

h1 {
  font-size: clamp(30px, 5.2vw, 42px); line-height: 1.14; letter-spacing: -0.022em;
  margin: 0 0 14px; font-weight: 680;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.13em; font-size: 12px;
  color: var(--water); margin: 0 0 10px; font-weight: 600;
}
.lede { font-size: 19.5px; line-height: 1.55; color: var(--fg-2); margin: 0 0 30px; }
h2 {
  font-size: 23px; line-height: 1.25; letter-spacing: -0.015em;
  margin: 42px 0 12px; font-weight: 650;
}
h3 { font-size: 18px; margin: 28px 0 8px; font-weight: 640; }
p { margin: 0 0 16px; }
a { color: var(--water); text-decoration-color: rgba(79, 216, 255, .35); text-underline-offset: 2px; }
strong, b { font-weight: 640; color: #fff; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--fg-3); }
code {
  font: 13.5px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(148, 178, 208, .10); padding: 1px 5px; border-radius: 5px; color: var(--fg-2);
}

.card {
  background: rgba(16, 26, 38, .55); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 18px 20px; margin: 0 0 16px;
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.callout {
  border-left: 3px solid var(--caution); background: rgba(255, 187, 92, .07);
  border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 0 0 20px;
}
.callout.urgent { border-left-color: var(--alarm); background: rgba(255, 122, 107, .09); }
.callout.good { border-left-color: var(--dry); background: rgba(127, 224, 168, .07); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: #fff; }

.tbl { width: 100%; overflow-x: auto; margin: 0 0 22px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { color: var(--fg-3); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td { color: var(--fg-2); }
td strong { color: var(--fg); }

.foot {
  max-width: 760px; margin: 0 auto; padding: 26px 22px 60px;
  border-top: 1px solid var(--hairline); color: var(--fg-3); font-size: 14px;
}
.foot a { color: var(--fg-2); }
.foot .em { color: var(--fg-2); }
.foot nav { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }

.emergency {
  display: block; border: 1px solid rgba(255, 122, 107, .32);
  background: rgba(255, 122, 107, .10); border-radius: 12px;
  padding: 13px 17px; margin: 0 0 26px; color: var(--fg); font-size: 15.5px;
}
.emergency b { color: #fff; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  main { padding: 28px 18px 60px; }
  .top-in { padding: 11px 18px; gap: 12px; }
}

@media print {
  body { background: #fff; color: #111; }
  .top, .foot nav { display: none; }
  a { color: #111; }
  .card, .callout { border: 1px solid #ccd; background: #fff; }
  body::after {
    content: "Watermark — ausfloodhistory.com. An independent project: not a government service, not the Bureau of Meteorology. A record of past observations, never a warning. In an emergency call 000; for flood and storm help, 132 500.";
    display: block; margin-top: 10mm; padding-top: 3mm; border-top: 1px solid #ccd;
    font-size: 9pt; line-height: 1.45; color: #333;
  }
}
