:root {
  color-scheme: light;

  --ink: #142b26;
  --pine: #1a2b40;
  --river: #283764;
  --moss: #040051;
  --paper: #f4f2e9;
  --white: #fffefa;
  --gold: #e7c66a;
  --line: #d9ddd2;

  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--white);
}


/* =========================================================
   SKIP NAVIGATION
   ========================================================= */

.skip-nav {
  position: absolute;
  z-index: 20;
  top: -5rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
}

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


/* =========================================================
   HEADER AND NAVIGATION
   ========================================================= */

.site-header {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  background: var(--pine);
  color: var(--white);
  overflow: visible;
}

.header-top {
  width: min(1240px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  flex: 1 1 auto;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
}

.brand-name {
  max-width: 250px;
  min-width: 0;
  font-size: .92rem;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.shortcut-toggle,
.mobile-nav-toggle {
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.shortcut-toggle:hover,
.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, .1);
}

.mobile-nav-bar {
  display: none;
  width: 100%;
}


/* =========================================================
   MAIN NAVIGATION - DESKTOP
   ========================================================= */

.main-nav {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem;
  padding: 0 24px 1rem;
  box-sizing: border-box;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .65rem .8rem;
  flex: 0 1 auto;
  box-sizing: border-box;

  color: #e8eee8;
  text-decoration: none;

  font-size: .81rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;

  white-space: nowrap;
}

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


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #294b40;
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(11, 35, 28, .43);
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 3.5rem 0 3rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: #f3d77f;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.page-hero-copy {
  max-width: 680px;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.content-wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.page-main {
  padding: 2.8rem 0 4.5rem;
}

.page-intro {
  max-width: 820px;
  margin: 0 0 2.4rem;
  color: #46584d;
  font-size: 1.08rem;
  line-height: 1.8;
}

.content-section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section h2 {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.content-section h3 {
  margin: 1.6rem 0 .55rem;
  color: var(--pine);
  font-size: 1rem;
}

.content-section p,
.content-section li {
  color: #46584d;
  line-height: 1.75;
}

.content-section p {
  margin: .65rem 0;
}

.content-section ul,
.content-section ol {
  padding-left: 1.35rem;
}

.content-section a {
  color: var(--pine);
  font-weight: 700;
  text-underline-offset: 3px;
}


/* =========================================================
   NOTICE
   ========================================================= */

.notice {
  margin: 1.8rem 0;
  padding: 1.35rem 1.5rem;
  border-top: 3px solid #b78b37;
  background: #f0ead8;
}

.notice strong {
  display: block;
  margin-bottom: .4rem;
  color: #5f4a20;
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  line-height: 1.7;
}

.notice a {
  color: var(--pine);
  font-weight: 700;
}


/* =========================================================
   INFORMATION PANELS
   ========================================================= */

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

.info-panel {
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border-top: 2px solid var(--moss);
}

.info-panel h2,
.info-panel h3 {
  margin-top: 0;
}

.info-panel p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   FIGURES AND IMAGES
   ========================================================= */

.content-section figure {
  margin: 1.5rem 0;
}

.content-section figure img {
  display: block;
  width: 100%;
  height: auto;
}

.content-section figcaption {
  padding-top: .7rem;
  color: #46584d;
  font-size: .8rem;
}

.map-image {
  max-width: 900px;
}


/* =========================================================
   DATA TABLES
   ========================================================= */

.data-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  background: var(--pine);
  color: var(--white);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.data-table td {
  line-height: 1.55;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-form {
  display: flex;
  align-items: end;
  gap: .75rem;
  max-width: 760px;
  margin: 1.5rem 0;
}

.search-form label {
  flex: 1;
  display: grid;
  gap: .5rem;
  color: var(--pine);
  font-size: .85rem;
  font-weight: 700;
}

.search-form input {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  border: 1px solid #9ba99a;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.search-form button {
  min-height: 48px;
  padding: .7rem 1.1rem;
  border: 0;
  background: var(--pine);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.search-form button:hover {
  background: var(--river);
}

.search-results {
  display: grid;
  gap: .7rem;
  padding: 0;
  list-style: none;
}

.search-results li {
  padding: .9rem 1rem;
  border-left: 3px solid var(--moss);
  background: var(--white);
}

.search-results a {
  color: var(--pine);
  font-weight: 700;
}


/* =========================================================
   RIVER FLIES
   ========================================================= */

.fly-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.fly-results li {
  min-width: 0;
  padding: .8rem;
  background: var(--white);
}

.fly-results img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e6e8df;
}

.fly-results span {
  display: block;
  margin-top: .6rem;
  color: var(--pine);
  font-weight: 700;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 1.5rem 24px;
  background: var(--pine);
  color: #e8eee8;
  text-align: center;
  font-size: .78rem;
}


/* =========================================================
   KEYBOARD SHORTCUT MODAL
   ========================================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 23, 19, .72);
}

.modal-backdrop.active {
  display: flex;
}

.modal {
  width: min(540px, 100%);
  max-height: min(85vh, 720px);
  overflow-y: auto;
  padding: 2rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .25);
}

.modal h2 {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.modal ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem 1rem;
  padding: 0;
  list-style: none;
}

.modal li {
  font-size: .83rem;
}

.modal li strong {
  color: var(--pine);
}

.modal p {
  font-size: .83rem;
  line-height: 1.6;
}

.modal-close {
  min-height: 44px;
  padding: .65rem 1rem;
  border: 0;
  background: var(--pine);
  color: white;
  font: inherit;
  cursor: pointer;
}


/* =========================================================
   CHRISTMAS PANEL
   ========================================================= */

.xmas-panel {
  position: relative;
  min-height: min(700px, 80vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
  background: #243d39;
  color: white;
  text-align: center;
}

.xmas-panel::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(8, 25, 22, .45);
}

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

.xmas-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}

.xmas-content h1 {
  margin: 0 0 1.2rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
}

.xmas-content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.xmas-content a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 1rem;
  padding: .8rem 1.2rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
}


/* =========================================================
   TABLETS / SMALL LAPTOPS
   ========================================================= */

@media (max-width: 1100px) {

  .header-top {
    width: calc(100% - 32px);
  }

  .main-nav {
    gap: .2rem;
    padding-inline: 16px;
  }

  .main-nav a {
    padding-inline: .6rem;
    font-size: .78rem;
  }
}


/* =========================================================
   SMALLER TABLETS
   ========================================================= */

@media (max-width: 900px) {

  .header-top {
    gap: 1rem;
  }

  .main-nav {
    row-gap: .15rem;
  }

  .main-nav a {
    padding-inline: .5rem;
    font-size: .76rem;
  }
}


/* =========================================================
   PHONES
   ========================================================= */

@media (max-width: 760px) {

  .header-top {
    width: calc(100% - 32px);
    min-height: 72px;
    padding: .65rem 0;
    gap: .65rem;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand-name {
    max-width: 180px;
    font-size: .84rem;
  }

  .shortcut-toggle {
    min-height: 44px;
    padding: .55rem .7rem;
    font-size: .76rem;
  }

  .mobile-nav-bar {
    display: block;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0 0 .75rem;
  }

  .mobile-nav-toggle {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: .7rem 1rem;
  }

  .main-nav {
    display: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: .35rem 16px .75rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .2rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: flex-start;
    padding: .8rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .88rem;
    text-align: left;
    white-space: normal;
  }

  .main-nav a:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .page-hero {
    min-height: 310px;
  }

  .page-hero-content,
  .content-wrap {
    width: calc(100% - 36px);
  }

  .page-hero-content {
    padding: 3rem 0 2.3rem;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .page-main {
    padding: 2rem 0 3.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fly-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .search-form button {
    align-self: flex-start;
  }

  .modal ul {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

  .header-top {
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    width: 100%;
  }

  .brand-name {
    max-width: none;
  }

  .shortcut-toggle {
    width: 100%;
  }

  .mobile-nav-bar {
    width: calc(100% - 24px);
  }

  .main-nav {
    padding-inline: 12px;
  }

  .main-nav a {
    min-height: 50px;
    padding: .85rem 1rem;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .page-hero-content,
  .content-wrap {
    width: calc(100% - 24px);
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

.weather-section {
margin-top: 2rem;
}

.weather-card {
overflow: hidden;
border: 1px solid rgba(20, 50, 45, 0.15);
border-radius: 1rem;
background: #f4f8f5;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.weather-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
padding: 1.5rem;
background: #11184a;
color: #fff;
}

.weather-header h2 {
margin: 0.2rem 0 0;
}

.weather-header .eyebrow {
margin: 0;
color: #c8e4d7;
}

.weather-status {
display: inline-flex;
align-items: center;
min-height: 2rem;
padding: 0.25rem 0.7rem;
border-radius: 999px;
background: #2d5370;
color: #fff;
font-size: 0.85rem;
font-weight: 700;
white-space: nowrap;
}

.weather-current {
padding: 1.5rem;
background: #fff;
}

.weather-main {
display: flex;
align-items: center;
gap: 1rem;
}

.weather-icon {
font-size: 3.5rem;
line-height: 1;
}

.weather-temperature {
display: block;
font-size: clamp(2.5rem, 8vw, 4rem);
line-height: 1;
}

.weather-current p {
margin: 0.35rem 0 0;
}

.weather-feels {
color: #5d6b67;
font-size: 0.95rem;
}

.weather-details {
display: grid;
grid-template-columns: repeat(5, 1fr);
border-top: 1px solid #dce7e1;
border-bottom: 1px solid #dce7e1;
}

.weather-detail {
display: flex;
flex-direction: column;
gap: 0.35rem;
padding: 1rem;
border-right: 1px solid #dce7e1;
}

.weather-detail:last-child {
border-right: 0;
}

.weather-detail span {
color: #5d6b67;
font-size: 0.85rem;
}

.weather-detail strong {
color: #173f38;
}

.weather-fishing-note {
margin: 1rem 1.5rem;
padding: 1rem;
border-left: 4px solid #b7791f;
border-radius: 0.4rem;
background: #fff8e8;
color: #493817;
}

.weather-fishing-note ul {
margin: 0.5rem 0 0;
padding-left: 1.25rem;
}

.weather-forecast {
padding: 1.5rem;
}

.weather-forecast h3 {
margin-top: 0;
}

.weather-forecast-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
}

.weather-hour {
display: flex;
flex-direction: column;
gap: 0.35rem;
min-width: 0;
padding: 1rem;
border: 1px solid #dce7e1;
border-radius: 0.7rem;
background: #fff;
}

.weather-hour time {
color: #5d6b67;
font-size: 0.85rem;
font-weight: 700;
}

.weather-hour-icon {
font-size: 1.8rem;
}

.weather-hour strong {
color: #173f38;
font-size: 1.25rem;
}

.weather-hour > span:not(.weather-hour-icon) {
color: #5d6b67;
font-size: 0.82rem;
}

.weather-updated {
margin: 0;
padding: 0 1.5rem 1.5rem;
color: #687772;
font-size: 0.8rem;
}

@media (max-width: 800px) {
.weather-details {
grid-template-columns: repeat(2, 1fr);
}

.weather-detail:nth-child(2n) {
border-right: 0;
}

.weather-forecast-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 520px) {
.weather-header {
flex-direction: column;
}

.weather-main {
align-items: flex-start;
}

.weather-details {
grid-template-columns: 1fr 1fr;
}

.weather-forecast-grid {
grid-template-columns: 1fr 1fr;
}

.weather-hour {
padding: 0.75rem;
}
}

@media (prefers-reduced-motion: reduce) {
.weather-card,
.weather-card * {
scroll-behavior: auto;
}
}