/* ==========================================================================
   Troop 927 — Summit Kayak Adventure 2026 (New River Gorge, WV)
   White-water rapids theme. Self-contained; no external image dependencies.
   ========================================================================== */

:root {
  --river-deep:  #06263c;
  --river-abyss: #041a2b;
  --river:       #0e5c86;
  --river-2:     #1682b8;
  --rapid:       #38b6e3;
  --rapid-soft:  #7fd3f0;
  --teal:        #12a4a4;
  --foam:        #eef7fc;
  --foam-2:      #d6ecf6;
  --spray:       #ffffff;
  --rock:        #38474f;
  --rock-deep:   #202b31;
  --sand:        #e7dcc2;
  --safety:      #ff6b2c;
  --safety-2:    #ff8c52;
  --sun:         #ffd447;
  --ink:         #14262f;
  --shadow:      0 10px 30px rgba(6, 38, 60, .18);
  --shadow-lg:   0 22px 55px rgba(4, 26, 43, .30);
  --radius:      18px;
  --maxw:        1120px;
  --ff-display:  "Anton", "Oswald", "Arial Narrow", sans-serif;
  --ff-head:     "Oswald", "Arial Narrow", sans-serif;
  --ff-body:     "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--river); }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 38, 60, .93);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--rapid);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--foam);
}
.brand__badge {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--rapid-soft), var(--river-2) 70%);
  display: grid; place-items: center;
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
}
.brand__name { font-family: var(--ff-head); font-weight: 600; letter-spacing: .5px; line-height: 1.25; }
.brand__name small { display: block; margin-top: 3px; font-size: .68rem; color: var(--rapid-soft); letter-spacing: 2px; text-transform: uppercase; }

