/* Enterprise Lodge No. 31 — one stylesheet.
   Tokens from the Industry design system, accent retuned to the navy of the
   lodge seal. Square corners everywhere; no shadows but the logo's. */

:root {
  --navy: #1f2a7f;
  --navy-deep: #121852;
  --navy-ink: #0b0f38;
  --navy-tint: #c9cdf0;
  --navy-fill: #e3e5f2;
  --paper: #f2f2f3;
  --ink: #1d1f20;
  --surface: #e9e9ea;
  --divider: color-mix(in srgb, #1d1f20 16%, transparent);
  --ink-80: color-mix(in srgb, #1d1f20 80%, transparent);
  --ink-78: color-mix(in srgb, #1d1f20 78%, transparent);
  --ink-65: color-mix(in srgb, #1d1f20 65%, transparent);
  --ink-60: color-mix(in srgb, #1d1f20 60%, transparent);
  --ink-55: color-mix(in srgb, #1d1f20 55%, transparent);
  --paper-line: rgba(242, 242, 243, 0.25);
  --font-heading: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 140px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6; font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: #5a66c9; }
.on-dark a:hover { color: var(--navy-tint); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; }
p { margin: 0; }
ul.plain-list { margin: 0; padding: 0; list-style: none; }
ul.plain-list li { padding: 8px 0; border-top: 1px solid var(--divider); font-size: 15px; }
button { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--paper); }
::selection { background: color-mix(in srgb, var(--navy) 30%, transparent); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; }

/* ----------------------------------------------------------- layout */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-sm { padding-top: clamp(56px, 7vw, 100px); }
.section--nt { padding-top: 0; }
.section--nb { padding-bottom: 0; }
.g { display: grid; gap: 48px clamp(32px, 5vw, 96px); align-items: start; }
.g-gap-sm { gap: 56px clamp(24px, 3vw, 56px); }
.g-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.g-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.g-4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.g-center { align-items: center; }
.cards { display: grid; gap: clamp(24px, 3vw, 48px); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sticky { position: sticky; top: 32px; }
.between { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.items-end { align-items: flex-end; }
.self-start { align-self: flex-start; }
.span-all { grid-column: 1 / -1; }
.grow { flex: 1 1 160px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--ink-65); }
.b { font-weight: 600; }
.pl-0 { padding-left: 0 !important; }
.pb-8 { padding-bottom: 8px; }
.mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; } .mt-36 { margin-top: 36px; } .mt-56 { margin-top: 56px; }
.maxw-40 { max-width: 40ch; } .maxw-42 { max-width: 42ch; } .maxw-44 { max-width: 44ch; } .maxw-46 { max-width: 46ch; }
.maxw-52 { max-width: 52ch; } .maxw-64 { max-width: 64ch; } .maxw-520 { max-width: 520px; } .maxw-560 { max-width: 560px; } .maxw-720 { max-width: 720px; }
.minw-90 { min-width: 90px; } .w-90 { width: 90px; } .w-130 { width: 130px; } .w-140 { width: 140px; } .w-280 { width: 280px; max-width: 100%; }
.fs-13 { font-size: 13px; } .fs-14 { font-size: 14px; } .fs-16 { font-size: 16px; } .fs-19 { font-size: 19px; }

/* ------------------------------------------------------------- type */
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--navy); }
.kicker--light { color: var(--navy-tint); }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-80); max-width: 56ch; }
.lead--lg { font-size: 20px; }
.lead--18 { font-size: 18px; }
.lead--light { color: inherit; opacity: 0.88; }
.small { font-size: 15px; line-height: 1.55; color: var(--ink-78); }
.fine { font-size: 13px; color: var(--ink-65); }
.h2 { font-size: clamp(44px, 5vw, 80px); line-height: 0.92; color: var(--navy-ink); }
.on-dark .h2 { color: inherit; }
.h2--band { font-size: clamp(48px, 6vw, 96px); line-height: 0.9; }
.h3 { font-weight: 600; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; letter-spacing: 0.02em; }
.link-caps { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; display: inline-block; }

/* ------------------------------------------------------------- rail */
.rail {
  background: var(--navy-ink); color: var(--paper); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(242, 242, 243, 0.12);
}
.rail .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* -------------------------------------------------------------- nav */
.nav {
  position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 22px var(--gutter); display: flex; align-items: center; gap: clamp(12px, 1.8vw, 30px);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--paper);
}
.nav-logo { margin-right: auto; flex: none; display: block; }
.nav-logo img { height: 88px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35)); }
.nav-links { display: contents; }
.nav-links a { text-decoration: none; padding: 6px 0; white-space: nowrap; border-bottom: 2px solid transparent; color: var(--paper); }
.nav-links a:hover { color: var(--navy-tint); }
.nav-links a.active { border-bottom-color: var(--paper); }
.nav .btn { letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; }
.nav-toggle {
  display: none; background: transparent; color: var(--paper); border: 1px solid rgba(242, 242, 243, 0.5);
  padding: 9px 14px; cursor: pointer; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; font-size: 13px;
}
@media (max-width: 1180px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; order: 2; }
  .nav-auth { order: 3; }
  .nav-links {
    display: none; order: 4; flex-basis: 100%; flex-direction: column; margin-top: 16px;
    border-top: 1px solid rgba(242, 242, 243, 0.14);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(242, 242, 243, 0.12); font-size: 15px; }
  .nav-links a.active { border-bottom-color: var(--paper); }
  .hero .nav.open { background: var(--navy-ink); }
}
@media (max-width: 560px) {
  .rail { font-size: 10px; letter-spacing: 0.1em; }
  .rail .wrap { gap: 4px 16px; padding-top: 8px; padding-bottom: 8px; }
  .nav { gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .nav-logo img { height: 64px; }
  .nav .btn, .nav-toggle { padding: 8px 10px; font-size: 11px; }
}

/* ------------------------------------------------------------- hero */
.hero { position: relative; background: var(--navy-ink); color: var(--paper); display: flex; flex-direction: column; overflow: hidden; }
.hero .hero-media { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: var(--hero-ar, 2048 / 993); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; opacity: 0.62; }
.hero-shade {
  position: absolute; top: 0; left: 0; right: 0; aspect-ratio: var(--hero-ar, 2048 / 993);
  background: linear-gradient(to bottom, rgba(11, 15, 56, 0.75) 0%, rgba(11, 15, 56, 0.15) 16%, rgba(11, 15, 56, 0.1) 60%, rgba(11, 15, 56, 0.7) 86%, var(--navy-ink) 100%);
}
.hero-spacer { position: relative; width: 100%; aspect-ratio: var(--hero-ar, 2048 / 993); margin-bottom: calc(-1 * clamp(40px, 8vw, 130px)); pointer-events: none; }
.hero .nav { position: absolute; top: 0; left: 0; right: 0; }
/* Mosaic pavement: a checkerboard laid flat in perspective, fading to the horizon */
.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(120px, 17vw, 310px);
  perspective: 760px; perspective-origin: 50% 0%; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.55) 45%, #000 80%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.55) 45%, #000 80%, #000 100%);
}
.hero-floor::before {
  content: ""; position: absolute; left: -100%; width: 300%; bottom: 0; height: 600%;
  transform-origin: 50% 100%; transform: rotateX(76deg);
  background: repeating-conic-gradient(rgba(242, 242, 243, 0.42) 0 25%, transparent 0 50%) 0 0 / clamp(96px, 12vw, 220px) clamp(96px, 12vw, 220px);
}
.hero-text { position: relative; z-index: 1; max-width: var(--max); width: 100%; margin-inline: auto; padding: 0 var(--gutter) 40px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 8px; }
.hero-row p { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; max-width: 44ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero h1 { position: relative; font-size: clamp(88px, 17.5vw, 268px); line-height: 0.8; letter-spacing: -0.01em; margin: 24px 0 0 -0.04em; white-space: nowrap; text-shadow: 0 0.02em 0.05em rgba(4, 6, 28, 0.45); }
/* the word's shadow, flattened onto the pavement below it */
.hero h1::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; margin-top: 0.07em; z-index: -1;
  transform-origin: 50% 0; transform: scaleY(0.24); filter: blur(0.045em);
  color: rgba(4, 6, 28, 0.9); text-shadow: none; pointer-events: none;
}
.hero-sub {
  position: relative;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 40px); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 18px;
}
@media (max-width: 1180px) { .hero-spacer { margin-bottom: 0; } .hero-text { padding-top: 24px; } }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(48px, 20.5vw, 88px); margin-top: 16px; }
  .hero h1::after { filter: blur(0.08em); color: rgba(4, 6, 28, 0.7); }
  .hero-floor { height: 250px; }
  .hero-sub { font-size: 18px; }
}

