/* Fairfield Fishing Club: "Reef and sunset" look.
   Change a colour once here and it changes everywhere. */
:root {
  --navy: #0B2545;
  --navy-deep: #071A33;
  --navy-mid: #12325C;
  --navy-line: #1C3F6E;
  --blue: #1F6FB2;
  --aqua: #4FC3D9;
  --orange: #E8590C;        /* the logo orange: fills, buttons, lines */
  --orange-text: #EC6A1F;   /* a touch lighter, for small orange text on navy */
  --ground: #F5F8FB;
  --tint: #E6EEF7;
  --white: #FFFFFF;
  --line: #D6E0EC;
  --muted: #4A5B70;
  --on-navy: #F5F8FB;
  --on-navy-soft: #D4E0EE;
  --on-navy-muted: #A8BED8;
  --display: Archivo, "Arial Narrow", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--navy); background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 900; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3, .h3 { font-weight: 800; font-size: 23px; line-height: 1.15; text-transform: none; letter-spacing: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--navy-deep); padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 10; }
.skip:focus { left: 8px; }
.small { font-size: 14px; color: var(--muted); }
.wave { display: block; width: 100%; height: 48px; margin-bottom: -1px; }

.eyebrow { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.eyebrow.on-navy { color: var(--orange-text); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; }
.btn-accent { background: var(--orange); color: var(--navy-deep); }
.btn-accent:hover { background: #F2702A; color: var(--navy-deep); }
.btn-ghost { color: var(--on-navy); border-color: #4F78A8; }
.btn-ghost:hover { color: var(--on-navy); border-color: var(--aqua); }
.btn-small { min-height: 44px; padding: 9px 20px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 0; }

/* Top strips */
.preview-bar { background: #FFE27A; color: var(--navy); font-size: 14px; font-weight: 500; padding: 8px 20px; text-align: center; }
mark.todo { background: #FFE27A; color: var(--navy); padding: 0 4px; border-radius: 4px; }
.notice { background: var(--navy-deep); color: var(--on-navy); font-size: 14px; }
.notice .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding-top: 10px; padding-bottom: 10px; }
.notice strong { font-family: var(--display); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-text); }
.notice a { color: var(--on-navy); }

/* Header */
.site-header { background: var(--navy); color: var(--on-navy); border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--on-navy); }
.brand:hover { color: var(--on-navy); }
.brand-logo { width: 56px; height: 56px; border-radius: 10px; flex: none; }
.footer-logo { width: 88px; height: 88px; border-radius: 14px; margin-bottom: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; }
.brand-sub { font-size: 13px; color: var(--on-navy-muted); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 2px 22px; align-items: center; font-weight: 500; font-size: 16px; }
.site-header nav a { color: var(--on-navy); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.site-header nav a.btn { padding: 9px 20px; border: 0; color: var(--navy-deep); }

/* The header stays at the top while scrolling, on every screen size. */
.site-header { position: sticky; top: 0; z-index: 20; }
section[id], main[id] { scroll-margin-top: 76px; }
.nav-toggle { display: none; }
@media (min-width: 900px) {
  section[id], main[id] { scroll-margin-top: 88px; }
}

/* Phones and small tablets: a slim bar that stays at the top, with the
   links tucked behind a Menu button. */
@media (max-width: 899px) {
  .site-header .wrap { gap: 0 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
  .brand { gap: 10px; min-width: 0; }
  .brand-logo { width: 44px; height: 44px; border-radius: 8px; }
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #4F78A8; border-radius: 999px; background: transparent; color: var(--on-navy); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
  .js .site-header nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 10px; }
  .js .site-header nav.is-open { display: flex; }
  .js .site-header nav a { padding: 13px 2px; border-bottom: 1px solid var(--navy-line); font-size: 17px; }
  .js .site-header nav a.btn { margin-top: 12px; border: 0; justify-content: center; }
}

/* Hero and page heads */
.hero, .page-head { background: var(--navy); color: var(--on-navy); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy .eyebrow { margin: 0; }
.lede { margin: 0; font-size: 19px; color: var(--on-navy-soft); max-width: 34em; }
.lede-dark { font-size: 19px; color: var(--muted); max-width: 40em; }
.hero-media { border-radius: 24px; overflow: hidden; aspect-ratio: 6 / 5; background: var(--navy-mid); border: 1px solid var(--navy-line); }
.hero-media img, .hero-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-carousel { position: relative; aspect-ratio: 1 / 1; }
.hero-carousel .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0; transition: opacity .9s ease; }
.hero-carousel .slide.is-on { opacity: 1; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 72px 16px 20px; color: var(--white); font-size: 15px; font-weight: 500; background: linear-gradient(transparent, rgba(7, 26, 51, .85)); }
.slide-toggle { position: absolute; right: 12px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(7, 26, 51, .75); color: var(--white); font-size: 15px; cursor: pointer; }
.slide-toggle:hover { background: var(--orange); color: var(--navy-deep); }
@media (prefers-reduced-motion: reduce) { .hero-carousel .slide { transition: none; } }
.page-head .wrap { padding-top: 52px; padding-bottom: 28px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); }
.page-head .lede { margin-top: 16px; }

/* Sections */
.section { padding: 64px 0 72px; }
.section.tint { background: var(--tint); }
.section.navy { background: var(--navy); color: var(--on-navy); }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.more { font-weight: 600; }
.grid { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px 56px; align-items: start; }
.narrow-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 900px) { .narrow-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.narrow { max-width: 760px; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.event { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.event .prose { color: var(--muted); font-size: 16px; }
.event .prose p:last-child { margin-bottom: 0; }
.event-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.event-meta span { color: var(--muted); }
.tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; text-transform: capitalize; }
.tag-navy { background: var(--navy); color: var(--on-navy); }
.tag-orange { background: var(--orange); color: var(--navy-deep); }
.tag-sky { background: #D9ECF7; color: var(--navy); }

.species-card, .trip-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--navy); transition: transform .15s ease, border-color .15s ease; }
.species-card:hover, .trip-card:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--navy); }
.species-card img, .trip-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.species-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 7; }
.species-art.tone-0 { background: var(--navy); color: var(--orange); }
.species-art.tone-1 { background: var(--blue); color: var(--on-navy); }
.species-art.tone-2 { background: var(--aqua); color: var(--navy); }
.species-body, .trip-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 26px; }
.species-name { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.15; }
.species-aka, .trip-date { font-size: 14px; color: var(--blue); font-weight: 600; }
.species-summary { color: var(--muted); font-size: 16px; }

