:root {
  --ink: #10201d;
  --muted: #5e716c;
  --line: #dbe7e2;
  --paper: #f7fbf8;
  --white: #ffffff;
  --blue: #0f5e74;
  --blue-dark: #0a3f51;
  --green: #2d7556;
  --gold: #f3b956;
  --rope: #c99752;
  --rope-dark: #8a5f2e;
  --rope-light: #f5dfad;
  --rope-shadow: #684720;
  --rope-pattern: repeating-linear-gradient(135deg, var(--rope-shadow) 0 5px, var(--rope-dark) 5px 8px, var(--rope) 8px 13px, var(--rope-light) 13px 17px, var(--rope) 17px 22px, var(--rope-shadow) 22px 26px);
  --rope-pattern-horizontal: repeating-linear-gradient(90deg, var(--rope-shadow) 0 6px, var(--rope-dark) 6px 10px, var(--rope) 10px 16px, var(--rope-light) 16px 21px, var(--rope) 21px 27px, var(--rope-shadow) 27px 32px);
  --card-radius: 18px;
  --panel-radius: 22px;
  --sea-foam: #dff3ef;
  --shadow: 0 18px 42px rgba(8, 33, 39, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(232, 245, 255, 0.24), rgba(247, 251, 248, 0.66) 52%, rgba(247, 251, 248, 0.9)),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 82% 6%, rgba(243, 185, 86, 0.08), transparent 22%),
    url("blue-sky-clouds.png") center top / cover no-repeat fixed,
    linear-gradient(180deg, #ccecff 0%, #f7fbf8 100%);
  background-attachment: fixed;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 63, 81, 0.018)),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.1), transparent 52%);
  backdrop-filter: saturate(1.08);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(230, 246, 242, 0.94)),
    var(--paper);
  border-bottom: 4px solid transparent;
  border-image: var(--rope-pattern-horizontal) 5;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(46.5px, 5.25vw, 69px);
  max-width: min(230px, 42vw);
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--blue-dark);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #092f3b;
  background: linear-gradient(180deg, #f8df9a, var(--gold));
  box-shadow: inset 0 0 0 2px rgba(138, 95, 46, 0.28);
}

.social-links-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 7px 18px;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  box-shadow: 0 5px 14px rgba(8, 33, 39, 0.16);
}

.social-links-bar__label {
  font-size: 0.86rem;
  font-weight: 800;
}

.social-links-bar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 12px 5px 7px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.social-link:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.social-link span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 900;
}

.social-link--facebook {
  background: #1877f2;
}

.social-link--instagram {
  background: linear-gradient(135deg, #833ab4, #e1306c, #f77737);
}

.social-link--x {
  background: #111111;
}

.nav-toggle {
  display: none;
  padding: 8px 12px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 27, 34, 0.86), rgba(5, 27, 34, 0.48) 48%, rgba(5, 27, 34, 0.08)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 3px, transparent 3px 22px);
}

