/* ============================================================
   Spirit Fly Charters — style.css
   Saltwater-flats mood: deep ink-teal water, sunset ember accent,
   dock-light seafoam glow. Newsreader display / Albert Sans body.
   Mobile-first, fluid 320→1920. Content never gated on JS.
   ============================================================ */

:root {
  /* Palette — grounded in the guide's real photo tones (sunset ember,
     teal water, dawn blue). Distinct from Bowman gold/cream. */
  --ink-950: #06141a;
  --ink-900: #0a2028;
  --ink-800: #0f2c36;
  --teal-700: #1c4a5a;
  --teal-600: #2a6274;
  --seafoam: #8fe3c9;
  --ember: #f26419;
  --ember-bright: #ff7a2f;
  --ember-deep: #c2410c;
  --amber: #ffb566;
  --salt: #f3f6f2;
  --salt-2: #e7ede7;
  --white: #fbfdfb;
  --text-dark: #132930;
  --text-mut: #4a5f63;
  --text-light: rgba(244, 249, 246, 0.88);
  --text-light-mut: rgba(219, 231, 227, 0.66);
  --line-light: rgba(19, 41, 48, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Albert Sans", -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --pad: clamp(1.25rem, 4.5vw, 3rem);
  --sect: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 14px;
  --shadow: 0 18px 50px -18px rgba(6, 20, 26, 0.35);
  --nav-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--salt);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

::selection { background: var(--ember); color: #1a0f06; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Skip nav ---------- */
.skip-nav {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  background: var(--ember);
  color: #1a0f06;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-nav:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-ember {
  background: var(--ember);
  color: #1a0f06;
  box-shadow: 0 10px 28px -10px rgba(242, 100, 25, 0.55);
}
.btn-ember:hover {
  background: var(--ember-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(242, 100, 25, 0.65);
}
.btn-ember:active { transform: translateY(0); }

.btn-glass {
  background: rgba(251, 253, 251, 0.08);
  color: #fcfdfc;
  border: 1px solid rgba(251, 253, 251, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-glass:hover {
  background: rgba(251, 253, 251, 0.17);
  border-color: rgba(251, 253, 251, 0.55);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1.2rem 2.2rem; font-size: 1.05rem; }
.btn-nav { padding: 0.75rem 1.25rem; font-size: 0.88rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav.scrolled {
  background: rgba(6, 20, 26, 0.9);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px -18px rgba(0, 0, 0, 0.5);
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { height: 46px; width: auto; transition: height 0.3s ease; }
.nav.scrolled .logo-img { height: 40px; }

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.1rem);
}
.nav-links a {
  color: rgba(244, 249, 246, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-links a:hover { color: #fff; border-color: var(--ember); }

.nav-right { display: flex; align-items: center; gap: 1.1rem; flex: none; }

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: rgba(244, 249, 246, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav-phone:hover { color: var(--amber); }
.nav-phone svg { flex: none; }

.nav .btn-nav { display: none; }

/* Hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f4f9f6;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: calc(var(--nav-h) + 1rem) var(--pad) 1.75rem;
  background: rgba(6, 20, 26, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(-103%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.32s;
}
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
body.nav-open .nav { background: rgba(6, 20, 26, 0.97); }

.mobile-nav a:not(.btn) {
  color: rgba(244, 249, 246, 0.92);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav .btn { margin-top: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(580px, 100svh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero_sunset_poling.jpg") center 32% / cover no-repeat;
  animation: hero-settle 10s ease-out both;
}
@keyframes hero-settle {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 26, 0.5) 0%, rgba(6, 20, 26, 0.08) 32%, rgba(6, 20, 26, 0.32) 60%, rgba(6, 20, 26, 0.9) 100%),
    radial-gradient(90% 60% at 18% 92%, rgba(6, 20, 26, 0.55) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(6rem, 12vh, 8.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(6, 20, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(250, 252, 250, 0.94);
  font-size: 0.82rem;
  font-weight: 600;
  animation: rise 0.8s ease-out both;
}
.stars { color: var(--amber); letter-spacing: 0.12em; font-size: 0.8rem; }

.hero h1 {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw + 1rem, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #fdfbf7;
  text-wrap: balance;
  max-width: 15em;
  text-shadow: 0 2px 40px rgba(6, 20, 26, 0.45);
  animation: rise 0.8s ease-out 0.1s both;
}

.hero-sub {
  margin-top: 1.3rem;
  max-width: min(56ch, 100%);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-light);
  animation: rise 0.8s ease-out 0.2s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  animation: rise 0.8s ease-out 0.3s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  margin-top: 2.2rem;
  color: var(--text-light-mut);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: rise 0.8s ease-out 0.4s both;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-locations {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  padding: 0.85rem var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 20, 26, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(244, 249, 246, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-locations i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ember);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  padding-inline: var(--pad);
  color: rgba(231, 240, 236, 0.8);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
}
.ticker-sep { color: var(--ember); font-style: normal; }

/* JS upgrades the ticker to a seamless marquee */
.ticker.ticker-run .ticker-inner {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  padding-inline: 0;
  animation: ticker-scroll 46s linear infinite;
}
.ticker.ticker-run .ticker-item { white-space: nowrap; }
.ticker.ticker-run:hover .ticker-inner { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  max-width: 46em;
  margin-inline: auto;
  margin-bottom: clamp(2.6rem, 5.5vw, 4rem);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember-deep);
  margin-bottom: 0.9rem;
}
.eyebrow-glow {
  color: var(--seafoam);
  text-shadow: 0 0 18px rgba(143, 227, 201, 0.45);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  text-wrap: balance;
}

/* ---------- Charters ---------- */
.charters { background: var(--salt); padding-block: var(--sect); }

.charter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.charter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(19, 41, 48, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px -20px rgba(6, 20, 26, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.charter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -20px rgba(6, 20, 26, 0.4);
}

.charter-featured { border-color: rgba(242, 100, 25, 0.4); }

.charter-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  background: rgba(6, 20, 26, 0.88);
  border: 1px solid rgba(143, 227, 201, 0.4);
  color: var(--seafoam);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.charter-img { aspect-ratio: 4 / 3; overflow: hidden; }
.charter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.charter-card:hover .charter-img img { transform: scale(1.045); }

.charter-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
}
.charter-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.charter-body p {
  color: var(--text-mut);
  font-size: 0.96rem;
  line-height: 1.65;
}

.spec-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.spec {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--salt-2);
  border: 1px solid rgba(19, 41, 48, 0.08);
  color: var(--teal-700);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.charter-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
}
.charter-body p + .charter-foot { margin-top: 1.4rem; }

.price span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mut);
}
.price strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--text-dark);
}

.card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ember-deep);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(194, 65, 12, 0.3);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.card-link:hover { color: var(--ember); border-color: var(--ember); }

/* ---------- Cinematic moment ---------- */
.moment {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-900);
}
.moment-bg {
  position: absolute;
  inset: 0;
  background: url("assets/matlacha_storm.jpg") center / cover no-repeat;
}
.moment-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 26, 0.66) 0%, rgba(6, 20, 26, 0.34) 45%, rgba(6, 20, 26, 0.72) 100%);
}
.moment-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 9vw, 6rem);
  text-align: center;
}
.moment-content blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  line-height: 1.35;
  color: #fafcfa;
  max-width: 34ch;
  margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6, 20, 26, 0.5);
}
.moment-content cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Rates ---------- */
.rates { background: var(--white); padding-block: var(--sect); }

