/* RiverRise Fishing Guides — styled to match riverrisefishing.com */

:root {
  --blue: #14b9f1;        /* site accent: kickers, buttons */
  --blue-deep: #0a6ea8;   /* links and small blue text on light backgrounds (passes WCAG AA) */
  --btn: #0f78b8;         /* button fill: dark enough for white text to pass AA */
  --teal: #0c3543;        /* dark bands, overlays */
  --ink: #444444;         /* headings */
  --text: #555a5e;        /* body copy */
  --line: #e6e8ea;
  --alt: #f7f7f7;         /* alternating band */
  --dark: #121417;
  --navy: #0c3543;
}

* { box-sizing: border-box; }
/* images carry their real width/height (stops layout jumping); CSS decides the display size */
img { height: auto; max-width: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: "Barlow", Arial, sans-serif; font-size: 17px; line-height: 1.65; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
p { margin: 0 0 14px; }

h1, h2, h3 { font-family: "Bebas Neue", "League Gothic", "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); margin: 0 0 14px; line-height: 1; }
h2 { font-size: 54px; }
h3 { font-size: 34px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.small { font-size: 14px; color: #8a9094; }
.opt { font-weight: 400; color: #8a9094; font-size: 14px; }

.kicker { font-family: "Barlow", sans-serif; font-weight: 500; text-transform: uppercase; color: var(--blue); font-size: 26px; line-height: 1.1; letter-spacing: .3px; margin: 0 0 4px; }
.kicker.sm { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.kicker.xs { font-size: 12px; font-weight: 700; letter-spacing: .8px; margin-bottom: 4px; }
.lead { max-width: 760px; margin: 6px auto 0; font-size: 16px; }

.btn {
  display: inline-block; background: var(--blue); color: #fff !important; text-decoration: none;
  font-family: "Barlow", Arial, sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .6px;
  padding: 12px 24px; border-radius: 4px; border: 0; cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--blue-deep); }
.btn.block { display: block; width: 100%; text-align: center; padding: 14px; }
.btn.big { font-size: 14px; padding: 16px; }
.btn.outline { background: transparent; border: 2px solid var(--blue); color: var(--blue) !important; }
.btn.outline:hover { background: var(--blue); color: #fff !important; }

/* header: blue announcement strip + black nav bar, as on riverrisefishing.com */
.topbar { background: var(--blue); text-align: center; padding: 6px 16px; }
.topbar a { font-family: "League Gothic", "Bebas Neue", "Arial Narrow", sans-serif; font-size: 26px; line-height: 32px; text-transform: uppercase; color: #3a3d41; text-decoration: none; letter-spacing: .2px; }
.topbar a:hover { color: #fff; }

.top { background: rgba(0,0,0,.95); position: sticky; top: 0; z-index: 30; transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.35); }
.top-in { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 104px; display: flex; align-items: center; gap: 32px; transition: height .25s; }
.top.scrolled .top-in { height: 78px; }
.logo { flex: none; }
.logo img { width: 200px; height: auto; transition: width .25s; }
.top.scrolled .logo img { width: 150px; }

.mainnav { margin-left: auto; }
.mainnav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.mainnav li { position: relative; }
.mainnav > ul > li > a:not(.btn) {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  font-family: "League Gothic", "Bebas Neue", "Arial Narrow", sans-serif; font-size: 26px; line-height: 1; text-transform: uppercase;
  color: #fff; text-decoration: none; letter-spacing: .3px;
}
.mainnav > ul > li > a:not(.btn):hover, .mainnav a.active { color: var(--blue); }
.chev { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.has-sub:hover .chev, .has-sub:focus-within .chev { transform: rotate(180deg); }
.sub {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; left: 6px; top: 100%; min-width: 250px;
  background: #111; border-top: 3px solid var(--blue); box-shadow: 0 10px 24px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 20px; color: #e9edef; text-decoration: none; font-size: 15px; font-weight: 500; }
.sub a:hover { background: #1c1f22; color: var(--blue); }
.nav-cta { margin-left: 18px; }
.nav-cta .btn { padding: 13px 22px; font-size: 13px; }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1240px) {
  .mainnav > ul > li > a:not(.btn) { padding: 10px 11px; font-size: 23px; }
  .nav-cta { margin-left: 8px; }
  .top-in { padding: 0 24px; gap: 20px; }
  .logo img { width: 170px; }
}
@media (max-width: 1000px) {
  .topbar a { font-size: 19px; line-height: 24px; }
  .top-in, .top.scrolled .top-in { height: 74px; }
  .logo img, .top.scrolled .logo img { width: 130px; }
  .menu-toggle { display: block; }
  .mainnav { position: absolute; left: 0; right: 0; top: 100%; background: #0d0d0d; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .mainnav.open { max-height: calc(100vh - 74px); overflow-y: auto; border-top: 1px solid #222; }
  .mainnav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; }
  .mainnav > ul > li > a:not(.btn) { padding: 13px 24px; font-size: 26px; justify-content: space-between; border-bottom: 1px solid #1c1c1c; }
  .chev { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 2px 0 8px; min-width: 0; }
  .sub a { padding: 8px 40px; font-size: 16px; color: #b9c3c7; }
  .nav-cta { margin: 16px 24px 0; }
  .nav-cta .btn { display: block; text-align: center; padding: 15px; font-size: 14px; }
}

/* promo band (matches the site's "Save 10%" box) */
.promo-band { background: var(--teal); color: #d6e6ea; padding: 26px 0; }
.promo-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.promo-band p { margin: 0; }
.promo-title { font-family: "Bebas Neue", sans-serif; font-size: 36px; color: #fff; line-height: 1; }
.promo-band b { color: #fff; }
.promo-band .btn { margin-left: auto; }

/* bands */
.band { padding: 80px 0; }
.band.alt { background: var(--alt); }
.intro-band { padding-bottom: 20px; }
.band.alt.intro-band { padding-bottom: 80px; }

/* split rows (owner, species, guide) */
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.split-photo.cutout img { aspect-ratio: auto; object-fit: contain; max-height: 620px; margin: 0 auto; }
.split-photo.wide img { aspect-ratio: 4 / 3; }
.split-text p { font-size: 16px; }
.split-text h2 { font-size: 48px; }
.owner .split-text h2 { margin-bottom: 18px; }
.sig { width: 230px; margin-top: 4px; }
.facts { font-weight: 600; color: var(--ink); font-size: 15px !important; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }

.species { padding: 56px 0 40px; }
.species .split-photo img { aspect-ratio: 1 / 1; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 34px; }
.thumbs img { width: 100%; aspect-ratio: 460 / 295; object-fit: cover; }

.river-row { margin-top: 48px; }
.river-row.flip .split-photo { order: 2; }

/* run chart */
.table-scroll { overflow-x: auto; margin: 36px 0 10px; }
.runs { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; background: #fff; }
.runs th { font-weight: 700; text-align: left; padding: 8px 10px; color: var(--ink); }
.runs thead th { text-align: center; border-left: 1px solid var(--line); text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }
.runs thead th:first-child { border-left: 0; }
.runs .sub th { font-weight: 500; color: #8a9094; font-size: 12px; }
.runs tbody th { white-space: nowrap; width: 150px; }
.runs td { border-left: 1px solid var(--line); border-top: 1px solid var(--line); height: 40px; }
.runs tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.runs td.on { background: #9fdcf5; }
.runs td.pk { background: var(--blue); }
.key { font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.key a { margin-left: auto; }
.k { display: inline-block; width: 18px; height: 12px; }
.k.on { background: #9fdcf5; }
.k.pk { background: var(--blue); margin-left: 12px; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 50px; }
.feature h3 { font-family: "Barlow", sans-serif; text-transform: none; font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--ink); margin: 14px 0 6px; }
.feature p { font-size: 15px; max-width: 300px; margin: 0 auto; }
.ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* trip cards */
.trip-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; margin-top: 44px; }
.trip-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.08); display: flex; flex-direction: column; text-align: left; }
.trip-top { position: relative; height: 230px; background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 22px; }
.trip-top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,53,67,0) 30%, rgba(12,53,67,.85) 100%); }
.trip-top > * { position: relative; }
.trip-top h3 { color: #fff; font-size: 38px; margin: 0; }
.price { color: #fff; font-family: "Bebas Neue", sans-serif; font-size: 40px; line-height: .9; margin: 0; text-align: right; }
.price small { display: block; font-family: "Barlow", sans-serif; font-size: 13px; }
.tag { position: absolute; top: 16px; left: 16px; background: var(--btn); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 4px 9px; border-radius: 3px; }
.tag.dark { background: #fff; color: var(--teal); }
.trip-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.trip-body p { font-size: 16px; }
.meta { font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--blue-deep); }
.meta span { margin-left: 16px; }
.checks { list-style: none; padding: 0; margin: 4px 0 22px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--blue); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.trip-body .btn { margin-top: auto; }
.season-strip { max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 6px; box-shadow: 0 4px 24px rgba(0,0,0,.06); margin-top: 22px; }
.season-strip > div { padding: 18px 22px; border-left: 1px solid var(--line); }
.season-strip > div:first-child { border-left: 0; }
.season-strip h3 { font-size: 24px; margin-bottom: 4px; }
.season-strip p { font-size: 14px; margin: 0; }
.trust-row { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 14px; }
.trust-row li::before { content: "•"; color: var(--blue); margin-right: 8px; font-size: 18px; vertical-align: -1px; }

/* dark gallery */
.band.dark { background: #16191c; }
.band.dark h2 { color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 40px 0 34px; padding: 0 6px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; margin-bottom: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.stars { color: #f6bb06; letter-spacing: 2px; font-size: 16px; }
.review blockquote { margin: 10px 0 14px; font-size: 15px; color: var(--text); }
.review figcaption { font-size: 13px; color: #8a9094; }
.review figcaption b { color: var(--ink); }

/* booking */
.book-card { max-width: 860px; margin-top: 40px; background: #fff; border-radius: 6px; box-shadow: 0 4px 30px rgba(0,0,0,.09); padding: 34px 38px; }
#bookForm label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-row.end { align-items: end; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: 400 16px "Barlow", Arial, sans-serif; color: var(--ink); padding: 11px 12px; border: 1px solid #cfd5d9; border-radius: 4px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
input.bad { border-color: #c62828; outline: 1px solid #c62828; }
.date-note { font-size: 14px; color: var(--blue-deep); font-weight: 600; margin: -6px 0 14px; min-height: 1px; }
.date-note.warn { color: #b45309; }
.estimate { font-size: 15px; text-align: right; margin: 0 0 18px; color: var(--ink); }
.estimate b { font-family: "Bebas Neue", sans-serif; font-size: 34px; font-weight: 400; color: var(--ink); }
.thanks { text-align: center; padding: 20px 0; }

/* faq */
.faq { margin-top: 34px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding-bottom: 16px; font-size: 16px; }

/* donation strip + footer */
.donate { background: var(--blue); text-align: center; padding: 16px 24px; }
.donate p { margin: 0; font-family: "Bebas Neue", sans-serif; color: #fff; font-size: 30px; line-height: 1.1; letter-spacing: .5px; }
.foot { position: relative; color: #e8eef0; padding: 60px 0 30px; background: url('https://riverrisefishing.com/wp-content/uploads/2024/12/DJI_20240628223307_0003_D-scaled-1-1.jpeg') center / cover; }
.foot::before { content: ""; position: absolute; inset: 0; background: rgba(6,22,30,.85); }
.foot > * { position: relative; }
.foot-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.foot-logo { width: 300px; }
.foot-text p { font-size: 16px; text-align: right; }
.foot-text { text-align: right; }
.foot a { color: #fff; }
.foot-contact { text-align: center; margin-top: 36px; font-weight: 600; }
.copy { text-align: center; font-size: 13px; color: #9fb2b8; margin-top: 10px; }

.callbar { display: none; }

@media (max-width: 1000px) {
  .split-in { grid-template-columns: 1fr; gap: 30px; }
  .river-row.flip .split-photo { order: 0; }
  .owner .split-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr; text-align: center; }
  .foot-logo { margin: 0 auto; }
  .foot-text, .foot-text p { text-align: center; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  h2, .split-text h2 { font-size: 40px; }
  h3 { font-size: 30px; }
  .kicker { font-size: 20px; }
  .band { padding: 56px 0; }
  .wrap { padding: 0 20px; }
  .promo-band .btn { margin-left: 0; }
  .thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .features { grid-template-columns: 1fr; gap: 30px; }
  .trip-cards, .season-strip, .review-grid, .f-row { grid-template-columns: 1fr; }
  .season-strip > div { border-left: 0; border-top: 1px solid var(--line); }
  .season-strip > div:first-child { border-top: 0; }
  .f-row { gap: 0; }
  .estimate { text-align: left; }
  .book-card { padding: 24px 20px; }
  .meta span { margin-left: 10px; }
  .donate p { font-size: 22px; }
  .foot { padding-bottom: 90px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; }
  .callbar a { text-align: center; padding: 15px 8px max(15px, calc(env(safe-area-inset-bottom) + 6px)); font-weight: 700; font-size: 15px; text-decoration: none; color: #fff; background: #111; }
  .callbar a + a { background: var(--btn); }
}

/* ---------- 3D river ride ---------- */
.ride { position: relative; height: 400vh; background: var(--navy); }
.ride-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.ride-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ride-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ride-stage.is-3d .ride-fallback { display: none; }
.ride-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,18,24,.62) 0%, rgba(10,18,24,.25) 38%, rgba(10,18,24,0) 60%);
}
.chapter {
  position: absolute; z-index: 2; left: max(24px, calc((100vw - 1120px) / 2 + 24px)); bottom: 12vh;
  max-width: 520px; color: #fff; opacity: 0; visibility: hidden;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.chapter h1, .chapter h2 { color: #fff; font-weight: 400; }
.chapter h1 { font-size: clamp(50px, 7vw, 92px); line-height: .92; margin-bottom: 18px; }
.chapter h2 { font-size: clamp(46px, 6vw, 80px); line-height: .92; }
.chapter p { font-size: 19px; color: #e8edf0; }
.mile { font-family: "Barlow", sans-serif; font-size: 14px !important; font-weight: 700; letter-spacing: .5px; color: #a9c4e8 !important; margin-bottom: 10px; }
.chapter-links { display: flex; gap: 22px; align-items: center; margin-top: 24px; }
.chapter .button { text-shadow: none; }
.phone-link { font-family: "Barlow", sans-serif; font-weight: 700; color: #fff; }
.phone-link:hover { color: #fff; }
.ride-map {
  position: absolute; z-index: 2; right: max(24px, calc((100vw - 1120px) / 2 + 24px)); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid rgba(255,255,255,.35);
  font-family: "Barlow", sans-serif; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55);
}
.ride-map li { padding: 9px 0; position: relative; transition: color .3s; }
.ride-map li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255,255,255,.5); }
.ride-map li.on { color: #fff; }
.ride-map li.on::before { background: var(--blue); border-color: #fff; }
.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0;
  font-family: "Barlow", sans-serif; font-size: 13px; font-weight: 600; color: #fff; opacity: .85; transition: opacity .4s;
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 26px; background: #fff; margin: 8px auto 0; animation: drip 1.8s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.scroll-hint.gone { opacity: 0; }

@media (max-width: 900px) {
  .ride-map { display: none; }
    }
@media (max-width: 640px) {
  .ride { height: 480vh; }
  .ride-stage::after { background: linear-gradient(0deg, rgba(10,18,24,.75) 0%, rgba(10,18,24,.35) 45%, rgba(10,18,24,0) 70%); }
  .chapter { left: 20px; right: 20px; bottom: 90px; }
  .chapter h1 br, .chapter h2 br { display: none; }
  .chapter p { font-size: 16px; }
  .scroll-hint { bottom: 70px; }
  }
@media (max-width: 640px) {
  .chapter .chapter-links { display: none; }
  .chapter { bottom: 84px; }
}

@media (max-width: 640px) { .chapter h2 { font-size: 44px; } }

/* ---------- owner section: real photo, the river opens up behind them ---------- */
:root { --hdr: 78px; }
.owner-reveal { position: relative; background: #fff; }
.owner-stage { position: relative; }
.owner-copy { position: relative; z-index: 4; }
.owner-copy h2 { font-size: 46px; margin-bottom: 16px; }
.owner-copy p { font-size: 15.5px; line-height: 1.6; }
.owner-copy .sig { width: 210px; }
.owner-bg, .owner-white, .owner-shadow, .owner-bubble { display: none; }

/* without JS: a normal two-column section */
.owner-reveal:not(.is-anim) .owner-stage { max-width: 1180px; margin: 0 auto; padding: 80px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.owner-reveal:not(.is-anim) .owner-photo { order: 2; margin: 0; }
.owner-reveal:not(.is-anim) .owner-photo img { max-height: 620px; margin: 0 auto; }

/* animated */
.owner-reveal.is-anim { height: 260vh; }
.owner-reveal.is-anim .owner-stage {
  position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100dvh - var(--hdr)); overflow: hidden;
  --r: 0; --blur: 0px; --zoom: 1.12; --px: 72%; --py: 55%;
}
.owner-reveal.is-anim .owner-bg {
  display: block; position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: radial-gradient(circle at var(--px) var(--py), #000 calc(var(--r) * 1%), transparent calc(var(--r) * 1% + 18%));
          mask-image: radial-gradient(circle at var(--px) var(--py), #000 calc(var(--r) * 1%), transparent calc(var(--r) * 1% + 18%));
}
.owner-reveal.is-anim .owner-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  transform: scale(var(--zoom)); filter: blur(var(--blur)) saturate(1.05) brightness(var(--bright, 1));
  will-change: transform;
}
.owner-reveal.is-anim .owner-white { display: block; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.owner-reveal.is-anim .owner-photo {
  position: absolute; z-index: 3; margin: 0; right: max(28px, calc((100vw - 1180px) / 2 + 28px)); bottom: 0;
  height: 92%; aspect-ratio: 643 / 754; transform-origin: 50% 100%; will-change: transform;
}
.owner-reveal.is-anim .owner-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
.owner-reveal.is-anim .owner-shadow {
  display: block; position: absolute; left: 8%; right: 8%; bottom: -3%; height: 12%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.35), rgba(0,0,0,0) 70%); opacity: 0;
}
.owner-reveal.is-anim .owner-bubble {
  display: block; position: absolute; z-index: 2; left: 2%; top: 1%; margin: 0; opacity: 0; transform: translateY(10px) scale(.92); transform-origin: 80% 100%;
  background: #fff; color: var(--ink); font-family: "Bebas Neue", sans-serif; font-size: 30px; letter-spacing: .5px; line-height: 1;
  padding: 12px 18px; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.18); white-space: nowrap;
}
.owner-reveal.is-anim .owner-bubble::after { content: ""; position: absolute; right: 22px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.owner-reveal.is-anim .owner-copy {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: max(28px, calc((100vw - 1180px) / 2 + 28px)); width: min(540px, 42vw);
  padding: 30px 34px; border-radius: 8px;
  background: rgba(255,255,255, var(--card, 0)); box-shadow: 0 12px 40px rgba(0,0,0, calc(var(--card, 0) * .22));
}

/* phones / short screens: the photo and river get the screen, the letter follows below */
@media (max-width: 999px), (max-height: 639px) {
  :root { --hdr: 74px; }
  .owner-reveal.is-anim { height: 200vh; }
  .owner-reveal.is-anim .owner-stage { --px: 50%; --py: 46%; }
  .owner-reveal.is-anim .owner-photo { left: 50%; right: auto; height: auto; width: min(92vw, 520px); translate: -50% 0; }
  .owner-reveal:not(.is-anim) .owner-stage { grid-template-columns: 1fr; padding: 56px 20px; }
  .owner-reveal:not(.is-anim) .owner-photo { order: -1; }
  .owner-copy h2 { font-size: 38px; }
}
.owner-copy-below { max-width: 1180px; margin: 0 auto; padding: 48px 20px 56px; }
@media (prefers-reduced-motion: reduce) { .owner-reveal.is-anim .owner-bg img { transform: none; } }

/* =========================================================
   Motion sections (inspired by the hero float and the owner reveal)
   ========================================================= */

/* generic reveal: only hides content once motion.js has started */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* ---------- species reel ---------- */
.reel { position: relative; background: #0d1d23; }
.motion .reel { height: 440vh; }
.reel-stage { position: relative; overflow: hidden; color: #d7e4e7; }
.motion .reel-stage { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100dvh - var(--hdr)); }
.reel-head { position: absolute; z-index: 3; top: 26px; left: max(28px, calc((100vw - 1180px) / 2 + 28px)); right: 28px; }
.reel-head h2 { color: #fff; font-size: 44px; margin: 0; }
.reel-track { display: flex; width: 400%; height: 100%; transform: translate3d(calc(var(--x, 0) * -25%), 0, 0); will-change: transform; }
.reel-slide {
  width: 25%; height: 100%; flex: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
  padding: 120px max(28px, calc((100vw - 1180px) / 2 + 28px)) 150px;
}
.reel-photo { height: 100%; max-height: 560px; border-radius: 10px; overflow: hidden; clip-path: inset(calc(var(--hide, 0) * 16%) calc(var(--hide, 0) * 10%) round 10px); will-change: clip-path; }
.reel-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + var(--hide, 0) * .18)); will-change: transform; }
.reel-text { transform: translate3d(calc(var(--tx, 0) * 1px), 0, 0); opacity: var(--to, 1); will-change: transform, opacity; }
.reel-text h3 { color: #fff; font-size: 58px; margin-bottom: 16px; }
.reel-text p { font-size: 16.5px; color: #c4d4d8; }
.reel-text .facts { color: #fff; border-top-color: rgba(255,255,255,.16); }
.reel-text .btn { margin-top: 10px; }
.reel-count { font-family: "League Gothic", "Bebas Neue", sans-serif; font-size: 22px !important; letter-spacing: 2px; color: rgba(255,255,255,.45) !important; margin-bottom: 4px; }

.reel-timeline { position: absolute; z-index: 3; left: max(28px, calc((100vw - 1180px) / 2 + 28px)); right: max(28px, calc((100vw - 1180px) / 2 + 28px)); bottom: 22px; display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: end; }
.reel-tl-title { font-family: "Barlow", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--blue); margin: 0 0 4px; line-height: 1.3; }
.tl-grid { position: relative; padding-top: 18px; }
.tl-months { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 30fr 31fr 31fr 15fr; font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tl-months span { border-left: 1px solid rgba(255,255,255,.15); padding-left: 6px; }
.tl-bar { position: relative; height: 13px; margin-top: 4px; left: calc(var(--a) / 107 * 100%); width: calc((var(--b) - var(--a) + 1) / 107 * 100%); background: rgba(255,255,255,.14); border-radius: 3px; transition: background .4s; }
.tl-bar b { position: absolute; left: 6px; top: 0; font-size: 9.5px; line-height: 13px; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.75); }
.tl-bar.on { background: var(--blue); }
.tl-bar.on b { color: #fff; }
.tl-marker { position: absolute; top: 14px; bottom: -4px; left: calc(var(--m, 6) / 107 * 100%); width: 2px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.6); }
.tl-marker::before { content: ""; position: absolute; top: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

/* ---------- gear: pinned photo, items light up ---------- */
.gear { padding: 100px 0 60px; background: #fff; }
.gear-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.gear-photo { position: sticky; top: calc(var(--hdr) + 40px); height: calc(100vh - var(--hdr) - 80px); border-radius: 10px; overflow: hidden; }
.gear-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.12)); will-change: transform; }
.gear-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,24,30,.75) 0%, rgba(8,24,30,0) 50%); }
.gear-quote { position: absolute; z-index: 1; left: 30px; bottom: 26px; margin: 0; color: #fff; font-family: "Bebas Neue", sans-serif; font-size: 52px; line-height: .95; letter-spacing: .5px; }
.gear-quote span { display: block; color: var(--blue); }
.gear-list { padding: 0 0 4vh; }   /* starts level with the top of the photo */
.gear-list h2 { margin-bottom: 30px; }
.gear-item { display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); opacity: .45; transform: translateX(18px); transition: opacity .6s ease, transform .6s ease; }
.no-motion .gear-item, .gear-item.on { opacity: 1; transform: none; }
.gear-item .ico { grid-row: span 2; width: 56px; height: 56px; }
.gear-item h3 { font-family: "Barlow", sans-serif; text-transform: none; letter-spacing: 0; font-size: 24px; font-weight: 600; color: var(--ink); margin: 2px 0 0; }
.gear-item p { margin: 0; font-size: 16px; }
.gear-item .ico svg * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.2s ease .15s; }
.no-motion .gear-item .ico svg *, .gear-item.on .ico svg * { stroke-dashoffset: 0; }

/* ---------- trips ---------- */
.trips-band { overflow: hidden; }
.promo-chip { max-width: 1000px; margin-top: 30px; display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; background: var(--teal); color: #d6e6ea; border-radius: 6px; padding: 14px 20px; }
.promo-chip p { margin: 0; font-size: 15px; }
.promo-chip-tag { font-family: "Bebas Neue", sans-serif; font-size: 26px; color: #fff; letter-spacing: .5px; }
.code { font: inherit; font-weight: 700; background: var(--btn); color: #fff; border: 0; border-radius: 4px; padding: 3px 9px; cursor: pointer; letter-spacing: .5px; }
.code.copied::after { content: " ✓ copied"; }
.motion .trip-card { transform: perspective(1200px) rotateX(calc(var(--tilt, 0) * 1deg)) translate3d(0, calc(var(--lift, 0) * 1px), 0); opacity: var(--op, 1); transform-origin: 50% 100%; will-change: transform; }
.trip-top { background-position: center calc(50% + var(--py, 0px)); }

/* ---------- drifting gallery ---------- */
.drift { background: #121518; padding: 90px 0 70px; overflow: hidden; }
.drift h2 { color: #fff; margin-bottom: 40px; }
.drift-row { overflow: hidden; margin: 14px 0; }
.drift-strip { display: flex; gap: 14px; width: max-content; transform: translate3d(var(--dx, 0px), 0, 0); will-change: transform; }
.drift-strip img { width: 340px; height: 230px; object-fit: cover; border-radius: 6px; flex: none; }
.drift .center { margin-top: 34px; }

/* ---------- Captain Rob ---------- */
.rob { padding: 110px 0; background: #fff; }
.rob-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rob-photo { margin: 0; border-radius: 10px; overflow: hidden; }
.rob-photo img { width: 100%; aspect-ratio: 643 / 755; object-fit: cover; }
.motion .rob-photo { clip-path: circle(calc(var(--rr, 14) * 1%) at 50% 42%); }
.motion .rob-photo img { transform: scale(var(--rs, 1.16)); will-change: transform; }
.rob-text h2 { font-size: 48px; }
.rob-text p { font-size: 16px; }
.motion .sig-write { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.6,.1,.3,1) .3s; }
.motion .sig-write.in { clip-path: inset(0 0 0 0); }

/* ---------- donation ticker ---------- */
.donate { overflow: hidden; padding: 14px 0; }
.donate-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 60s linear infinite; }
.donate-track span { font-family: "Bebas Neue", sans-serif; color: #fff; font-size: 30px; letter-spacing: .5px; white-space: nowrap; line-height: 1; }
.donate-track i { color: #0c3543; font-style: normal; font-size: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- phones ---------- */
@media (max-width: 999px), (max-height: 639px) {
  .motion .reel { height: 400vh; }
  .reel-head { top: 16px; left: 20px; }
  .reel-head .kicker { font-size: 16px; }
  .reel-head h2 { font-size: 28px; padding-right: 10px; }
  .reel-slide { grid-template-columns: 1fr; grid-template-rows: 46% auto; gap: 14px; padding: 96px 20px 170px; align-items: start; }
  .reel-photo { max-height: none; }
  .reel-text h3 { font-size: 36px; margin-bottom: 8px; }
  .reel-text p { font-size: 15px; margin-bottom: 8px; }
  .reel-text .btn, .reel-count { display: none; }
  .reel-timeline { left: 20px; right: 20px; bottom: 72px; grid-template-columns: 1fr; gap: 4px; }
  .tl-bar { height: 10px; margin-top: 3px; }
  .tl-bar b { font-size: 8px; line-height: 10px; }
  .gear { padding: 60px 0; }
  .gear-in { grid-template-columns: 1fr; gap: 10px; }
  .gear-photo { position: relative; top: 0; height: 52vh; }
  .gear-quote { font-size: 40px; left: 20px; }
  .gear-list { padding: 20px 0 0; }
  .gear-item { padding: 22px 0; }
  .drift-strip img { width: 240px; height: 165px; }
  .rob { padding: 60px 0; }
  .rob-in { grid-template-columns: 1fr; gap: 30px; }
  .rob-text h2 { font-size: 38px; }
  .donate-track span { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .donate-track { animation: none; }
  .motion [data-reveal] { opacity: 1; transform: none; transition: none; }
}
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* booking calendar embed spot (the existing RiverRise calendar goes here) */
.booking-embed { max-width: 1000px; margin-top: 22px; }
.booking-placeholder { margin: 0; border: 2px dashed #b9c7cc; border-radius: 6px; padding: 26px; text-align: center; color: #7b8a90; font-weight: 600; background: #fff; }

/* ---------- smaller header ---------- */
.topbar { padding: 4px 16px; }
.topbar a { font-size: 19px; line-height: 24px; }
.top-in { height: 78px; }
.top.scrolled .top-in { height: 62px; }
.logo img { width: 150px; }
.top.scrolled .logo img { width: 116px; }
.mainnav > ul > li > a:not(.btn) { font-size: 21px; padding: 8px 14px; }
.chev { width: 10px; height: 7px; }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 10px 18px; font-size: 12px; }
:root { --hdr: 62px; }
html { scroll-padding-top: 96px; }
@media (max-width: 1240px) {
  .mainnav > ul > li > a:not(.btn) { font-size: 19px; padding: 8px 9px; }
  .logo img { width: 135px; }
}
@media (max-width: 1000px) {
  .topbar a { font-size: 15px; line-height: 20px; }
  .top-in, .top.scrolled .top-in { height: 60px; }
  .logo img, .top.scrolled .logo img { width: 108px; }
  .mainnav { top: 100%; }
  .mainnav.open { max-height: calc(100vh - 60px); }
  .mainnav > ul > li > a:not(.btn) { font-size: 22px; padding: 11px 24px; }
}
@media (max-width: 999px), (max-height: 639px) { :root { --hdr: 60px; } }
@media (max-width: 640px) { .tb-long { display: none; } .topbar a { font-size: 17px; } }
/* no one-word last lines: balance paragraph endings site-wide */
p, li, blockquote, figcaption { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
/* "Hey there!" sits right above Nick's cap (he's on the left in the photo) */
.owner-reveal.is-anim .owner-bubble { left: 43%; top: auto; bottom: 89%; translate: -50% 0; transform-origin: 50% 100%; }
.owner-reveal.is-anim .owner-bubble::after { right: auto; left: 50%; margin-left: -10px; }

/* hero: start the 3D stage under the header so the opening text isn't pushed below the fold */
.ride { margin-top: calc(var(--top-offset, 0px) * -1); }

/* price-card details: never break inside a detail */
.meta span { white-space: nowrap; display: inline-block; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.meta span { margin-left: 0 !important; }

/* species reel on short phones: smaller photo and type so text clears the timeline */
@media (max-width: 999px) and (max-height: 780px) {
  .reel-slide { grid-template-rows: 42% auto; gap: 12px; padding-top: 96px; }
  .reel-text h3 { font-size: 31px; margin-bottom: 6px; }
  .reel-text p { font-size: 14.5px; line-height: 1.5; margin-bottom: 6px; }
  .reel-text .facts { padding-top: 8px; margin-top: 8px; font-size: 14px !important; }
  .reel-head h2 { font-size: 25px; }
}
.topbar { position: relative; z-index: 31; }
@media (max-width: 640px) { .scroll-hint { display: none; } }

/* phones: shorter pinned scenes so the page plays faster */
@media (max-width: 999px), (max-height: 639px) {
  .ride { height: 270vh; }
  .owner-reveal.is-anim { height: 150vh; }
  .motion .reel { height: 300vh; }
}

/* species reel: link through to each fish's own page */
.reel-more { display: inline-block; margin: 10px 0 0 18px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 1px; }
.reel-more:hover { color: var(--blue); }
@media (max-width: 999px), (max-height: 639px) { .reel-more { margin: 4px 0 0; font-size: 14px; } }

/* "Skip the float": a quiet way past the 3D hero for visitors in a hurry */
.skip-float { position: absolute; z-index: 6; right: 28px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; background: rgba(8,20,26,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .3px; text-decoration: none; transition: background .25s, border-color .25s, opacity .35s, transform .35s; }
.skip-float:hover { background: var(--blue); border-color: var(--blue); }
.skip-float svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-float.gone { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (max-width: 999px), (max-height: 639px) { .skip-float { top: calc(var(--top-offset, 90px) + 12px); bottom: auto; right: 14px; padding: 7px 13px; font-size: 13px; } .skip-float.gone { transform: translateY(-8px); } }

/* owner section on phones: river photo full-bleed (no white vignette), and the bottom
   fades to white so the cut-off photo blends into the letter that follows */
@media (max-width: 999px), (max-height: 639px) {
  .owner-reveal.is-anim .owner-bg { -webkit-mask-image: none; mask-image: none; }
  .owner-reveal.is-anim .owner-bg img { object-position: center 40%; }
  .owner-reveal.is-anim .owner-stage::after { content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 60%, #fff 100%); pointer-events: none; }
  .owner-reveal.is-anim .owner-photo { bottom: -2%; }
}

/* "Save 10%" banner on phones: inset from the edges, centered, code never splits */
@media (max-width: 999px) {
  .promo-chip { margin-left: 20px; margin-right: 20px; flex-direction: column; gap: 6px; text-align: center; padding: 18px 20px 20px; }
  .promo-chip p { font-size: 15px; line-height: 1.7; max-width: 300px; }
  .promo-chip .code { white-space: nowrap; }
}
.nowrap { white-space: nowrap; }

/* phones: the dates strip under the trip cards repeats the cards and the fish pages */
@media (max-width: 999px) {
  .season-strip { display: none; }
}
html { background-color: #111; }   /* overscroll past the dark footer stays dark */

/* phones: the run-timing bar sits above the call bar (and the iPhone home-indicator area) */
@media (max-width: 680px) {
  .reel-timeline { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* the smallest phones (iPhone SE size): no room for the run-timing bar under the species text */
@media (max-width: 999px) and (max-height: 700px) { .reel-timeline { display: none; } .reel-slide { padding-bottom: 90px; } }

/* phones: the boat-size line repeats what's on the trip cards, so drop it and give the photo the room */
@media (max-width: 999px) { .reel-text .facts { display: none; } .reel-more { margin-top: 2px; } }

/* ---------- readability + accessibility ---------- */
.btn { background: var(--btn); }
.btn:hover { background: var(--blue-deep); }
.kicker { color: var(--blue-deep); }
/* bright accent stays where it sits on dark backgrounds */
.reel .kicker, .drift .kicker, .phero .kicker, .chapter .kicker, .priver-next .kicker, .kruns .kicker, .foot .kicker, .tool-a .ta-k, .lic-card .kicker { color: var(--blue); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--teal); font-weight: 700; padding: 10px 16px; border-radius: 4px; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--teal); border-radius: 3px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* reduced motion or no JS: the species reel stacks instead of scrolling sideways */
html:not(.motion) .reel-track { width: auto; height: auto; flex-direction: column; transform: none; }
html:not(.motion) .reel-slide { width: auto; height: auto; padding-top: 40px; padding-bottom: 40px; }
html:not(.motion) .reel-head { position: static; padding: 60px max(28px, calc((100vw - 1180px) / 2 + 28px)) 0; }
html:not(.motion) .reel-timeline { position: static; padding: 0 0 60px; margin: 0 max(28px, calc((100vw - 1180px) / 2 + 28px)); }
html:not(.motion) .reel-photo { height: auto; aspect-ratio: 16 / 10; clip-path: none; }
html:not(.motion) .reel-text { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ride { height: 100vh; } .skip-float, .scroll-hint { display: none; } }

/* owner section (desktop): photo a little smaller and further right, clear of the letter card */
@media (min-width: 1000px) and (min-height: 640px) {
  .owner-reveal.is-anim .owner-photo { height: 80%; right: max(8px, calc((100vw - 1180px) / 2 - 40px)); }
}

/* 3D hero: while the river loads, show dark water instead of flashing the backup photo first */
.will-3d .ride-fallback { opacity: 0; transition: opacity .4s; }
.will-3d .ride-stage.no-3d .ride-fallback { opacity: 1; }
.will-3d .ride-stage canvas { opacity: 0; transition: opacity .7s ease; }
.will-3d .ride-stage.is-3d canvas { opacity: 1; }
/* desktop reel: the photo grows with taller screens instead of stopping at 560px and leaving empty bands */
@media (min-width: 1000px) and (min-height: 640px) {
  .reel-photo { max-height: calc(100vh - var(--hdr) - 300px); max-height: calc(100dvh - var(--hdr) - 300px); }
  .reel-slide { grid-template-columns: 1.3fr 1fr; padding-top: 110px; padding-bottom: 130px; }
  .reel-text h3 { font-size: clamp(58px, 5vw, 72px); }
  .reel-text p { font-size: 17.5px; }
}

/* run timing bar under the species reel: bigger bars, labels and marker */
.reel-timeline { grid-template-columns: 170px 1fr; gap: 24px; }
.reel-tl-title { font-size: 14px; }
.tl-grid { padding-top: 24px; }
.tl-months { font-size: 13px; }
.tl-bar { height: 22px; margin-top: 6px; border-radius: 4px; }
.tl-bar b { font-size: 12px; line-height: 22px; left: 8px; letter-spacing: .6px; }
.tl-marker { top: 18px; width: 3px; margin-left: -1px; }
.tl-marker::before { top: -6px; left: -5.5px; width: 14px; height: 14px; }
@media (min-width: 1000px) and (min-height: 640px) { .reel-slide { padding-bottom: 175px; } }
@media (max-width: 999px), (max-height: 639px) {
  .reel-timeline { grid-template-columns: 1fr; gap: 6px; }
  .reel-tl-title { font-size: 12px; }
  .tl-grid { padding-top: 20px; }
  .tl-months { font-size: 12px; }
  .tl-bar { height: 16px; margin-top: 4px; }
  .tl-bar b { font-size: 10px; line-height: 16px; }
  .reel-slide { padding-bottom: 196px; grid-template-rows: 43% auto; }
}
@media (max-width: 999px) and (max-height: 780px) { .reel-slide { grid-template-rows: 38% auto; } }

/* shorter laptop screens: tighter type so the species text clears the run timing bar */
@media (min-width: 1000px) and (max-height: 860px) {
  .reel-slide { padding-top: 96px; }
  .reel-text h3 { font-size: 46px; margin-bottom: 10px; }
  .reel-text p { font-size: 16px; line-height: 1.55; }
  .reel-count { margin-bottom: 0 !important; }
}
/* desktop menu: wider letter spacing, items spread evenly between the logo and the Book button */
@media (min-width: 1001px) {
  .mainnav { flex: 1; margin-left: clamp(24px, 4vw, 72px); }
  .mainnav > ul { justify-content: space-between; gap: 0; }
  .mainnav > ul > li > a:not(.btn) { letter-spacing: 2px; padding-left: 6px; padding-right: 6px; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn { letter-spacing: 1.5px; }
}
@media (min-width: 1001px) and (max-width: 1240px) {
  .mainnav > ul > li > a:not(.btn) { letter-spacing: 1.2px; }
}
