/* ===== TOKENS ===== */
:root {
  --bg:        #1e2a35;
  --bg-alt:    #172028;
  --surface:   #243342;
  --border:    #2e4459;
  --blue:      #5b8fb9;
  --blue-lt:   #a8c5da;
  --blue-dk:   #2e5b7e;
  --text:      #eef2f7;
  --text-muted:#8aafc8;
  --accent:    #4a8ab5;
  --gold:      #c9a84c;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --transition:0.3s ease;
  --font:      'Georgia', 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#nav.scrolled {
  background: rgba(23,32,40,0.97);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.logo-hook {
  width: 28px; height: 28px;
  color: var(--blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links .nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  transition: background var(--transition);
}
.nav-links .nav-cta:hover { background: var(--blue-dk); color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== SECTION BACKGROUND IMAGES ===== */
.section-bg-img {
  position: relative;
  background-color: var(--bg-alt);
}
.section-bg-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.18;
  z-index: 0;
}
.section-bg-img .container,
.section-bg-img .section-header {
  position: relative;
  z-index: 1;
}
.section-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom,
    rgba(23,32,40,0.55) 0%,
    rgba(23,32,40,0.30) 50%,
    rgba(23,32,40,0.55) 100%);
  pointer-events: none;
}
/* Lighter variant for fishing section */
.section-bg-img--light::before { opacity: 0.22; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1a26 0%, #1e2a35 50%, #0a1520 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
  transform: scale(1.04);
  transition: opacity 1s ease;
}
#rippleCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(14,22,30,0.25) 0%, rgba(14,22,30,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: italic;
  color: var(--blue-lt);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.4rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}
.hero-scroll-hint span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue-lt); color: var(--blue-lt); }

/* ===== SECTIONS ===== */
.section { padding: 7rem 0; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--blue-dk);
  border-radius: 2px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-lead {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== COURSE CARDS ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.course-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.course-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.course-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}
.course-details li {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--blue-lt);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.course-details li::before {
  content: '—';
  color: var(--blue-dk);
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery-thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: #0a131c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.6rem;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-thumb img { transform: scale(1.04); }
.gallery-info { padding: 0.9rem 1rem; }
.gallery-info h4 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.gallery-info p { font-family: var(--font-sans); font-size: 0.78rem; color: var(--text-muted); }

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(91,143,185,0.03) 10px,
    rgba(91,143,185,0.03) 20px
  );
}
.placeholder-img.tall { aspect-ratio: 3/4; width: 100%; }
.placeholder-img.square { width: 140px; height: 140px; flex-shrink: 0; }
.placeholder-icon { font-size: 2rem; position: relative; }
.placeholder-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
}

/* ===== TRIPS ===== */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.trip-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.trip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.trip-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.trip-card:hover .trip-img img { transform: scale(1.05); }
.trip-body { padding: 1.5rem; }
.trip-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
  display: block;
}
.trip-body h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.trip-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.trip-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--blue-lt);
  letter-spacing: 0.05em;
}

/* ===== TALKS ===== */
.talks-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.talk-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.talk-item:hover { border-color: var(--blue); transform: translateX(4px); }
.talk-number {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--blue-dk);
  font-family: var(--font);
  min-width: 3rem;
  line-height: 1;
}
.talk-body { flex: 1; }
.talk-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.talk-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.talk-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.talk-tags span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--blue-lt);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.talks-cta { text-align: center; }
.talks-cta p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

/* ===== ABOUT ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.about-img-col { position: relative; }
.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-accent-bar {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, var(--blue), transparent);
  border-radius: 2px;
}
.about-text .section-tag { margin-bottom: 0.8rem; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-lead { font-size: 1.15rem; color: var(--text); margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; color: var(--blue-lt); line-height: 1; }
.stat-label { font-family: var(--font-sans); font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.06em; margin-top: 0.3rem; }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; }
.form-status {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  min-height: 1.4rem;
}
.form-status.success { color: #6abf87; }
.form-status.error { color: #e07070; }

.contact-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.contact-icon { font-size: 1.3rem; }
.contact-card strong { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; font-family: var(--font-sans); }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; }
.contact-quote {
  border-left: 2px solid var(--blue-dk);
  padding-left: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--blue-lt);
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-name { font-size: 1.1rem; }
.footer-copy { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }
.footer-legal { font-family: var(--font-sans); font-size: 0.75rem; color: var(--border); margin-top: 0.5rem; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,15,22,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-content { text-align: center; max-width: 90vw; }
.lightbox-content img { max-height: 80vh; border-radius: var(--radius); }
.lightbox-content p {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 2rem;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--text); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .trips-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .section-bg-img::before { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; background: var(--bg-alt); padding: 6rem 2rem 2rem; gap: 1.5rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; z-index: 100; }
  .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .talk-item { flex-direction: column; align-items: flex-start; }
  .talk-img { width: 100%; height: 140px; }
  .about-stats { gap: 1.5rem; flex-wrap: wrap; }
}