.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.rate-group {
  background: var(--salt);
  border: 1px solid rgba(19, 41, 48, 0.07);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}
.rate-group h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.rate-group h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 2px;
  background: var(--ember);
}
.rate-group li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed rgba(19, 41, 48, 0.16);
}
.rate-group li:last-child { border-bottom: 0; }
.rate-group li span { color: var(--text-mut); font-size: 0.95rem; }
.rate-group li strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  white-space: nowrap;
}
.rate-note {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-mut);
}

.booking-terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-light);
}
.term h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.term h4::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--ember);
  flex: none;
}
.term p { font-size: 0.93rem; line-height: 1.68; color: var(--text-mut); }

.rates-aside {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-mut);
}

/* ---------- Captain ---------- */
.captain { background: var(--salt); padding-block: var(--sect); }

.captain-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.captain-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.captain-photo img { width: 100%; }
.captain-photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: rgba(6, 20, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(244, 249, 246, 0.94);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.captain-text h2 { margin-bottom: 1.3rem; }
.captain-text > p {
  color: var(--text-mut);
  line-height: 1.72;
  max-width: 58ch;
}
.captain-text > p + p { margin-top: 1.05rem; }

.captain-quote {
  margin-block: 1.7rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--ember);
}
.captain-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--text-dark);
}