/* ----------------------------------------------------- inner header */
.site-header { position: relative; background: var(--navy-ink); color: var(--paper); overflow: hidden; }
.watermark {
  position: absolute; right: -4%; bottom: -18%; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(260px, 38vw, 620px); line-height: 0.8; color: rgba(242, 242, 243, 0.045); pointer-events: none; user-select: none;
}
.page-title { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(48px, 6vw, 88px); }
.page-title h1 { font-size: clamp(60px, 9.5vw, 156px); line-height: 0.85; margin: 20px 0 0 -0.03em; max-width: 12ch; min-width: min-content; }
.page-title p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 54ch; margin-top: 28px; opacity: 0.88; }
@media (max-width: 640px) { .page-title h1 { font-size: clamp(44px, 14vw, 60px); } }

/* ------------------------------------------------------- battlement */
.battlement { background: var(--paper); display: grid; grid-template-columns: repeat(13, 1fr); border-bottom: 1px solid var(--navy); }
.battlement span { aspect-ratio: 1.4; display: grid; place-items: center; font-size: clamp(14px, 2vw, 30px); background: var(--paper); color: var(--navy); line-height: 1; }
.battlement span:nth-child(even) { background: var(--navy); color: var(--paper); }

/* ------------------------------------------------------------ flash */
.flash { font-size: 15px; font-weight: 600; }
.flash .wrap { padding-top: 12px; padding-bottom: 12px; }
.flash--ok { background: var(--navy-fill); color: var(--navy-deep); border-bottom: 1px solid var(--navy); }
.flash--warn { background: #f3e9e3; color: #6b2d19; border-bottom: 1px solid #a9634a; }

/* -------------------------------------------------------- blueprint */
.blueprint { position: relative; border: 1px solid var(--divider); border-radius: 0; }
.blueprint > .corner { position: absolute; width: 15px; height: 15px; color: var(--ink-55); pointer-events: none; }
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 7px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 7px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -8px; left: -8px; }
.blueprint > .corner.tr { top: -8px; right: -8px; }
.blueprint > .corner.bl { bottom: -8px; left: -8px; }
.blueprint > .corner.br { bottom: -8px; right: -8px; }
.on-dark .blueprint { border-color: var(--paper-line); }
.on-dark .blueprint > .corner { color: rgba(242, 242, 243, 0.7); }

