/* ==========================================================================
   Promo strip
   ========================================================================== */
.promo-strip {
    background: var(--fairway);
    color: var(--text);
    text-align: center;
    padding: 10px 16px;
    font-size: .875rem;
    letter-spacing: .02em;
    position: relative;
}
.promo-strip__close {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: transparent; color: var(--text); border: 0; font-size: 1.4rem;
    line-height: 1; cursor: pointer; padding: 4px 10px; opacity: .7;
}
.promo-strip__close:hover { opacity: 1; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 21, 16, 0.65);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(10, 21, 16, 0.97);
    border-bottom-color: var(--line);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    gap: 24px;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__pic { display: contents; }
.brand__logo { height: 54px; width: auto; display: block; }
.brand--footer .brand__logo { height: 64px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
    font-family: var(--font-display); font-weight: 800;
    font-size: 1.2rem; letter-spacing: .01em;
    transition: color .2s var(--ease);
}
.brand:hover .brand__name { color: var(--gold); }
.brand__sub {
    font-size: .6rem; letter-spacing: .32em; text-transform: uppercase;
    color: var(--text-muted); margin-top: 5px; font-weight: 500;
}

/* Nav links */
.primary-nav { display: flex; align-items: center; gap: 40px; }
.primary-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 36px; align-items: center;
}
.primary-nav ul a {
    color: rgba(244, 241, 234, 0.72);
    font-size: .72rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    text-decoration: none; padding: 4px 0;
    position: relative;
    transition: color .2s var(--ease);
}
.primary-nav ul a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 1px; background: var(--gold);
    transition: width .25s var(--ease);
}
.primary-nav ul a:hover { color: var(--text); }
.primary-nav ul a:hover::after { width: 100%; }

/* Company dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 0; padding: 4px 0; cursor: pointer;
    font-family: inherit; font-size: .72rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: rgba(244, 241, 234, 0.72); transition: color .2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown__toggle,
.nav-dropdown:focus-within .nav-dropdown__toggle { color: var(--text); }
.nav-dropdown__caret { width: 11px; height: 11px; transition: transform .2s var(--ease); }
.nav-dropdown:hover .nav-dropdown__caret,
.nav-dropdown:focus-within .nav-dropdown__caret { transform: rotate(180deg); }
.primary-nav .nav-dropdown__menu {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
    min-width: 190px; margin: 0; padding: 8px; list-style: none;
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 120;
    opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-dropdown__menu li { border: 0; }
/* Invisible bridge so the menu doesn't drop when the cursor crosses the gap. */
.nav-dropdown__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 14px);
}
.nav-dropdown__menu a {
    display: block; padding: 9px 14px; border-radius: 6px; white-space: nowrap;
    font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(244, 241, 234, 0.72); text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-dropdown__menu a:hover { background: rgba(244,241,234,.06); color: var(--gold); }

/* Book a Bay button */
.nav-book-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 24px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--gold); color: var(--bg-deep);
    font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 4px 14px rgba(200,162,75,.22);
    transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.nav-book-btn:hover {
    background: var(--gold-soft); border-color: var(--gold-soft); color: var(--bg-deep);
    transform: translateY(-2px); box-shadow: 0 8px 22px rgba(200,162,75,.35);
}
.nav-book-btn__arrow {
    width: 14px; height: 14px;
    transition: transform .25s var(--ease);
    flex-shrink: 0;
}
.nav-book-btn:hover .nav-book-btn__arrow { transform: translateX(3px); }

/* Mobile toggle — 2-line burger that morphs into an X */
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; position: relative; z-index: 102; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--text);
    transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .2s var(--ease);
}

/* Scrim — only renders on mobile. Starts below the header so the bar is never
   dimmed, and sits behind the drawer. */
