/* Freshwater Cast — shared styles */
:root {
  --deep-navy: #001028;
  --charcoal: #0B1C24;
  --card: #102A36;
  --river-teal: #00A8A8;
  --strike-orange: #F87808;
  --white: #FFFFFF;
  --body: #D0E2EA;
  --mist: #A8C5D0;
  --heat-cream: #FFD19A;
  --lockup-teal: #109898;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--charcoal);
  color: var(--body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--river-teal); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--strike-orange); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.cast-card:focus-visible {
  outline: 2px solid var(--strike-orange);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; display: block; }

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

/* —— Header —— */
.site-header {
  background: var(--deep-navy);
  border-bottom: 1px solid rgba(0, 168, 168, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link img.lockup {
  height: 40px;
  width: auto;
}

.brand-link img.avatar {
  height: 36px;
  width: 36px;
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--mist);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
}

.nav .cta-nav {
  background: var(--strike-orange);
  color: var(--white) !important;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav .cta-nav:hover { filter: brightness(1.08); }

/* —— Main —— */
main { flex: 1; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* —— Alabama CTA band (home, below map) —— */
.alabama-cta {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 168, 168, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(248, 120, 8, 0.08), transparent),
    var(--deep-navy);
  padding: 2.25rem 0 2.75rem;
  text-align: center;
  border-top: 1px solid rgba(0, 168, 168, 0.15);
}

.alabama-cta h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.alabama-cta .tagline {
  color: var(--mist);
  font-size: 1.05rem;
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}

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

/* legacy hero (unused on home; keep for safety) */
.hero {
  background: var(--deep-navy);
  padding: 2.5rem 0 3rem;
  text-align: center;
}
.hero-lockup { margin: 0 auto 1.5rem; max-width: 420px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.hero .tagline {
  color: var(--mist);
  font-size: 1.125rem;
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.badge-live,
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.badge-live {
  background: rgba(0, 168, 168, 0.15);
  border: 1px solid var(--river-teal);
  color: var(--river-teal);
}

.alabama-cta .badge-live {
  margin-bottom: 1rem;
}

.badge-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--strike-orange);
  box-shadow: 0 0 8px var(--strike-orange);
}

.badge-soon {
  background: rgba(255, 209, 154, 0.1);
  border: 1px solid rgba(255, 209, 154, 0.55);
  color: var(--heat-cream);
  margin-bottom: 0.75rem;
}

/* —— Map —— */

/* Home intro (logo + headline above map) */
.home-intro {
  padding: 2rem 0 0.5rem;
  text-align: center;
}
.home-intro-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.home-lockup {
  display: block;
  margin: 0 auto 1.25rem;
  width: min(100%, 520px);
  height: auto;
  background: transparent;
}
.home-intro .badge-live {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.home-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--white, #fff);
  line-height: 1.2;
}
.home-intro .tagline {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--body, #D0E2EA);
  font-size: 1.05rem;
  line-height: 1.55;
}
.home-intro .hero-actions {
  justify-content: center;
  margin-bottom: 0.5rem;
}
@media (max-width: 640px) {
  .home-intro { padding: 1.25rem 0 0.25rem; }
  .home-lockup { width: min(100%, 360px); margin-bottom: 1rem; }
}

.map-section {
  padding: 3rem 0 4rem;
}

.map-section--primary {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 168, 168, 0.1), transparent),
    var(--charcoal);
  padding: 2rem 0 2.5rem;
}

.map-brand-line {
  text-align: center;
  color: var(--river-teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.map-section h2 {
  text-align: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.map-section .sub {
  text-align: center;
  color: var(--mist);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.map-card {
  background: var(--card);
  border: 1px solid rgba(0, 168, 168, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.us-map {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(70vh, 560px);
}

.us-map .state {
  fill: #1a3340;
  stroke: var(--charcoal);
  stroke-width: 0.75;
  vector-effect: non-scaling-stroke;
  transition: fill 0.15s ease;
  cursor: default;
}

.us-map .state.coming-soon:hover {
  fill: #243f4d;
}

.us-map .state.live {
  fill: var(--river-teal);
  stroke: var(--strike-orange);
  stroke-width: 1.75;
  cursor: pointer;
}

.us-map .state.live:hover {
  fill: #00c4c4;
  filter: drop-shadow(0 0 6px rgba(0, 168, 168, 0.5));
}

.us-map a:focus .state.live,
.us-map a:focus-visible .state.live {
  outline: 2px solid var(--strike-orange);
  outline-offset: 2px;
}

.us-map .al-label {
  font-size: 11px;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--mist);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.legend-swatch.live {
  background: var(--river-teal);
  border: 1.5px solid var(--strike-orange);
}

.legend-swatch.soon {
  background: #1a3340;
  border: 1px solid #2a4555;
}

/* —— Signup —— */
.signup {
  padding: 0 0 4rem;
}

.signup-card {
  background: var(--card);
  border: 1px solid rgba(248, 120, 8, 0.35);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}

.signup-card h2 {
  color: var(--white);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.signup-card > p {
  color: var(--mist);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form input[type="email"] {
  flex: 1 1 200px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 168, 168, 0.4);
  background: var(--deep-navy);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
}

.signup-form input[type="email"]::placeholder { color: var(--mist); opacity: 0.7; }
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--river-teal);
  box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--strike-orange);
  color: var(--white);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--river-teal);
  border: 1px solid var(--river-teal);
}

.btn-secondary:hover {
  background: rgba(0, 168, 168, 0.12);
  color: var(--white);
}

.signup-note {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--mist);
  opacity: 0.9;
}

/* —— Page headers (hub / cast) —— */
.page-hero {
  background: var(--deep-navy);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(0, 168, 168, 0.2);
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 0.75rem;
}

.page-hero .breadcrumb a { color: var(--river-teal); }

.page-hero h1 {
  color: var(--white);
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.page-hero .lead {
  color: var(--mist);
  margin: 0;
  max-width: 42rem;
}

/* —— Cards grid —— */
.cards-section {
  padding: 2.5rem 0 4rem;
}

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

.cast-card {
  background: var(--card);
  border: 1px solid rgba(0, 168, 168, 0.22);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: inherit;
  text-decoration: none;
}

.cast-card:hover {
  border-color: var(--river-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}

.cast-card .card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--strike-orange);
}

.cast-card h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--white);
}