.duotone { position: relative; overflow: hidden; }
.duotone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--navy); mix-blend-mode: color; }
.blueprint.duotone { overflow: visible; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; line-height: 1.2; letter-spacing: 0.02em;
  color: var(--ink); background: transparent; border: 1px solid var(--divider); padding: 9px 14px; border-radius: 0;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { color: var(--ink); }
.btn-primary { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-primary:hover { background: #18216a; color: var(--paper); }
.btn-primary:active { background: var(--navy-deep); }
.btn-secondary:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.btn-ghost { border-color: transparent; color: var(--navy); padding-inline: 4px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--navy) 10%, transparent); color: var(--navy); }
.btn-paper { background: var(--paper); color: var(--navy-deep); border-color: var(--paper); }
.btn-paper:hover { background: #ffffff; color: var(--navy-deep); }
.btn-outline-paper { color: var(--paper); border-color: rgba(242, 242, 243, 0.5); }
.btn-outline-paper:hover { background: rgba(242, 242, 243, 0.1); color: var(--paper); }
.btn.mini { font-size: 13px; padding: 5px 10px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ------------------------------------------------------------ forms */
.field > label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.on-dark .field > label { color: var(--navy-tint); }
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit; font-size: 14px; color: var(--ink);
  caret-color: var(--navy); background: var(--surface); border: 1px solid var(--divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.input:focus-visible { border-color: var(--navy); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
select.input { appearance: auto; }
.seg { display: inline-flex; overflow: hidden; border: 1px solid var(--divider); flex-wrap: wrap; }
.seg-opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; cursor: pointer; text-decoration: none; position: relative; }
.seg-opt + .seg-opt { border-left: 1px solid var(--divider); }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt:has(input:checked), .seg-opt.active { background: var(--navy); color: var(--paper); }
.seg-opt:not(:has(input:checked)):not(.active):hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: -2px; }
.form-card { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form-card--lg { padding: 40px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-2--end { align-items: end; }
.form-msg { font-weight: 600; color: var(--navy); }
.form-msg--light { color: var(--paper); }
.form-err { color: #8a2a2a; font-size: 14px; margin-top: 4px; }
.form-err--light { color: #f3c9c9; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 0 1 auto; }
.inline-form .field.grow { flex: 1 1 180px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.adform { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--navy); }
.field-btn { display: flex; align-items: flex-end; }
@media (max-width: 900px) { .adform { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .form-2, .adform { grid-template-columns: minmax(0, 1fr); } .form-card, .form-card--lg { padding: 24px; } }

/* ------------------------------------------------------------- tags */
.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; border: 1px solid var(--navy); color: var(--navy); white-space: nowrap; font-family: var(--font-body); font-weight: 400; text-transform: none; line-height: 1.4; vertical-align: middle; }
.on-dark .tag { border-color: var(--paper); color: var(--paper); }

/* ----------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-60); padding: 7px 8px; border-bottom: 1px solid var(--divider); font-weight: 600; }
.table td { padding: 7px 8px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); vertical-align: middle; }
.table tbody tr:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.table .td-name { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 20px; padding: 14px 8px; }
.table--ads { font-size: 16px; }
.table--ads td { padding: 18px 8px; }
.table--ads .td-name { font-size: 24px; padding: 18px 8px; }
.table--manage .input { min-height: 32px; font-size: 13px; }
.table--manage td { padding: 6px; }

/* ------------------------------------------------------------ facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--divider); }
.fact { border-right: 1px solid var(--divider); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); padding: 28px 28px 32px; }
.fact-v { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 6.5vw, 104px); line-height: 0.9; color: var(--navy); margin-top: 24px; }
.fact-d { font-size: 15px; line-height: 1.5; margin-top: 16px; color: var(--ink-78); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { padding: 20px; } }

/* ----------------------------------------------------------- tenets */
.tenet { display: grid; grid-template-columns: minmax(90px, 1.3fr) minmax(0, 4fr); gap: 32px; align-items: baseline; padding: 36px 0; border-top: 1px solid var(--navy); }
.tenet-n { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(64px, 7vw, 120px); line-height: 0.8; color: var(--navy); }
.tenet p { font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 52ch; color: var(--ink-80); }

/* ------------------------------------------------------------ bands */
.band { position: relative; background: var(--navy-ink); color: var(--paper); overflow: hidden; }
.band--navy { background: var(--navy); }
.mosaic {
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 70%;
  background: repeating-conic-gradient(var(--paper) 0 25%, var(--navy-ink) 0 50%) 0 0 / 120px 120px;
  transform: perspective(700px) rotateX(62deg); transform-origin: 50% 100%; opacity: 0.9;
}
.mosaic-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(to bottom, var(--navy-ink), rgba(11, 15, 56, 0) 70%); }
.trestle { position: relative; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(200px, 24vw, 340px); }
.meetings { display: flex; flex-direction: column; }
.meeting { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--paper-line); }
.meeting-d { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 34px; min-width: 4.2em; line-height: 1; }
.meeting-t { font-size: 15px; line-height: 1.4; }
.meeting-t > span { opacity: 0.7; }
.meeting-t .tag { opacity: 1; margin-left: 8px; }

/* ------------------------------------------------------------ doors */
.door { display: flex; flex-direction: column; min-height: 360px; padding: 32px; text-decoration: none; color: var(--ink); transition: background 0.2s, color 0.2s; }
.door:hover { background: var(--navy); color: var(--paper); }
.door:hover > .corner { color: rgba(242, 242, 243, 0.7); }
.door .kicker { color: inherit; }
.door-h { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 3.6vw, 56px); line-height: 0.92; margin-top: auto; }
.door-p { font-size: 15px; line-height: 1.5; margin-top: 16px; opacity: 0.82; }
.door-cta { margin-top: 24px; }

/* ---------------------------------------------------------- figures */
.figure { margin: 0; aspect-ratio: 4 / 3; background: var(--navy-fill); overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure img.figure-temple { object-position: 50% 30%; filter: grayscale(1) contrast(1.04); }
.figure .placeholder { height: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--navy-deep); font-size: 15px; }
.officers-photo { margin: 0; aspect-ratio: var(--ar, 2048 / 993); }
.officers-photo img { width: 100%; height: 100%; object-fit: contain; }
.hist-photo { margin: 0; aspect-ratio: var(--ar, 442 / 447); background: var(--navy-fill); }
.hist-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }

/* --------------------------------------------------------- timeline */
.tl-year { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(72px, 9vw, 150px); line-height: 0.8; color: var(--navy); }

/* History page sections */
.hist-sec { scroll-margin-top: 24px; }
.relics { display: grid; grid-template-columns: var(--relic-cols, repeat(3, minmax(0, 1fr))); gap: 40px 32px; align-items: start; }
.relic { margin: 0; min-width: 0; }
.relic-frame { display: block; background: var(--navy-fill); }
.relic-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.relic-cap { margin-top: 20px; }
.relic-t { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.05; color: var(--navy-ink); margin: 0; }
.relic-p { font-size: 15px; line-height: 1.55; color: var(--ink-80); margin: 10px 0 0; max-width: 52ch; }
@media (max-width: 900px) { .relics { grid-template-columns: minmax(0, 1fr); } .relic { max-width: 560px; } }
.hist-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.hist-nav a { color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hist-nav a:hover { color: var(--navy-ink); }
.hist-story p { font-size: 18px; line-height: 1.65; color: var(--ink-80); max-width: 66ch; margin: 0 0 22px; }
.hist-story p:last-child { margin-bottom: 0; }
.hist-story strong { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 21px; color: var(--navy-ink); }
.hist-h3 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1.05; color: var(--navy-ink); margin-bottom: 0; }
.founders { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--divider); }
.founders li { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 18px; line-height: 1.2; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--divider); }
.notables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); border-top: 1px solid var(--navy); }
.notable { padding: 28px 0; border-bottom: 1px solid var(--divider); }
.notables:has(> :nth-child(2):last-child), .notables:has(> :only-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notable-n { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2vw, 30px); line-height: 1; color: var(--navy-ink); margin: 0; }
.notable-p { font-size: 16px; line-height: 1.6; color: var(--ink-80); margin: 12px 0 0; }
.pm { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--divider); }
.pm li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--divider); break-inside: avoid; }
.pm-y { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; min-width: 44px; }
.pm-n { font-size: 16px; color: var(--ink); }
.src-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--divider); }
.src-list li { padding: 12px 0; border-bottom: 1px solid var(--divider); font-size: 15px; }
.src-list a { color: var(--navy); }
@media (max-width: 1100px) { .notables { grid-template-columns: repeat(2, minmax(0, 1fr)); } .founders { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .notables { grid-template-columns: minmax(0, 1fr); } .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hist-story p { font-size: 17px; } }

/* History: a plumb line down the left, years hung in the gutter beside it */
.tl-key { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; font-size: 14px; color: var(--ink-65); }
.tl-k { display: inline-flex; align-items: center; gap: 10px; }
.tl-k::before, .tl-ev::before { content: ""; width: 12px; height: 12px; flex: none; box-sizing: border-box; background: var(--navy); }
.tl-k--gl::before, .tl-ev--gl::before { background: var(--paper); border: 3px solid var(--navy); }
.tl-era { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--navy); }
.tl-era-h { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 52px); line-height: 0.95; color: var(--navy-ink); margin: 14px 0 0; }
.tline { list-style: none; margin: 36px 0 0 clamp(96px, 11vw, 150px); padding: 0; border-left: 2px solid var(--divider); }
.tl-ev { position: relative; padding: 0 0 32px 32px; }
.tl-ev:last-child { padding-bottom: 4px; }
.tl-ev::before { position: absolute; left: -7px; top: 8px; box-shadow: 0 0 0 4px var(--paper); }
.tl-when { position: absolute; right: calc(100% + 28px); top: 0; width: clamp(72px, 8vw, 110px); text-align: right; }
.tl-y { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 0.95; color: var(--navy); font-variant-numeric: tabular-nums; }
.tl-d { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-65); }
.tl-h { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ink); }
.tl-p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-80); max-width: 64ch; }
.tl-p b { font-weight: 600; color: var(--ink); }
.tl-src { margin: 8px 0 0; font-size: 13px; color: var(--ink-65); }
.tl-src a { color: var(--navy); }
@media (max-width: 640px) {
  .tline { margin-left: 6px; }
  .tl-ev { padding-left: 24px; }
  .tl-when { position: static; width: auto; text-align: left; display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
  .tl-y { font-size: 26px; }
  .tl-d { margin-top: 0; }
}

/* --------------------------------------------------------- officers */
/* Eight half-columns, each card spans two: every card the same size, and a short
   last row can start on a half-column so it sits centred under the rest. */
.officers { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 1fr; padding: 1px 0 0 1px; margin-top: 28px; }
.officer { grid-column: span 2; padding: 28px; border: 1px solid var(--divider); margin: -1px 0 0 -1px; min-height: 150px; display: flex; flex-direction: column; }
.officer:nth-child(4n+1):nth-last-child(1) { grid-column: 4 / span 2; }
.officer:nth-child(4n+1):nth-last-child(2) { grid-column: 3 / span 2; }
.officer:nth-child(4n+1):nth-last-child(3) { grid-column: 2 / span 2; }
.officer-n { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; margin-top: auto; padding-top: 28px; }
.officer-t { font-size: 13px; margin-top: 8px; color: var(--ink-65); min-height: 1em; }
.officer-c { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.officer-c a { color: var(--navy); text-decoration: none; }
.officer-c a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .officers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .officer:nth-child(n):nth-last-child(n) { grid-column: span 2; }
  .officer:nth-child(2n+1):nth-last-child(1) { grid-column: 2 / span 2; }
}
@media (max-width: 520px) {
  .officers { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .officer:nth-child(n):nth-last-child(n) { grid-column: auto; }
}

/* --------------------------------------------------------- calendar */
.cal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cal-nav { display: flex; gap: 8px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 32px; border-left: 1px solid var(--divider); border-top: 1px solid var(--navy); }
.cal-w { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--navy); padding: 12px; border-right: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.cal-c { min-height: 118px; border-right: 1px solid var(--divider); border-bottom: 1px solid var(--divider); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cal-c--ev { background: var(--navy); color: var(--paper); }
.cal-c--today { background: var(--navy-fill); }
.cal-d { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 30px; line-height: 1; }
.cal-e { font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 700px) {
  .cal-w { padding: 6px 4px; font-size: 10px; letter-spacing: 0.08em; }
  .cal-c { min-height: 62px; padding: 6px 4px; gap: 4px; }
  .cal-d { font-size: 18px; }
  .cal-e { font-size: 9px; letter-spacing: 0; }
}

/* -------------------------------------------------------- list rows */
.up-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--navy); }
.up-d { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 30px; color: var(--navy); line-height: 1; }
.up-t { font-size: 16px; line-height: 1.4; }
.up-t > span { display: block; font-size: 14px; color: var(--ink-65); }
.up-t .tag { display: inline-flex; margin-left: 6px; }
@media (max-width: 640px) { .up-row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.step { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 5fr); gap: 28px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--navy); }
.step-n { font-family: var(--font-heading); font-weight: 700; font-size: clamp(56px, 5.5vw, 88px); line-height: 0.8; color: var(--navy); }
.step p { font-size: 16px; line-height: 1.55; margin-top: 12px; max-width: 52ch; color: var(--ink-78); }

