/* Ever Ready Lodge No. 506 — dark & gold */
:root {
  --bg: #070a14;
  --bg-2: #0b1020;
  --bg-3: #10172c;
  --navy: #16224f;
  --royal: #1f3388;
  --ink: #efe8d8;
  --ink-dim: rgba(239, 232, 216, .68);
  --ink-faint: rgba(239, 232, 216, .38);
  --line: rgba(212, 169, 74, .18);
  --line-soft: rgba(239, 232, 216, .08);
  --gold: #d4a94a;
  --gold-hi: #f6e2a0;
  --gold-lo: #9b7224;
  --gold-grad: linear-gradient(135deg, #f6e2a0 0%, #d4a94a 45%, #9b7224 100%);
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 4.5vw, 64px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: #0b0b0b; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { width: min(860px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.u { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
.u:hover { color: var(--gold-hi); text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  --header-h: 68px;
  background: rgba(7, 10, 20, .78);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 44px; height: 44px; transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(360deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.brand-sub { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav { display: flex; gap: clamp(14px, 1.9vw, 30px); margin-left: auto; }
.nav-link {
  position: relative; text-decoration: none; padding: 8px 0; white-space: nowrap;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim);
  transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 1px; background: var(--gold);
  transition: left .45s var(--ease), right .45s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { left: 0; right: 0; }
.nav-cta { flex: none; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; padding: calc(var(--header-h) + 20px) var(--pad) 40px;
  background: radial-gradient(120% 80% at 80% 0%, #16224f 0%, #070a14 60%);
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.m-link {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--display); font-size: clamp(22px, 6vw, 30px); text-decoration: none; letter-spacing: .04em;
  opacity: 0; transform: translateY(16px); animation: mIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * 40ms + 80ms);
}
.m-link.is-active { color: var(--gold-hi); }
.m-num { font-family: var(--sans); font-size: 11px; color: var(--gold); letter-spacing: .1em; }
@keyframes mIn { to { opacity: 1; transform: none; } }
.mobile-menu-foot { margin-top: 32px; font-size: 13px; color: var(--ink-dim); }
.mobile-menu-foot p { margin: 4px 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  transition: transform .45s var(--ease), color .45s var(--ease), box-shadow .45s, border-color .45s;
  white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(102%); transition: transform .55s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: none; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 12px 40px -14px rgba(212, 169, 74, .7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold::before { background: linear-gradient(135deg, #fff4cf, #f0cf7a); }
.btn-gold:hover { box-shadow: 0 18px 50px -12px rgba(212, 169, 74, .9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-line { border: 1px solid rgba(212, 169, 74, .55); color: var(--ink); background: rgba(7,10,20,.3); }
.btn-line::before { background: var(--gold-grad); }
.btn-line:hover { color: #1a1205; border-color: var(--gold); }
.btn-sm { height: 42px; padding: 0 22px; font-size: 11px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--gold-hi); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.h-display {
  margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: .02em; line-height: 1.08;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
}
.h-2 { margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: .02em; }
.h-3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .03em; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.55; color: var(--ink-dim); margin: 0; }
.prose { font-family: var(--serif); font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.75; color: rgba(239,232,216,.86); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; margin: 1.8em 0 .7em; color: var(--ink); }
.prose blockquote {
  margin: 1.6em 0; padding: 1.2em 1.4em 1.2em 1.6em; border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(212,169,74,.08), transparent); font-style: italic; color: var(--ink);
}
.prose .drop::first-letter {
  float: left; font-family: var(--display); font-weight: 700; font-size: 4.2em; line-height: .82; padding: .06em .1em 0 0;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--ink-dim); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; }
.bg-2 { background: var(--bg-2); }
.bg-rich { background: radial-gradient(80% 60% at 50% 0%, rgba(31, 51, 136, .22), transparent 70%), var(--bg-2); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; align-items: center;
  background: radial-gradient(90% 70% at 70% 35%, #18245a 0%, #0b1129 45%, #070a14 80%);
}
.hero-rays {
  position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 180deg at 66% -6%, rgba(246,226,160,.10) 0deg 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask-image: radial-gradient(70% 70% at 66% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 66% 0%, #000 0%, transparent 75%);
  animation: rays 40s linear infinite;
}
@keyframes rays { to { transform: rotate(3deg); } }
.hero-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: -1; pointer-events: none;
  background-image: conic-gradient(#e9e3d3 25%, #0a0a0c 0 50%, #e9e3d3 0 75%, #0a0a0c 0);
  background-size: 120px 120px; opacity: .13;
  transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, transparent 85%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; width: min(1240px, 100%); display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: var(--header-h); padding-bottom: 120px; }
.hero-inner { pointer-events: none; }
.hero-copy { max-width: 640px; pointer-events: auto; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 26px; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.hero-kicker span + span::before { content: "◆"; font-size: 7px; vertical-align: 2px; margin-right: 18px; color: var(--gold-lo); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: .015em; font-size: clamp(3rem, 7.4vw, 6.6rem); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-title .no { white-space: nowrap; font-size: .5em; letter-spacing: .12em; vertical-align: .55em; margin-left: .2em; }
.hero-lead { margin: 28px 0 0; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-coin-hint {
  position: absolute; z-index: 2; right: calc((100% - min(1240px, 100%)) / 2 + var(--pad)); bottom: 150px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; gap: 10px; pointer-events: none;
}
.hero-coin-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero-fallback-coin { display: none; width: min(420px, 80%); margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.no-webgl .hero-fallback-coin { display: block; }

.meet-bar {
  position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: min(1100px, calc(100% - 2 * var(--pad)));
  display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 20px; overflow: hidden;
  background: rgba(11, 16, 32, .62); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.meet-item { display: flex; align-items: center; gap: 14px; padding: 18px 24px; }
.meet-item + .meet-item { border-left: 1px solid var(--line-soft); }
.meet-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,169,74,.1); border: 1px solid var(--line); }
.meet-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.meet-k { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.meet-v { display: block; font-size: 14px; color: var(--ink); line-height: 1.4; }
a.meet-item { text-decoration: none; transition: background .4s; }
a.meet-item:hover { background: rgba(212,169,74,.07); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(70px, 10vw, 140px)) 0 clamp(60px, 8vw, 110px);
  background: radial-gradient(70% 90% at 80% 0%, #18245a 0%, #0b1129 50%, #070a14 85%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: ""; position: absolute; inset: -30% -10% 0; z-index: -1; opacity: .45;
  background: repeating-conic-gradient(from 180deg at 78% -10%, rgba(246,226,160,.09) 0deg 1deg, transparent 1deg 8deg);
  -webkit-mask-image: radial-gradient(60% 70% at 78% 0%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 78% 0%, #000, transparent 75%);
}
.page-hero-mark { position: absolute; right: clamp(-60px, 4vw, 80px); top: 50%; width: clamp(240px, 32vw, 460px); height: auto; aspect-ratio: 1; transform: translateY(-42%); opacity: .08; z-index: -1; }
.page-hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1; letter-spacing: .02em; }
.page-hero .lead { margin-top: 22px; max-width: 640px; }
.crumbs { display: flex; gap: 10px; margin-bottom: 26px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); }
.crumbs a { text-decoration: none; color: var(--ink-dim); }
.crumbs a:hover { color: var(--gold-hi); }

/* ---------- Craft photo panel ---------- */
.craft { position: relative; height: clamp(420px, 70vw, 860px); overflow: hidden; background: #000; }
.craft-img { position: absolute; inset: -12% 0; }
.craft-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.craft::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 55%, rgba(7,10,20,.75) 78%, rgba(7,10,20,.97) 100%); pointer-events: none; }
.craft-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(24px, 4vw, 56px); }
.craft-cap .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.craft-cap h2 { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 600; }
.craft-cap p { margin: 6px 0 0; color: var(--ink-dim); font-size: 14px; letter-spacing: .04em; }

/* ---------- WM Corner ---------- */
.wm { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.wm-portrait { position: sticky; top: 110px; }
.frame {
  position: relative; border-radius: 22px; padding: 10px; overflow: hidden;
  background: linear-gradient(160deg, rgba(246,226,160,.35), rgba(155,114,36,.12) 40%, rgba(246,226,160,.25));
}
.frame-in { border-radius: 14px; overflow: hidden; background: #0d1a5e; }
.frame img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.wm-name { margin: 20px 0 2px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; }
.wm-title { margin: 0; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.signature { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold-hi); }
.signature small { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 32px); text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat-n { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; }
.stat-l { display: block; margin-top: 12px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- Event feature ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.flyer {
  position: relative; display: block; width: 100%; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line);
  transform: perspective(1000px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .6s var(--ease), box-shadow .6s;
}
.flyer img { width: 100%; }
.flyer::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.18), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.flyer:hover::after { opacity: 1; }
.flyer:hover { box-shadow: 0 50px 100px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(212,169,74,.5); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(212,169,74,.12); color: var(--gold-hi); border: 1px solid var(--line);
}
.badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: #6fe39a; box-shadow: 0 0 0 0 rgba(111,227,154,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(111,227,154,0); } 100% { box-shadow: 0 0 0 0 rgba(111,227,154,0); } }
.badge.past { color: var(--ink-dim); background: rgba(255,255,255,.04); border-color: var(--line-soft); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 2px; }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.facts li span:first-child { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.facts li span:last-child { font-size: 15.5px; }
.sponsors { margin-top: 22px; font-size: 14px; color: var(--ink-dim); }

/* ---------- Coins ---------- */
.coins { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.coin-card {
  position: relative; padding: clamp(28px, 3.5vw, 44px); border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line-soft);
  transition: border-color .5s, transform .6s var(--ease), box-shadow .6s;
}
.coin-card:hover { border-color: var(--line); transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(212,169,74,.35); }
.coin-flip { width: min(280px, 72%); aspect-ratio: 1; margin: 0 auto 26px; perspective: 1200px; cursor: pointer; }
.coin-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.1s var(--ease); }
.coin-flip:hover .coin-inner, .coin-flip.is-flipped .coin-inner { transform: rotateY(180deg); }
.coin-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 24px 30px rgba(0,0,0,.6)); }
.coin-face img { width: 100%; height: 100%; object-fit: contain; }
.coin-back { transform: rotateY(180deg); }
.coin-kicker { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.coin-card p.desc { color: var(--ink-dim); font-size: 15px; margin: 12px auto 24px; max-width: 46ch; }
.coin-hint { font-size: 11px; color: var(--ink-faint); letter-spacing: .14em; text-transform: uppercase; margin: -12px 0 18px; }
.coin-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; }

/* ---------- Pay + forms ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.panel {
  position: relative; padding: clamp(28px, 3.5vw, 48px); border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, rgba(31,51,136,.28), rgba(11,16,32,.6) 55%); border: 1px solid var(--line-soft);
}
.panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(246,226,160,.45), transparent 40%, transparent 70%, rgba(246,226,160,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pay { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.qr { width: 180px; border-radius: 16px; overflow: hidden; background: #fff; padding: 8px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); transition: transform .5s var(--ease); }
.qr:hover { transform: scale(1.04) rotate(-1deg); }
.doc-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.doc {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-soft);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.doc:hover { background: rgba(212,169,74,.08); border-color: var(--line); transform: translateX(6px); }
.doc-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-grad); color: #1a1205; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.doc-t { display: block; font-weight: 500; }
.doc-s { display: block; font-size: 12.5px; color: var(--ink-faint); }
.doc-arrow { margin-left: auto; color: var(--gold); transition: transform .4s var(--ease); }
.doc:hover .doc-arrow { transform: translateY(3px); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.news-card {
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line-soft);
  transition: transform .6s var(--ease), border-color .5s, box-shadow .6s;
}
.news-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 30px 70px -36px rgba(0,0,0,.9); }
.news-media { display: block; aspect-ratio: 1; overflow: hidden; position: relative; cursor: zoom-in; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.news-card:hover .news-media img { transform: scale(1.06); filter: saturate(1.05); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body time { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.news-body h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.35; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Map ---------- */

/* ---------- History timeline ---------- */
.timeline { position: relative; }
.tl-list { margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-soft); }
.timeline .tl-fill { position: absolute; left: 50%; top: 0; width: 1px; height: 0; background: var(--gold-grad); box-shadow: 0 0 12px rgba(212,169,74,.6); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 14px 0; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 26px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); transition: background .5s, box-shadow .5s; }
.tl-item.is-on::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(212,169,74,.15); }
.tl-card { padding: 16px 22px; border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid var(--line-soft); transition: border-color .4s, background .4s; }
.tl-card:hover { border-color: var(--line); background: rgba(212,169,74,.05); }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-card { grid-column: 2; }
.tl-years { display: block; font-family: var(--display); font-size: 1rem; color: var(--gold); letter-spacing: .06em; }
.tl-name { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.tl-note { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.photo-cap { margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); font-style: italic; font-family: var(--serif); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); transition: border-color .3s, color .3s, background .3s; }
.chip:hover { border-color: var(--line); color: var(--gold-hi); background: rgba(212,169,74,.06); }
.dignitaries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dig { padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid var(--line-soft); }
.dig b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.dig span { display: block; font-size: 13.5px; color: var(--ink-dim); margin-top: 2px; }
.award {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: 26px; background: linear-gradient(135deg, rgba(212,169,74,.14), rgba(31,51,136,.18)); border: 1px solid var(--line);
}
.award-mark { width: 92px; height: 92px; }

/* ---------- Officers ---------- */
.off-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.off {
  position: relative; padding: 22px 22px 20px; border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.025); border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.off::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-grad); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.off:hover { transform: translateY(-4px); border-color: var(--line); background: rgba(212,169,74,.05); }
.off:hover::after { transform: scaleY(1); }
.off-role { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.off-name { display: block; margin-top: 8px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.off.lead-off { grid-column: span 2; background: linear-gradient(135deg, rgba(212,169,74,.14), rgba(31,51,136,.2)); border-color: var(--line); }
.off.lead-off .off-name { font-family: var(--display); font-size: 1.7rem; }
.names { columns: 3 220px; column-gap: 32px; list-style: none; margin: 0; padding: 0; }
.names li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-size: 1.2rem; }
.names li small { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-faint); }

/* ---------- Prince Hall article ---------- */
.article-grid { display: grid; grid-template-columns: 1fr minmax(240px, 300px); gap: clamp(36px, 6vw, 90px); align-items: start; }
.aside-card { position: sticky; top: 110px; text-align: center; }
.aside-card .frame-in { background: #10131c; }
.aside-card figcaption { margin-top: 16px; }
.aside-card .name { font-family: var(--display); font-size: 1.3rem; display: block; }
.aside-card .dates { color: var(--gold); letter-spacing: .2em; font-size: 12px; }
.aside-card ul { list-style: none; padding: 0; margin: 14px 0 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ink-dim); }
.figure-wide { margin: 2.2em 0; }
.figure-wide img { border-radius: 16px; width: 100%; }
.figure-wide figcaption { margin-top: 12px; font-size: .95rem; color: var(--ink-faint); font-style: italic; }

/* ---------- Photo grid ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--bg-3); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.85) brightness(.92); }
.photo-tile::after { content: "+"; position: absolute; right: 12px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1a1205; font-size: 20px; transform: scale(0); transition: transform .45s var(--ease); }
.photo-tile:hover img { transform: scale(1.08); filter: saturate(1.05) brightness(1); }
.photo-tile:hover::after { transform: scale(1); }

/* ---------- Fund ---------- */
.banner-img { border-radius: 26px; overflow: hidden; border: 1px solid var(--line-soft); }
.programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.programs li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line-soft); font-size: 15px; transition: border-color .4s, transform .5s var(--ease); }
.programs li:hover { border-color: var(--line); transform: translateY(-3px); }
.programs li::before { content: "◆"; color: var(--gold); font-size: 9px; margin-top: 6px; }
.spec { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec li { padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); font-size: 14.5px; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 15px 18px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line-soft); outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(212,169,74,.05); box-shadow: 0 0 0 4px rgba(212,169,74,.12); }
.form-note { font-size: 13px; color: var(--ink-faint); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 40px; background: #05070f; border-top: 1px solid var(--line-soft); }
.footer-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212,169,74,.12), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 40px; font-size: 14.5px; color: var(--ink-dim); }
.footer-grid p { margin: 0 0 10px; }
.footer-mark { width: 64px; height: 64px; margin-bottom: 18px; }
.footer-name { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.footer-sub { font-size: 13px; color: var(--ink-faint); }
.footer-h { margin: 0 0 16px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.footer-dim { color: var(--ink-faint); font-size: 13px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.footer-links a { text-decoration: none; transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold-hi); padding-left: 4px; }
.footer-legal { position: relative; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 30px; font-size: 12px; color: var(--ink-faint); }
.footer-legal p { margin: 0; max-width: 80ch; }
.footer-legal p:last-child { white-space: nowrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(3,4,9,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lb-fig img { max-height: calc(100vh - 200px); width: auto; border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.8); }
.lb-fig figcaption { max-width: 760px; max-height: 18vh; overflow: auto; text-align: center; font-size: 14.5px; color: var(--ink-dim); white-space: pre-line; }
.lb-close, .lb-nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; line-height: 1; color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line-soft); transition: background .3s, color .3s, transform .3s var(--ease); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: #1a1205; }

/* ---------- Reveal (JS adds .js on html) ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }

/* ---------- Responsive ---------- */

/* ---------- Lodge room (home, above the hero) ---------- */
.home-top { position: relative; }
.temple { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 50% at 50% 62%, rgba(255,150,60,.14), transparent 70%), radial-gradient(90% 70% at 50% 10%, #0c1430, #02030a 70%); }
.temple-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--ease); }
.temple.is-ready .temple-canvas { opacity: 1; }
.temple-veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,3,10,.55) 0%, transparent 16%, transparent 72%, rgba(7,10,20,.6) 88%, #070a14 100%); }
.temple-cap { position: absolute; left: 0; right: 0; bottom: clamp(26px, 5vh, 54px); display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 var(--pad); }
.temple-kicker { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.temple-kicker span + span::before { content: "·"; margin-right: 18px; color: var(--gold); }
.temple-enter { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: clamp(15px, 1.3vw, 18px); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0,0,0,.9); }
.temple-enter svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: enterBob 2.4s var(--ease) infinite; }
.temple-enter:hover { color: var(--gold-hi); }
@keyframes enterBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.rise-canvas { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; }
@media (max-width: 680px) { .temple-kicker span + span::before { display: none; } .temple-kicker { gap: 4px 14px; font-size: 10px; } }

/* ---------- Parallax backgrounds (home) ---------- */
.section { --fade: var(--bg); }
.bg-2, .bg-rich { --fade: var(--bg-2); }
.has-px { isolation: isolate; }
.has-px > .wrap { position: relative; z-index: 1; }
.px { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.px > * { position: absolute; will-change: transform; }
/* toned photo, washed into the page colour at both edges */
.px-photo { inset: -16% 0; background: radial-gradient(90% 70% at 50% 50%, #1b2a62, #0a1028 70%); }
.px-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .66; filter: contrast(1.2) brightness(.95); }
.px-shade { inset: 0; z-index: 1; background:
  linear-gradient(180deg, var(--fade) 0%, rgba(7,10,20,.42) 26%, rgba(7,10,20,.38) 74%, var(--fade) 100%),
  radial-gradient(70% 90% at 50% 50%, transparent 30%, rgba(7,10,20,.7) 100%); }
.px-glow { inset: -10% -10%; z-index: 1; background: radial-gradient(40% 50% at var(--gx, 50%) var(--gy, 50%), rgba(212,169,74,.16), transparent 70%); mix-blend-mode: screen; }
/* Masonic mosaic pavement in perspective */
.px-pave { left: -40%; right: -40%; bottom: -6%; height: 70%; transform-origin: 50% 100%; transform: perspective(700px) rotateX(64deg);
  background: repeating-conic-gradient(rgba(239,232,216,.1) 0 25%, rgba(0,0,0,0) 0 50%) 0 0 / 120px 120px;
  -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 85%); mask-image: linear-gradient(0deg, #000 10%, transparent 85%); }
.px-pave::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(212,169,74,.22) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(0deg, rgba(212,169,74,.22) 1px, transparent 1px) 0 0 / 120px 120px; background-position: inherit; opacity: .5; }
/* large square & compass watermark */
.px-mark { width: clamp(420px, 55vw, 860px); aspect-ratio: 1; opacity: .09; color: var(--gold); }
.px-mark svg { width: 100%; height: 100%; }
/* rotating rings, like the milled edge of a coin */
.px-rings { left: 50%; top: 50%; width: min(1300px, 160vw); aspect-ratio: 1; margin: calc(min(1300px, 160vw) / -2) 0 0 calc(min(1300px, 160vw) / -2); opacity: .55; }
.px-rings svg { width: 100%; height: 100%; overflow: visible; }
.px-rings circle { fill: none; stroke: rgba(212,169,74,.34); }
/* drifting gold dust, two depths */
.px-dust { inset: -30% 0; opacity: .9;
  background-image: radial-gradient(1.6px 1.6px at 20px 30px, rgba(246,226,160,.55), transparent 60%), radial-gradient(1.2px 1.2px at 140px 90px, rgba(246,226,160,.4), transparent 60%), radial-gradient(2px 2px at 260px 210px, rgba(212,169,74,.45), transparent 60%), radial-gradient(1px 1px at 90px 260px, rgba(246,226,160,.5), transparent 60%), radial-gradient(1.4px 1.4px at 220px 20px, rgba(246,226,160,.35), transparent 60%);
  background-size: 320px 320px; }
.px-dust.far { opacity: .5; background-size: 190px 190px; filter: blur(.4px); }
/* diagonal checker for the payment band */
.px-check { inset: -40% -20%; transform: rotate(-12deg); opacity: .55;
  background: repeating-conic-gradient(rgba(212,169,74,.06) 0 25%, transparent 0 50%) 0 0 / 84px 84px;
  -webkit-mask-image: radial-gradient(60% 70% at 70% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 70% 50%, #000, transparent 75%); }
.px-band { padding: clamp(100px, 13vw, 190px) 0; }
.px-band .stats { background: rgba(7,10,20,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (max-width: 1260px) {
  .nav, .nav-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 26px + min(58vw, 340px) + 40px); padding-bottom: 300px; text-align: left; }
  .hero-coin-hint { display: none; }
  .meet-bar { grid-template-columns: 1fr; bottom: 16px; }
  .meet-item + .meet-item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .meet-item { padding: 12px 18px; }
  .wm, .feature, .duo, .split, .article-grid { grid-template-columns: 1fr; }
  .wm-portrait, .aside-card { position: static; max-width: 360px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before, .timeline .tl-fill { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .tl-item::before { left: 6px; }
  .tl-item:nth-child(odd) .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 1; text-align: left; }
}
@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 15px; }
  .hero-inner { padding-top: calc(var(--header-h) + 26px + min(58vw, 340px) + 30px); padding-bottom: 270px; }
  .hero-kicker { gap: 6px 14px; letter-spacing: .22em; }
  .hero-kicker span + span::before { display: none; }
  .hero-title { font-size: clamp(2.6rem, 12.5vw, 4rem); }
  .hero-cta .btn { flex: 1 1 auto; }
  .coins, .news-grid { grid-template-columns: 1fr; }
  .pay { grid-template-columns: 1fr; justify-items: start; }
  .form-row, .dignitaries, .spec { grid-template-columns: 1fr; }
  .off.lead-off { grid-column: auto; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .award { grid-template-columns: 1fr; }
  .lightbox { padding: 70px 12px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .btn { height: 50px; padding: 0 24px; }
  .craft { height: auto !important; background: var(--bg); }
  .craft-img { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .craft::after { background: linear-gradient(180deg, var(--bg) 0%, transparent 10%, transparent 80%, var(--bg) 100%); height: calc(100vw * 9 / 16); bottom: auto; }
  .craft-cap { position: relative; bottom: auto; padding: 18px 0 8px; }
}
/* ---------- The Way to the Lodge (home) ---------- */
.way { position: relative; height: 260vh; background: var(--bg); }
.way-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.way-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.way-vignette { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,10,20,.92) 0%, rgba(7,10,20,.55) 30%, transparent 52%),
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 80%, var(--bg) 100%); }
.no-webgl .way-stage { background: radial-gradient(60% 60% at 68% 50%, rgba(212,169,74,.18), transparent 70%), var(--bg); }

.way-label { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; will-change: transform; }
.way-label-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(212,169,74,.25), 0 0 18px var(--gold); }
.way-label-text { position: absolute; left: 22px; bottom: 14px; display: flex; flex-direction: column; white-space: nowrap; padding: 10px 16px 10px 14px;
  border-left: 1px solid var(--gold); background: linear-gradient(90deg, rgba(7,10,20,.85), rgba(7,10,20,0)); }
.way-label-text::before { content: ""; position: absolute; left: -22px; bottom: -14px; width: 23px; height: 1px; background: var(--gold); transform-origin: left; transform: rotate(-32deg); }
.way-label.is-left .way-label-text { left: auto; right: 22px; align-items: flex-end; border-left: 0; border-right: 1px solid var(--gold); padding: 10px 14px 10px 16px; background: linear-gradient(270deg, rgba(7,10,20,.85), rgba(7,10,20,0)); }
.way-label.is-left .way-label-text::before { left: auto; right: -22px; transform-origin: right; transform: rotate(32deg); }
.way-label.is-center .way-label-text { left: 0; bottom: auto; top: 26px; transform: translateX(-50%); align-items: center; border-left: 0; border-top: 1px solid var(--gold); background: rgba(7,10,20,.8); padding: 8px 14px; }
.way-label.is-center .way-label-text::before { left: 50%; bottom: auto; top: -27px; width: 1px; height: 26px; transform: none; }
.way-label-text b { font-family: var(--display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); font-weight: 700; }
.way-label-text i { font-style: normal; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-dim); margin-top: 2px; }

.way-hud { position: absolute; right: var(--pad); bottom: 40px; z-index: 2; display: flex; align-items: center; gap: 16px; pointer-events: none; }
.way-compass { width: 64px; height: 64px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }
.way-compass text { font: 700 11px var(--display); fill: var(--gold-hi); }
.way-readout { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); font-variant-numeric: tabular-nums; }
.way-readout p { margin: 0; line-height: 1.75; }
.way-readout span { display: inline-block; width: 38px; color: var(--gold); }
.way-readout b { font-weight: 600; }

.way-panel { position: absolute; z-index: 3; left: var(--pad); top: var(--header-h); bottom: 0; width: min(430px, 36vw); display: flex; flex-direction: column; justify-content: center; }
.way-head .eyebrow { margin-bottom: 14px; }
.way-title { margin: 0 0 26px; font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: .02em; font-size: clamp(2.6rem, 4.6vw, 4.6rem); text-shadow: 0 10px 40px rgba(0,0,0,.6); }
.way-line { display: block; overflow: hidden; padding-bottom: .06em; }
.way-line > span { display: inline-block; }

.way-plate { position: relative; padding: 24px 24px 22px; border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px),
    linear-gradient(155deg, rgba(22,34,79,.78), rgba(7,10,20,.9) 60%);
  border: 1px solid rgba(212,169,74,.55);
  box-shadow: inset 0 0 0 5px rgba(7,10,20,.7), inset 0 0 0 6px rgba(212,169,74,.28), 0 40px 80px -30px #000;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.way-plate::before, .way-plate::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; top: 14px;
  background: radial-gradient(circle at 35% 35%, #fff4cf, #9b7224 70%); box-shadow: 0 1px 2px #000; }
.way-plate::before { left: 14px; } .way-plate::after { right: 14px; }
.way-k, .way-facts dt { margin: 0 0 3px; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.way-next { padding: 6px 6px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.way-next-date { margin: 4px 0 0; font-family: var(--display); font-size: 19px; line-height: 1.3; }
.way-next-date .nw { white-space: nowrap; }
.way-count { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.way-count[hidden] { display: none; }
.way-count div { min-width: 70px; padding: 6px 0 4px; border-radius: 4px; background: linear-gradient(180deg, #0b1020, #05070e); border: 1px solid rgba(212,169,74,.3); box-shadow: inset 0 -12px 18px -12px rgba(212,169,74,.25); }
.way-count b { display: block; font-family: var(--display); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.way-count span { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); }
.way-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.way-facts dd { margin: 0; font-size: 14.5px; line-height: 1.5; }
.way-mail { grid-column: 1 / -1; }
.way-mail dd { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.way-copy { height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-dim); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; transition: color .3s, border-color .3s, background .3s; }
.way-copy:hover { color: var(--gold-hi); border-color: var(--gold); }
.way-copy.is-done { color: #1a1205; background: var(--gold); border-color: var(--gold); }
.way-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; }
.way-actions .btn { flex: 1 1 auto; }

.way-credit { position: absolute; right: var(--pad); bottom: 14px; z-index: 2; margin: 0; font-size: 9.5px; letter-spacing: .08em; color: var(--ink-faint); }
.way-scroll { position: absolute; left: 50%; bottom: 34px; z-index: 2; margin: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim); pointer-events: none; }
.way-scroll span { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: wayDrop 2s var(--ease) infinite; transform-origin: top; }
@keyframes wayDrop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 979px) {
  .way { height: auto; }
  .way-stage { position: relative; height: auto; padding: calc(var(--header-h) + 18px) 0 40px; }
  .way-canvas, .way-vignette { height: 80svh; min-height: 560px; bottom: auto; }
  .way-vignette { background: linear-gradient(180deg, var(--bg) 0%, rgba(7,10,20,.55) 24%, transparent 42%, transparent 82%, var(--bg) 100%); }
  .way-panel { position: relative; left: auto; top: auto; bottom: auto; display: block; width: auto; padding: 0 var(--pad); }
  .way-title { font-size: clamp(2.2rem, 10vw, 3.4rem); margin-bottom: 0; }
  .way-plate { margin-top: max(46svh, 380px); max-width: 560px; margin-left: auto; margin-right: auto; }
  .way-hud { top: calc(var(--header-h) + 22px); bottom: auto; right: var(--pad); }
  .way-compass { width: 52px; height: 52px; }
  .way-scroll { display: none; }
  .way-credit { right: auto; left: var(--pad); bottom: 12px; }
}
@media (max-width: 520px) {
  .way-facts { grid-template-columns: 1fr; }
  .way-count div { min-width: 0; flex: 1; }
  .way-readout { display: none; }
}

/* the letter */
.letter { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; perspective: 1400px; }
.letter[hidden] { display: none; }
body.letter-open { overflow: hidden; }
.letter-backdrop { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(22,34,79,.55), rgba(3,5,10,.92)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.letter-stage { position: relative; width: min(560px, 100%); }
.letter-x { position: absolute; right: -6px; top: -54px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7,10,20,.6); z-index: 5; }
.letter-x span { position: absolute; left: 12px; right: 12px; top: 20px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.letter-x span + span { transform: rotate(-45deg); }
.letter-scroll { position: relative; transform-style: preserve-3d; will-change: transform; }
.letter-paper { position: relative; margin: 0; padding: 40px clamp(22px, 5vw, 48px) 30px; color: #2a1d0c; max-height: calc(100svh - 150px); overflow: auto;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,250,232,.65), transparent 60%),
    radial-gradient(90% 60% at 10% 100%, rgba(150,100,40,.28), transparent 70%),
    radial-gradient(70% 50% at 100% 30%, rgba(150,100,40,.2), transparent 70%),
    linear-gradient(180deg, #efe0bd, #e5d1a4 50%, #dcc493);
  box-shadow: inset 0 0 60px rgba(120,80,30,.35), inset 0 0 6px rgba(80,50,10,.4), 0 50px 90px -30px #000; }
.letter-paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .15 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.letter-crest { display: block; width: 46px; height: 46px; margin: 0 auto 8px; filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)) sepia(.4) brightness(.75); }
.letter-to { margin: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 16px; color: #5a4320; }
.letter-title { margin: 2px 0 18px; text-align: center; font-family: var(--display); font-size: clamp(20px, 4vw, 26px); letter-spacing: .06em; color: #3a2709; }
.letter-greet { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 20px; }
.letter-field { position: relative; display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(90,60,20,.35); margin-bottom: 12px; }
.letter-field > span { flex: none; width: 74px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #8a6420; }
.letter-field input, .letter-field textarea { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; padding: 8px 0 6px; color: #23170a;
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; }
.letter-field ::placeholder { color: rgba(90,60,20,.4); }
.letter-field:focus-within { border-bottom-color: #8a6420; box-shadow: 0 1px 0 #8a6420; }
.letter-msg { flex-direction: column; gap: 0; border-bottom: 0; }
.letter-msg textarea { width: 100%; resize: none; line-height: 34px; padding: 0;
  background: repeating-linear-gradient(transparent 0 33px, rgba(90,60,20,.3) 33px 34px); }
.letter-err { min-height: 1.2em; margin: 0; font-size: 13px; color: #8b1e14; }
.letter-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.letter-sign { margin: 0; font-family: var(--serif); font-style: italic; font-size: 19px; color: #5a4320; }
.letter-rod { position: absolute; left: -22px; right: -22px; height: 24px; z-index: 2; border-radius: 12px;
  background: linear-gradient(180deg, #4a2c12 0%, #8a5a2b 30%, #c08a4d 45%, #6b4220 70%, #2e1a08 100%); box-shadow: 0 10px 18px -6px rgba(0,0,0,.7); }
.letter-rod.top { top: -12px; } .letter-rod.bottom { bottom: -12px; }
.letter-rod::before, .letter-rod::after { content: ""; position: absolute; top: -5px; width: 22px; height: 34px; border-radius: 8px;
  background: linear-gradient(180deg, #7a5a1e, #f6e2a0 35%, #d4a94a 55%, #6b4a12); box-shadow: 0 4px 10px rgba(0,0,0,.6); }
.letter-rod::before { left: -14px; } .letter-rod::after { right: -14px; }
.letter-rod i { position: absolute; inset: 9px 0 auto; height: 2px; background: rgba(255,230,180,.25); }
.letter-ribbon { position: absolute; left: 50%; top: 50%; width: 30px; height: 150px; margin: -40px 0 0 -15px; z-index: 3; opacity: 0; transform-origin: 50% 40px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%); transform: rotate(8deg);
  background: linear-gradient(90deg, #5e0d12, #a3202a 40%, #d0414a 50%, #a3202a 60%, #5e0d12); box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.letter-seal { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; z-index: 4; opacity: 0; }
.letter-seal > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.55)); }
.letter-seal > svg:first-child path { fill: #8e1620; }
.letter-seal::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 38% 32%, #d0414a, #9c1c26 45%, #6a0d14 100%); box-shadow: inset 0 3px 6px rgba(255,160,160,.35), inset 0 -6px 10px rgba(0,0,0,.5); }
.letter-seal-mark { position: absolute; inset: 24px; z-index: 2; width: 44px; height: 44px; filter: drop-shadow(0 1px 0 rgba(255,190,190,.35)) drop-shadow(0 -1px 0 rgba(0,0,0,.5)); }
.letter-seal-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(246,226,160,.8); opacity: 0; }

.letter-toast { position: fixed; z-index: 95; left: 16px; right: 16px; bottom: 28px; margin: 0 auto; width: min(440px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(7,10,20,.92); border: 1px solid rgba(212,169,74,.5); box-shadow: 0 30px 60px -20px #000; }
.letter-toast[hidden] { display: none; }
.letter-toast svg { width: 36px; height: 36px; flex: none; }
.letter-toast p { margin: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--ink-dim); }
.letter-toast b { color: var(--gold-hi); font-family: var(--display); font-size: 14px; letter-spacing: .04em; }

/* ---------- The Grip of Brotherhood (home) ---------- */
.grip { position: relative; height: 230vh; background: var(--bg); }
.grip-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + clamp(18px, 4vh, 48px)) 0 clamp(26px, 5vh, 56px); }
.grip-sky { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% 62%, rgba(31,51,136,.45), transparent 70%),
  radial-gradient(40% 30% at 51% 60%, rgba(212,169,74,.14), transparent 70%),
  linear-gradient(180deg, var(--bg), #0a0f22 50%, var(--bg)); }
.grip-mark { position: absolute; left: 50%; top: 56%; width: min(86vh, 80vw); height: min(86vh, 80vw); margin: calc(min(86vh, 80vw) / -2) 0 0 calc(min(86vh, 80vw) / -2); opacity: .07; pointer-events: none; }
.grip-rays { position: absolute; left: 51%; top: 60%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(246,226,160,.16) 0deg 2deg, transparent 2deg 11deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.5) 14%, transparent 42%); mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.5) 14%, transparent 42%); }
.grip-burst { position: absolute; left: 51%; top: 60%; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.2);
  background: radial-gradient(circle, rgba(255,240,200,.9) 0%, rgba(246,226,160,.5) 12%, rgba(212,169,74,.18) 35%, transparent 68%); mix-blend-mode: screen; }

.grip-head { position: relative; z-index: 3; text-align: center; }
.grip-title { margin: 14px 0 0; font-family: var(--display); font-weight: 700; line-height: 1.02; font-size: clamp(2rem, 3.8vw, 3.6rem); letter-spacing: .01em; }
.grip-line { display: block; overflow: hidden; padding-bottom: .05em; }
.grip-line > span { display: inline-block; }
.grip-sub > span { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .52em; letter-spacing: .02em; color: var(--ink-dim); }

.grip-hands { --r: 0%; --gw: min(112vw, 138vh); position: relative; z-index: 2; width: var(--gw); margin-left: calc((100vw - var(--gw)) / 2); aspect-ratio: 2172 / 724; flex: none;
  transform-style: preserve-3d; will-change: transform; }
.grip-hands img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  --reveal: linear-gradient(90deg, transparent calc(51% - var(--r) - 9%), #000 calc(51% - var(--r)), #000 calc(51% + var(--r)), transparent calc(51% + var(--r) + 9%));
  --edges: linear-gradient(90deg, transparent 2%, #000 16%, #000 82%, transparent 96%);
  --topfade: linear-gradient(180deg, transparent 0%, #000 22%);
  -webkit-mask-image: var(--reveal), var(--edges), var(--topfade); -webkit-mask-composite: source-in, source-in;
  mask-image: var(--reveal), var(--edges), var(--topfade); mask-composite: intersect; }
.grip-hands .grip-shadow { filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(-12deg) blur(26px); opacity: .22; transform: scale(1.02);
  -webkit-mask-image: radial-gradient(40% 45% at 51% 60%, #000 30%, transparent 100%); mask-image: radial-gradient(40% 45% at 51% 60%, #000 30%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
.grip-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%); }
.grip-img { filter: contrast(1.04); }
.grip-glint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .9;
  background: linear-gradient(105deg, transparent 42%, rgba(255,236,190,.0) 44%, rgba(255,236,190,.55) 50%, rgba(255,236,190,0) 56%, transparent 58%) 0 0 / 300% 100% no-repeat;
  background-position: 120% 0;
  -webkit-mask: url(/img/handshake-1100.webp) center / contain no-repeat; mask: url(/img/handshake-1100.webp) center / contain no-repeat; }

.grip-foot { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.grip-tenets { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); }
.grip-tenets li { position: relative; font-family: var(--display); font-size: clamp(14px, 1.4vw, 19px); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); transition: color .6s, text-shadow .6s; }
.grip-tenets li + li::before { content: ""; position: absolute; left: calc(clamp(14px, 3vw, 40px) / -2 - 3px); top: 50%; width: 6px; height: 6px; margin-top: -3px; transform: rotate(45deg); background: var(--gold); opacity: .6; }
.grip-tenets li span::after { content: ""; position: absolute; left: 0; right: .2em; bottom: -8px; height: 1px; background: var(--gold-grad); transform: scaleX(0); transition: transform .9s var(--ease); }
.grip-tenets li.is-lit { color: var(--gold-hi); text-shadow: 0 0 24px rgba(212,169,74,.55); }
.grip-tenets li.is-lit span::after { transform: scaleX(1); }

@media (max-width: 759px) {
  .grip { height: auto; }
  .grip-stage { position: relative; height: auto; min-height: 0; gap: 26px; padding: 70px 0 60px; }
  .grip-hands { --gw: 175vw; margin-left: calc(-37.5vw - 1.75vw); }
  .grip-mark { top: 50%; }
  .grip-rays, .grip-burst { top: 50%; }
  .grip-tenets { flex-direction: column; gap: 10px; }
  .grip-tenets li + li::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grip { height: auto; } .grip-stage { position: relative; } .grip-hands { --r: 60%; } .grip-burst { opacity: .5; transform: none; }
  .way-scroll span { animation: none; }
  html { scroll-behavior: auto; }
  .temple-enter svg { animation: none; }
  .hero-rays, .badge .pulse { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* lodge room → welcome hero: no seam */
.home-top .hero { background: linear-gradient(180deg, #070a14 0, rgba(7,10,20,0) 220px), radial-gradient(90% 70% at 70% 35%, #18245a 0%, #0b1129 45%, #070a14 80%); }

/* ---------- sticky full-viewport background layer ---------- */
.wbg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.wbg-stick { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; overflow: clip; }
.wbg-shade { position: absolute; inset: 0; }

/* ---------- History: King Solomon's Temple behind the Worshipful Masters ---------- */
.temple-sec { isolation: isolate; }
.temple-sec > .wrap { position: relative; z-index: 1; }
.temple-sec .wbg-shade { background:
  linear-gradient(180deg, var(--bg-2) 0%, rgba(11,16,32,0) 22%, rgba(11,16,32,0) 78%, var(--bg-2) 100%),
  radial-gradient(70% 80% at 50% 50%, transparent 35%, rgba(11,16,32,.75) 100%); }
.tbg-img { position: absolute; inset: -6% -4%; width: 108%; height: 112%; max-width: none; object-fit: cover; object-position: 50% 45%;
  opacity: .19; mix-blend-mode: screen; transform-origin: 50% 40%; will-change: transform; }
.tbg-glow { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(28% 34% at 52% 36%, rgba(246,226,160,.08), transparent 70%); }
.temple-sec .tl-card { background: rgba(11,16,32,.72); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.temple-sec .tl-card:hover { background: rgba(20,26,48,.8); }
@media (max-width: 700px) { .tbg-img { opacity: .17; object-position: 50% 40%; } }

/* ---------- Side rails (inner pages, wide screens): plumb line left, working tools right ---------- */
.rail { display: none; position: fixed; top: calc(var(--header-h) + 34px); bottom: 40px; z-index: 30; pointer-events: none; opacity: 0;
  width: calc((100vw - 1240px) / 2 + 12px); }
@media (min-width: 1360px) { .rail { display: block; } }
.rail-l { left: 0; }
.rail-r { right: 0; overflow: hidden; overflow: clip; }
.rail-track { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(212,169,74,.18); transform-origin: 50% 0; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,226,160,.2), var(--gold) 70%, var(--gold-hi)); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 10px rgba(212,169,74,.55); }
.rail-bob { position: absolute; left: -12px; top: 0; width: 24px; height: 60px; transform-origin: 12px 0; will-change: transform; }
.rail-bob svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--gold-hi); stroke-width: 1; }
.rail-bob .bob { fill: var(--gold); stroke: var(--gold-hi); filter: drop-shadow(0 0 6px rgba(246,226,160,.7)); }
.rail-mark { position: absolute; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.rail-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -5px; transform: rotate(45deg);
  border: 1px solid rgba(212,169,74,.6); background: var(--bg); transition: background .5s, box-shadow .5s, border-color .5s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.rail-mark.on::before { background: var(--gold); border-color: var(--gold-hi); box-shadow: 0 0 12px rgba(246,226,160,.8); transform: rotate(45deg) scale(1.15); }
.rail-mark.on::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -5px; border: 1px solid var(--gold-hi); transform: rotate(45deg); animation: railPing 1.1s ease-out forwards; }
.rail-mark:hover::before { border-color: var(--gold-hi); transform: rotate(45deg) scale(1.4); }
@keyframes railPing { from { opacity: .9; transform: rotate(45deg) scale(1); } to { opacity: 0; transform: rotate(45deg) scale(3.4); } }
.rail-tip { position: absolute; left: 26px; top: 50%; transform: translate(-6px, -50%); opacity: 0; white-space: nowrap; pointer-events: none;
  font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi);
  padding: 8px 12px; border-radius: 999px; background: rgba(7,10,20,.9); border: 1px solid rgba(212,169,74,.35); transition: opacity .3s, transform .3s; }
.rail-mark:hover .rail-tip { opacity: 1; transform: translate(0, -50%); }
.rail-label { position: absolute; top: 0; right: calc(50% + 16px); max-height: 46%; overflow: hidden; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 600 10px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(246,226,160,.7); white-space: nowrap; text-overflow: ellipsis; }
.rail-label span { display: inline-block; }
.rail-tool { position: absolute; left: 50%; top: 0; width: clamp(40px, calc((100vw - 1240px) / 2 - 28px), 104px); margin-left: calc(clamp(40px, calc((100vw - 1240px) / 2 - 28px), 104px) / -2);
  text-align: center; will-change: transform, opacity; }
.rail-tool svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--gold-hi); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(212,169,74,.35)); transition: filter .6s, stroke .6s; }
.rail-tool svg text { fill: var(--gold-hi); stroke: none; font: 700 13px var(--display); }
.rail-tool.lit svg { filter: drop-shadow(0 0 8px rgba(246,226,160,.75)); }
.rail-tool-name { display: block; margin-top: 10px; font: 600 8.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s; }
.rail-tool.lit .rail-tool-name { opacity: .85; transform: none; }

/* ---------- Officers: "Hand to hand, station to station" ---------- */
.stations { position: relative; height: 320vh; background: var(--bg); }
.st-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.st-sky { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 56%, #16224f 0%, #0a0f24 55%, var(--bg) 85%); }
.st-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%); }
.st-rays { position: absolute; left: 50%; top: 56%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(246,226,160,.075) 0deg 2deg, transparent 2deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%); mask-image: radial-gradient(circle, #000 0%, transparent 55%); }
.st-burst { position: absolute; left: 50%; top: 56%; width: 64vmin; height: 64vmin; margin: -32vmin 0 0 -32vmin; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(246,226,160,.55) 0%, rgba(212,169,74,.22) 30%, transparent 68%); mix-blend-mode: screen; }
.st-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.st-lines path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; filter: drop-shadow(0 0 4px rgba(212,169,74,.7)); }
.st-hands { --gw: min(72vw, 120vh); position: absolute; z-index: 2; left: 50%; top: 56%; width: var(--gw); margin-left: calc(var(--gw) / -2); aspect-ratio: 2172 / 724; transform: translateY(-50%); }
.st-hands img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.st-img { filter: contrast(1.05); }
.st-glow { filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(-12deg) blur(24px); opacity: .25; transform: scale(1.03); }
.st-glint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 40%, rgba(255,240,200,.55) 50%, transparent 60%) 120% 0 / 250% 100% no-repeat;
  -webkit-mask: url(/img/handshake-1100.webp) center / contain no-repeat; mask: url(/img/handshake-1100.webp) center / contain no-repeat; }
.st-head { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--header-h) + 4vh); text-align: center; padding: 0 var(--pad); }
.st-title { margin: 12px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.02; }
.st-line { display: block; overflow: hidden; padding-bottom: .06em; }
.st-line > span { display: inline-block; }
.st-sub { margin: 16px auto 0; max-width: 520px; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-dim); overflow: hidden; }
.st-sub > span { display: inline-block; }
.st-points { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.st-pt { position: absolute; transform: translate(-50%, -50%); min-width: 210px; padding: 16px 22px; text-align: center; border-radius: 16px; pointer-events: auto;
  background: rgba(8,12,28,.72); border: 1px solid rgba(212,169,74,.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(246,226,160,.08); }
.st-pt .off-name { font-size: 1.3rem; }
.st-dir { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-hi); opacity: .8; }
.st-east { left: 50%; top: 20.5%; padding: 20px 30px; background: linear-gradient(135deg, rgba(212,169,74,.2), rgba(18,28,70,.8)); border-color: rgba(246,226,160,.55); }
.st-east .off-name { font-family: var(--display); font-size: 1.6rem; }
.st-sec { left: 21%; top: 24%; }
.st-tre { left: 79%; top: 24%; }
.st-south { left: 86%; top: 64%; }
.st-west { left: 50%; top: 86%; }
@media (max-width: 1100px) { .st-sec { left: 16%; } .st-tre { left: 84%; } .st-south { left: 82%; top: 76%; } .st-pt { min-width: 180px; padding: 12px 16px; } }
@media (max-width: 760px) {
  .stations { height: auto; }
  .st-stage { position: relative; height: auto; padding: 90px 0 70px; overflow: hidden; overflow: clip; }
  .st-head { position: relative; top: auto; }
  .st-hands { position: relative; left: auto; top: auto; --gw: 175vw; margin: 40px 0 34px calc(50vw - 87.5vw); transform: none; }
  .st-rays, .st-burst { top: 36%; }
  .st-lines { display: none; }
  .st-points { position: relative; inset: auto; display: grid; gap: 12px; padding: 0 var(--pad); }
  .st-pt { position: relative; left: auto; top: auto; transform: none; min-width: 0; }
  .st-east { order: -1; }
}

/* ---------- Officers: Past Masters name band ---------- */
.name-band { position: relative; overflow: hidden; overflow: clip; padding: clamp(30px, 5vw, 60px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.nb-row { white-space: nowrap; }
.nb-row + .nb-row { margin-top: 10px; }
.nb-track { display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); will-change: transform; }
.nb-track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 4rem); letter-spacing: .03em; color: transparent; -webkit-text-stroke: 1px rgba(212,169,74,.55); }
.nb-alt .nb-track span { font-family: var(--serif); font-weight: 500; font-style: italic; letter-spacing: 0; font-size: clamp(1.5rem, 3.4vw, 3rem); color: rgba(246,226,160,.75); -webkit-text-stroke: 0; }
.nb-track i { width: 10px; height: 10px; flex: none; transform: rotate(45deg); background: var(--gold); opacity: .7; }

/* ---------- Inner-page motion (motion.js) ---------- */
@property --ray-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.page-hero.has-motion::before { background: repeating-conic-gradient(from calc(180deg + var(--ray-a)) at 78% -10%, rgba(246,226,160,.09) 0deg 1deg, transparent 1deg 8deg); animation: rayTurn 90s linear infinite; }
@keyframes rayTurn { to { --ray-a: 360deg; } }
.page-hero.has-motion > .px { z-index: -1; }
.hero-orb { left: 52%; top: -20%; width: 46vw; height: 46vw; border-radius: 50%; background: radial-gradient(circle, rgba(212,169,74,.16), transparent 65%); filter: blur(10px); mix-blend-mode: screen; }
.section.has-motion .sec-mark { opacity: .045; width: clamp(380px, 46vw, 760px); }
.tilt { will-change: transform; }
.tilt:hover { background-image: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), rgba(246,226,160,.13), transparent 55%); }
.px-drift { scale: 1.16; translate: 0 var(--py, 0); }
.st-hands { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%); }
@media (max-width: 760px) { .st-hands { -webkit-mask-image: none; mask-image: none; } }
.hd-wipe { display: block; }
/* keep stations (and their lines) inside the content width so they never meet the side rails */
@media (min-width: 761px) { .st-points, .st-lines { left: 50%; right: auto; width: min(1240px, 100%); margin-left: calc(min(1240px, 100%) / -2); } }