.nav-scrim {
    display: none;
    position: fixed; top: var(--header-h, 82px); left: 0; right: 0; bottom: 0;
    background: rgba(5, 12, 8, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease);
    z-index: 94;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Mobile drawer (slides out from the right, UNDER the header)
   ========================================================================== */
.mobile-drawer {
    display: none; /* enabled in mobile media query */
    position: fixed; top: var(--header-h, 82px); right: 0; bottom: 0;
    width: min(86vw, 380px);
    background: var(--bg-deep);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
    padding: 28px 28px 32px;
    transform: translateX(100%);
    /* visibility stays through the slide-out, then hides — so closed-menu links
       leave the tab order (matches aria-hidden) without killing the animation. */
    visibility: hidden;
    transition: transform .4s cubic-bezier(.16,1,.3,1), visibility .4s;
    z-index: 95;   /* below the sticky header (z-index 100) so it never covers it */
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    flex-direction: column;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }

/* Opening the drawer scroll-locks the body (overflow:hidden), which un-sticks the
   sticky header so it scrolls out of view. Pin it to the top (solid) while the
   menu is open so the logo + close button stay visible above the drawer. */
body:has(.mobile-drawer.is-open) .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--bg-deep);
}

.mobile-drawer__links {
    list-style: none; padding: 0; margin: 0 0 24px;
}
.mobile-drawer__links li { border-bottom: 1px solid var(--line); }
.mobile-drawer__links a {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 600;
    color: var(--text); text-decoration: none;
    padding: 18px 0;
    position: relative;
    transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.mobile-drawer__links a::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 0; height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
    transition: width .25s var(--ease);
}
.mobile-drawer__links a:hover,
.mobile-drawer__links a:focus-visible {
    color: var(--gold); padding-left: 18px; outline: none;
}
.mobile-drawer__links a:hover::before,
.mobile-drawer__links a:focus-visible::before { width: 12px; }
/* Current page: gold, with the marker persistently shown. */
.mobile-drawer__links a[aria-current="page"] { color: var(--gold); padding-left: 18px; }
.mobile-drawer__links a[aria-current="page"]::before { width: 12px; }

.mobile-drawer__cta {
    display: block; text-align: center;
    margin-bottom: 28px;
    padding: 16px;
}

