:root {
  color-scheme: light;
  --paper: #f2f7ff;
  --surface: #fff;
  --ink: #0b2854;
  --muted: #425b79;
  --line: #cbdcf0;
  --accent: #005fb9;
  --on-accent: #fff;
  --selection: #e1efff;
  --rain: #006888;
  --sun: #ffc42a;
  --hero-bg: #dcecff;
  --hero-ink: #0b2854;
  --hero-muted: #345575;
  --hero-panel: #f6faff;
  --hero-rule: #bad3ef;
  --photo-opacity: .42;
  --photo-filter: saturate(.75);
  --panel-radius: 16px;
  --control-radius: 8px;
  --reading: var(--interface);
}

.header-inner { gap: 16px 24px }

.units { border-radius: calc(var(--control-radius) + 2px); background: var(--paper) }

.card, .hero, .article-card { border-radius: var(--panel-radius) }
.search-form, .trend, .alert-bar { border-radius: calc(var(--control-radius) + 4px) }
.units button, .save-place, .subtle, .primary, .locate, .activities button, .hour, .section-nav a { border-radius: var(--control-radius) }
.hero { color: var(--hero-ink); background: var(--hero-bg); border: 1px solid var(--hero-rule) }
.hero::before {
  background: url("/forecast-coast-large.jpg") center 55% / cover;
  mask-image: linear-gradient(90deg, transparent, #000 54%);
  opacity: var(--photo-opacity);
  filter: var(--photo-filter);
}
.hero-main { border-inline-start: 3px solid var(--sun); padding-inline-start: 16px }
.hero-side, .hero-side dl div { background: var(--hero-panel) }
.hero-side { border: 1px solid var(--hero-rule); border-radius: max(4px, calc(var(--panel-radius) - 4px)) }
.hero-side dl { background: var(--hero-rule) }
.eyebrow, .hero-label, #weather-time, .hero-side dt { color: var(--hero-muted) }
.hero-temp { font-family: var(--reading); letter-spacing: -.055em }
.hero-side dd { font-family: var(--reading) }
.hour strong { font-family: var(--reading) }
.chance { color: var(--rain) }
.alert-bar.has-alert { background: #fff0db; color: #382514; color-scheme: light }
.has-alert p { color: #60452c }
.has-alert a { color: #793b11 }
.has-alert :focus-visible { outline-color: #793b11 }

.article-page h1 { font-family: var(--editorial); font-weight: 400 }

@media (max-width: 900px) {
  .header-inner { gap: 8px 12px }
  .header-inner nav { gap: 16px }
}
@media (max-width: 700px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding-block: 8px;
  }
  .header-inner .units { grid-area: 1 / 2; justify-self: end; margin: 0 }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; width: auto; margin: 0; flex-wrap: wrap; gap: 4px 12px }
  .header-inner nav a { display: inline-flex; align-items: center; min-height: 24px; font-size: .8125rem }
}
@media (max-width: 530px) {
  .hero-main { padding-inline-start: 12px }
  .hero::before { inset: 0 0 0 32%; background-image: url("/forecast-coast-small.jpg") }
}