.hero__content {
  position: relative;
  max-width: 720px;
  padding: 96px clamp(20px, 6vw, 78px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 5.25vw, 4.275rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__slideshow-image {
  transition: none;
}

.hero-slideshow-controls {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px;
  color: #fff;
  background: rgba(4, 27, 36, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(7px);
}

.hero-slideshow-controls button {
  min-width: 34px;
  min-height: 34px;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hero-slideshow-controls button:hover,
.hero-slideshow-controls button:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.hero-slideshow-status {
  min-width: 76px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slideshow-image {
    transition: none;
  }
}

.hero__title--compact {
  font-size: clamp(1.35rem, 3.9375vw, 3.20625rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.2rem;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.13rem;
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding: 12px 20px;
  border: 3px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow: 0 9px 0 rgba(8, 33, 39, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.button::before {
  color: inherit;
  content: "⚓";
  font-size: 0.95em;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 0 rgba(8, 33, 39, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button--primary {
  color: #10201d;
  background:
    linear-gradient(180deg, #ffe2a2, var(--gold) 64%, #d89b38) padding-box,
    var(--rope-pattern) border-box;
}

.button--light {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(15, 94, 116, 0.55)) padding-box,
    var(--rope-pattern) border-box;
  text-shadow: none;
}

.button--danger {
  color: var(--white);
  background:
    linear-gradient(180deg, #c7463f, #9f342f) padding-box,
    var(--rope-pattern) border-box;
}

.quick-links,
.resource-grid,
.knot-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  width: min(1160px, calc(100% - 36px));
  margin: 42px auto;
}

.feature-card,
.resource-card,
.knot-card,
.callout,
.notice,
.post-form,
.forum-feed {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.96)) padding-box,
    var(--rope-pattern) border-box;
  border: 7px solid transparent;
  border-image: none;
  border-radius: var(--card-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow);
}

.feature-card::after,
.resource-card::after,
.knot-card::after,
.notice::after,
.data-panel::after,
.contact-form::after,
.radar-card::after {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: rgba(10, 63, 81, 0.12);
  content: "⚓";
  font-size: 2.3rem;
  line-height: 1;
  pointer-events: none;
}

.feature-card,
.resource-card {
  display: block;
  min-height: 150px;
  padding: 24px;
  text-decoration: none;
}

.feature-card span,
.resource-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-weight: 800;
}

.feature-card span::before,
.resource-card span::before {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  place-items: center;
  color: var(--blue-dark);
  background: linear-gradient(180deg, #ffe2a2, var(--gold));
  border: 2px solid rgba(138, 95, 46, 0.35);
  border-radius: 50%;
  content: "⚓";
  font-size: 0.82rem;
  vertical-align: middle;
  box-shadow: 0 2px 0 rgba(8, 33, 39, 0.18);
}

.feature-card strong,
.resource-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
}

.feature-card:hover,
.resource-card:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 250, 0.98)) padding-box,
    repeating-linear-gradient(135deg, #684720 0 5px, #a57238 5px 9px, #f0c36c 9px 14px, #fff1c3 14px 18px, #c99752 18px 23px, #684720 23px 27px) border-box;
  transform: translateY(-2px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  width: min(1160px, calc(100% - 36px));
  margin: 72px auto;
  align-items: start;
}

.split-section > div:first-child p:not(.eyebrow),
.page-heading p,
.notice p,
.knot-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.callout,
.notice {
  padding: 24px;
}

.callout ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.page-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-heading h1 {
  color: var(--blue-dark);
  font-size: clamp(1.65rem, 3.75vw, 3.3rem);
}

.page-heading h1::after {
  display: block;
  width: min(320px, 55vw);
  height: 10px;
  margin-top: 18px;
  content: "";
  background: var(--rope-pattern-horizontal);
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(8, 33, 39, 0.14);
}

.map-panel {
  overflow: hidden;
  height: min(66vh, 560px);
  min-height: 360px;
  margin-bottom: 32px;
  background: var(--rope-pattern) border-box;
  border: 7px solid transparent;
  border-image: none;
  border-radius: var(--panel-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow);
}

.map-panel--interactive {
  position: relative;
}

/* Boating safety */
.safety-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border: 7px solid transparent;
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow);
}

.safety-alert__icon {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 3.2rem;
}

.safety-alert h2,
.safety-alert p {
  margin-top: 0;
  color: inherit;
}

.safety-alert .eyebrow {
  color: #ffe09c;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.safety-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

.safety-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  place-items: center;
  background: var(--sea-foam);
  border-radius: 50%;
  font-size: 2rem;
}

.safety-card h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.safety-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.safety-card li + li {
  margin-top: 9px;
}

.safety-checklist {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
  margin: 34px 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.97);
  border: 7px solid transparent;
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow);
}

.safety-checklist h2 {
  margin-top: 0;
  color: var(--blue-dark);
}

.safety-checklist ol {
  margin: 0;
  padding-left: 24px;
}

.safety-checklist li {
  padding: 9px 0 9px 6px;
  border-bottom: 1px solid var(--line);
}

.safety-checklist li:last-child {
  border-bottom: 0;
}

.safety-resources {
  width: 100%;
  margin: 34px 0;
}

@media (max-width: 900px) {
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .safety-alert,
  .safety-checklist,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .safety-alert__icon {
    width: 72px;
    height: 72px;
    font-size: 2.5rem;
  }
}

/* Marine forecast */
.marine-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.65fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.marine-controls label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.marine-controls select,
.marine-controls input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #9bb1b8;
  border-radius: 7px;
  font: inherit;
}

.marine-status {
  min-height: 24px;
  margin: -8px 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.marine-summary {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) 1fr;
  gap: 20px;
  margin-bottom: 24px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-left: 10px solid #315a68;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.marine-summary[data-tone="good"] {
  border-left-color: #24705f;
}

.marine-summary[data-tone="watch"] {
  border-left-color: #708c32;
}

.marine-summary[data-tone="caution"] {
  border-left-color: #d58b20;
}

.marine-summary[data-tone="danger"] {
  border-left-color: #b94a42;
}

.marine-summary h2,
.marine-summary p {
  margin-top: 0;
  color: var(--ink);
}

.marine-summary .eyebrow {
  color: var(--blue-dark);
}

.marine-summary__rating {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.marine-summary__visuals {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
}

.marine-condition-graphic {
  display: grid;
  width: min(100%, 250px);
  min-height: 112px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.95), transparent 25%),
    linear-gradient(180deg, #86d5f4 0 62%, #75b978 62% 100%);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(8, 33, 39, 0.22), inset 0 0 0 1px rgba(10, 63, 81, 0.18);
}

.marine-condition-graphic span {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1;
  filter: drop-shadow(0 3px 2px rgba(8, 33, 39, 0.25));
}