/* Text pages */
.prose { max-width: 42em; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 16px; margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--orange); color: var(--muted); }
.prose.on-navy { color: var(--on-navy-soft); font-size: 18px; }
.prose.on-navy a { color: var(--on-navy); }
.lead-image { width: 100%; border-radius: 20px; margin-bottom: 32px; }
.facts, .contact-card { padding: 26px; }
.facts dl { margin: 14px 0 18px; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-top: 14px; }
.facts dd { margin: 2px 0 0; }
.contact-card .h3 { margin-bottom: 16px; }
.tip { margin-top: 32px; padding: 22px 24px; border-radius: 16px; background: var(--tint); }
.tip p:last-child { margin: 0; }
.rules-note { margin: 36px 0 0; padding: 18px 22px; border-radius: 14px; background: var(--tint); font-size: 16px; max-width: 52em; }
.section.tint .rules-note { background: var(--white); }
.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; font-family: var(--display); font-weight: 800; font-size: 20px; text-decoration: none; }
.pager a span { font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; }
.pager .next { text-align: right; }
.empty { border: 1.5px dashed #6B85A3; border-radius: 16px; padding: 40px 24px; text-align: center; color: var(--muted); background: var(--white); }

/* Video and gallery */
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--navy); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb { position: absolute; inset: 0; display: block; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--orange); }
.video-thumb .play::after { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--navy); }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 13px; color: var(--white); background: rgba(7, 26, 51, .85); }
.video figcaption { margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.tile { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; color: var(--white); font-size: 14px; font-weight: 500; background: linear-gradient(transparent, rgba(7, 26, 51, .8)); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); font-size: 16px; }
.site-footer a { color: var(--on-navy-soft); }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin: 0 0 8px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--navy-line); border-radius: 999px; color: var(--on-navy); text-decoration: none; font-weight: 500; }
.social a:hover { border-color: var(--orange); color: var(--white); }
.social i { font-size: 20px; width: 22px; text-align: center; }
.footer-email i { margin-right: 10px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; padding-top: 52px; padding-bottom: 32px; }
.footer-name { font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; color: var(--on-navy); }
.footer-head { font-weight: 600; color: var(--on-navy); }
.site-footer .small { color: var(--on-navy-muted); }
.footer-base { border-top: 1px solid var(--navy-line); padding-top: 22px; padding-bottom: 36px; font-size: 14px; color: var(--on-navy-muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 48px 0 56px; }
  .hero-grid { padding-top: 40px; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .species-card, .trip-card, .tile img { transition: none; }
}