/* ---------- Upcoming event: ancient Egyptian stonemasons + larger flyer ---------- */
/* Tomb of Rekhmire masons as gold line-art, screen-blended over navy; darker only behind the text column */
.events-masons .px-photo img { mix-blend-mode: screen; opacity: .6; filter: none; object-position: 50% 45%; }
.events-masons .px-shade { background:
  linear-gradient(180deg, var(--fade) 0%, rgba(7,10,20,.2) 16%, rgba(7,10,20,.2) 84%, var(--fade) 100%),
  linear-gradient(90deg, rgba(7,10,20,0) 0%, rgba(7,10,20,.1) 48%, rgba(7,10,20,.7) 60%, rgba(7,10,20,.76) 100%),
  radial-gradient(80% 100% at 50% 50%, transparent 45%, rgba(7,10,20,.55) 100%); }
@media (min-width: 981px) {
  .events-masons > .wrap.feature { width: min(1400px, 100%); grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 5vw, 80px); }
}
@media (max-width: 980px) {
  .events-masons .px-shade { background:
    linear-gradient(180deg, var(--fade) 0%, rgba(7,10,20,.45) 18%, rgba(7,10,20,.72) 55%, rgba(7,10,20,.8) 100%); }
}

/* ---------- Ascend: square & compasses scroll-to-top ----------
   The compasses' hinge is the arrow; the ring is the circle they draw as you read down the page. */
