/* Tide and Lake. Airy and calm: one font (Plus Jakarta Sans), soft surfaces instead of boxes and borders, one big
   answer at the top of every page. Sea teal for tides and water, lake green for lakes, coral for low tides and warmth. */
@font-face { font-family: "Jakarta"; src: url(/assets/fonts/jakarta.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --bg: #f5f9fa; --surface: #fff; --surface-2: #f9fbfc; --ink: #0f2533; --ink-2: #35505f; --muted: #688091;
  --line: #e4ecf0; --line-2: #d3e0e6;
  --sea: #0a8093; --sea-ink: #086575; --sea-50: #eef9fb; --sea-100: #d7f1f5; --sea-200: #a8dfe8;
  --lake: #2b8a57; --lake-ink: #1f6b43; --lake-50: #eff8f2; --lake-100: #d9efe1;
  --coral: #e0704d; --coral-50: #fdf1ec; --warn: #b5560f;
  --hi: var(--sea); --lo: var(--coral); --night: rgba(15, 37, 51, .045);
  --glass: rgba(255, 255, 255, .72); --glass-line: rgba(255, 255, 255, .9);
  --shadow: 0 1px 2px rgba(15, 37, 51, .04), 0 8px 28px -12px rgba(15, 37, 51, .14);
  --shadow-hover: 0 2px 4px rgba(15, 37, 51, .05), 0 16px 36px -14px rgba(15, 37, 51, .22);
  --r: 20px; --r-sm: 14px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b161d; --surface: #111f28; --surface-2: #0e1b23; --ink: #e4eef2; --ink-2: #b9cbd4; --muted: #8aa1ae;
    --line: #1f3341; --line-2: #2a4252; --sea: #4cc3d3; --sea-ink: #7fd6e2; --sea-50: #0f2a33; --sea-100: #123742; --sea-200: #1d5563;
    --lake: #6cc993; --lake-ink: #94dcb1; --lake-50: #102a1d; --lake-100: #163a27; --coral: #f0906f; --coral-50: #3a2119; --warn: #f0a060;
    --night: rgba(0, 0, 0, .25); --glass: rgba(17, 31, 40, .72); --glass-line: rgba(255, 255, 255, .06);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px -12px rgba(0, 0, 0, .6); --shadow-hover: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .7);
    color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--sea-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .45em; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(21px, 2.6vw, 25px); font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; margin-top: 1.1em; }
