@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --ink: #132422;
  --muted: #66756f;
  --sand: #f0dfbf;
  --paper: #fffaf0;
  --foam: #e6f3ed;
  --blue: #0f5d6d;
  --blue-dark: #093944;
  --orange: #d9672b;
  --green: #2f7d5c;
  --line: rgba(19, 36, 34, 0.14);
  --shadow: 0 24px 70px rgba(10, 35, 34, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", sans-serif;
  background:
    linear-gradient(105deg, rgba(255, 250, 240, 0.94) 0%, rgba(255, 250, 240, 0.82) 38%, rgba(230, 243, 237, 0.82) 68%, rgba(201, 221, 225, 0.88) 100%),
    radial-gradient(circle at 12% 8%, rgba(217, 103, 43, 0.24), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(15, 93, 109, 0.2), transparent 34rem),
    url("/images/obx-atmospheric-background.png"),
    linear-gradient(135deg, #f8edda 0%, #e6f1eb 44%, #c9dde1 100%);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(19, 36, 34, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 36, 34, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to bottom, rgba(255, 250, 240, 0.16), rgba(255, 250, 240, 0.28)),
    radial-gradient(circle at 48% 42%, rgba(255, 250, 240, 0.42), transparent 32rem);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.brand-kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(9, 57, 68, 0.18);
  object-fit: cover;
}

.brand-kicker .eyebrow {
  margin: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 0.95;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.5rem, 9vw, 7.6rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 660px;
  margin: 18px 0 0;
  color: #41504c;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.hero-panel,
.card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  width: min(320px, 100%);
  padding: 18px;
  border-radius: 28px;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(217, 103, 43, 0.15);
}

.status-dot.ok {
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(47, 125, 92, 0.15);
}

.status-dot.stale {
  background: #9b2f1f;
  box-shadow: 0 0 0 8px rgba(155, 47, 31, 0.16);
}

.panel-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 4px;
}

.hero-panel span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.alerts {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.alert {
  padding: 14px 16px;
  border: 1px solid rgba(217, 103, 43, 0.32);
  border-radius: 18px;
  background: rgba(255, 244, 226, 0.88);
  color: #7c371d;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 20px;
}

.priority-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  margin-bottom: 20px;
}

.secondary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-grid {
  margin-bottom: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 34px;
}

.card::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  content: "";
  background: rgba(15, 93, 109, 0.1);
}

.ocean-card {
  color: #eefbf7;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.source-link {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.72;
  text-decoration: none;
  text-transform: uppercase;
}

.metric-row,
.surf-split,
.weather-current {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-top: 28px;
}

.metric-value {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.metric-unit {
  display: inline-block;
  margin-left: 6px;
  color: var(--muted);
  font-weight: 800;
}

.ocean-card .metric-unit,
.ocean-card .eyebrow,
.ocean-card p {
  color: rgba(238, 251, 247, 0.76);
}

.surf-split {
  align-items: start;
}

.surf-split > div:last-child {
  text-align: right;
}

.surf-split p,
.weather-current p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.trend-pill,
.wind-badge {
  border-radius: 999px;
  font-weight: 800;
}

.trend-pill {
  padding: 12px 16px;
  color: #0d513a;
  background: rgba(47, 125, 92, 0.12);
}

.trend-pill.down {
  color: #89401e;
  background: rgba(217, 103, 43, 0.14);
}

.chart-wrap {
  position: relative;
  z-index: 1;
  height: 190px;
  margin: 28px 0 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.34);
}

