/* ==========================================================================
   ROCKY TOP REELS — Site stylesheet
   Direction: cinematic blue-lake documentary. Deep water navy, fog neutrals,
   line-gold accent. Signature: film title-card hero + mono telemetry
   eyebrows ("LOG 01") carried through every section.
   HC Web Labs · Mobile-first · WCAG 2.2 AA · @layer cascade · oklch + fallbacks
   Breakpoints: 320 / 480 / 640 / 768 / 1024 / 1280 / 1440 (min-width only)
   ========================================================================== */

@layer reset, tokens, base, layout, components, utilities;

/* ==================== RESET ==================== */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { min-height: 100dvh; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
  button { cursor: pointer; }
  ul[role="list"], ol[role="list"] { list-style: none; }
  h1, h2, h3, h4, p, li, figcaption { overflow-wrap: break-word; }
  a { text-decoration-skip-ink: auto; }
}

/* ==================== TOKENS ==================== */
@layer tokens {
  :root {
    /* Color — hex fallbacks first, oklch upgrade below */
    --ink:        #0a1622;  /* lake at night */
    --deep:       #10293d;  /* deep water */
    --water:      #1b4661;  /* mid channel */
    --current:    #4f93b8;  /* moving water */
    --shallow:    #9cc4d8;  /* shoal light */
    --fog:        #f1f5f7;  /* morning fog */
    --fog-dim:    #c9d6dd;
    --gold:       #d9a441;  /* the line */
    --gold-deep:  #b07f24;

    /* Type */
    --font-display: "Anton", "Arial Narrow", sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", "Consolas", monospace;

    --fs-telemetry: clamp(0.68rem, 0.62rem + 0.3vw, 0.8rem);
    --fs-body:      clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lead:      clamp(1.125rem, 1.02rem + 0.5vw, 1.4rem);
    --fs-h4:        clamp(1.1rem, 1.05rem + 0.3vw, 1.25rem);
    --fs-h3:        clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
    --fs-h2:        clamp(2rem, 1.4rem + 3vw, 3.6rem);
    --fs-hero:      clamp(2.6rem, 1.2rem + 8.5vw, 7.5rem);
    --fs-page-hero: clamp(2.4rem, 1.4rem + 5vw, 5rem);

    /* Space scale — every structural gap/pad/margin draws from here */
    --sp-2xs: 0.35rem;
    --sp-xs:  0.6rem;
    --sp-s:   0.85rem;
    --sp-m:   clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
    --sp-l:   clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --sp-xl:  clamp(2.25rem, 1.9rem + 1.75vw, 3.25rem);
    --sp-2xl: clamp(3.25rem, 2.6rem + 3vw, 5rem);

    --space-band: clamp(4rem, 3rem + 6vw, 8.5rem);
    --space-band-half: clamp(2rem, 1.5rem + 3vw, 4.25rem);
    --header-height: 3.9rem;
    --container: 1200px;
    --radius: 6px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    /* Component tokens */
    --hairline-light: 1px solid var(--fog-dim);
    --hairline-dark: 1px solid color-mix(in srgb, var(--fog) 14%, transparent);
    --surface-raised: color-mix(in srgb, var(--fog) 5%, transparent);
    --radius-pill: 999px;
    --media-grade: saturate(0.85) brightness(0.85) contrast(1.05);
    --scrim-strong: 85%;
  }

  @supports (color: oklch(0% 0 0)) {
    :root {
      --ink:       oklch(0.19 0.028 240);
      --deep:      oklch(0.26 0.045 238);
      --water:     oklch(0.37 0.06 232);
      --current:   oklch(0.63 0.08 228);
      --shallow:   oklch(0.8 0.05 225);
      --fog:       oklch(0.965 0.006 220);
      --fog-dim:   oklch(0.86 0.015 222);
      --gold:      oklch(0.75 0.12 82);
      --gold-deep: oklch(0.62 0.12 80);
    }
  }
}