.captain-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.6rem;
  margin-top: 1.9rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line-light);
}
.captain-creds strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
  line-height: 1.1;
}
.captain-creds span {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mut);
}

/* ---------- Night moves ---------- */
.night {
  position: relative;
  background: var(--ink-950);
  padding-block: var(--sect);
  overflow: hidden;
}
.night::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 78% 12%, rgba(143, 227, 201, 0.08) 0%, transparent 65%),
    radial-gradient(40% 40% at 12% 88%, rgba(42, 98, 116, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.night-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}

.night h2 { color: #f7fbf8; margin-bottom: 1.2rem; }
.night-text p {
  color: var(--text-light-mut);
  line-height: 1.72;
  max-width: 56ch;
}
.night-text p + p { margin-top: 1.05rem; }
.night-text .btn { margin-top: 1.7rem; }

.night-photos {
  position: relative;
  padding-bottom: clamp(3rem, 9vw, 4.5rem);
}
.night-img-main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.65);
}
.night-img-inset {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(46%, 320px);
  border: 5px solid var(--ink-950);
  border-radius: 12px;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.7);
}

/* ---------- Gallery ---------- */
.gallery { background: var(--white); padding-block: var(--sect); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
}

.g-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--salt-2);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.g-item:hover img { transform: scale(1.04); }

.g-feature { grid-column: span 2; aspect-ratio: 16 / 10; }
.g-item:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }

.g-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 20, 26, 0.85) 100%);
  color: rgba(244, 249, 246, 0.95);
  font-size: 0.86rem;
  font-weight: 500;
}
.g-item figcaption span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Reviews ---------- */
.reviews { background: var(--salt); padding-block: var(--sect); }

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.review-featured,
.review-card {
  background: var(--white);
  border: 1px solid rgba(19, 41, 48, 0.07);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px -22px rgba(6, 20, 26, 0.35);
}

.review-featured {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.9rem, 4vw, 3rem);
}
.stars-lg {
  color: var(--amber);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.3rem;
}
.review-featured p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.28rem, 2.1vw, 1.65rem);
  line-height: 1.48;
  color: var(--text-dark);
}
.review-featured footer { margin-top: 1.6rem; }

.reviews-side {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.review-card { padding: 1.7rem 1.6rem; flex: 1; }
.stars-sm {
  color: var(--amber);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.85rem;
}
.review-card p { font-size: 0.95rem; line-height: 1.68; color: var(--text-mut); }
.review-card footer { margin-top: 1.1rem; }

.review-featured footer strong,
.review-card footer strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark);
}
.review-featured footer span,
.review-card footer span {
  font-size: 0.79rem;
  color: var(--text-mut);
}

.reviews-line {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mut);
}

/* ---------- Video ---------- */
.video { background: var(--ink-900); padding-block: clamp(4rem, 8vw, 6.5rem); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 980px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  background: url("assets/video_poster.jpg") center / 117% no-repeat var(--ink-950);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.7);
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 26, 0.12) 0%, rgba(6, 20, 26, 0.45) 100%);
}
.video-frame.playing::before { display: none; }

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(66px, 9vw, 86px);
  height: clamp(66px, 9vw, 86px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--ember);
  color: #1a0f06;
  cursor: pointer;
  box-shadow: 0 14px 40px -10px rgba(242, 100, 25, 0.65), 0 0 0 10px rgba(242, 100, 25, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-play:hover { transform: scale(1.07); background: var(--ember-bright); }
.video-play svg { margin-left: 3px; }

.video-caption {
  position: absolute;
  left: 1.3rem;
  bottom: 1.1rem;
  color: rgba(244, 249, 246, 0.94);
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(6, 20, 26, 0.6);
}
.video-caption span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.video-frame.playing .video-play,
.video-frame.playing .video-caption { display: none; }

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Sponsors ---------- */
.sponsors {
  background: var(--white);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-light);
}
.sponsors-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-bottom: 2rem;
}
.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem 3rem;
}
.sponsors-row img {
  width: auto;
  height: 30px; /* base reset (img{height:auto}) kills the HTML height attrs */
  filter: brightness(0);
  opacity: 0.45;
  transition: opacity 0.2s ease;
}
.sponsors-row img[alt="Temple Fork Outfitters"] { height: 34px; }
.sponsors-row img[alt="Simms"] { height: 22px; }
.sponsors-row img[alt="Tibor"] { height: 26px; }
.sponsors-row img[alt="Airflo"] { height: 30px; }
.sponsors-row img:hover { opacity: 0.8; }
.sponsor-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: rgba(19, 41, 48, 0.52);
  transition: color 0.2s ease;
}
.sponsor-text:hover { color: rgba(19, 41, 48, 0.8); }

