/* ============================================
   CYPRESS LAKE BASS ANGLERS — DESIGN TOKENS
   ============================================ */
:root {
  --water-deep: #1C2313;
  --water-mid: #333B1E;
  --paper: #F2EEE3;
  --paper-line: #E1DACB;
  --ink: #16232A;
  --contour: #3E6259;
  --gold: #F16823;
  --gold-dark: #C1531C;
  --bobber: #C1502E;
  --text-light: #F2EEE3;
  --text-muted: #A9BFC2;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

a { color: inherit; }

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

.section-inner, .nav-inner, .footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAV ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 35, 19, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(217, 165, 68, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  height: 68px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--water-deep) !important;
  padding: 8px 16px;
  border-radius: 3px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: block;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background-color: var(--water-deep);
  background-image:
    linear-gradient(rgba(28, 35, 19, 0.82), rgba(28, 35, 19, 0.82)),
    url('images/camo-texture.png');
  background-repeat: repeat;
  background-size: 340px 260px;
  color: var(--text-light);
  overflow: hidden;
  padding: 90px 0 70px;
}

.cast-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#lineCast {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: castLine 2.2s ease-out 0.4s forwards;
  opacity: 0.85;
}
#bobber {
  fill: var(--bobber);
  opacity: 0;
  animation: bobberIn 0.6s ease-out 2.4s forwards, bob 2.4s ease-in-out 3s infinite;
}
@keyframes castLine { to { stroke-dashoffset: 0; } }
@keyframes bobberIn { to { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--contour); }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 14ch;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 56ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.2s;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--water-deep); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { border-color: var(--text-muted); color: var(--text-light); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-large { padding: 16px 34px; font-size: 1.05rem; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(217, 165, 68, 0.25);
  padding-top: 24px;
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.hero-stats dd {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section.paper { background: var(--paper); color: var(--ink); }
.section.dark {
  background-color: var(--water-deep);
  background-image:
    linear-gradient(rgba(28, 35, 19, 0.85), rgba(28, 35, 19, 0.85)),
    url('images/camo-texture.png');
  background-repeat: repeat;
  background-size: 340px 260px;
  color: var(--text-light);
}

.section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 24px;
  max-width: 20ch;
}
.section.dark h2 { color: var(--text-light); }

.section-lede {
  max-width: 60ch;
  font-size: 1.05rem;
  margin-bottom: 40px;
  opacity: 0.85;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.two-col p { font-size: 1rem; }

.value-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
  border-top: 1px solid var(--paper-line);
  padding-top: 24px;
  font-weight: 500;
}
.section.dark .value-row { border-color: rgba(217,165,68,0.2); }
.value-mark {
  font-family: var(--font-mono);
  color: var(--gold-dark);
  margin-right: 10px;
  font-size: 0.85rem;
}
.section.dark .value-mark { color: var(--gold); }

/* ============ SCHEDULE TABLE ============ */
.chart-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.chart-table th {
  text-align: left;
  padding: 12px 16px;
  color: var(--gold);
  border-bottom: 2px solid rgba(217,165,68,0.35);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.chart-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(217,165,68,0.12);
}
.chart-table tr:hover td { background: rgba(217,165,68,0.05); }
.table-note { font-size: 0.88rem; opacity: 0.7; }

/* ============ CARDS / ROSTER ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  padding: 28px;
}
.card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 10px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: 0.92rem; opacity: 0.8; }

/* ============ SPONSORS ============ */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.tier {
  border: 1px solid rgba(217,165,68,0.3);
  border-radius: 4px;
  padding: 28px;
}
.tier-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.tier-amount {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.tier p { font-size: 0.92rem; opacity: 0.85; }

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.logo-slot {
  border: 1px dashed rgba(217,165,68,0.4);
  border-radius: 4px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
}
.gallery-item.ph {
  background: repeating-linear-gradient(135deg, #E8E2D2, #E8E2D2 10px, #ECE7D9 10px, #ECE7D9 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--paper-line);
}
.gallery-item.ph span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--contour);
  text-align: center;
  padding: 0 12px;
}

/* ============ DONATE ============ */

/* ============ CONTACT ============ */
.contact-grid { align-items: start; }
.contact-list { list-style: none; margin-top: 20px; font-size: 0.98rem; }
.contact-list li { padding: 6px 0; }
.contact-list a { color: var(--gold-dark); text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--contour);
  margin-top: 10px;
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 10px 12px;
  border: 1px solid var(--paper-line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.contact-form button { margin-top: 16px; align-self: flex-start; }
.form-note { font-size: 0.8rem; opacity: 0.65; margin-top: 10px; }

/* ============ FOOTER ============ */
.site-footer {
  background-color: var(--water-deep);
  background-image:
    linear-gradient(rgba(28, 35, 19, 0.88), rgba(28, 35, 19, 0.88)),
    url('images/camo-texture.png');
  background-repeat: repeat;
  background-size: 340px 260px;
  color: var(--text-muted);
  padding: 32px 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--water-deep);
    flex-direction: column;
    padding: 20px 32px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid rgba(217,165,68,0.25);
  }
  .nav-links.open { display: flex; }

  .two-col, .card-grid, .tier-grid { grid-template-columns: 1fr; }
  .sponsor-logos { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-table { font-size: 0.8rem; }
  .chart-table th, .chart-table td { padding: 10px 8px; }
}

@media (max-width: 520px) {
  .gallery-grid, .sponsor-logos { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 50px; }
}

/* ============ ACCESSIBILITY ============ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
