/* Metta Alliance, clean build 2026-09-28 (round 3).
   Colors taken from how Adam actually uses them on his own site (localhost:8090):
   ivory ground #F5F5F2 everywhere, headings ROYAL BLUE #4169E1, body copy near-black #2E2F3E,
   thick royal-blue rules under the header and above the footer, GOLD #D4AF37 reserved for the
   Donate/Give button. Light throughout. No indigo, no dark footer.
   Fonts: Montserrat + Lato, the site's own. */

:root {
  --ivory: #F5F5F2;
  --panel: #FFFFFF;
  --blue: #4169E1;
  --blue-deep: #2F4FBF;
  --gold: #D4AF37;
  --gold-deep: #B8942A;
  --ink: #2E2F3E;
  --muted: #5C5E70;
  --indigo-deep: #2F3D8C;
  --gold-soft: rgba(212, 175, 55, 0.4);
  --rule: rgba(46, 47, 62, 0.14);
  --rule-soft: rgba(46, 47, 62, 0.08);
  --container: 1280px;
  --measure: 900px;
  --sans: "Lato", "Segoe UI", system-ui, sans-serif;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.09rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.measure { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */

.topbar {
  background: var(--indigo-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--gold);
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: rgba(255, 255, 255, 0.88); }
.topbar a:hover { color: #fff; }
.topbar .dot { color: var(--gold); opacity: 0.85; }

.masthead {
  background: var(--panel);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}
.masthead .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 64px; }
.brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--indigo-deep);
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }

nav.main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 30px;
}
nav.main a:not(.btn) {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
nav.main a:not(.btn):hover { color: var(--blue-deep); text-decoration: none; }
nav.main a.here { color: var(--gold-deep); }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--blue);
  margin: 0 0 20px;
}
h1 { font-size: clamp(2.1rem, 3.2vw, 2.9rem); max-width: 22ch; margin-left: auto; margin-right: auto; }
h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }

p { margin: 0 0 22px; }
p.lead { font-size: 1.22rem; line-height: 1.68; max-width: 62ch; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
}

/* ---------- sections ---------- */

section { padding: 72px 0; }

/* what centers: headings, the eyebrow above them, the gold rule, button rows,
   the short lead line under a hero, the schedule line, and card blurbs.
   what does NOT center: body paragraphs, lists, forms, notes. Those read left. */
h1, h2, .eyebrow, .facts, p.lead { text-align: center; }
.btn-row { justify-content: center; }
.card { text-align: center; }

section.alt {
  background: var(--ivory);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.hero { padding: 64px 0 56px; }
.rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 26px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  gap: 30px;
}

.card {
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  border-top: 3px solid var(--blue);
  border-radius: 10px;
  padding: 30px;
}
.card p:last-child { margin-bottom: 0; }

.stack > * + * { margin-top: 36px; }

.note {
  max-width: 100%;
  margin: 0;
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  color: var(--muted);
  text-align: left;
}

.facts {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 26px;
}
.facts span { color: var(--muted); font-weight: 400; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 14px 30px;
  border-radius: 8px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; text-decoration: none; }
.btn.quiet { background: transparent; color: var(--blue); }
.btn.quiet:hover { background: rgba(65, 105, 225, 0.08); color: var(--blue-deep); }
.btn.give { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.give:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 10px; }

/* ---------- people ---------- */

.person {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.person img {
  width: 170px;
  height: 205px;
  object-fit: cover;
  border-radius: 10px;
}
.person h1, .person h2, .person h3 { font-size: 1.45rem; text-align: left; margin-bottom: 4px; }
.person .role {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}

/* ---------- lists ---------- */

ul.plain { list-style: none; margin: 0 0 22px; padding: 0; }
ul.plain li { position: relative; padding-left: 26px; margin-bottom: 10px; }
ul.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

/* ---------- forms ---------- */

form.metta { max-width: 640px; margin: 0 auto; text-align: left; }
.field { margin-bottom: 20px; }
label {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 13px 15px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.14);
}
.hp { position: absolute; left: -9999px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- footer ---------- */

footer {
  background: var(--indigo-deep);
  color: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--gold);
  padding: 52px 0 42px;
}
footer a { color: rgba(255, 255, 255, 0.9); }
footer a:hover { color: #fff; }
footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  justify-content: space-between;
  align-items: center;
}
footer .mark { display: flex; align-items: center; gap: 16px; }
footer .mark img { width: 64px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
footer nav a { font-family: var(--display); font-size: 0.88rem; font-weight: 600; }
footer .fine {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .columns { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 720px) {
  section { padding: 58px 0; }
  .hero { padding: 54px 0 48px; }
  .person { grid-template-columns: 1fr; gap: 20px; }
  .person img { width: 170px; height: 205px; }
  .two-up { grid-template-columns: 1fr; }
  .masthead .container { justify-content: center; text-align: center; }
  nav.main { justify-content: center; }
  .topbar .container { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* the steward block reads left, including its name and its button */
.person h1, .person h2, .person h3, .person .role, .person p { text-align: left; }
.person .btn-row { justify-content: flex-start; margin-top: 18px; }
.person h1, .person h2 { max-width: none; margin-left: 0; margin-right: 0; }

/* a small self-contained block (the Zelle code) centers as one unit */
.centered { text-align: center; }
.centered p { text-align: center; }
.qr { margin: 0 auto; border-radius: 10px; }

/* opt-in checkbox */
.field.checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}
.field.checkbox input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
