:root {
  --navy: #052044;
  --ink: #102c48;
  --cream: #f3ecdf;
  --orange: #f99a29;
  --muted: #52677a;
  --line: #dce3e8;
}
* {
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
body {
  background: #f7f7f3;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
.masthead {
  background: var(--navy) !important;
  color: var(--cream) !important;
  border-bottom: 4px solid var(--orange);
}
.masthead .brand,
.masthead .tagline,
.masthead .wordmark {
  color: var(--cream) !important;
}
.brand-art {
  position: relative;
  display: block;
  overflow: hidden;
  width: 90px;
  height: 102px;
  flex: 0 0 90px;
}
.brand-art img {
  position: absolute;
  width: 380px !important;
  max-width: none !important;
  height: auto;
  left: -56px;
  top: -23px;
}
.weather-app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 36px;
}
.local-radar {max-width:1200px;margin:0 auto;padding:24px 24px 8px;scroll-margin-top:12px}
.local-radar-card {background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.local-radar-heading {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px}
.local-radar-heading .eyebrow {margin-bottom:6px}
.local-radar-heading h2 {margin:0;color:var(--navy);font-size:26px;line-height:1.15;letter-spacing:-.6px}
.local-radar-heading p:last-child {margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.radar-forecast-link {padding:12px 14px;border:1px solid #bbc9d3;border-radius:7px;white-space:nowrap;text-decoration:none;font-weight:700;font-size:12px;color:var(--navy)}
#windy-radar {display:block;width:100%;height:clamp(400px,43vw,520px);border:0;background:#dce4e9}
.local-radar-footer {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px}
.local-radar-footer p {margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.local-radar-footer a {display:inline-flex;align-items:center;min-height:40px;font-weight:700;white-space:nowrap;font-size:12px;color:var(--navy)}
.local-radar a:focus-visible {outline:3px solid #bd6309;outline-offset:3px}
@media(max-width:600px){
 .local-radar {padding:14px 12px 2px}
 .local-radar-heading {padding:15px 13px;align-items:flex-start;gap:12px}
 .local-radar-heading h2 {font-size:22px}
 .local-radar-heading p:last-child {font-size:11px}
 .radar-forecast-link {padding:10px 9px;font-size:11px;white-space:normal;text-align:center;min-width:78px}
 #windy-radar {height:420px}
 .local-radar-footer {align-items:flex-start;gap:8px;padding:9px 13px}
 .local-radar-footer p {font-size:10px}
 .local-radar-footer a {font-size:11px}
}
.weather-app h2 { scroll-margin-top: 24px; }
.weather-jumps {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.weather-jumps a {padding:11px 18px;border:1px solid #bbc9d3;border-radius:24px;text-decoration:none;color:var(--navy);font-size:13px;font-weight:700;background:white}
.weather-jumps a:hover {background:var(--cream);border-color:#ab5b0a}
.weather-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.weather-summary article {display:flex;flex-direction:column;gap:9px;padding:22px;border:1px solid var(--line);border-radius:12px;background:white;font-size:14px}
.weather-summary article:first-child {background:var(--navy);color:var(--cream);border-top:3px solid var(--orange)}
.weather-summary small {font-size:11px;color:var(--muted);line-height:1.5}
.weather-summary article:first-child small {color:#c5d0de}
.summary-label {font-size:11px;font-weight:700;letter-spacing:.35px}
.summary-value {display:flex;align-items:center;gap:12px}
.summary-value strong,.summary-number {font-size:40px;letter-spacing:-1px;line-height:1.1}
.summary-sunset {font-size:24px;line-height:1.7}
.weather-summary .weather-icon {color:var(--orange);width:36px;height:36px}
.weather-summary a {font-weight:700;font-size:12px}
.forecast-controls {display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:10px;font-size:11px;color:var(--muted)}
.forecast-controls button,#weather-status button {background:white;border:1px solid #aab9c5;border-radius:7px;min-height:40px;padding:7px 13px;color:var(--navy);font:inherit;font-weight:700;cursor:pointer}
.period[aria-pressed="true"] {box-shadow:inset 0 -3px 0 #b56413;background:#faf3e6}
.photo-day[aria-pressed="true"] {border:2px solid #ffc06d;background:#244765}
.light-times {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.light-times>div {border:1px solid #506880;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:7px;font-size:12px}
.light-times span {color:#c5d0de;font-size:11px}
.planner-cta {display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #506880;margin-top:20px;padding-top:22px}
.planner-cta p {margin:5px 0;color:#c5d0de;font-size:12px}
.planner-cta a {background:var(--cream);color:var(--navy)!important;padding:14px 18px;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none}
.weather-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #53657b;
}
.weather-app h1 {
  font-size: clamp(28px, 4vw, 49px);
  line-height: 1.08;
  letter-spacing: -1.7px;
  margin: 0 0 14px;
}
.weather-app h1 span {
  color: #9b4d05;
}
.weather-app h2 {
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin: 0;
}
.weather-app h3 {
  font-size: 19px;
}
.weather-app p {
  line-height: 1.6;
}
.location-chip {
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
  white-space: nowrap;
}
.location-chip span {
  color: var(--muted);
}
#weather-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  background: #eaf0f3;
  border: 1px solid #d5dfe4;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 18px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a45300;
}
.forecast-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  min-width: 0;
  box-shadow: 0 6px 20px #05204404;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.hint,
.method-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.hint {
  margin: 10px 0 16px;
}
.detail-toggle {
  border: 1px solid #aab9c5;
  border-radius: 7px;
  padding: 10px 14px;
  background: white;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
  cursor: pointer;
}
.weather-app button:focus-visible,
.weather-app summary:focus-visible,
.forecast-scroll:focus-visible {
  outline: 3px solid #bd6309;
  outline-offset: 3px;
}
.forecast-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #9baec0 #edf1f4;
  padding-bottom: 10px;
}
.forecast-matrix {
  --cell: 85px;
  width: calc(var(--periods) * var(--cell));
  min-width: 100%;
}
.forecast-matrix.daily {
  --cell: 115px;
}
.provider-label {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  background: #edf1f5;
  border-block: 1px solid #e0e5e9;
  padding: 8px 0;
  position: relative;
}
.provider-label > span {
  position: sticky;
  left: 8px;
}
.average-label {
  background: var(--navy);
  color: white;
}
.period-row {
  display: flex;
}
.period {
  font-family: inherit;
  flex: 0 0 var(--cell);
  width: var(--cell);
  border: 0;
  border-right: 1px solid #edf0f3;
  border-radius: 0;
  background: white;
  color: var(--navy);
  padding: 12px 3px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.period:hover {
  background: #f4f7fa;
}
.period.average {
  background: #f5f0e7;
}
.period-time {
  font-size: 10px;
  line-height: 1.45;
  min-height: 29px;
}
.weather-icon {
  width: 27px;
  height: 29px;
  vertical-align: middle;
  line-height: 1.2;
  color: #885100;
  display: inline-block;
}
.temperature {
  font-size: 26px;
  letter-spacing: -1px;
}
.period small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.3;
}
.rain-chance {
  font-size: 14px;
  font-weight: 700;
  color: #145d86;
}
.precip,
.low {
  font-size: 11px;
}
.missing {
  font-size: 10px;
  color: #5a6774;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.comparison-detail {
  padding: 15px 0 0;
}
.agreement {
  font-size: 12px;
  font-weight: 700;
}
.detail-table-scroll {
  overflow: auto;
  max-width: 100%;
}
.comparison-detail table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
.comparison-detail th,
.comparison-detail td {
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.comparison-detail small {
  display: block;
  color: var(--muted);
}
.method-note {
  margin: 18px 0;
}
.photo-planner {
  margin: 32px 0;
  background: var(--navy);
  color: var(--cream);
  border-radius: 18px;
  padding: 30px;
}
.photo-planner .eyebrow {
  color: #ffc06d;
}
.photo-planner .method-note,
.photo-planner .hint {
  color: #c5d0de;
}
.photo-planner .section-heading > div > p:last-child {
  font-size: 14px;
  color: #d3dce5;
  max-width: 650px;
}
.photo-badge {
  font-size: 65px;
  color: var(--orange);
}
.direction {
  border: 1px solid #48617e;
  border-radius: 10px;
  padding: 16px;
  margin: 22px 0;
}
.direction legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 7px;
}
.direction p {
  font-size: 12px;
  margin: 2px 0 12px;
  color: #d3dce5;
}
#directions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.direction button {
  background: #163555;
  border: 1px solid #60738b;
  color: white;
  border-radius: 6px;
  min-height: 42px;
  min-width: 45px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}
.direction button[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}
.photo-windows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.photo-card {
  padding: 20px;
  border: 1px solid #506880;
  border-radius: 12px;
  background: #102f50;
}
.photo-card:first-child {
  border-top: 4px solid var(--orange);
}
.photo-card h3 {
  margin: 8px 0;
}
.window-time {
  font-size: 14px;
}
.score {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -2px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.score span {
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 1.7;
  font-weight: 400;
}
.photo-card .weather-icon {
  color: var(--orange);
}
.photo-card dl {
  font-size: 12px;
}
.photo-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #36506a;
  padding: 9px 0;
}
.photo-card dt {
  color: #c6d3df;
}
.photo-card dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}
.photo-card details {
  font-size: 12px;
  margin-top: 20px;
}
.weather-app summary {
  cursor: pointer;
  min-height: 32px;
}
.sky-tag {
  display: inline-block;
  padding: 4px 8px;
  background: #244e70;
  border-radius: 4px;
  font-size: 11px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 25px;
  border: 1px dashed #8293a6;
  border-radius: 10px;
  font-size: 14px;
}
.photo-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.photo-day {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #536b86;
  background: #173655;
  color: var(--cream);
  border-radius: 8px;
  padding: 14px 8px;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}
.photo-day > strong {
  font-size: 12px;
}
.day-score {
  font-size: 28px;
  font-weight: 800;
}
.photo-day small {
  font-size: 10px;
  color: #c5d3e1;
}
.photo-detail {
  font-size: 12px;
  padding: 12px 0;
}
.rainfall {
  padding: 22px 0;
}
.rainfall > .section-heading a {
  font-size: 12px;
}
.rainfall > p {
  font-size: 13px;
}
.rain-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.rain-totals > div {
  border: 1px solid var(--line);
  padding: 22px 16px;
  border-radius: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rain-totals strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.rain-totals small {
  font-size: 10px;
}
.weather-methods {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.7;
}
.weather-methods summary {
  font-weight: 700;
  font-size: 13px;
}
.weather-app a {
  color: #145d86;
  text-underline-offset: 3px;
}
.weather-app p:empty {
  display: none;
}
@media (max-width: 700px) {
  .weather-app {
    padding: 25px 12px;
  }
  .weather-intro {
    display: block;
  }
  .location-chip {
    text-align: left;
    margin-top: 15px;
  }
  .forecast-section {
    padding: 16px 8px;
    border-radius: 12px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .forecast-section .section-heading {
    padding: 0 6px;
  }
  .detail-toggle {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 36px;
  }
  .forecast-matrix {
    --cell: 52px;
  }
  .forecast-matrix.daily {
    --cell: 88px;
  }
  .temperature {
    font-size: 22px;
  }
.period-time {
    font-size: 9px;
  }
  .rain-chance {
    font-size: 12px;
  }
  .precip {
    font-size: 10px;
  }
  .period {
    gap: 6px;
    padding-top: 9px;
  }
  .forecast-section > .hint {
    padding: 0 6px;
    font-size: 11px;
  }
  .photo-planner {
    padding: 22px 14px;
    border-radius: 12px;
  }
  .photo-badge {
    display: none;
  }
  .photo-windows {
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    padding-bottom:12px;
  }
  .photo-card {
    flex:0 0 min(290px,92%);
    scroll-snap-align:start;
    padding:18px;
  }
  .photo-days {
    display:flex;
    overflow-x:auto;
    padding-bottom:12px;
  }
  .photo-day {
    flex:0 0 145px;
    min-height: 145px;
  }
  .rain-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rain-totals strong {
    font-size: 17px;
  }
  .direction {
    padding: 12px 9px;
  }
  .direction button {
    min-width: 44px;
    padding: 8px 10px;
  }
  .brand-art {
    width: 65px;
    height: 77px;
    flex-basis: 65px;
  }
  .brand-art img {
    width: 280px !important;
    left: -42px;
    top: -17px;
  }
  .masthead .wordmark {
    font-size: 24px;
  }
  .weather-app h1 {
    letter-spacing: -1px;
  }
  .weather-app h2 {
    font-size: 23px;
  }
  .weather-summary {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .weather-summary article {padding:15px;gap:8px;font-size:13px}
  .weather-summary article:last-child {grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}
  .weather-summary article:last-child>span:nth-of-type(2) {display:none}
  .summary-sunset {font-size:20px;grid-column:2;grid-row:1/3;text-align:right}
  .summary-value strong,.summary-number {font-size:34px}
  .weather-jumps {gap:6px}
  .weather-jumps a {flex:1;text-align:center;white-space:nowrap;padding:12px 8px;font-size:11px}
  .light-times {grid-template-columns:1fr}
  .planner-cta {align-items:flex-start;flex-direction:column}
  .period-time {font-size:11px}
  .period small,.missing {font-size:9px}
  .forecast-controls>span {font-size:10px}
  .photo-planner .score {font-size:48px}
  .location-chip {font-size:11px;margin-top:8px}
  .weather-intro {margin-bottom:16px}
}
.masthead .wordmark small,
.masthead .wordmark em {
  color: var(--cream) !important;
}
.quicklinks .social {
  background: var(--navy) !important;
  color: var(--cream) !important;
  border: 1px solid #294363 !important;
  box-shadow: 0 3px 0 var(--orange) !important;
  border-radius: 12px !important;
}
.nav .adlink {
  background: var(--cream) !important;
  color: var(--navy) !important;
}
.period-date {
  font-size: 8px;
  color: var(--muted);
}
.photo-windows {
  margin-bottom: 26px;
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior:auto!important}
  *,*::before,*::after {animation:none!important;transition:none!important}
}
/* Overview and full comparisons share one forecast source. */
.weather-app[data-view="summary"] > .rainfall {margin:0 0 22px;padding:22px 24px;background:white;border:1px solid var(--line);border-top:3px solid var(--orange);border-radius:12px}
.weather-app[data-view="summary"] > .rainfall h2 {font-size:24px}
.weather-app[data-view="summary"] > .rainfall > p {font-size:12px}
.weather-app[data-view="summary"] .period {text-decoration:none}
.period .rain-chance {min-height:18px}
.period .value-source {min-height:13px;font-size:9px}
.weather-app a:focus-visible {outline:3px solid #bd6309;outline-offset:3px}
a.detail-toggle {text-decoration:none;display:inline-flex;align-items:center;min-height:44px;font-size:12px}
.back-to-weather {display:inline-block;font-weight:700;margin-bottom:24px}
.comparison-detail {scroll-margin-top:16px}
@media(max-width:600px){
 .weather-app[data-view="summary"] > .rainfall {padding:17px 14px}
 .weather-app[data-view="summary"] > .rainfall h2 {font-size:21px}
 .weather-app[data-view="summary"] .forecast-matrix {--cell:76px}
 .weather-app[data-view="summary"] .forecast-matrix.daily {--cell:99px}
 .weather-app[data-view="summary"] .period .value-source {font-size:9px}
 .weather-app[data-view="summary"] .period .rain-chance {min-height:32px}
 .nav {flex-wrap:wrap}
}
