/**
 * Luna Mega Menu -- Fins & Feathers skin
 *
 * Header values match the site design verbatim (utility bar, brand, nav links,
 * Book Now). Mega panels carry the site's navy-deep + grain + green/mono
 * language. Prefix: .lmm-  to avoid collisions with theme CSS.
 *
 * Sections:
 *   1. Custom properties (design tokens)
 *   2. Root reset / body offset
 *   3. Navigation bar (utility bar + main bar)
 *   4. Logo
 *   5. Nav items & CTA
 *   6. Hamburger (mobile trigger)
 *   7. Mega panel wrapper & background
 *   8. Mega panel inner (eyebrow, header, footer)
 *   9. Tile grid layouts
 *  10. Tile component
 *  11. Mobile drawer
 *  12. Responsive breakpoints (1240, 1040, 991 = mobile switch, 480)
 *  13. Reduced motion
 */


/* ═══════════════════════════════════════════════════════════════════════════
   1. CUSTOM PROPERTIES -- Fins & Feathers design tokens
   ═══════════════════════════════════════════════════════════════════════════ */

#lmm-root {
    --lmm-bone:      #F5F1E6;
    --lmm-card:      #FBF8EF;
    --lmm-chip:      #EAE3D0;
    --lmm-ink:       #18212B;
    --lmm-navy:      #0C2F57;
    --lmm-navy-deep: #0A2140;
    --lmm-green:     #92CA57;
    --lmm-green-dk:  #4C7526;
    --lmm-red:       #D53527;
    --lmm-gold:      #F5B301;

    /* Hairlines on dark surfaces */
    --lmm-hairline:      rgba(245, 241, 230, .28);
    --lmm-hairline-soft: rgba(245, 241, 230, .14);

    /* Film-grain texture (matches the site sections' .grain) */
    --lmm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

    /* Families */
    --lmm-serif: "Newsreader", Georgia, "Times New Roman", serif;
    --lmm-sans:  "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
    --lmm-mono:  "Space Mono", ui-monospace, "SFMono-Regular", monospace;

    /* --lmm-nav-height is deliberately NOT declared here — it is on :root just
       below, because the site's own stylesheet consumes it from OUTSIDE this
       element. See the note there before moving it back. */

    font-family: var(--lmm-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

/* Nav height token for offset calculations (utility bar + main bar).
   ─────────────────────────────────────────────────────────────────────────────
   ON :root, NOT #lmm-root (moved 2026-08-11, Point 4 sweep). The site's own
   stylesheet consumes this token from OUTSIDE the nav element — 9 places in
   ff-blocks/assets/design.css: .filter-wrap, .resource .toc, .ckl-aside,
   .ckl-progress (sticky offsets) plus scroll-margin-top on .resource .prose h2,
   .wp-block-ff-faq, .section.media-split, .gp.

   While it lived on #lmm-root those consumers could never read it and silently
   used their own 118px/120px fallback at EVERY width, so the responsive steps
   below did nothing for them:
       ≥1241px   nav 118px → 118px used  ✓
       1041-1240 nav 104px → 118px used  +14px off
       992-1040  nav  94px → 118px used  +24px off
       ≤991px    nav  60px → 118px used  +58px off   (mobile switch, was ≤768px)
   Worst effect: the sticky filter bar parked 58px below the nav on phones.

   #lmm-root inherits from :root, so the nav's own use of the token
   (.lmm-nav-spacer height, .lmm-megawrap top, its max-height calc) is
   unchanged. Do not move this back inside #lmm-root. */
:root { --lmm-nav-height: 118px; }


/* ═══════════════════════════════════════════════════════════════════════════
   2. ROOT RESET / BODY OFFSET
   ═══════════════════════════════════════════════════════════════════════════ */

/* Defensive resets on root */
#lmm-root,
#lmm-root *,
#lmm-root *::before,
#lmm-root *::after {
    box-sizing: border-box;
}

#lmm-root {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Push page content below the fixed nav */
.lmm-nav-spacer {
    height: var(--lmm-nav-height);
    display: block;
}

/* Sit below the WP admin bar for logged-in users */
body.admin-bar .lmm-navwrap {
    top: 32px;
}
body.admin-bar .lmm-megawrap {
    top: calc(var(--lmm-nav-height) + 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .lmm-navwrap {
        top: 46px;
    }
    body.admin-bar .lmm-megawrap {
        top: calc(var(--lmm-nav-height) + 46px);
    }
    body.admin-bar .lmm-mobile-drawer {
        top: 46px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   3. NAVIGATION BAR -- utility bar + main bar (values from the site design)
   ═══════════════════════════════════════════════════════════════════════════ */

.lmm-navwrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--lmm-scrolled-bg, var(--lmm-navy));
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
    contain: layout style;
}

/* Transparent header style -- navy fade at top so bone text reads on bright
   hero imagery, fully transparent at the bottom edge so the hero bleeds
   through. The renderer also skips .lmm-nav-spacer in this mode so the first
   page block (the hero) starts at y=0 underneath. */
[data-lmm-header-style="transparent"] .lmm-navwrap {
    background: linear-gradient(
        180deg,
        rgba(10, 33, 64, .55) 0%,
        rgba(10, 33, 64, .30) 62%,
        rgba(10, 33, 64, 0) 100%
    );
    box-shadow: none;
}

/* When the navwrap is hovered OR a mega panel is open, solidify the background.
   Reuses --lmm-scrolled-bg so the configured scrolled color drives all "solid" states. */
[data-lmm-header-style="transparent"] .lmm-navwrap:hover,
#lmm-root[data-lmm-header-style="transparent"]:has(.lmm-megawrap.lmm-open) .lmm-navwrap {
    background: var(--lmm-scrolled-bg, var(--lmm-navy));
    box-shadow: 0 1px 0 var(--lmm-hairline-soft);
}