.mobile-drawer__foot {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
/* Opening hours stand proud — the only footer content now. */
.mobile-drawer__hours {
    margin: 0;
    display: flex; flex-direction: column; gap: 5px;
}
.mobile-drawer__hours-days {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.2rem; color: var(--text); letter-spacing: .01em;
}
.mobile-drawer__hours-time {
    font-size: .9rem; font-weight: 600;
    color: var(--gold); letter-spacing: .05em;
}

/* Entrance: links, CTA and hours fade + slide in, staggered, as the drawer opens.
   (The close button stays put so it's instantly tappable.) */
.mobile-drawer__links li,
.mobile-drawer__cta,
.mobile-drawer__foot {
    opacity: 0; transform: translateX(16px);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.mobile-drawer.is-open .mobile-drawer__links li,
.mobile-drawer.is-open .mobile-drawer__cta,
.mobile-drawer.is-open .mobile-drawer__foot {
    opacity: 1; transform: none;
}
.mobile-drawer.is-open .mobile-drawer__links li:nth-child(1) { transition-delay: .08s; }
.mobile-drawer.is-open .mobile-drawer__links li:nth-child(2) { transition-delay: .14s; }
.mobile-drawer.is-open .mobile-drawer__links li:nth-child(3) { transition-delay: .20s; }
.mobile-drawer.is-open .mobile-drawer__links li:nth-child(4) { transition-delay: .26s; }
.mobile-drawer.is-open .mobile-drawer__links li:nth-child(5) { transition-delay: .32s; }
.mobile-drawer.is-open .mobile-drawer__cta { transition-delay: .40s; }
.mobile-drawer.is-open .mobile-drawer__foot { transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
    .mobile-drawer__links li,
    .mobile-drawer__cta,
    .mobile-drawer__foot { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1024px) {
    /* Header height drives where the drawer + scrim begin (kept in sync with the
       padding + logo below): 16 + 16 + 50 = 82px. */
    :root { --header-h: 82px; }

    .nav-toggle { display: flex; }
    .nav-scrim { display: block; }
    .mobile-drawer { display: flex; }
    /* Hide desktop nav on mobile */
    .primary-nav { display: none; }

    /* A bit more presence before opening: larger logo + roomier padding. */
    .site-header__inner { padding: 16px 18px; gap: 14px; }
    .brand__logo { height: 50px; }
    /* Proper 44px touch target for the burger. */
    .nav-toggle { padding: 11px; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

    /* Solid bar so the drawer underneath never shows through it. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--bg-deep);
    }
    .site-header.is-scrolled { background: var(--bg-deep); }

    /* Burger -> X (translateY = (gap + bar) / 2 = 3.5px) */
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
}
/* Very small phones: trim side padding only (keep the height so --header-h holds). */
@media (max-width: 380px) {
    .site-header__inner { padding: 16px 14px; gap: 10px; }
}


/* ==========================================================================
   Sections — common
   ========================================================================== */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--light { background: var(--bg-light); color: var(--text-on-light); }
.section--dark { background: var(--bg-dark); }
.section--fairway { background: linear-gradient(160deg, var(--fairway) 0%, #061f17 100%); }

/* Page band — a slim, full-bleed green divider used to break up two adjacent
   light sections. Doubles as an internal-link / local-SEO slot. */
.page-band {
    position: relative;
    background:
        radial-gradient(58% 130% at 88% 50%, rgba(200, 162, 75, .11) 0%, transparent 62%),
        var(--bg-deep);   /* match the navbar green (#0A1510) */
    border-top: 1px solid rgba(200, 162, 75, .26);
    border-bottom: 1px solid rgba(200, 162, 75, .26);
    padding: 36px 0;
}
.page-band__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px 52px; flex-wrap: wrap;
}
.page-band__title {
    font-family: var(--font-display); color: var(--text);
    font-size: clamp(1.5rem, 2.1vw, 1.85rem); line-height: 1.15;
    letter-spacing: -.015em; margin: 0 0 10px;
}
/* Hold the headline on a single line once the band is wide enough for it;
   below this it wraps normally rather than overflowing. */
@media (min-width: 900px) {
    .page-band__title { white-space: nowrap; }
}
.page-band__title em { font-style: normal; color: var(--gold); }
.page-band__sub {
    margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.6; max-width: 62ch;
}
.page-band__cta {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 36px; border-radius: 999px;
    border: 1px solid var(--gold); color: var(--gold); background: rgba(200, 162, 75, .07);
    font-weight: 700; letter-spacing: .01em; font-size: 1rem; white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.page-band__cta:hover {
    background: var(--gold); color: var(--bg-deep); border-color: var(--gold);
    transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200, 162, 75, .30);
}
.page-band__cta:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(200, 162, 75, .24); }
.page-band__cta:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
/* The band is a laptop/desktop-only flourish — hide it on mobile and tablet,
   where it isn't needed and would otherwise just stack awkwardly. */
@media (max-width: 1024px) {
    .page-band { display: none; }
}

@media (max-width: 720px) {
    .section { padding: 56px 0; }
    .section--tight { padding: 40px 0; }
}

.section--light h1, .section--light h2, .section--light h3 { color: var(--text-on-light); }
.section--light h4 { color: var(--fairway); }
.section--light .muted { color: #5a6068; }


.section--light .mode-card {
    background: #fff; border-color: rgba(0,0,0,.1);
}
.section--light .mode-card:hover { background: #f5f2ea; }
.section--light .mode-card__title { color: var(--text-on-light); }
.section--light .mode-card__body { color: #4a5058; }

.section--light .spec-table {
    background: #fff; border-color: rgba(0,0,0,.1);
}
.section--light .spec-table th {
    background: var(--fairway); color: #F4F1EA;
}
.section--light .spec-table td { color: #4a5058; }
.section--light .spec-table td:first-child { color: var(--text-on-light); }
.section--light .spec-table tr:not(:last-child) td,
.section--light .spec-table th { border-bottom-color: rgba(0,0,0,.08); }

.section--light .data-pill {
    background: #fff; border-color: rgba(0,0,0,.12); color: #4a5058;
}
.section--light .data-pill:hover { border-color: var(--fairway); color: var(--text-on-light); }

.section--light .hours-table td { color: #4a5058; }
.section--light .hours-table td:first-child { color: var(--text-on-light); }

.section--light .bay-specs li { color: #4a5058; }

.eyebrow {
    display: inline-block; font-size: .75rem; letter-spacing: .3em;
    text-transform: uppercase; color: var(--gold); font-weight: 600;
    margin-bottom: 18px;
}
.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }
.section--light .lede { color: #4a5058; }

.section-header { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-header.is-left { text-align: left; margin-left: 0; }
@media (max-width: 720px) {
    .section-header { margin-bottom: 36px; }
}

.muted { color: var(--text-muted); }


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-dark);
    padding: 56px 0 26px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: .92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 36px;
}
.footer-col h2 {
    color: var(--text); font-family: var(--font-body); font-size: 1.1rem; font-weight: 700;
    letter-spacing: 0; text-transform: none;
    margin-bottom: 22px; padding-bottom: 14px; position: relative;
}
.footer-col h2::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 32px; height: 3px; border-radius: 3px; background: var(--gold);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--text-muted); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.brand--footer { display: inline-block; margin-bottom: 16px; }
.footer-tagline { max-width: 34ch; margin-bottom: 20px; }

/* Contact block (under the logo) */
.footer-contact-block { margin-bottom: 0; font-size: .9rem; }
.footer-contact-list {
    list-style: none; padding: 0;
    margin: 0 0 18px;
    display: grid; gap: 14px;
}
.footer-contact-list li {
    display: flex; align-items: flex-start; gap: 12px; line-height: 1.5;
}
.footer-contact-list svg {
    width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--gold);
}
.footer-contact-list a { color: var(--text-muted); transition: color .2s var(--ease); }
.footer-contact-list a:hover { color: var(--gold); }
.footer-contact-list strong { color: var(--text); font-weight: 600; }
.footer-address { font-style: normal; margin: 0; line-height: 1.5; }
.footer-muted { color: rgba(169, 174, 182, .7); }

/* From-the-blog column */
.footer-posts { list-style: none; padding: 0; margin: 0 0 16px; }
.footer-posts li { margin-bottom: 16px; }
.footer-posts a { display: flex; flex-direction: column; gap: 5px; }
.footer-post__tag {
    font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.footer-post__title {
    color: var(--text-muted); font-size: .92rem; line-height: 1.4;
    transition: color .2s var(--ease);
}
.footer-posts a:hover .footer-post__title { color: var(--gold); }
.footer-blog__all { color: var(--gold); font-size: .85rem; font-weight: 500; }
.footer-blog__all:hover { color: var(--gold-soft); }

.social { display: flex; gap: 12px; }
.social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-strong); display: grid; place-items: center;
    color: var(--text-muted);
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.social a svg { width: 19px; height: 19px; }
.social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 26px; border-top: 1px solid var(--line);
    flex-wrap: wrap; gap: 16px; font-size: .85rem;
}
.footer-copyright { margin: 0; color: var(--text-muted); }
.footer-bottom__meta { display: flex; flex-direction: column; gap: 4px; }
.footer-powered { margin: 0; color: var(--text-muted); }
.footer-powered a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-powered a:hover { color: var(--gold); }
.footer-legal { list-style: none; display: flex; gap: 24px; padding: 0; margin: 0; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--gold); }

/* Tablet: keep the balanced 3-column layout (the 2-col fallback span the brand
   full-width, leaving a big empty void beside the narrow contact list). Just
   tighten the gap so the columns have room at iPad widths. */
@media (min-width: 701px) and (max-width: 1024px) {
    .footer-grid { gap: 28px; }
}
/* Narrow tablets / large phones: two columns — Company + Explore on the top row,
   the blog spanning the full width below with its posts in two columns. This
   fills the row rather than spanning the brand full-width (which left a big empty
   strip beside the narrow contact list at every width in this band). */
@media (min-width: 541px) and (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col--brand { grid-column: auto; }
    .footer-col--blog { grid-column: 1 / -1; }
    .footer-col--blog .footer-posts {
        display: grid; grid-template-columns: 1fr 1fr;
        column-gap: 32px; row-gap: 4px;
    }
}

/* Tablet — incl. landscape up to ~iPad Pro 11" (1194px): footer links need
   touch-friendly tap targets (they were only 16–22px tall). Mobile <=540px is
   handled separately with its pill treatment. */
@media (min-width: 541px) and (max-width: 1200px) {
    .footer-col ul:not([class]) li { margin-bottom: 4px; }
    .footer-col ul:not([class]) a { display: inline-block; padding: 9px 0; }
    .footer-contact-list a { display: inline-block; padding: 6px 0; }
    .footer-posts a { padding: 7px 0; }
    .footer-legal { gap: 4px 8px; }
    .footer-legal a { display: inline-block; padding: 9px 10px; }
}
/* Tablet shows 4 blog posts (PC >=1025 shows all 5; mobile <=540px shows 3). */
@media (min-width: 541px) and (max-width: 1024px) {
    .footer-posts li:nth-child(n+5) { display: none; }
}
@media (max-width: 540px) {
    .site-footer { padding: 56px 0 28px; }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
        margin-bottom: 36px;
    }
    .footer-col--brand { grid-column: auto; }
    .footer-tagline { max-width: 100%; margin-left: auto; margin-right: auto; }
    .footer-col h2::after { left: 50%; transform: translateX(-50%); }
    .brand--footer { justify-content: center; }
    /* Centred contact list — no icons on mobile, just clean centred text lines. */
    .footer-contact-list { display: inline-grid; text-align: center; gap: 14px; }
    .footer-contact-list li { justify-content: center; }
    .footer-contact-list svg { display: none; }
    .social { justify-content: center; }
    .footer-posts a { align-items: center; }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .footer-legal { justify-content: center; flex-wrap: wrap; gap: 2px 6px; }

    /* Phones: tighter headings, a compact 2-up "Explore" nav, and bigger tap
       targets — footer links were only 16–22px tall, well under the touch
       guideline. (Scoped to <=540px; desktop footer is unchanged.) */
    .footer-col h2 { margin-bottom: 16px; padding-bottom: 12px; }
    /* Explore links as a centred cluster of rounded pills (matches the blog
       topic-chip style); the padding also gives them ~40px tap targets. */
    .footer-col ul:not([class]) {
        display: flex; flex-wrap: wrap; justify-content: center;
        gap: 10px; max-width: 330px; margin: 0 auto;
    }
    .footer-col ul:not([class]) li { margin-bottom: 0; }
    .footer-col ul:not([class]) a {
        display: inline-block; padding: 10px 18px;
        border: 1px solid var(--line-strong); border-radius: 999px;
        background: rgba(244, 241, 234, .04);
        font-size: .9rem; line-height: 1.1;
        transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
    }
    .footer-col ul:not([class]) a:hover {
        color: var(--gold); border-color: var(--gold); background: rgba(200, 162, 75, .08);
    }
    .footer-contact-list a { display: inline-block; padding: 5px 0; }
    /* Drop the secondary "10 minutes from Bristol · free parking" line on phones
       (and its leading <br> so the address doesn't keep a trailing blank line). */
    .footer-address br, .footer-address .footer-muted { display: none; }
    .footer-posts li { margin-bottom: 4px; }
    .footer-posts a { padding: 8px 2px; }
    /* Show the 3 most recent posts on phones to keep the footer compact; the
       rest stay in the DOM (still crawlable) — just hidden visually. */
    .footer-posts li:nth-child(n+4) { display: none; }
    .footer-legal a { display: inline-block; padding: 10px 12px; }
}

/* ==========================================================================
   Cookie consent — full-width bottom bar + granular preferences modal
   ========================================================================== */

/* The [hidden] attribute must win over the layout rules below (author display
   rules otherwise override the UA [hidden] { display:none }). */
.cookie-consent[hidden],
.cookie-bar[hidden],
.cookie-prefs[hidden] { display: none !important; }

/* ---- The full-width bar ---- */
.cookie-bar {
    position: fixed;
    left: 24px; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    margin: 0 auto; max-width: 1040px; z-index: 250;
    background: var(--bg-card);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
    padding: 20px 26px;
    transform: translateY(150%); opacity: 0;
    transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); opacity: 1; }

.cookie-bar__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 18px 36px;
}
.cookie-bar__msg { display: flex; align-items: center; gap: 18px; min-width: 0; }
.cookie-bar__icon {
    flex: none; width: 52px; height: 52px;
    display: grid; place-items: center; color: var(--gold);
    background: rgba(200, 162, 75, 0.10);
    border: 1px solid rgba(200, 162, 75, 0.32);
    border-radius: 50%;
}
.cookie-bar__icon svg { width: 27px; height: 27px; }
.cookie-bar__copy { min-width: 0; }
.cookie-bar__title {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--text);
    margin: 0 0 4px;
}
.cookie-bar__desc {
    margin: 0; max-width: 56ch;
    font-size: .875rem; line-height: 1.55; color: var(--text-muted);
}
.cookie-bar__desc a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.cookie-bar__desc a:hover { color: var(--gold-soft); }
.cookie-bar__actions { flex: none; display: flex; align-items: center; gap: 12px; }
.cookie-bar__actions .cookie-btn { min-width: 118px; }

/* ---- Shared pill buttons ---- */
.cookie-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 999px;
    font-family: var(--font-body); font-weight: 600; font-size: .85rem;
    letter-spacing: .01em; line-height: 1; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer;
    transition: all .2s var(--ease);
}
.cookie-btn--ghost {
    background: rgba(244, 241, 234, 0.02); color: var(--text);
    border-color: rgba(244, 241, 234, 0.28);
}
.cookie-btn--ghost:hover {
    background: rgba(200, 162, 75, 0.08); border-color: var(--gold); color: var(--gold);
    transform: translateY(-1px);
}
.cookie-btn--primary {
    background: var(--gold); color: #1a1206; border-color: var(--gold);
}
.cookie-btn--primary:hover {
    background: var(--gold-soft); border-color: var(--gold-soft); color: #1a1206;
    transform: translateY(-1px);
}
.cookie-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- Preferences modal ---- */
.cookie-prefs {
    position: fixed; inset: 0; z-index: 260;
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.cookie-prefs__scrim {
    position: absolute; inset: 0; background: rgba(5, 10, 8, 0.74);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .3s var(--ease);
}
.cookie-prefs.is-open .cookie-prefs__scrim { opacity: 1; }
.cookie-prefs__panel {
    position: relative; z-index: 1; width: 100%; max-width: 560px;
    max-height: min(88vh, 760px); overflow-y: auto;
    background: var(--bg-card); border: 1px solid var(--line-strong);
    border-radius: 18px; box-shadow: var(--shadow-lg);
    padding: 34px 32px 28px;
    transform: translateY(14px) scale(.985); opacity: 0;
    transition: transform .32s var(--ease), opacity .32s var(--ease);
}
.cookie-prefs.is-open .cookie-prefs__panel { transform: none; opacity: 1; }
.cookie-prefs__panel:focus { outline: none; }
.cookie-prefs__title {
    margin: 0 0 12px; font-size: 1.6rem; text-align: center;
}
.cookie-prefs__close {
    position: absolute; top: 18px; right: 18px;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 50%;
    color: var(--text-muted); cursor: pointer; transition: all .2s var(--ease);
}
.cookie-prefs__close:hover { color: var(--text); border-color: var(--text-muted); }
.cookie-prefs__close svg { width: 17px; height: 17px; }
.cookie-prefs__intro {
    margin: 0 auto 24px; max-width: 44ch;
    font-size: .92rem; line-height: 1.6; color: var(--text-muted);
    text-align: center;
}
.cookie-prefs__intro a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-prefs__note {
    margin: 0 auto 24px; max-width: 48ch;
    font-size: .8rem; line-height: 1.55; color: var(--text-muted);
    text-align: center;
}

.cookie-options { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.cookie-option {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(244, 241, 234, 0.09);
    border-radius: 12px; padding: 18px 20px;
}
.cookie-option__row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 9px;
}
label.cookie-option__row { cursor: pointer; }
.cookie-option__name { font-weight: 600; font-size: 1rem; color: var(--text); }
.cookie-option__lock {
    flex: none; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); padding: 5px 11px;
    border: 1px solid rgba(200, 162, 75, 0.4); border-radius: 999px;
}
.cookie-option__desc { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--text-muted); }
.cookie-option__state {
    margin-left: auto;
    font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--text-muted); min-width: 26px; text-align: right;
}