.card { padding: 32px; display: block; }
.card-n { font-family: var(--font-heading); font-weight: 700; font-size: clamp(72px, 7vw, 112px); line-height: 0.8; color: var(--navy); }
.card .card-n + .h3 { margin-top: 32px; }
.card p { font-size: 15px; line-height: 1.55; margin-top: 12px; color: var(--ink-78); }
.card .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin-top: 18px; }
.card .kv span:nth-child(odd) { color: var(--ink-65); }
.card .actions { display: flex; gap: 10px; }

.glfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.glfact { padding: 28px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.glfact-v { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 68px); line-height: 0.9; margin-top: 18px; }
.glfact-d { font-size: 14px; line-height: 1.5; margin-top: 12px; opacity: 0.8; }
@media (max-width: 480px) { .glfacts { grid-template-columns: minmax(0, 1fr); } }

.news { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--navy); text-decoration: none; }
.news-h { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; letter-spacing: 0.02em; }
.news-p { display: block; font-size: 15px; line-height: 1.55; margin-top: 12px; color: var(--ink-78); }
@media (max-width: 700px) { .news { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 96px); margin-top: 20px; }
.faq-i { padding: 32px 0; border-top: 1px solid var(--navy); }
.faq-i h3 { font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; letter-spacing: 0.02em; }
.faq-i p { font-size: 16px; line-height: 1.55; margin-top: 12px; max-width: 52ch; color: var(--ink-78); }