/* Pre-scroll nav text / chevron color override for transparent style.
   Chain: transparent override -> nav base -> bone. */
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled) .lmm-nav-item button,
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled) .lmm-tier-secondary button,
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled) .lmm-hamburger {
    color: var(--lmm-transparent-text, var(--lmm-nav-text, var(--lmm-bone)));
}
/* When navwrap is hovered or a panel is open, switch text to the scrolled/nav-base
   color so it stays readable on the now-solid bg. Source order lets the green
   hover/open rule below win for the specifically hovered/open button. */
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled):hover .lmm-nav-item button,
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled):hover .lmm-tier-secondary button,
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled):hover .lmm-hamburger,
#lmm-root[data-lmm-header-style="transparent"]:has(.lmm-megawrap.lmm-open) .lmm-navwrap:not(.lmm-scrolled) .lmm-nav-item button,
#lmm-root[data-lmm-header-style="transparent"]:has(.lmm-megawrap.lmm-open) .lmm-navwrap:not(.lmm-scrolled) .lmm-tier-secondary button,
#lmm-root[data-lmm-header-style="transparent"]:has(.lmm-megawrap.lmm-open) .lmm-navwrap:not(.lmm-scrolled) .lmm-hamburger {
    color: var(--lmm-scrolled-text, var(--lmm-nav-text, var(--lmm-bone)));
}
/* Preserve hover/open green accent in transparent mode. */
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled) .lmm-nav-item button:hover,
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled) .lmm-nav-item[data-lmm-open="true"] button,
[data-lmm-header-style="transparent"] .lmm-navwrap:not(.lmm-scrolled) .lmm-hamburger:hover {
    color: var(--lmm-green);
}

/* Scroll shadow -- toggled by JS adding .lmm-scrolled */
.lmm-navwrap.lmm-scrolled {
    box-shadow: 0 14px 34px -22px rgba(6, 17, 33, .7), 0 1px 0 var(--lmm-hairline-soft);
}

/* Scrolled state -- applies the configured scrolled background. */
[data-lmm-header-style="solid"] .lmm-navwrap.lmm-scrolled,
[data-lmm-header-style="transparent"] .lmm-navwrap.lmm-scrolled {
    background: var(--lmm-scrolled-bg, var(--lmm-navy));
}

/* Scrolled state -- nav item text color override. */
.lmm-navwrap.lmm-scrolled .lmm-nav-item button,
.lmm-navwrap.lmm-scrolled .lmm-tier-secondary button,
.lmm-navwrap.lmm-scrolled .lmm-hamburger {
    color: var(--lmm-scrolled-text, var(--lmm-nav-text, var(--lmm-bone)));
}

/* ── Utility bar -- design .nav-util ── */
.lmm-util {
    border-bottom: 1px solid rgba(245, 241, 230, .16);
}
.lmm-util-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem 1.5rem;
    flex-wrap: wrap;
    padding-top: .55rem;
    padding-bottom: .55rem;
}
.lmm-ico {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}
.lmm-util-loc {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--lmm-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(245, 241, 230, .72);
    white-space: nowrap;
}
.lmm-util-loc .lmm-ico {
    color: var(--lmm-green);
}
.lmm-util-r {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.lmm-util-ph {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--lmm-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--lmm-green);
    text-decoration: none;
    white-space: nowrap;
}
.lmm-util-ph .lmm-ico {
    width: 10px;
    height: 10px;
}
.lmm-util-hrs {
    font-family: var(--lmm-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(245, 241, 230, .58);
    white-space: nowrap;
}
a.lmm-util-hrs-link { text-decoration: none; }  /* colour comes from .lmm-util-hrs — `inherit` picked up the page's dark text */
a.lmm-util-hrs-link:hover { color: var(--lmm-green); }
.lmm-util-sep {
    width: 1px;
    height: 13px;
    background: rgba(245, 241, 230, .28);
    flex-shrink: 0;
}
.lmm-util-soc {
    color: rgba(245, 241, 230, .82);
    display: inline-flex;
    align-items: center;
    transition: color .2s ease;
}
.lmm-util-soc .lmm-ico {
    width: 12px;
    height: 12px;
}
.lmm-util-soc:hover {
    color: var(--lmm-green);
}

/* ── Main bar -- design .nav-bar ── */
.lmm-nav {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.05rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.1rem 1.75rem;
    min-width: 0;
}

.lmm-nav > * {
    min-width: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   4. LOGO -- design .brand (badge image + stacked wordmark)
   ═══════════════════════════════════════════════════════════════════════════ */

.lmm-logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--lmm-bone);
    flex-shrink: 0;
}

.lmm-logo-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Fallback cartouche (used only when no logo image is configured) */
.lmm-cartouche {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    border: 1px solid var(--lmm-hairline);
    border-radius: 2px;
    padding: 8px 16px 8px 12px;
    background: rgba(10, 33, 64, .35);
}

