    /* ═══════════════════════════════════════════════════
       COLOUR SYSTEM
       Primary palette: multi-tone grey matched to the
       existing alfretonmasonichall.org.uk site.
       The header photo is a desaturated stone building,
       so we build from those extracted tones:
         Charcoal     #2D2D2D  — darkest (nav, footer)
         Dark grey    #4A4A4A  — headings, strong text
         Mid grey     #6E6E6E  — body text, secondary
         Steel        #9AA0A6  — muted / captions
         Silver       #C8CDD2  — borders, dividers
         Light grey   #E8EBED  — alt section backgrounds
         Near white   #F4F5F6  — page background
         White        #FFFFFF  — cards, form fields

       Accent: kept minimal — just a single warm stone
       highlight (#8B7355) to complement the building's
       sandstone facade.
    ═══════════════════════════════════════════════════ */
    /* Inter (SIL OFL 1.1), self-hosted variable font, weights 300-800 */
    @font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap;
      src: url(/assets/fonts/inter-latin.woff2) format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
    @font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap;
      src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
      unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
    :root {
      /* Palette follows the Provincial Grand Lodge of Derbyshire site: deep navy, province navy, antique gold.
         Gold used for text or white-on-gold fills is the darker --stone (>= 4.5:1 on white); the province
         gold --stone-light is for dark backgrounds and decoration. Contrast checked 2026-11-24. */
      --charcoal:   #001C38;   /* deep navy: dark backgrounds, footer, dark buttons */
      --dark-grey:  #13325E;   /* province navy: headings */
      --mid-grey:   #4A5568;   /* body text, 7.5:1 on white */
      --steel:      #556377;   /* muted text, 6.1:1 on white, 5.0:1 on the grey sections */
      --silver:     #CBD2DC;
      --light-grey: #E9E9E9;
      --near-white: #F5F6F8;
      --white:      #FFFFFF;
      --stone:      #72643A;   /* gold for text and fills on light, 5.8:1 on white, 4.8:1 on grey */
      --stone-light:#A89968;   /* province gold, for dark backgrounds */
      --stone-dark: #5C5029;   /* gold hover state */
      --stone-pale: #F4F0E4;

      --text-h:     var(--dark-grey);
      --text-b:     var(--mid-grey);
      --text-mute:  var(--steel);
      --border:     var(--silver);
      --border-sub: var(--light-grey);
      --bg:         var(--near-white);
      --bg-alt:     var(--light-grey);
      --bg-card:    var(--white);
      --bg-dark:    var(--charcoal);
      --accent:     var(--stone);
      --accent-h:   var(--stone-light);

      --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --r:    8px;
      --r-lg: 12px;
      --t:    0.2s;

      --sh-sm: 0 1px 4px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
      --sh-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
      --sh-lg: 0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.06);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-b);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: var(--accent); text-decoration: none; }
    a:hover { color: var(--accent-h); }

    .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--font); font-size: 14px; font-weight: 600;
      padding: 11px 22px; border-radius: var(--r);
      border: 2px solid transparent; cursor: pointer;
      transition: all var(--t); text-decoration: none; line-height: 1;
      white-space: nowrap;
    }
    .btn-dark {
      background: var(--charcoal); color: var(--white);
      border-color: var(--charcoal);
    }
    .btn-dark:hover {
      background: var(--dark-grey); border-color: var(--dark-grey);
      color: var(--white); box-shadow: var(--sh-md);
      transform: translateY(-1px);
    }
    .btn-stone {
      background: var(--stone); color: var(--white);
      border-color: var(--stone);
    }
    .btn-stone:hover {
      background: var(--stone-dark); border-color: var(--stone-dark);
      color: var(--white); box-shadow: 0 4px 14px rgba(114,100,58,0.35);
      transform: translateY(-1px);
    }
    .btn-outline {
      background: transparent; color: var(--dark-grey);
      border-color: var(--border);
    }
    .btn-outline:hover {
      border-color: var(--dark-grey); background: var(--bg-alt);
      color: var(--dark-grey);
    }
    .btn-outline-white {
      background: transparent; color: var(--white);
      border-color: rgba(255,255,255,0.55);
    }
    .btn-outline-white:hover {
      border-color: white; background: rgba(255,255,255,0.1);
      color: white;
    }

    /* ═══════════════════════════════════════════════════
       ANNOUNCEMENT BAR
    ═══════════════════════════════════════════════════ */
    .announce {
      background: var(--charcoal);
      padding: 9px 0; text-align: center;
    }
    .announce p {
      font-size: 13px; font-weight: 500;
      color: rgba(255,255,255,0.75);
    }
    .announce a { color: var(--stone-pale); font-weight: 600; }
    .announce a:hover { color: white; }

    /* ═══════════════════════════════════════════════════
       HEADER
    ═══════════════════════════════════════════════════ */
    .site-header {
      position: sticky; top: 0; z-index: 1000;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--sh-sm);
    }
    .header-inner {
      display: flex; align-items: center; height: 64px; gap: 4px;
    }
    .brand {
      display: flex; align-items: center; gap: 10px;
      margin-right: 24px; flex-shrink: 0; text-decoration: none;
    }
    .brand-mark {
      width: 36px; height: 36px;
      background: var(--white);
      border: 1px solid var(--border-sub);
      border-radius: var(--r);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
    }
    .brand-mark img {
      width: 100%; height: 100%; object-fit: contain; padding: 3px;
    }
    .brand-mark-fallback {
      font-size: 16px; font-weight: 800;
      color: var(--charcoal); letter-spacing: -0.02em;
    }
    .brand-name {
      font-size: 15px; font-weight: 700;
      color: var(--dark-grey); letter-spacing: -0.01em;
      white-space: nowrap;
    }

    /* Nav */
    .primary-nav { margin-left: auto; }
    .primary-nav > ul {
      list-style: none; display: flex;
      align-items: center; gap: 2px;
    }
    .nav-item { position: relative; }
    .nav-item > a, .nav-item > button {
      font-family: var(--font); font-size: 14px; font-weight: 500;
      color: var(--dark-grey); padding: 8px 12px;
      border: none; background: none; cursor: pointer;
      border-radius: var(--r); transition: background var(--t), color var(--t);
      display: flex; align-items: center; gap: 4px; white-space: nowrap;
    }
    .nav-item > a:hover, .nav-item > button:hover,
    .nav-item.open > a, .nav-item.open > button {
      background: var(--bg-alt); color: var(--charcoal);
    }
    .chev { font-size: 10px; color: var(--steel); transition: transform var(--t); }
    .nav-item.open .chev { transform: rotate(180deg); }

    /* Mega menu */
    .mega {
      position: absolute; top: calc(100% + 8px); left: 50%;
      transform: translateX(-50%);
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--r-lg); box-shadow: var(--sh-lg);
      padding: 24px; min-width: 500px;
      display: none; grid-template-columns: 1fr 1fr; gap: 24px 28px; z-index: 200;
    }
    .nav-item.open .mega { display: grid; }
    .mega-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--steel);
      margin-bottom: 10px; padding-bottom: 8px;
      border-bottom: 1px solid var(--border-sub);
    }
    .mega-lnk {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 8px 10px; border-radius: var(--r);
      transition: background var(--t); text-decoration: none; margin: 2px 0;
    }
    .mega-lnk:hover { background: var(--bg-alt); }
    .mega-ico {
      width: 30px; height: 30px; border-radius: 7px;
      background: var(--bg-alt); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; flex-shrink: 0;
    }
    .mega-txt strong {
      display: block; font-size: 13px; font-weight: 600;
      color: var(--dark-grey); margin-bottom: 1px;
    }
    .mega-txt span { font-size: 12px; color: var(--steel); line-height: 1.4; }

    /* Simple dropdown */
    .drop {
      position: absolute; top: calc(100% + 8px); left: 0;
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--r-lg); box-shadow: var(--sh-lg);
      padding: 8px; min-width: 220px; display: none; z-index: 200;
    }
    .nav-item.open .drop { display: block; }
    .drop a {
      display: block; padding: 9px 12px; font-size: 14px;
      font-weight: 500; color: var(--dark-grey); border-radius: 6px;
      transition: background var(--t), color var(--t); text-decoration: none;
    }
    .drop a:hover { background: var(--bg-alt); color: var(--charcoal); }

    /* Nav CTAs */
    .nav-ghost {
      font-size: 14px !important; font-weight: 500 !important;
      color: var(--dark-grey) !important; padding: 8px 14px !important;
      border: 1px solid var(--border) !important; border-radius: var(--r) !important;
      background: none !important;
      transition: border-color var(--t), background var(--t) !important;
    }
    .nav-ghost:hover {
      border-color: var(--dark-grey) !important;
      background: var(--bg-alt) !important; color: var(--charcoal) !important;
    }
    .nav-solid {
      font-size: 14px !important; font-weight: 600 !important;
      color: var(--white) !important; background: var(--charcoal) !important;
      border: 1px solid var(--charcoal) !important; padding: 8px 16px !important;
      border-radius: var(--r) !important;
      transition: background var(--t), box-shadow var(--t) !important;
    }
    .nav-solid:hover {
      background: var(--dark-grey) !important;
      border-color: var(--dark-grey) !important;
      box-shadow: var(--sh-md) !important; color: white !important;
    }

    .ham {
      display: none; margin-left: auto; background: none;
      border: 1px solid var(--border); color: var(--dark-grey);
      width: 38px; height: 38px; border-radius: var(--r);
      cursor: pointer; font-size: 18px;
      align-items: center; justify-content: center;
    }

    /* ═══════════════════════════════════════════════════
       HERO — full-width header image as background
    ═══════════════════════════════════════════════════ */
    .hero {
      position: relative; overflow: hidden;
      min-height: 560px; display: flex; align-items: center;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background-image: url('/assets/cropped-Alfreton-Masonic-Hall-Header.jpg');
      background-size: cover; background-position: center;
      filter: grayscale(20%);
    }
    /* Dark overlay so text reads clearly */
    .hero-bg::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(
        100deg,
        rgba(0,28,56,0.82) 0%,
        rgba(0,28,56,0.65) 50%,
        rgba(0,28,56,0.35) 100%
      );
    }
    /* Fade bottom into page */
    .hero-fade {
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 80px;
      background: linear-gradient(to bottom, transparent, var(--bg));
      z-index: 2; pointer-events: none;
    }
    .hero-inner {
      position: relative; z-index: 3;
      padding: 100px 24px 88px;
      max-width: 680px;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: rgba(255,255,255,0.7);
      background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
      padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
      animation: fu 0.5s ease both;
    }
    .hero h1 {
      font-size: clamp(30px, 5.5vw, 58px); font-weight: 800;
      color: var(--white); line-height: 1.1; letter-spacing: -0.025em;
      margin-bottom: 16px; animation: fu 0.5s 0.08s ease both;
    }
    .hero h1 em { font-style: normal; color: #D6CBA3; }
    .hero-sub {
      font-size: 17px; font-weight: 400;
      color: rgba(255,255,255,0.7); max-width: 520px;
      line-height: 1.65; margin-bottom: 32px;
      animation: fu 0.5s 0.16s ease both;
    }
    .hero-actions {
      display: flex; align-items: center; gap: 12px;
      flex-wrap: wrap; animation: fu 0.5s 0.24s ease both;
    }
    @keyframes fu {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ═══════════════════════════════════════════════════
       SECTIONS
    ═══════════════════════════════════════════════════ */
    .section { padding: 88px 0; }
    .section-alt { background: var(--bg-alt); }
    .section-dark { background: var(--charcoal); color: var(--white); }

    .section-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--stone); margin-bottom: 8px;
    }
    .section-dark .section-label { color: #D6CBA3; }

    .section-heading {
      font-size: clamp(22px, 3vw, 34px); font-weight: 700;
      letter-spacing: -0.02em; line-height: 1.2;
      color: var(--dark-grey); margin-bottom: 14px;
    }
    .section-dark .section-heading { color: var(--white); }

    .section-sub {
      font-size: 16px; color: var(--mid-grey);
      max-width: 580px; line-height: 1.7;
    }
    .section-dark .section-sub { color: rgba(255,255,255,0.6); }

    .text-center { text-align: center; }
    .text-center .section-sub { margin: 0 auto; }

    /* ═══════════════════════════════════════════════════
       SPLIT SECTIONS with real images
    ═══════════════════════════════════════════════════ */
    .split {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 68px; align-items: center;
    }
    .split.flip { direction: rtl; }
    .split.flip > * { direction: ltr; }

    .split-img {
      border-radius: var(--r-lg); overflow: hidden;
      box-shadow: var(--sh-lg); aspect-ratio: 4/3;
    }
    .split-img img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.6s ease;
    }
    .split-img:hover img { transform: scale(1.03); }

    .split-text p {
      font-size: 16px; color: var(--mid-grey);
      line-height: 1.75; margin-top: 14px;
    }
    .split-text .btn { margin-top: 24px; }

    /* ═══════════════════════════════════════════════════
       FEATURE 4-UP GRID
    ═══════════════════════════════════════════════════ */
    .feat-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 18px; margin-top: 48px;
    }
    .feat-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--r-lg); padding: 28px 22px;
      transition: box-shadow var(--t), transform var(--t);
    }
    .section-alt .feat-card { background: var(--white); }
    .feat-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
    .feat-icon {
      width: 44px; height: 44px;
      background: rgba(114,100,58,0.1); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; margin-bottom: 16px;
    }
    .feat-card h3 {
      font-size: 15px; font-weight: 600;
      color: var(--dark-grey); margin-bottom: 8px;
    }
    .feat-card p { font-size: 14px; color: var(--mid-grey); line-height: 1.6; }

    /* ═══════════════════════════════════════════════════
       LODGES GRID — with order emblems
    ═══════════════════════════════════════════════════ */
    #lodges { scroll-margin-top: 72px; }

    .lodges-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      grid-auto-rows: 1fr;   /* every tile takes the height of the tallest, so all tiles are the same size */
      gap: 16px;
      margin-top: 48px;
    }

    .lodge-card {
      min-height: 112px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 24px 20px 20px;
      text-decoration: none;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      position: relative;
      transition: border-color var(--t), box-shadow var(--t), transform var(--t);
    }
    .lodge-card:hover {
      border-color: var(--stone);
      box-shadow: var(--sh-md);
      transform: translateY(-3px);
    }

    /* Emblem container — fixed square, centres the SVG */
    .lodge-emblem {
      width: 52px;
      height: 52px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--near-white);
      border: 1px solid var(--border-sub);
      border-radius: 10px;
      overflow: hidden;
      transition: background var(--t);
    }
    .lodge-card:hover .lodge-emblem {
      background: var(--stone-pale, #F0EAE0);
    }
    .lodge-emblem svg {
      width: 36px;
      height: 36px;
    }
    .lodge-emblem img {
      max-width: 40px; max-height: 40px; width: auto; height: auto; object-fit: contain;
    }

    .lodge-info { flex: 1; min-width: 0; }
    .lodge-num {
      font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--stone); margin-bottom: 4px;
    }
    .lodge-card h3 {
      font-size: 14px; font-weight: 600; color: var(--dark-grey);
      line-height: 1.35; margin-bottom: 4px; letter-spacing: -0.01em;
    }
    .lodge-card p { font-size: 12px; color: var(--steel); line-height: 1.4; }

    .lodge-arr {
      position: absolute; bottom: 18px; right: 18px;
      font-size: 13px; color: var(--silver);
      transition: color var(--t), transform var(--t);
    }
    .lodge-card:hover .lodge-arr { color: var(--stone); transform: translateX(3px); }

    /* Responsive: 2-col on tablet, 1-col on mobile */
    @media (max-width: 700px) {
      .lodges-grid { grid-template-columns: 1fr; }
    }

    /* ═══════════════════════════════════════════════════
       NEWS / RECENT IMAGES STRIP
    ═══════════════════════════════════════════════════ */
    .news-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 20px; margin-top: 48px;
    }
    .news-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--r-lg); overflow: hidden;
      transition: box-shadow var(--t), transform var(--t);
      text-decoration: none; display: block;
    }
    .news-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
    .news-thumb {
      aspect-ratio: 16/9; overflow: hidden;
    }
    .news-thumb img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.5s ease;
    }
    .news-card:hover .news-thumb img { transform: scale(1.05); }
    .news-body { padding: 18px 18px 20px; }
    .news-cat {
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--stone); margin-bottom: 6px;
    }
    .news-card h3 {
      font-size: 15px; font-weight: 600; color: var(--dark-grey);
      line-height: 1.4; margin-bottom: 6px;
    }
    .news-date { font-size: 12px; color: var(--steel); }

    /* ═══════════════════════════════════════════════════
       QUOTE CALLOUT — charcoal with building image tint
    ═══════════════════════════════════════════════════ */
    .callout {
      position: relative; overflow: hidden;
      padding: 80px 0; text-align: center;
      background: var(--charcoal);
    }
    .callout-bg {
      position: absolute; inset: 0;
      background-image: url('/assets/cropped-Alfreton-Masonic-Hall-Header.jpg');
      background-size: cover; background-position: center 60%;
      opacity: 0.08; filter: grayscale(100%);
    }
    .callout-inner { position: relative; z-index: 1; }
    .callout q {
      display: block; font-size: clamp(18px, 2.8vw, 28px);
      font-weight: 600; color: var(--white); line-height: 1.55;
      max-width: 660px; margin: 0 auto 14px;
      quotes: "\201C" "\201D";
    }
    .callout q::before { content: open-quote; }
    .callout q::after  { content: close-quote; }
    .callout .attr {
      font-size: 13px; font-weight: 500;
      color: rgba(255,255,255,0.4); letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* ═══════════════════════════════════════════════════
       PLANS
    ═══════════════════════════════════════════════════ */
    #join { scroll-margin-top: 72px; }
    .plans-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 20px; margin-top: 48px;
    }
    .plan {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--r-lg); padding: 32px 26px;
      position: relative; transition: box-shadow var(--t);
    }
    .plan:hover { box-shadow: var(--sh-md); }
    .plan.featured {
      border-color: var(--charcoal); border-width: 2px;
    }
    .plan-banner {
      background: var(--charcoal); color: white;
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; text-align: center; padding: 6px 0;
      margin: -32px -26px 24px; border-radius: 10px 10px 0 0;
    }
    .plan-tier {
      font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
      text-transform: uppercase; color: var(--stone); margin-bottom: 8px;
    }
    .plan-headline {
      font-size: 24px; font-weight: 800; color: var(--dark-grey);
      letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px;
    }
    .plan-tagline { font-size: 13px; color: var(--steel); margin-bottom: 18px; }
    .plan-desc {
      font-size: 14px; color: var(--mid-grey); line-height: 1.65;
      padding-bottom: 18px; margin-bottom: 18px;
      border-bottom: 1px solid var(--border-sub);
    }
    .plan-inc {
      font-size: 11px; font-weight: 700; letter-spacing: 0.07em;
      text-transform: uppercase; color: var(--steel); margin-bottom: 10px;
    }
    .plan-feats { list-style: none; margin-bottom: 24px; }
    .plan-feats li {
      font-size: 14px; color: var(--mid-grey);
      padding: 7px 0; display: flex; align-items: flex-start;
      gap: 10px; border-bottom: 1px solid var(--border-sub);
    }
    .plan-feats li:last-child { border-bottom: none; }
    .chk {
      width: 18px; height: 18px;
      background: rgba(114,100,58,0.12); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--stone); font-size: 10px; font-weight: 700;
      flex-shrink: 0; margin-top: 1px;
    }
    .plan .btn { width: 100%; justify-content: center; }
    .plan-alt {
      display: block; text-align: center; margin-top: 10px;
      font-size: 13px; font-weight: 500; color: var(--stone);
    }
    .plan-alt:hover { color: var(--stone-light); }
    .plans-note {
      text-align: center; margin-top: 18px;
      font-size: 13px; color: var(--steel);
    }

    /* ═══════════════════════════════════════════════════
       COMPARE TABLE
    ═══════════════════════════════════════════════════ */
    .compare-wrap {
      overflow-x: auto; margin-top: 48px;
      border: 1px solid var(--border); border-radius: var(--r-lg);
    }
    .compare-tbl { width: 100%; border-collapse: collapse; }
    .compare-tbl thead tr { background: var(--light-grey); }
    .compare-tbl thead th {
      font-size: 13px; font-weight: 700; color: var(--dark-grey);
      padding: 15px 20px; text-align: left;
      border-bottom: 2px solid var(--border);
    }
    .compare-tbl thead th:not(:first-child) {
      text-align: center; color: var(--stone);
    }
    .compare-tbl tbody tr { border-bottom: 1px solid var(--border-sub); transition: background var(--t); }
    .compare-tbl tbody tr:last-child { border-bottom: none; }
    .compare-tbl tbody tr:hover { background: var(--near-white); }
    .compare-tbl td { font-size: 14px; color: var(--mid-grey); padding: 13px 20px; vertical-align: middle; }
    .compare-tbl td:not(:first-child) { text-align: center; font-size: 16px; }
    .yes { color: var(--stone); font-weight: 700; }
    .no  { color: var(--silver); }

    /* ═══════════════════════════════════════════════════
       CALENDAR SECTION
    ═══════════════════════════════════════════════════ */
    #calendar { scroll-margin-top: 72px; }
    .cal-header {
      display: flex; align-items: flex-start;
      justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px;
    }
    .cal-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
    .cal-actions .btn { font-size: 13px; padding: 9px 16px; }

    .cal-views { display: flex; gap: 6px; margin-bottom: 14px; }
    .cal-vbtn {
      display: inline-flex; align-items: center; gap: 6px;
      font-family: var(--font); font-size: 13px; font-weight: 500;
      color: var(--mid-grey); background: var(--white);
      border: 1px solid var(--border); border-radius: var(--r);
      padding: 7px 14px; cursor: pointer; transition: all var(--t);
    }
    .cal-vbtn:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .cal-vbtn.active {
      background: var(--charcoal); border-color: var(--charcoal); color: white;
    }

    .cal-wrap {
      position: relative; border: 1px solid var(--border);
      border-radius: var(--r-lg); overflow: hidden;
      background: var(--white); box-shadow: var(--sh-sm);
    }
    .cal-loader {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 14px; background: var(--white); z-index: 2;
      font-size: 14px; font-weight: 500; color: var(--steel);
    }
    .cal-spinner {
      width: 30px; height: 30px;
      border: 3px solid var(--light-grey);
      border-top-color: var(--stone); border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    .cal-note {
      display: flex; align-items: flex-start; gap: 8px;
      margin-top: 12px; font-size: 13px; color: var(--steel); line-height: 1.6;
    }
    .cal-note a { color: var(--stone); font-weight: 500; }

    /* ═══════════════════════════════════════════════════
       FAQ
    ═══════════════════════════════════════════════════ */
    #faq { scroll-margin-top: 72px; }
    .faq-list {
      margin-top: 48px; border: 1px solid var(--border);
      border-radius: var(--r-lg); overflow: hidden; background: var(--white);
    }
    .faq-item { border-bottom: 1px solid var(--border-sub); }
    .faq-item:last-child { border-bottom: none; }
    .faq-q {
      width: 100%; background: none; border: none;
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; padding: 20px 24px; cursor: pointer;
      text-align: left; transition: background var(--t);
    }
    .faq-q:hover { background: var(--bg-alt); }
    .faq-q.open { background: var(--bg-alt); }
    .faq-q h3 {
      font-size: 15px; font-weight: 600; color: var(--dark-grey);
      letter-spacing: -0.01em;
    }
    .faq-ico {
      width: 22px; height: 22px; background: var(--bg-alt);
      border: 1px solid var(--border); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; color: var(--stone); flex-shrink: 0;
      font-weight: 700; transition: transform var(--t), background var(--t);
    }
    .faq-q.open .faq-ico {
      background: var(--charcoal); color: white;
      border-color: var(--charcoal); transform: rotate(45deg);
    }
    .faq-a { display: none; padding: 0 24px 20px; font-size: 15px; color: var(--mid-grey); line-height: 1.75; }
    .faq-a.open { display: block; }
    .faq-a p + p { margin-top: 10px; }

    /* ═══════════════════════════════════════════════════
       CONTACT
    ═══════════════════════════════════════════════════ */
    #contact { scroll-margin-top: 72px; }
    .contact-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 64px; align-items: start;
    }
    .contact-info p { font-size: 16px; color: var(--mid-grey); line-height: 1.75; margin-top: 14px; }
    .info-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; }
    .info-ico {
      width: 36px; height: 36px;
      background: rgba(114,100,58,0.1); border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px; flex-shrink: 0;
    }
    .info-row strong {
      display: block; font-size: 11px; font-weight: 700;
      letter-spacing: 0.07em; text-transform: uppercase;
      color: var(--steel); margin-bottom: 2px;
    }
    .info-row span, .info-row a { font-size: 15px; color: var(--mid-grey); }

    .form-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-sm);
    }
    .form-card h3 {
      font-size: 17px; font-weight: 700; color: var(--dark-grey);
      letter-spacing: -0.01em; margin-bottom: 22px;
    }
    .fg { margin-bottom: 16px; }
    .fg label {
      display: block; font-size: 11px; font-weight: 700;
      letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--steel); margin-bottom: 6px;
    }
    .fg input, .fg textarea, .fg select {
      width: 100%; font-family: var(--font); font-size: 15px;
      color: var(--dark-grey); background: var(--white);
      border: 1px solid var(--border); border-radius: 7px;
      padding: 11px 13px; outline: none;
      transition: border-color var(--t), box-shadow var(--t);
    }
    .fg input:focus, .fg textarea:focus, .fg select:focus {
      border-color: var(--stone);
      box-shadow: 0 0 0 3px rgba(114,100,58,0.15);
    }
    .fg textarea { resize: vertical; min-height: 100px; }
    .form-ok {
      display: none; text-align: center; padding: 12px;
      background: rgba(114,100,58,0.1); border: 1px solid rgba(114,100,58,0.3);
      border-radius: 7px; font-size: 14px; font-weight: 600;
      color: var(--stone); margin-top: 10px;
    }

    /* ═══════════════════════════════════════════════════
       FINAL CTA — charcoal with building texture
    ═══════════════════════════════════════════════════ */
    .final-cta {
      position: relative; overflow: hidden;
      background: var(--dark-grey); padding: 80px 0; text-align: center;
    }
    .final-cta-bg {
      position: absolute; inset: 0;
      background-image: url('/assets/cropped-Alfreton-Masonic-Hall-Header.jpg');
      background-size: cover; background-position: center 40%;
      opacity: 0.06; filter: grayscale(100%);
    }
    .final-cta-inner { position: relative; z-index: 1; }
    .final-cta h2 {
      font-size: clamp(22px, 3.5vw, 36px); font-weight: 800;
      color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px;
    }
    .final-cta p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
    .final-cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

    /* ═══════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════ */
    .site-footer { background: var(--charcoal); padding: 56px 0 0; }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px; padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-brand .brand-name { color: white; }
    .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.65; max-width: 270px; margin-top: 10px; }
    .footer-social { display: flex; gap: 8px; margin-top: 18px; }
    .soc {
      width: 34px; height: 34px; background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.1); border-radius: 7px;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 700;
      text-decoration: none; transition: all var(--t);
    }
    .soc:hover { background: var(--stone); border-color: var(--stone); color: white; }

    .footer-col h3 {
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 16px;
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 9px; }
    .footer-col a {
      font-size: 14px; color: rgba(255,255,255,0.78);
      transition: color var(--t); text-decoration: none;
    }
    .footer-col a:hover { color: #fff; text-decoration: underline; }

    .footer-btm {
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; padding: 18px 0; flex-wrap: wrap;
    }
    .footer-btm p { font-size: 13px; color: rgba(255,255,255,0.72); }
    .footer-btm-links { display: flex; gap: 20px; list-style: none; }
    .footer-btm-links a {
      font-size: 13px; color: rgba(255,255,255,0.72);
      text-decoration: none; transition: color var(--t);
    }
    .footer-btm-links a:hover { color: #fff; text-decoration: underline; }

    /* ═══════════════════════════════════════════════════
       MOBILE NAV
    ═══════════════════════════════════════════════════ */
    .mob-nav { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
    .mob-ov { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity var(--t); }
    .mob-drw {
      position: absolute; top: 0; right: 0; bottom: 0; width: 300px;
      background: var(--white); box-shadow: var(--sh-lg);
      overflow-y: auto; transform: translateX(100%); transition: transform var(--t);
    }
    .mob-nav.open { pointer-events: all; }
    .mob-nav.open .mob-ov { opacity: 1; }
    .mob-nav.open .mob-drw { transform: translateX(0); }
    .mob-hd {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 20px; border-bottom: 1px solid var(--border);
    }
    .mob-x { background: none; border: none; font-size: 22px; color: var(--steel); cursor: pointer; }
    .mob-lst { list-style: none; padding: 8px 0; }
    .mob-lst > li > a, .mob-lst > li > button {
      display: block; width: 100%; text-align: left;
      padding: 12px 20px; font-family: var(--font); font-size: 15px;
      font-weight: 500; color: var(--dark-grey); background: none; border: none;
      cursor: pointer; transition: background var(--t), color var(--t);
      text-decoration: none;
    }
    .mob-lst > li > a:hover, .mob-lst > li > button:hover {
      background: var(--bg-alt); color: var(--charcoal);
    }
    .mob-sub { display: none; background: var(--bg-alt); }
    .mob-sub.open { display: block; }
    .mob-sub a {
      display: block; padding: 10px 20px 10px 36px;
      font-size: 14px; color: var(--mid-grey);
      text-decoration: none; transition: color var(--t);
    }
    .mob-sub a:hover { color: var(--charcoal); }
    .mob-ctas {
      padding: 16px 20px; border-top: 1px solid var(--border);
      display: flex; flex-direction: column; gap: 10px; margin-top: 8px;
    }
    .mob-ctas .btn { justify-content: center; }

    /* ═══════════════════════════════════════════════════
       SCROLL REVEAL
    ═══════════════════════════════════════════════════ */
    .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
    .reveal.vis { opacity: 1; transform: translateY(0); }

    /* ═══════════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .feat-grid { grid-template-columns: repeat(2,1fr); }
      .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .news-grid { grid-template-columns: 1fr 1fr; }
      .news-grid .news-card:last-child { display: none; }
    }
    @media (max-width: 860px) {
      .split, .split.flip { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
      .contact-grid { grid-template-columns: 1fr; }
      .primary-nav { display: none; }
      .ham { display: flex; }
    }
    @media (max-width: 600px) {
      .feat-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr; }
      .news-grid .news-card:last-child { display: block; }
      .section { padding: 60px 0; }
      .hero { min-height: 460px; }
      #gcal { height: 480px !important; }
      .cal-actions { width: 100%; }
      .cal-actions .btn { flex: 1; justify-content: center; }
    }

main p a:not(.btn):not(.booking-card__call), .cal-note a, .plans-note a, .vh-aside a { text-decoration: underline; text-underline-offset: 3px; }

/* Accessibility baseline (WCAG 2.2 AA: 2.4.7 focus visible, 2.4.11 focus not obscured, 2.3.3 motion) */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--stone); outline-offset: 3px; border-radius: 4px;
}
.section-dark a:focus-visible, .site-footer a:focus-visible, .hero a:focus-visible, .vh-hero a:focus-visible, .callbar a:focus-visible, .mob-drw a:focus-visible {
  outline-color: var(--stone-light);
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 2000;
  background: var(--white); color: var(--charcoal); font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: var(--r); box-shadow: var(--sh-md); text-decoration: none;
}
.skip-link:focus { top: 16px; }
html { scroll-padding-top: 88px; scroll-padding-bottom: 88px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