.ascend {
  position: fixed; z-index: 50; right: max(20px, env(safe-area-inset-right)); bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--gold);
  background: radial-gradient(circle at 50% 35%, rgba(31,51,136,.55), rgba(8,12,28,.92) 70%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.85), inset 0 0 0 1px rgba(212,169,74,.22);
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.8);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .6s, box-shadow .4s;
  -webkit-tap-highlight-color: transparent;
}
.ascend.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s, box-shadow .4s; }
body.menu-open .ascend { opacity: 0; visibility: hidden; }
.ascend:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
.asc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.asc-track { fill: none; stroke: rgba(212,169,74,.16); stroke-width: 1.6; }
.asc-ring { fill: none; stroke: url(#ascGold); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--asc-p, 0) * 100);
  transform: rotate(-90deg); transform-origin: 32px 32px; filter: drop-shadow(0 0 3px rgba(246,214,140,.45)); }
.asc-square path { fill: none; stroke: url(#ascGold); stroke-width: 2.6; stroke-linejoin: miter; stroke-linecap: square; }
.asc-square .asc-sq-in { stroke-width: 1; opacity: .5; }
.asc-square { transition: transform .5s var(--ease), opacity .5s; }
.asc-comp { transition: transform .5s var(--ease); }
.asc-leg { fill: url(#ascGold); transform-box: view-box; transform-origin: 32px 16.6px; transition: transform .5s var(--ease); }
.asc-hinge { fill: url(#ascGold); stroke: rgba(8,12,28,.9); stroke-width: .8; }
.asc-head { stroke: url(#ascGold); stroke-width: 2.2; stroke-linecap: round; }
.asc-trail { stroke: url(#ascGold); stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.asc-label {
  position: absolute; right: calc(100% + 12px); top: 50%; padding: 7px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font: 600 10.5px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-hi);
  background: rgba(8,12,28,.88); box-shadow: inset 0 0 0 1px rgba(212,169,74,.28);
  opacity: 0; transform: translate(10px, -50%); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
@media (hover: hover) {
  .ascend:hover { box-shadow: 0 18px 40px -10px rgba(0,0,0,.9), inset 0 0 0 1px rgba(212,169,74,.55), 0 0 26px -6px rgba(246,214,140,.45); }
  .ascend:hover .asc-label { opacity: 1; transform: translate(0, -50%); }
  /* the compasses close into an arrowhead and lift; the square settles back */
  .ascend:hover .asc-leg-l { transform: rotate(9deg); }
  .ascend:hover .asc-leg-r { transform: rotate(-9deg); }
  .ascend:hover .asc-comp { transform: translateY(-3px); }
  .ascend:hover .asc-square { transform: translateY(3px); opacity: .45; }
}
/* launch: the compasses shoot up on a gold plumb line, then return from below */
.ascend.is-launch .asc-comp { animation: ascFly 1s var(--ease) both; }
.ascend.is-launch .asc-trail { animation: ascTrail 1s ease-out both; }
.ascend.is-launch .asc-leg-l { transform: rotate(11deg); }
.ascend.is-launch .asc-leg-r { transform: rotate(-11deg); }
.ascend.is-launch .asc-square { animation: ascSq 1s var(--ease) both; }
@keyframes ascSq { 0%, 70% { transform: translateY(4px); opacity: .25; } 100% { transform: none; opacity: 1; } }
@keyframes ascFly {
  0% { transform: translateY(-3px); opacity: 1; }
  38% { transform: translateY(-46px); opacity: 0; }
  39% { transform: translateY(26px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes ascTrail {
  0% { opacity: 0; transform: none; }
  8% { opacity: 1; }
  30% { opacity: .7; }
  60% { opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 680px) {
  .ascend { width: 50px; height: 50px; right: max(14px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); }
  .asc-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ascend, .ascend.is-on { transition: opacity .2s; transform: none; }
  .ascend.is-launch .asc-comp, .ascend.is-launch .asc-trail, .ascend.is-launch .asc-square { animation: none; }
}
@media print { .ascend { display: none; } }