.crow { padding: 24px 0; border-top: 1px solid var(--navy); }
.crow a.v { display: block; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; margin-top: 12px; text-decoration: none; overflow-wrap: anywhere; }
.crow .d { font-size: 15px; line-height: 1.55; margin-top: 6px; color: var(--ink-78); }
.map { aspect-ratio: 21 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

.hall-interior img { object-position: 50% 60%; }
.hall-form { align-self: start; }
@media (min-width: 901px) { .blueprint.hall-form { position: sticky; top: 32px; } }
.hall-building { margin-top: 40px; }
.hfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--divider); margin-top: 40px; }
.hfact { padding: 24px; border: 1px solid var(--divider); border-left: 0; }
.hfact-v { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; margin-top: 14px; }
@media (max-width: 560px) { .hfacts { grid-template-columns: minmax(0, 1fr); } .hfact { border-top: 0; } .hfact:first-child { border-top: 1px solid var(--divider); } }

.cfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--navy); margin-top: 36px; }
.cfact { padding: 22px 0; }
.cfact-v { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 32px; margin-top: 10px; line-height: 1; }

.auth-pts > div { padding: 16px 0; border-top: 1px solid var(--navy); display: flex; gap: 16px; font-size: 15px; }
.auth-pts > div:last-child { border-bottom: 1px solid var(--navy); }
.auth-pts .kicker { min-width: 24px; padding-top: 3px; }