.chart-wrap.compact {
  height: 150px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.chart-controls {
  position: relative;
  z-index: 1;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(44px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
}

.chart-controls button {
  min-width: 44px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
}

.chart-controls button[aria-pressed="true"] {
  color: #f7fbf8;
  background: var(--blue-dark);
  box-shadow: 0 8px 16px rgba(9, 57, 68, 0.16);
}

.chart-controls.light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.chart-controls.light button {
  color: rgba(238, 251, 247, 0.72);
}

.chart-controls.light button[aria-pressed="true"] {
  color: #093944;
  background: #bfe8df;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
}

.has-chart-cursor {
  cursor: crosshair;
}

.chart-hit-area {
  pointer-events: all;
}

.chart-cursor {
  transition: opacity 120ms ease;
}

.chart-cursor-line,
.chart-cursor-dot {
  vector-effect: non-scaling-stroke;
}

.chart-cursor-line {
  stroke-width: 2;
  stroke-dasharray: 5 5;
  opacity: 0.82;
}

.chart-cursor-dot {
  stroke: rgba(255, 250, 240, 0.9);
  stroke-width: 3;
}

.chart-cursor-bg {
  filter: drop-shadow(0 8px 16px rgba(9, 57, 68, 0.18));
}

.chart-cursor-value,
.chart-cursor-time {
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-weight: 900;
  pointer-events: none;
}

.chart-cursor-value {
  font-size: 0.72rem;
}

.chart-cursor-time {
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.82;
}

.chart-grid-line {
  vector-effect: non-scaling-stroke;
  stroke-width: 1;
}

.chart-grid-line.vertical {
  stroke-dasharray: 4 8;
}

.chart-label {
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  pointer-events: none;
  text-transform: uppercase;
}

.chart-x-label {
  font-size: 0.62rem;
}

.stat-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}

.stat-list div {
  padding-top: 14px;
  border-top: 1px solid currentColor;
  opacity: 0.82;
}

dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 6px 0 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.ocean-card dt,
.ocean-card dd {
  color: rgba(238, 251, 247, 0.84);
}

.weather-current {
  align-items: center;
}

.tide-current {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-top: 28px;
}

.weather-current .metric-value {
  font-size: clamp(4.2rem, 8vw, 6.4rem);
}

.tide-current .metric-value {
  font-size: clamp(4rem, 7vw, 6rem);
}

.tide-current p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.wind-badge {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  color: var(--paper);
  background: var(--orange);
  text-align: center;
  transform: rotate(4deg);
}

.wind-badge span {
  font-size: 1.08rem;
}

.wind-badge small {
  opacity: 0.76;
  text-transform: uppercase;
}

.note {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.source-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.34);
  line-height: 1.5;
}

.condition-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.condition-strip div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
}

.condition-strip.light div {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.condition-strip span,
.condition-strip strong {
  display: block;
}

.condition-strip span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-strip.light span,
.condition-strip.light strong {
  color: rgba(238, 251, 247, 0.82);
}

.condition-strip strong {
  margin-top: 5px;
  font-size: 0.85rem;
  line-height: 1.25;
}

.forecast-panel {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.mini-heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mini-heading .eyebrow {
  margin: 0;
  font-size: 0.66rem;
}

.forecast-controls {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(64px, 1fr));
  gap: 4px;
  margin-bottom: 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
}

.forecast-controls button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
}

.forecast-controls button[aria-pressed="true"] {
  color: #f7fbf8;
  background: var(--blue-dark);
  box-shadow: 0 8px 16px rgba(9, 57, 68, 0.16);
}

.forecast-list {
  display: grid;
  gap: 8px;
}

.forecast-item {
  display: grid;
  grid-template-columns: 54px 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
}

.forecast-item.daily {
  grid-template-columns: 78px 48px minmax(0, 1fr);
}

.forecast-item strong,
.forecast-item span,
.forecast-item small {
  display: block;
  min-width: 0;
}

.forecast-item strong,
.forecast-item span {
  font-weight: 900;
}

.forecast-item strong {
  color: var(--blue-dark);
  font-size: 0.82rem;
}

.forecast-item span {
  font-size: 0.86rem;
}

.forecast-item small {
  grid-column: 3;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.forecast-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.tide-chart-wrap {
  position: relative;
  z-index: 1;
  height: 170px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(230, 243, 237, 0.52), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.34);
  overflow: hidden;
}

.tide-chart-marker,
.tide-chart-now {
  vector-effect: non-scaling-stroke;
}

.tide-chart-marker {
  stroke: rgba(19, 36, 34, 0.13);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.tide-chart-dot {
  stroke: rgba(255, 250, 240, 0.95);
  stroke-width: 3;
}

.tide-chart-dot.high {
  fill: var(--blue);
}

.tide-chart-dot.low {
  fill: var(--orange);
}

.tide-chart-label,
.tide-chart-time,
.tide-chart-now-label {
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-weight: 900;
  pointer-events: none;
}

.tide-chart-label {
  fill: var(--blue-dark);
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

.tide-chart-time {
  fill: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tide-chart-now {
  stroke: var(--orange);
  stroke-width: 2;
}

.tide-chart-now-label {
  fill: #89401e;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tide-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.tide-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
}

.tide-item strong,
.tide-item span {
  display: block;
}

.tide-item strong {
  color: var(--blue-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.tide-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.map-card {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.88), rgba(230, 243, 237, 0.82)),
    rgba(255, 250, 240, 0.78);
}

.map-intro {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 14px 0 24px;
  color: #41504c;
  line-height: 1.55;
}

.buoy-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
  align-items: stretch;
}

.buoy-map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(204, 231, 229, 0.9), rgba(15, 93, 109, 0.72)),
    #7fb5b8;
  box-shadow: inset 0 0 0 1px rgba(19, 36, 34, 0.08);
}