.marine-condition-graphic[data-condition="storm"] {
  background: linear-gradient(180deg, #5d687c 0 58%, #394c63 58% 100%);
}

.marine-condition-graphic[data-condition="wind"] {
  background: linear-gradient(165deg, #acdff2 0 54%, #73a765 54% 100%);
}

.marine-condition-graphic[data-condition="waves"] {
  background: linear-gradient(180deg, #92d2e6 0 42%, #176d94 42% 100%);
}

.marine-condition-graphic[data-condition="fog"] {
  background: linear-gradient(180deg, #dbe4e5, #9caeaf);
}

.marine-condition-graphic[data-condition="rain"],
.marine-condition-graphic[data-condition="mixed"] {
  background: linear-gradient(180deg, #b7d0dc 0 62%, #6ea18b 62% 100%);
}

.marine-risk-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.marine-risk-flags span {
  padding: 6px 10px;
  color: #14333e;
  background: var(--sea-foam);
  border: 1px solid #b6d8d0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.marine-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.marine-metric {
  min-height: 150px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.marine-metric--caution {
  border-top-color: #d28a21;
}

.marine-metric--danger {
  border-top-color: #b94a42;
}

.marine-metric__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.marine-metric .marine-metric__label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marine-metric .marine-metric__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  background: linear-gradient(180deg, #e8f7fb, var(--sea-foam));
  border: 1px solid #b9d8d4;
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(8, 33, 39, 0.12);
}

.marine-metric strong {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.marine-metric p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.marine-metric__meter {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  background: #e3ece9;
  border-radius: 999px;
}

.marine-metric__meter i {
  display: block;
  width: var(--metric-level);
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: inherit;
}

.marine-metric--caution .marine-metric__meter i {
  background: linear-gradient(90deg, #f0bd52, #d27b18);
}

.marine-metric--danger .marine-metric__meter i {
  background: linear-gradient(90deg, #e37a53, #aa3934);
}

.today-hourly-panel {
  margin: 0 0 28px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 94, 116, .2);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(232, 248, 255, .98), rgba(255, 255, 255, .96));
  box-shadow: var(--shadow);
}

.today-hourly-panel .panel-heading { margin-bottom: 16px; }
.today-hourly-panel h2 { margin: 2px 0 0; color: var(--blue-dark); }
.today-hourly-cards {
  display: flex;
  gap: 12px;
  padding: 4px 3px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--blue) #dcebed;
}
.today-hour-card {
  flex: 0 0 142px;
  min-height: 238px;
  padding: 13px;
  scroll-snap-align: start;
  text-align: center;
  border: 1px solid rgba(10, 63, 81, .14);
  border-radius: 14px;
  background: linear-gradient(180deg, #dff3ff, #fff 62%);
  box-shadow: 0 8px 18px rgba(7, 52, 65, .1);
}
.today-hour-card[data-tone="night"] { color: #fff; background: linear-gradient(180deg, #183653, #3e6581 58%, #fff 58%); }
.today-hour-card[data-tone="night"] > strong,
.today-hour-card[data-tone="night"] > p,
.today-hour-card[data-tone="night"] dl { color: var(--ink); }
.today-hour-card[data-tone="night"] > strong { color: #fff; }
.today-hour-card[data-tone="cloudy"],
.today-hour-card[data-tone="fog"] { background: linear-gradient(180deg, #d9e2e5, #fff 62%); }
.today-hour-card[data-tone="rain"],
.today-hour-card[data-tone="storm"] { background: linear-gradient(180deg, #bcd5df, #edf6f8 58%, #fff 58%); }
.today-hour-card.is-current {
  border: 3px solid var(--gold);
  box-shadow: 0 10px 24px rgba(138, 95, 46, .22);
}
.today-hour-card.is-past { opacity: .62; }
.today-hour-card__time {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: var(--blue-dark);
  font-size: .84rem;
  font-weight: 800;
}
.today-hour-card[data-tone="night"] .today-hour-card__time { color: #fff; }
.today-hour-card__time span {
  padding: 2px 6px;
  color: #412d08;
  background: var(--gold);
  border-radius: 999px;
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.today-hour-card__graphic {
  display: grid;
  height: 72px;
  place-items: center;
  font-size: 3rem;
  filter: drop-shadow(0 5px 5px rgba(8, 33, 39, .16));
}
.today-hour-card > strong { display: block; color: var(--blue-dark); font-size: 1.55rem; }
.today-hour-card > p { min-height: 38px; margin: 2px 0 9px; color: var(--muted); font-size: .78rem; font-weight: 700; line-height: 1.25; }
.today-hour-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding-top: 8px; border-top: 1px solid rgba(10, 63, 81, .13); }
.today-hour-card dl div + div { border-left: 1px solid rgba(10, 63, 81, .13); }
.today-hour-card dt { color: var(--muted); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.today-hour-card dd { margin: 1px 0 0; font-size: .75rem; font-weight: 800; }
.today-hourly-loading { margin: auto; padding: 32px; color: var(--muted); }
.today-hourly-scroll-note { margin: 4px 0 0; color: var(--muted); font-size: .78rem; text-align: right; }

.marine-hourly-panel {
  margin-bottom: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.marine-date-label {
  margin-top: -6px;
  color: var(--muted);
  font-weight: 700;
}

.marine-hourly-table {
  min-width: 860px;
}

.marine-resources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .marine-metrics,
  .marine-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .marine-controls,
  .marine-summary {
    grid-template-columns: 1fr;
  }

  .marine-controls .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .marine-metrics,
  .marine-resources {
    grid-template-columns: 1fr;
  }
}

.water-access-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 94, 116, 0.16);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(8, 33, 39, 0.1);
}

.water-access-filters legend {
  padding: 0 8px;
  color: var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 800;
}

.water-access-filters label {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: var(--blue-dark);
  background: #f7fcfa;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.water-access-filters label:has(input:checked) {
  background: #e1f4ef;
  border-color: rgba(15, 94, 116, 0.45);
}

.water-access-filters input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
}

.water-access-filters p {
  flex: 1 0 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.water-access-filters__submit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 0 100%;
  margin-top: 4px;
}

.water-access-filters__submit .button {
  display: inline-flex;
  justify-content: center;
}

#ramp-review-section {
  scroll-margin-top: 120px;
}

.first-coast-map {
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  background: #d8f0ed;
  border-radius: calc(var(--panel-radius) - 8px);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  position: absolute;
  inset: 24px;
  display: grid;
  margin: 0;
  place-items: center;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  border-radius: calc(var(--panel-radius) - 8px);
  font-weight: 800;
  text-align: center;
}

.map-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: -14px 0 34px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.map-key span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 94, 116, 0.12);
  border-radius: 999px;
}

.map-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(8, 33, 39, 0.24);
}

.map-dot--ramp {
  background: var(--blue);
}

.map-dot--private {
  background: #c48612;
}

.map-dot--kayak {
  background: #d57a18;
}

.map-dot--pier {
  background: #7454a6;
}

.map-dot--park {
  background: var(--green);
}

.map-marker {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center;
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(8, 33, 39, 0.28);
  font-size: 0.92rem;
  font-weight: 900;
}

.map-marker--ramp {
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}

.map-marker--private {
  background: linear-gradient(180deg, #e4ad36, #9a6200);
}

.map-marker--kayak {
  background: linear-gradient(180deg, #ee9b32, #a95508);
}

.map-marker--pier {
  background: linear-gradient(180deg, #8d6abb, #513379);
}

.map-marker--park {
  background: linear-gradient(180deg, var(--green), #174d39);
}

.map-marker span {
  line-height: 1;
}

.leaflet-container {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.leaflet-control-layers {
  color: var(--blue-dark);
  border: 3px solid transparent !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.96)) padding-box,
    var(--rope-pattern) border-box !important;
  box-shadow: var(--shadow) !important;
  font-weight: 800;
}

.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
}

.leaflet-popup-content strong,
.leaflet-popup-content span,
.leaflet-popup-content a {
  display: block;
}

.leaflet-popup-content strong {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 1rem;
}

.leaflet-popup-content span {
  color: var(--green);
  font-weight: 800;
}

.leaflet-popup-content .accessibility-badge {
  display: inline-block;
  width: auto;
  margin-top: 8px;
  padding: 5px 8px;
  color: #24434a;
  background: #eef2f3;
  border-radius: 7px;
  font-size: 0.78rem;
  line-height: 1.3;
}

.leaflet-popup-content .accessibility-badge--confirmed {
  color: #123f34;
  background: #d9f2e7;
}

.leaflet-popup-content .accessibility-badge--partial {
  color: #624b0c;
  background: #fff0bd;
}

.map-marker__access {
  position: absolute;
  right: -9px;
  bottom: -7px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: #134d89;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(8, 33, 39, 0.3);
}

.map-access-symbol {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: #134d89;
  border-radius: 50%;
  font-size: 15px;
}

.map-key .accessibility-note {
  flex: 1 0 100%;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.leaflet-popup-content p {
  margin: 8px 0;
  color: var(--muted);
}

.leaflet-popup-content a {
  color: var(--blue);
  font-weight: 800;
}

.radar-card {
  position: relative;
  margin: 0 0 34px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 248, 0.96)) padding-box,
    var(--rope-pattern) border-box;
  border: 7px solid transparent;
  border-image: none;
  border-radius: var(--panel-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow);
}

.radar-frame {
  overflow: hidden;
  width: calc(66% + 33px) !important;
  max-width: 100%;
  aspect-ratio: 16 / 9 !important;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: calc(var(--card-radius) - 4px);
}

.radar-frame iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.notice {
  margin-top: 34px;
}

.knot-list {
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  width: 100%;
  margin: 0;
}

.knot-card {
  padding: 24px;
}

.knot-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1rem;
}

.knot-graphic {
  margin: 20px 0 18px;
  padding: 10px;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(180deg, #eefaf7, #dff3ef) padding-box,
    var(--rope-pattern) border-box;
  border: 5px solid transparent;
  border-image: none;
  border-radius: var(--card-radius);
}

.knot-graphic svg {
  display: block;
  width: 100%;
  height: auto;
}

.knot-graphic text {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.line-main,
.line-second,
.line-accent,
.hook,
.hook-eye,
.wrap-mark {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-main {
  stroke: var(--blue-dark);
  stroke-width: 8;
}

.line-second {
  stroke: var(--green);
  stroke-width: 7;
}

.line-accent,
.wrap-mark {
  stroke: var(--gold);
  stroke-width: 5;
}

.hook,
.hook-eye {
  stroke: #778783;
  stroke-width: 6;
}

.knot-card ol {
  padding-left: 22px;
}

.knot-card li + li {
  margin-top: 8px;
}

.knot-card--animated {
  display: flex;
  flex-direction: column;
}

.knot-card--animated .knot-animation {
  width: 100%;
}

.knot-animation__part,
.knot-animation__label {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.knot-animation__part {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}

.knot-animation__part.is-visible {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: opacity 0.2s ease, stroke-dashoffset 0.8s ease;
}

.knot-animation__label.is-visible {
  opacity: 1;
}

.knot-animation__caption {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 12px 14px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.knot-animation__counter {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.knot-animation__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.knot-animation__button {
  min-width: 110px;
  flex: 1 1 110px;
  cursor: pointer;
}

.knot-steps li {
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.knot-steps li.is-active {
  color: var(--blue-dark);
  background: rgba(243, 185, 86, 0.24);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .knot-animation__part,
  .knot-animation__label,
  .knot-steps li {
    transition: none;
  }
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
}

.post-form,
.forum-feed,
.tide-controls,
.rating-panel,
.data-panel,
.contact-form {
  padding: 24px;
}

.post-form label,
.tide-controls label,
.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.tide-dashboard,
.tide-moon-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.tide-controls,
.rating-panel,
.data-panel,
.contact-form {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.96)) padding-box,
    var(--rope-pattern) border-box;
  border: 7px solid transparent;
  border-image: none;
  border-radius: var(--panel-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.gallery-feed {
  min-width: 0;
}

.gallery-feed h2 {
  color: var(--blue-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.gallery-card,
.empty-state {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.96)) padding-box,
    var(--rope-pattern) border-box;
  border: 7px solid transparent;
  border-image: none;
  border-radius: var(--card-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e4f0ec;
}

.gallery-card div,
.empty-state {
  padding: 18px;
}

.gallery-card h3 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.gallery-card p,
.gallery-card span,
.empty-state p {
  color: var(--muted);
}

.gallery-card span {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.notice--compact {
  margin: 0 0 24px;
}

.admin-login {
  max-width: 460px;
}

.admin-section {
  margin-top: 34px;
}

.admin-count {
  color: var(--muted);
  font-weight: 800;
}

.admin-grid {
  display: grid;
  gap: 18px;
}

.admin-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.96)) padding-box,
    var(--rope-pattern) border-box;
  border: 7px solid transparent;
  border-image: none;
  border-radius: var(--card-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow);
}

.admin-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  background: #e4f0ec;
}

.admin-card__body {
  padding: 20px;
}

.admin-card__body h3 {
  color: var(--blue-dark);
}

.admin-card__body p {
  color: var(--muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.data-panel p,
.form-note {
  color: var(--muted);
}

.contact-details {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-details a {
  color: var(--green);
  font-weight: 800;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.rating-panel {
  display: grid;
  align-content: center;
}

.rating-panel h2 {
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.rating-panel p:not(.eyebrow),
.status-text,
.plain-list {
  color: var(--muted);
}

.species-box {
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #f8fffd, var(--sea-foam));
  border: 2px dashed rgba(138, 95, 46, 0.45);
  border-radius: calc(var(--card-radius) - 4px);
}

.species-box h3 {
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.species-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.fish-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.best-bite-box {
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #fff8df, #ffedb5);
  border: 2px solid rgba(186, 124, 25, 0.38);
  border-radius: calc(var(--card-radius) - 4px);
}

.best-bite-box h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.best-bite-times {
  display: grid;
  gap: 8px;
}

.best-bite-time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 9px 11px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 9px;
}

.best-bite-time span {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.best-bite-time strong {
  font-size: 1rem;
}

.rating-panel .best-bite-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
}

.fish-rating__fish {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  opacity: 0.22;
  background: #e4f0ec;
  border: 2px solid rgba(10, 63, 81, 0.15);
  border-radius: 50%;
  filter: grayscale(1);
  font-size: 1.65rem;
  line-height: 1;
  transform: scale(0.94);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.fish-rating__fish.is-active {
  opacity: 1;
  background: linear-gradient(180deg, #dff8f5, #bfe8df);
  border-color: rgba(17, 107, 83, 0.42);
  filter: none;
  transform: scale(1);
  box-shadow: 0 5px 12px rgba(8, 33, 39, 0.12);
}

.tide-moon-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: start;
}

.tide-chart-panel {
  min-width: 0;
}

.tide-chart-panel .status-text {
  margin: 10px 0 16px;
}

.tide-chart {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(224, 247, 255, 0.9), rgba(244, 252, 250, 0.98)),
    var(--white);
  border: 1px solid rgba(15, 94, 116, 0.18);
  border-radius: 16px;
}

.tide-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
}

.tide-chart__loading {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.tide-chart__grid {
  stroke: rgba(15, 94, 116, 0.18);
  stroke-width: 1;
}

.tide-chart__time-line {
  stroke: rgba(15, 94, 116, 0.1);
  stroke-dasharray: 4 7;
  stroke-width: 1;
}

.tide-chart__sun-marker line {
  stroke-width: 2;
  stroke-dasharray: 7 5;
}

.tide-chart__sun-marker text {
  fill: #4b3c1a;
  font-size: 11px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-linejoin: round;
  stroke-width: 4px;
}

.tide-chart__sun-marker--sunrise line {
  stroke: #e59b16;
}

.tide-chart__sun-marker--sunset line {
  stroke: #b85b3e;
}

.tide-chart__axis-label {
  fill: #536d68;
  font-size: 12px;
  font-weight: 700;
}

.tide-chart__area {
  fill: url("#tide-water-fill");
}

.tide-chart__line {
  fill: none;
  stroke: #0a6079;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  filter: drop-shadow(0 4px 5px rgba(10, 63, 81, 0.18));
}

.tide-chart__marker circle {
  fill: var(--white);
  stroke-width: 4;
}

.tide-chart__marker text {
  fill: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-linejoin: round;
  stroke-width: 4px;
}

.tide-chart__marker--high circle {
  stroke: #0f7894;
}

.tide-chart__marker--low circle {
  stroke: var(--gold);
}

.tide-event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tide-event {
  display: grid;
  gap: 2px;
  padding: 13px 14px;
  background: #f3faf8;
  border: 1px solid var(--line);
  border-left: 5px solid #0f7894;
  border-radius: 12px;
}

.tide-event--low {
  border-left-color: var(--gold);
}

.tide-event__type {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tide-event strong {
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.tide-event > span:last-child {
  color: var(--muted);
  font-weight: 700;
}

.tide-chart-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading a {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--blue-dark);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.moon-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
}

.moon-disc {
  width: 150px;
  height: 150px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(39, 63, 77, 0.86), rgba(8, 20, 29, 0.98) 72%),
    #0b1c26;
  border: 1px solid rgba(205, 230, 236, 0.28);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(8, 28, 38, 0.34), inset 0 0 24px rgba(255, 255, 255, 0.06);
}

.moon-disc svg {
  display: block;
  width: 100%;
  height: 100%;
}

.moon-disc__surface--lit {
  filter: contrast(1.08) brightness(1.03);
}

.moon-disc__glow {
  fill: rgba(225, 242, 238, 0.28);
  filter: url("#moon-glow");
}

.moon-disc__craters circle {
  fill: rgba(78, 83, 81, 0.2);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
}

.moon-disc__rim {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 1.5;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
}

.plain-list li + li {
  margin-top: 8px;
}

.post {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.post:first-child {
  border-top: 0;
}

.post h3 {
  margin-bottom: 4px;
}

.post__meta {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.post p {
  color: var(--muted);
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 10px, transparent 10px 22px),
    linear-gradient(180deg, var(--blue-dark), #062f3b);
  border-top: 6px solid transparent;
  border-image: var(--rope-pattern-horizontal) 6;
}

.site-footer p {
  margin: 0;
}

.site-footer .site-credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.site-footer .site-credits a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.2em;
}

.site-footer .site-credits a:hover,
.site-footer .site-credits a:focus-visible {
  color: var(--gold);
  text-decoration-color: currentColor;
}

/* Regulations fish identification guide */
.fish-id-section {
  margin-top: 2rem;
}

.fish-id-heading {
  max-width: 760px;
  margin-bottom: 1rem;
}

.fish-id-heading h2 {
  margin: 0.25rem 0 0.55rem;
}

.fish-rule-alert {
  display: grid;
  gap: 0.3rem;
  margin: 1rem 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(160, 88, 9, 0.35);
  border-left: 5px solid #d8780b;
  border-radius: 12px;
  background: rgba(255, 248, 224, 0.94);
  color: #3f2a0d;
}

.fish-group-title {
  margin: 1.75rem 0 0.85rem;
  color: #073b4c;
}

.fish-id-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.fish-id-card {
  overflow: hidden;
  border: 1px solid rgba(4, 58, 75, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(3, 47, 61, 0.13);
}

.fish-id-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #d9eef4;
}

.fish-id-card__body {
  padding: 1rem;
}

.fish-id-card__body h4 {
  margin: 0.45rem 0 0.1rem;
  color: #073b4c;
  font-size: 1.25rem;
}

.fish-id-card__body p {
  margin: 0.6rem 0;
}

.fish-habitat {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #d8f1f8;
  color: #07546a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fish-habitat--fresh {
  background: #e2f2dd;
  color: #2a5d29;
}

.fish-habitat--protected {
  background: #ffe0dc;
  color: #8a2219;
}

.fish-id-card--protected {
  border-color: rgba(164, 45, 34, 0.35);
}

.fish-rule-alert--danger {
  border-color: rgba(164, 45, 34, 0.35);
  border-left-color: #a42d22;
  background: rgba(255, 238, 235, 0.96);
  color: #601d17;
}

.fish-scientific {
  color: #48636d;
}

.fish-safety-note {
  padding: 0.6rem 0.7rem;
  border-left: 4px solid #c85b23;
  border-radius: 7px;
  background: #fff1e8;
  color: #642c13;
}

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

.fish-limit-grid div {
  min-width: 0;
  padding: 0.65rem;
  border-radius: 10px;
  background: #edf7fa;
}

.fish-limit-grid dt {
  margin-bottom: 0.2rem;
  color: #07546a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fish-limit-grid dd {
  margin: 0;
  color: #153e49;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.fish-rule-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #075b72;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .fish-limit-grid {
    grid-template-columns: 1fr;
  }
}

.ramp-reviews {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  margin-top: 34px;
  align-items: start;
}

.ramp-review-form-panel,
.ramp-review-feed-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow);
}

.ramp-review-form-panel > p:not(.eyebrow),
.review-status,
.review-empty,
.ramp-review__meta {
  color: var(--muted);
}

.ramp-review-form-panel label,
.review-filter {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-weight: 800;
}

.star-rating {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.star-rating legend {
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-weight: 800;
}

.star-rating__choices {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}

.star-rating__choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.star-rating__choices label {
  margin: 0;
  color: #b9c7c2;
  font-size: 2.15rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating__choices label:hover,
.star-rating__choices label:hover ~ label,
.star-rating__choices input:checked ~ label {
  color: var(--gold);
}

.star-rating__choices input:focus-visible + label {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.star-rating__choices label:hover {
  transform: translateY(-2px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.review-filter {
  min-width: 210px;
  margin: 0;
}

.ramp-rating-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 6px;
}

.rating-summary-card {
  padding: 10px 14px;
  color: var(--blue-dark);
  background: #f1f8f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.rating-stars {
  color: #d99722;
  letter-spacing: 0.04em;
}

.ramp-review {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.ramp-review:first-child {
  border-top: 0;
}

.ramp-review__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.ramp-review h3 {
  margin-bottom: 3px;
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.ramp-review p {
  margin-bottom: 0;
  white-space: pre-wrap;
}

.review-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-weight: 700;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.review-thanks-shell {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding-block: clamp(36px, 7vw, 88px);
}

.review-thanks-card {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 64px);
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 94, 116, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(4, 55, 72, 0.18);
}

.review-thanks-card h1,
.review-thanks-card > p:not(.eyebrow) {
  margin-inline: auto;
}

.review-thanks-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #16845b;
  box-shadow: 0 12px 28px rgba(22, 132, 91, 0.28);
  font-size: 2.5rem;
  font-weight: 800;
}

.review-thanks-countdown {
  margin-block: 24px;
  color: var(--muted);
}

.review-thanks-countdown strong {
  color: var(--blue-dark);
  font-size: 1.18em;
}

.coverage-count {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 14px;
  color: var(--blue-dark) !important;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem !important;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(8, 33, 39, 0.08);
}

.bait-guide {
  margin-top: 28px;
}

.bait-chart-wrap {
  overflow-x: auto;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  scrollbar-color: var(--blue) rgba(255, 255, 255, 0.5);
}

.bait-chart {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  color: var(--ink);
}

.bait-chart th,
.bait-chart td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.bait-chart thead th {
  color: var(--white);
  background: var(--blue-dark);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bait-chart tbody th {
  width: 150px;
  color: var(--blue-dark);
  background: rgba(216, 241, 246, 0.52);
  font-size: 0.98rem;
}

.bait-chart tbody tr:nth-child(even) td {
  background: rgba(237, 248, 250, 0.58);
}

.bait-chart tbody tr:last-child th,
.bait-chart tbody tr:last-child td {
  border-bottom: 0;
}

.chart-scroll-note {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.bait-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.bait-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.rig-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 36px;
}

.rig-jump-links a {
  padding: 9px 14px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(8, 33, 39, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.rig-category {
  scroll-margin-top: 92px;
  margin: 54px 0;
}

.rig-category__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}

.rig-category__heading h2 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.rig-category__heading > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.rig-category__photo {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  background: var(--sea-foam);
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow);
}

.rig-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.rig-card {
  overflow: hidden;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--card-radius);
  box-shadow: 0 9px 24px rgba(8, 33, 39, 0.1);
}

.rig-card__photo {
  display: block;
  width: calc(100% + 44px);
  aspect-ratio: 3 / 2;
  margin: -22px -22px 18px;
  object-fit: cover;
  background: #e7eeee;
  border-bottom: 1px solid var(--line);
}

.rig-card-grid--illustrated {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.rig-card__type {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rig-card h3 {
  margin: 5px 0 8px;
  color: var(--blue-dark);
}

.rig-card p {
  margin: 0;
  color: var(--muted);
}

.rig-card dl {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
}

.rig-card dl div {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.rig-card dt {
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rig-card dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.rig-card-grid--compact .rig-card {
  min-height: 190px;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 47px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .radar-card {
    width: 100%;
  }

  .radar-frame {
    width: 100% !important;
  }

  .hero {
    min-height: 560px;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(5, 27, 34, 0.82), rgba(5, 27, 34, 0.52));
  }

  .hero__content {
    padding-top: 78px;
  }

  .split-section,
  .forum-layout,
  .about-layout,
  .gallery-layout,
  .ramp-reviews,
  .tide-dashboard,
  .tide-moon-grid {
    grid-template-columns: 1fr;
  }

  .bait-notes-grid,
  .bait-list {
    grid-template-columns: 1fr;
  }

  .bait-chart th,
  .bait-chart td {
    padding: 13px 14px;
  }

  .rig-category__heading {
    display: block;
  }

  .rig-category__heading > p {
    margin-top: 10px;
  }

  .rig-category__photo {
    min-height: 250px;
  }

  .admin-card {
    grid-template-columns: 1fr;
  }
}
/* Desktop photo fish identifier */
.fish-identifier-page {
  max-width: 1120px;
}

.fish-identifier-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.fish-camera-card,
.fish-identify-result {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(5, 61, 79, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(4, 49, 63, 0.14);
}

.fish-camera-instructions h2,
.fish-identify-result h2 { margin-top: 0; }
#fish-identifier-form { display: grid; gap: 14px; }
#fish-photo { position: absolute; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.fish-photo-button { display: grid; justify-items: center; gap: 6px; min-height: 170px; padding: 24px 16px; border: 3px dashed #1685a4; border-radius: 15px; background: #eaf8fc; color: #083e50; text-align: center; cursor: pointer; }
.fish-photo-button span { font-size: 2.7rem; }
.fish-photo-button small { color: #45636c; }
.fish-photo-button:focus-within { outline: 3px solid #f4a62a; outline-offset: 3px; }
.fish-photo-preview { position: relative; overflow: hidden; border-radius: 14px; background: #d7edf3; }
.fish-photo-preview img { display: block; width: 100%; max-height: 440px; object-fit: contain; }
.fish-photo-preview button { width: 100%; border-radius: 0; }
.fish-identify-submit { min-height: 54px; border: 0; border-radius: 13px; background: #08718e; color: #fff; font-size: 1.05rem; font-weight: 800; }
.fish-identify-submit:disabled { opacity: 0.5; }
.fish-identify-status { min-height: 1.5rem; margin-top: 12px; font-weight: 700; }
.fish-identify-status--working { color: #765006; }
.fish-identify-status--error { color: #9d271e; }
.fish-identify-status--success { color: #24632b; }
.fish-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fish-confidence { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: #e7f3d8; color: #31571c; font-size: 0.76rem; font-weight: 800; }
.fish-identify-result ul { padding-left: 1.25rem; }
.fish-result-regulations { margin: 18px 0; padding-top: 4px; border-top: 1px solid rgba(5, 61, 79, 0.16); }
.fish-result-warning { display: grid; gap: 5px; margin: 18px 0; padding: 13px; border-left: 5px solid #c64c24; border-radius: 9px; background: #fff1e8; color: #5f2815; }
#identify-another { width: 100%; min-height: 50px; }

@media (max-width: 800px) {
  .fish-identifier-layout { grid-template-columns: 1fr; }
}

/* Northeast Florida crabbing guide */
.crabbing-page { max-width: 1180px; }
.crab-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #123f4a;
  color: #fff;
}
.crab-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.crab-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 29, 38, .9) 0%, rgba(3, 29, 38, .68) 38%, rgba(3, 29, 38, .08) 72%);
}
.crab-hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}
.crab-hero__content h1 {
  max-width: 680px;
  margin: 7px 0 14px;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: .98;
}
.crab-hero__content > p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.65;
}
.crab-hero__actions, .crab-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.button--light { background: #fff; color: var(--blue-dark); }
.crab-section { margin-top: 48px; }
.crab-alert {
  margin-top: -48px;
  position: relative;
  z-index: 2;
  padding: 28px;
  border: 1px solid rgba(5, 61, 79, .16);
  border-top: 6px solid #f4a62a;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 36px rgba(4, 49, 63, .16);
}
.crab-alert h2, .crab-section h2, .crab-regs-banner h2 { margin: 4px 0 12px; color: var(--blue-dark); }
.crab-license-grid, .crab-method-grid, .crab-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.crab-license-grid article { position: relative; padding: 18px 18px 18px 56px; border-radius: 12px; background: #eff8fa; }
.crab-license-grid h3 { margin: 0 0 6px; color: var(--blue-dark); }
.crab-license-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.crab-step-number {
  position: absolute;
  left: 16px;
  top: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 800;
}
.crab-method-grid { grid-template-columns: repeat(2, 1fr); }
.crab-method-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.crab-method-card__icon { font-size: 2.25rem; }
.crab-card__type {
  margin: 8px 0 0;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.crab-method-card h3, .crab-species-card h3 { margin: 5px 0 12px; color: var(--blue-dark); }
.crab-method-card ol { padding-left: 1.35rem; }
.crab-method-card li { margin: 10px 0; color: var(--muted); line-height: 1.55; }
.crab-tip, .crab-season-alert {
  margin: 18px 0 0;
  padding: 14px;
  border-left: 5px solid #f4a62a;
  border-radius: 9px;
  background: #fff7e7;
  color: #5c4313;
}
.crab-trap-checklist {
  padding: 28px;
  border-radius: 18px;
  background: #eaf6f8;
}
.crab-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #b8d8df; }
.crab-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; }
.crab-table th, .crab-table td { padding: 13px 15px; border-bottom: 1px solid #d5e7eb; text-align: left; vertical-align: top; }
.crab-table thead th { background: var(--blue-dark); color: #fff; }
.crab-table tbody th { width: 18%; color: var(--blue-dark); }
.crab-fine-print { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.crab-species-grid { display: grid; gap: 24px; }
.crab-species-card {
  display: grid;
  grid-template-columns: minmax(280px, 39%) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.crab-species-card > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.crab-species-card__body { padding: 26px; }
.crab-rule-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.crab-rule-list div { padding: 11px; border-radius: 9px; background: #eef7f9; }
.crab-rule-list dt { color: var(--blue-dark); font-size: .73rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.crab-rule-list dd { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.crab-season-alert { display: grid; gap: 5px; margin-bottom: 18px; border-color: #c64c24; background: #fff0e7; color: #652a16; }
.crab-season-alert small { color: #765448; }
.crab-notes-grid { grid-template-columns: repeat(2, 1fr); }
.crab-safety-list { padding-left: 1.25rem; }
.crab-safety-list li { margin: 10px 0; }
.crab-regs-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 48px 0 10px;
  padding: 28px;
  border-radius: 18px;
  background: var(--blue-dark);
  color: #fff;
}
.crab-regs-banner h2 { color: #fff; }
.crab-regs-banner p { margin-bottom: 0; }
.crab-regs-banner .button { flex: 0 0 auto; }

@media (max-width: 1350px) and (min-width: 781px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
}

@media (max-width: 820px) {
  .crab-hero { min-height: 560px; align-items: end; }
  .crab-hero__shade { background: linear-gradient(180deg, rgba(3,29,38,.18), rgba(3,29,38,.92) 67%); }
  .crab-hero__content { padding: 180px 0 70px; }
  .crab-alert { margin-top: -30px; padding: 21px; }
  .crab-license-grid, .crab-method-grid, .crab-notes-grid { grid-template-columns: 1fr; }
  .crab-species-card { grid-template-columns: 1fr; }
  .crab-species-card > img { min-height: 0; aspect-ratio: 4/3; }
  .crab-rule-list { grid-template-columns: 1fr; }
  .crab-regs-banner { align-items: stretch; flex-direction: column; }
  .crab-regs-banner .button { width: 100%; }
}
/* Nautical charts */
.nautical-charts-page{display:grid;gap:1.25rem}.chart-toolbar,.chart-information-card{background:rgba(255,255,255,.94);border:1px solid rgba(8,67,84,.18);border-radius:18px;box-shadow:0 10px 24px rgba(5,45,58,.12)}.chart-toolbar{display:flex;align-items:end;justify-content:space-between;gap:1.25rem;padding:1.1rem 1.25rem}.chart-toolbar p{margin:.25rem 0 0}.chart-toolbar label{display:grid;gap:.35rem;min-width:min(100%,340px);font-weight:700}.chart-toolbar select{width:100%;padding:.75rem;border:1px solid #8aaeb7;border-radius:10px;background:#fff;color:#123b46;font:inherit}.chart-map-panel{overflow:hidden;border:4px solid rgba(255,255,255,.95);border-radius:20px;box-shadow:0 14px 32px rgba(4,40,52,.2)}#nautical-chart-map{height:clamp(470px,68vh,760px);background:#d9edf3}.chart-information-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.chart-information-card{padding:1.2rem}.chart-information-card h2{margin:.25rem 0 .65rem}.chart-information-card p:last-child{margin-bottom:0}.chart-information-card--warning{border-left:6px solid #e49b21}.chart-resource-links{display:grid;gap:.55rem;margin:.5rem 0 0;padding-left:1.2rem}.chart-resource-links a{font-weight:700;color:#075d73}.chart-service-warning::after{content:"The NOAA chart service is temporarily unavailable. Please try again shortly.";position:absolute;z-index:1000;left:50%;bottom:1rem;transform:translateX(-50%);width:min(90%,520px);padding:.8rem 1rem;border-radius:10px;background:#fff3cd;color:#5f4500;box-shadow:0 4px 14px rgba(0,0,0,.25);font-weight:700;text-align:center}@media(max-width:800px){.chart-toolbar{align-items:stretch;flex-direction:column}.chart-information-grid{grid-template-columns:1fr}#nautical-chart-map{height:62vh;min-height:430px}.leaflet-control-layers-expanded{font-size:.85rem}}