/* ---------- Final CTA ---------- */
.book {
  position: relative;
  padding-block: clamp(6rem, 12vw, 9.5rem);
  overflow: hidden;
  text-align: center;
  background: var(--ink-950);
}
.book-bg {
  position: absolute;
  inset: 0;
  background: url("assets/dawn_flats.jpg") center / cover no-repeat;
}
.book-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 26, 0.86) 0%, rgba(6, 20, 26, 0.72) 48%, rgba(6, 20, 26, 0.9) 100%);
}
.book-content {
  position: relative;
  z-index: 2;
  max-width: 60em;
  margin-inline: auto;
}
.book h2 {
  color: #fafcfa;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.65rem);
  line-height: 1.22;
  max-width: 30em;
  margin-inline: auto;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 30px rgba(6, 20, 26, 0.5);
}
.book-sub {
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: 2.4rem;
  color: rgba(230, 240, 236, 0.86);
  line-height: 1.68;
  text-shadow: 0 1px 18px rgba(6, 20, 26, 0.6);
}
.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: clamp(2.75rem, 5vw, 4rem);
  color: rgba(219, 231, 227, 0.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}
.footer-logo { height: 52px; width: auto; margin-bottom: 0.9rem; }
.footer-tagline { font-size: 0.84rem; color: rgba(219, 231, 227, 0.55); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}
.footer-nav a {
  color: rgba(244, 249, 246, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-nav a:hover { color: #fff; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
}
.footer-contact a {
  color: rgba(244, 249, 246, 0.88);
  text-decoration: none;
  transition: color 0.18s ease;
  width: fit-content;
}
.footer-contact a:hover { color: var(--amber); }
.footer-contact span { font-size: 0.8rem; color: rgba(219, 231, 227, 0.45); }

/* ---------- Mobile sticky bar ---------- */
.mobile-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: flex;
  gap: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-sticky.is-hidden {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.mobile-sticky-phone {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(10, 32, 40, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f4f9f6;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
}
.mobile-sticky-btn {
  flex: 1;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px -10px rgba(242, 100, 25, 0.6);
}

body { padding-bottom: 84px; } /* room for the sticky bar (mobile) */

/* ---------- Reveal on scroll (JS adds html.js-anim; content is
   visible by default and never depends on JS) ---------- */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.js-anim .reveal.in { opacity: 1; transform: none; }

html.js-anim .charter-card:nth-child(2),
html.js-anim .g-item:nth-child(2) { transition-delay: 0.08s; }
html.js-anim .charter-card:nth-child(3),
html.js-anim .g-item:nth-child(3) { transition-delay: 0.16s; }
html.js-anim .g-item:nth-child(4) { transition-delay: 0.08s; }
html.js-anim .g-item:nth-child(5) { transition-delay: 0.16s; }

/* ---------- Breakpoints (fluid first; these only re-arrange) ---------- */
@media (min-width: 640px) {
  .nav .btn-nav { display: inline-flex; }
}

@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .g-feature img { position: absolute; inset: 0; }
  .g-item:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
}

@media (min-width: 860px) {
  .captain-layout { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .night-layout { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
  .reviews-layout { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
  }
  .footer-nav { justify-content: center; }
  .mobile-sticky { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 900px) {
  :root { --nav-h: 80px; }
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
  .logo-img { height: 52px; }
  .nav.scrolled .logo-img { height: 44px; }
}

@media (min-width: 1100px) {
  .nav-phone { display: inline-flex; }
  .night-img-inset { left: -4%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { animation: none; }
  .ticker.ticker-run .ticker-inner {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding-inline: var(--pad);
  }
  html.js-anim .reveal { opacity: 1 !important; transform: none !important; }
}