.buoy-map .leaflet-container {
  font-family: "Manrope", "Avenir Next", sans-serif;
}

.buoy-map .leaflet-control-zoom a {
  color: var(--ink);
}

.buoy-map .leaflet-control-attribution {
  border-top-left-radius: 10px;
  background: rgba(255, 250, 240, 0.8);
  font-size: 0.68rem;
}

.leaflet-div-icon {
  border: 0;
  background: transparent;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--paper);
}

.leaflet-popup-content {
  margin: 14px 16px;
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", sans-serif;
}

.leaflet-popup-content strong {
  display: block;
  margin-bottom: 6px;
}

.leaflet-popup-content span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}

.buoy-marker {
  display: grid;
  gap: 4px;
  min-width: 92px;
  padding: 8px 10px;
  border: 2px solid rgba(255, 250, 240, 0.9);
  border-radius: 16px;
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(9, 57, 68, 0.24);
}

.buoy-marker::after {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  content: "";
  background: inherit;
  transform: translateX(-50%);
}

.buoy-marker.stale {
  opacity: 0.58;
  filter: saturate(0.65);
}

.buoy-marker.selected {
  border-color: var(--paper);
  box-shadow:
    0 0 0 5px rgba(255, 250, 240, 0.46),
    0 18px 38px rgba(9, 57, 68, 0.32);
  transform: translateY(-4px) scale(1.04);
}

.buoy-marker strong {
  font-size: 1.05rem;
  line-height: 1;
}

.buoy-marker span {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.line-marker {
  padding: 7px 10px;
  border: 1px solid rgba(124, 55, 29, 0.22);
  border-radius: 999px;
  color: #7c371d;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 12px 28px rgba(124, 55, 29, 0.12);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-fallback {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 24px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(15, 93, 109, 0.84), rgba(9, 57, 68, 0.9));
  text-align: center;
}

.map-fallback strong {
  display: block;
  margin-bottom: 8px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.buoy-panel {
  display: grid;
  gap: 16px;
}

.buoy-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.buoy-summary div,
.buoy-list-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.buoy-summary div {
  padding: 16px;
}

.buoy-summary span {
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2.4rem;
  line-height: 0.92;
}

.buoy-summary small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.buoy-list {
  display: grid;
  gap: 10px;
  max-height: 362px;
  overflow: auto;
  padding-right: 4px;
}

.buoy-list-item {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.buoy-list-item:hover,
.buoy-list-item:focus-visible {
  border-color: rgba(15, 93, 109, 0.34);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(9, 57, 68, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.buoy-list-item.selected {
  border-color: rgba(217, 103, 43, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.88), rgba(230, 243, 237, 0.76)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 4px 0 0 var(--orange),
    0 14px 30px rgba(9, 57, 68, 0.13);
}

.buoy-list-item strong,
.buoy-list-item span,
.buoy-list-item small {
  display: block;
}

.buoy-list-item strong {
  font-size: 0.92rem;
}

.buoy-list-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.buoy-temp {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

@media (max-width: 900px) {
  .hero,
  .priority-grid,
  .secondary-grid,
  .buoy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: stretch;
  }

  .hero-panel {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding: 24px 0;
  }

  .card-top,
  .metric-row,
  .surf-split,
  .weather-current,
  .tide-current {
    display: grid;
  }

  .source-link {
    justify-self: start;
  }

  .surf-split > div:last-child {
    text-align: left;
  }

  .stat-list {
    grid-template-columns: 1fr;
  }

  .condition-strip,
  .forecast-item {
    grid-template-columns: 1fr;
  }

  .forecast-item small {
    grid-column: auto;
  }

  .wind-badge {
    width: 108px;
    height: 108px;
  }

  .buoy-map {
    min-height: 380px;
  }

  .buoy-marker {
    min-width: 78px;
    padding: 7px 8px;
  }

  .buoy-summary {
    grid-template-columns: 1fr;
  }
}