/* Toggle switch */
.cookie-switch { position: relative; flex: none; width: 46px; height: 26px; }
.cookie-switch__input {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
    opacity: 0; cursor: pointer; z-index: 2;
}
.cookie-switch__track {
    position: absolute; inset: 0; display: flex; align-items: center; padding: 3px;
    background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: 999px;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.cookie-switch__thumb {
    width: 18px; height: 18px; border-radius: 50%; background: var(--text-muted);
    transition: transform .25s var(--ease), background .25s var(--ease);
}
.cookie-switch__input:checked + .cookie-switch__track {
    background: var(--fairway); border-color: var(--gold);
}
.cookie-switch__input:checked + .cookie-switch__track .cookie-switch__thumb {
    transform: translateX(20px); background: var(--gold);
}
.cookie-switch__input:focus-visible + .cookie-switch__track { outline: 2px solid var(--gold); outline-offset: 2px; }

.cookie-prefs__actions {
    display: flex; flex-wrap: wrap; gap: 10px;
    border-top: 1px solid var(--line); padding-top: 22px;
}
.cookie-prefs__actions .cookie-btn { flex: 1 1 auto; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 16px; }
    .cookie-bar__actions { width: 100%; }
    .cookie-bar__actions .cookie-btn { flex: 1 1 auto; }
}
@media (max-width: 560px) {
    .cookie-bar {
        left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        padding: 18px 18px;
    }
    .cookie-bar__actions { flex-wrap: wrap; }
    .cookie-bar__actions .cookie-btn { flex: 1 1 100%; padding: 13px 20px; }
    .cookie-prefs { padding: 0; align-items: flex-end; }
    .cookie-prefs__panel {
        max-width: none; max-height: 92vh;
        border-radius: 18px 18px 0 0;
        padding: 26px 22px 22px;
    }
    .cookie-prefs__title { font-size: 1.45rem; }
    .cookie-prefs__actions .cookie-btn { flex: 1 1 100%; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .cookie-bar { transition: none; transform: none; opacity: 1; }
    .cookie-prefs__scrim, .cookie-prefs__panel { transition: none; }
    .cookie-prefs__panel { transform: none; opacity: 1; }
}

/* ==========================================================================
   Legal pages — dark compact hero, light reading area, sticky contents
   The light "sheet" deliberately breaks up the dark-green site chrome.
   ========================================================================== */
.legal {
    background: var(--bg-light);
    color: #474c4f;
    padding: 76px 0 100px;
}

/* Big centred masthead at the top, spanning above the columns */
.legal__head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.legal__title {
    margin: 0;
    color: var(--fairway);
    font-size: clamp(2.6rem, 5.4vw, 3.9rem);
    line-height: 1.02; letter-spacing: -0.025em;
}
.legal__updated {
    margin: 16px 0 0;
    font-size: .82rem; letter-spacing: .03em;
    color: #8a7a4e;
}

/* Two-column body */
.legal__layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 720px);
    gap: 72px;
    justify-content: center;
    align-items: start;
}

