/* ══════════════════════════════════════════════════════════════
   Weather page — Eh design system (token-based)
   ══════════════════════════════════════════════════════════════ */

/* ── Weather hero ── */
.wx-hero {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    padding: 2.6rem 0 2.15rem;
    position: relative;
}
.wx-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 1.35rem 2rem;
}
.wx-hero__main {
    min-width: 0;
}
.wx-hero__label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.wx-hero__icon {
    font-size: 0.6em;
    vertical-align: baseline;
    margin-right: 0.1em;
}
.wx-hero__temp {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: clamp(4rem, 12vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
}
.wx-hero__temp sup {
    font-size: 0.35em;
    font-weight: 400;
    vertical-align: super;
    opacity: 0.7;
}
.wx-hero__desc {
    font-size: 1.22rem;
    font-weight: 400;
    margin-top: 0.3rem;
    color: var(--text-secondary);
}
.wx-hero__feels-like {
    font-size: 0.96rem;
    font-weight: 400;
    color: var(--muted);
    margin-top: 0.28rem;
}
.wx-hero__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    align-items: center;
    margin-top: 0.85rem;
}
.wx-hero__meta {
    font-size: 0.86rem;
    color: var(--muted);
}
.wx-hero__sun-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
}
.wx-hero__sun-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.wx-hero__sun-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--muted);
}
.wx-hero__sun-value {
    font-weight: 700;
}

/* Live badge */
.wx-hero__live {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    margin-left: 0.5rem;
    vertical-align: middle;
    animation: pulse-live 2s ease infinite;
}
.wx-hero__live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin-right: 0.3rem;
    vertical-align: middle;
}
.live-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    animation: pulse-live 2s ease infinite;
}

/* Hero detail cards */
.wx-hero__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    min-width: 0;
}
.wx-hero__detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--card-shadow);
}
.wx-hero__detail-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.3rem;
}
.wx-hero__detail-value {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}
.wx-hero__detail-sub {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

/* Glance cards */
.wx-hero__glance {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}
.wx-hero__glance-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 100%;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--card-shadow);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.wx-hero__glance-card:hover {
    transform: translateY(-1px);
    text-decoration: none;
    border-color: var(--red);
    background: var(--surface-hover);
}
.wx-hero__glance-card--forecast,
.wx-hero__glance-card--air,
.wx-hero__glance-card--tide,
.wx-hero__glance-card--sun,
.wx-hero__glance-card--alert,
.wx-hero__glance-card--calm {
    background: var(--surface);
}
.wx-hero__glance-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.wx-hero__glance-value {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
}
.wx-hero__glance-text {
    font-size: 0.86rem;
    line-height: 1.42;
    color: var(--text-secondary);
}
.wx-hero__glance-cta {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
}

/* ── Hourly forecast ── */
.hourly-section {
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.hourly-section__title {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    margin: 0 0 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hourly-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    max-width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--muted) transparent;
    padding: 0 0.15rem 0.6rem;
}
.hourly-scroll::-webkit-scrollbar {
    height: 4px;
}
.hourly-scroll::-webkit-scrollbar-thumb {
    background: var(--muted);
    border-radius: var(--radius-sm);
}
.hourly-item {
    flex: 0 0 auto;
    width: 68px;
    text-align: center;
    padding: 0.75rem 0.25rem;
    border-right: 1px solid var(--border);
    transition: background 0.15s;
    position: relative;
    scroll-snap-align: start;
}
.hourly-item:last-child { border-right: none; }
.hourly-item:hover { background: var(--surface-hover); }
.hourly-item--now {
    background: var(--surface-hover);
    border-radius: var(--radius-md);
}
.hourly-item--now::before {
    content: 'NOW';
    position: absolute;
    top: -0.1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--red);
}
.hourly-item__time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 0.45rem;
    text-transform: lowercase;
    letter-spacing: 0.01em;
}
.hourly-item--now .hourly-item__time {
    color: var(--red);
    font-weight: 700;
}
.hourly-item__icon {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    display: block;
    line-height: 1;
}
.hourly-item__temp {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.hourly-item__precip {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    opacity: 0;
    transition: opacity 0.15s;
    min-height: 1rem;
    line-height: 1.2;
}
.hourly-item__precip--visible {
    opacity: 1;
}
.hourly-item__feels {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.2rem;
    line-height: 1.15;
}
.uv-badge {
    font-weight: 700;
}

/* ── Forecast section ── */
.wx-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.wx-section:last-child { border-bottom: none; }
.wx-section__title {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    margin: 0 0 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.wx-section__header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.wx-section__header .wx-section__title { margin-bottom: 0; }
.wx-section__header + .wx-section__subtitle { margin-top: -0.75rem; }
.wx-section__updated {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
    white-space: nowrap;
}

/* Forecast cards grid */
.forecast-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.forecast-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.forecast-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transform: translateY(-1px);
}
.forecast-card:first-child {
    border-color: var(--red);
    border-width: 2px;
}
.forecast-card__day {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
}
.forecast-card__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}
.forecast-card__temps {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.forecast-card__temps span {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.9rem;
}
.forecast-card__desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.forecast-card__precip {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* ── Compact tide summary ── */
.tides-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--card-shadow);
}
.tides-summary__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.tides-summary__header .wx-section__title {
    margin: 0;
    padding: 0;
    border: none;
}
.tides-summary__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    white-space: nowrap;
}
.tides-summary__link:hover {
    text-decoration: underline;
}
.tides-summary__entries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}
.tides-summary__entry {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--text);
}
.tides-summary__entry--next {
    font-weight: 700;
}
.tides-summary__type {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.12rem 0.35rem;
    border-radius: var(--radius-sm);
    line-height: 1.4;
}
.tides-summary__entry--high .tides-summary__type {
    background-color: var(--surface-hover);
    color: var(--red);
}
.tides-summary__entry--low .tides-summary__type {
    background-color: var(--surface-hover);
    color: var(--muted);
}
.tides-summary__time {
    font-weight: 600;
    color: var(--text);
}
.tides-summary__height {
    font-size: 0.84rem;
    color: var(--muted);
}
.tides-summary__station {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0.75rem 0 0;
}

