/* Niagara à Pied: shared stylesheet
   Concept: a local guide's walking journal. Logo red for action and the
   trail line, deep falls teal for ink and dark sections, mist for paper. */

:root{
  --red: #b3122b;
  --red-deep: #8a0e21;
  --teal: #0f4a4c;
  --teal-deep: #0a3032;
  --water: #5cc4bd;
  --mist: #f5f8f6;
  --white: #ffffff;
  --ink: #0f2a2c;
  --muted: #4f6668;
  --line: #d3dfdc;
  --line-dark: rgba(255,255,255,.16);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Segoe UI', Arial, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --num: 'DM Sans', 'Karla', 'Segoe UI', Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
p{ margin: 0 0 1em; }
p:last-child{ margin-bottom: 0; }

h1, h2, h3, h4{
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1{ font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2{ font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
h3{ font-size: 1.3rem; letter-spacing: 0; }
em, .ital{ font-style: italic; }
h1 em, h2 em{ font-weight: 500; color: var(--red); }

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

.wrap{ max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section{ padding-block: var(--section); }
.on-white{ background: var(--white); }
.on-teal{ background: var(--teal); color: var(--white); }
.on-teal h2 em, .on-teal h1 em{ color: var(--water); }

.kicker{
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.on-teal .kicker{ color: var(--water); }
.lede{ font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.on-teal .lede{ color: rgba(255,255,255,.82); }

/* Handwritten margin notes. Used sparingly. */
.note{
  font-family: var(--hand);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--red);
}
.on-teal .note{ color: var(--water); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-red{ background: var(--red); color: var(--white); }
.btn-red:hover{ background: var(--red-deep); }
.btn-ghost{ border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-ghost:hover{ background: rgba(255,255,255,.14); }
.btn-line{ border-color: var(--ink); color: var(--ink); }
.btn-line:hover{ background: var(--ink); color: var(--white); }
.btn .arrow{ transition: transform .18s ease; }
.btn:hover .arrow{ transform: translateX(4px); }

.text-link{
  font-weight: 700; color: var(--red);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.text-link:hover{ color: var(--red-deep); }
.on-teal .text-link{ color: var(--white); }

/* ---------- Header ---------- */
.site-header{
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 16px;
  color: var(--white);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, color .3s ease;
}
.site-header.is-solid{
  background: rgba(245,248,246,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
  color: var(--ink);
}
.nav{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand{ display: flex; align-items: center; gap: 14px; }
.brand img{ width: 66px; height: auto; border-radius: 7px; box-shadow: 0 3px 10px rgba(0,0,0,.22); }
.brand-name{ display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.brand-tag{ display: block; font-size: .66rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

.nav-links{ display: flex; align-items: center; gap: 30px; }
.nav-links a{ font-weight: 600; font-size: .95rem; padding-block: 6px; position: relative; }
.nav-links a:not(.nav-cta)::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-links a:not(.nav-cta):hover::after{ transform: scaleX(1); }
.nav-links a[aria-current="page"]:not(.nav-cta)::after{ transform: scaleX(1); background: var(--red); }
.nav-cta{
  background: var(--red); color: var(--white) !important;
  padding: 11px 22px !important; border-radius: 999px;
  transition: background .18s ease;
}
.nav-cta:hover{ background: var(--red-deep); }

.nav-toggle{ display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle span{ display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; }

@media (max-width: 820px){
  .nav-toggle{ display: block; position: relative; z-index: 102; }
  .nav-links{
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); z-index: 101;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    padding: 40px; background: var(--teal-deep); color: var(--white);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-links.open{ transform: none; }
  .nav-links a{ font-size: 1.25rem; font-family: var(--serif); }
  .nav-links.open ~ .nav-toggle, .nav-toggle[aria-expanded="true"]{ color: var(--white); }
  .brand-tag{ display: none; }
  /* backdrop-filter would trap the fixed drawer inside the header */
  .site-header.is-solid{ backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--mist); }
}

/* ---------- Home hero ---------- */
.hero{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding: 130px var(--gutter) 0;
}
.hero-bg{
  position: absolute; inset: 0; z-index: -2;
  background: url('../images/hero-falls.jpg') center 45% / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift{ from{ transform: scale(1); } to{ transform: scale(1.09); } }
.hero::before{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,32,34,.62) 0%, rgba(6,32,34,.38) 38%, rgba(6,32,34,.55) 72%, rgba(6,32,34,.9) 100%);
}
.hero-inner{ max-width: 860px; margin-block: auto; padding-bottom: 48px; }
.hero-badge{
  width: clamp(150px, 17vw, 196px); height: auto; margin: 0 auto 30px;
  border-radius: 14px; border: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  transform: rotate(-2.5deg);
}
.hero-hello{ display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #ffd9de; margin-bottom: 12px; }
.hero h1{ margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero h1 em{ color: inherit; font-weight: 500; }
.hero-lead{ font-size: 1.2rem; max-width: 640px; margin: 0 auto 36px; color: rgba(255,255,255,.93); }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-facts{
  width: 100%; max-width: var(--wrap);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 38px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .84rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.hero-facts li{ display: flex; align-items: center; gap: 10px; }
.hero-facts li::before{ content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

/* ---------- Interior page heads ---------- */
.page-head{
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white);
  padding: clamp(150px, 20vw, 210px) 0 clamp(56px, 8vw, 90px);
}
.page-head .hero-bg{ animation: none; }
.page-head::before{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,48,50,.93) 0%, rgba(10,48,50,.72) 48%, rgba(10,48,50,.3) 100%);
}
.page-head.crop-crest .hero-bg{ background-position: 20% 38%; }
.page-head.crop-water .hero-bg{ background-position: 40% 86%; }
.page-head h1{ max-width: 15ch; margin-bottom: 20px; }
.page-head h1 em{ color: inherit; }
.page-head p{ max-width: 54ch; font-size: 1.18rem; color: rgba(255,255,255,.9); }
.page-head .hero-hello{ margin-bottom: 10px; }

.page-head.plain{ background: var(--teal); padding-top: clamp(120px, 13vw, 150px); padding-bottom: clamp(40px, 5vw, 60px); }
.page-head.plain::before{ display: none; }

/* ---------- Home: opening statement ---------- */
.statement{ display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.statement h2{ font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.statement .note{ display: block; margin-top: 26px; transform: rotate(-2deg); transform-origin: left; }
@media (max-width: 860px){ .statement{ grid-template-columns: 1fr; align-items: start; } }

/* ---------- Stop, Story & Choose ---------- */
.ssc-head{ display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 60px; margin-bottom: clamp(40px, 6vw, 72px); }
.ssc-head p{ max-width: 46ch; color: var(--muted); }
.ssc{ display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.ssc::before{ content: ''; position: absolute; left: 0; right: 0; top: 9px; border-top: 3px dotted var(--line); }
.ssc li{ position: relative; padding: 44px clamp(16px, 3vw, 44px) 0 0; }
.ssc li::before{
  content: ''; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--red);
}
.ssc-word{ display: block; font-family: var(--serif); font-style: normal; font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -0.01em; color: var(--teal); margin-bottom: 14px; }
.ssc p{ color: var(--muted); max-width: 34ch; }
@media (max-width: 760px){
  .ssc{ grid-template-columns: 1fr; gap: 36px; }
  .ssc::before{ left: 9px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dotted var(--line); }
  .ssc li{ padding: 0 0 0 48px; }
}

/* ---------- Plain fact rows (replaces feature cards) ---------- */
.rows{ border-top: 1px solid var(--line); }
.rows > div{
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 48px;
  padding-block: 28px; border-bottom: 1px solid var(--line);
}
.rows dt, .rows h3{ font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.rows dd, .rows p{ margin: 0; color: var(--muted); }
.on-teal .rows, .on-teal .rows > div{ border-color: var(--line-dark); }
.on-teal .rows dd{ color: rgba(255,255,255,.8); }
@media (max-width: 700px){ .rows > div{ grid-template-columns: 1fr; } }

.split-head{ display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); }
.split-head > :first-child{ position: sticky; top: 110px; align-self: start; }
@media (max-width: 900px){ .split-head{ grid-template-columns: 1fr; } .split-head > :first-child{ position: static; } }

/* ---------- Route teaser (home) ---------- */
.trail-head{ display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(44px, 6vw, 70px); }
.trail{ display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: stop; }
.trail::before{ content: ''; position: absolute; left: 0; right: 0; top: 8px; border-top: 3px dotted rgba(255,255,255,.35); }
.trail li{ position: relative; padding: 36px 14px 0 0; counter-increment: stop; font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; }
.trail li::before{
  content: ''; position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal); border: 4px solid var(--water);
}
.trail li:last-child::before{ background: var(--red); border-color: var(--white); }
.trail li span{ display: block; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--water); margin-bottom: 6px; }
.trail li span::after{ content: counter(stop); margin-left: 5px; }
@media (max-width: 860px){
  .trail{ grid-template-columns: 1fr; gap: 24px; }
  .trail::before{ left: 8px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dotted rgba(255,255,255,.35); }
  .trail li{ padding: 0 0 0 42px; }
}

/* ---------- Guide (photo + text) ---------- */
.duo{ display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.duo.flip > :first-child{ order: 2; }
@media (max-width: 860px){ .duo{ grid-template-columns: 1fr; } .duo.flip > :first-child{ order: 0; } }

.portrait{ position: relative; margin: 0; isolation: isolate; }
.portrait img{ width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; border-radius: 6px; }
.portrait::after{
  content: ''; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--red); border-radius: 6px;
}
.portrait figcaption{
  position: absolute; left: -14px; bottom: 34px;
  background: var(--white); padding: 10px 18px 8px; border-radius: 4px;
  box-shadow: 0 10px 26px rgba(10,48,50,.2);
  transform: rotate(-3deg);
}
@media (max-width: 860px){ .portrait{ max-width: 460px; } .portrait::after{ inset: 12px -12px -12px 12px; } .portrait figcaption{ left: 10px; } }

.figures{ display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures > div{ padding: 22px 10px; text-align: center; min-width: 0; }
.figures > div + div{ border-left: 1px solid var(--line); }
.fig-num{ display: flex; justify-content: center; align-items: baseline; font-family: var(--num); font-weight: 600; letter-spacing: -0.03em; font-size: 2.6rem; line-height: 1; color: var(--red); font-variant-numeric: lining-nums; }
.fig-num small{ font-size: .5em; font-weight: 500; margin-left: 3px; align-self: flex-start; margin-top: .12em; }
.fig-label{ display: block; margin-top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Snapshot: a photo pasted into the journal */
.snapshot{ margin: 0; justify-self: center; max-width: 420px; rotate: 2.2deg; }
.snapshot img{ width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 12px solid var(--white); border-bottom-width: 0; box-shadow: 0 22px 50px rgba(0,0,0,.32); }
.snapshot figcaption{ background: var(--white); color: var(--ink); text-align: center; padding: 8px 12px 14px; box-shadow: 0 22px 50px rgba(0,0,0,.32); }
.snapshot figcaption.note{ color: var(--ink); font-size: 1.45rem; }

/* ---------- Pull quote ---------- */
.pull{ max-width: 900px; }
.pull blockquote{ margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; text-wrap: balance; }
.pull cite{ display: block; margin-top: 26px; font-family: var(--sans); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--water); }

/* Indigenous history band: illustration behind the quote, text centered. */
.history-band{
  position: relative; isolation: isolate;
  background: var(--teal-deep) url('../images/history-illustration.jpg') center 82% / cover no-repeat;
  padding-block: clamp(90px, 12vw, 160px);
}
.history-band::before{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(8,38,40,.9) 0%, rgba(8,38,40,.84) 45%, rgba(8,38,40,.62) 100%);
}
.history-band .pull{ max-width: 780px; margin-inline: auto; text-align: center; }
.history-band .pull blockquote{ font-size: clamp(1.4rem, 2.5vw, 2rem); }
.history-band .pull .lede{ margin-inline: auto; }
.history-band .kicker, .history-band .pull cite{ color: #9fe0da; }
@media (max-width: 860px){
  .history-band::before{ background: rgba(8,38,40,.86); }
}

/* ---------- Audiences (about) ---------- */
.audiences{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 6vw, 64px); }
.audiences h3{ font-size: 1.55rem; font-style: italic; font-weight: 500; color: var(--teal); margin-bottom: 14px; }
.audiences p{ color: var(--muted); }
.audiences > div{ padding-top: 22px; border-top: 1px solid var(--ink); }
@media (max-width: 860px){ .audiences{ grid-template-columns: 1fr; } }

/* ---------- The route (tour page signature) ---------- */
.route{ position: relative; margin-top: clamp(48px, 7vw, 84px); --col: 96px; }
.route-line{ position: absolute; top: 0; left: 50%; width: var(--col); height: 100%; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.route-line path{ fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-line .base path{ stroke: #b9cbc7; stroke-width: 3; stroke-dasharray: 1 9; }
.route-line .walked{ clip-path: inset(0 0 calc(100% - var(--walked, 0%)) 0); }
.route-line .walked path{ stroke: var(--red); stroke-width: 3.5; }
.route-line svg{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.stops{ display: grid; grid-auto-rows: 1fr; position: relative; }
.stop{ display: grid; grid-template-columns: 1fr var(--col) 1fr; align-items: center; min-height: 190px; }
.stop-dot{
  grid-column: 2; grid-row: 1; justify-self: center;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 3px solid #9fb6b2; color: var(--teal);
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
  transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease;
}
.stop.reached .stop-dot{ background: var(--red); border-color: var(--red); color: var(--white); transform: scale(1.08); }
.stop.flag .stop-dot{ background: var(--teal); border-color: var(--teal); color: var(--white); font-size: .95rem; }
.stop.flag.reached .stop-dot{ background: var(--red); border-color: var(--red); }
.stop-body{ grid-row: 1; grid-column: 3; padding: 18px 0 18px 12px; max-width: 440px; }
.stop:nth-child(even) .stop-body{ grid-column: 1; justify-self: end; text-align: right; padding: 18px 12px 18px 0; }
.stop-body h3{ font-size: 1.5rem; margin-bottom: 8px; }
.stop-body p{ color: var(--muted); }
.stop-tag{ display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.stop-choice{ margin-top: 10px; font-size: .95rem; color: var(--teal) !important; font-weight: 500; }
.stop-choice b{ font-family: var(--hand); font-size: 1.4rem; font-weight: 600; color: var(--red); margin-right: 6px; }

@media (max-width: 760px){
  .route{ --col: 56px; }
  .route-line{ left: 0; transform: none; }
  .stop{ grid-template-columns: var(--col) 1fr; min-height: 0; }
  .stop-dot{ grid-column: 1; width: 40px; height: 40px; }
  .stop-body, .stop:nth-child(even) .stop-body{ grid-column: 2; justify-self: start; text-align: left; padding: 22px 0 22px 14px; }
}

/* ---------- Closing call ---------- */
.closing{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.closing h2{ max-width: 17ch; }

/* ---------- Booking ---------- */
.booking{ display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px){ .booking{ grid-template-columns: 1fr; } }

.progress{ display: flex; margin-bottom: 34px; }
.progress .step{ flex: 1; position: relative; padding-top: 30px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.progress .step::before{ content: ''; position: absolute; top: 8px; left: 0; right: 0; border-top: 3px dotted var(--line); }
.progress .step:last-child::before{ right: auto; width: 0; }
.progress .step.done::before{ border-top: 3px solid var(--red); top: 8px; }
.progress .circle{
  position: absolute; top: 0; left: 0; width: 19px; height: 19px; border-radius: 50%;
  background: var(--mist); border: 3px solid #9fb6b2; font-size: 0; z-index: 1;
  transition: background .25s ease, border-color .25s ease;
}
.progress .step.active .circle{ border-color: var(--red); background: var(--white); box-shadow: 0 0 0 5px rgba(179,18,43,.14); }
.progress .step.done .circle{ border-color: var(--red); background: var(--red); }
.progress .step.active .label{ color: var(--red); }
.progress .label{ display: block; }
@media (max-width: 560px){
  .progress .label{ display: none; white-space: nowrap; }
  .progress .step.active .label{ display: block; }
}

.form-card{ scroll-margin-top: 200px; background: var(--white); border-radius: 10px; padding: clamp(26px, 4vw, 46px); box-shadow: 0 1px 0 var(--line), 0 24px 60px rgba(10,48,50,.1); }
.form-panel{ display: none; }
.form-panel.active{ display: block; animation: panel .3s ease; }
@keyframes panel{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }
.form-panel h2{ font-size: 1.85rem; margin-bottom: 8px; }
.form-panel > p{ color: var(--muted); margin-bottom: 28px; }

.field{ margin-bottom: 22px; }
.field label, .field .label{ display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.hint{ font-weight: 400; color: var(--muted); font-size: .84rem; }
.field input, .field select, .field textarea{
  width: 100%; padding: 14px 16px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--mist); border: 1.5px solid var(--line); border-radius: 8px;
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(15,74,76,.12); }
.field textarea{ min-height: 110px; resize: vertical; }
.row-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .row-2{ grid-template-columns: 1fr; } }

.choice-group{ display: flex; flex-wrap: wrap; gap: 10px; }
.choice{ position: relative; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--mist); font-size: .92rem; font-weight: 600; cursor: pointer; transition: all .18s ease; margin: 0 !important; }
.choice:hover{ border-color: var(--teal); }
.choice input{ position: absolute; opacity: 0; pointer-events: none; }
.choice.selected{ background: var(--teal); border-color: var(--teal); color: var(--white); }

.form-nav{ display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }
.form-nav .btn{ padding: 13px 26px; }

.review-list{ margin-bottom: 22px; border-top: 1px solid var(--line); }
.review-list li{ display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.review-list li span:first-child{ color: var(--muted); }
.review-list li span:last-child{ font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.small{ font-size: .88rem; color: var(--muted); }

.success-panel{ text-align: center; padding-block: 14px; }
.success-panel .note{ display: block; font-size: 2.4rem; margin-bottom: 8px; }
.success-panel p{ color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }

.aside{ position: sticky; top: 110px; }
@media (max-width: 960px){ .aside{ position: static; } }
.aside h2{ font-size: 1.5rem; margin-bottom: 22px; }
.next-steps{ counter-reset: n; position: relative; margin-bottom: 40px; }
.next-steps::before{ content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; border-left: 3px dotted var(--line); }
.next-steps li{ counter-increment: n; position: relative; padding: 0 0 24px 52px; }
.next-steps li:last-child{ padding-bottom: 0; }
.next-steps li::before{
  content: counter(n); position: absolute; left: 0; top: -2px; width: 33px; height: 33px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mist); border: 2.5px solid var(--teal); color: var(--teal);
  font-family: var(--serif); font-weight: 600; font-size: .95rem;
}
.next-steps strong{ display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin-bottom: 2px; }
.next-steps span{ color: var(--muted); font-size: .97rem; }
.aside .rows > div{ grid-template-columns: 1fr; gap: 4px; padding-block: 16px; }
.aside .rows dt{ font-size: 1.05rem; }
.aside .rows dd{ font-size: .95rem; }

/* ---------- Tour options (standard vs boat included) ---------- */
.options{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 6vw, 64px); }
@media (max-width: 820px){ .options{ grid-template-columns: 1fr; } }
.option{ display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3.6vw, 44px); border-radius: 10px; }
.option-plain{ background: var(--mist); border: 1px solid var(--line); }
.option-boat{ background: var(--teal); color: var(--white); position: relative; }
.option-tag{ font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.option-boat .option-tag{ color: var(--water); }
.option h3{ font-size: 1.7rem; line-height: 1.15; }
.option p{ color: var(--muted); }
.option-boat p{ color: rgba(255,255,255,.84); }
.option ul{ display: grid; gap: 9px; margin-top: 2px; }
.option li{ position: relative; padding-left: 22px; font-size: .98rem; }
.option li::before{ content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--red); }
.option-boat li::before{ border-color: var(--water); }
.option-price{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.option-plain .option-price{ border-color: var(--line); }
.option-price strong{ font-family: var(--num); font-weight: 600; letter-spacing: -0.03em; font-size: 3.1rem; line-height: 1; font-variant-numeric: lining-nums; }
.option-price span{ font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--water); }
.option-plain .option-price span{ color: var(--muted); }
.option .btn{ align-self: flex-start; margin-top: 6px; }
.option-boat .note{ position: absolute; top: -18px; right: 22px; background: var(--white); color: var(--red); padding: 6px 16px 4px; border-radius: 4px; rotate: 3deg; box-shadow: 0 8px 20px rgba(0,0,0,.2); font-size: 1.4rem; }

/* Duration, distance and group size under the home route strip */
.trail-meta{ margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: .84rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.trail-meta li{ display: flex; align-items: center; gap: 10px; }
.trail-meta li::before{ content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

/* Boat mention under the home route strip */
.boat-line{ margin-top: clamp(40px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; font-size: 1.08rem; color: rgba(255,255,255,.88); }
.boat-line strong{ color: var(--white); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--teal-deep); color: rgba(255,255,255,.75); padding-block: 64px 28px; }
.footer-grid{ display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer .brand img{ width: 84px; }
.site-footer .brand-name{ color: var(--white); font-size: 1.3rem; }
.site-footer .note{ display: block; margin-top: 20px; color: var(--water); }
.site-footer h4{ font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer li{ margin-bottom: 8px; }
.site-footer li a:hover{ color: var(--white); }
.footer-base{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .84rem; }

/* ---------- Motion ---------- */
.js .reveal{ opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .hero-bg{ animation: none; }
  .js .reveal{ opacity: 1; transform: none; transition: none; }
  .btn, .btn .arrow{ transition: none; }
}

/* Numerals use the clean sans everywhere they stand alone */
.stop-dot, .next-steps li::before{ font-family: var(--num); font-weight: 600; }
.site-footer .footer-base a{ text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-base a:hover{ color: var(--white); }

/* Interior page banners: centered, larger type */
.page-head{ text-align: center; padding: clamp(170px, 22vw, 240px) 0 clamp(80px, 11vw, 130px); }
.page-head::before{ background: linear-gradient(180deg, rgba(8,38,40,.72) 0%, rgba(8,38,40,.6) 45%, rgba(8,38,40,.82) 100%); }
.page-head .hero-hello{ font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 14px; }
.page-head h1{ font-size: clamp(2.9rem, 7vw, 5.2rem); max-width: 18ch; margin: 0 auto 26px; }
.page-head p{ font-size: clamp(1.2rem, 1.9vw, 1.45rem); max-width: 60ch; margin-inline: auto; }
.page-head.plain{ padding-top: clamp(140px, 15vw, 180px); padding-bottom: clamp(56px, 7vw, 84px); }

/* The heading font's italic ampersand reads like a stray "c". Use the plain sans one. */
.amp{ font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .92em; }

/* Booking banner: the illuminated falls at night */
.page-head.night .hero-bg{ background-image: url('../images/falls-night.jpg'); background-position: center 58%; }
.page-head.night::before{ background: linear-gradient(180deg, rgba(6,20,40,.62) 0%, rgba(6,20,40,.42) 45%, rgba(6,20,40,.78) 100%); }
.page-head.night{ padding-top: clamp(160px, 18vw, 220px); padding-bottom: clamp(80px, 10vw, 120px); }

/* About banner: Horseshoe Falls with the Clifton Hill SkyWheel */
.page-head.skywheel .hero-bg{ background-image: url('../images/falls-skywheel.jpg'); background-position: center 30%; }
.page-head.skywheel::before{ background: linear-gradient(180deg, rgba(8,38,40,.6) 0%, rgba(8,38,40,.46) 45%, rgba(8,38,40,.74) 100%); }

/* Gallery banner: the frozen Horseshoe Falls at dusk */
.page-head.winter .hero-bg{ background-image: url('../images/falls-winter.jpg'); background-position: center 42%; }
.page-head.winter::before{ background: linear-gradient(180deg, rgba(14,34,52,.58) 0%, rgba(14,34,52,.4) 45%, rgba(14,34,52,.76) 100%); }

/* ---------- Phone layout (most visitors) ---------- */
@media (max-width: 640px){
  /* nothing smaller than 12px */
  .fig-label, .option-tag, .stop-tag, .site-footer h4, .trail li span, .progress .step{ font-size: .78rem; }
  .fig-label{ letter-spacing: .06em; }

  /* hero fits a phone screen */
  .hero{ padding-top: 100px; }
  .hero-badge{ width: 124px; margin-bottom: 18px; border-width: 2px; }
  .hero-hello{ font-size: 1.2rem; margin-bottom: 8px; }
  .hero h1{ font-size: 2.15rem; margin-bottom: 16px; }
  .hero-lead{ font-size: 1.02rem; line-height: 1.55; margin-bottom: 24px; }
  .hero-inner{ padding-bottom: 28px; }
  .hero-actions{ flex-direction: column; align-items: stretch; max-width: 300px; margin-inline: auto; gap: 10px; }
  .hero-actions .btn{ justify-content: center; padding: 14px 20px; }
  /* one centred column with a shared left edge, so the bullets line up */
  .hero-facts{ display: grid; justify-content: center; justify-items: start; gap: 8px; font-size: .78rem; letter-spacing: .06em; padding: 18px 0 26px; }
  .hero-facts li{ text-align: left; align-items: flex-start; }
  .hero-facts li::before{ flex: none; margin-top: .5em; }
  .trail-meta{ font-size: .78rem; letter-spacing: .06em; gap: 8px; }
  .trail-meta li{ align-items: flex-start; }
  .trail-meta li::before{ flex: none; margin-top: .5em; }

  /* interior banners */
  .page-head, .page-head.night{ padding-top: 124px; padding-bottom: 60px; }
  .page-head h1{ font-size: 2.4rem; margin-bottom: 18px; }
  .page-head p{ font-size: 1.05rem; }
  .page-head .hero-hello{ font-size: 1.25rem; }

  /* type and spacing */
  .lede{ font-size: 1.06rem; }
  h2{ font-size: 1.8rem; }
  .statement h2{ font-size: 1.95rem; }
  .fig-num{ font-size: 2.1rem; }
  .figures > div{ padding: 18px 6px; }
  .closing{ flex-direction: column; align-items: flex-start; }
  .portrait::after{ inset: 10px -8px -10px 10px; }
  .portrait figcaption{ left: 8px; bottom: 22px; font-size: 1.3rem; }
  .snapshot{ max-width: 310px; }
  .boat-line{ font-size: 1rem; }

  /* tour options */
  .option h3{ font-size: 1.45rem; }
  .option-price strong{ font-size: 2.6rem; }
  .option .btn{ align-self: stretch; justify-content: center; }
  .option-boat .note{ right: 14px; font-size: 1.25rem; }

  /* route */
  .stop-body h3{ font-size: 1.28rem; }

  /* booking */
  .form-card{ padding: 24px 18px; }
  .form-panel h2{ font-size: 1.55rem; }
  .form-nav .btn{ padding: 13px 16px; font-size: .8rem; letter-spacing: .03em; }
  .review-list li{ flex-direction: column; gap: 2px; }
  .review-list li span:last-child{ text-align: left; }
  .field input, .field select, .field textarea{ font-size: 16px; } /* stops iOS zooming in on focus */
}

/* Phones: compact straight trail, rows only as tall as their text */
@media (max-width: 760px){
  .stops{ grid-auto-rows: auto; }
  .route-line{ display: none; }
  .route::before{ content: ''; position: absolute; left: calc(var(--col) / 2 - 1.5px); top: 34px; bottom: 34px; border-left: 3px dotted #b9cbc7; }
  .route::after{ content: ''; position: absolute; left: calc(var(--col) / 2 - 2px); top: 34px; width: 4px; border-radius: 2px; background: var(--red); height: calc((100% - 68px) * var(--walked-n, 0)); }
  .stop{ padding-block: 4px; }
  .stop-dot{ position: relative; z-index: 1; }
  .stop-body, .stop:nth-child(even) .stop-body{ padding: 16px 0 16px 12px; }
}

/* Phone menu: booking button spans the drawer so it lines up with the links and divider */
@media (max-width: 820px){
  .nav-links .nav-cta{ display: block; width: 100%; text-align: center; padding: 15px 22px !important; margin-top: 10px; font-size: 1.15rem; }
  .nav-toggle span{ transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Classic tour: secondary prices under the adult price ---------- */
.price-list{ display: grid; border-top: 1px solid var(--line); }
.price-list li{ display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.price-list li span{ color: var(--muted); }
.price-list li b{ font-family: var(--num); font-weight: 600; text-align: right; font-variant-numeric: lining-nums; }
.option .price-list{ gap: 0; margin-top: -6px; }
.option .price-list li{ padding-left: 0; }
.option .price-list li::before{ display: none; }

/* ---------- Booking: email / phone cards ---------- */
.contact-cards{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.contact-card{
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 34px); background: var(--white); border-radius: 10px;
  box-shadow: 0 1px 0 var(--line), 0 24px 60px rgba(10,48,50,.1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-card:hover{ transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 28px 64px rgba(10,48,50,.16); }
.contact-value{ font-family: var(--num); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.25; color: var(--teal); overflow-wrap: break-word; }
.contact-hint{ color: var(--muted); font-size: .95rem; }
.contact-card .btn{ align-self: flex-start; margin-top: auto; }
.contact-card:hover .btn-red{ background: var(--red-deep); }
.contact-card:hover .btn-line{ background: var(--ink); color: var(--white); }
.booking-info h2{ font-size: 1.6rem; margin-bottom: 8px; }
.booking-info > p{ color: var(--muted); margin-bottom: 16px; }
.checklist{ display: grid; gap: 8px; }
.checklist li{ position: relative; padding-left: 24px; }
.checklist li::before{ content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--red); }
@media (max-width: 640px){
  .contact-cards{ grid-template-columns: 1fr; }
  .contact-card .btn{ align-self: stretch; justify-content: center; }
  .price-list li{ flex-direction: column; gap: 0; }
  .price-list li b{ text-align: left; }
  .option .price-list li{ flex-direction: row; }
}

/* ---------- Photos from past tours ---------- */
.photo-strip{ display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.6vw, 34px); }
.photo-strip figure, .gallery figure{ margin: 0; background: var(--white); padding: 10px 10px 0; box-shadow: 0 14px 34px rgba(10,48,50,.16); }
.photo-strip figure:nth-child(4n+1){ rotate: -2deg; }
.photo-strip figure:nth-child(4n+2){ rotate: 1.4deg; }
.photo-strip figure:nth-child(4n+3){ rotate: -.8deg; }
.photo-strip figure:nth-child(4n+4){ rotate: 2deg; }
.photo-strip img{ width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-strip figcaption, .gallery figcaption{ color: var(--ink); text-align: center; font-size: 1.3rem; padding: 8px 6px 12px; }
.photo-strip a, .gallery a{ display: block; overflow: hidden; }
.photo-strip img, .gallery img{ transition: transform .4s ease; }
.photo-strip a:hover img, .gallery a:hover img{ transform: scale(1.04); }
@media (max-width: 860px){ .photo-strip{ grid-template-columns: repeat(2, 1fr); } }

.gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.8vw, 36px); }
.gallery figure{ display: flex; flex-direction: column; }
.gallery figure:nth-child(odd){ rotate: -.8deg; }
.gallery figure:nth-child(even){ rotate: .8deg; }
.gallery img{ width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.gallery figcaption{ flex: 1; display: flex; align-items: center; justify-content: center; }
.gallery a{ cursor: zoom-in; }
@media (max-width: 860px){ .gallery{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .gallery{ grid-template-columns: 1fr; } }

.lightbox{ border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop{ background: rgba(6,20,22,.9); }
.lightbox img{ max-width: 100%; max-height: 84vh; width: auto; height: auto; margin: 0 auto; border: 8px solid var(--white); }
.lightbox .note{ color: var(--white); text-align: center; margin-top: 12px; font-size: 1.5rem; }
.lightbox-close{
  position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--red); color: var(--white); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
@media (max-width: 640px){ .lightbox-close{ top: -14px; right: -6px; } }
@media (prefers-reduced-motion: reduce){ .photo-strip img, .gallery img, .contact-card{ transition: none; } }

/* ---------- Tour cards: price breakdown on the dark card, fine print under both ---------- */
.option-boat .price-list{ border-color: var(--line-dark); }
.option-boat .price-list li{ border-color: var(--line-dark); }
.option-boat .price-list li span{ color: rgba(255,255,255,.78); }
.option-boat .price-list li b{ color: var(--white); }
.option-fine{ font-size: .95rem; margin-top: -4px; }
.price-note{ margin-top: 14px; font-size: .95rem; color: var(--muted); }
.price-head{ font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 26px 0 8px; }
.price-head:first-of-type{ margin-top: 4px; }

@media (max-width: 640px){
  /* prices sit beside their label, and only drop below when they don't fit */
  .price-list li{ flex-direction: row; flex-wrap: wrap; gap: 0 12px; }
  .price-list li b{ text-align: right; margin-left: auto; }

  /* gallery: two photos per row instead of one very long column */
  .gallery{ grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .gallery figure{ padding: 6px 6px 0; }
  .gallery figcaption{ font-size: 1.05rem; line-height: 1.2; padding: 6px 2px 8px; }
}
