/* Art direction: Lowcountry bait shrimping trip → warm, rugged, editorial
   Palette: warm neutrals with deep teal accent (water/marsh), amber highlights
   Typography: Instrument Serif (display) + General Sans (body) — editorial warmth meets clean readability
   Density: spacious, editorial feel with data-rich sections */

/* ===== TYPE SCALE ===== */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);
}

/* ===== SPACING ===== */
:root {
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ===== FONTS ===== */
:root {
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
}

/* ===== CUSTOM LOWCOUNTRY PALETTE ===== */
:root, [data-theme="light"] {
  --color-bg:             #f5f2ec;
  --color-surface:        #faf8f4;
  --color-surface-2:      #ffffff;
  --color-surface-offset: #ede9e0;
  --color-surface-offset-2: #e5e0d6;
  --color-surface-dynamic: #ddd8ce;
  --color-divider:        #d4cfc5;
  --color-border:         #c8c3b8;

  --color-text:           #1a1812;
  --color-text-muted:     #6b6860;
  --color-text-faint:     #a8a59e;
  --color-text-inverse:   #faf8f4;

  --color-primary:        #1a6b6e;
  --color-primary-hover:  #145558;
  --color-primary-active: #0e3f42;
  --color-primary-highlight: #d0e4e0;

  --color-accent:         #c17a2e;
  --color-accent-hover:   #a56520;
  --color-accent-light:   #f5e6d0;

  --color-warning:        #964219;
  --color-error:          #a12c7b;
  --color-success:        #437a22;
  --color-blue:           #006494;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 60 / 0.12);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

[data-theme="dark"] {
  --color-bg:             #141210;
  --color-surface:        #1a1816;
  --color-surface-2:      #1f1d1a;
  --color-surface-offset: #1c1a17;
  --color-surface-offset-2: #22201d;
  --color-surface-dynamic: #2a2825;
  --color-divider:        #2e2c29;
  --color-border:         #3a3835;

  --color-text:           #d8d5cf;
  --color-text-muted:     #8a877f;
  --color-text-faint:     #5c5a56;
  --color-text-inverse:   #1a1812;

  --color-primary:        #5ca8a6;
  --color-primary-hover:  #3d8e8c;
  --color-primary-active: #2a7472;
  --color-primary-highlight: #253535;

  --color-accent:         #d4923e;
  --color-accent-hover:   #e0a558;
  --color-accent-light:   #2d2418;

  --color-warning:        #bb653b;
  --color-error:          #d163a7;
  --color-success:        #6daa45;
  --color-blue:           #5591c7;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #141210;
    --color-surface:        #1a1816;
    --color-surface-2:      #1f1d1a;
    --color-surface-offset: #1c1a17;
    --color-surface-offset-2: #22201d;
    --color-surface-dynamic: #2a2825;
    --color-divider:        #2e2c29;
    --color-border:         #3a3835;
    --color-text:           #d8d5cf;
    --color-text-muted:     #8a877f;
    --color-text-faint:     #5c5a56;
    --color-text-inverse:   #1a1812;
    --color-primary:        #5ca8a6;
    --color-primary-hover:  #3d8e8c;
    --color-primary-active: #2a7472;
    --color-primary-highlight: #253535;
    --color-accent:         #d4923e;
    --color-accent-hover:   #e0a558;
    --color-accent-light:   #2d2418;
    --color-warning:        #bb653b;
    --color-error:          #d163a7;
    --color-success:        #6daa45;
    --color-blue:           #5591c7;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ===== GLOBAL LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-4);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.header__logo svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header__nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}

.header__nav a:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.theme-toggle {
  padding: var(--space-2);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  padding: var(--space-2);
  color: var(--color-text);
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
  }
  .header__nav.is-open {
    display: flex;
  }
  .header__nav a {
    padding: var(--space-3) var(--space-4);
    width: 100%;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-block: 0;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.12 0.02 60 / 0.92) 0%,
    oklch(0.12 0.02 60 / 0.6) 40%,
    oklch(0.12 0.02 60 / 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-16) var(--space-12);
  width: 100%;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: #faf8f4;
  font-weight: 400;
  margin-bottom: var(--space-4);
  max-width: 16ch;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: oklch(0.85 0.02 60);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  font-weight: 300;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: oklch(0.75 0.02 60);
}

.hero__meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ===== 3D SHRIMP ===== */
#shrimp-3d {
  position: absolute;
  right: 2%;
  bottom: 12%;
  width: clamp(160px, 20vw, 300px);
  height: clamp(160px, 20vw, 300px);
  z-index: 3;
  pointer-events: none;
  opacity: 0.85;
}

#shrimp-3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 768px) {
  #shrimp-3d {
    right: 5%;
    bottom: 8%;
    width: 120px;
    height: 120px;
    opacity: 0.7;
  }
}

/* ===== SECTION HEADINGS ===== */
.section-header {
  margin-bottom: var(--space-10);
}

.section-header__eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  font-weight: 400;
}

.section-header__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  max-width: 60ch;
}

