:root {
  --ink: #173144;
  --ink-soft: #315365;
  --muted: #6b7c84;
  --brand: #0b7773;
  --brand-dark: #075b5a;
  --paper: #f7f8f5;
  --line: #e0e8e4;
  --coral: #e58b60;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
}

a {
  color: var(--brand-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #edaa6a;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 1100;
  top: -4rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 20px rgb(23 49 68 / 15%);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  z-index: 1020;
  border-bottom: 1px solid rgb(23 49 68 / 7%);
  background: rgb(250 251 248 / 94%);
  backdrop-filter: blur(14px);
}

.site-header .navbar {
  min-height: 58px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.8rem;
  padding: 0.15rem 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-wordmark,
.footer-brand > span {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.brand-wordmark > span,
.footer-brand small {
  margin-top: 0.25rem;
  color: var(--brand);
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.navbar-nav .nav-link {
  padding: 0.42rem 0.48rem;
  color: #536873;
  font-size: 0.91rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.navbar-nav {
  gap: 0.1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--brand);
}

.nav-contact-link {
  padding: 0.48rem 0.8rem;
  border: 1px solid #d5e4df;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-contact-link:hover {
  border-color: var(--brand);
  background: #edf6f2;
  color: var(--brand-dark);
}

.hero-section {
  overflow: hidden;
  padding: 5.3rem 0 2rem;
  background:
    radial-gradient(ellipse at 83% 18%, rgb(230 196 143 / 23%), transparent 29rem),
    linear-gradient(118deg, #eef6f2 0%, #fafaf5 61%, #f5f0e7 100%);
}

.hero-copy {
  padding-top: 0.5rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow-dot,
.note-dot,
.live-dot,
.map-sample-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #e4955f;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 1rem;
  font-size: clamp(2.65rem, 5.2vw, 4.45rem);
  line-height: 1.07;
}

.hero-copy h1 span {
  color: var(--brand);
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: 1.65rem;
  color: #617680;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-brand,
.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.72rem 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn-brand {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 5px 14px rgb(11 119 115 / 13%);
}

.btn-brand:hover {
  transform: translateY(-1px);
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.btn-outline-brand {
  border: 1px solid #cbdad6;
  background: rgb(255 255 255 / 54%);
  color: var(--ink);
}

.btn-outline-brand:hover {
  background: #fff;
  color: var(--brand-dark);
}

.data-note,
.chart-disclaimer,
.about-data-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.data-note {
  margin: 1.3rem 0 0;
}

.data-note .note-dot,
.chart-disclaimer .note-dot,
.about-data-note .note-dot {
  width: 0.4rem;
  height: 0.4rem;
  background: #d98b5f;
}

.now-card {
  position: relative;
  padding: 1.65rem 1.7rem 1rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 88% 12%, rgb(86 164 152 / 26%), transparent 14rem),
    linear-gradient(145deg, #174a58 0%, #102f40 72%);
  color: #fff;
  box-shadow: 0 22px 50px rgb(27 55 65 / 18%);
}

.now-card-top,
.now-label {
  display: flex;
  align-items: center;
}

.now-card-top {
  justify-content: space-between;
  gap: 0.6rem;
}

.now-label,
.now-location {
  color: #d1e5df;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.now-label {
  gap: 0.45rem;
}

.now-location {
  color: #a9c5c4;
  font-size: 0.58rem;
  text-align: right;
}

.live-dot {
  width: 0.38rem;
  height: 0.38rem;
  background: #e9a162;
  box-shadow: 0 0 0 4px rgb(233 161 98 / 13%);
}

.now-main {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.5rem 0 1.2rem;
}

.condition-symbol {
  display: grid;
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  color: #ffd17a;
  font-size: 3.25rem;
  line-height: 1;
}

.now-temp-block p {
  margin-bottom: 0;
}

.now-condition {
  color: #c8dcd9;
  font-size: 0.9rem;
}

.now-temp {
  color: #fff;
  font-size: 4.4rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.now-temp sup {
  position: relative;
  top: -0.08em;
  font-size: 0.55em;
  font-weight: 500;
}

.now-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1rem 0 0.9rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.now-details div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.now-details span {
  color: #b6ccca;
  font-size: 0.68rem;
}

.now-details strong {
  color: #fff;
  font-size: 0.83rem;
  font-weight: 650;
}

.now-card-note {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 9%);
  color: #d8e6e1;
  font-size: 0.68rem;
}

.now-card-note span {
  color: #a9c5c4;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3.1rem;
  color: #71838a;
  font-size: 0.78rem;
}

.footnote-rule {
  width: 2.2rem;
  height: 1px;
  background: #b3c9c1;
}

.section-block {
  padding: 5.3rem 0;
}

.forecast-section {
  background: #fbfcf9;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.55rem;
}

.section-heading h2,
.about-panel h2,
.contact-banner h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  line-height: 1.15;
}

.section-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.data-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid #d8e6e0;
  border-radius: 999px;
  background: #f1f7f3;
  color: #42716d;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.forecast-card {
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 14px rgb(23 49 68 / 3%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.forecast-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgb(23 49 68 / 8%);
}

.forecast-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.forecast-card-header > div {
  display: flex;
  flex-direction: column;
}

.forecast-day {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.forecast-hint {
  margin-top: 0.2rem;
  color: #87969a;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.forecast-icon {
  font-size: 2rem;
  line-height: 1;
}

.sun-icon {
  color: #e5a450;
}

.cloud-icon {
  color: #7d9ca5;
}

.rain-icon {
  color: #568e9d;
}

.forecast-temps {
  margin-bottom: 0.55rem;
}

.forecast-temps strong {
  color: var(--ink);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.forecast-temps span {
  color: #829197;
  font-size: 1rem;
}

.forecast-card > p:not(.forecast-temps) {
  min-height: 3.25rem;
  margin-bottom: 1.1rem;
  color: #61747d;
  font-size: 0.86rem;
}

.forecast-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid #edf1ef;
  color: #586e77;
  font-size: 0.76rem;
  font-weight: 650;
}

.tag-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.tag-sun {
  background: #e5955f;
}

.tag-cloud {
  background: #54a5a1;
}

.tag-rain {
  background: #7897b5;
}

.chart-card-heading h3 {
  margin-bottom: 0.15rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.chart-card-heading p {
  margin-bottom: 0;
  color: #819097;
  font-size: 0.76rem;
}

.map-page .leaflet-control-zoom a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 22px;
}

.map-page .leaflet-control-attribution {
  font-size: 9px;
}

.map-page .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 1px 5px rgb(23 49 68 / 18%);
}

.weather-crosshair {
  position: absolute;
  z-index: 750;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.weather-crosshair::before,
.weather-crosshair::after {
  position: absolute;
  content: "";
  background: #fff;
  box-shadow: 0 0 2px #132a35, 0 0 5px rgb(0 0 0 / 65%);
}

.weather-crosshair::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.weather-crosshair::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.weather-crosshair > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  border-radius: 50%;
  background: #123543;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 55%);
}

.weather-overlay {
  position: absolute;
  z-index: 1100;
  top: env(safe-area-inset-top, 0px);
  left: 50%;
  width: min(440px, calc(100vw - 1rem));
  padding: 0.45rem 0.65rem 0.5rem;
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / 25%);
  border-top: 0;
  border-radius: 0 0 0.75rem 0.75rem;
  background: rgb(19 43 54 / 92%);
  color: #f7fbfa;
  box-shadow: 0 5px 18px rgb(8 27 35 / 28%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.weather-panel-toggle {
  display: none;
}

.weather-scale-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.weather-scale-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.weather-scale-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.3rem;
  color: #c3d8d8;
  font-size: 0.58rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.weather-scale-toggle {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #8bc6d0;
  cursor: pointer;
}

.weather-scale-label > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-scale-track {
  position: relative;
  min-width: 0;
  height: 7px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: linear-gradient(90deg, #555 0%, #fff 100%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%);
}

.weather-scale-selection {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 13px;
  transform: translateX(-50%);
  border: 1px solid #142b35;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px #fff, 0 1px 3px rgb(0 0 0 / 45%);
  pointer-events: none;
}

.weather-readouts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.75rem;
  margin-top: 0.4rem;
}

.weather-reading {
  color: #f7fbfa;
  font-size: 0.62rem;
  font-weight: 650;
  white-space: nowrap;
}

.map-only-document,
.map-only-document body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.map-only-page {
  height: 100%;
  background: #dce8e7;
  overscroll-behavior: none;
}

.map-only-page .map-fullscreen {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.map-only-page #weatherMap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-home-button {
  position: absolute;
  z-index: 1100;
  top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
  right: calc(env(safe-area-inset-right, 0px) + 0.75rem);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem 0.3rem 0.35rem;
  border: 1px solid rgb(23 49 68 / 12%);
  border-radius: 999px;
  background: rgb(255 255 255 / 95%);
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px rgb(23 49 68 / 18%);
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
}

.map-home-button:hover,
.map-home-button:focus-visible {
  border-color: #9dc2b8;
  background: #fff;
  color: var(--brand-dark);
}

.map-home-button img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.map-home-arrow {
  margin-left: 0.1rem;
  color: var(--brand);
  font-size: 1rem;
}

.map-only-page .leaflet-top {
  top: env(safe-area-inset-top, 0px);
}

.map-only-page .leaflet-left {
  left: env(safe-area-inset-left, 0px);
}

@media (max-width: 640px) {
  .weather-panel-toggle {
    position: absolute;
    z-index: 1102;
    top: calc(env(safe-area-inset-top, 0px) + 0.65rem);
    left: 50%;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    transform: translateX(-50%);
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 999px;
    background: rgb(19 43 54 / 94%);
    color: #f7fbfa;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgb(8 27 35 / 28%);
    -webkit-tap-highlight-color: transparent;
  }

  .weather-panel-toggle:focus-visible {
    outline: 2px solid #ffce82;
    outline-offset: 2px;
  }

  .weather-panel-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  .weather-overlay {
    top: calc(env(safe-area-inset-top, 0px) + 3.5rem);
    bottom: auto;
    display: none;
    max-height: 58vh;
    max-height: min(58dvh, 34rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .weather-overlay.is-open {
    display: block;
  }

  .map-only-page .leaflet-top,
  .map-only-page .map-home-button {
    top: calc(env(safe-area-inset-top, 0px) + 5.25rem);
  }
}

.map-only-page .leaflet-right {
  right: env(safe-area-inset-right, 0px);
}

.map-only-page .leaflet-bottom {
  bottom: env(safe-area-inset-bottom, 0px);
}

.trends-section {
  background: #fbfcf9;
}

.experiments-section {
  background:
    radial-gradient(ellipse at 86% 12%, rgb(226 190 135 / 17%), transparent 26rem),
    linear-gradient(135deg, #eef6f2 0%, #f8f7f1 100%);
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.experiment-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.3rem;
  border: 1px solid #dce8e2;
  border-radius: 1rem;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 6px 20px rgb(23 49 68 / 4%);
}

.experiment-card-top {
  display: flex;
  min-height: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.experiment-index,
.experiment-detail {
  color: #638078;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.experiment-mark {
  display: grid;
  flex: 0 0 auto;
  min-width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  padding: 0 0.45rem;
  border-radius: 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.experiment-mark-a2m {
  background: #eaf2ff;
  color: #315eaa;
}

.experiment-mark-lcref {
  background: #f0ebfb;
  color: #65518c;
  font-size: 0.62rem;
}

.experiment-mark-accum {
  background: #fff1e7;
  color: #a75938;
  font-size: 0.6rem;
}

.experiment-ramp {
  height: 9px;
  margin-bottom: 1.05rem;
  border: 1px solid rgb(23 49 68 / 12%);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%);
}

.experiment-ramp-a2m {
  background: linear-gradient(90deg, #0018ff, #00d8ff, #00fe00, #feea00, #fe0000, #fe10fe);
}

.experiment-ramp-lcref {
  background: linear-gradient(90deg, #a4a4ff, #4080ff, #00b900, #ffe600, #ff0000, #ff00ff, #fff);
}

.experiment-ramp-accum {
  background: linear-gradient(90deg, #0879ff 0%, #00c8e8 22%, #19bb54 44%, #f3d335 65%, #ef623b 82%, #9f37bd 100%);
}

.experiment-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.experiment-card p {
  flex: 1 1 auto;
  margin-bottom: 1.1rem;
  color: #61747d;
  font-size: 0.85rem;
}

.experiment-detail {
  padding-top: 0.75rem;
  border-top: 1px solid #edf1ef;
  color: #778a88;
  font-size: 0.56rem;
}

.experiment-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgb(209 225 217 / 85%);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 58%);
}

.experiment-cta p {
  margin-bottom: 0;
  color: #5d737a;
  font-size: 0.86rem;
}

.experiment-cta .btn {
  flex: 0 0 auto;
}

.chart-card {
  padding: 1.25rem 1.35rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 5px 18px rgb(23 49 68 / 3%);
}

.chart-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.chart-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-weight: 750;
}

.chart-mark-temp {
  background: #fff1e8;
  color: #ce8053;
}

.chart-mark-rain {
  background: #eaf3f3;
  color: #418d8c;
  font-size: 0.83rem;
}

.chart-wrap {
  position: relative;
  height: 272px;
}

.chart-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.74rem;
}

.about-section {
  padding-top: 4.1rem;
  padding-bottom: 4.1rem;
  background: #edf3f1;
}

.about-panel {
  padding: 2rem 0;
}

.about-panel h2 {
  max-width: 23rem;
  margin-bottom: 0;
}

.about-copy {
  margin-bottom: 1rem;
  color: #586f79;
  font-size: 1rem;
}

.about-data-note {
  margin-bottom: 0;
  font-size: 0.76rem;
}

.contact-section {
  padding: 3.2rem 0;
  background: #fbfcf9;
}

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.2rem;
  border: 1px solid #dce9e3;
  border-radius: 1.1rem;
  background: linear-gradient(110deg, #eff7f3, #f8f4eb);
}

.contact-banner .eyebrow {
  margin-bottom: 0.5rem;
}

.contact-banner h2 {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.contact-banner .btn {
  flex: 0 0 auto;
}

.site-footer {
  border-top: 1px solid #e1e9e5;
  background: #f7f8f5;
}

.footer-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand > span {
  font-size: 0.9rem;
}

.footer-brand small {
  font-size: 0.53rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  color: #7b8a8e;
  font-size: 0.72rem;
}

.back-to-top {
  color: #4e6d72;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.back-to-top:hover {
  color: var(--brand);
}

@media (max-width: 991.98px) {
  .site-header .navbar {
    justify-content: space-between;
  }

  .navbar-collapse {
    padding: 0.6rem 0 0.8rem;
  }

  .navbar-nav .nav-link {
    padding: 0.55rem 0;
  }

  .nav-contact-link {
    margin-top: 0.3rem;
  }

  .hero-section {
    padding-top: 4.3rem;
  }

  .now-card {
    max-width: 520px;
  }
}

@media (min-width: 992px) {
  .site-header .navbar {
    justify-content: center;
  }

  .site-header .navbar-collapse {
    flex-grow: 0;
  }
}

@media (max-width: 767.98px) {
  .section-block {
    padding: 3.25rem 0;
  }

  .hero-section {
    padding: 2.7rem 0 1.35rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8.5vw, 3.2rem);
  }

  .hero-lead {
    margin-bottom: 1.2rem;
    font-size: 1rem;
  }

  .hero-footnote {
    margin-top: 1.35rem;
  }

  .section-heading {
    margin-bottom: 1.25rem;
  }

  .experiment-grid {
    grid-template-columns: 1fr;
  }

  .experiment-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .forecast-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    margin: 0 -1rem;
    padding: 0 1rem 0.75rem;
    scroll-padding-left: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #a9c5c0 transparent;
    scrollbar-width: thin;
  }

  .forecast-grid > .forecast-card {
    flex: 0 0 min(82vw, 350px);
    scroll-snap-align: start;
  }

  .forecast-card > p:not(.forecast-temps) {
    min-height: 0;
  }

  .contact-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.6rem;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-meta {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hero-actions .btn {
    min-width: 0;
    min-height: 46px;
    padding: 0.55rem 0.45rem;
    font-size: 0.77rem;
    line-height: 1.25;
  }

  .now-card {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .now-location {
    max-width: 7rem;
    font-size: 0.52rem;
  }

  .condition-symbol {
    width: 64px;
    height: 64px;
    font-size: 2.75rem;
  }

  .now-temp {
    font-size: 3.8rem;
  }

  .now-details span {
    font-size: 0.62rem;
  }

  .now-details strong {
    font-size: 0.74rem;
  }

  .chart-card {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .chart-wrap {
    height: 220px;
  }
}

@media (max-width: 359.98px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