/* ---------------------------------------------------------- members */
.tabs { padding-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--navy); }
.tabs-l { display: flex; flex-wrap: wrap; }
.tab { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 24px; letter-spacing: 0.04em; padding: 14px 22px; border-bottom: 3px solid transparent; color: var(--ink-60); text-decoration: none; margin-bottom: -1px; }
.tab:hover { color: var(--navy); }
.tab.active { border-bottom-color: var(--navy); color: var(--navy); }
@media (max-width: 640px) { .tab { font-size: 18px; padding: 10px 12px; } }
.notice { padding: 22px 0; border-top: 1px solid var(--navy); }
.notice h3 { font-weight: 600; font-size: 24px; letter-spacing: 0.02em; line-height: 1; margin-top: 10px; }
.notice p { font-size: 15px; line-height: 1.55; margin-top: 12px; color: var(--ink-78); }
.rsvp { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--navy); }
.rsvp .btn { min-width: 130px; }
@media (max-width: 640px) { .rsvp { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.decision { padding: 14px 0; border-top: 1px solid var(--divider); font-size: 15px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.decision .grow { flex: 1 1 240px; }
.manage { display: grid; gap: 64px; }
.mblock { border-top: 1px solid var(--navy); padding-top: 24px; }

/* ----------------------------------------------------------- closer */
.closer { background: var(--navy); color: var(--paper); text-align: center; }
.closer .wrap { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.closer h2 { font-size: clamp(64px, 11vw, 180px); line-height: 0.85; margin-top: 24px; }
.closer p { font-size: 18px; line-height: 1.6; margin: 32px auto 0; max-width: 52ch; }
.closer-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ----------------------------------------------------------- footer */
.footer { background: var(--navy-ink); color: var(--paper); }
.footer-grid { padding-top: 64px; padding-bottom: 28px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; font-size: 14px; line-height: 1.7; }
.footer-brand { display: flex; gap: 20px; align-items: flex-start; }
.footer-brand img { height: 110px; width: auto; flex: none; }
.footer-name { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1; }
.footer-sub { opacity: 0.75; margin-top: 8px; }
.footer .kicker { color: var(--navy-tint); margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--paper); }
.footer-links { display: flex; flex-direction: column; }
.footer-signout .linklike { opacity: 0.75; }
.footer-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(242, 242, 243, 0.14); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .g-5-7, .g-7-5, .g-4-8 { grid-template-columns: minmax(0, 1fr); }
  .cards-3, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .tenet { grid-template-columns: minmax(70px, auto) minmax(0, 1fr); gap: 20px; }
  .step { grid-template-columns: minmax(60px, auto) minmax(0, 1fr); gap: 20px; }
  .trestle { padding-bottom: clamp(160px, 30vw, 300px); }
}
@media (max-width: 560px) {
  .cfacts { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 260px; padding: 24px; }
  .card { padding: 24px; }
}
@media print {
  .nav, .closer, .footer, .battlement, .rail { display: none !important; }
  body { background: #fff; }
}

/* ------------------------------------------------- formatted content */
.rich p { margin: 0; }
.rich p + p { margin-top: 16px; }
.rich a { color: var(--navy); }
.rich--lead p { font-size: 17px; line-height: 1.6; color: var(--ink-80); max-width: 56ch; }
.rich--lead p + p { margin-top: 20px; }
.g-5-7 > .rich--lead p:first-child { font-size: 20px; }
.on-dark .rich a, .fine.rich a { color: inherit; }

/* ------------------------------------------------------ administration */
.admin { padding-top: 28px; padding-bottom: var(--section); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-bottom: 18px; border-bottom: 1px solid var(--divider); font-size: 14px; font-weight: 600; }
.admin-nav a { color: var(--ink-65); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.admin-nav a:hover { color: var(--navy); }
.admin-nav a.active { color: var(--navy); border-bottom-color: var(--navy); }
.admin-head { padding: 40px 0 28px; }
.admin-head .kicker a { color: inherit; }
.admin-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.admin-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; text-decoration: none; color: var(--ink); border: 1px solid var(--divider); background: var(--paper); font-size: 15px; line-height: 1.5; }
.admin-card:hover { border-color: var(--navy); }
.admin-card-n { font-family: var(--font-heading); font-weight: 700; font-size: 64px; line-height: 0.9; color: var(--navy); }
.admin-table td { vertical-align: top; }
.admin-strong { font-weight: 600; color: var(--navy-ink); }
.admin-help { margin: 0 0 32px; padding: 14px 18px; background: var(--navy-fill); font-size: 14px; line-height: 1.55; }
.admin-help summary { cursor: pointer; font-weight: 600; color: var(--navy-deep); }
.admin-help p { margin: 10px 0 0; }
.admin-help code { font-size: 13px; background: var(--paper); padding: 1px 5px; }
.ed-group { border-top: 1px solid var(--navy); padding: 24px 0 36px; display: grid; gap: 22px; scroll-margin-top: 16px; }
.ed-group-h { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 26px; color: var(--navy-ink); margin: 0; }
.ed-field { display: grid; gap: 6px; max-width: 980px; }
.ed-label { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: 13px; }
.ed-label > label:first-child { font-weight: 600; color: var(--ink); }
.ed-edited { font-size: 12px; color: var(--navy); }
.ed-reset { font-size: 12px; }
.ed-field textarea.input { resize: vertical; line-height: 1.5; font-family: var(--font-body); }
.ed-img { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.ed-img img { width: 100%; max-height: 220px; object-fit: contain; background: var(--navy-fill); border: 1px solid var(--divider); }
.ed-list { border: 1px solid var(--divider); background: color-mix(in srgb, var(--paper) 60%, #fff); }
.ed-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px; border-bottom: 1px solid var(--divider); }
.ed-row:has(input[name$="[_del]"]:checked) { opacity: 0.45; }
.ed-cells { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-cell { display: grid; gap: 3px; font-size: 11px; color: var(--ink-65); flex: 1 1 160px; }
.ed-cell--text, .ed-cell--rich { flex: 3 1 320px; }
.ed-cell .input { font-size: 14px; }
.ed-row-tools { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ed-list-foot { display: flex; gap: 14px; align-items: center; padding: 10px 12px; }
.ed-save { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(to top, var(--paper) 70%, transparent); }
.roster-filters { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.tag--active { border-color: #2f6b3c; color: #2f6b3c; }
.tag--pending { border-color: #8a6a12; color: #8a6a12; }
.tag--suspended, .tag--declined { border-color: #a9634a; color: #8b3f26; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.kv span:nth-child(odd) { color: var(--ink-65); }
.admin-confirm { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; border-top: 1px solid var(--divider); padding-top: 16px; }
.admin-mail-body { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-78); max-width: 70ch; }
form.inline { display: inline; }
@media (max-width: 1000px) { .admin-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .admin-cards { grid-template-columns: minmax(0, 1fr); }
  .ed-img { grid-template-columns: minmax(0, 1fr); }
  .ed-row { grid-template-columns: minmax(0, 1fr); }
  .ed-row-tools { flex-direction: row; align-items: center; justify-content: flex-start; }
}
.roster-filters .inline-form .input { width: auto; }
.roster-filters .inline-form .w-280 { width: 280px; max-width: 100%; }