.lmm-horse {
    width: 32px;
    height: 24px;
    color: var(--lmm-green);
    flex-shrink: 0;
}

.lmm-stack {
    display: flex;
    flex-direction: column;
    line-height: 1;
    white-space: nowrap;
}

.lmm-logo-top {
    font-family: var(--lmm-sans);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -.01em;
    color: var(--lmm-bone);
}

.lmm-logo-bot {
    font-family: var(--lmm-mono);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-top: 4px;
    color: var(--lmm-green);
}


/* ═══════════════════════════════════════════════════════════════════════════
   5. NAV ITEMS & CTA -- design .nav-links / .btn--red
   ═══════════════════════════════════════════════════════════════════════════ */

.lmm-navitems {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.lmm-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Thin separators between links -- design .nav-links .sep */
.lmm-nav-item + .lmm-nav-item::before {
    content: "";
    width: 1px;
    height: 14px;
    background: rgba(245, 241, 230, .28);
    flex-shrink: 0;
}

.lmm-nav-item button {
    appearance: none;
    border: 0;
    background: transparent;
    font-family: var(--lmm-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--lmm-nav-text, var(--lmm-bone));
    cursor: pointer;
    /* 2026-11-09: labels grew (Rivers → "Where We Fish", Guides → "Our Guides") and the six buttons
       needed 742px against a 724px row (685px at 1241px) → Blog wrapped to a second line and the mega
       panel (top = --lmm-nav-height) sat behind the taller bar. Tightened from 14px 1.05rem / .14em / 6px
       to 14px .75rem / .08em / 5px: ~647px, fits with ~38px spare at the 1241px floor of this band. */
    padding: 14px .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color .2s ease;
    white-space: nowrap;
    line-height: 1;
}

.lmm-chev {
    width: 9px;
    height: 9px;
    opacity: .55;
    transition: transform .25s ease, opacity .25s ease;
    flex-shrink: 0;
}

/* Open state -- chevron rotates, text turns green */
.lmm-nav-item[data-lmm-open="true"] .lmm-chev {
    transform: rotate(180deg);
    opacity: 1;
}
.lmm-nav-item[data-lmm-open="true"] button {
    color: var(--lmm-green);
}
.lmm-nav-item button:hover {
    color: var(--lmm-green);
}

/* Hierarchical weighting -- primary full bone, secondary slightly muted */
[data-lmm-weighting="hier"] .lmm-tier-primary button {
    font-weight: 700;
}
[data-lmm-weighting="hier"] .lmm-tier-secondary button {
    font-weight: 700;
    color: rgba(245, 241, 230, .75);
}
[data-lmm-weighting="hier"] .lmm-tier-secondary button:hover {
    color: var(--lmm-green);
}

/* Equal weighting */
[data-lmm-weighting="equal"] .lmm-nav-item button {
    font-weight: 700;
}

/* CTA button -- design .btn.btn--red.book */
.lmm-cta {
    appearance: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    background: var(--lmm-red);
    color: var(--lmm-cta-text, #fff);
    padding: .7rem 1.35rem;
    font: 800 13px/1 var(--lmm-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: 2px;
    box-shadow: 0 10px 22px -12px rgba(213, 53, 39, .8);
    transition: filter .2s ease, transform .2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
}
.lmm-cta-ico {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.lmm-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    color: var(--lmm-cta-text, #fff);
    text-decoration: none;
}

/* Hamburger -- hidden on desktop */
.lmm-hamburger {
    display: none;
}


/* ═══════════════════════════════════════════════════════════════════════════
   7. MEGA PANEL WRAPPER & BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════ */

.lmm-megawrap {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--lmm-nav-height);
    bottom: 0;
    z-index: 9998;
    pointer-events: none;
}

.lmm-megawrap.lmm-open {
    pointer-events: auto;
}

/* Background overlay -- covers full viewport below nav */
.lmm-megabg {
    position: absolute;
    inset: 0;
    background: rgba(6, 17, 33, .62);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.lmm-megawrap.lmm-open .lmm-megabg {
    opacity: 1;
    pointer-events: auto;
}

/* Individual mega panel -- navy-deep with film grain + green accent line,
   matching the site's dark sections. */
.lmm-mega {
    background: var(--lmm-navy-deep);
    border-top: 1px solid rgba(245, 241, 230, .12);
    box-shadow: 0 3px 0 0 var(--lmm-green) inset, 0 40px 80px -40px rgba(0, 0, 0, .65);
    transform: translateY(-14px);
    opacity: 0;
    transition: opacity .28s ease, transform .34s cubic-bezier(.22, .68, 0, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    max-height: calc(90vh - var(--lmm-nav-height));
    overflow-y: auto;
}

/* Film grain overlay (matches the site's .grain sections; pointer-safe) */
.lmm-mega::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lmm-grain);
    background-size: 160px 160px;
    opacity: .4;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 5;
}

/* Panel open state */
.lmm-mega[aria-hidden="false"],
.lmm-mega:not([hidden]) {
    visibility: visible;
}
.lmm-megawrap.lmm-open .lmm-mega.lmm-panel-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


/* ═══════════════════════════════════════════════════════════════════════════
   8. MEGA PANEL INNER -- eyebrow, header, footer
   ═══════════════════════════════════════════════════════════════════════════ */

.lmm-mega-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 2rem 22px;
    display: grid;
    grid-template-columns: minmax(230px, 290px) 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "rule tiles"
        "head tiles";
    column-gap: 48px;
    align-content: start;
}

/* Numbered mono eyebrow -- the site's "— 01 / SECTION" pattern */
.lmm-west-rule {
    grid-area: rule;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--lmm-green);
    font-family: var(--lmm-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1;
}
.lmm-rule-glyph {
    display: none;
}
.lmm-rule-line {
    flex: 0 0 26px;
    height: 3px;
    background: var(--lmm-green);
}

/* Panel header -- editorial rail beside the cards. Flex column so the
   office/booking block anchors to the bottom of the rail. */
.lmm-mega-head {
    grid-area: head;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.lmm-kicker {
    color: var(--lmm-green);
    letter-spacing: .16em;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--lmm-mono);
}

.lmm-panel-title {
    font-family: var(--lmm-serif);
    font-weight: 600;
    font-size: clamp(28px, 2.9vw, 40px);
    letter-spacing: -.015em;
    line-height: 1.04;
    margin: 0;
    color: var(--lmm-bone);
}

.lmm-mega-head-right {
    text-align: left;
    color: rgba(245, 241, 230, .72);
    font-size: 13.5px;
    max-width: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    width: 100%;
}

.lmm-blurb {
    line-height: 1.55;
}

.lmm-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    /* Guaranteed breathing room above the office block even when the
       bottom-anchor has no slack (short single-row panels) */
    margin-bottom: 28px;
    color: var(--lmm-green);
    text-decoration: none;
    border-bottom: 1px solid rgba(146, 202, 87, .5);
    padding-bottom: 2px;
    font-family: var(--lmm-mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .2s ease, border-color .2s ease;
}
.lmm-more:hover {
    color: var(--lmm-bone);
    border-color: var(--lmm-bone);
}

/* Quick links under the "more" link — panel footer_links (2026-11-06) */
.lmm-rail-links {
    list-style: none;
    margin: -10px 0 22px;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
}
.lmm-rail-links a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 3px 0;
    color: rgba(245, 241, 230, .82);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.3;
    transition: color .15s ease;
}
.lmm-rail-links a::before {
    content: "\2192";
    color: var(--lmm-green);
    font-family: var(--lmm-mono);
    font-size: 11px;
    font-weight: 700;
}
.lmm-rail-links a:hover {
    color: var(--lmm-bone);
}
.lmm-mobile-links {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
}
.lmm-mobile-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    color: rgba(245, 241, 230, .82);
    text-decoration: none;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
}
.lmm-mobile-links a::before {
    content: "\2192";
    color: var(--lmm-green);
    font-family: var(--lmm-mono);
    font-size: 11px;
    font-weight: 700;
}

