/* Meteo Rovinj website. One stylesheet for every page.
   The look is the town itself: Adriatic blues, Istrian limestone, terracotta roofs, a serif for titles.
   Colours are tokens: light by default, dark from the system or the header toggle.
   build.py expands the at-dark block below into both dark selectors. */
:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --surface: #ffffff;
  --surface-2: #f1ece1;
  --border: #e3dccd;
  --text: #0f2437;
  --text-2: #36475a;
  --muted: #5b6875;
  --accent: #0b5fa5;
  --accent-ink: #ffffff;
  --brand: #0b2a4a;
  --header: #fffdf9;
  --focus: #0b5fa5;
  --kick: var(--accent);  /* the button blue: section labels, big numbers, our bar */
  --sand: #efe5d0;
  --sand-line: #dfd2b6;
  /* chart series */
  --c-temp: #c56a12;
  --c-low: #2f7fd6;
  --c-wind: #7a5fd0;
  --c-gust: #cf3b5f;
  --c-wave: #2f7fd6;
  --c-period: #c56a12;
  --c-rain: #2f7fd6;
  --c-cloud: #a3afba;
  --c-tide: #0f7f92;
  --c-now: #cf3b5f;
  --grid: #e7e1d4;
  --axis: #677481;
  --band: rgba(47,127,214,.16);
  --future: rgba(15,36,55,.035);
  --temp-fill: rgba(197,106,18,.1);
  --night-col: rgba(11,42,74,.055);
  --water-1: rgba(15,127,146,.5);
  --water-2: rgba(15,127,146,.14);
  --water-past: rgba(246,242,234,.45);
  /* status */
  --ok: #2e8b63;
  --lively: #c99412;
  --rough: #c8455c;
  --w-yellow-bg: #fff3bf; --w-yellow-bd: #e6c84a; --w-yellow-ink: #574600;
  --w-orange-bg: #ffe2c4; --w-orange-bd: #f0a45a; --w-orange-ink: #6a3300;
  --w-red-bg: #fddbd8; --w-red-bd: #e58a83; --w-red-ink: #7a1a14;
  /* icons */
  --m-lit: #efcf6a; --m-dark: #4f6074;
  --i-sun: #f0a81c; --i-moon: #8fa3c4; --i-cloud: #9fb0c0; --i-cloud-2: #c3cfda; --i-drop: #2f7fd6;
  --shadow: 0 1px 2px rgba(40,30,10,.05), 0 8px 24px rgba(40,30,10,.05);
  /* Bricolage Grotesque for headings and big numbers, Instrument Sans for text (both SIL OFL, self-hosted
     in assets/fonts). --serif keeps its name for the display face so the rules below need no change. */
  --serif: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hdr-h: 59px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #071624;
  --surface: #0e2233;
  --surface-2: #153047;
  --border: #20394f;
  --text: #e8eff5;
  --text-2: #c4cfda;
  --muted: #94a5b4;
  --accent: #6cc0e6;
  --accent-ink: #062033;
  --brand: #e8eff5;
  --header: #0a1c2c;
  --focus: #8fd0f0;
  --kick: var(--accent);
  --sand: #0b2032;
  --sand-line: #1b3449;
  --c-temp: #e39a22;
  --c-low: #5c9fe3;
  --c-wind: #a08ae8;
  --c-gust: #ea6a82;
  --c-wave: #5c9fe3;
  --c-period: #e39a22;
  --c-rain: #5c9fe3;
  --c-cloud: #5f7284;
  --c-tide: #4fb3c4;
  --c-now: #ea6a82;
  --grid: #1d3246;
  --axis: #8696a5;
  --band: rgba(92,159,227,.22);
  --future: rgba(120,160,200,.06);
  --temp-fill: rgba(227,154,34,.1);
  --night-col: rgba(0,0,0,.2);
  --water-1: rgba(79,179,196,.5);
  --water-2: rgba(79,179,196,.1);
  --water-past: rgba(11,32,50,.45);
  --ok: #3fa97c;
  --lively: #d9a626;
  --rough: #d2506a;
  --w-yellow-bg: #2a2a1c; --w-yellow-bd: #8c7a2c; --w-yellow-ink: #f0d264;
  --w-orange-bg: #33261a; --w-orange-bd: #a0672c; --w-orange-ink: #f5b06a;
  --w-red-bg: #351d1f; --w-red-bd: #a04a48; --w-red-ink: #f59a92;
  --m-lit: #f3e6b0; --m-dark: #2b3947;
  --i-sun: #f5b62e; --i-moon: #dfe7f5; --i-cloud: #9aabbb; --i-cloud-2: #40505f; --i-drop: #6aa9e9;
  --shadow: none;
}
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071624;
  --surface: #0e2233;
  --surface-2: #153047;
  --border: #20394f;
  --text: #e8eff5;
  --text-2: #c4cfda;
  --muted: #94a5b4;
  --accent: #6cc0e6;
  --accent-ink: #062033;
  --brand: #e8eff5;
  --header: #0a1c2c;
  --focus: #8fd0f0;
  --kick: var(--accent);
  --sand: #0b2032;
  --sand-line: #1b3449;
  --c-temp: #e39a22;
  --c-low: #5c9fe3;
  --c-wind: #a08ae8;
  --c-gust: #ea6a82;
  --c-wave: #5c9fe3;
  --c-period: #e39a22;
  --c-rain: #5c9fe3;
  --c-cloud: #5f7284;
  --c-tide: #4fb3c4;
  --c-now: #ea6a82;
  --grid: #1d3246;
  --axis: #8696a5;
  --band: rgba(92,159,227,.22);
  --future: rgba(120,160,200,.06);
  --temp-fill: rgba(227,154,34,.1);
  --night-col: rgba(0,0,0,.2);
  --water-1: rgba(79,179,196,.5);
  --water-2: rgba(79,179,196,.1);
  --water-past: rgba(11,32,50,.45);
  --ok: #3fa97c;
  --lively: #d9a626;
  --rough: #d2506a;
  --w-yellow-bg: #2a2a1c; --w-yellow-bd: #8c7a2c; --w-yellow-ink: #f0d264;
  --w-orange-bg: #33261a; --w-orange-bd: #a0672c; --w-orange-ink: #f5b06a;
  --w-red-bg: #351d1f; --w-red-bd: #a04a48; --w-red-ink: #f59a92;
  --m-lit: #f3e6b0; --m-dark: #2b3947;
  --i-sun: #f5b62e; --i-moon: #dfe7f5; --i-cloud: #9aabbb; --i-cloud-2: #40505f; --i-drop: #6aa9e9;
  --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.num, td, .tile b, .big { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--kick); margin: 0 0 6px; }
.lbl { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--muted); margin: 0; display: block; }