/* ── Alerts section ── */
.wx-alert {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}
.wx-alert--warning { border-left: 4px solid #e65100; }
.wx-alert--emergency { border-left: 4px solid var(--red); }
.wx-alert--watch { border-left: 4px solid #f9a825; }
.wx-alert--info, .wx-alert--advisory { border-left: 4px solid var(--muted); }
.wx-alert__headline {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin: 0 0 0.35rem;
}
.wx-alert__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}
.wx-clear {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ── Sun strip ── */
.sun-strip {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
    box-shadow: var(--card-shadow);
}
.sun-strip__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sun-strip__icon { font-size: 1.5rem; }
.sun-strip__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.sun-strip__time {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

/* ── Beach Conditions (marine tile) ── */
.beach-hero {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.beach-hero__status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--card-shadow);
}
.beach-hero__status--calm,
.beach-hero__status--gentle,
.beach-hero__status--moderate,
.beach-hero__status--choppy,
.beach-hero__status--rough {
    background: var(--surface);
    border-color: var(--border);
}
.beach-hero__icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}
.beach-hero__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.beach-hero__label {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}
.beach-hero__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.beach-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.beach-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--card-shadow);
}
.beach-detail__label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.4rem;
}
.beach-detail__value {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}
.beach-detail__sub {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

/* Wave forecast bar chart */
.wave-forecast {
    margin-top: 1.5rem;
    overflow: hidden;
}
.wave-forecast__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}
.wave-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--muted) transparent;
    padding-bottom: 0.25rem;
}
.wave-scroll::-webkit-scrollbar { height: 4px; }
.wave-scroll::-webkit-scrollbar-thumb { background: var(--muted); border-radius: var(--radius-sm); }
.wave-item {
    flex: 0 0 auto;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0;
    border-right: 1px solid var(--border);
}
.wave-item:last-child { border-right: none; }
.wave-item__time {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: lowercase;
}
.wave-item__bar-wrap {
    width: 20px;
    height: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.wave-item__bar {
    width: 100%;
    min-height: 4px;
    border-radius: 3px 3px 0 0;
}
.wave-item--calm .wave-item__bar { background: #81c784; }
.wave-item--gentle .wave-item__bar { background: #64b5f6; }
.wave-item--moderate .wave-item__bar { background: #ffd54f; }
.wave-item--choppy .wave-item__bar { background: #ff8a65; }
.wave-item--rough .wave-item__bar { background: #e57373; }
.wave-item__height {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}

/* ── Events teaser ── */
.wx-section__link {
    position: relative;
    font-size: 0.88rem;
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}
.wx-section__link::before { content: ''; position: absolute; top: 50%; left: -0.5rem; right: -0.5rem; transform: translateY(-50%); min-height: 44px; }
.wx-section__link:hover { text-decoration: underline; }

.wx-events-teaser__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.wx-events-teaser__item {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
}
.wx-events-teaser__item:first-child { border-top: 1px solid var(--border); }
.wx-events-teaser__item:hover { background-color: var(--surface-hover); }
.wx-events-teaser__time {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--red);
    min-width: 5rem;
    flex-shrink: 0;
}
.wx-events-teaser__title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    flex: 1;
}
.wx-events-teaser__location {
    font-size: 0.82rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wx-events-teaser__more {
    display: inline-block;
    font-size: 0.88rem;
    color: var(--red);
    text-decoration: none;
    padding-top: 0.5rem;
}
.wx-events-teaser__more:hover { text-decoration: underline; }

/* ── Power Outages ── */
.outage-section--active { border-left: 4px solid #e65100; }
.outage-section__summary { font-size: 0.9rem; color: var(--red); font-weight: 600; margin: -0.25rem 0 1rem; }
.outage-list { display: flex; flex-direction: column; gap: 0.75rem; }
.outage-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    box-shadow: var(--card-shadow);
}
.outage-card__header { margin-bottom: 0.5rem; }
.outage-card__area {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}
.outage-card__details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
.outage-card__detail { display: flex; flex-direction: column; gap: 0.1rem; }
.outage-card__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.outage-card__value { font-size: 0.88rem; color: var(--text); }
.outage-section__source { font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; }
.outage-section__source a { color: var(--red); }
.outage-clear { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.outage-clear .wx-section__title { margin-bottom: 0; }
.outage-clear__status { font-size: 0.88rem; color: var(--text-secondary); font-weight: 500; }
.outage-clear__source { font-size: 0.78rem; color: var(--muted); }
.outage-clear__source a { color: var(--red); }

/* ── Ferry Status (tile pattern) ── */
.ferry-routes { display: flex; flex-direction: column; gap: 1rem; }
.ferry-route {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.ferry-route__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--surface-hover);
    border-bottom: 1px solid var(--border);
}
.ferry-route__name {
    font-family: 'Druk Heavy', 'Arial Black', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}
.ferry-route__duration { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.ferry-route__empty { padding: 0.75rem 1rem; font-size: 0.82rem; color: var(--muted); font-style: italic; }
.ferry-route__more { padding: 0.55rem 1rem; font-size: 0.8rem; color: var(--muted); background: var(--surface-hover); border-top: 1px solid var(--border); }
.ferry-sailings { display: flex; flex-direction: column; }
.ferry-sailing { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1rem; border-bottom: 1px solid var(--border); }
.ferry-sailing:last-child { border-bottom: none; }
.ferry-sailing--next { background: var(--surface-hover); }
.ferry-sailing__badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--red); padding: 0.2rem 0.45rem; border-radius: var(--radius-sm); flex-shrink: 0; }
.ferry-sailing__time { font-size: 0.82rem; font-weight: 700; color: var(--text); min-width: 5rem; flex-shrink: 0; }
.ferry-sailing__vessel { font-size: 0.8rem; color: var(--muted); min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ferry-sailing__fill-bar { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; min-width: 100px; }
.ferry-sailing__fill-track { flex: 1; height: 6px; background: var(--border); border-radius: var(--radius-sm); overflow: hidden; min-width: 60px; }
.ferry-sailing__fill-level { height: 100%; border-radius: var(--radius-sm); transition: width 0.3s ease; }
.ferry-sailing__fill-pct { font-size: 0.76rem; font-weight: 700; min-width: 2.5rem; text-align: right; }
.ferry-sailing--full .ferry-sailing__time { color: var(--red); }
.ferry-footer { text-align: center; margin-top: 0.75rem; font-size: 0.82rem; }
.ferry-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--red); text-decoration: none; font-weight: 600; }
.ferry-footer a:hover { text-decoration: underline; }
.wx-section__subtitle { font-size: 0.82rem; color: var(--muted); margin: -0.5rem 0 1rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .wx-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .wx-hero__details { grid-template-columns: repeat(2, 1fr); min-width: 0; }
    .wx-hero__glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .forecast-grid { grid-template-columns: repeat(3, 1fr); }
    .hourly-item { width: 66px; padding: 0.75rem 0.3rem; }
    .hourly-item__icon { font-size: 1.1rem; }
    .beach-details { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .wx-events-teaser__item {
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
    }
    .wx-events-teaser__time { min-width: auto; }
    .wx-events-teaser__location {
        width: 100%;
        padding-left: 0;
    }
    .ferry-route__header { padding: 0.6rem 0.75rem; }
    .ferry-route__name { font-size: 0.93rem; }
    .ferry-sailing { padding: 0.45rem 0.75rem; gap: 0.5rem; }
    .ferry-sailing__time { font-size: 0.93rem; min-width: 4.5rem; }
    .ferry-sailing__vessel { display: none; }
    .ferry-sailing__fill-bar { min-width: 80px; }
    .ferry-sailing__fill-track { min-width: 45px; }
    .ferry-route__more { padding: 0.5rem 0.75rem; }
    .ferry-sailing__badge { font-size: 0.93rem; }
    .ferry-sailing__fill-pct { font-size: 0.93rem; }
    .ferry-route__duration { font-size: 0.93rem; }
    .wx-section__updated { font-size: 0.93rem; }
    .wave-forecast__title { font-size: 0.93rem; }
    .beach-detail__sub { font-size: 0.93rem; }
    .outage-clear__source { font-size: 0.93rem; }
    .tides-summary__type { font-size: 0.93rem; }
    .tides-summary__station { font-size: 0.93rem; }
    .forecast-card__desc { font-size: 0.93rem; }
    .tides-entry { font-size: 0.93rem; }
    .tides-summary__amount { font-size: 0.93rem; }
    .tides-summary__height { font-size: 0.93rem; }
    .wx-alert__desc { font-size: 0.93rem; }
    .sun-strip__label { font-size: 0.93rem; }
    .wx-section__link { font-size: 0.93rem; }
    .wx-events-teaser__time { font-size: 0.93rem; }
    .wx-events-teaser__location { font-size: 0.93rem; }
    .wx-events-teaser__more { font-size: 0.93rem; }
    .outage-card__area { font-size: 0.93rem; }
    .outage-section__source { font-size: 0.93rem; }
    .outage-clear__status { font-size: 0.93rem; }
    .wx-section__subtitle { font-size: 0.93rem; }
    .ferry-route__empty { font-size: 0.93rem; }
    .ferry-route__more { font-size: 0.93rem; }
    .ferry-footer { font-size: 0.93rem; }
    .tides-summary__link { font-size: 0.93rem; }
}

@media (max-width: 480px) {
    .wx-hero { padding: 1.85rem 0 1.55rem; }
    .wx-hero__inner { gap: 1rem; }
    .wx-hero__detail { padding: 0.9rem; }
    .wx-hero__details { width: 100%; }
    .wx-hero__label,
    .wx-hero__live,
    .wx-hero__detail-label { font-size: 0.93rem; }
    .wx-hero__meta,
    .wx-hero__detail-sub,
    .wx-hero__sun-item { font-size: 0.93rem; }
    .wx-hero__sun-label,
    .wx-hero__glance-label { font-size: 0.93rem; }
    .wx-hero__desc { font-size: 1.1rem; }
    .wx-hero__meta-row { gap: 0.45rem 0.75rem; }
    .wx-hero__sun-row { gap: 0.35rem 0.75rem; }
    .wx-hero__glance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        margin-top: 0.95rem;
    }
    .wx-hero__glance-card {
        padding: 0.88rem 0.92rem;
        min-height: 9rem;
    }
    .wx-hero__glance-value { font-size: 1.18rem; }
    .wx-hero__glance-text,
    .wx-hero__glance-cta { font-size: 0.95rem; }
    .forecast-card__day,
    .forecast-card__precip { font-size: 0.93rem; }
    .forecast-grid { grid-template-columns: repeat(2, 1fr); }
    .forecast-card:nth-child(5) { grid-column: 1 / -1; }
    .hourly-scroll { padding: 0 0.2rem 0.65rem; }
    .hourly-item { width: 80px; padding: 0.8rem 0.45rem; }
    .hourly-item__time { font-size: 0.95rem; margin-bottom: 0.35rem; }
    .hourly-item__icon { font-size: 1.15rem; margin-bottom: 0.3rem; }
    .hourly-item__temp { font-size: 1.05rem; }
    .hourly-item__feels,
    .hourly-item__precip { font-size: 0.93rem; }
    .hourly-item--now::before { font-size: 0.625rem; }
    .tides-summary { padding: 1rem; }
    .tides-summary__header { flex-direction: column; gap: 0.25rem; }
    .tides-summary__entries { gap: 0.4rem 0.75rem; }
    .tides-summary__entry { font-size: 0.93rem; }
    .beach-hero__icon { font-size: 2rem; }
    .beach-hero__label { font-size: 1.15rem; }
    .beach-hero__desc { font-size: 0.93rem; }
    .beach-details { grid-template-columns: repeat(2, 1fr); }
    .beach-detail { padding: 1rem 0.75rem; }
    .beach-detail__label { font-size: 0.93rem; }
    .beach-detail__value { font-size: 1.25rem; }
    .wave-item { width: 64px; }
    .wave-item__time,
    .wave-item__height { font-size: 0.93rem; }
}

@media (max-width: 600px) {
    .outage-card__details { grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem; }
    .outage-card__label { font-size: 0.93rem; }
    .outage-card__value { font-size: 0.93rem; }
    .outage-clear { gap: 0.4rem 0.75rem; }
}