/* Office + booking block, bottom of the rail */
.lmm-rail-office {
    margin-top: auto;
    padding-top: 18px;
    width: 100%;
    border-top: 1px solid rgba(245, 241, 230, .14);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.lmm-office-line {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* When the rail stacks above the cards, don't stretch a gap into it */
@media (max-width: 1040px) {
    .lmm-rail-office {
        margin-top: 18px;
    }
}

/* Panel footer -- quick links left, office + booking right */
.lmm-mega-foot {
    grid-area: foot;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(245, 241, 230, .14);
    color: rgba(245, 241, 230, .6);
    font-size: 12.5px;
}
.lmm-mega-foot-left {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}
.lmm-mega-foot-left a {
    color: rgba(245, 241, 230, .85);
    text-decoration: none;
    font-family: var(--lmm-mono);
    letter-spacing: .12em;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color .2s ease;
}
.lmm-mega-foot-left a::after {
    content: " →";
    opacity: .5;
    transition: opacity .2s ease;
}
.lmm-mega-foot-left a:hover {
    color: var(--lmm-green);
}
.lmm-mega-foot-left a:hover::after {
    opacity: 1;
}
.lmm-mega-foot-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.lmm-phone-label {
    font-family: var(--lmm-mono);
    letter-spacing: .16em;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(245, 241, 230, .55);
}
.lmm-phone {
    font-family: var(--lmm-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}
.lmm-phone a {
    color: var(--lmm-green);
    text-decoration: none;
    transition: color .2s ease;
}
.lmm-phone a:hover {
    color: var(--lmm-bone);
}
.lmm-foot-cta {
    background: var(--lmm-red);
    color: #fff;
    font: 800 11px/1 var(--lmm-sans);
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .6rem 1.05rem;
    border-radius: 2px;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
    white-space: nowrap;
}
.lmm-foot-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════════
   9. NAV CARD LIST -- columns of medium image cards beside the rail
   ═══════════════════════════════════════════════════════════════════════ */

.lmm-tiles {
    grid-area: tiles;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-content: start;
    height: auto;
    min-height: 0;
    max-height: none;
    counter-reset: lmm-row;
}
/* 1-2 items stack in a single column; 3 or 6 balance as 3-across */
.lmm-tiles[data-count="1"],
.lmm-tiles[data-count="2"] {
    grid-template-columns: 1fr;
}
.lmm-tiles[data-count="3"],
.lmm-tiles[data-count="6"] {
    grid-template-columns: repeat(3, 1fr);
}
/* Legacy stack wrappers flatten into the same list */
.lmm-stack {
    display: contents;
}


/* ═══════════════════════════════════════════════════════════════════════
   10. NAV CARD -- image card with overlaid index, title, mono tag + arrow
       (thumb fills the card and hosts the hover-play video overlay)
   ═══════════════════════════════════════════════════════════════════════ */

.lmm-tile {
    position: relative;
    display: block;
    aspect-ratio: 1.9 / 1;
    min-width: 0;
    text-decoration: none;
    color: var(--lmm-bone);
    isolation: isolate;
}
/* 3-across cards read better a bit taller */
.lmm-tiles[data-count="3"] .lmm-tile,
.lmm-tiles[data-count="6"] .lmm-tile {
    aspect-ratio: 4 / 3;
}

/* Mono index, top-left on the image */
.lmm-tile::before {
    counter-increment: lmm-row;
    content: counter(lmm-row, decimal-leading-zero);
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 3;
    font-family: var(--lmm-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    color: rgba(245, 241, 230, .85);
    transition: color .2s ease;
}
.lmm-tile:hover::before {
    color: var(--lmm-green);
}

/* Image fills the card -- the video overlay is injected in here
   (positioning context), so a tile's clip hover-plays over the image. */
.lmm-tile-thumb {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid rgba(245, 241, 230, .16);
    background: var(--lmm-navy);
    transition: border-color .3s ease;
}
.lmm-tile:hover .lmm-tile-thumb {
    border-color: rgba(146, 202, 87, .65);
}
.lmm-tile-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 2.5s ease, filter .4s ease;
    filter: saturate(.95) brightness(.9);
}
.lmm-tile:hover .lmm-tile-media {
    transform: scale(1.06);
    filter: saturate(1.05) brightness(.95);
}
/* Navy scrim for text legibility, like the site's cards */
.lmm-tile-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 33, 64, .08) 0%, rgba(10, 33, 64, 0) 32%, rgba(10, 33, 64, .9) 100%);
    z-index: 2;
    transition: opacity .4s ease;
}
/* Drop the scrim while a tile's video is playing so the clip shows clean */
.lmm-tile--video-playing .lmm-tile-scrim {
    opacity: 0;
}

