/* ============================================================================
   Washington County Bassmasters — bold outdoors / sporty theme
   ========================================================================== */
:root {
  --ink:        #0a1626;   /* near-black navy            */
  --water:      #0c2f4f;   /* deep water blue            */
  --water-2:    #0e3d66;
  --steel:      #17324d;
  --bass:       #2f9e44;   /* bass green                 */
  --bass-dk:    #1c6b2c;
  --lime:       #b5f23d;   /* electric accent            */
  --orange:     #ff6a2b;   /* CTA / highlight            */
  --gold:       #ffcf4d;
  --silver:     #d7dee6;
  --bronze:     #e8a15b;
  --paper:      #eef2f4;
  --card:       #ffffff;
  --line:       #d8e0e6;
  --text:       #16232e;
  --muted:      #5d6f7c;
  --text-inv:   #eaf2f8;
  --shadow:     0 14px 40px rgba(8, 22, 38, .14);
  --shadow-sm:  0 6px 18px rgba(8, 22, 38, .10);
  --radius:     14px;
  --wrap:       1180px;
  --display: "Anton", "Oswald", Impact, system-ui, sans-serif;
  --head:    "Oswald", system-ui, sans-serif;
  --body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--water-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(10,22,38,.98), rgba(10,22,38,.92));
  border-bottom: 3px solid var(--lime);
  backdrop-filter: blur(6px);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 44px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.brand b {
  font-family: var(--head); font-weight: 700; letter-spacing: .04em;
  color: #fff; font-size: 1.05rem; line-height: 1.05; text-transform: uppercase;
}
.brand b span { color: var(--lime); display: block; font-size: .72rem; letter-spacing: .22em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .06em;
  font-weight: 500; font-size: .93rem; color: var(--text-inv);
  padding: 10px 14px; border-radius: 8px; transition: .15s;
}
.nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.nav-links a.active { color: var(--ink); background: var(--lime); }
.btn-login {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .06em;
  background: var(--orange); color: #fff !important; padding: 9px 16px;
  border-radius: 8px; font-size: .85rem; font-weight: 600;
}
.btn-login:hover { text-decoration: none; filter: brightness(1.08); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 10px;
  border: 0; cursor: pointer; transition: .15s; text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px rgba(255,106,43,.35); }
.btn-primary:hover { filter: brightness(1.07); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }
.btn-dark { background: var(--water); color: #fff; }
.btn-dark:hover { background: var(--water-2); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,22,38,.94) 0%, rgba(10,22,38,.72) 42%, rgba(12,47,79,.45) 100%),
    var(--hero-img, none) center/cover no-repeat;
}
.hero-inner {
  position: relative; max-width: var(--wrap); margin: 0 auto; padding: 92px 20px 120px;
}
.hero .kicker {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .28em;
  color: var(--lime); font-size: .82rem; font-weight: 500; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .92; margin: 0 0 18px;
  letter-spacing: .01em; text-shadow: 0 4px 20px rgba(0,0,0,.4);
  max-width: 15ch;
}
.hero h1 .accent { color: var(--lime); }
.hero p.lead { font-size: 1.18rem; max-width: 44ch; color: #dbe7f0; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0;
}
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* Compact page banner (interior pages) */
.pagehead {
  position: relative; color: #fff; background: var(--ink); overflow: hidden;
  border-bottom: 3px solid var(--lime);
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background: var(--hero-img, none) center/cover no-repeat;
}
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,22,38,.92), rgba(12,47,79,.7));
}
.pagehead .wrap { position: relative; z-index: 2; padding: 46px 20px; }
.pagehead .kicker {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .24em;
  color: var(--lime); font-size: .76rem; margin-bottom: 8px;
}
.pagehead h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin: 0; letter-spacing: .01em;
}

