:root {
  --ink: #061326;
  --navy: #0d2548;
  --navy-2: #10284d;
  --red: #e50908;
  --gold: #f5d783;
  --gold-deep: #e2c36a;
  --paper: #f2f4f8;
  --card: #ffffff;
  --muted: #d5e0ee;
  --line: #e4e9f0;
  color-scheme: dark;
  font-family: "Barlow", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body { margin: 0; background: var(--ink); color: #f7f8fb; font-size: 1.125rem; }
main { display: block; width: 100%; }
svg.icon, .moose-svg { display: block; flex: none; width: 1.25em; height: 1.25em; max-width: none; overflow: visible; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .brand-moose, .brand-lodge { font-family: Oswald, "Arial Narrow", Impact, sans-serif; letter-spacing: .03em; text-transform: uppercase; line-height: .95; font-weight: 700; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--ink); padding: .5rem .8rem; z-index: 40; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.site-header { background: linear-gradient(#0c1c36, #081426 70%); border-bottom: 1px solid rgba(255,255,255,.04); }
.header-inner { width: calc(100% - 64px); margin: 0 auto; min-height: 92px; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: white; min-width: 0; }
.brand-emblem { width: 74px; height: 74px; object-fit: contain; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-moose { font-size: 2.15rem; color: white; }
.brand-lodge { font-size: 1.45rem; color: var(--red); letter-spacing: .08em; }
.brand-city { font-family: Barlow, sans-serif; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: #d7e3f3; margin-top: .15rem; }
.header-meta { margin-left: auto; display: flex; align-items: center; gap: 1rem; color: #e7eef8; font-size: 1.05rem; font-weight: 600; }
.header-meta .meta, .header-meta .fb { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none; }
.header-meta svg.icon { width: 20px; height: 20px; fill: currentColor; }
.pillar-icon svg.icon { width: 30px; height: 30px; fill: currentColor; }
.quick-tiles svg.icon { width: 28px; height: 28px; fill: var(--gold); }
.fb { width: 32px; height: 32px; border-radius: 50%; background: #1877f2; color: white; display: grid; place-items: center; font-weight: 800; text-decoration: none; overflow: hidden; flex: none; }
.fb svg.icon { width: 18px; height: 18px; display: block; margin: 0; }
.member-login { background: var(--red); color: white; text-decoration: none; border-radius: 8px; padding: .72rem 1rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.person { width: 16px; height: 16px; border: 2px solid white; border-radius: 50% 50% 40% 40%; position: relative; }
.person::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -7px; height: 6px; border: 2px solid white; border-bottom: 0; border-radius: 8px 8px 0 0; }
.nav-toggle { display: none; width: 46px; height: 42px; border: 0; background: transparent; margin-left: auto; color: white; }
.nav-toggle svg.icon { width: 34px; height: 34px; }
.main-nav { display: flex; justify-content: center; background: #071a36; }
.main-nav a, .nav-drawer a { color: white; text-decoration: none; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a { padding: .95rem 1.25rem; font-size: 1.05rem; }
.main-nav a[aria-current="page"] { background: var(--red); }
.nav-drawer { position: fixed; z-index: 30; inset: 0 0 0 22%; background: #07182d; padding: 1rem 1.1rem 2rem; display: flex; flex-direction: column; gap: .15rem; }
.nav-drawer a { padding: .9rem .15rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-drawer a[aria-current="page"] { color: #ff4d5a; }
.drawer-close { align-self: flex-end; background: transparent; color: white; border: 0; font-size: 2rem; line-height: 1; }
.drawer-login { justify-content: center; margin-top: .8rem; }

.hero {
  position: relative;
  width: 100%;
  min-height: 0;
  display: grid;
  align-items: center;
  padding: 1.15rem 32px 2.6rem;
  background-color: #071018;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 82%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6,21,43,.92) 0%, rgba(6,21,43,.78) 20%, rgba(6,21,43,.40) 42%, rgba(6,21,43,0) 60%);
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.script { margin: 0 0 .2rem; font-family: "Great Vibes", cursive; font-size: clamp(2.3rem, 3.6vw, 3.3rem); line-height: 1.02; color: #f6e2a8; text-transform: none; letter-spacing: 0; font-weight: 400; }
.welcome-line { display: flex; align-items: center; gap: .7rem; margin: .15rem 0; color: white; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 1.15rem; }
.welcome-line::before, .welcome-line::after { content: ""; width: 46px; height: 3px; background: var(--red); }
.hero h1 { margin: .1rem 0; font-size: clamp(3.2rem, 5.4vw, 5.4rem); color: #f3d48a; text-shadow: 0 2px 0 rgba(0,0,0,.25); white-space: nowrap; }
.hero-city { margin: .2rem 0 .35rem; letter-spacing: .24em; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; }
.hero-values { margin: 0; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; font-size: 1.12rem; }
.hero-values span { color: var(--red); margin: 0 .2rem; }

.pillars, .section-head, .event-grid, .feature-grid, .quick-tiles { width: calc(100% - 64px); margin-left: auto; margin-right: auto; }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: .85rem; position: relative; z-index: 2; }
.pillars article { background: #0c2346; border-radius: 14px; text-align: center; padding: 1rem .55rem 1.05rem; box-shadow: 0 12px 28px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.05); }
.pillar-icon { width: 54px; height: 54px; margin: 0 auto .55rem; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(#f8e7b5, #e4c56e); color: #1c2433; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillars h2 { margin: 0 0 .25rem; font-size: 1.28rem; }
.pillars p { margin: 0; color: #d5e1f0; font-size: 1.05rem; }

.events-band { background: var(--paper); color: #122033; margin-top: 1.3rem; padding: 1.3rem 0 1.6rem; }
.events-band.plain { margin-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.section-head h2 { margin: 0; color: #10284d; font-size: 2.15rem; }
.red-btn, .view-btn { background: var(--red); color: white !important; text-decoration: none; border: 0; border-radius: 8px; padding: .7rem 1rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; cursor: pointer; }
.red-btn svg.icon, .view-btn svg.icon, .around-go svg.icon, .feature-copy svg.icon { width: 1.15em; height: 1.15em; }
.event-grid, .feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.event-grid.cols-1 { grid-template-columns: minmax(260px, 420px); }
.event-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.event-card { background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(16,32,64,.12); display: flex; flex-direction: column; }
.event-card img { width: 100%; height: 148px; object-fit: cover; display: block; }
.event-body { display: grid; grid-template-columns: 58px 1fr; gap: .65rem; padding: .75rem .75rem .2rem; align-items: start; }
.event-body h3 { margin: 0 0 .2rem; color: #14284a; font-size: 1.4rem; }
.event-body p { margin: 0; color: #31445f; font-weight: 600; font-size: 1.08rem; }
.date-badge, .date-badge span, .date-badge strong { color: #fff; }
.date-badge { margin: 0; background: var(--red); border-radius: 8px; text-align: center; padding: .35rem .2rem .4rem; line-height: 1.05; font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.date-badge span, .date-badge strong { display: block; }
.date-badge strong { font-size: 1.2rem; font-family: Oswald, sans-serif; }
.view-btn { margin: .55rem .75rem .8rem; text-align: center; }
.empty-events { grid-column: 1 / -1; }

.feature-grid { margin: 1.1rem auto 1.2rem; }
.feature-shot { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.25); background: #0d2548; color: white; text-decoration: none; }
.feature-shot img { width: 100%; height: 210px; object-fit: cover; object-position: center 42%; display: block; }
.feature-copy { display: flex; justify-content: space-between; align-items: center; gap: .45rem; padding: .75rem .8rem; }
.feature-copy strong { font-family: Oswald, sans-serif; letter-spacing: .02em; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; }
.feature-copy span { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold); font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.quick-tiles { display: none; }

.around { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: calc(100% - 64px); min-height: 118px; margin: .2rem auto 1rem; padding: 1.15rem 1.3rem; border-radius: 12px; overflow: hidden; text-decoration: none; color: #14315c; background: #fff; border: 1px solid #d5e0ee; font-size: 1.15rem; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.around-logo { height: 62px; width: auto; max-width: min(320px, 46%); object-fit: contain; flex: none; display: block; }
.around-copy { flex: 1; color: #24364f; font-weight: 600; }
.around-go { display: inline-flex; align-items: center; gap: .4rem; background: #1565e8; color: #fff; border-radius: 999px; padding: .55rem .9rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }

.site-footer { display: grid; grid-template-columns: 1.2fr .7fr 1.15fr .95fr; gap: 1.4rem; width: 100%; margin: 0; padding: 1.6rem 32px 1.1rem; background: #000; box-sizing: border-box; }
.site-footer h2 { font-size: 1.25rem; margin: 0 0 .6rem; display: flex; align-items: center; gap: .45rem; }
.site-footer h2 svg.icon, .prose svg.icon { width: 1.15em; height: 1.15em; }
.site-footer a { color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .2rem 0; font-size: 1.08rem; }
.hours { display: grid; gap: .22rem; font-size: 1.08rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; }
.credit { background: transparent; border-radius: 0; padding: 0; }
.credit img { width: min(100%, 250px); display: block; background: transparent; }
.credit-kicker { margin: 0 0 .45rem; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #d5e0ee; }
.legal { text-align: center; color: #c5d3e6; font-size: 1rem; margin: 0; padding: 0 32px 1.5rem; background: #000; }
.legal a { color: var(--gold); }

.page-banner { padding: 2.4rem 6vw 1.4rem; background:
  linear-gradient(90deg, rgba(5,12,24,.88), rgba(5,12,24,.5)),
  url("../img/hero-desktop.jpg") center 82% / cover no-repeat;
}
.page-banner p { margin: 0 0 .3rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.page-banner h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.sheet { background: var(--paper); color: #122033; padding: 1.4rem 0 2rem; }
.page-split, .detail, .split, .gallery, .gallery-note { width: calc(100% - 64px); margin-left: auto; margin-right: auto; }
.page-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.5rem; align-items: center; }
.page-split img, .detail-flyer { width: 100%; height: auto; border-radius: 14px; display: block; }
.sheet .page-split .prose, .sheet .detail .prose, .sheet .split .prose { width: auto; margin: 0; }
.sheet .prose { color: #24364f; }
.prose h2, .sheet h2 { margin: 0 0 .6rem; color: #10284d; font-size: 1.8rem; }
.prose p, .detail p, .sheet p { color: #24364f; line-height: 1.55; }
.prose a, .sheet a { color: #0d3f86; }
.values { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1rem; padding: 0; list-style: none; }
.values li { background: #10284d; color: white; border-radius: 999px; padding: .35rem .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.4rem; align-items: start; }
.detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.4rem; align-items: start; }
.when { font-weight: 800; color: #10284d; }
.action-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.line-btn { display: inline-flex; align-items: center; min-height: 44px; padding: .7rem 1rem; border-radius: 8px; border: 2px solid #10284d; color: #10284d; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.inline-art { width: 100%; border-radius: 12px; display: block; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(16,32,64,.12); }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gallery img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery figcaption, .gallery-note { padding: .7rem .8rem .85rem; color: #24364f; }
.gallery-note { margin-top: .8rem; }
.lightbox { width: min(960px, calc(100% - 2rem)); border: 0; border-radius: 16px; padding: 2.4rem 3rem 1rem; background: #071426; color: white; }
.lightbox::backdrop { background: rgba(4, 10, 20, .72); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; }
.lightbox figcaption { color: #e7eef8; padding: .6rem 0 .2rem; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox-close { top: .6rem; right: .6rem; }
.lightbox-nav.prev { left: .5rem; top: 45%; }
.lightbox-nav.next { right: .5rem; top: 45%; }
.stack-form, .auth-card { display: grid; gap: .45rem; }
.stack-form label, .search-form label { font-weight: 800; color: #10284d; }
.stack-form input, .stack-form textarea, .stack-form select, .auth-card input, .search-form input { width: 100%; padding: .75rem .85rem; border-radius: 8px; border: 1px solid #c5d0de; color: #122033; background: white; font: inherit; min-height: 48px; }
.stack-form input:focus, .stack-form textarea:focus, .search-form input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.callout.error { background: #f8d6d6; color: #6d1212; }
.sheet .callout { background: #e7eef8; color: #10284d; }
.sheet .callout.error { background: #f8d6d6; color: #6d1212; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.search-form { display: flex; gap: .7rem; align-items: end; width: calc(100% - 64px); margin: 0 auto 1rem; }
.search-field { flex: 1; display: grid; gap: .35rem; }
.search-form .red-btn { min-height: 48px; }
.auth-wrap { min-height: 60vh; display: grid; place-items: center; padding: 2rem 1rem; }
.auth-card { width: min(440px, 100%); background: #0c2346; padding: 1.4rem; border-radius: 16px; }
.auth-card h1 { margin: 0 0 .4rem; }
.callout { background: #12345c; padding: .7rem .9rem; border-radius: 10px; }
.fine { color: var(--muted); font-size: .92rem; }

body.admin { background: #e7edf4; color: #142033; color-scheme: light; font-size: 1rem; }
body.admin h1, body.admin h2, body.admin h3 { text-transform: none; letter-spacing: 0; }
.lodge-notices { background: #10284d; color: #f7f4ea; padding: .75rem 32px; display: grid; gap: .35rem; }
.lodge-notices p { margin: 0; line-height: 1.4; }
.lodge-notices strong { color: #f5d783; margin-right: .35rem; }
.admin-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.admin-side { background: #071a33; color: white; padding: 1rem .75rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.admin-side-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.admin-brand { display: flex; gap: .55rem; align-items: center; color: white; text-decoration: none; }
.admin-emblem { width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.admin-brand strong { display: block; font-family: Oswald, sans-serif; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }
.admin-brand small { color: #f0d078; }
.admin-menu { display: none; }
.nav-label { margin: .7rem .7rem .15rem; color: #8ea0b8; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.admin-side nav { display: flex; flex-direction: column; }
.admin-side nav a { color: #e7eef8; text-decoration: none; padding: .62rem .75rem; border-radius: 8px; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.admin-side nav a[aria-current="page"] { background: var(--red); color: white; }
.nav-badge { margin-left: auto; background: #f0d078; color: #1c2433; border-radius: 999px; min-width: 1.3rem; padding: 0 .4rem; font-size: .75rem; text-align: center; }
.nav-site { margin-top: .35rem; }
.admin-side form { margin-top: auto; }
.admin-side button, .admin-menu { background: transparent; color: white; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: .55rem .7rem; font: inherit; font-weight: 700; cursor: pointer; }
.admin-main { padding: 1.3rem 1.5rem 2.6rem; max-width: 1120px; }
.admin-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.admin-top h1 { margin: 0; font-size: 1.9rem; }
.lead, .hint { color: #4c6078; }
.lead { margin: 0 0 .9rem; }
.hint { margin: .35rem 0 0; font-size: .92rem; }
.next-up { margin: 0 0 .85rem; background: white; border-radius: 12px; padding: .7rem .9rem; font-weight: 700; }
.next-up a { color: #0d3f86; }
.next-up span { color: #4c6078; font-weight: 600; margin-left: .35rem; }
.eyebrow { margin: 0; color: #5d6d84; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.who { background: white; border-radius: 12px; padding: .55rem .8rem; display: grid; }
.who span { color: #5d6d84; font-size: .88rem; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
.metric { background: white; border-radius: 14px; padding: 1rem; box-shadow: 0 8px 18px rgba(16,32,64,.06); }
.metric p { margin: 0; color: #5c6d86; font-weight: 700; }
.metric strong { display: block; font-size: 2rem; font-family: Oswald, sans-serif; margin-top: .2rem; text-transform: none; }
.metric small { display: block; color: #607089; margin-top: .25rem; font-size: .88rem; }
.chart { display: flex; align-items: flex-end; gap: .35rem; height: 150px; margin-top: .6rem; }
.chart-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3rem; }
.chart-bar { width: 100%; max-width: 26px; border-radius: 6px 6px 2px 2px; background: linear-gradient(#2a6cb8, #0d2548); }
.chart-col small { color: #607089; font-size: .72rem; }
.top-pages, .attention { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.top-pages li, .attention a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.attention a { background: #f4f7fb; color: #142033; text-decoration: none; border-radius: 10px; padding: .7rem .8rem; font-weight: 800; }
.attention-panel { margin-top: .9rem; }
.inbox { display: grid; gap: .55rem; }
.inbox-item { display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; background: white; border: 1px solid #e1e8f0; border-radius: 12px; padding: .85rem 1rem; text-decoration: none; color: #142033; }
.inbox-item.is-unread { border-color: #c5d6ee; box-shadow: inset 4px 0 #e50908; }
.inbox-item em { color: #e50908; font-style: normal; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.inbox-item small, .inbox-item span { color: #5c6d86; }
.inbox-item p { grid-column: 1 / -1; margin: .25rem 0 0; color: #31445f; }
.message-read a { color: #0d3f86; }
.editor-list, .photo-admin, .staff-list { display: grid; gap: .75rem; margin-top: .9rem; }
.editor-card { display: grid; gap: .7rem; }
.editor-preview { background: #f7f9fc; border-radius: 10px; padding: .75rem .85rem; }
.editor-preview p { margin: .25rem 0; }
.photo-row { display: grid; grid-template-columns: 148px 1fr; gap: .85rem; background: white; border-radius: 14px; padding: .75rem; align-items: start; }
.photo-row img { width: 148px; height: 108px; object-fit: cover; border-radius: 8px; background: #d7e0ea; }
.hours-preview { color: #24364f; }
.metric-cal { box-shadow: inset 4px 0 #3d7eff; }
.metric-people { box-shadow: inset 4px 0 #39b6d6; }
.metric-megaphone { box-shadow: inset 4px 0 #f0b429; }
.metric-camera { box-shadow: inset 4px 0 #ef6a4a; }
.metric-hidden { box-shadow: inset 4px 0 #d4526a; }
.admin-columns { display: grid; grid-template-columns: 1.2fr .8fr; gap: .9rem; }
.panel, .panel-form { background: white; border-radius: 14px; padding: 1rem; box-shadow: 0 8px 18px rgba(16,32,64,.05); }
.panel h2 { margin: 0 0 .7rem; font-size: 1.1rem; }
.activity { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.activity li { display: grid; grid-template-columns: 12px 1fr; gap: .6rem; align-items: start; }
.activity span { width: 12px; height: 12px; border-radius: 50%; background: #3d7eff; margin-top: .3rem; }
.activity strong, .activity small { display: block; }
.activity small { color: #607089; }
.quick { display: grid; gap: .55rem; }
.qa { background: #f4f7fb; color: #142033; text-decoration: none; border-radius: 10px; padding: .75rem .8rem; font-weight: 800; }
.qa-red { background: var(--red); color: white; }
.table-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tabs a { text-decoration: none; background: white; color: #142033; border-radius: 999px; padding: .45rem .75rem; font-weight: 800; }
.tabs a[aria-current="page"] { background: #10284d; color: white; }
.table-wrap { overflow-x: auto; background: white; border-radius: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .75rem .8rem; border-bottom: 1px solid var(--line); }
th { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: #5d6d84; }
.pill { display: inline-block; border-radius: 999px; padding: .2rem .55rem; color: white; font-size: .78rem; font-weight: 800; }
.pill-published { background: #1f9d55; }
.pill-draft { background: #e0a325; color: #1d2430; }
.pill-hidden { background: #8b93a7; }
.pill-cancelled, .pill-deleted { background: #d23b3b; }
.row-actions, .staff-row { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.staff-row { background: white; border-radius: 12px; padding: .7rem; margin-top: .6rem; }
.btn { border: 0; border-radius: 8px; color: white; font-weight: 800; padding: .4rem .65rem; text-decoration: none; cursor: pointer; font: inherit; }
.btn-blue { background: #2f6fed; }
.btn-red { background: #e10600; }
.btn-green { background: #1f9d55; }
.btn-gray { background: #6d7788; }
.danger-zone { margin-top: 1rem; }
.flyer-preview { width: 180px; border-radius: 8px; }
body.admin .callout { background: #e5f6ea; color: #14532d; }
body.admin .callout.error { background: #fde8ea; color: #7f1d1d; }
body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
  .header-meta { display: none; }
  .site-footer, .split, .detail, .page-split, .admin-columns, .metrics { grid-template-columns: 1fr 1fr; }
  .event-grid, .event-grid.cols-2, .event-grid.cols-3, .event-grid.cols-4, .feature-grid { grid-template-columns: 1fr 1fr; }
  .event-grid.cols-1 { grid-template-columns: minmax(260px, 420px); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: sticky; top: 0; z-index: 5; }
  .admin-menu { display: inline-flex; }
  .admin-side nav, .admin-side form { display: none; }
  .admin-shell.nav-open .admin-side nav, .admin-shell.nav-open .admin-side form { display: flex; }
}

@media (max-width: 760px) {
  .member-login:not(.drawer-login), .main-nav { display: none; }
  .drawer-login { display: inline-flex; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 74px; }
  .header-inner, .pillars, .section-head, .event-grid, .feature-grid, .quick-tiles, .around, .page-split, .detail, .split, .gallery, .gallery-note, .search-form { width: calc(100% - 50px); }
  .hero, .site-footer, .legal { padding-left: 25px; padding-right: 25px; }
  .brand-emblem { width: 58px; height: 58px; }
  .brand-moose { font-size: 1.7rem; }
  .brand-lodge { font-size: 1.15rem; }
  .around-logo { height: 48px; max-width: 70%; }
  .lodge-notices { padding-left: 25px; padding-right: 25px; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img { width: 100%; height: 160px; }
  .hero { min-height: 0; padding-top: 1.1rem; padding-bottom: 3.6rem; }
  .hero-photo { object-position: center 78%; }
  .hero h1 { white-space: normal; font-size: 2.9rem; }
  .welcome-line::before, .welcome-line::after { width: 22px; }
  .pillars { display: flex; overflow-x: auto; gap: .6rem; margin-top: .7rem; padding-bottom: .4rem; }
  .pillars article { min-width: 148px; }
  .event-grid, .event-grid.cols-1, .event-grid.cols-2, .event-grid.cols-3, .event-grid.cols-4 { grid-template-columns: 1fr; }
  .event-card img, .event-card .view-btn { display: none; }
  .event-card { border-radius: 12px; }
  .feature-grid { display: none; }
  .quick-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1rem auto; }
  .quick-tiles a { background: #10284d; color: white; text-decoration: none; border-radius: 14px; min-height: 92px; display: grid; place-items: center; gap: .25rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .quick-tiles svg { width: 26px; height: 26px; fill: var(--gold); }
  .around { flex-direction: column; align-items: flex-start; }
  .around-go { align-self: stretch; justify-content: center; }
  .site-footer, .split, .detail, .page-split, .metrics, .admin-columns { grid-template-columns: 1fr; }
  .section-head { align-items: stretch; flex-direction: column; }
  .search-form { flex-direction: column; align-items: stretch; }
}