/* Overlaid copy, bottom-left */
.lmm-tile-copy {
    position: absolute;
    left: 14px;
    right: 44px;
    bottom: 12px;
    z-index: 3;
    min-width: 0;
}
.lmm-tile-titlerow {
    display: flex;
    align-items: center;
    min-width: 0;
}
.lmm-tile-title {
    font-family: var(--lmm-sans);
    font-weight: 800;
    font-size: 16.5px;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0;
    color: var(--lmm-bone);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s ease;
}
.lmm-tile:hover .lmm-tile-title {
    color: var(--lmm-green);
}
.lmm-tile-sub {
    display: block;
    margin-top: 4px;
    font-family: var(--lmm-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(146, 202, 87, .9);
    /* 2026-11-09: Toby's tile lines run longer than the design's one-liners ("Float and fish 3-4 hours
       near Bozeman"), so the sub may take two lines instead of cutting off with an ellipsis. */
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.45;
}

/* Badge -- red chip, top-right of the image */
.lmm-tile-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    font-family: var(--lmm-mono);
    font-size: 7.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--lmm-red);
    padding: 4px 6px;
    border-radius: 2px;
}

/* Arrow, bottom-right on the image */
.lmm-tile-arrow {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 3;
    font-family: var(--lmm-mono);
    font-size: 13px;
    color: rgba(245, 241, 230, .5);
    transition: color .2s ease, transform .2s ease;
}
.lmm-tile:hover .lmm-tile-arrow {
    color: var(--lmm-green);
    transform: translateX(3px);
}

/* Play indicator for video cards */
.lmm-tile-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(10, 33, 64, .55);
    border: 1px solid rgba(245, 241, 230, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
    z-index: 3;
}
.lmm-tile-play svg {
    width: 10px;
    height: 10px;
    color: var(--lmm-bone);
    margin-left: 1px;
}
.lmm-tile:hover .lmm-tile-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(146, 202, 87, .9);
}
.lmm-tile:hover .lmm-tile-play svg {
    color: var(--lmm-ink);
}

/* Border settings round the card */
[data-lmm-border="soft"] .lmm-tile-thumb { border-radius: 8px; }
[data-lmm-border="arched"] .lmm-tile-thumb { border-radius: 50% 50% 4px 4px / 30% 30% 4px 4px; }


/* ═══════════════════════════════════════════════════════════════════════════
   11. MOBILE DRAWER -- navy-deep, bone text, green/red accents
   ═══════════════════════════════════════════════════════════════════════════ */

.lmm-hamburger {
    display: none;
    appearance: none;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    color: var(--lmm-nav-text, var(--lmm-bone));
    transition: color .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.lmm-hamburger:hover,
.lmm-hamburger:active {
    color: var(--lmm-green);
}
.lmm-hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, background .2s ease;
    pointer-events: none;
}

/* Hamburger → X animation */
.lmm-hamburger[aria-expanded="true"] .lmm-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.lmm-hamburger[aria-expanded="true"] .lmm-hamburger-line:nth-child(2) {
    opacity: 0;
}
.lmm-hamburger[aria-expanded="true"] .lmm-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Drawer */
.lmm-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: var(--lmm-navy-deep);
    color: var(--lmm-bone);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.lmm-mobile-drawer[aria-hidden="false"] {
    transform: translateX(0);
}