/* ---------- header ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 40; }
.skip:focus { left: 8px; }
.hdr { position: sticky; top: 0; z-index: 30; background: var(--header); border-bottom: 1px solid var(--border); transition: background-color .25s, border-color .25s; }
.hdr .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 18px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--brand); text-decoration: none; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 2px; min-width: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .95rem; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface-2); color: var(--accent); font-weight: 700; }
.hdr-tools { display: flex; align-items: center; gap: 8px; justify-self: end; }
.lang { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang a { padding: 5px 9px; font-size: .8rem; font-weight: 650; color: var(--muted); text-decoration: none; letter-spacing: .02em; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
.iconbtn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text-2); }
.iconbtn:hover { background: var(--surface-2); color: var(--text); }
.iconbtn svg { width: 18px; height: 18px; }
@media (max-width: 920px) {
  :root { --hdr-h: 95px; }
  .hdr .wrap { grid-template-columns: 1fr auto; }
  .hdr .brand { min-height: 52px; grid-row: 1; grid-column: 1; }
  .hdr-tools { grid-row: 1; grid-column: 2; }
  .nav { grid-row: 2; grid-column: 1 / -1; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 12px 8px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 11px; font-size: .9rem; }
  html { scroll-padding-top: 108px; }
}
/* home: the header floats clear over the scene until the page moves */
.is-home .hdr { position: fixed; left: 0; right: 0; }
html:not(.scrolled) .is-home .hdr { background: transparent; border-color: transparent; }
html:not(.scrolled) .is-home .hdr .brand, html:not(.scrolled) .is-home .hdr .nav a, html:not(.scrolled) .is-home .hdr .iconbtn { color: #fff; }
html:not(.scrolled) .is-home .hdr .nav a:hover, html:not(.scrolled) .is-home .hdr .nav a[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
html:not(.scrolled) .is-home .hdr .lang, html:not(.scrolled) .is-home .hdr .iconbtn { border-color: rgba(255,255,255,.45); }
html:not(.scrolled) .is-home .hdr .lang a { color: #fff; }
html:not(.scrolled) .is-home .hdr .lang a[aria-current="true"] { background: #fff; color: #0b2a4a; }
html.scrolled .is-home .hdr { box-shadow: 0 6px 24px rgba(6,24,44,.12); }

/* ---------- page furniture ---------- */
main { padding: 0 0 56px; min-height: 60vh; position: relative; isolation: isolate; overflow-x: hidden; overflow-x: clip; }
main.home { padding: 0; }
.pagehead { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin: 0 0 30px; padding: 30px 0 38px; color: #fff; }
.pagehead p { margin: 6px 0 0; color: rgba(255,255,255,.88); }
/* inner pages open with a strip of sea; the waves at its foot are the page colour */
.pagehead::before, .prose > h1:first-child::before, .apphero::before { content: ""; position: absolute; top: 0; bottom: 0; left: -100vmax; right: -100vmax; z-index: -1; background: linear-gradient(180deg, #0e4f80, #0b2f52); }
.pagehead::after, .prose > h1:first-child::after, .apphero::after { content: ""; position: absolute; bottom: -1px; height: 14px; left: -100vmax; right: -100vmax; z-index: -1; background: var(--bg);
  -webkit-mask: var(--wave) repeat-x center bottom / 96px 14px; mask: var(--wave) repeat-x center bottom / 96px 14px; }
:root { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V13C10 13 20 2 30 2S50 13 60 13 80 2 90 2s20 11 30 11v11z'/%3E%3C/svg%3E"); }
.prose > h1:first-child { position: relative; color: #fff; padding: 34px 0 42px; margin-bottom: 28px; }
.stale { color: var(--w-orange-ink); background: var(--w-orange-bg); border: 1px solid var(--w-orange-bd); padding: 2px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-left: 6px; white-space: nowrap; }
.sec { margin-top: 32px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.sec-head h2 { font-size: 1.45rem; }
.sec-head .muted { font-size: .875rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .card { padding: 22px; } }
.card > :last-child { margin-bottom: 0; }
.note { color: var(--muted); font-size: .875rem; margin: 10px 0 0; }
.grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; }
@media (min-width: 860px) { .g-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .g-2 { grid-template-columns: 1fr 1fr; } }
.loading { color: var(--muted); padding: 32px 0; }
.errbox { border: 1px solid var(--w-red-bd); background: var(--w-red-bg); color: var(--w-red-ink); border-radius: 12px; padding: 12px 16px; }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid currentColor; color: var(--accent); text-decoration: none; font-weight: 650; font-size: .95rem; white-space: nowrap; }
.cta svg { width: 18px; height: 18px; transition: transform .2s; }
.cta:hover svg { transform: translateX(3px); }
.cta span { display: inline-flex; }
.linkbtn { border: 0; background: none; color: var(--accent); font: inherit; font-weight: 650; cursor: pointer; padding: 4px 0; }
.linkbtn:hover { text-decoration: underline; }

/* ---------- warnings ---------- */
.warns { display: grid; gap: 8px; margin-bottom: 16px; }
.warn { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; border-radius: 14px; padding: 12px 16px; border: 1px solid; }
.warn svg { width: 24px; height: 24px; margin-top: 2px; }
.warn b { display: block; }
.warn .when { font-weight: 600; font-size: .92rem; }
.warn p { margin: 2px 0 0; color: var(--text); font-size: .95rem; }
.warn .src { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.warn.yellow { background: var(--w-yellow-bg); border-color: var(--w-yellow-bd); }
.warn.yellow b, .warn.yellow .when, .warn.yellow svg { color: var(--w-yellow-ink); }
.warn.orange { background: var(--w-orange-bg); border-color: var(--w-orange-bd); }
.warn.orange b, .warn.orange .when, .warn.orange svg { color: var(--w-orange-ink); }
.warn.red { background: var(--w-red-bg); border-color: var(--w-red-bd); }
.warn.red b, .warn.red .when, .warn.red svg { color: var(--w-red-ink); }
/* on the home scene a warning is a signal flag: one line, opens for the text */
.flags { display: grid; gap: 6px; margin: 0 0 18px; max-width: 520px; }
.flag { border-radius: 12px; font-size: .9rem; color: #2b2300; background: #ffd84d; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.flag.orange { background: #ffab4a; color: #2e1700; }
.flag.red { background: #ff7a6b; color: #2e0705; }
.flag summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 20px 1fr 16px; gap: 8px; align-items: center; padding: 7px 12px; line-height: 1.3; }
.flag summary::-webkit-details-marker { display: none; }
.flag summary svg { width: 20px; height: 20px; }
.flag .chev { color: inherit; width: 16px; height: 16px; }
.flag .when { font-weight: 500; }
.flag > div { padding: 0 12px 10px 40px; }
.flag p { margin: 0; }
.flag .src { font-size: .8rem; opacity: .8; margin-top: 2px; }

/* ---------- home: the scene ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0b2a4a; padding-top: var(--hdr-h);
  --sea-h: 230px; --town-w: clamp(620px, 58vw, 900px); min-height: clamp(640px, 90vh, 840px); }
.hero-in { position: relative; z-index: 2; padding-top: 26px; padding-bottom: calc(var(--sea-h) + 30px); }
.hero-text { max-width: 540px; text-shadow: 0 1px 14px rgba(4,16,30,.35); }
.hero-place { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.hero-date { margin: 4px 0 0; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero .loading { color: rgba(255,255,255,.9); padding: 16px 0; }
.now .temp { font-family: var(--serif); font-weight: 700; font-size: clamp(6.5rem, 3rem + 13vw, 12.5rem); line-height: .86; letter-spacing: -.045em; margin: 14px 0 0 -.04em; font-variant-numeric: lining-nums; }
.now .temp span[aria-hidden] { font-size: .5em; vertical-align: .7em; letter-spacing: 0; margin-left: -.02em; }
.now .cond { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 650; margin: 12px 0 0; }
.now .cond .wx { width: 40px; height: 40px; flex: none; }
.now .lines { color: rgba(255,255,255,.9); font-size: .92rem; line-height: 1.5; margin: 6px 0 0; }
.now .lines .live-src { font-size: .85em; }
.now .lines a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hero .wx { --i-cloud: #e6edf3; --i-cloud-2: #aebccb; --i-moon: #f3ead0; --i-drop: #9fd0ff; --i-sun: #ffcc55; }

.scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  --s0: #0b4c92; --s1: #3a8cc9; --s2: #bcdfed; --scrim: .34; --cloud: #fff; --cloud2: #c9d9e8;
  --sea-far: #2c8fae; --sea-mid: #12679a; --sea-near: #063864;
  --w1: #e9b56a; --w2: #dd8f6c; --w3: #f2e4c8; --w4: #e6a9a0; --w5: #f1d07c; --w6: #efe9dc; --w7: #cf7558; --roof: #b4573b; --roof2: #9f4a33;
  --stone: #ece5d5; --stone2: #cfc5b0; --stone3: #b9ae98; --shade: rgba(40,30,30,.2); --green: #2f5d46; --green2: #44785a; --rock: #b9b3a4; --quay: #cfc8b8;
  --win: #46525e; --lit: #46525e; --hill: #b98a66; --copper: #5d8f7f; --lamp: transparent; --sail: #e2a744; --sail2: #b8452f; --hull: #3c5a78; }
.sc-sky, .sc-glow, .sc-veil { position: absolute; inset: 0 0 var(--sea-h) 0; }
.sc-sky { background: linear-gradient(180deg, var(--s0), var(--s1) 58%, var(--s2)); }
.sc-stars { position: absolute; inset: 0; opacity: var(--stars, 0); }
.sc-stars i { position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; }
.scene { --x0: 36%; --xw: 60%; }
.sc-glow { background: radial-gradient(ellipse 58% 62% at calc(var(--x0) + var(--sx, .5) * var(--xw)) 100%, rgba(255,178,98,.95), rgba(255,138,92,.4) 45%, rgba(255,138,92,0) 72%); opacity: var(--glow, 0); }
.sc-sun, .sc-moon { position: absolute; top: calc((100% - var(--sea-h)) * var(--y, .4)); border-radius: 50%; opacity: 0; }
.sc-sun { left: calc(var(--x0) + var(--sx, .5) * var(--xw)); z-index: 1; width: 62px; height: 62px; margin: -31px 0 0 -31px; background: var(--sun-c, #fff0c4); box-shadow: 0 0 0 12px rgba(255,226,160,.16), 0 0 70px 26px rgba(255,205,130,.38); }
.sc-moon { left: calc(var(--x0) + var(--mx, .5) * var(--xw)); z-index: 1; width: 46px; height: 46px; margin: -23px 0 0 -23px; box-shadow: 0 0 34px 8px rgba(246,239,214,.22); }
.sc-moon svg { display: block; width: 100%; height: 100%; }
.sc-clouds { position: absolute; left: 0; top: 0; bottom: var(--sea-h); width: 200%; animation: sc-clouds 200s linear infinite; }
.sc-clouds span { position: absolute; width: calc(230px * var(--k, 1)); }
.sc-clouds svg { display: block; width: 100%; height: auto; }
.sc-veil { background: linear-gradient(180deg, var(--veil-c, #8894a1), rgba(136,148,161,0) 130%); opacity: var(--veil, 0); }
.sc-sea { position: absolute; left: 0; right: 0; bottom: 0; height: var(--sea-h); overflow: hidden; }
.sc-sea-back { background: linear-gradient(180deg, var(--sea-far), var(--sea-mid) 70%); }
.wv { position: absolute; max-width: none; animation: sc-drift 8s linear infinite; will-change: transform; }
.sc-shine { left: calc(var(--x0) + var(--shx, .5) * var(--xw)); position: absolute; bottom: 0; height: calc(var(--sea-h) * .5); width: 150px; margin-left: -75px; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255,232,180,.85), rgba(255,232,180,0) 72%); }
.sc-townbox { position: absolute; width: var(--town-w); right: max(1%, calc(50% - 660px)); bottom: calc(var(--sea-h) * .53 - var(--town-w) * .0467); }
.town { display: block; width: 100%; height: auto; }
.town .lit { fill: var(--lit); }
.town .lamp, .sc-light .lamp, .lantern { filter: drop-shadow(0 0 3px #ffd98a); }
#saint { transform: scaleX(var(--saint, 1)); }
.sc-townbox, .sc-rain { z-index: 1; } /* sun and moon above the text scrim, but behind the town and the rain */
.town .beam { fill: #ffe9a8; opacity: 0; }
.is-night .town .beam { animation: sc-beam 10s linear infinite; }
.scene:has(.town[data-paint]) .sc-light { display: none; }
.sc-light { position: absolute; width: 46px; left: 41%; bottom: calc(var(--sea-h) - 6px); }
.sc-light .beam { fill: #ffe9a8; opacity: 0; }
.is-night .sc-light .beam { animation: sc-beam 10s linear infinite; }
.sc-boat { position: absolute; width: 66px; left: 33%; bottom: calc(var(--sea-h) * .34 - 12px); transform-origin: 50% 88%; animation: sc-bob 4s ease-in-out infinite alternate; }
.sc-boat svg { display: block; width: 100%; height: auto; }
.sc-rain { position: absolute; inset: -12% -22%; transform: skewX(var(--slant, -8deg)); opacity: 0; }
.sc-rain i { position: absolute; inset: -160px 0 0 0; animation: sc-rain var(--rain-t, .6s) linear infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='160'%3E%3Cpath d='M10 4v18M34 60v22M58 22v15M78 100v22M97 44v14M22 118v18M50 136v15M70 68v12' fill='none' stroke='white' stroke-opacity='.6' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.sc-rain i + i { background-size: 170px 247px; opacity: .55; animation-duration: calc(var(--rain-t, .6s) * 1.5); animation-name: sc-rain2; inset: -247px 0 0 0; }
.sc-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(5,18,34,var(--scrim)) 0, rgba(5,18,34,0) 170px),
  radial-gradient(ellipse 56% 78% at 26% 40%, rgba(5,18,34,var(--scrim)) 0, rgba(5,18,34,var(--scrim)) 52%, rgba(5,18,34,0) 100%); }
@keyframes sc-clouds { to { transform: translateX(-50%); } }
@keyframes sc-drift { to { transform: translateX(var(--shift, -200px)); } }
@keyframes sc-bob { from { transform: translateY(calc(var(--lift, 2px) * -1)) rotate(calc(var(--bob, 2deg) * -1)); } to { transform: translateY(var(--lift, 2px)) rotate(var(--bob, 2deg)); } }
@keyframes sc-rain { to { transform: translateY(160px); } }
@keyframes sc-rain2 { to { transform: translateY(247px); } }
/* Sv. Ivan na pucini: Fl(2) W 10s, flash 0.5 s, dark 2.5 s, flash 0.5 s, dark 6.5 s (the light's real character) */
@keyframes sc-beam { 0%, 4.9% { opacity: .95; } 5%, 29.9% { opacity: 0; } 30%, 34.9% { opacity: .95; } 35%, 100% { opacity: 0; } }
@media (max-width: 760px) {
  .hero { --sea-h: 150px; --town-w: 540px; min-height: 0; }
  .hero-in { padding-top: 14px; padding-bottom: calc(var(--sea-h) * .53 + var(--town-w) * .33 + 16px); }
  .sc-townbox { right: auto; left: calc(50% - var(--town-w) * .535); }
  .scene { --x0: 64%; --xw: 30%; }
  .sc-sun { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .sc-sun, .sc-moon, .sc-townbox, .sc-rain { z-index: auto; }
  .sc-light { display: none; }
  .sc-boat { width: 46px; left: 9%; }
  .sc-clouds span { width: calc(150px * var(--k, 1)); }
  .sc-scrim { background: linear-gradient(0deg, rgba(5,18,34,0) 0, rgba(5,18,34,0) calc(var(--sea-h) * .53 + var(--town-w) * .25), rgba(5,18,34,var(--scrim)) calc(var(--sea-h) * .53 + var(--town-w) * .36)); }
  .now .cond { font-size: 1.2rem; }
}

/* the instrument rail under the scene */
.rail { position: relative; z-index: 3; margin-top: -64px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 20px 50px rgba(6,24,44,.22); overflow: hidden; }
.tile { position: relative; display: block; padding: 16px 16px 14px; color: inherit; text-decoration: none; min-width: 0; border-left: 1px solid var(--border); }
.tile:first-child { border-left: 0; }
a.tile:hover { background: var(--surface-2); }
.tile .ti { display: block; color: var(--accent); height: 22px; margin-bottom: 6px; }
.tile .ti svg { width: 22px; height: 22px; }
.tile .k { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.tile b { display: block; font-size: 1.4rem; line-height: 1.2; margin-top: 2px; font-weight: 700; white-space: nowrap; }
.tile b small { font-size: .62em; font-weight: 600; color: var(--text-2); }
.tile .s { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.tile b.b-live { white-space: normal; font-size: 1.05rem; line-height: 1.25; margin-top: 4px; }
.tile .sec2 { font-weight: 500; font-size: .95rem; color: var(--text-2); }
/* tiles on the Sea page stay separate cards */
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 520px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles .tile { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; }
.tiles .tile b { white-space: normal; font-size: 1.3rem; }
@media (max-width: 900px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail .tile:nth-child(4) { border-left: 0; }
  .rail .tile:nth-child(n+4) { border-top: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; border-radius: 18px; }
  .rail .tile { padding: 12px 12px 10px; border-top: 1px solid var(--border); }
  .rail .tile:nth-child(odd) { border-left: 0; } .rail .tile:nth-child(even) { border-left: 1px solid var(--border); }
  .rail .tile:nth-child(-n+2) { border-top: 0; }
  .tile b { font-size: 1.25rem; }
}
.scene-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .84rem; margin: 12px 4px 0; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,139,99,.5); } 100% { box-shadow: 0 0 0 9px rgba(46,139,99,0); } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.jump a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.jump a:hover { border-color: var(--accent); color: var(--accent); }
.jump span { display: inline-flex; color: var(--accent); }
.jump svg { width: 18px; height: 18px; }

/* ---------- home: bands ---------- */
.band { position: relative; padding: 56px 0; }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.band-head .muted { font-size: .875rem; }
.band-lead { font-size: 1.08rem; max-width: 640px; color: var(--text-2); }
.edge { position: absolute; left: 0; right: 0; top: -17px; height: 18px; background: currentColor; -webkit-mask: var(--wave) repeat-x center bottom / 110px 18px; mask: var(--wave) repeat-x center bottom / 110px 18px; }
@media (max-width: 700px) { .band { padding: 44px 0; } }

/* hours */
/* the radar band follows straight on: no bottom padding here, and .b-radar's top padding equals the 16px gap between the two cards */
.b-hours { padding-top: 44px; padding-bottom: 0; }
.strip { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 8px 8px 4px; box-shadow: var(--shadow); scroll-snap-type: x proximity; }
.strip-in { position: relative; display: flex; }
.strip-line { position: absolute; left: 0; top: 78px; pointer-events: none; max-width: none; }
.hr { flex: none; width: 62px; text-align: center; padding: 6px 0 8px; font-size: .82rem; scroll-snap-align: start; }
.hr.night { background: var(--night-col); }
.hr.night:first-child, .hr:not(.night) + .hr.night { border-radius: 12px 0 0 12px; }
.hr.night:has(+ .hr:not(.night)), .hr.night:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }
.hr.newday { box-shadow: -1px 0 0 var(--border); }
.hr .t { color: var(--muted); font-size: .8rem; height: 36px; line-height: 18px; }
.hr .t b { color: var(--text); display: block; font-size: .72rem; height: 18px; text-transform: capitalize; }
.hr .wx { width: 32px; height: 32px; margin: 2px auto; display: block; }
.hr .tz { position: relative; height: 58px; z-index: 1; }
.hr .tt { position: absolute; left: 0; right: 0; font-weight: 700; font-size: .98rem; line-height: 18px; }
.hr .rr { color: var(--c-rain); font-weight: 650; height: 20px; font-size: .76rem; white-space: nowrap; }
.hr .ww { color: var(--text); font-size: .82rem; white-space: nowrap; font-weight: 600; }
.hr .gg { color: var(--c-gust); font-size: .78rem; font-weight: 600; }
.strip-key { color: var(--muted); font-size: .8rem; margin: 6px 6px 4px; }
.arrow { width: 14px; height: 14px; vertical-align: -2px; }
.chart-card { margin-top: 16px; }
.chart-card .sec-head h3 { font-family: var(--serif); font-size: 1.3rem; }

/* sea */
.b-sea { color: #fff; background: linear-gradient(180deg, #0f5a8c, #0b3a63 55%, #082743); margin-top: 26px; padding-bottom: 76px; }
.b-sea > .edge { color: #0f5a8c; }
.b-sea .kicker, .b-sky .kicker, .b-apps .kicker { color: #ffd9a0; }
.b-sea .cta, .b-sky .cta, .b-apps .cta { color: #fff; }
.b-sea .lbl, .b-sky .lbl { color: rgba(255,255,255,.78); }
.sea-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sea-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .sea-zones { grid-column: 1 / -1; } }
.sea-now { display: grid; gap: 22px; align-content: start; }
@media (min-width: 560px) { .sea-now { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 34px; } }
.bignum b { display: block; font-family: var(--serif); font-size: clamp(4.6rem, 3rem + 6vw, 7rem); line-height: .95; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.bignum b small { font-size: .32em; font-weight: 400; margin-left: .15em; letter-spacing: 0; }
.bignum .sub { display: block; font-weight: 650; margin-top: 8px; }
.bignum .sub2 { display: block; color: rgba(255,255,255,.8); font-size: .9rem; }
.sea-facts { margin: 4px 0 0; display: grid; gap: 14px; }
.sea-facts dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: rgba(255,255,255,.78); }
.sea-facts dd { margin: 2px 0 0; font-size: 1.3rem; font-weight: 700; }
.sea-facts dd small { display: block; font-size: .86rem; font-weight: 400; color: rgba(255,255,255,.84); }
.sea-boat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 20px; }
.verdict { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; line-height: 1.15; margin: 6px 0 16px; }
.lv { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; margin-right: 6px; }
.lv.lively { background: var(--lively); } .lv.rough { background: var(--rough); }
.verdict .lv { width: 20px; height: 20px; margin: 0; box-shadow: 0 0 0 5px rgba(255,255,255,.14); }
.b-sea .lv { background: #4fd39b; } .b-sea .lv.lively { background: #ffc94a; } .b-sea .lv.rough { background: #ff7088; }
.b-sea .boat .easy { background: #4fd39b; } .b-sea .boat .lively { background: #ffc94a; } .b-sea .boat .rough { background: #ff7088; }
.b-sea .boat-axis { color: rgba(255,255,255,.8); } .b-sea .boat-axis span:first-child { color: #fff; }
.fine { font-size: .86rem; color: rgba(255,255,255,.84); margin: 10px 0 0; }
.sea-zones { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .sea-zones { grid-template-columns: 1fr 1fr; } }
.zone { display: grid; grid-template-columns: minmax(0, 1.1fr) auto auto; gap: 6px 18px; align-items: center; padding: 14px 18px; border-radius: 16px; color: #fff; text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.zone:hover { background: rgba(255,255,255,.14); }
.zone b { display: block; font-size: 1.1rem; white-space: nowrap; }
.zone small { display: block; color: rgba(255,255,255,.8); font-size: .8rem; }
.zone .zn b { font-family: var(--serif); font-size: 1.25rem; }
.zone .zb { grid-column: 1 / -1; font-size: .88rem; font-weight: 600; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.14); padding-top: 8px; }

/* tides: the sea band laps onto sand */
.b-tides { background: var(--sand); border-bottom: 1px solid var(--sand-line); padding-top: 64px; }
.b-tides::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px; background: #082743; -webkit-mask: var(--wave) repeat-x center top / 150px 22px; mask: var(--wave) repeat-x center top / 150px 22px; transform: scaleY(-1); }
.tide-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .tide-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 36px; } }
.tide-curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.tide-curve text { font: 12px var(--sans); fill: var(--muted); }
.tide-curve .t-line { fill: none; stroke: var(--c-tide); stroke-width: 3; stroke-linejoin: round; }
.tide-curve .t-mean { stroke: var(--c-tide); stroke-width: 1; stroke-dasharray: 3 5; opacity: .6; }
.tide-curve .t-tick { stroke: var(--muted); }
.tide-curve .t-dot { fill: var(--sand); stroke: var(--c-tide); stroke-width: 2.5; }
.tide-curve .t-lbl { fill: var(--text); font-weight: 700; font-size: 13px; white-space: pre; }
.tide-curve .t-cm { font-weight: 500; fill: var(--text-2); }
.tide-curve .t-now { stroke: var(--c-now); stroke-width: 1.5; }
.tide-curve .t-nowdot { fill: var(--c-now); stroke: var(--sand); stroke-width: 2.5; }
.tide-curve .t-nowtxt { fill: var(--c-now); font-weight: 700; }
.tide-curve .t-day { fill: var(--text); font-weight: 700; }
.tide-curve .t-dayline { stroke: var(--text-2); stroke-width: 1; stroke-dasharray: 2 4; opacity: .45; }
.tide-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--text); }
.tf { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--sand-line); }
.tf b { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; font-variant-numeric: lining-nums; }
.tf small { display: block; color: var(--text-2); font-size: .86rem; }
.tf .moon { width: 18px; height: 18px; vertical-align: -3px; }
@media (min-width: 900px) { .tide-facts { grid-template-columns: 1fr; } }

/* sky */
.b-sky { color: #fff; background: linear-gradient(165deg, #0c1838, #25275e 52%, #6d4470 88%, #b8626a 118%); overflow: hidden; }
.b-sky::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; opacity: .8;
  box-shadow: 6vw 30px #fff, 14vw 96px 0 1px rgba(255,255,255,.6), 23vw 44px rgba(255,255,255,.7), 31vw 150px #fff, 38vw 22px 0 1px rgba(255,255,255,.7), 47vw 80px rgba(255,255,255,.5), 55vw 36px #fff, 63vw 120px rgba(255,255,255,.6), 71vw 28px 0 1px #fff, 79vw 70px rgba(255,255,255,.6), 88vw 40px #fff, 95vw 110px rgba(255,255,255,.5), 18vw 190px rgba(255,255,255,.4), 68vw 200px rgba(255,255,255,.35), 84vw 170px rgba(255,255,255,.4); }
.sky-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .sky-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; } }
.sun-arc svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }
.sun-arc .a-day { fill: rgba(255,214,140,.1); }
.sun-arc .a-arc { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.sun-arc .a-under { stroke: rgba(255,255,255,.22); }
.sun-arc .a-done { fill: none; stroke: #ffcc66; stroke-width: 3; stroke-linecap: round; }
.sun-arc .a-hor { stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.sun-arc .a-sun { fill: #ffcc55; }
.sun-arc .a-halo { fill: rgba(255,204,85,.25); }
.sun-arc .a-down { fill: #25275e; stroke: #ffcc66; stroke-width: 2; stroke-dasharray: 3 3; }
.sun-arc .a-end { fill: #fff; }
.sun-arc text { fill: #fff; font-family: var(--sans); }
.sun-arc .a-time { font-size: 19px; font-weight: 700; }
.sun-arc .a-cap { font-size: 12.5px; fill: rgba(255,255,255,.82); }
.sun-arc .a-big { font-family: var(--serif); font-size: 30px; font-weight: 700; }
.sun-line { text-align: center; margin: 4px 0 0; }
.sun-line b { display: block; font-size: 1.1rem; }
.sun-line span { color: rgba(255,255,255,.84); font-size: .9rem; }
.moon-box { display: flex; align-items: center; gap: 24px; justify-content: center; }
.moon-big .moon { width: clamp(104px, 22vw, 150px); height: auto; --m-lit: #f6efd6; --m-dark: rgba(255,255,255,.1); --border: transparent; filter: drop-shadow(0 0 22px rgba(246,239,214,.3)); }
.moon-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin: 2px 0 10px; line-height: 1.15; }
.b-sky .facts dt { color: rgba(255,255,255,.82); }

/* five days */
.days5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.d5 { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 16px 4px 8px; font: inherit; color: inherit; cursor: pointer; box-shadow: var(--shadow); min-width: 0; }
.d5:hover { border-color: var(--accent); }
.d5.on { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.d5 .dn { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.d5 .dd { color: var(--muted); font-size: .8rem; }
.d5 .wx { width: 44px; height: 44px; margin: 6px 0 2px; }
.d5 .hi { font-weight: 700; font-size: 1.25rem; }
.d5 .lo { color: var(--muted); font-weight: 600; }
.tcol { width: 8px; height: 76px; border-radius: 4px; background: var(--surface-2); position: relative; margin: 2px 0; }
.tcol i { position: absolute; left: 0; right: 0; border-radius: 4px; background: linear-gradient(180deg, var(--c-temp), var(--c-low)); min-height: 8px; }
.d5 .rn { color: var(--c-rain); font-weight: 700; font-size: .9rem; margin-top: 6px; white-space: nowrap; }
.d5 .rn.dry { color: var(--muted); font-weight: 500; }
.d5 .wn { font-size: .84rem; font-weight: 600; white-space: nowrap; }
.d5 .gs { font-size: .8rem; color: var(--c-gust); font-weight: 600; white-space: nowrap; }
.d5 .gs small { font-size: 1em; font-weight: 500; }
.d5 .chev { margin-top: 4px; }
.d5.on .chev { transform: rotate(180deg); }
.day-panel { margin-top: 12px; }
/* days 6-10 (optional): visibly less certain */
.days-low { margin-top: 14px; }
.days-low-head { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.days-low-head b { color: var(--text-2); }
.d5.low { background: transparent; border-style: dashed; box-shadow: none; }
.d5.low .dn, .d5.low .hi { color: var(--text-2); }
.d5.low .wx { opacity: .6; }
.d5.low .tcol i { opacity: .55; }
@media (max-width: 560px) {
  .days5 { gap: 5px; }
  .d5 { border-radius: 14px; padding: 12px 1px 6px; }
  .d5 .dn { font-size: 1rem; } .d5 .dd { font-size: .7rem; } .d5 .wx { width: 34px; height: 34px; } .d5 .hi { font-size: 1.1rem; }
  .d5 .rn { font-size: .78rem; } .d5 .wn { font-size: .74rem; } .d5 .wn .arrow { display: none; } .d5 .gs { font-size: .72rem; } .d5 .gs small { display: block; }
  .tcol { height: 60px; }
}

/* radar and places */
.radar-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .radar-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; } }
.b-radar { padding-top: 16px; }
.radar-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; justify-items: center; text-align: center; padding: 26px 22px; border-radius: 24px; text-decoration: none; color: #eaf6f2; background: radial-gradient(circle at 50% 36%, #0f3f4a, #07202e 72%); border: 1px solid #12404a; box-shadow: var(--shadow); }
.radar-art { width: min(250px, 70%); height: auto; }
.r-bg { fill: rgba(6,22,30,.6); }
.r-ring { fill: none; stroke: rgba(94,234,178,.3); stroke-width: 1; }
.r-land { fill: rgba(94,234,178,.16); stroke: rgba(94,234,178,.7); stroke-width: 1.2; stroke-linejoin: round; }
.r-sweep { transform-origin: 120px 120px; animation: r-sweep 5s linear infinite; }
.r-sweep path { fill: rgba(94,234,178,.22); }
.r-dot { fill: #ffd27a; } .r-dot2 { fill: none; stroke: #ffd27a; stroke-width: 1.2; opacity: .6; }
.r-txt { fill: #fff; font: 600 12px var(--sans); }
@keyframes r-sweep { to { transform: rotate(360deg); } }
.radar-txt { display: grid; gap: 4px; }
.radar-txt .kicker { color: #7fe6bd; margin: 8px 0 0; }
.radar-txt b { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.radar-go span { display: inline-flex; }
.radar-go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 650; color: #7fe6bd; margin-top: 6px; }
.radar-go svg { width: 18px; height: 18px; }
.radar-card:hover .radar-go { text-decoration: underline; }
.places .band-head { margin-bottom: 14px; }

/* accuracy */
.b-skill { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.skill-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); margin-top: 26px; align-items: center; }
@media (min-width: 900px) { .skill-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }
.skill-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.sn b { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 2rem + 3.4vw, 4.2rem); line-height: 1; color: var(--kick); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.sn b small { font-size: .36em; letter-spacing: 0; }
.sn span { display: block; color: var(--text-2); font-size: .92rem; margin-top: 6px; max-width: 22ch; }
.skill-bars ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.skill-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.skill-bars .bl { grid-column: 1 / -1; font-size: .92rem; color: var(--text-2); }
.skill-bars .bt { height: 14px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.skill-bars .bt i { display: block; height: 100%; border-radius: 7px; background: var(--muted); opacity: .55; }
.skill-bars b { font-variant-numeric: tabular-nums; }
.skill-bars .ours .bl { font-weight: 700; color: var(--text); }
.skill-bars .ours .bt i { background: var(--kick); opacity: 1; }

/* apps */
.b-apps { color: #fff; background: linear-gradient(160deg, #0e6f86, #0b3f66 60%, #0a2c4c); overflow: hidden; padding-bottom: 0; }
.apps-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .apps-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.b-apps .band-lead { color: rgba(255,255,255,.92); }
.b-apps .stores { margin: 20px 0 14px; }
.b-apps .store[aria-disabled="true"] { background: rgba(255,255,255,.1); color: #fff; border: 1px dashed rgba(255,255,255,.5); }
.b-apps .store { background: #fff; color: #0b2a4a; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; }
.ticks li { padding-left: 26px; position: relative; color: rgba(255,255,255,.92); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 2px solid #ffd9a0; border-bottom: 2px solid #ffd9a0; transform: rotate(-45deg); }
.b-apps .shots { align-items: flex-end; margin-bottom: -70px; padding-top: 10px; }
.b-apps .shots img { border-color: rgba(255,255,255,.2); }
.b-apps .apps-grid > div:first-child { padding-bottom: 56px; }

/* ---------- days (rows; kept for reuse) ---------- */
.chev { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
details[open] > summary .chev { transform: rotate(180deg); }

/* ---------- tables ---------- */
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { padding: 7px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
th small { text-transform: none; letter-spacing: 0; font-weight: 500; }
th:first-child, td:first-child { text-align: left; }
tr:last-child td { border-bottom: 0; }
td .wx { width: 24px; height: 24px; vertical-align: middle; }
tr.dayrow td { background: var(--surface-2); font-weight: 650; text-align: left; }
td.l, th.l { text-align: left; }
.sub2 { color: var(--muted); font-size: .85em; }
details.more { margin-top: 12px; }
/* sea: the day a warning links to (sea.html#day-2026-11-27) */
tr.hit td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
tr.dayrow.hit { scroll-margin-top: 90px; }
.boat-scroll.scroll { padding-bottom: 4px; }
.warn .wlink, .flag .wlink { margin: 6px 0 0; font-weight: 600; }
.warn .wlink a { color: var(--accent); }
.flag .wlink a { color: inherit; }
details.more > summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: 6px 0; }
details.more > summary:hover { text-decoration: underline; }

/* ---------- charts ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart text { font: 12px var(--sans); fill: var(--axis); }
.chart .ptitle { fill: var(--text-2); font-weight: 600; font-size: 12.5px; }
.chart .dayl { fill: var(--text); font-weight: 650; }
.chart .lbl { fill: var(--text); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 12px; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .dayline { stroke: var(--grid); stroke-width: 1.5; }
.chart .nowline { stroke: var(--c-now); stroke-width: 1.5; }
.chart .nowtxt { fill: var(--c-now); font-weight: 650; }
.chart .future { fill: var(--future); }
.chart .cross { stroke: var(--axis); stroke-width: 1; stroke-dasharray: 3 3; }
.tip { position: absolute; pointer-events: none; z-index: 5; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: .82rem; line-height: 1.45; box-shadow: 0 6px 24px rgba(0,0,0,.18); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tip b { display: block; margin-bottom: 2px; }
.tip i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 3px solid; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.legend i.dash { border-top-style: dashed; }
.legend i.thin { border-top-width: 1.5px; }
.legend i.box { height: 10px; border: 0; border-radius: 3px; }
.legend i.dot { width: 9px; height: 9px; border: 0; border-radius: 50%; }

/* ---------- segmented control ---------- */
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; max-width: 100%; }
.seg button { border: 0; background: transparent; color: var(--text-2); font: inherit; font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.seg.wide { display: flex; margin-bottom: 14px; }
.seg.wide button { flex: 1; padding: 10px 8px; }
.seg.sm button { padding: 4px 11px; font-size: .82rem; }

/* ---------- inner data pages: the "now" card ---------- */
.card.hero { position: static; isolation: auto; overflow: visible; min-height: 0; padding: 22px; display: flex; align-items: center; gap: 18px; color: #fff; background: linear-gradient(150deg, #0f5a8c, #0a3358); border-color: transparent; }
.card.hero .wx { width: 92px; height: 92px; flex: none; --c-wave: #9fd8ff; --c-tide: #8fe3ee; }
.card.hero .muted { color: rgba(255,255,255,.85); }
.big { font-family: var(--serif); font-size: clamp(3.8rem, 2.6rem + 4.4vw, 5.2rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.big small { font-size: .36em; font-weight: 400; letter-spacing: 0; margin-left: 4px; color: rgba(255,255,255,.88); }
.card.hero .cond { font-size: 1.1rem; font-weight: 600; margin-top: 6px; }
.card.hero .lines { color: rgba(255,255,255,.88) !important; font-size: .9rem; line-height: 1.45; margin-top: 2px; }

/* ---------- boat guide ---------- */
.boat { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 36px; }
.boat i { border-radius: 4px; align-self: end; }
.boat .easy { background: var(--ok); height: 40%; }
.boat .lively { background: var(--lively); height: 70%; }
.boat .rough { background: var(--rough); height: 100%; }
.boat-axis { position: relative; height: 20px; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.boat-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.boat-axis span:first-child { transform: none; font-weight: 650; color: var(--text); }
.boat-axis span.day { font-weight: 700; color: var(--text); }
.b-sea .boat-axis span.day { color: #fff; }
.legend i.lv { width: 12px; height: 12px; border: 0; border-radius: 3px; }

/* ---------- marine ---------- */
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 12px; }
.kv .k { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kv b { display: block; font-size: 1.25rem; }
.kv span { color: var(--muted); font-size: .85rem; }
blockquote { margin: 8px 0 0; padding: 10px 14px; border-left: 3px solid var(--border); background: var(--surface-2); border-radius: 0 10px 10px 0; font-size: .95rem; }

/* ---------- tide page ---------- */
.banner { border: 1px solid var(--border); background: var(--surface-2); border-radius: 12px; padding: 8px 14px; font-weight: 600; margin-bottom: 14px; display: inline-block; }
.moon { width: 28px; height: 28px; vertical-align: middle; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; align-items: end; }
.week .col { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.week .bar { width: 60%; max-width: 36px; background: var(--c-tide); border-radius: 4px 4px 0 0; }
.week .v { color: var(--text); font-weight: 650; font-size: .85rem; }
.week .today { color: var(--text); font-weight: 650; }
.facts { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .5em; }
.prose h3 { margin: 1.4em 0 .3em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose .lead { font-size: 1.2rem; color: var(--text); font-family: var(--serif); }
.prose table { margin: 8px 0 4px; }
.prose .card { margin: 16px 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--serif); color: var(--kick); font-size: clamp(1.6rem, 1rem + 2.6vw, 2.5rem); font-weight: 700; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.stat > span { color: var(--muted); font-size: .85rem; line-height: 1.3; display: block; margin-top: 4px; }
.callout { border-left: 3px solid var(--kick); background: var(--surface); border-radius: 0 12px 12px 0; padding: 12px 16px; margin: 16px 0; }
.callout p { margin: 0; }
.best { color: var(--ok); font-weight: 700; }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: .88rem; font-weight: 550; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px 12px 52px; position: relative; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps b { color: var(--text); }

/* ---------- apps page ---------- */
.apphero { position: relative; display: grid; gap: 24px; align-items: center; color: #fff; padding: 36px 0 64px; }
.apphero .lead { color: rgba(255,255,255,.92) !important; }
.apphero .note { color: rgba(255,255,255,.85); }
@media (min-width: 860px) { .apphero { grid-template-columns: 1fr 1fr; } }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 650; min-width: 170px; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-weight: 500; font-size: .72rem; opacity: .85; line-height: 1.1; }
.store[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--border); cursor: default; }
.apphero .store { background: #fff; color: #0b2a4a; }
.apphero .store[aria-disabled="true"] { background: rgba(255,255,255,.1); color: #fff; border: 1px dashed rgba(255,255,255,.5); }
.shots { display: flex; gap: 12px; justify-content: center; }
.shots img { width: 31%; max-width: 220px; border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 14px 40px rgba(0,0,0,.3); }
.shots img:nth-child(2) { transform: translateY(18px); }
.feat { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 12px; }
.feat .card h3 { margin-bottom: 4px; font-family: var(--serif); font-size: 1.2rem; }
.feat .card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- form ---------- */
.form { display: grid; gap: 12px; max-width: 560px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.form input, .form textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 650; padding: 10px 22px; cursor: pointer; text-decoration: none; justify-self: start; }
.btn:disabled { opacity: .6; cursor: default; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-status.is-error { color: var(--w-red-ink); }
.form-status.is-pending { color: var(--muted); }
.form-done { border: 1px solid var(--ok); border-radius: 12px; padding: 14px 16px; }

/* ---------- footer: back to the deep ---------- */
.ftr { position: relative; background: #071a2c; color: rgba(255,255,255,.76); padding: 44px 0 40px; font-size: .88rem; margin-top: 18px; }
.ftr > .edge { color: #071a2c; }
.is-home .ftr { margin-top: 0; }
.ftr-top { display: grid; gap: 22px; }
@media (min-width: 760px) { .ftr-top { grid-template-columns: 1.2fr 1fr 1fr; } }
.ftr h2 { font-family: var(--sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #ffd9a0; margin-bottom: 8px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ftr a { color: #d6e6f2; }
.ftr .brand { margin-bottom: 8px; color: #fff; }
.ftr .credits { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); line-height: 1.6; }
.ftr .credits p { margin: 0 0 6px; }
.ftr .credits b { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print { .hdr, .ftr, .seg, .iconbtn, .scene, .jump { display: none !important; } body { background: #fff; } .hero { color: #000; background: none; min-height: 0; } }

/* ---------- live rain radar (EUMETNET OPERA frames over a built-in map) ---------- */
.radar-live { --rl-sea: #dfeaf0; --rl-land: #f3ede2; --rl-coast: #b9c3c9; --rl-ink: #23313d; --rl-halo: rgba(255,255,255,.85);
  display: grid; gap: 10px; padding: 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); min-width: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .radar-live { --rl-sea: #0d2230; --rl-land: #1f2c36; --rl-coast: #3a4a56; --rl-ink: #dfe8ee; --rl-halo: rgba(8,20,30,.85); } }
:root[data-theme="dark"] .radar-live { --rl-sea: #0d2230; --rl-land: #1f2c36; --rl-coast: #3a4a56; --rl-ink: #dfe8ee; --rl-halo: rgba(8,20,30,.85); }
.rl-head { display: grid; gap: 6px; } /* the time always has its own line, so its length never moves the map */
.rl-head h2 { margin: 0; }
.rl-head .kicker { margin: 0 0 2px; }
.rl-when { margin: 0; min-height: 1.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text-2); }
.rl-map { position: relative; aspect-ratio: 722 / 578; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--rl-sea); }
.rl-map > svg, .rl-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl-img { object-fit: cover; image-rendering: auto; }
.rl-sea { fill: var(--rl-sea); }
.rl-land { fill: var(--rl-land); stroke: var(--rl-coast); stroke-width: .8; stroke-linejoin: round; }
.rl-name { font: 600 12px var(--sans); fill: var(--rl-ink); paint-order: stroke; stroke: var(--rl-halo); stroke-width: 3px; }
.rl-name-home { font-size: 14px; font-weight: 750; }
.rl-dot { fill: var(--rl-ink); }
.rl-home { fill: #e0484f; } .rl-home2 { fill: none; stroke: #e0484f; stroke-width: 1.6; opacity: .7; }
.rl-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.rl-btn:disabled { opacity: .5; cursor: default; }
.rl-btn svg { width: 20px; height: 20px; }
.rl-fs { position: absolute; top: 10px; right: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.rl-msg { position: absolute; left: 10px; right: 60px; top: 10px; margin: 0; padding: 6px 10px; border-radius: 10px; background: var(--rl-halo); color: var(--rl-ink); font-weight: 600; font-size: .9rem; }
.rl-ctl { display: flex; align-items: center; gap: 12px; }
.rl-ctl input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent, #2f7fd6); }
.rl-t { font-variant-numeric: tabular-nums; font-weight: 650; min-width: 3.2em; text-align: right; }
.i-play, .i-pause { display: block; width: 14px; height: 14px; }
.i-play { background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.i-pause { border-left: 4.5px solid currentColor; border-right: 4.5px solid currentColor; width: 13px; }
.rl-legend { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-2); }
.rl-bar { flex: 1; height: 8px; border-radius: 4px; min-width: 60px; }
.rl-hail { width: 14px; height: 8px; border-radius: 4px; }
.rl-line { margin: 0; font-weight: 600; }
.rl-credit { margin: 0; font-size: .8rem; color: var(--text-2); }
.rl-credit a { color: inherit; }
/* full screen: the card fills the window; the map keeps its proportions and is cropped to fit */
.rl-full { position: fixed; inset: 0; z-index: 1000; border-radius: 0; border: 0; padding: max(14px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto; background: var(--bg); }
.rl-full .rl-map { aspect-ratio: auto; height: 100%; }
html.rl-lock { overflow: hidden; }

.skill-bars b .be, #skill-bars b .be { display: block; font-size: .72rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
#skill-bars li.base b { font-weight: 600; color: var(--text-2); }

:is(h1, h2, .now .temp, .bignum b) { letter-spacing: -.03em; font-weight: 750; }

/* accuracy: the wind error step by step (model, blend, corrected), arrows between the steps */
.wsteps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.wsteps li { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: 16px; background: var(--surface-2); min-width: 0; }
.wsteps li + li::before { content: "\2192"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-size: 1.1rem; }
.wsteps .sl { font-size: .88rem; color: var(--text-2); line-height: 1.3; }
.wsteps b { font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.wsteps b small { font-size: .45em; font-weight: 600; letter-spacing: 0; margin-left: 2px; }
.wsteps .sd { font-size: .85rem; font-weight: 650; color: var(--text-2); }
.wsteps li.ours { background: var(--accent); color: var(--accent-ink); }
.wsteps li.ours b { color: var(--accent-ink); }
.wsteps li.ours .sl, .wsteps li.ours .sd { color: var(--accent-ink); opacity: .9; }
.wsteps-note { margin: 10px 0 0; font-size: .85rem; color: var(--text-2); }
@media (max-width: 560px) { .wsteps { grid-template-columns: minmax(0, 1fr); gap: 22px; } .wsteps li + li::before { content: "\2193"; left: 50%; top: -19px; transform: translateX(-50%); } }
.skill-bars .wsteps li { grid-template-columns: minmax(0, 1fr); align-items: start; }
.skill-bars .wsteps li > * { grid-column: auto; }
.skill-bars .wsteps li { grid-template-rows: 1fr auto auto; }   /* labels on top, numbers aligned along the bottom of the row */
.wsteps .sl .nb { white-space: nowrap; }

/* Company details on About */
.prose dl.company { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1.25rem; margin: 1rem 0 0; font-size: .95em; }
.prose dl.company dt { color: var(--muted); }
.prose dl.company dd { margin: 0; }
@media (max-width: 520px) { .prose dl.company { grid-template-columns: minmax(0, 1fr); gap: 0; } .prose dl.company dd { margin-bottom: .5rem; } }

/* Radar full width on the home page; on wide screens a letterbox crop keeps it from getting too tall */
@media (min-width: 900px) { .b-radar .rl-map { aspect-ratio: 16 / 9; } .b-radar .rl-full .rl-map, .rl-full .rl-map { aspect-ratio: auto; } }
.b-places { padding-top: 56px; }

.zone .zl { grid-column: 1 / -1; font-size: .82rem; opacity: .85; margin-top: 2px; }
