:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111;background:#fff;font-synthesis:none;-webkit-font-smoothing:antialiased;--buoy:#ff453a;--buoy-soft:#fff1ef;--buoy-text:#b3261e;--tide:#31ade4;--tide-soft:#eaf6fc;--tide-text:#0b6c98;--accent:#111;--text-muted:#5f6368;--line:#e3e6ea;--surface:#f5f6f8;--ocean:#dcedf8;--land:#fbfbf8}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}
.wrap{width:min(1280px,calc(100% - 64px));margin-inline:auto}
@media(max-width:950px){.wrap{width:calc(100% - 48px)}}
.skip-link{position:absolute;top:-100px;left:16px;padding:12px 18px;background:#111;color:#fff;z-index:30}.skip-link:focus{top:10px}
:focus-visible{outline:3px solid #0b6c98;outline-offset:3px}
h1,h2,h3{letter-spacing:-.022em}

/* Header and footer */
.site-header{height:84px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:850;font-size:22px;letter-spacing:-.022em;white-space:nowrap}.brand img{border-radius:9px}
.site-header nav{display:flex;gap:28px;margin-left:auto;font-size:14px;font-weight:700}
.site-header nav a:hover,.site-footer a:hover{text-decoration:underline}
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;padding-top:50px;padding-bottom:40px;color:var(--text-muted);font-size:13px;border-top:1px solid var(--line);margin-top:70px}
.site-footer .brand{color:#111;font-size:19px}

/* Page head */
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:26px 0 38px;padding:0;color:var(--text-muted);font-size:13px}
.breadcrumbs li{display:flex;gap:8px;align-items:center}.breadcrumbs li+li::before{content:"/";color:#a3a7ab}
.breadcrumbs a{color:#0b6c98;text-decoration:underline;text-underline-offset:3px}
.eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 14px;font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase;color:#4c5156}.eyebrow img{border-radius:50%}
.page-head{padding-bottom:30px}
.page-head h1{font-size:clamp(40px,5.4vw,66px);line-height:1.02;margin:0;font-weight:850;max-width:900px;overflow-wrap:anywhere}
.lede{max-width:690px;color:#41464b;font-size:18px;line-height:1.6;margin:20px 0 0}
.head-meta{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 0;color:var(--text-muted);font-size:14px}
.head-meta a{color:#0b6c98;text-decoration:underline;text-underline-offset:3px}
.head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}

/* Search */
.station-search{position:relative;max-width:620px;margin-top:32px}
.station-search label{display:block;font-size:14px;font-weight:750;margin-bottom:9px}
.search-row{display:flex;gap:10px}
.search-row input{flex:1;min-width:0;height:52px;border:1px solid #cdd2d7;border-radius:14px;padding:0 17px;font:inherit;font-size:16px;background:#fff}
.search-row input:focus{border-color:#0b6c98;outline:3px solid #0b6c9833;outline-offset:0}
.search-row button{height:52px;border:0;border-radius:14px;background:#111;color:#fff;padding:0 22px;font:inherit;font-size:15px;font-weight:750;cursor:pointer}.search-row button:hover{background:#333}
.search-results{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 8px);list-style:none;margin:0;padding:6px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px #1b2a3a1f;max-height:420px;overflow:auto}
.search-results li a{display:flex;flex-direction:column;gap:3px;padding:11px 13px;border-radius:11px}
.search-results li[aria-selected="true"] a,.search-results li a:hover{background:var(--surface)}
.search-results strong{font-size:15px}.search-results span{font-size:13px;color:var(--text-muted)}
.search-empty{padding:13px;color:var(--text-muted);font-size:14px}

/* Blocks */
.block{padding-top:56px}
.block>h2,.nearby-grid h2{font-size:clamp(26px,3vw,34px);line-height:1.1;margin:0 0 18px}
.block>h2 .count{color:var(--text-muted);font-weight:600;font-size:.7em;letter-spacing:-.02em}
.block-intro{color:var(--text-muted);margin:-6px 0 20px;font-size:15px}

/* Map */
.station-map{position:relative;height:clamp(360px,52vw,560px);border-radius:22px;background:var(--ocean);overflow:hidden;border:1px solid #cfe1ee}
.station-map .map-svg{display:block;width:100%;height:100%;cursor:grab}.station-map .map-svg:active{cursor:grabbing}
.map-ocean{fill:var(--ocean)}
.map-land path{fill:var(--land);stroke:#b9cad6;stroke-width:.8px;vector-effect:non-scaling-stroke}
.marker circle{stroke:#fff;stroke-width:2px}
.marker.is-buoy circle{fill:var(--buoy)}.marker.is-tide circle{fill:var(--tide)}
.marker.is-cluster{cursor:pointer}.marker.is-cluster circle{stroke-width:3px;fill-opacity:.94}
.marker.is-cluster text{fill:#fff;font-size:12px;font-weight:800;text-anchor:middle;pointer-events:none}
.marker a{cursor:pointer}.marker a:hover circle:not(.halo),.marker a:focus-visible circle:not(.halo){stroke:#111;stroke-width:2.5px}
.marker .halo{fill-opacity:.2!important;stroke:none}
.marker.is-cluster:focus-visible circle{stroke:#111}
.marker a:focus{outline:none}
.map-toolbar{position:absolute;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;gap:10px;pointer-events:none}
.map-toolbar>div{display:flex;gap:4px;background:#ffffffe6;border-radius:999px;padding:4px;box-shadow:0 4px 14px #1b2a3a1a;pointer-events:auto}
.map-zoom{margin-left:auto}
.map-toolbar button{border:0;background:transparent;border-radius:999px;min-width:38px;height:36px;padding:0 13px;font:inherit;font-size:14px;font-weight:750;cursor:pointer;color:#111}
.map-toolbar button:hover{background:#eef1f4}
.map-filter button[aria-pressed="true"]{background:#111;color:#fff}
.map-fallback{padding:24px;margin:0;color:var(--text-muted)}
.station-map.is-failed::after{content:"The map couldn’t load. Use the lists on this page to find a station.";position:absolute;inset:auto 0 0;padding:18px 22px;color:var(--text-muted);font-size:14px}
.map-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin-top:12px;color:var(--text-muted);font-size:13px}
.map-foot p{margin:0}
.map-legend{display:flex;align-items:center;gap:7px}
.dot{display:inline-block;width:11px;height:11px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #0002}.dot.is-buoy{background:var(--buoy)}.dot.is-tide{background:var(--tide);margin-left:12px}

/* Units: a quiet summary chip that opens the settings panel (station pages) */
.units{position:relative;display:flex;justify-content:flex-end;margin:0 0 10px}
.units[hidden]{display:none}
.units-toggle{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;border-radius:999px;padding:7px 10px;font:inherit;font-size:13px;color:var(--text-muted);cursor:pointer}
.units-toggle:hover,.units-toggle[aria-expanded="true"]{background:var(--surface);color:#111}
.units-icon{font-size:14px}.units-chevron{font-size:12px;transform:translateY(-2px)}
.units-toggle[aria-expanded="true"] .units-chevron{transform:rotate(180deg) translateY(-2px)}
.units-panel{position:absolute;z-index:20;top:calc(100% + 6px);right:0;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px #1b2a3a1f;padding:6px 16px;min-width:360px}
.units-panel[hidden]{display:none}
.unit-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--line)}
.unit-row:last-child{border-bottom:0}
.unit-row>span{font-size:14px;font-weight:650}
.unit-row>div{display:flex;flex-wrap:wrap;gap:4px}
.unit-row button{border:0;background:transparent;border-radius:8px;padding:6px 9px;font:inherit;font-size:14px;color:var(--text-muted);cursor:pointer}
.unit-row button:hover{background:var(--surface);color:#111}
.unit-row button[aria-pressed="true"]{color:#111;font-weight:700}
.unit-row button[aria-pressed="true"]::after{content:" ✓";color:#0b6c98}
@media(max-width:680px){.units-panel{left:0;right:0;min-width:0}.unit-row{flex-direction:column;align-items:flex-start;gap:4px}}

/* Marker name on hover */
.map-tooltip{position:absolute;z-index:5;transform:translate(-50%,-100%);pointer-events:none;background:#111;color:#fff;border-radius:10px;padding:8px 11px;display:flex;flex-direction:column;gap:2px;max-width:260px;box-shadow:0 8px 20px #0003}
.map-tooltip strong{font-size:14px;line-height:1.25}.map-tooltip span{font-size:12px;color:#c9cdd1}
.map-tooltip[hidden]{display:none}
.app-head h3 a{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}.app-head h3 a:hover{color:#0b6c98}
.footer-links{display:flex;gap:18px}

/* Countries and lists */
.country-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.country-grid a{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;height:100%}
.country-grid a:hover{border-color:#a9bac7;box-shadow:0 10px 24px #1b2a3a0f}
.country-grid strong{font-size:17px;letter-spacing:-.02em}.country-grid span{color:var(--text-muted);font-size:13px}
.station-list{list-style:none;padding:0;margin:0 0 10px;columns:3 240px;column-gap:28px}
.station-list li{break-inside:avoid;padding:9px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:15px}
.station-list a{font-weight:650}.station-list a:hover{color:#0b6c98;text-decoration:underline}
.station-list span{color:var(--text-muted);font-size:13px;text-align:right}
.region-title{font-size:19px;margin:30px 0 8px}.region-title span{color:var(--text-muted);font-weight:600;font-size:14px;letter-spacing:0}
.back-link{margin-top:34px;margin-bottom:0;font-weight:750}.back-link a{text-decoration:underline;text-underline-offset:4px}

/* Station: app-style reading cards */
.station-head{padding-bottom:8px}
.readings{padding-top:10px}
.readings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.reading-slot{background:var(--surface);border-radius:26px;padding:22px;display:flex;flex-direction:column}.reading-slot>[data-conditions]{flex:1;display:flex;flex-direction:column}.reading-slot .app-card{flex:1;display:flex;flex-direction:column}
.slot-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin:2px 4px 14px}
.slot-head h2{font-size:22px;margin:0}.slot-head p{margin:0;color:var(--text-muted);font-size:14px}
.slot-head a{color:#111;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.app-card{background:#fff;border-radius:22px;padding:22px;box-shadow:0 1px 3px #1b2a3a14}
.app-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}.app-head img{border-radius:50%;flex:none}
.app-head h3{font-size:24px;letter-spacing:-.03em;margin:0 0 3px}.app-head p{margin:0;color:#6b6f75;font-size:14px;line-height:1.45}
.label{display:block;color:#6b6f75;font-size:14px;margin-bottom:2px}
.big{display:flex;align-items:center;gap:6px;font-size:clamp(34px,4.2vw,46px);letter-spacing:-.022em;line-height:1.05;font-weight:650}
.is-na .big{color:#6e7379}
.wave-icon{color:#31ade4;font-size:.62em;font-weight:500}
.sub{display:block;margin-top:5px;font-size:14px;font-weight:750}
.buoy-main{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:start}
.buoy-main .wave>.label{line-height:20px}
.buoy-side{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.buoy-side li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:20px}.buoy-side .side-label{display:inline-flex;align-items:center;gap:4px;color:#6b6f75;min-width:70px;flex:none}.buoy-side strong{font-weight:750}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0 0;background:#f5f5f7;border-radius:12px;padding:10px 0}
.tiles>div{padding:0 14px;display:flex;flex-direction:column;gap:2px}.tiles>div+div{border-left:1px solid #dcdde1}
.tiles span{color:#6b6f75;font-size:13px}.tiles strong{font-size:15px}
/* Match the tide SVG's bottom time baseline (6/420 of the card width). */
.buoy-card{container-type:inline-size;min-width:0}
.buoy-chart{position:relative;margin-top:auto;padding-top:20px;min-width:0}
.buoy-history-scroll{--bar-width:max(44px,10.4761905cqi);--axis-space:max(28px,10.952381cqi);width:100%;height:max(170px,53.3333333cqi);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.buoy-history-scroll::-webkit-scrollbar{display:none}
.buoy-history-scroll.is-panning{cursor:grabbing}
.buoy-history-scroll[data-pointer-focus]:focus{outline:none}
.buoy-history-scroll.is-empty{overflow:hidden;cursor:default}
.bars{display:flex;align-items:stretch;justify-content:flex-end;gap:4px;width:max-content;min-width:100%;height:100%;padding-top:10cqi;position:relative}
.bar-col{flex:0 0 var(--bar-width);width:var(--bar-width);height:100%;min-width:0;position:relative}
.bar-plot{height:calc(100% - var(--axis-space));display:flex;align-items:flex-end}
.bar{width:100%;min-height:12px;border-radius:4px 4px 0 0;display:flex;align-items:flex-end;justify-content:center;position:relative}
.bar>span{color:#fff;font-size:max(10px,2.3809524cqi);font-weight:750;line-height:1.1;text-align:center;padding-bottom:3px;white-space:nowrap;text-shadow:0 1px 2px #0005}
.bar.is-empty{background:#e7e8eb}
.bar-time{position:absolute;bottom:0;left:0;width:100%;height:28px;overflow:visible;pointer-events:none}
.bar-time text{font-size:max(10px,2.8571429cqi);fill:#6b6f75;text-anchor:middle;transform:translateY(-1.4285714cqi)}
.bar-time .is-latest{font-weight:750;fill:#41464b}
.buoy-history-scroll.is-empty .bar-col{flex:1;width:auto}
.buoy-chart .chart-na{position:absolute;inset:50% 0 auto;margin:0;text-align:center;color:#6b6f75;font-size:14px;font-weight:700;pointer-events:none}
.history-direction{display:flex;flex-direction:column;align-items:center;gap:2px}
.history-direction .swell-direction-symbol{width:20px;height:20px;margin:0;vertical-align:0}
.history-direction .swell-direction-symbol::before{width:8px;height:13px}
.credits a{text-decoration:underline;text-underline-offset:2px}
.stale{margin:14px 0 0;padding:11px 14px;border-radius:12px;background:#fff2df;color:#60400a;font-size:14px}
.tide-main{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start}
.tide-card{container-type:inline-size}
.tide-now{min-width:0;font-variant-numeric:tabular-nums}
.tide-now .big{white-space:nowrap}
.reserved-value{display:inline-grid;vertical-align:baseline}
.reserved-value>span{grid-area:1/1;align-self:start}
.reserved-value .size-copy{visibility:hidden;pointer-events:none;user-select:none}
.app-head .reserved-value{display:grid}
.tide-table-frame{--tide-row-height:32px;min-width:0}
.tide-table tr{height:var(--tide-row-height)}
.tide-table .reserved-value{display:grid}
.tide-table .tide-type{display:flex;align-items:center;height:20px}
.tide-table .size-copy{font-weight:750}
.tide-table .tide-empty{visibility:hidden}
@container (max-width:440px){.tide-main{grid-template-columns:1fr;gap:14px}}
@container (max-width:380px){.tide-table{font-size:12px}.tide-table th,.tide-table td{padding-inline:3px}}
.trend{display:block;margin-top:5px;font-size:15px;color:#6b6f75}
.trend.rising .tide-arrow{color:#34c759}.trend.falling .tide-arrow{color:#ff3b30}
.tide-table{width:100%;height:calc(4 * var(--tide-row-height));border-collapse:collapse;font-size:14px}
.tide-day{display:inline-block;min-width:4.6em;color:#6b6f75;font-weight:500}
.tide-table th,.tide-table td{padding:6px;text-align:left;font-weight:500;white-space:nowrap;line-height:20px}
.tide-table tr.high{background:#f5f5f7;font-weight:750}.tide-table tr.high th,.tide-table tr.high td{font-weight:750}
.tide-table tr.low th,.tide-table tr.low td{color:#6b6f75}
.tide-chart{margin-top:auto;padding-top:18px}
.chart-title{margin:0 0 6px;color:#6b6f75;font-size:13px}
.tide-svg{display:block;width:100%;height:auto;overflow:visible}
.tide-svg .grid-v{stroke:#e3e5e8;stroke-dasharray:3 4}
.tide-svg .axis{fill:#6b6f75;font-size:12px;text-anchor:middle}
.tide-svg .curve{fill:none;stroke:#31ade4;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.tide-svg.is-empty .curve{stroke:#dfe1e5;stroke-dasharray:2 9}
.tide-svg .na-text{fill:#6b6f75;font-size:15px;font-weight:700;text-anchor:middle}
.tide-svg .now-line{stroke:#31ade4;stroke-width:1.5;stroke-dasharray:5 5}
.tide-svg .now-dot{fill:#fff;stroke:#ff3b30;stroke-width:5}
.tide-svg .ext{fill:#31ade4}
.tide-svg .ext-label rect{fill:#fff;stroke:#e1e3e6}
.tide-svg .ext-label text{font-size:12.5px;font-weight:600;text-anchor:middle;fill:#111}
.tide-days{display:flex;align-items:center;gap:4px;margin:0 0 12px}
.tide-days[hidden]{display:none}
.tide-days>div{display:flex;flex:1;gap:4px}
.tide-days button{border:1px solid transparent;border-radius:12px;background:transparent;color:#111;font:inherit;cursor:pointer;min-width:34px;min-height:44px;padding:5px 8px}
.tide-days>button{font-size:26px;padding-inline:5px}
.tide-days>div>button{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px}
.tide-days button[aria-pressed="true"]{background:#f5f5f7;border-color:#d9dce0}
.tide-days button:disabled{opacity:.3;cursor:default}
.tide-days button span{font-size:12px;color:#6b6f75}.tide-days button strong{font-size:20px;font-weight:650}
.tide-days i{height:5px;width:5px;border-radius:50%;margin-top:2px}.tide-days .is-today{background:#ff453a}
.tide-days button:focus-visible{outline:2px solid #0875a6;outline-offset:2px}
.tide-svg[data-tide-chart]{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.tide-svg [data-tide-handle]{cursor:grab;touch-action:none;outline:none}
.tide-svg [data-tide-handle].is-dragging{cursor:grabbing}
.tide-svg [data-tide-handle]:focus-visible .now-dot{stroke-width:6;filter:drop-shadow(0 0 3px #0875a6)}
.tide-callout{pointer-events:none}.tide-callout rect{fill:#fff;fill-opacity:.95;stroke:#e1e3e6}
.tide-callout text{text-anchor:middle;font-size:13px;fill:#111;font-weight:650}
.tide-callout [data-active-height]{font-size:12px;font-weight:500;fill:#41464b}
.tide-svg .event-time{font-size:10px}
.tide-svg .now-dot{stroke:#ff453a;stroke-width:3}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Station: nearby and about */
.nearby-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding-top:56px}
.nearby-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.nearby-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}
.nearby-list a{display:flex;flex-direction:column;gap:3px;min-width:0}.nearby-list a:hover strong{text-decoration:underline}
.nearby-list strong{font-size:15px}.nearby-list a span{color:var(--text-muted);font-size:13px}
.distance{flex:none;font-size:14px;font-weight:700;color:#41464b}
.facts{margin:0;border-top:1px solid var(--line);max-width:760px}
.facts>div{display:grid;grid-template-columns:170px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.facts dt{color:var(--text-muted);font-size:14px}.facts dd{margin:0;font-size:15px;font-weight:650;overflow-wrap:anywhere}
.about-note{max-width:760px;color:var(--text-muted);font-size:14px;line-height:1.6;margin:16px 0 0}

/* Call to action and credits */
.bottom-cta{margin-top:70px;border-radius:26px;background:#151515;color:#fff;text-align:center;padding:64px 25px}
.bottom-cta .eyebrow{justify-content:center;color:#b7c0c5}
.bottom-cta h2{font-size:clamp(32px,4vw,48px);line-height:1.05;max-width:720px;margin:0 auto 16px}
.bottom-cta p:not(.eyebrow){color:#c8cdd0;font-size:16px;line-height:1.5;margin:0 auto 26px}
.primary-cta{display:inline-flex;align-items:center;gap:22px;border-radius:999px;padding:16px 22px;background:#fff;color:#111;font-size:15px;font-weight:750}.primary-cta:hover{background:#eaeaea}
.credits{margin-top:56px;padding-top:28px;border-top:1px solid var(--line);color:var(--text-muted);font-size:13px;line-height:1.6}
.credits h2{font-size:15px;letter-spacing:0;color:#111;margin:0 0 8px}.credits p{margin:0 0 8px;max-width:860px}.credits strong{color:#41464b}

@media(max-width:960px){.readings-grid{grid-template-columns:1fr}}
@media(max-width:680px){
  .wrap{width:calc(100% - 40px)}
  .site-header{height:70px;gap:12px}.brand{font-size:18px}.brand img{width:32px;height:32px}
  .site-header nav{gap:14px;font-size:13px}.site-header nav a:first-child{display:none}
  .breadcrumbs ol{margin:20px 0 26px}
  .lede{font-size:16px}
  .head-row{flex-direction:column;align-items:flex-start;gap:16px}
  .search-row button{padding:0 16px}
  .station-map{height:420px;border-radius:18px}
  .map-toolbar{top:10px;left:10px;right:10px}
  .map-toolbar button{min-width:34px;height:34px;padding:0 10px;font-size:13px}
  .block{padding-top:44px}
  .reading-slot{padding:14px;border-radius:22px}
  .app-card{padding:18px}
  .buoy-main,.tide-main{grid-template-columns:1fr;gap:14px}
  .tiles>div{padding:0 10px}
  .tide-svg .axis{font-size:16px}
  .tide-svg .ext-label text{font-size:15px}
  .tide-svg .na-text{font-size:19px}
  .nearby-grid{grid-template-columns:1fr;gap:34px;padding-top:44px}
  .facts>div{grid-template-columns:120px 1fr}
  .station-list{columns:1}
  .bottom-cta{padding:52px 20px;border-radius:22px}
  .site-footer{flex-wrap:wrap}.site-footer .brand{width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Legal and support pages */
.legal{max-width:760px;padding-top:10px}
.legal h2{font-size:22px;margin:34px 0 10px}
.legal p,.legal li{font-size:16px;line-height:1.65;color:#33383d}
.legal ul{padding-left:20px}.legal li{margin:8px 0}
.legal a{color:#0b6c98;text-decoration:underline;text-underline-offset:3px}
mark.todo{background:#fff2b3;color:#5c4108;border-radius:4px;padding:1px 4px}
.support{max-width:720px;padding-top:6px}
.support-lede{font-size:20px;line-height:1.55;margin:0 0 14px}.support-lede a{color:#0b6c98;text-decoration:underline;text-underline-offset:3px}
.support-note{color:var(--text-muted);font-size:15px;line-height:1.6;margin:0}
.credits-line{margin-top:40px;padding-top:18px;border-top:1px solid var(--line);color:var(--text-muted);font-size:13px}
.credits-line a{text-decoration:underline;text-underline-offset:2px}
.footer-links{flex-wrap:wrap}

/* Press kit */
.press-hero{padding-bottom:20px}
.press-hero-grid{display:flex;align-items:center;gap:32px}
.press-hero-grid img{border-radius:30px;box-shadow:0 22px 44px #1b2a3a2e;flex:none}
.press-hero h1{font-size:clamp(44px,6vw,72px);line-height:1;margin:0;font-weight:850}
.press-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.press-button{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:13px 20px;background:#111;color:#fff;font-size:15px;font-weight:750}
.press-button:hover{background:#333}.press-button.is-light{background:var(--surface);color:#111}.press-button.is-light:hover{background:#e9ecef}
.press-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin:0}
.press-facts>div{border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.press-facts dt{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.press-facts dd{margin:6px 0 0;font-size:17px;font-weight:700}
.copy-block{border:1px solid var(--line);border-radius:18px;padding:20px 22px;margin-bottom:12px;max-width:860px}
.copy-head{display:flex;justify-content:space-between;align-items:center;gap:16px}
.copy-head h3{font-size:15px;margin:0;letter-spacing:0}
.copy-block p{margin:10px 0 0;font-size:16px;line-height:1.65;color:#33383d}
.copy-button{border:1px solid #d9dce1;background:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.copy-button:hover{background:var(--surface)}
.press-features{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.press-features li{background:var(--surface);border-radius:16px;padding:18px 20px;font-size:15px;line-height:1.55;color:#41464b}
.press-features strong{display:block;color:#111;font-size:16px;margin-bottom:4px}
.press-shots{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.press-shots a{display:flex;flex-direction:column;gap:10px;height:100%;background:var(--surface);border-radius:18px;padding:14px}
.press-shots img{width:100%;height:220px;object-fit:contain}
.press-shots span{font-size:13px;font-weight:650;display:flex;justify-content:space-between;gap:8px}
.press-shots a:hover{background:#e9edf1}
.press-brand{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.brand-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:200px;border:1px solid var(--line);border-radius:18px;padding:20px;text-align:center}
.brand-tile img{border-radius:22px}.brand-tile span{font-size:13px;font-weight:650}
.brand-tile.is-dark{background:#111;color:#fff;border-color:#111}
.brand-tile.is-note{align-items:flex-start;justify-content:flex-start;text-align:left;background:var(--surface);border:0}
.brand-tile.is-note p{margin:0 0 10px;font-size:14px;line-height:1.55;color:#41464b}
.press-colors{list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.press-colors li{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;column-gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px}
.swatch{grid-row:span 3;width:40px;height:40px;border-radius:10px;box-shadow:inset 0 0 0 1px #0002}
.press-colors strong{font-size:14px}.press-colors code{font-size:13px}.press-colors small{color:var(--text-muted);font-size:12px}
.press-contact{font-size:17px;line-height:1.6;max-width:760px}.press-contact a{color:#0b6c98;text-decoration:underline}
/* Changelog */
.changelog{max-width:760px;padding-top:10px}
.release{border-top:1px solid var(--line);padding:20px 0}
.release h2{font-size:20px;margin:0 0 8px;letter-spacing:-.01em}.release h2 span{color:var(--text-muted);font-weight:500;font-size:15px;margin-left:8px}
.release ul{margin:0;padding-left:20px}.release li{font-size:15px;line-height:1.6;color:#33383d}
@media(max-width:800px){.press-brand{grid-template-columns:1fr}.press-hero-grid{flex-direction:column;align-items:flex-start;gap:20px}.press-hero-grid img{width:96px;height:96px;border-radius:22px}}

/* Site header: identical on every page (also in src/styles.css / public/station-pages.css, keep in sync). */
html{scroll-padding-top:88px}
.site-header{position:sticky;top:0;z-index:50;height:auto;display:block;padding:0;margin:0;width:auto;background:rgba(255,255,255,.9);-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid #e3e6ea}
.site-header-inner{width:min(1280px,calc(100% - 64px));margin-inline:auto;height:72px;display:flex;align-items:center;gap:32px}
.site-header .brand{display:inline-flex;align-items:center;gap:10px;font-size:21px;font-weight:850;letter-spacing:-.022em;white-space:nowrap;color:#111}
.site-header .brand img{width:38px;height:38px;border-radius:9px;flex:none}
.site-header .main-nav{display:flex;gap:30px;margin-left:auto;font-size:14px;font-weight:700}
.site-header .main-nav a{padding:10px 0;color:#111;transition:opacity .2s}
.site-header .main-nav a:hover{opacity:.55;text-decoration:none}
.site-header .mobile-nav{display:none}
@media(max-width:950px){.site-header-inner{width:calc(100% - 48px);gap:20px}.site-header .main-nav{gap:20px}}
@media(max-width:680px){
  .site-header-inner{width:calc(100% - 40px);height:64px;gap:10px}
  .site-header .brand{font-size:18px}.site-header .brand img{width:32px;height:32px;border-radius:8px}
  .site-header .main-nav{display:none}
  .site-header .mobile-nav{display:block;margin-left:auto;position:relative}
  .site-header .mobile-nav summary{list-style:none;cursor:pointer;padding:10px 4px;font-size:13px;font-weight:750}
  .site-header .mobile-nav summary::-webkit-details-marker{display:none}
  .site-header .mobile-nav summary::after{content:"⌄";display:inline-block;margin-left:4px;font-size:15px}
  .site-header .mobile-nav[open] summary::after{transform:rotate(180deg)}
  .site-header .mobile-nav nav{position:absolute;top:44px;right:-60px;display:grid;width:180px;padding:8px 14px;background:#fff;border:1px solid #e3e6ea;border-radius:16px;box-shadow:0 16px 34px #0002}
  .site-header .mobile-nav nav a{display:block;padding:12px 4px;font-size:14px;font-weight:700;color:#111}
}

/* Site footer: identical on every page (also in src/styles.css / public/station-pages.css, keep in sync). */
.site-footer{display:block;margin:80px 0 0;padding:0;border-top:1px solid #e3e6ea;color:#5f6368;font-size:14px;background:transparent}
.site-footer-inner{width:min(1280px,calc(100% - 64px));margin-inline:auto;padding:48px 0 36px}
.footer-lead{max-width:560px}
.footer-brand{display:inline-flex;align-items:center;gap:14px;color:#111;font-size:20px;font-weight:850;letter-spacing:-.022em}
.footer-brand img{width:44px;height:44px;border-radius:11px;box-shadow:0 8px 20px #1b2a3a22}
.footer-summary{margin:16px 0 0;font-size:15px;line-height:1.6;color:#5f6368}
.footer-columns{display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:32px;margin-top:32px;padding-top:28px;border-top:1px solid #e3e6ea}
.footer-column{display:flex;flex-direction:column;gap:10px}
.footer-column h3{margin:0 0 4px;font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:#111}
.footer-column a{color:#41464b;font-size:14px}.footer-column a:hover{color:#111;text-decoration:underline;text-underline-offset:3px}
.footer-bottom{display:block;margin:36px 0 0;padding:0;border:0;font-size:13px;color:#6b6f75}
@media(max-width:950px){.site-footer-inner{width:calc(100% - 48px)}}
@media(max-width:680px){.site-footer-inner{width:calc(100% - 40px);padding:40px 0 28px}.footer-columns{grid-template-columns:1fr 1fr;gap:28px 20px}}

/* Resources hub and articles */
.resource-jump{display:flex;gap:10px;margin:22px 0 0}
.resource-jump a{border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:700}.resource-jump a:hover{background:var(--surface)}
.resource-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.resource-card{display:flex;flex-direction:column;gap:8px;height:100%;border:1px solid var(--line);border-radius:18px;padding:22px}
.resource-card:hover{border-color:#a9bac7;box-shadow:0 12px 28px #1b2a3a12}
.resource-card strong{font-size:19px;line-height:1.25;letter-spacing:-.02em}
.resource-card span:last-child{color:var(--text-muted);font-size:14px;line-height:1.5}
.resource-meta{font-size:12px;font-weight:700;letter-spacing:.04em;color:#0b6c98;margin:0}
.page-head .resource-meta{margin-top:14px;font-size:13px}
.article-body>*{max-width:760px}
.article-body>h2{font-size:26px;line-height:1.2;margin:40px 0 12px}
.article-body>p,.article-body li{font-size:17px;line-height:1.7;color:#2f3438}
.article-body a{color:#0b6c98;text-decoration:underline;text-underline-offset:3px}
.article-body ol{padding-left:22px}
.quick-take,.key-takeaways{border-radius:18px;padding:18px 22px;margin:26px 0}
.quick-take{background:var(--tide-soft)}.key-takeaways{background:var(--surface)}
.quick-take h2,.key-takeaways h2{font-size:14px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}
.quick-take ul,.key-takeaways ul{margin:0;padding-left:20px}.quick-take li,.key-takeaways li{font-size:16px;line-height:1.6;margin:4px 0}
.article-figure{margin:26px 0;padding:18px;border:1px solid var(--line);border-radius:18px}
.article-figure svg{display:block;width:100%;height:auto}
.figure-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:680px){.figure-pair{grid-template-columns:1fr}}
.article-figure figcaption{margin-top:10px;font-size:14px;color:var(--text-muted)}
.article-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:15px}
.article-table th,.article-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.article-table th{font-size:13px;color:var(--text-muted);font-weight:700}
.table-note{font-size:13px!important;color:var(--text-muted)!important;margin-top:-6px}
.article-sources{padding-left:20px}.article-sources li{font-size:15px!important}
@media(max-width:680px){.article-body>p,.article-body li{font-size:16px}.article-table{font-size:14px}.article-table th,.article-table td{padding:8px 6px}}

/* FAQ page */
.faq-group h2{font-size:24px}
.faq-items{max-width:820px;border-top:1px solid var(--line)}
.faq-items details{border-bottom:1px solid var(--line)}
.faq-items summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:18px 0;font-size:17px;font-weight:700}
.faq-items summary::-webkit-details-marker{display:none}
.faq-items summary::after{content:"+";font-size:24px;font-weight:400;line-height:1;transition:transform .2s}
.faq-items details[open] summary::after{transform:rotate(45deg)}
.faq-items p{margin:0 0 20px;max-width:700px;font-size:16px;line-height:1.65;color:#41464b}
.faq-items a,.faq-more a{color:#0b6c98;text-decoration:underline;text-underline-offset:3px}
.faq-more{margin-top:40px;font-size:16px}

/* Official App Store badge in the header: unmodified; 46px tall on desktop, 40px (Apple's minimum) on phones. */
.site-header .header-badge{display:inline-flex;flex:none;border-radius:7px;line-height:0}
.site-header .header-badge img{display:block;width:138px;height:46px}
@media(max-width:680px){.site-header .header-badge img{width:120px;height:40px}}
.site-header .header-badge:hover{opacity:.85}
/* Readings written into the page at build time (station, state and spot pages). */
.table-note{margin:-4px 0 14px;color:#6b6f75;font-size:14px}
.table-scroll{overflow-x:auto;border:1px solid #e5e5ea;border-radius:16px}
.data-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.data-table th,.data-table td{padding:10px 14px;text-align:left;border-bottom:1px solid #eeeef0;vertical-align:top}
.data-table thead th{background:#f7f7f9;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6b6f75;font-weight:700}
.data-table tbody tr:last-child th,.data-table tbody tr:last-child td{border-bottom:0}
.data-table tbody th{font-weight:650}.data-table a{color:#111;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#c7c7cc}
.data-table td{color:#3a3a3c}
@media(max-width:680px){.data-table th,.data-table td{padding:9px 10px;font-size:13px}}
/* Guide images: card thumbnails and the photo at the top of each article. */
.resource-card.has-image{padding:0;overflow:hidden}
.resource-card.has-image>:not(img){margin-inline:20px}
.resource-card.has-image>.resource-meta{margin-top:16px}
.resource-card.has-image>span:last-child{margin-bottom:20px}
.resource-thumb{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;background:#e8eef3}
.article-hero{margin:26px 0 0;max-width:880px}
.article-hero-img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:22px;background:#e8eef3}
.article-hero figcaption{margin-top:8px;font-size:12px;color:var(--text-muted)}
.article-hero figcaption a,.photo-credits a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.photo-credits{margin:0;padding-left:18px;font-size:14px;line-height:1.7}

/* App assets: waveHeightIcon and the app's SF Symbol arrow names. */
.app-symbol{display:inline-block;flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:var(--symbol) center/contain no-repeat;mask:var(--symbol) center/contain no-repeat;vertical-align:-4px}
.wave-height-symbol{width:32px;height:32px;vertical-align:middle}
/* ArrowView uses a 9x14 glyph in a 20x20 summary frame (8x13 in history).
   Its 96px export has a centered 52px alpha box: remove that padding before stretch. */
.swell-direction-symbol{position:relative;width:20px;height:20px;margin-right:2px;vertical-align:-5px;background:none;-webkit-mask:none;mask:none}
.swell-direction-symbol::before{content:"";position:absolute;left:50%;top:50%;width:9px;height:14px;transform:translate(-50%,-50%);background:currentColor;-webkit-mask:var(--symbol) center/184.615385% 184.615385% no-repeat;mask:var(--symbol) center/184.615385% 184.615385% no-repeat}
.tide-arrow{width:20px;height:20px;margin-right:2px;vertical-align:-5px}
.side-symbol{width:20px;height:20px}
.wave>.big .wave-icon{display:inline-flex;align-items:center}

/* Match the app warning beside the observation timestamp, without hiding data. */
.buoy-age-warning{display:inline-flex;align-items:center;color:var(--status-warning,#ff9500);vertical-align:middle}
.warning-symbol{width:16px;height:16px;vertical-align:0}
