:root {
  --navy: #1F2A44; --navy-2: #2c3a5c; --navy-3: #3a4a72; --gold: #C9A227; --gold-2: #e0bd4f; --gold-ink: #6e5409;
  --ink: #1b1f29; --muted: #545c70; --bg: #faf7f0; --card: #fff; --line: #e8e1d2; --terra: #b5532c; --terra-ink: #7a2e12;
  --head: "Rockwell", "Roboto Slab", "Zilla Slab", "Bitter", ui-serif, Georgia, "DejaVu Serif", serif;
  --radius: 14px; --shadow: 0 1px 2px rgba(31,42,68,.06), 0 6px 18px rgba(31,42,68,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--terra-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
h1, h2, h3, .h3 { font-family: var(--head); color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: 2rem; line-height: 1.15; margin: .4rem 0 .75rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
h3, .h3 { font-size: 1.15rem; margin: .2rem 0 .4rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); font-style: italic; }
.list { padding-left: 1.2rem; } .list li { margin: .25rem 0; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

/* Header */
.site-header { background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); position: relative; z-index: 2; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .6rem; padding-bottom: .6rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.4rem; }
.wordmark:hover { color: #fff; }
.wordmark picture { display: block; line-height: 0; }
.wm-logo { height: 48px; width: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.wm-accent { color: var(--gold-2); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .2rem; }
.nav a { color: #e8ebf2; text-decoration: none; font-size: .95rem; padding: .35rem .55rem; border-radius: 999px; display: inline-block; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: var(--gold); color: var(--navy); font-weight: 600; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, #1F2A44 0%, #33325e 38%, #7d3f63 62%, #c9604f 80%, #eda04b 100%); padding: 3rem 0 7rem; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: 2.2rem; max-width: 18ch; text-shadow: 0 2px 12px rgba(20,20,40,.35); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--gold-2); border-radius: 999px; padding: .2rem .7rem; margin: 0; }
.hero-lead { font-size: 1.15rem; max-width: 34rem; color: #fbf3e4; text-shadow: 0 1px 8px rgba(20,20,40,.4); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.hero-logo { display: block; width: 132px; margin: 0 0 1rem; line-height: 0; }
.hero-logo img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(10,12,30,.45); }
.ridge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 120px; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .45rem; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: .6rem 1.15rem; text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-warm { background: var(--terra-ink); color: #fff; }
.btn-warm:hover { background: #5f220c; color: #fff; }

/* Sections, cards */
.section { margin-top: 1.5rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1rem; }
.section-head h2 { margin-bottom: .3rem; }
.lodge-grid, .cards { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.lodge-card, .card, .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.lodge-card { position: relative; border-top: 4px solid var(--gold); }
.lodge-card h3 { margin: .5rem 0 .4rem; }
.lodge-card h3 a { text-decoration: none; }
.lodge-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.lodge-card p { margin: .25rem 0; display: flex; gap: .5rem; align-items: flex-start; color: var(--muted); }
.lodge-card .lc-when { color: var(--ink); font-weight: 600; }
.lodge-card .ico { color: var(--gold-ink); margin-top: .2em; }
.lc-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.badge { display: inline-block; font-family: var(--head); font-weight: 800; font-size: .85rem; color: var(--navy); background: linear-gradient(180deg, #f3dc8e, var(--gold)); border-radius: 999px; padding: .15rem .65rem; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.countdown { display: inline-block; font-size: .8rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: .15rem .6rem; }
.panel { margin: 1rem 0; }
.panel h2 { margin-top: 0; }
.panel-soft { background: #fffdf7; }
.grid2 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #eef0f5; color: var(--navy); border-radius: 999px; padding: .15rem .6rem; }
.notice { background: #fbf1cf; border-left: 4px solid var(--gold); padding: .6rem .8rem; border-radius: 6px; color: #3d3210; }
.crumbs { font-size: .9rem; margin: 0; }
.crumbs a::before { content: "← "; }
.lodge-head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; }
.lodge-head h1 { margin: .3rem 0; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }

/* Officers + contact */
.officers { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .5rem; grid-template-columns: 1fr; }
.officers li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: .55rem .8rem; display: flex; flex-direction: column; }
.o-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-ink); }
.o-name { font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .5rem; }
.contact-list li { display: flex; gap: .7rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.contact-list .ico { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 999px; background: var(--navy); color: var(--gold-2); box-sizing: content-box; }
.contact-list li > span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.cl { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Join CTA + empty states */
.join-cta { display: flex; gap: 1rem; align-items: center; margin: 2rem 0; padding: 1.25rem; border-radius: var(--radius); background: linear-gradient(135deg, #fff4dc 0%, #fde2c4 55%, #f7c9a6 100%); border: 1px solid #efc89b; box-shadow: var(--shadow); }
.join-cta h2 { margin: 0 0 .3rem; color: var(--terra-ink); }
.join-cta p { margin: .3rem 0; color: #4a2a17; }
.join-cta .small { color: #6b4026; }
.join-emblem { flex: none; width: 72px; height: 72px; border-radius: 999px; background: var(--navy); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--gold); }
.join-emblem { overflow: hidden; }
.join-emblem img { width: 72px; height: 72px; display: block; }
.empty { display: flex; gap: .9rem; align-items: center; background: var(--card); border: 2px dashed #e3d3a3; border-radius: var(--radius); padding: 1rem 1.1rem; margin: .8rem 0; }
.empty p { margin: .1rem 0; color: var(--muted); }
.empty .empty-title { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.empty-ico { flex: none; width: 3rem; height: 3rem; border-radius: 999px; display: grid; place-items: center; background: #fbf1cf; color: var(--gold-ink); }
.empty-ico .ico { width: 1.5rem; height: 1.5rem; }

/* Forms, misc */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; }
.facts dt { font-weight: 700; color: var(--navy); } .facts dd { margin: 0; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0; }
select, input, textarea { font: inherit; padding: .5rem; border: 1px solid #b9b5a8; border-radius: 8px; background: #fff; min-height: 44px; width: 100%; max-width: 28rem; }
.filter select { width: auto; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: grid; gap: .35rem; opacity: .6; }
.form label { font-weight: 600; margin-top: .4rem; }
.form button { margin-top: .75rem; justify-self: start; }
.placeholder { border: 2px dashed var(--gold); border-radius: var(--radius); min-height: 12rem; display: grid; place-items: center; color: var(--muted); background: #fff; margin: 1rem 0; }
.logo-options { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1rem 0; }
.logo-opt { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-align: center; }
.logo-art svg { max-width: 100%; height: auto; }
.logo-dark .logo-opt { background: var(--navy); color: #fff; }

/* Footer */
.site-footer { background: var(--navy); color: #d7dbe6; font-size: .9rem; padding: 1.5rem 0; border-top: 3px solid var(--gold); margin-top: 2rem; }
.site-footer a { color: #fff; }
.site-footer .credit { font-size: .8rem; margin-top: .75rem; }
.site-footer .credit a { color: #c9cfdc; font-weight: 400; }
.disclaimer { font-style: italic; }
.credit-link { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; opacity: .8; }
.credit-link:hover, .credit-link:focus-visible { opacity: 1; }
.credit-logo { background: rgba(255,255,255,.88); border-radius: 3px; padding: 2px 5px; height: 22px; width: auto; box-sizing: content-box; }

/* Motion (only when the visitor allows it) */
@media (prefers-reduced-motion: no-preference) {
  .lodge-card, .card, .officers li, .contact-list li, .join-cta, .empty { animation: rise .5s ease-out both; }
  .lodge-grid > :nth-child(2) { animation-delay: .05s; } .lodge-grid > :nth-child(3) { animation-delay: .1s; }
  .lodge-grid > :nth-child(4) { animation-delay: .15s; } .lodge-grid > :nth-child(5) { animation-delay: .2s; } .lodge-grid > :nth-child(6) { animation-delay: .25s; }
  .lodge-card, .btn, .contact-list li { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
  .lodge-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(31,42,68,.16); }
  .btn:hover { transform: translateY(-1px); }
  .contact-list li:hover { transform: translateX(2px); }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 40rem) {
  .lodge-grid, .cards { grid-template-columns: repeat(2, 1fr); } .grid2 { grid-template-columns: 1fr 1fr; }
  .officers { grid-template-columns: repeat(2, 1fr); } .logo-options { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.3rem; } .hero h1 { font-size: 3rem; } .hero { padding: 4.5rem 0 9rem; } .ridge { height: 170px; }
  .hero-inner { display: grid; grid-template-columns: 1fr auto; column-gap: 2.5rem; align-items: center; }
  .hero-inner > :not(.hero-logo) { grid-column: 1; justify-self: start; }
  .hero-logo { grid-column: 2; grid-row: 1 / span 4; width: 220px; margin: 0; }
}
@media (min-width: 60rem) { .hero-logo { width: 300px; } .lodge-grid, .cards { grid-template-columns: repeat(3, 1fr); } .officers { grid-template-columns: repeat(3, 1fr); } }