/* ===== KPI CARDS ===== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.kpi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.kpi-card__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.kpi-card__value {
  font-size: var(--text-xl);
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--color-text);
}

.kpi-card__detail {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

.kpi-card__icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* ===== TIDE TABLE ===== */
.tide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.tide-day {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tide-day__header {
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tide-day__date {
  font-weight: 600;
  font-size: var(--text-sm);
}

.tide-day__dow {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.tide-day__events {
  padding: var(--space-3) var(--space-5);
}

.tide-event {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.tide-event + .tide-event {
  border-top: 1px solid var(--color-divider);
}

.tide-event__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  min-width: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tide-event__badge--high {
  background: color-mix(in oklch, var(--color-primary) 15%, transparent);
  color: var(--color-primary);
}

.tide-event__badge--low {
  background: color-mix(in oklch, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
}

.tide-event__time {
  font-variant-numeric: tabular-nums;
  font-size: var(--text-sm);
  font-weight: 500;
  min-width: 5rem;
}

.tide-event__height {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.tide-day__rec {
  padding: var(--space-3) var(--space-5) var(--space-4);
  background: color-mix(in oklch, var(--color-success) 8%, var(--color-surface));
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-success);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.tide-day__rec svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== STRATEGY CARDS ===== */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.strategy-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.strategy-card__number {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.strategy-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.strategy-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== FULL-BLEED IMAGE ===== */
.full-bleed {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.full-bleed img {
  width: 100%;
  height: clamp(300px, 40vw, 500px);
  object-fit: cover;
}

.full-bleed__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: linear-gradient(to top, oklch(0.12 0.02 60 / 0.8), transparent);
  color: #faf8f4;
}

.full-bleed__caption h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.full-bleed__caption p {
  font-size: var(--text-sm);
  color: oklch(0.8 0.01 60);
  max-width: 50ch;
}

/* ===== INFO GRID (2 col) ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-block {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.info-block__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.info-block__title svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-block__list {
  list-style: none;
}

.info-block__list li {
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.info-block__list li + li {
  border-top: 1px solid var(--color-divider);
}

.info-block__list li strong {
  color: var(--color-text);
  font-weight: 500;
  min-width: 6rem;
  flex-shrink: 0;
}

/* ===== BIOLOGY SECTION ===== */
.biology-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 768px) {
  .biology-layout { grid-template-columns: 1fr; }
}

.biology-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.biology-img img {
  width: 100%;
  height: auto;
}

.lifecycle-stages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.lifecycle-stage {
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.lifecycle-stage__name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lifecycle-stage__detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ===== WEATHER WIDGET ===== */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
}

.weather-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}

.weather-card__day {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weather-card__icon {
  font-size: 2rem;
  margin-block: var(--space-2);
}

.weather-card__temp {
  font-size: var(--text-lg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.weather-card__range {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.weather-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

/* ===== MAP ===== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  height: 400px;
}

.map-section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .map-section-layout { grid-template-columns: 1fr; }
}

.map-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.map-detail-item {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.map-detail-item__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.map-detail-item__value {
  font-size: var(--text-sm);
  font-weight: 500;
}

.map-detail-item__sub {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

/* ===== CHECKLIST ===== */
.checklist {
  columns: 2;
  column-gap: var(--space-8);
  list-style: none;
}

@media (max-width: 600px) {
  .checklist { columns: 1; }
}

.checklist li {
  break-inside: avoid;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.checklist li svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== LINKS / BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-surface-offset);
}

/* ===== PRICING TABLE ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}

.pricing-card__size {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.pricing-card__price {
  font-size: var(--text-xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.pricing-card__unit {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===== LINKS LIST ===== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.link-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.link-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.link-card__icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.link-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.link-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__text {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__text a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__text a:hover {
  color: var(--color-primary);
}

/* ===== CHART ===== */
.chart-container {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.chart-container canvas {
  max-height: 300px;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== REGULATIONS TABLE ===== */
.reg-table {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.reg-table table {
  width: 100%;
}

.reg-table th {
  text-align: left;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
  font-weight: 600;
}

.reg-table td {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-divider);
}

.reg-table tr:last-child td {
  border-bottom: none;
}

/* ===== BAIT PREP ===== */
.bait-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  counter-reset: step;
}

.bait-step {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  counter-increment: step;
}

.bait-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.bait-step__title {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.bait-step__text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== DAILY PLAN ===== */
.daily-plan {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.daily-plan__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.daily-plan__timeline {
  list-style: none;
  position: relative;
  padding-left: var(--space-8);
}

.daily-plan__timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-divider);
}

.daily-plan__item {
  position: relative;
  padding: var(--space-3) 0;
}

.daily-plan__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) + 8px);
  top: 1.1rem;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-surface);
}

.daily-plan__time {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.daily-plan__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===== WATER CONDITIONS ===== */
.conditions-live {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.conditions-live__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.conditions-live__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-success);
  background: color-mix(in oklch, var(--color-success) 12%, transparent);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.conditions-live__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.conditions-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
}

.condition-metric {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
}

.condition-metric__value {
  font-size: var(--text-lg);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.condition-metric__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