.cast-card .waters {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mist);
  flex: 1;
}

.cast-card .card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--river-teal);
  margin-top: 0.25rem;
}

.cast-card:hover .card-cta { color: var(--strike-orange); }

/* —— Cast placeholder —— */
.cast-soon {
  padding: 3rem 0 4rem;
}

.cast-soon-card {
  background: var(--card);
  border: 1px solid rgba(0, 168, 168, 0.25);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}

.cast-soon-card .icon-map {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  opacity: 0.9;
}

.cast-soon-card h2 {
  color: var(--white);
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cast-soon-card > p {
  color: var(--mist);
  margin: 0 0 1rem;
}

.cast-soon-card strong {
  color: var(--heat-cream);
  font-weight: 600;
}

.waters-intro {
  color: var(--body) !important;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem !important;
}

.embed-placeholder {
  background: var(--deep-navy);
  border: 1px dashed rgba(0, 168, 168, 0.45);
  border-radius: 8px;
  padding: 2rem 1.25rem;
  color: var(--mist);
  font-size: 0.9rem;
  text-align: center;
}

.embed-placeholder strong {
  display: block;
  color: var(--river-teal);
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.waters-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  display: inline-block;
}

.waters-list li {
  padding: 0.35rem 0;
  color: var(--body);
  border-bottom: 1px solid rgba(168, 197, 208, 0.12);
  font-size: 0.95rem;
}

.waters-list li::before {
  content: "▸ ";
  color: var(--river-teal);
}

.cast-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}


/* —— Alabama hub (map + list) —— */
.al-hub-section {
  padding: 2rem 0 4rem;
}

.al-hub-layout {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.al-map-panel {
  text-align: center;
}

.al-map-card {
  background: var(--card);
  border: 1px solid rgba(0, 168, 168, 0.22);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow);
}

.al-map {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
}

.al-outline {
  fill: #1a3340;
  stroke: var(--river-teal);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}

.al-dot {
  fill: var(--strike-orange);
  stroke: none;
  transition: r 0.15s ease, fill 0.15s ease;
}

.al-dot-ring {
  fill: none;
  stroke: var(--strike-orange);
  stroke-width: 0.55;
  opacity: 0.55;
  transition: opacity 0.15s ease, stroke-width 0.15s ease;
}

.al-dot-link {
  cursor: pointer;
  outline: none;
}

.al-dot-link:hover .al-dot,
.al-dot-link.is-hot .al-dot,
.al-dot-link:focus-visible .al-dot {
  fill: var(--heat-cream);
}

.al-dot-link:hover .al-dot-ring,
.al-dot-link.is-hot .al-dot-ring,
.al-dot-link:focus-visible .al-dot-ring {
  opacity: 1;
  stroke: var(--heat-cream);
  stroke-width: 0.85;
}

.al-map-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--mist);
}

.al-cast-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.al-cast-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--card);
  border: 1px solid rgba(0, 168, 168, 0.22);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.al-cast-item:hover,
.al-cast-item.is-hot,
.al-cast-item:focus-visible {
  border-color: var(--strike-orange);
  color: inherit;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.al-cast-name {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--white);
}

.al-cast-waters {
  font-size: 0.88rem;
  color: var(--mist);
}

/* —— Footer —— */
.site-footer {
  background: var(--deep-navy);
  border-top: 1px solid rgba(0, 168, 168, 0.2);
  padding: 2rem 1.25rem;
  margin-top: auto;
}

.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer .copy {
  color: var(--mist);
  font-size: 0.85rem;
  margin: 0;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer .footer-brand:hover { color: var(--heat-cream); }

.site-footer .footer-brand img {
  height: 28px;
  width: 28px;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: var(--mist);
  font-size: 0.85rem;
}

/* —— Responsive —— */
@media (max-width: 800px) {
  .al-hub-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 420px;
  }
  .al-map-panel { order: 0; }
  .al-cast-list { order: 1; }
}

@media (max-width: 640px) {
  .alabama-cta { padding: 1.75rem 0 2.25rem; }
  .map-section--primary { padding: 1.5rem 0 2rem; }
  .brand-link img.lockup { height: 32px; }
  .nav { gap: 0.85rem; }
  .nav .hide-sm { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .signup-form { flex-direction: column; }
  .signup-form .btn { width: 100%; }
  .map-card { padding: 0.75rem 0.5rem 1.15rem; }
  .us-map { max-height: none; }
  .cast-actions { flex-direction: column; align-items: stretch; }
  .cast-actions .btn { width: 100%; }
  .site-footer .inner { flex-direction: column; text-align: center; }
  .site-footer .footer-brand { justify-content: center; }
}