/* Sticky numbered table of contents */
.legal__sidebar { position: sticky; top: 100px; align-self: start; }
.legal-toc__title {
    margin: 0 0 14px;
    font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: #8a6d25;
}
.legal-toc__list { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc__list a {
    display: flex; align-items: baseline; gap: 11px;
    padding: 8px 0 8px 16px;
    border-left: 2px solid rgba(11, 61, 46, 0.12);
    color: #6a6f70; font-size: .9rem; line-height: 1.35;
    counter-increment: toc;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal-toc__list a::before {
    content: counter(toc, decimal-leading-zero);
    color: #b39243; font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; flex: none;
}
.legal-toc__list a:hover { color: var(--fairway); border-left-color: rgba(11, 61, 46, 0.4); }
.legal-toc__list a.is-active { color: var(--fairway); border-left-color: var(--gold); font-weight: 600; }
.legal-toc__list a.is-active::before { color: var(--gold); }

/* Content column — numbered sections */
.legal__content { min-width: 0; counter-reset: section; }
.legal__content h2 {
    counter-increment: section;
    scroll-margin-top: 96px;
    display: flex; align-items: baseline; gap: 14px;
    margin: 50px 0 16px; font-size: 1.5rem; color: var(--fairway); letter-spacing: -0.01em;
}
.legal__content h2::before {
    content: counter(section, decimal-leading-zero);
    color: var(--gold); font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; flex: none;
}
.legal__content > *:first-child { margin-top: 0; }
.legal__content p { margin: 0 0 16px; line-height: 1.78; color: #474c4f; }
.legal__content ul { margin: 0 0 18px; padding-left: 22px; line-height: 1.72; color: #474c4f; }
.legal__content li { margin-bottom: 10px; padding-left: 4px; }
.legal__content li::marker { color: var(--gold); }
.legal__content strong { color: #1f2a25; font-weight: 600; }
.legal__content a { color: var(--fairway); text-decoration: underline; text-underline-offset: 2px; }
.legal__content a:hover { color: #8a6d25; }
.legal__content table {
    width: 100%; border-collapse: collapse;
    margin: 4px 0 20px;
    border: 1px solid rgba(11, 61, 46, 0.16);
    border-radius: 12px; overflow: hidden;
    font-size: .9rem;
}
.legal__content th, .legal__content td {
    text-align: left; padding: 13px 18px; line-height: 1.5;
    border-bottom: 1px solid rgba(11, 61, 46, 0.1);
}
.legal__content th {
    background: rgba(11, 61, 46, 0.05);
    color: var(--fairway); font-weight: 700;
    font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
}
.legal__content tbody tr:last-child td { border-bottom: 0; }
.legal__content td { color: #565c5f; vertical-align: top; }
.legal__content td:first-child { color: #1f2a25; font-weight: 600; }
.legal__disclaimer {
    margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(11, 61, 46, 0.14);
    font-size: .85rem; color: #6a6f70;
}

@media (max-width: 880px) {
    .legal { padding: 48px 0 72px; }
    .legal__head { margin-bottom: 40px; }
    .legal__layout { grid-template-columns: 1fr; gap: 32px; }
    .legal__sidebar {
        position: static; top: auto;
        background: #ece7da; border: 1px solid rgba(11, 61, 46, 0.12);
        border-radius: var(--radius-md); padding: 18px 20px;
    }
    .legal-toc__list { columns: 2; column-gap: 22px; }
    .legal-toc__list a { border-left: 0; padding-left: 0; padding-block: 5px; }
    .legal-toc__list a.is-active { border-left: 0; }
}
@media (max-width: 480px) {
    .legal-toc__list { columns: 1; }
}