/* ==================== BASE ==================== */
@layer base {
  html {
    scroll-behavior: smooth;
    /* Fixed header — anchor targets land below it, not under it */
    scroll-padding-top: calc(var(--header-height) + var(--sp-m));
  }
  body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--fog);
    -webkit-font-smoothing: antialiased;
  }
  /* Themed scrollbar — Firefox */
  html {
    scrollbar-color: var(--water) color-mix(in srgb, var(--ink) 12%, var(--fog));
    scrollbar-width: thin;
  }
  /* Themed scrollbar — WebKit/Chromium */
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: color-mix(in srgb, var(--ink) 10%, var(--fog)); }
  ::-webkit-scrollbar-thumb {
    background: var(--water);
    border-radius: var(--radius-pill);
    border: 3px solid color-mix(in srgb, var(--ink) 10%, var(--fog));
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--current); }
  h1, h2 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }
  h3 { line-height: 1.2; }
  a { color: inherit; }
  /* Keyboard focus ring. :focus fallback for browsers without :focus-visible;
     the :focus-visible rule then removes it for mouse users where supported. */
  :focus { outline: 3px solid var(--gold); outline-offset: 3px; }
  :focus:not(:focus-visible) { outline: none; }
  :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
  .skip-link {
    position: absolute;
    left: 1rem;
    top: -100%;
    z-index: 100;
    background: var(--gold);
    color: var(--ink);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
  }
  .skip-link:focus { top: 1rem; }
}

/* ==================== LAYOUT ==================== */
@layer layout {
  .container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
  }
  .band { padding-block: var(--space-band); }
  .band--tight { padding-block: var(--space-band-half); }
  .band--deep { background: var(--deep); color: var(--fog); }
  .band--ink  { background: var(--ink);  color: var(--fog); }
  /* Textured variant: a faint lake photo drifts behind the section,
     held down by a heavy scrim so foreground content never fights it.
     Add data-texture="img/xxx.jpg" and the .has-texture class. */
  .has-texture { position: relative; overflow: hidden; }
  .has-texture > .container { position: relative; z-index: 2; }
  .band-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--tex, none);
    background-size: cover;
    background-position: center;
    filter: var(--media-grade);
    opacity: 0.22;
  }
  .band-texture::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 50% 0%,
      transparent, color-mix(in srgb, var(--ink) 70%, transparent));
  }
}