.lmm-mobile-drawer-inner {
    padding: 20px 24px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Mobile header — logo + close, vertically centered */
.lmm-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(245, 241, 230, .16);
    min-height: 56px;
}
.lmm-mobile-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--lmm-bone);
    outline: none;
}
.lmm-mobile-logo:focus-visible {
    outline: 2px solid var(--lmm-green);
    outline-offset: 4px;
    border-radius: 2px;
}
.lmm-mobile-close {
    appearance: none;
    border: 1.5px solid rgba(245, 241, 230, .35);
    background: transparent;
    cursor: pointer;
    color: var(--lmm-bone);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    flex-shrink: 0;
}
.lmm-mobile-close span {
    font-size: 24px;
    line-height: 1;
    font-weight: 300;
}
.lmm-mobile-close:hover,
.lmm-mobile-close:active {
    border-color: var(--lmm-green);
    color: var(--lmm-green);
}

/* Mobile accordion nav */
.lmm-mobile-nav {
    flex: 1;
}
.lmm-mobile-section {
    border-bottom: 1px solid rgba(245, 241, 230, .12);
}
.lmm-mobile-section:first-child {
    border-top: none;
}
.lmm-mobile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    min-height: 48px;
    cursor: pointer;
    list-style: none;
    font-family: var(--lmm-mono);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lmm-bone);
    -webkit-tap-highlight-color: transparent;
}
.lmm-mobile-item::-webkit-details-marker { display: none; }
.lmm-mobile-item::marker { display: none; content: ""; }
.lmm-mobile-section[open] .lmm-mobile-item {
    color: var(--lmm-green);
}
.lmm-mobile-chev {
    width: 12px;
    height: 12px;
    transition: transform .25s ease;
    flex-shrink: 0;
    opacity: .5;
}
.lmm-mobile-section[open] .lmm-mobile-chev {
    transform: rotate(180deg);
    opacity: 1;
}

/* Expanded panel content */
.lmm-mobile-panel {
    padding: 0 0 20px;
}
.lmm-mobile-panel-head {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(245, 241, 230, .12);
}
.lmm-mobile-panel-head .lmm-kicker {
    margin-bottom: 4px;
    font-size: 10px;
}
.lmm-mobile-panel-title {
    font-family: var(--lmm-serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -.01em;
    line-height: 1.15;
    margin: 0;
    color: var(--lmm-bone);
}

/* Tile list */
.lmm-mobile-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lmm-mobile-tiles li {
    border-bottom: 1px solid rgba(245, 241, 230, .1);
}
.lmm-mobile-tiles li:first-child {
    border-top: none;
}
.lmm-mobile-tile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    min-height: 48px;
    text-decoration: none;
    color: var(--lmm-bone);
    transition: color .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.lmm-mobile-tile-link:active {
    color: var(--lmm-green);
}
.lmm-mobile-tile-thumb {
    width: 48px;
    height: 48px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--lmm-navy);
}
.lmm-mobile-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lmm-mobile-tile-text {
    flex: 1;
    min-width: 0;
}
.lmm-mobile-tile-title {
    display: block;
    font-family: var(--lmm-sans);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}
.lmm-mobile-tile-sub {
    display: block;
    font-family: var(--lmm-sans);
    font-size: 11.5px;
    color: rgba(245, 241, 230, .6);
    margin-top: 2px;
}
.lmm-mobile-badge {
    font-family: var(--lmm-mono);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    background: var(--lmm-red);
    padding: 4px 6px;
    border-radius: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}
.lmm-mobile-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--lmm-green);
    text-decoration: none;
    font-family: var(--lmm-mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 10px 0;
}