p { margin: 0 0 1em; }
ul { padding-left: 20px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 10px; z-index: 10; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.sub { display: block; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.note { font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note .ic { margin-top: 3px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--sea-ink); margin-bottom: 10px; }
.lake-page .kicker { color: var(--lake-ink); }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 62ch; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; text-decoration: none; font: inherit; font-size: 15.5px; font-weight: 650; border: 0; cursor: pointer; }
.btn:hover { background: var(--sea-ink); }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn .ic { width: 17px; height: 17px; }

/* header and footer */
.top { padding: 14px 0; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.mark { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; background: var(--surface); padding: 4px; border-radius: 999px; box-shadow: var(--shadow); }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 7px 14px; border-radius: 999px; }
.nav a:hover { background: var(--sea-50); color: var(--ink); }
.nav a[aria-current] { background: var(--ink); color: var(--bg); }
main { padding: 6px 0 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pagehead { margin: 8px 0 26px; }
.foot { background: var(--surface-2); border-top: 1px solid var(--line); padding: 40px 0 22px; font-size: 15px; color: var(--ink-2); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot h2 { font-size: 13.5px; letter-spacing: .02em; color: var(--muted); margin: 6px 0 10px; font-weight: 700; }
.foot nav { display: grid; gap: 6px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot .fine { color: var(--muted); font-size: 13.5px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }

/* the hero: one big answer, on a soft wash of the section's color, with a wave along the bottom */
.hero { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(22px, 4vw, 38px); margin: 0 0 26px;
  background: radial-gradient(120% 90% at 100% 0%, var(--sea-100) 0%, transparent 55%), linear-gradient(170deg, var(--sea-50) 0%, var(--surface) 70%);
  box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40c120-28 240-28 360 0s240 28 360 0 240-28 360 0 120 14 120 14v16H0z' fill='%23a8dfe8' fill-opacity='.35'/%3E%3Cpath d='M0 52c150-22 300-22 450 0s300 22 450 0 225-16 300-8v26H0z' fill='%23a8dfe8' fill-opacity='.5'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.hero > * { position: relative; z-index: 1; }
.hero.lake { background: radial-gradient(120% 90% at 100% 0%, var(--lake-100) 0%, transparent 55%), linear-gradient(170deg, var(--lake-50) 0%, var(--surface) 70%); }
.hero.lake::after { filter: hue-rotate(-50deg) saturate(.8); }
.hero.warmth { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tc) 22%, transparent) 0%, transparent 55%), linear-gradient(170deg, color-mix(in srgb, var(--tc) 10%, var(--surface)) 0%, var(--surface) 70%); }
.hero h1 { margin-bottom: .25em; }
.hero .lede { margin-bottom: 18px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 8px; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); font-size: 14px; font-weight: 550; color: var(--ink-2); backdrop-filter: blur(6px); }
.chip .ic { width: 16px; height: 16px; color: var(--muted); }
a.chip { text-decoration: none; }
a.chip:hover { color: var(--ink); background: var(--surface); }
.chip.warn { color: var(--warn); }
.big-answer { font-size: clamp(44px, 7vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 4px 0 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.big-answer .unit { font-size: .42em; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.verdict { font-size: 17.5px; font-weight: 650; color: var(--ink); margin: 0 0 6px; }
.verdict .sub { display: inline; font-weight: 500; }
.when { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.day-label { font-weight: 700; color: var(--ink-2); font-size: 15px; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }

/* today's tides as pills */
.tide-pills { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
.tp { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 1px; backdrop-filter: blur(6px); }
.tp .k { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.tp.hi .k { color: var(--hi); } .tp.lo .k { color: var(--lo); }
.tp .k .ic { width: 15px; height: 15px; }
.tp time { font-size: 23px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tp .h { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tp.past { opacity: .5; }
.now-line { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); margin: 0; }
.now-line .ic { color: var(--sea); }
.now-line[hidden] { display: none; }
.minis { display: grid; gap: 10px; }
.mini { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: center; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 16px; padding: 12px 14px; backdrop-filter: blur(6px); }
.mini .icw { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--sea); box-shadow: var(--shadow); }
.mini .icw .ic, .mini .icw .moon { width: 22px; height: 22px; }
.mini .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.mini .val { font-weight: 700; font-size: 16px; }
.mini .val .sub { display: inline; font-weight: 500; }
.mini a { color: inherit; }
.moon .dark { fill: var(--line-2); } .moon .lit { fill: #f3d36b; }
@media (prefers-color-scheme: dark) { .moon .dark { fill: #2a4252; } }

/* panels and sections */
.panel { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(16px, 2.6vw, 24px); margin: 0 0 24px; }
.panel > h2:first-child, .panel > .sec-h:first-child { margin-top: 0; }
.sec { margin: 34px 0 24px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sec-h h2 { margin: 0; }
.sec-h a { font-size: 15px; font-weight: 600; white-space: nowrap; }
.sec > p, .panel > p { color: var(--ink-2); max-width: 70ch; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 24px; }
.stat { background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow); padding: 14px 16px; }
.stat .lbl { font-size: 13px; font-weight: 650; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .lbl .ic { width: 15px; height: 15px; }
.stat .val { font-size: 21px; font-weight: 750; letter-spacing: -.02em; margin-top: 2px; }
.stat .sub { margin-top: 2px; }

/* the week as day cards (scrolls sideways on a phone) */
.days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin: 0 -2px; list-style: none; }
.day { scroll-snap-align: start; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; display: grid; gap: 10px; align-content: start; border: 2px solid transparent; }
.day.is-today { border-color: var(--sea); }
.day h3 { margin: 0; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.day h3 .sub { display: inline; font-size: 13px; }
.day .moon { width: 18px; height: 18px; }
.day ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.day li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 15px; }
.day li .ic { width: 16px; height: 16px; }
.day li.hi .ic { color: var(--hi); } .day li.lo .ic { color: var(--lo); }
.day li b { font-weight: 650; }
.day li span { color: var(--muted); font-size: 14px; }
.day .sunrow { display: flex; gap: 10px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 9px; flex-wrap: wrap; }
.day .sunrow span { display: inline-flex; align-items: center; gap: 4px; }
.day .sunrow .ic { width: 15px; height: 15px; }

/* lists of picks, months, links, cards */
.picks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pick { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--surface); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); }
.pick .date { width: 54px; height: 54px; border-radius: 14px; background: var(--sea-50); color: var(--sea-ink); display: grid; place-items: center; align-content: center; line-height: 1.05; font-weight: 800; font-size: 20px; }
.pick .date small { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pick.coral .date { background: var(--coral-50); color: var(--coral); }
.pick b { display: block; font-weight: 700; }
.pick span { color: var(--muted); font-size: 14.5px; }
.months { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.months a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.months a:hover { background: var(--sea-50); }
.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.links a:hover { background: var(--sea-50); }
.cards { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card-link { display: grid; gap: 6px; height: 100%; padding: 18px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; align-content: start; }
.card-link:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-link b { font-size: 17.5px; letter-spacing: -.01em; }
.card-link .sub { font-size: 14px; }
.card-link .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-link .num { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.card-link .num small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.card-link .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; color: var(--sea-ink); background: var(--sea-50); padding: 3px 10px; border-radius: 999px; width: fit-content; }
.card-link .tag.warm { color: var(--coral); background: var(--coral-50); }
.card-link .tag.lake { color: var(--lake-ink); background: var(--lake-50); }
.card-link .tag.low { color: var(--warn); background: var(--coral-50); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; background: linear-gradient(120deg, var(--sea-50), var(--surface)); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 22px; margin: 0 0 24px; }
.feature p { margin: 0; color: var(--ink-2); }
.feature h2 { margin-bottom: 6px; }
@media (max-width: 640px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* folded details and FAQ */
details.more { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); margin: 0 0 14px; }
details.more > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; flex: none; margin-right: 4px; }
details.more[open] > summary::after { transform: rotate(-135deg); }
details.more > .body { padding: 0 20px 18px; color: var(--ink-2); }
details.more > .body > :last-child { margin-bottom: 0; }
.faq details.more > summary { font-weight: 650; }
.kv { display: grid; gap: 10px; margin: 0 0 14px; }
.kv > div { display: grid; grid-template-columns: minmax(150px, 15em) minmax(0, 1fr); gap: 12px; }
.kv dt { color: var(--muted); font-size: 14.5px; } .kv dd { margin: 0; }
@media (max-width: 600px) { .kv > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* tables (guides, hubs, months): light rules, no shouting headers */
.table-box { overflow-x: auto; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
thead th { font-size: 13.5px; color: var(--muted); font-weight: 650; background: var(--surface-2); }
tbody th { font-weight: 650; }
tr:last-child > * { border-bottom: 0; }
.r { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .hide-sm { display: none; } }
tr.cur > * { background: var(--sea-50); }
td.spring { color: var(--sea-ink); } td.neap { color: var(--muted); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: 4px; }

/* the lake's level among its usual range for the date */
.range { width: 100%; max-width: 520px; height: auto; display: block; margin: 6px 0 4px; }
.range .track { fill: var(--line); }
.range .band { fill: var(--lake-100); }
.range .med { stroke: var(--lake); stroke-width: 2; }
.range .pool { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 3; }
.range .dot { fill: var(--ink); stroke: var(--surface); stroke-width: 3; }
.range text { font-family: var(--font); font-size: 12px; fill: var(--muted); font-weight: 600; }
.range-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.range-key i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; vertical-align: 1px; margin-right: 4px; }
.range-key .k-band { background: var(--lake-100); } .range-key .k-med { background: var(--lake); height: 3px; vertical-align: 3px; }
.range-key .k-pool { border-top: 2px dashed var(--ink); height: 0; vertical-align: 3px; border-radius: 0; }

/* live readings: the value hides once it's older than its limit */
.live .stale-msg { display: none; color: var(--warn); font-weight: 650; font-size: 16px; }
.live.stale .val { display: none; }
.live.stale .stale-msg { display: inline; }

/* charts */
.chartbox { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 14px 6px; margin: 0 0 24px; }
.chartbox h2 { margin: 6px 8px 10px; font-size: 19px; }
.chart { width: 100%; height: auto; display: block; }
.chart-note { font-size: 13.5px; color: var(--muted); margin: 6px 8px 8px; }
.chart text { font-family: var(--font); fill: var(--muted); font-size: 12.5px; font-weight: 550; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .day { stroke: var(--line-2); stroke-width: 1; }
.chart .dl { fill: var(--ink-2); font-weight: 700; font-size: 13px; }
.chart .night { fill: var(--night); }
.chart .water { fill: var(--sea-100); opacity: .8; }
.chart .tide { fill: none; stroke: var(--sea); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .hi { fill: var(--hi); } .chart .lo { fill: var(--lo); }
.chart circle.hi, .chart circle.lo { stroke: var(--surface); stroke-width: 2.5; }
.chart .pl { fill: var(--ink); font-size: 13px; font-weight: 700; }
.chart .now { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; }
.chart .nowl { fill: var(--ink); font-size: 12px; font-weight: 700; }
.chart .line { fill: none; stroke: var(--sea); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.levelchart .line { stroke: var(--lake); }
.chart .usual { fill: none; stroke: var(--lake); stroke-width: 1.6; stroke-dasharray: 1 5; stroke-linecap: round; opacity: .9; }
.chart .ref { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 6 5; opacity: .55; }
.chart .refl { fill: var(--ink-2); font-size: 12px; font-weight: 650; }
.chart .last { fill: var(--coral); stroke: var(--surface); stroke-width: 2.5; }
.chart .bar { fill: var(--sea-200); } .chart .bar.warm { fill: color-mix(in srgb, var(--coral) 70%, var(--surface)); } .chart .bar.cold { fill: color-mix(in srgb, #3c6fb6 55%, var(--surface)); }
.chart .bar.cur { stroke: var(--ink); stroke-width: 2; }
.chart .whisk { stroke: var(--ink-2); stroke-width: 1.5; opacity: .45; stroke-linecap: round; }

/* temperature colors (chips, hero wash, numbers) */
.t-cold { --tc: #3c6fb6; } .t-cool { --tc: #2a8fb0; } .t-mild { --tc: #0f9a8c; } .t-warm { --tc: #e0913a; } .t-hot { --tc: #e0704d; }
.tnum { color: var(--tc, var(--ink)); }

/* the month calendar */
.cal-box { overflow-x: auto; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.cal { table-layout: fixed; min-width: 780px; font-size: 13px; }
.cal caption { text-align: left; padding: 12px 14px; font-size: 13.5px; color: var(--muted); }
.cal th { text-align: center; }
.cal td { padding: 7px 8px; height: 112px; border-right: 1px solid var(--line); }
.cal td:last-child { border-right: 0; }
.cal td.empty { background: var(--surface-2); }
.cal .dn { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.cal .dn .moon { width: 16px; height: 16px; }
.cal ul { list-style: none; padding: 0; margin: 4px 0; font-variant-numeric: tabular-nums; line-height: 1.4; }
.cal li span { font-weight: 800; display: inline-block; width: 1.1em; }
.cal li.hi span { color: var(--hi); } .cal li.lo span { color: var(--lo); }
.cal li i { font-style: normal; color: var(--muted); }
.cal .sn { font-size: 11.5px; color: var(--muted); }
.cal td.is-today { box-shadow: inset 0 0 0 2px var(--sea); border-radius: 6px; }
.cal-key { font-size: 13.5px; color: var(--muted); margin: 10px 4px 22px; }

/* home */
.home-hero { padding-bottom: clamp(60px, 8vw, 90px); }
.home-hero h1 { font-size: clamp(36px, 6vw, 58px); max-width: 15ch; }
.home-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin: 0 0 24px; }
.rows { list-style: none; padding: 0; margin: 0 0 6px; }
.rows li > a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); border-radius: 10px; }
.rows li:last-child > a { border-bottom: 0; }
.rows li > a:hover { background: var(--surface-2); }
.rows b { font-weight: 650; }
.rows .w { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.rows .w .sub { font-weight: 500; }

/* ads (only rendered when AdSense is on): space reserved so content doesn't jump */
.ad { min-height: 280px; margin: 24px 0; display: flex; justify-content: center; align-items: center; }
.ad ins { display: block; width: 100%; }
.ad-footer { max-width: 1080px; margin: 0 auto 24px; padding: 0 16px; }

@media print {
  @page { size: landscape; margin: 10mm; }
  body { background: #fff; color: #000; font-size: 11px; }
  .top, .foot, .crumbs, .noprint, .ad, .hero .chips, .hero .lede, .hero .kicker { display: none !important; }
  .hero { box-shadow: none; padding: 0; margin: 0 0 6px; background: none; }
  .hero::after { display: none; }
  .print-cal h1 { font-size: 18px; margin: 0 0 4px; }
  .cal-box { box-shadow: none; overflow: visible; }
  .cal { min-width: 0; font-size: 9.5px; }
  .cal td { height: auto; padding: 3px 4px; border: 1px solid #999; }
  .cal th { border: 1px solid #999; background: #eee; color: #000; }
  .cal li.hi span, .cal li.lo span { color: #000; }
  .cal td.is-today { box-shadow: none; }
}

/* two columns of picks (best low tides, spring and neap) */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 8px 0 30px; }
.two h2 { margin-bottom: 4px; }
.two .muted { font-size: 15px; margin-bottom: 12px; }
.tempchart .line { stroke: var(--coral); }
.links .moon { width: 16px; height: 16px; vertical-align: -3px; }
.card-link .range { margin: 4px 0 0; }
.hero .note { margin: 14px 0 0; }
.hero .live .stale-msg { margin: 10px 0; }
.cards.one { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-bottom: 12px; }
.cards.one .card-link { padding: 14px; box-shadow: none; background: var(--surface-2); }
.rows li > a > span:first-child { display: grid; }
.days { grid-auto-columns: minmax(184px, 1fr); }
.day li { grid-template-columns: 16px auto 1fr; font-size: 14.5px; }
.day li b { white-space: nowrap; }
.day li span { text-align: right; white-space: nowrap; }
a.mini { text-decoration: none; color: inherit; transition: box-shadow .15s; }
a.mini:hover { box-shadow: var(--shadow-hover); }
.nav .s { display: none; }
@media (max-width: 560px) { .nav { width: 100%; justify-content: space-between; } .nav a { padding: 7px 12px; } .nav .l { display: none; } .nav .s { display: inline; } .chip { font-size: 13.5px; padding: 5px 11px; } }

/* guides */
.guide { display: grid; gap: 0; }
.keys { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.key { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 6px; align-content: start; }
.key b { font-size: 17px; letter-spacing: -.01em; }
.key > span:last-child { color: var(--ink-2); font-size: 15.5px; }
.badge { width: 40px; height: 40px; border-radius: 12px; background: var(--sea-50); color: var(--sea-ink); display: grid; place-items: center; flex: none; }
.badge .ic { width: 21px; height: 21px; }
.prose-panel p, .prose-panel li { max-width: 70ch; color: var(--ink-2); }
.prose-panel p:last-child { margin-bottom: 0; }
.figure { margin: 0 0 24px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 16px 8px; }
.fig-h { font-weight: 750; font-size: 18px; letter-spacing: -.01em; margin: 0 6px 10px; }
.tips { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
.tips li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.tips li > span:last-child { padding-top: 8px; color: var(--ink-2); }
.town-grid { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tcard { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 6px; align-content: start; }
.tcard .tname { font-weight: 750; font-size: 17px; color: var(--ink); text-decoration: none; }
.tcard .tname:hover { text-decoration: underline; }
.tcard > .sub { margin-top: -4px; }
.tcard .big-num { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
.dchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dchip { display: inline-grid; gap: 0; padding: 6px 11px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); line-height: 1.3; }
.dchip b { font-size: 14px; font-weight: 700; }
.dchip span { font-size: 12.5px; color: var(--muted); }
.dchip.spring { background: var(--sea-50); border-color: var(--sea-100); } .dchip.spring b { color: var(--sea-ink); }
.dchip.coral { background: var(--coral-50); border-color: transparent; } .dchip.coral b { color: var(--coral); }
.card-link .badge { margin-bottom: 4px; }
.card-link .more-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sea-ink); font-weight: 650; font-size: 14.5px; margin-top: 4px; }
.card-link .more-link .ic { width: 16px; height: 16px; }
.chart .bar.hi-bar { fill: var(--sea); } .chart .bar.lo-bar { fill: var(--sea-100); } .chart .bar.minus { fill: var(--coral); }
.chart .grid.zero { stroke: var(--ink-2); stroke-width: 1.2; opacity: .5; }
.barchart .moon .dark { fill: var(--line-2); }
.diagram { width: 100%; height: auto; display: block; margin: 16px 0 4px; }
.diagram text { font-family: var(--font); }
.diagram .dt { fill: var(--ink); font-size: 22px; font-weight: 750; }
.diagram .ds { fill: var(--muted); font-size: 15px; font-weight: 550; }
.diagram .dl { fill: var(--ink-2); font-size: 15px; font-weight: 600; }
.diagram .sun { fill: #f3c443; } .diagram .earth { fill: var(--sea); } .diagram .moonc { fill: #b9c6cc; }
.diagram .bulge { fill: var(--sea-100); stroke: var(--sea-200); stroke-width: 1.5; } .diagram .bulge2 { fill: var(--sea-50); stroke: var(--sea-200); stroke-width: 1; stroke-dasharray: 3 3; }
.diagram .pull { stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 3 5; }
.diagram .divider { stroke: var(--line); stroke-width: 1.5; }
.diagram .slack { fill: var(--surface-2); stroke: var(--line); }
.diagram .moving { fill: var(--sea-50); }
.diagram .tide { fill: none; stroke: var(--sea); stroke-width: 3.2; stroke-linecap: round; }
.diagram .hi { fill: var(--hi); stroke: var(--surface); stroke-width: 2.5; } .diagram .lo { fill: var(--lo); stroke: var(--surface); stroke-width: 2.5; }