/* ==================== COMPONENTS ==================== */
@layer components {

  /* ---------- Telemetry eyebrow (signature motif) ---------- */
  .telemetry {
    font-family: var(--font-mono);
    font-size: var(--fs-telemetry);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .telemetry::before {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: var(--gold);
    flex: none;
  }
  .telemetry--center { justify-content: center; }
  .telemetry--center::after {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: var(--gold);
    flex: none;
  }

  /* ---------- Section heads ---------- */
  .section-title { font-size: var(--fs-h2); text-wrap: balance; }
  .section-head { max-width: 46rem; margin-bottom: var(--sp-2xl); }
  .section-head--tight { margin-bottom: var(--sp-xl); }
  .section-head > p { margin-top: var(--sp-m); }
  .band--deep .section-head > p,
  .band--ink .section-head > p { color: var(--fog-dim); }

  /* ---------- Header ---------- */
  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: color-mix(in srgb, var(--ink) 72%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--fog) 12%, transparent);
    color: var(--fog);
  }
  @supports not (background: color-mix(in srgb, red 50%, blue)) {
    .site-header { background: rgba(10, 22, 34, 0.88); }
  }
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-m);
    min-height: var(--header-height);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .brand i { color: var(--gold); }
  .brand__lockup {
    display: grid;
    line-height: 1.05;
  }
  .brand__sub {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    color: var(--gold);
  }
  .brand--footer { margin-bottom: var(--sp-m); }
  .nav-toggle {
    background: none;
    border: 1px solid color-mix(in srgb, var(--fog) 35%, transparent);
    border-radius: var(--radius);
    color: var(--fog);
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    font-size: 1.1rem;
  }
  .primary-nav { display: none; }
  .primary-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 2vw, 2rem);
  }
  .primary-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    opacity: 0.85;
    transition: opacity 0.2s, color 0.2s;
  }
  .primary-nav a:hover { opacity: 1; color: var(--gold); }
  .primary-nav a[aria-current="page"] {
    opacity: 1;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }
  .nav-cta {
    background: var(--gold);
    color: var(--ink);
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius);
    font-weight: 700;
    opacity: 1;
  }
  .nav-cta:hover { background: var(--gold-deep); color: var(--fog); }

  /* Mobile flyout — slides in from the right (progressive: @starting-style
     browsers animate, others just open) */
  .nav-dialog {
    border: 0;
    padding: 0;
    width: min(20rem, 85vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0 0 0 auto;
    background: var(--ink);
    color: var(--fog);
    translate: 0 0;
    transition: translate 0.35s var(--ease-out), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
  }
  @starting-style {
    .nav-dialog[open] { translate: 100% 0; }
  }
  .nav-dialog:not([open]) { translate: 100% 0; }
  .nav-dialog::backdrop {
    background: rgba(6, 12, 18, 0.6);
    backdrop-filter: blur(3px);
  }
  /* Page behind the flyout must not scroll. :has() handles modern browsers;
     initNav() in main.js mirrors this via body.style for Safari <15.4 / older
     Chromium, so the lock works everywhere. */
  body:has(.nav-dialog[open]) { overflow: hidden; }
  .nav-dialog__inner {
    padding: var(--sp-l);
    display: grid;
    gap: var(--sp-xs);
  }
  .nav-dialog__close {
    justify-self: end;
    background: none;
    border: 0;
    color: var(--fog);
    font-size: 1.4rem;
    cursor: pointer;
    padding: var(--sp-2xs);
  }
  .nav-dialog a:not(.btn) {
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: var(--sp-xs) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--fog) 12%, transparent);
  }
  .nav-dialog a:not(.btn):hover,
  .nav-dialog a:not(.btn)[aria-current="page"] { color: var(--gold); }
  .nav-dialog .btn { margin-top: var(--sp-m); justify-content: center; }
  .nav-dialog .telemetry { margin-top: var(--sp-l); margin-bottom: 0; }

  /* ---------- Hero: film title card (homepage) ---------- */
  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--ink);
    color: var(--fog);
  }
  .hero__media { position: absolute; inset: 0; z-index: 0; }
  .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cinematic grade: one shared token keeps video + photos in one color world */
    filter: var(--media-grade);
  }
  .hero__water {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(120% 90% at 50% 115%, var(--water) 0%, transparent 55%),
      radial-gradient(90% 60% at 80% 0%, color-mix(in srgb, var(--current) 30%, transparent) 0%, transparent 60%),
      linear-gradient(180deg, var(--ink) 0%, var(--deep) 55%, var(--water) 100%);
  }
  .hero__ripples {
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(178deg,
        transparent 0 34px,
        color-mix(in srgb, var(--shallow) 7%, transparent) 34px 35px,
        transparent 35px 80px);
    animation: drift 14s linear infinite;
    opacity: 0.7;
  }
  @keyframes drift {
    from { transform: translateY(0); }
    to   { transform: translateY(80px); }
  }
  .hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--ink) 62%, transparent) 0%,
      color-mix(in srgb, var(--ink) 22%, transparent) 40%,
      color-mix(in srgb, var(--ink) var(--scrim-strong), transparent) 100%);
  }
  /* Cinematic letterbox bars */
  .hero::before, .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: clamp(0.9rem, 3vh, 2rem);
    background: var(--ink);
    z-index: 3;
  }
  .hero::before { top: 0; }
  .hero::after { bottom: 0; }
  .hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-inline: 1.25rem;
    max-width: 62rem;
  }
  .hero__coords {
    font-family: var(--font-mono);
    font-size: var(--fs-telemetry);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--shallow);
    margin-bottom: 1.25rem;
  }
  .hero__title { font-size: var(--fs-hero); text-wrap: balance; }
  .hero__title span { color: var(--gold); }
  .hero__lead {
    font-size: var(--fs-lead);
    color: var(--fog-dim);
    max-width: 40rem;
    margin: 1.5rem auto 2.25rem;
    text-wrap: balance;
  }
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-s);
  }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__scrollcue {
    position: absolute;
    bottom: clamp(2rem, 6vh, 3.5rem);
    left: 50%;
    translate: -50% 0;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--shallow);
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    text-decoration: none;
  }
  .hero__scrollcue i { animation: bob 2.2s var(--ease-out) infinite; }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
  }

  /* ---------- Page hero (interior pages) ---------- */
  .page-hero {
    background: var(--ink);
    color: var(--fog);
    position: relative;
    overflow: hidden;
    /* Taller stage so the background photography can breathe;
       content anchors to the bottom like a film title card */
    min-height: 24rem;
    min-height: clamp(24rem, 58svh, 38rem);
    display: grid;
    align-content: end;
    padding-block: calc(var(--header-height) + var(--sp-2xl)) var(--sp-2xl);
  }
  .page-hero > .container { position: relative; z-index: 2; width: min(100% - 2.5rem, var(--container)); }
  /* Photo variant — full-bleed image + ink scrim, same grade as the video */
  .page-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--media-grade);
  }
  .page-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Lighter wash — anchored heavier only where the text sits (left/bottom)
       so the photography stays legible everywhere else */
    background:
      linear-gradient(90deg,
        color-mix(in srgb, var(--ink) 55%, transparent) 0%,
        color-mix(in srgb, var(--ink) 12%, transparent) 65%,
        transparent 100%),
      linear-gradient(180deg,
        transparent 0%,
        color-mix(in srgb, var(--ink) 14%, transparent) 45%,
        color-mix(in srgb, var(--ink) 74%, transparent) 100%);
  }
  .page-hero__title { font-size: var(--fs-page-hero); text-wrap: balance; }
  .page-hero__title span { color: var(--gold); }
  .page-hero__lead {
    font-size: var(--fs-lead);
    color: var(--fog-dim);
    max-width: 44rem;
    margin-top: 1.25rem;
    text-wrap: balance;
  }
  .page-hero__watermark {
    position: absolute;
    right: -0.5em;
    bottom: -0.35em;
    font-size: clamp(8rem, 22vw, 18rem);
    color: color-mix(in srgb, var(--water) 55%, transparent);
    pointer-events: none;
  }

  /* ---------- Photo band (dark sections with image backgrounds) ---------- */
  .band--photo {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--fog);
  }
  .band--photo > .container { position: relative; z-index: 2; }
  .band__media { position: absolute; inset: 0; z-index: 0; }
  .band__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--media-grade);
  }
  .band__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: color-mix(in srgb, var(--ink) 76%, transparent);
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.7rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
  }
  .btn:hover { transform: translateY(-2px); }
  .btn--gold { background: var(--gold); color: var(--ink); }
  .btn--gold:hover { background: var(--gold-deep); color: var(--fog); }
  .btn--ghost {
    border-color: color-mix(in srgb, var(--fog) 45%, transparent);
    color: var(--fog);
    background: color-mix(in srgb, var(--fog) 6%, transparent);
  }
  .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
  .btn--ghost-dark {
    border-color: color-mix(in srgb, var(--ink) 30%, transparent);
    color: var(--ink);
    background: transparent;
  }
  .btn--ghost-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

  /* ---------- Intro / stats (homepage) ---------- */
  .intro { display: grid; gap: var(--sp-xl); }
  .intro__copy h2 { max-width: 16ch; }
  .intro__copy p { margin-top: 1.25rem; max-width: 55ch; color: var(--deep); }
  .stats {
    display: grid;
    gap: 1px;
    background: var(--fog-dim);
    border: var(--hairline-light);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .stat { background: var(--fog); padding: var(--sp-m) var(--sp-l); }
  .stat__num {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
    color: var(--water);
    line-height: 1;
  }
  .stat__label {
    font-family: var(--font-mono);
    font-size: var(--fs-telemetry);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-top: 0.5rem;
  }

  /* ---------- Rates ---------- */
  .trips-layout { display: grid; gap: var(--sp-l); align-items: start; }
  .rates {
    display: grid;
    border-top: var(--hairline-dark);
  }
  .rate {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "party price"
      "book  book";
    align-items: center;
    gap: 0.6rem 1rem;
    padding-block: 1.15rem;
    border-bottom: var(--hairline-dark);
    transition: background 0.25s, padding-inline 0.25s var(--ease-out);
  }
  .rate:hover {
    background: var(--surface-raised);
    padding-inline: 0.75rem;
  }
  .rate__party { grid-area: party; font-weight: 600; letter-spacing: 0.01em; }
  .rate__party i { color: var(--gold); margin-right: 0.5rem; }
  .rate__dots { display: none; }
  .rate__price {
    grid-area: price;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
    color: var(--gold);
    letter-spacing: 0.02em;
  }
  .rate__book {
    grid-area: book;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--shallow);
    border: 1px solid color-mix(in srgb, var(--fog) 28%, transparent);
    border-radius: var(--radius-pill);
    padding: 0.45rem 1rem;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    cursor: pointer;
    background: none;
  }
  .rate__book:hover {
    color: var(--ink);
    background: var(--gold);
    border-color: var(--gold);
  }
  .includes {
    background: var(--surface-raised);
    border: var(--hairline-dark);
    border-radius: var(--radius);
    padding: var(--sp-l);
  }
  .includes h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-m); }
  .includes h3 i { color: var(--gold); margin-right: 0.5rem; }
  .includes ul { display: grid; gap: var(--sp-xs); }
  .includes li i { color: var(--gold); margin-right: 0.6rem; font-size: 0.85rem; }
  .includes__note {
    margin-top: var(--sp-m);
    padding-top: var(--sp-m);
    border-top: var(--hairline-dark);
    font-size: 0.92rem;
    color: var(--fog-dim);
  }
  .includes__note a { color: var(--gold); text-underline-offset: 3px; }

  /* ---------- Trip log (What to Expect) ---------- */
  .log { counter-reset: log; display: grid; }
  .log__step {
    counter-increment: log;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding-block: 1.75rem;
    border-bottom: var(--hairline-light);
  }
  .log__step:first-child { border-top: var(--hairline-light); }
  .log__step::before {
    content: "LOG " counter(log, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: var(--fs-telemetry);
    letter-spacing: 0.16em;
    color: var(--gold-deep);
    padding-top: 0.35rem;
    white-space: nowrap;
  }
  .log__step h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2xs); }
  .log__step p { color: var(--deep); max-width: 58ch; }
  .log__step a { color: var(--gold-deep); text-underline-offset: 3px; }
  .expect { display: grid; gap: var(--sp-xl); }
  .expect__copy h2 { max-width: 14ch; }
  .expect__copy p { margin-top: 1.1rem; color: var(--deep); max-width: 48ch; }
  .expect__copy .btn { margin-top: 1.75rem; }

  /* ---------- Checklist (What to Expect page) ---------- */
  .split { display: grid; gap: var(--sp-l); align-items: start; }
  .checklist {
    background: var(--fog);
    border: var(--hairline-light);
    border-radius: var(--radius);
    padding: var(--sp-l);
  }
  .checklist h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-m); }
  .checklist h3 i { color: var(--gold-deep); margin-right: 0.5rem; }
  .checklist ul { display: grid; gap: var(--sp-xs); }
  .checklist li { display: flex; gap: 0.65rem; align-items: baseline; }
  .checklist li i { color: var(--gold-deep); font-size: 0.85rem; flex: none; }
  .checklist--provided li i { color: var(--water); }

  /* ---------- Notice card ---------- */
  .notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    background: color-mix(in srgb, var(--gold) 12%, var(--fog));
    border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
    border-radius: var(--radius);
    padding: var(--sp-l);
  }
  .notice > i { color: var(--gold-deep); font-size: 1.3rem; padding-top: 0.2rem; }
  .notice h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2xs); }
  .notice p { color: var(--deep); }
  .notice a { color: var(--gold-deep); font-weight: 600; text-underline-offset: 3px; }

  /* ---------- Story ---------- */
  .story { display: grid; gap: var(--sp-xl); align-items: center; }
  .story__portrait {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    /* PHOTO SLOT — the captain, on the water, golden hour */
    background:
      radial-gradient(80% 60% at 50% 100%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
      linear-gradient(200deg, var(--water), var(--ink));
    display: grid;
    place-items: center;
    color: color-mix(in srgb, var(--shallow) 55%, transparent);
    font-size: 2.4rem;
    border: var(--hairline-dark);
  }
  .story__copy p { margin-top: 1.1rem; color: var(--fog-dim); max-width: 52ch; }
  .story__copy .btn { margin-top: 1.75rem; }

  /* ---------- Credentials (Our Story page) ---------- */
  .creds { display: grid; gap: var(--sp-m); }
  .cred {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-m);
    align-items: start;
    background: var(--surface-raised);
    border: var(--hairline-dark);
    border-radius: var(--radius);
    padding: var(--sp-l);
  }
  .cred > i { color: var(--gold); font-size: 1.4rem; padding-top: 0.15rem; }
  .cred h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2xs); }
  .cred p { color: var(--fog-dim); font-size: 0.96rem; }

  /* ---------- Photo marquee (homepage "The Proof") ---------- */
  /* Auto-drifting film strip. Pauses on hover, keyboard focus, or tap
     (touch handled in main.js). Track holds two copies of the frame set
     and translates -50% for a seamless loop. */
  .marquee {
    overflow: hidden;
    padding-block: 0.25rem 1.25rem;
  }
  .marquee__track {
    display: flex;
    gap: var(--sp-m);
    width: max-content;
    animation: marquee-drift 45s linear infinite;
  }
  .marquee:hover .marquee__track,
  .marquee:focus-visible .marquee__track,
  .marquee:focus-within .marquee__track,
  .marquee.is-paused .marquee__track {
    animation-play-state: paused;
  }
  @keyframes marquee-drift {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .marquee__frame {
    width: min(72vw, 22rem);
    aspect-ratio: 4 / 3;
    flex: none;
    border-radius: var(--radius);
    /* PHOTO SLOTS — best catch/scenery shots from the Photos page */
    background: linear-gradient(160deg, var(--deep), var(--water));
    display: grid;
    place-items: center;
    color: color-mix(in srgb, var(--shallow) 55%, transparent);
    font-size: 1.9rem;
    position: relative;
  }
  .marquee__frame figcaption {
    position: absolute;
    bottom: 0.75rem;
    left: 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--shallow);
  }

  /* ---------- Gallery (Photos page) ---------- */
  /* True mosaic: fixed row height + dense auto-flow packs every hole.
     Features span 2x2, accents span tall — frames interlock at every
     breakpoint because cells (not aspect-ratios) define the geometry. */
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(7.5rem, 26vw, 11rem);
    grid-auto-flow: dense;
    gap: var(--sp-s);
  }
  .gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* PHOTO SLOTS — replace with <img loading="lazy"> of real catches;
       object-fit: cover lets any source photo fill its mosaic cell */
    background: linear-gradient(165deg, var(--deep), var(--water));
    display: grid;
    place-items: center;
    color: color-mix(in srgb, var(--shallow) 45%, transparent);
    font-size: 1.9rem;
    border: 0;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out);
  }
  .gallery__item:hover { transform: scale(1.02); }
  .gallery__item > img { width: 100%; height: 100%; object-fit: cover; }
  /* Mosaic cadence */
  .gallery__item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
  .gallery__item:nth-child(9n+5) { grid-row: span 2; }
  .gallery__item figcaption,
  .gallery__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.75rem 0.85rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    color: var(--shallow);
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 80%, transparent));
  }
  .lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(90vw, 70rem);
  }
  .lightbox::backdrop { background: rgba(6, 12, 18, 0.85); backdrop-filter: blur(4px); }
  .lightbox__frame {
    aspect-ratio: 4 / 3;
    width: min(90vw, 70rem);
    border-radius: var(--radius);
    background: linear-gradient(165deg, var(--deep), var(--water));
    display: grid;
    place-items: center;
    color: var(--shallow);
    font-size: 3rem;
    position: relative;
  }
  .lightbox__caption {
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fog);
  }
  .lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: color-mix(in srgb, var(--ink) 70%, transparent);
    border: 1px solid color-mix(in srgb, var(--fog) 25%, transparent);
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--fog);
    cursor: pointer;
    display: grid;
    place-items: center;
  }
  .lightbox__close:hover { border-color: var(--gold); color: var(--gold); }

  /* ---------- Testimonial ---------- */
  .quote { max-width: 52rem; margin-inline: auto; text-align: center; }
  .quote > i { color: var(--gold); font-size: 1.6rem; }
  .quote blockquote {
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: 1.35;
    margin-top: 1.25rem;
    text-wrap: balance;
  }
  .quote cite {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: var(--fs-telemetry);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
  }
  .quote .btn { margin-top: 1.75rem; }
  .band--deep .quote cite,
  .band--ink .quote cite { color: var(--gold); }

  /* ---------- Booking embed panel ---------- */
  .booking-panel {
    background: var(--fog);
    color: var(--ink);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 3rem);
  }
  .booking-panel__note {
    font-family: var(--font-mono);
    font-size: var(--fs-telemetry);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1.25rem;
  }
  /* Acuity iframe drops in here — full-width, no border */
  .booking-panel iframe { width: 100%; border: 0; min-height: 40rem; }

  /* ---------- FAQ ---------- */
  .faq { display: grid; max-width: 52rem; margin-inline: auto; }
  .faq details {
    border-bottom: var(--hairline-light);
    transition: background 0.25s var(--ease-out);
  }
  .faq details:first-child { border-top: var(--hairline-light); }
  .faq details[open] {
    background: color-mix(in srgb, var(--gold) 6%, transparent);
  }
  .faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-m);
    padding: 1.25rem var(--sp-m);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
  }
  .faq summary:hover { color: var(--gold-deep); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "\2b";
    font-family: var(--font-mono);
    color: var(--gold-deep);
    font-size: 1.2rem;
    transition: rotate 0.25s var(--ease-out);
  }
  .faq details[open] summary::after { rotate: 45deg; }
  .faq details > p {
    padding: 0 var(--sp-m) 1.25rem;
    color: var(--deep);
    max-width: 64ch;
  }
  .faq details > p a { color: var(--gold-deep); text-underline-offset: 3px; }

  /* ---------- Newsletter ---------- */
  .news { position: relative; overflow: hidden; }
  /* Line-art fish pair — swimming in from opposite sides of the frame */
  .news__fish {
    position: absolute;
    top: 50%;
    width: clamp(8rem, 14vw, 15rem);
    color: var(--gold);
    opacity: 0.14; /* watermark behind text on small screens */
    pointer-events: none;
  }
  .news__fish--right {
    right: clamp(0.5rem, 3vw, 3.5rem);
    translate: 0 -50%;
    rotate: -8deg;
  }
  .news__fish--left {
    left: clamp(0.5rem, 3vw, 3.5rem);
    translate: 0 -50%;
    rotate: 8deg;
    scale: -1 1; /* mirror — faces the other fish */
  }
  .news__inner { position: relative; max-width: 40rem; margin-inline: auto; }
  .news h2 span { color: var(--gold); }
  .news .section-head > p { color: var(--fog-dim); }
  .news form { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
  .news label { font-weight: 600; font-size: 0.95rem; }
  .news input[type="email"] {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--fog) 30%, transparent);
    background: color-mix(in srgb, var(--fog) 8%, transparent);
    color: var(--fog);
  }
  .news input::placeholder { color: color-mix(in srgb, var(--fog) 55%, transparent); }
  .news small {
    color: var(--fog-dim);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .news small i { color: var(--gold); margin-right: 0.35rem; }
  .news__status {
    grid-column: 1 / -1;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    min-height: 1.2em;
  }
  .news__status:not(:empty) { margin-top: var(--sp-2xs); }
  .news__status[data-state="ok"] { color: var(--shallow); }
  .news__status[data-state="error"] { color: var(--gold); }

  /* ---------- Divider (themed rule) ---------- */
  /* Center-weighted hairline with a gold node — use between stacked blocks */
  .divider {
    border: 0;
    height: 1px;
    margin-block: var(--sp-xl);
    background: linear-gradient(90deg,
      transparent,
      color-mix(in srgb, var(--ink) 22%, transparent) 25%,
      color-mix(in srgb, var(--ink) 22%, transparent) 75%,
      transparent);
    position: relative;
    overflow: visible;
  }
  .divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    translate: -50% -50%;
    rotate: 45deg;
    background: var(--gold);
  }
  .band--deep .divider,
  .band--ink .divider,
  .band--photo .divider {
    background: linear-gradient(90deg,
      transparent,
      color-mix(in srgb, var(--fog) 20%, transparent) 25%,
      color-mix(in srgb, var(--fog) 20%, transparent) 75%,
      transparent);
  }

  /* ---------- Footer ---------- */
  /* Footer sets its own vertical rhythm: generous entry, tight exit —
     overrides .band's symmetric padding (components layer beats layout). */
  .site-footer {
    border-top: 1px solid color-mix(in srgb, var(--fog) 12%, transparent);
    padding-block: var(--space-band-half) var(--sp-l);
  }
  .footer-grid { display: grid; gap: var(--sp-xl) var(--sp-l); }
  .footer-heading {
    font-family: var(--font-mono);
    font-size: var(--fs-telemetry);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
  }
  .footer-grid address { font-style: normal; color: var(--fog-dim); }
  .footer-grid a { color: var(--fog-dim); text-decoration: none; }
  .footer-grid a:hover { color: var(--gold); }
  .footer-grid ul { display: grid; gap: var(--sp-xs); }
  .footer-social { display: flex; gap: 0.75rem; }
  .footer-social a {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--fog) 25%, transparent);
    transition: border-color 0.2s, color 0.2s;
  }
  .footer-social a:hover { border-color: var(--gold); color: var(--gold); }
  .footer-bottom {
    margin-top: var(--sp-xl);
    padding-top: var(--sp-m);
    border-top: 1px solid color-mix(in srgb, var(--fog) 10%, transparent);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: color-mix(in srgb, var(--fog) 55%, transparent);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-xs) var(--sp-l);
    justify-content: space-between;
  }

  /* ---------- Scroll to top ---------- */
  .scroll-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 40;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--gold-deep);
    border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent);
    background: var(--ink);
    background: color-mix(in srgb, var(--ink) 85%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--gold);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1rem;
    opacity: 0;
    translate: 0 0.75rem;
    transition: opacity 0.3s var(--ease-out), translate 0.3s var(--ease-out),
                background 0.2s, color 0.2s;
  }
  .scroll-top.is-visible { opacity: 1; translate: 0 0; }
  .scroll-top:hover { background: var(--gold); color: var(--ink); }
  .scroll-top[hidden] { display: none; }

  /* ---------- Scroll reveal ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ==================== UTILITIES ==================== */