/* Mobile footer */
.lmm-mobile-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 241, 230, .16);
    text-align: center;
}
.lmm-mobile-cta {
    display: block;
    width: 100%;
    background: var(--lmm-red);
    color: #fff;
    padding: 16px 24px;
    font: 800 13px/1 var(--lmm-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 10px 22px -12px rgba(213, 53, 39, .8);
    transition: filter .15s ease, transform .15s ease;
}
.lmm-mobile-cta:active {
    filter: brightness(1.06);
    transform: scale(.98);
}
.lmm-mobile-phone {
    margin-top: 16px;
    padding-bottom: 8px;
}
.lmm-mobile-phone .lmm-phone-label {
    display: block;
    font-family: var(--lmm-mono);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(245, 241, 230, .55);
    margin-bottom: 6px;
}
.lmm-mobile-phone a {
    color: var(--lmm-green);
    text-decoration: none;
    font-family: var(--lmm-mono);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .08em;
}


/* ═══════════════════════════════════════════════════════════════════════════
   12. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1240px -- compress nav */
@media (max-width: 1240px) {
    :root { --lmm-nav-height: 104px; }  /* :root, not #lmm-root — see the token note at the top */

    /* Nav bar was wrapping to two lines in the lower half of this band.
       ─────────────────────────────────────────────────────────────────────────
       Measured cause: .lmm-navitems is flex-wrap:wrap, and the 6 buttons
       (Trips · Rivers · Guides · Reports · Trip Planning · Blog) needed 553.5px
       while the row only had `nav width − logo − CTA − 2 gaps − padding`. The
       logo is the real space hog at 322.8px (44px mark + the 8px/.18em
       "GUIDE SERVICE · BOZEMAN" line), CTA 129px, padding 64px, gaps 32px
       = 547.8px fixed. So the buttons fit only above ~1101px, and at 1041px they
       overflowed by 60.4px → second line.

       Fixed by reclaiming 72px from the buttons themselves, per dev direction
       ("reducing the padding or margin or letterspacing"):
         padding    .8rem → .55rem   (−48px over 6 buttons)
         tracking   .12em → .08em    (−18px over 41 characters)
         chevron gap  6px → 5px      (−6px)
         nav column gap 1rem → .75rem (−8px)
       Buttons now total 481.5px → fits at 1041px with 19.7px to spare; the
       no-wrap minimum drops to 1021px, i.e. clear of this band's 1041px floor.
       Checked against a generic-monospace fallback too (narrower — 27.5px
       spare), so a Space Mono load failure cannot reintroduce the wrap.

       .55rem/.08em also lines up with the 1040px block below (.49rem/.08em), so
       the three steps now ramp smoothly: 1.05rem/.14em → .55rem/.08em →
       .49rem/.08em. flex-wrap:wrap is deliberately LEFT in place as a safety net
       — if a 7th menu item is ever added it degrades to two lines rather than
       overflowing the bar. Re-measure this block if that happens. */
    .lmm-nav {
        padding: .85rem 2rem;
        gap: .75rem;
    }
    .lmm-nav-item button {
        /* 2026-11-09 re-measured after the relabel (52 characters instead of 41): .55rem/.08em gave
           569px against a 565px row at 1041px → wrapped. .4rem/.06em ≈ 526px, ~39px spare. */
        padding: 12px .4rem;
        letter-spacing: .06em;
        font-size: 11px;
        gap: 4px;
    }
    .lmm-tile-sub { -webkit-line-clamp: 3; }  /* narrower tiles: Toby's longer lines need a third line here */
    .lmm-cta { padding: .6rem 1.1rem; font-size: 12px; }

    .lmm-logo-img { height: 44px; width: 44px; }
    .lmm-logo-top { font-size: 1rem; }
    .lmm-logo-bot { font-size: 8px; letter-spacing: .18em; }

    .lmm-util-hrs { display: none; }
}

/* 1040px -- further compress */
@media (max-width: 1040px) {
    :root { --lmm-nav-height: 102px; }  /* :root, not #lmm-root — see the token note at the top. 2026-11-09: measured bar is 102px in this band (was 94 → the panel sat 8px under the bar) */

    .lmm-nav {
        padding: .75rem 2rem;
        gap: .75rem;
    }
    .lmm-nav-item button {
        /* 2026-11-09 re-measured after the relabel: .49rem/.08em = 551px vs a 528px row at 992px. */
        padding: 10px .32rem;
        letter-spacing: .05em;
    }
    .lmm-cta { padding: .55rem .9rem; font-size: 11px; }
    .lmm-util-loc { display: none; }
    .lmm-util-inner { justify-content: flex-end; }

    /* Panel rail stacks above the tiles when space tightens */
    .lmm-mega-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "rule"
            "head"
            "tiles";
    }
    .lmm-mega-head { margin-bottom: 16px; }
    .lmm-mega-head-right { margin-top: 8px; }
    .lmm-panel-title { font-size: clamp(24px, 3vw, 30px); }
    .lmm-tiles { grid-template-columns: 1fr; }
}

/* 991px -- mobile breakpoint (was 768px; raised 2026-08-11 per client: mobile
   menu button up to 991px, desktop mega menu from 992px up).
   Governs the whole desktop→mobile switch: hides .lmm-navitems / .lmm-cta /
   .lmm-megawrap, shows .lmm-hamburger, and drops the nav to 60px. The matching
   `innerWidth > 991` guard in luna-mega-menu.js (~line 413) closes the drawer
   when resizing back up to desktop — keep the two numbers in step. */