.nav__links { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav__links a {
  color: var(--foam);
  text-decoration: none;
  font-family: var(--ff-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .82rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: rgba(56, 182, 227, .25); }
.nav__links a.active { background: var(--rapid); color: var(--river-abyss); }
.nav__links a.nav__back {
  background: rgba(56, 182, 227, .14);
  border: 1px solid rgba(56, 182, 227, .55);
  color: var(--rapid-soft);
}
.nav__links a.nav__back:hover { background: var(--rapid); color: var(--river-abyss); }

.nav__toggle { display: none; background: none; border: 0; color: var(--foam); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero (flowing river + rolling rapids) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--foam);
  background: linear-gradient(180deg, #0a3a58 0%, #0e5c86 40%, #1682b8 72%, #38b6e3 100%);
  isolation: isolate;
}
.hero--tall  { min-height: 84vh; }
.hero--short { min-height: 46vh; }

/* drifting light on the water surface */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    radial-gradient(120px 40px at 20% 30%, rgba(255,255,255,.10), transparent),
    radial-gradient(160px 50px at 65% 22%, rgba(255,255,255,.08), transparent),
    radial-gradient(140px 46px at 85% 40%, rgba(255,255,255,.09), transparent);
  animation: shimmer 14s ease-in-out infinite alternate;
}
@keyframes shimmer {
  0%   { transform: translateX(0) translateY(0); opacity: .8; }
  100% { transform: translateX(-40px) translateY(10px); opacity: 1; }
}

/* animated stacked wave bands rolling across the hero */
.hero__waves { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; line-height: 0; }
.hero__waves svg { display: block; width: 200%; height: auto; }
.wave-a { animation: drift 9s linear infinite; }
.wave-b { animation: drift 13s linear infinite reverse; opacity: .85; }
.wave-c { animation: drift 20s linear infinite; opacity: .7; }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* rising foam bubbles */
.hero__foam { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__foam i {
  position: absolute;
  bottom: -20px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,.25) 70%, transparent);
  opacity: .0;
  animation: rise linear infinite;
}
.hero__foam i:nth-child(1){ left: 8%;  width: 8px;  height: 8px;  animation-duration: 7s;  animation-delay: 0s; }
.hero__foam i:nth-child(2){ left: 22%; width: 14px; height: 14px; animation-duration: 9s;  animation-delay: 1.5s; }
.hero__foam i:nth-child(3){ left: 38%; width: 6px;  height: 6px;  animation-duration: 6s;  animation-delay: .8s; }
.hero__foam i:nth-child(4){ left: 54%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: 2.2s; }
.hero__foam i:nth-child(5){ left: 70%; width: 9px;  height: 9px;  animation-duration: 8s;  animation-delay: .4s; }
.hero__foam i:nth-child(6){ left: 84%; width: 16px; height: 16px; animation-duration: 11s; animation-delay: 3s; }
.hero__foam i:nth-child(7){ left: 92%; width: 7px;  height: 7px;  animation-duration: 7.5s;animation-delay: 1.1s; }
@keyframes rise {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  15%  { opacity: .9; }
  100% { transform: translateY(-70vh) scale(1.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .wave-a, .wave-b, .wave-c, .hero__foam i { animation: none; }
  .hero__foam { display: none; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 9rem;
  text-align: center;
}
.hero--short .hero__content { padding: 3.2rem 0 5.5rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .82rem;
  font-weight: 600;
  background: rgba(4,26,43,.35);
  border: 1px solid rgba(255,255,255,.4);
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: 1px;
  margin: 0 0 1.4rem;
  text-shadow: 0 2px 6px rgba(4,26,43,.55), 0 6px 22px rgba(4,26,43,.45);
}
.hero__sub {
  font-family: var(--ff-head);
  font-weight: 300;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(4,26,43,.6), 0 3px 12px rgba(4,26,43,.45);
  margin: 0 auto;
  max-width: 42ch;
}

/* ---------- Countdown ---------- */
.countdown {
  position: relative;
  z-index: 3;
  margin: -5rem auto 0;
  width: min(100% - 2.5rem, 760px);
  background: rgba(238, 247, 252, .97);
  border: 1px solid rgba(6,38,60,.1);
  border-top: 6px solid var(--rapid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.4rem 1.3rem;
  text-align: center;
}
.countdown h2 {
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--river);
  margin: 0 0 .1rem;
  font-size: 1rem;
}
.countdown__date { font-family: var(--ff-display); color: var(--safety); font-size: 1.5rem; margin-bottom: 1rem; letter-spacing: 1px; }
.countdown__grid { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; }
.cd-cell {
  min-width: 92px;
  background: linear-gradient(180deg, var(--river) 0%, var(--river-deep) 100%);
  color: var(--foam);
  border-radius: 14px;
  padding: .9rem .4rem .7rem;
  box-shadow: var(--shadow);
}
.cd-cell b { display: block; font-family: var(--ff-display); font-size: 2.2rem; line-height: 1; color: var(--rapid-soft); }
.cd-cell span { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 2px; font-size: .68rem; color: var(--rapid-soft); }
.countdown__note {
  margin: 1rem auto 0;
  max-width: 60ch;
  font-size: .85rem;
  color: var(--ink);
  background: rgba(56,182,227,.14);
  border: 1px dashed var(--rapid);
  border-radius: 12px;
  padding: .55rem .8rem;
}
.countdown__note strong { color: var(--safety); }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--tint { background: var(--foam-2); }
.section--river { background: linear-gradient(180deg, var(--river) 0%, var(--river-deep) 100%); color: var(--foam); }
.section--river a { color: var(--rapid-soft); }

.section__head { text-align: center; max-width: none; margin: 0 auto 2.6rem; }
.section__head > p { max-width: 62ch; margin-left: auto; margin-right: auto; }
.section__kicker {
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--safety);
}
.section h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  letter-spacing: .5px;
  margin: .2rem 0 .6rem;
  line-height: 1.05;
}
.section--river h2 { color: var(--rapid-soft); }
.lead { font-size: 1.12rem; }

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

.card {
  background: var(--spray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(6,38,60,.08);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__art { height: 120px; display: grid; place-items: center; font-size: 3rem; }
.card__body { padding: 1.1rem 1.2rem 1.4rem; }
.card__body h3 { font-family: var(--ff-head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 .4rem; color: var(--river); font-size: 1.12rem; }
.card__body p { margin: 0; font-size: .96rem; }

/* art fills */
.art-rapid  { background: linear-gradient(160deg, var(--rapid), var(--river)); }
.art-river  { background: linear-gradient(160deg, var(--river-2), var(--river-deep)); }
.art-safety { background: linear-gradient(160deg, var(--safety-2), var(--safety)); }
.art-teal   { background: linear-gradient(160deg, var(--teal), #0c6b6b); }
.art-sun    { background: linear-gradient(160deg, var(--sun), #e0a800); }
.art-rock   { background: linear-gradient(160deg, var(--rock), var(--rock-deep)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
  font-size: .9rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn--go { background: var(--safety); color: #fff; box-shadow: var(--shadow); }
.btn--go:hover { transform: translateY(-2px); background: var(--safety-2); }
.btn--ghost { background: transparent; color: var(--foam); border-color: var(--foam); }
.btn--ghost:hover { background: rgba(238,247,252,.15); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.6rem; }

/* ---------- Resource links ---------- */
.linklist { display: grid; gap: .8rem; }
.linkrow {
  display: flex; align-items: center; gap: 1rem;
  background: var(--spray);
  border: 1px solid rgba(6,38,60,.1);
  border-left: 5px solid var(--rapid);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
}
.linkrow:hover { transform: translateX(4px); border-left-color: var(--safety); }
.linkrow__icon { font-size: 1.6rem; }
.linkrow__txt b { font-family: var(--ff-head); font-weight: 600; letter-spacing: .5px; display: block; color: var(--river); }
.linkrow__txt span { font-size: .88rem; color: var(--ink); }
.linkrow__go { margin-left: auto; color: var(--safety); font-weight: 700; }

/* ---------- Video ---------- */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--river-deep);
  background: #000;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { text-align: center; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; color: var(--river-2); margin-top: .7rem; }

/* ---------- Feature rows (adventure page) ---------- */
.feature {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.2rem;
  align-items: center;
  background: var(--spray);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(6,38,60,.08);
  border-left: 6px solid var(--rapid);
}
.feature + .feature { margin-top: 1.1rem; }
.feature__icon {
  width: 96px; height: 96px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 3rem;
  background: linear-gradient(160deg, var(--rapid), var(--river));
  color: #fff;
}
.feature h3 { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 1px; color: var(--river); margin: 0 0 .3rem; font-size: 1.25rem; }
.feature p { margin: 0; }

/* class-of-rapids scale */
.classscale { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1rem; }
.classcell {
  text-align: center;
  border-radius: 14px;
  padding: 1rem .6rem;
  color: #fff;
  box-shadow: var(--shadow);
}
.classcell b { display: block; font-family: var(--ff-display); font-size: 1.8rem; line-height: 1; }
.classcell span { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; display: block; margin-top: .3rem; }
.c1 { background: linear-gradient(160deg, #58c7a5, #12a4a4); }
.c2 { background: linear-gradient(160deg, #38b6e3, #0e5c86); }
.c3 { background: linear-gradient(160deg, #ffb14e, #ff8c52); }
.c4 { background: linear-gradient(160deg, #ff6b2c, #d43f12); }

/* ---------- Requirement / step callouts ---------- */
.req { display: grid; gap: 1.1rem; }
.req__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--spray);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(6,38,60,.08);
}
.req__num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--rapid), var(--river));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: 400; font-size: 1.5rem;
}
.req__item h3 { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 1px; color: var(--river); margin: .1rem 0 .3rem; }
.req__item p { margin: 0; }

.alert {
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.alert--danger { background: #fff1ea; border: 2px solid var(--safety); }
.alert--info   { background: rgba(56,182,227,.14); border: 2px solid var(--river-2); }
.alert h3 { margin: 0 0 .4rem; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 1px; }
.alert--danger h3 { color: var(--safety); }
.alert--info h3 { color: var(--river); }
.alert p:last-child { margin-bottom: 0; }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checklist li {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--spray);
  border: 1px solid rgba(6,38,60,.09);
  border-radius: 12px;
  padding: .7rem .9rem;
  box-shadow: 0 4px 12px rgba(6,38,60,.07);
}
.checklist li::before { content: "🌊"; flex: none; }
.checklist--pack li::before { content: "🎒"; }
.checklist--yes li::before { content: "✅"; }
.checklist--no li::before { content: "🚫"; }
.checklist li b { color: var(--river); }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat b { display: block; font-family: var(--ff-display); font-size: 2.4rem; color: var(--rapid-soft); line-height: 1; }
.stat span { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; color: var(--rapid-soft); }

/* itinerary timeline */
.timeline { display: grid; gap: .9rem; max-width: 780px; margin: 0 auto; }
.tl {
  display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start;
  background: var(--spray);
  border: 1px solid rgba(6,38,60,.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.tl__day {
  font-family: var(--ff-display);
  background: linear-gradient(160deg, var(--rapid), var(--river-deep));
  color: #fff;
  border-radius: 10px;
  padding: .5rem;
  text-align: center;
  line-height: 1.05;
}
.tl__day small { display: block; font-family: var(--ff-head); font-size: .62rem; letter-spacing: 1px; color: var(--rapid-soft); }
.tl h3 { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: 1px; color: var(--river); margin: .1rem 0 .3rem; font-size: 1.05rem; }
.tl p { margin: 0; font-size: .95rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--river-abyss);
  color: var(--rapid-soft);
  padding: 2.6rem 0 2rem;
  text-align: center;
  border-top: 4px solid var(--rapid);
}
.footer a { color: var(--rapid-soft); text-decoration: none; }
.footer__hymn { font-family: var(--ff-display); color: var(--foam); font-size: 1.3rem; letter-spacing: 1px; margin-bottom: .6rem; text-transform: uppercase; }
.footer small { display: block; margin-top: 1rem; color: #6d90a4; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
  .classscale { grid-template-columns: repeat(2,1fr); }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(6,38,60,.98);
    padding: .5rem 1rem 1rem;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .req__item, .feature { grid-template-columns: 1fr; }
  .feature__icon { width: 72px; height: 72px; font-size: 2.2rem; }
  .tl { grid-template-columns: 70px 1fr; }
}