/* ---------- Sections ---------- */
section { padding: 62px 0; }
.section-head { margin-bottom: 34px; }
.section-head .kicker {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .2em;
  color: var(--orange); font-weight: 600; font-size: .82rem; margin-bottom: 6px;
}
.section-head h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; margin: 0;
  color: var(--ink); letter-spacing: .01em;
}
.section-head h2::after {
  content: ""; display: block; width: 66px; height: 5px; margin-top: 14px;
  background: var(--lime); border-radius: 3px;
}
.section-alt { background: linear-gradient(180deg, #0a1626, #0c2f4f); color: var(--text-inv); }
.section-alt .section-head h2 { color: #fff; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; border: 1px solid var(--line); transition: .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

/* Event card (upcoming) */
.event-card { display: flex; gap: 0; align-items: stretch; }
.event-date {
  background: linear-gradient(160deg, var(--water), var(--ink));
  color: #fff; padding: 18px 16px; text-align: center; min-width: 92px;
  display: flex; flex-direction: column; justify-content: center;
}
.event-date .mon { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--lime); font-size: .8rem; }
.event-date .day { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.event-date .yr { font-size: .75rem; color: #9fb6c6; }
.event-body { padding: 16px 18px; }
.event-body h3 { font-family: var(--head); text-transform: uppercase; margin: 0 0 4px; font-size: 1.15rem; color: var(--ink); letter-spacing: .02em; }
.event-body .meta { color: var(--muted); font-size: .95rem; }
.event-body .meta b { color: var(--text); font-weight: 600; }

/* Quick link tiles */
.tile {
  position: relative; display: block; color: #fff; border-radius: var(--radius);
  padding: 26px 22px; min-height: 132px; overflow: hidden; text-decoration: none;
  background: linear-gradient(150deg, var(--water-2), var(--ink)); border: 1px solid rgba(255,255,255,.06);
  transition: .18s;
}
.tile:hover { transform: translateY(-3px); text-decoration: none; box-shadow: var(--shadow); }
.tile .icon { font-size: 1.7rem; }
.tile h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 4px; font-size: 1.35rem; }
.tile p { margin: 0; color: #b9cadb; font-size: .92rem; }
.tile::after { content: "→"; position: absolute; right: 20px; bottom: 16px; color: var(--lime); font-size: 1.3rem; transition: .18s; }
.tile:hover::after { right: 14px; }

/* Document / link list cards */
.doc-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.doc-card .ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; background: var(--water); color: var(--lime); display: grid; place-items: center; font-size: 1.3rem; font-family: var(--head); }
.doc-card h3 { margin: 0; font-size: 1.05rem; font-family: var(--head); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.doc-card span { color: var(--muted); font-size: .85rem; }

/* ---------- Tables (leaderboards) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: #fff; }
table.lb { width: 100%; border-collapse: collapse; min-width: 560px; }
table.lb thead th {
  background: var(--ink); color: #fff; font-family: var(--head); text-transform: uppercase;
  letter-spacing: .05em; font-weight: 500; font-size: .82rem; padding: 12px 12px; text-align: center;
  position: sticky; top: 0; white-space: nowrap;
}
table.lb thead th:nth-child(2) { text-align: left; }
table.lb tbody td { padding: 11px 12px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.lb tbody td:nth-child(2) { text-align: left; font-weight: 600; color: var(--ink); }
table.lb tbody tr:nth-child(even) { background: #f4f8fa; }
table.lb tbody tr:hover { background: #eaf4ea; }
table.lb tbody tr td:first-child { font-family: var(--head); font-weight: 600; color: var(--muted); }
/* podium */
table.lb tbody tr.rank-1 td:first-child,
table.lb tbody tr.rank-2 td:first-child,
table.lb tbody tr.rank-3 td:first-child { color: var(--ink); }
table.lb tbody tr.rank-1 { background: linear-gradient(90deg, rgba(255,207,77,.22), transparent 60%); }
table.lb tbody tr.rank-2 { background: linear-gradient(90deg, rgba(215,222,230,.35), transparent 60%); }
table.lb tbody tr.rank-3 { background: linear-gradient(90deg, rgba(232,161,91,.22), transparent 60%); }
.medal { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; color: #3a2a00; }
.rank-1 .medal { background: var(--gold); }
.rank-2 .medal { background: var(--silver); }
.rank-3 .medal { background: var(--bronze); }

/* schedule table */
table.sched { width: 100%; border-collapse: collapse; min-width: 640px; }
table.sched thead th { background: var(--water); color:#fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; padding: 12px; text-align: left; font-size: .85rem; }
table.sched td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.sched tbody tr:hover { background: #f4f8fa; }
table.sched .date { font-family: var(--head); font-weight: 600; color: var(--ink); white-space: nowrap; }
.badge { display: inline-block; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; }
.badge.open { background: var(--orange); color:#fff; }
.badge.toc { background: var(--gold); color: #3a2a00; }

/* year switcher */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem;
  padding: 9px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff;
  color: var(--muted); cursor: pointer; transition: .15s;
}
.tab:hover { border-color: var(--water); color: var(--water); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Photo gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff;
  background: linear-gradient(transparent, rgba(8,20,34,.85)); font-family: var(--head); text-transform: uppercase; letter-spacing: .03em; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.thumbs img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; cursor: pointer; transition: .15s; }
.thumbs img:hover { outline: 3px solid var(--lime); }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(6,14,24,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 2rem; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; font-size: 1.06rem; color: #2a3a46; }
.prose h2, .prose h3 { font-family: var(--head); text-transform: uppercase; color: var(--ink); }
.prose a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c7d4; padding: 56px 0 30px; border-top: 4px solid var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer a { color: var(--lime); }
.officer { margin-bottom: 10px; }
.officer b { color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .03em; font-weight: 500; }
.officer span { display: block; font-size: .9rem; }
.sponsors { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sponsors img { height: 48px; width: auto; background: #fff; padding: 6px 8px; border-radius: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #7f95a5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.note { background: #fff8e6; border: 1px solid #f2e2b0; color: #7a5c14; padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.empty { color: var(--muted); font-style: italic; padding: 30px; text-align: center; }
.muted { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--ink); padding: 12px 16px 20px; gap: 4px; border-bottom: 3px solid var(--lime);
    transform: translateY(-130%); transition: .25s; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px; }
  .nav-toggle { display: block; }
  .btn-login { margin-left: auto; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 44px 0; }
  .event-card { flex-direction: row; }
}