@layer utilities {
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }
}

/* ==================== BREAKPOINTS — 320/480/640/768/1024/1280/1440 ==================== */

/* Base (<320): single-column everything, minimum gutters */

@media (min-width: 320px) {
  .container { width: min(100% - 2.5rem, var(--container)); }
  .page-hero > .container { width: min(100% - 2.5rem, var(--container)); }
}

@media (min-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 0 1 auto; }
  .gallery { grid-auto-rows: clamp(8.5rem, 22vw, 12rem); }
  .news form { grid-template-columns: 1fr auto; align-items: end; }
  .news form .btn { height: 100%; }
  .news label { grid-column: 1 / -1; }
  .news small { grid-column: 1 / -1; }
}

@media (min-width: 640px) {
  .rate {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "party dots price book";
    gap: 1.25rem;
  }
  .rate__dots {
    display: block;
    grid-area: dots;
    border-bottom: 2px dotted color-mix(in srgb, var(--fog) 25%, transparent);
    transform: translateY(-0.35em);
  }
  .rate__book { justify-self: end; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .expect { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .story { grid-template-columns: 0.8fr 1.2fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(8rem, 15vw, 11rem);
    gap: var(--sp-m);
  }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .intro { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .stats { grid-template-columns: 1fr; }
  .trips-layout { grid-template-columns: 1.5fr 1fr; gap: var(--sp-2xl); }
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(8.5rem, 12vw, 12rem);
  }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  /* Fish get their own open water on either side of the centered form */
  .news__fish { opacity: 0.38; }
}

@media (min-width: 1280px) {
  .marquee__track { gap: 1.25rem; }
  .marquee__frame { width: 24rem; }
}

@media (min-width: 1440px) {
  :root { --container: 1320px; }
}

/* ==================== Reduced transparency ==================== */
/* Users who ask for less transparency get solid surfaces instead of scrims */
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--ink); }
  .nav-dialog::backdrop { background: rgb(6, 12, 18); backdrop-filter: none; }
  .scroll-top { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .band-texture { opacity: 0.12; }
}

/* ==================== Increased contrast ==================== */
@media (prefers-contrast: more) {
  :root {
    --fog-dim: var(--fog);
    --shallow: var(--fog);
  }
  .telemetry, .stat__label, .footer-heading { color: var(--gold); }
  .btn--ghost, .btn--ghost-dark { border-width: 2px; }
  .rate { border-bottom-width: 2px; }
}

/* ==================== Reduced motion kill-switch ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__video { display: none !important; }
  .gallery__item:hover, .trip-card:hover { transform: none !important; }
  /* Marquee stops drifting and becomes a manually scrollable strip;
     the duplicate frame set is hidden by main.js in this mode. */
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none !important; }
}