@media (max-width: 991px) {
    :root { --lmm-nav-height: 60px; }   /* :root, not #lmm-root — see the token note at the top */

    /* Utility bar folds into the drawer experience */
    .lmm-util { display: none; }

    .lmm-nav {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 8px 2rem;
        gap: 12px;
    }

    .lmm-logo-img {
        height: 40px;
        width: 40px;
    }
    .lmm-logo-top { font-size: .95rem; }
    .lmm-logo-bot { font-size: 7px; letter-spacing: .16em; }

    .lmm-hamburger {
        width: 44px;
        height: 44px;
    }
    .lmm-hamburger-line {
        width: 20px;
    }

    /* Hide desktop nav items and show hamburger */
    .lmm-navitems { display: none; }
    .lmm-cta { display: none; }
    .lmm-hamburger { display: flex; }

    /* Hide mega panels on mobile -- drawer takes over */
    .lmm-megawrap { display: none; }

    /* Tile grid collapses to 2 columns */
    .lmm-tiles[data-layout="left"],
    .lmm-tiles[data-layout="right"] {
        grid-template-columns: 1fr;
    }
    .lmm-tiles[data-layout="none"][data-count="4"],
    .lmm-tiles[data-layout="none"][data-count="5"],
    .lmm-tiles[data-layout="none"][data-count="7"] {
        grid-template-columns: repeat(2, 1fr);
    }
    .lmm-stack[data-stack="3"],
    .lmm-stack[data-stack="4"],
    .lmm-stack[data-stack="6"] {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

/* 480px -- small mobile */
@media (max-width: 480px) {
    .lmm-logo-img { height: 36px; width: 36px; }
    .lmm-logo-top { font-size: .9rem; }
    .lmm-logo-bot { font-size: 6.5px; }

    .lmm-mobile-drawer-inner {
        padding: 20px 16px;
    }
    .lmm-mobile-panel-title {
        font-size: 20px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   13. REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .lmm-navwrap,
    .lmm-mega,
    .lmm-megabg,
    .lmm-tile,
    .lmm-tile-media,
    .lmm-tile-frame,
    .lmm-tile-sub,
    .lmm-tile-play,
    .lmm-chev,
    .lmm-mobile-drawer,
    .lmm-hamburger-line,
    .lmm-mobile-chev,
    .lmm-cta {
        transition-duration: 0.01ms !important;
    }
    .lmm-tile:hover .lmm-tile-media {
        transform: none;
    }
    .lmm-tile:hover {
        transform: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO OVERLAY (injected by JS for hover-to-play)
   ═══════════════════════════════════════════════════════════════════════════ */

.lmm-tile-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity .4s ease;
}
.lmm-tile--video-playing .lmm-tile-video {
    opacity: 1;
}
.lmm-tile-iframe-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity .4s ease;
}
.lmm-tile-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.lmm-tile--video-playing .lmm-tile-iframe-wrap {
    opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   WORDPRESS THEME COMPAT -- prevent theme CSS from breaking the menu
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hide theme header when Luna Mega Menu is active.
   Targets Twenty Twenty-Five and common block theme header patterns. */
body.has-luna-mega-menu .wp-block-template-part:first-child:has(.wp-block-site-title),
body.has-luna-mega-menu .wp-block-template-part:first-child:has(.wp-block-navigation) {
    display: none !important;
}

/* Prevent the off-screen mobile drawer (transform: translateX(100%)) from extending
   the document's horizontal scroll width. Uses `clip` so we don't break position: sticky
   for descendants the way `overflow-x: hidden` would; falls back to hidden in older browsers. */
body.has-luna-mega-menu {
    overflow-x: hidden;
    overflow-x: clip;
}

/* Ensure our z-index wins */
.lmm-navwrap {
    z-index: 9999 !important;
}
.lmm-megawrap {
    z-index: 9998 !important;
}
.lmm-mobile-drawer {
    z-index: 10000 !important;
}

/* Reset any theme typography overrides inside our root */
#lmm-root h3,
#lmm-root h4 {
    margin: 0;
    padding: 0;
    border: none;
    font-size: inherit;
    line-height: inherit;
}
#lmm-root ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#lmm-root a {
    text-decoration: none;
}
#lmm-root button {
    font-family: inherit;
}


/* ═══════════════════════════════════════════════════════════════════════════
   FOCUS VISIBILITY  (Point 6 · a11y — 2026-08-12)
   ═══════════════════════════════════════════════════════════════════════════
   Before this, .lmm-mobile-logo was the ONLY element in the whole nav with an
   explicit focus style — roughly 80 focusable things (6 panel triggers, 36
   tiles, the CTA, hamburger, drawer links, utility links) fell back to the UA
   default ring. That technically satisfies WCAG 2.4.7, but the default ring is
   low-contrast against this nav's dark navy, and it is the one component a
   keyboard user cannot avoid on any page.

   Purely additive — only :focus-visible, so nothing changes for mouse users and
   no box model is touched.

   :focus-visible (not :focus) so clicking does not leave a ring behind. */
#lmm-root .lmm-nav-item button:focus-visible,
#lmm-root .lmm-cta:focus-visible,
#lmm-root .lmm-foot-cta:focus-visible,
#lmm-root .lmm-more:focus-visible,
#lmm-root .lmm-hamburger:focus-visible,
#lmm-root .lmm-logo:focus-visible,
#lmm-root .lmm-util-ph:focus-visible,
#lmm-root .lmm-util-soc:focus-visible,
#lmm-root .lmm-mobile-close:focus-visible,
#lmm-root .lmm-mobile-cta:focus-visible,
#lmm-root .lmm-mobile-more:focus-visible,
#lmm-root .lmm-mobile-tile-link:focus-visible,
/* The drawer's section headers are <summary class="lmm-mobile-item"> inside
   <details> — natively focusable, so they need the ring too. */
#lmm-root .lmm-mobile-item:focus-visible {
    outline: 3px solid var(--lmm-green);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Tiles get an INSET ring: they are large images inside a panel that clips its
   overflow, so an outward offset can be cut off at the panel edge. */
#lmm-root .lmm-tile:focus-visible {
    outline: 3px solid var(--lmm-green);
    outline-offset: -3px;
}


/* The booking CTAs render as <button> when ff-blocks' Flybook pop-up is active
   (they open the widget in place instead of navigating away).
   ⚠️ Reset ONLY what the UA adds. Each .lmm-*-cta rule already sets the full
   `font: 800 13px/1 var(--lmm-sans)` shorthand — an earlier version of this reset
   carried `font:inherit`, which outranks the class rule (0,1,1 beats 0,1,0), wiped
   the designed size and weight, and blew the header CTA up until the nav wrapped
   onto two lines. Never redeclare font here. */
button.lmm-cta,button.lmm-foot-cta,button.lmm-mobile-cta{
  -webkit-appearance:none;appearance:none;cursor:pointer;
}
/* .lmm-cta sets its own 1.5px transparent border; these two never had one. */
button.lmm-foot-cta,button.lmm-mobile-cta{border:0;}
