:root {
  color-scheme: light;
  --forest: #123c35;
  --forest-dark: #0c2e29;
  --sage: #e7f0e9;
  --cream: #f7f6f0;
  --gold: #c99a45;
  --ink: #1d2925;
  --muted: #68756f;
  --line: #e1e6e1;
  --white: #fff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 87% 14%, rgba(201, 154, 69, 0.12), transparent 30rem),
    var(--cream);
}

.site-header {
  background: var(--forest-dark);
  color: var(--white);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #f3d9a5;
  font: 700 0.82rem Georgia, serif;
  letter-spacing: 0.06em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font: 600 1rem Georgia, serif;
  letter-spacing: 0.025em;
}

.brand small {
  margin-top: 3px;
  color: #c9d8d1;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-links a {
  color: #d3ded7;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 140ms ease;
}

.header-links a:hover {
  color: #f3d9a5;
}

.profile-dropdown {
  position: relative;
}

.profile-dropdown-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  color: #f4f6f2;
  cursor: pointer;
  list-style: none;
}

.profile-dropdown-toggle::-webkit-details-marker {
  display: none;
}

.profile-dropdown-toggle:focus-visible {
  border-radius: 6px;
  outline: 2px solid #f3d9a5;
  outline-offset: 3px;
}

.profile-nav-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: #e7f0e9;
  color: var(--forest);
  font-size: 0.85rem;
  font-weight: 750;
}

.profile-nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-photo-editor {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.account-photo-preview {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #e3ebe3;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f0e9, #d6e5d9);
  color: var(--forest);
  font: 700 1.4rem Georgia, serif;
}

.account-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-help {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.account-type-readonly {
  margin: 0;
  padding: 12px;
  border: 1px solid #e1e6e1;
  border-radius: 8px;
  background: #f7f9f6;
  color: #45554d;
  font-size: 0.9rem;
}

.profile-nav-name {
  max-width: 130px;
  overflow: hidden;
  color: #f4f6f2;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-nav-chevron {
  color: #d3ded7;
  font-size: 0.9rem;
}

.profile-dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 175px;
  padding: 6px;
  border: 1px solid rgba(18, 60, 53, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(10, 34, 28, 0.2);
}

.profile-dropdown-menu a,
.profile-dropdown-menu button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #263b32;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  text-decoration: none;
}

.profile-dropdown-menu a:hover,
.profile-dropdown-menu button:hover {
  background: #edf5ef;
  color: var(--forest);
}

.profile-dropdown-menu form {
  margin: 0;
}

.profile-dropdown-type {
  margin: 4px 10px 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.header-links a.profile-signin-link {
  color: #f3d9a5;
  font-weight: 650;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.anniversary-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  padding: 58px 0 62px;
}

.hero-copy {
  padding: 12px 0;
}

.anniversary-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 12px;
  color: #997238;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.anniversary-label span {
  color: #c99a45;
  font-size: 0.83rem;
}

.anniversary-hero h1 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 clamp(2.65rem, 5.2vw, 4.5rem)/0.99 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.anniversary-number {
  color: #b38740;
  font-size: 1.3em;
  letter-spacing: -0.07em;
}

.anniversary-years {
  display: inline-block;
  margin-left: 12px;
  color: #997238;
  font-size: 0.38em;
  font-style: italic;
  letter-spacing: 0.02em;
  vertical-align: 0.42em;
}

.anniversary-hero h1 em {
  color: #997238;
  font-weight: 400;
}

.hero-copy > .eyebrow {
  margin: 0 0 10px;
  color: #71847b;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.intro-copy {
  max-width: 500px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 25px;
}

.hero-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px;
  border-radius: 7px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
}

.hero-button:hover {
  transform: translateY(-1px);
  background: #1c5348;
}

.hero-button:focus-visible,
.header-links a:focus-visible,
.photo-credit:focus-visible {
  outline: 3px solid rgba(201, 154, 69, 0.7);
  outline-offset: 3px;
}

.hero-caption {
  color: #7d8981;
  font: italic 0.85rem Georgia, serif;
}

.hero-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.85);
  border-radius: 48% 48% 12px 12px;
  background: #dce8df;
  box-shadow: 0 22px 50px rgba(27, 49, 40, 0.14);
}

.hero-photo::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(10, 34, 28, 0.64));
  content: "";
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.photo-credit {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  color: white;
  font-size: 0.75rem;
  text-decoration: none;
}

.photo-anniversary {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 22px;
  width: 82px;
  height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(247, 246, 240, 0.92);
  color: var(--forest);
  box-shadow: 0 5px 16px rgba(18, 60, 53, 0.18);
}

.photo-anniversary span {
  font: 500 1.8rem/0.9 Georgia, serif;
}

.photo-anniversary small {
  margin-top: 5px;
  font-size: 0.43rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-align: center;
}

.pearl {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0, #f8f2e7 36%, #d7cdbb 100%);
  box-shadow: 0 4px 12px rgba(18, 60, 53, 0.16);
  pointer-events: none;
}

.pearl-one {
  top: 19%;
  left: -20px;
  width: 44px;
  height: 44px;
}

.pearl-two {
  right: -15px;
  bottom: 25%;
  width: 34px;
  height: 34px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 22px;
}

.card {
  border: 1px solid rgba(18, 60, 53, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(27, 49, 40, 0.07);
}

.form-card {
  padding: 28px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.section-heading .eyebrow {
  margin-bottom: 5px;
}

.section-heading h2,
.qr-card h2 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 1.8rem Georgia, "Times New Roman", serif;
}

.secure-label {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf5ef;
  color: #426c54;
  font-size: 0.72rem;
  font-weight: 650;
}

.secure-label span {
  margin-right: 4px;
  color: #4a9562;
  font-size: 0.62rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 14px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #35443e;
  font-size: 0.8rem;
  font-weight: 650;
}

.field label span,
.form-footnote span {
  color: #a74b38;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dce3dd;
  border-radius: 8px;
  outline: none;
  background: #fcfdfb;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field input {
  min-height: 46px;
  padding: 0 12px;
}

.field textarea {
  min-height: 74px;
  padding: 11px 12px;
  resize: vertical;
}

.field select {
  min-height: 46px;
  padding: 0 11px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa59f;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #5c8a75;
  box-shadow: 0 0 0 3px rgba(92, 138, 117, 0.13);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 17px;
  color: #5b6861;
  font-size: 0.77rem;
  line-height: 1.5;
}

.consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.91rem;
  font-weight: 650;
  transition: background 140ms ease, transform 140ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  background: #1c5348;
}

.submit-button:focus-visible,
.registration-url:focus-visible {
  outline: 3px solid rgba(201, 154, 69, 0.7);
  outline-offset: 3px;
}

.form-footnote {
  margin: 10px 0 0;
  color: #7c8982;
  font-size: 0.72rem;
}

.qr-card {
  position: sticky;
  top: 20px;
  padding: 26px 24px 23px;
  text-align: center;
}

.qr-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 13px;
  color: #708078;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.qr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.qr-card h2 {
  font-size: 1.55rem;
}

.qr-card > p:not(.qr-status):not(.qr-url-label) {
  max-width: 290px;
  margin: 10px auto 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.qr-frame {
  width: 236px;
  min-height: 236px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #e8e4d8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 57, 48, 0.08);
}

#registration-qr {
  min-height: 208px;
  display: grid;
  place-items: center;
}

#registration-qr img,
#registration-qr canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.qr-status {
  min-height: 20px;
  margin: 12px 0 20px;
  color: #718078;
  font-size: 0.75rem;
}

.qr-status-error {
  color: #a24232;
}

.qr-url-label {
  margin: 0 0 5px;
  color: #87918c;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.registration-url {
  display: block;
  overflow-wrap: anywhere;
  color: var(--forest);
  font-size: 0.77rem;
  line-height: 1.5;
}

.local-note {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid #e8d7af;
  border-radius: 8px;
  background: #fff9eb;
  color: #765a24;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: left;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding: 12px;
  border-radius: 9px;
  background: #f4f6f2;
  color: #68766e;
  text-align: left;
}

.privacy-note > span {
  color: #b38740;
}

.privacy-note p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
}

.notice {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
  padding: 15px 17px;
  border: 1px solid;
  border-radius: 11px;
  line-height: 1.5;
}

.notice p {
  margin: 4px 0 0;
}

.notice-success {
  border-color: #b5d5bd;
  background: #edf7ef;
  color: #2d6541;
}

.notice-error {
  display: block;
  border-color: #e7c2b9;
  background: #fff4f1;
  color: #873e31;
}

.notice-error ul {
  margin: 7px 0 0;
  padding-left: 20px;
}

.notice-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #d5ebd9;
  font-weight: 800;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 2px 26px;
  color: #839087;
  font-size: 0.7rem;
}

@media (max-width: 820px) {
  .anniversary-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 0 48px;
  }

  .hero-photo {
    min-height: 430px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .page-shell {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .header-links {
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-links a {
    font-size: 0.68rem;
  }

  .header-links a:first-child {
    display: none;
  }

  .anniversary-hero {
    gap: 23px;
    padding: 35px 0 38px;
  }

  .anniversary-label {
    margin-top: 18px;
    font-size: 0.59rem;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 330px;
  }

  .hero-photo {
    border-width: 6px;
  }

  .form-card {
    padding: 21px 17px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .page-footer {
    flex-direction: column;
  }
}

.leadership-section {
  margin: 56px 0 42px;
}

.community-page {
  min-height: calc(100vh - 78px);
  padding-top: 1px;
}

.community-page .leadership-section {
  margin-top: 42px;
}

.community-label {
  margin: 0 0 9px;
  color: #997238;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.leadership-section > h1,
.leadership-section > h2 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 clamp(2rem, 4vw, 3rem) Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

.committee-subtitle {
  margin: 11px 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.committee-tools {
  display: grid;
  grid-template-columns: auto minmax(230px, 1fr) auto minmax(220px, 0.85fr);
  align-items: center;
  gap: 10px 12px;
  padding: 15px;
  border: 1px solid rgba(18, 60, 53, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.committee-tools label {
  color: #46564e;
  font-size: 0.78rem;
  font-weight: 650;
}

.committee-tools select,
.committee-tools input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #dce3dd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
}

.committee-tools select:focus,
.committee-tools input:focus {
  border-color: #5c8a75;
  outline: 3px solid rgba(92, 138, 117, 0.13);
}

.committee-result-count {
  min-height: 18px;
  margin: 10px 2px 20px;
  color: #7c8982;
  font-size: 0.75rem;
}

.committee-group {
  margin: 0 0 29px;
  scroll-margin-top: 20px;
}

.committee-group > h2,
.committee-group > h3 {
  margin: 0 0 15px;
  padding-bottom: 11px;
  border-bottom: 1px solid #dfe6df;
  color: var(--forest-dark);
  font: 600 clamp(1.05rem, 2.2vw, 1.35rem)/1.45 "Segoe UI", system-ui, sans-serif;
}

.committee-group > h2 > span:first-child,
.committee-group > h3 > span:first-child {
  color: #a77c37;
}

.committee-title-ne {
  color: #68766e;
  font-size: 0.9em;
  font-weight: 500;
}

.committee-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 12px;
}

.committee-member-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(18, 60, 53, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 7px 20px rgba(27, 49, 40, 0.045);
}

.committee-member-card[hidden],
.committee-group[hidden] {
  display: none;
}

.committee-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #e3ebe3;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f0e9, #d6e5d9);
  color: var(--forest);
  font: 700 0.9rem Georgia, serif;
  letter-spacing: 0.04em;
}

.committee-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.committee-member-copy {
  min-width: 0;
}

.committee-member-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.committee-member-heading h3,
.committee-member-heading h4 {
  margin: 0;
  color: #263b32;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
}

.committee-member-copy > p {
  margin: 5px 0 0;
  color: #748078;
  font-size: 0.75rem;
  line-height: 1.45;
}

.coordinator-badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f8efd9;
  color: #896322;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.committee-empty,
.committee-error {
  padding: 16px;
  border: 1px solid #e1e6e1;
  border-radius: 10px;
  background: white;
  color: var(--muted);
}

.committee-error {
  border-color: #e7c2b9;
  background: #fff4f1;
  color: #873e31;
}

.committee-search-label {
  white-space: nowrap;
}

.tba-badge {
  padding: 3px 7px;
  border: 1px solid #e1e6e1;
  border-radius: 999px;
  color: #78837c;
  font-size: 0.62rem;
  font-weight: 700;
}

.admin-heading .admin-manage-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.admin-heading .admin-manage-link:hover {
  text-decoration: underline;
}

.admin-module-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 20px 24px;
}

.admin-module-card .eyebrow {
  margin: 0 0 6px;
  color: #71847b;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.admin-module-card h2 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 1.55rem Georgia, "Times New Roman", serif;
}

.admin-module-card p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.committee-admin-page {
  min-height: calc(100vh - 78px);
  padding-top: 38px;
}

.committee-admin-form-card {
  margin-bottom: 30px;
  padding: 25px;
}

.committee-admin-form-card h2,
.committee-admin-list-heading h2 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 1.65rem Georgia, "Times New Roman", serif;
}

.committee-admin-form-card form {
  margin-top: 19px;
}

.committee-admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.committee-admin-fields select {
  width: 100%;
  min-height: 46px;
  padding: 0 11px;
  border: 1px solid #dce3dd;
  border-radius: 8px;
  background: #fcfdfb;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.committee-admin-fields select:focus {
  border-color: #5c8a75;
  outline: 3px solid rgba(92, 138, 117, 0.13);
}

.committee-current-photo {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.committee-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.committee-form-actions .submit-button {
  width: min(240px, 100%);
}

.admin-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.committee-admin-list {
  margin-top: 25px;
}

.committee-admin-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.committee-admin-list-heading > span {
  color: var(--muted);
  font-size: 0.8rem;
}

.committee-admin-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #b5d5bd;
  border-radius: 8px;
  background: #edf7ef;
  color: #2d6541;
}

.committee-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.committee-row-actions a {
  color: var(--forest);
  font-weight: 650;
}

.committee-row-actions form {
  margin: 0;
}

.committee-delete-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a24232;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

.committee-delete-button:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .committee-tools {
    grid-template-columns: 1fr 1fr;
  }

  .committee-tools label {
    align-self: end;
  }
}

@media (max-width: 560px) {
  .leadership-section {
    margin: 38px 0 28px;
  }

  .committee-tools {
    grid-template-columns: 1fr;
  }

  .committee-tools label {
    align-self: auto;
  }

  .committee-member-grid {
    grid-template-columns: 1fr;
  }

  .committee-admin-page {
    padding-top: 28px;
  }

  .committee-admin-form-card {
    padding: 21px 17px;
  }

  .committee-admin-fields {
    grid-template-columns: 1fr;
  }

  .committee-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .committee-form-actions .submit-button {
    width: 100%;
  }
}

.home-page {
  display: flex;
  min-height: calc(100vh - 78px);
  flex-direction: column;
}

.community-page {
  min-height: calc(100vh - 78px);
  padding-top: 40px;
}

.community-form-card {
  margin-bottom: 24px;
  padding: 26px;
}

.community-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.community-form {
  display: grid;
  gap: 16px;
}

.community-form .submit-button {
  margin-top: 2px;
}

.community-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #b5d5bd;
  border-radius: 8px;
  background: #edf7ef;
  color: #2d6541;
}

.community-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.community-actions form {
  margin: 0;
}

.community-actions .hero-button {
  min-height: 42px;
}

.memory-compose {
  margin-bottom: 26px;
}

.memory-signin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding: 20px 24px;
}

.memory-signin p {
  margin: 0;
  color: var(--muted);
}

.memory-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: start;
  gap: 18px;
}

.memory-card {
  overflow: hidden;
  padding: 20px;
}

.memory-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.memory-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-weight: 750;
}

.memory-author h2 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 0.95rem;
}

.memory-author p,
.memory-profile {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.memory-thought {
  margin: 18px 0 0;
  color: #394740;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.memory-photo {
  display: block;
  width: 100%;
  max-height: 480px;
  margin-top: 16px;
  border-radius: 10px;
  background: #f1f3ef;
  object-fit: contain;
}

.memory-current-media > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.memory-post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.memory-post-actions > a {
  color: var(--forest);
  font-weight: 650;
}

.memory-post-actions form {
  margin: 0;
}

.memory-cancel-edit {
  justify-self: start;
  padding: 0 12px;
  border: 1px solid #cbd6cf;
  border-radius: 8px;
  color: var(--forest);
}

.live-commenting-as,
.live-signin-prompt {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.live-indicator {
  color: #b43e31;
  font-weight: 800;
}

.live-access-note {
  color: #68756f;
  font-size: 0.8rem;
}

.live-player-card {
  overflow: hidden;
  margin-bottom: 24px;
  background: #101714;
}

.live-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.live-chat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.7fr);
  align-items: start;
  gap: 20px;
  margin: 22px 0;
}

.live-comments-card,
.live-info-card {
  padding: 22px;
}

.live-comments-card .section-heading {
  margin-bottom: 16px;
}

.live-comments-card .section-heading h2,
.live-info-card h2 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 1.55rem Georgia, "Times New Roman", serif;
}

.live-comment-list {
  display: grid;
  max-height: 480px;
  overflow-y: auto;
  gap: 12px;
  margin-bottom: 18px;
}

.live-refresh-status {
  min-height: 18px;
  margin: -10px 0 12px;
  color: #8a564d;
  font-size: 0.75rem;
}

.live-comment {
  padding: 12px;
  border: 1px solid #e8ece8;
  border-radius: 9px;
  background: #fbfcfa;
}

.live-comment > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.live-comment strong {
  color: var(--forest);
  font-size: 0.82rem;
}

.live-comment time {
  color: var(--muted);
  font-size: 0.7rem;
}

.live-comment p {
  margin: 7px 0 0;
  color: #394740;
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.live-info-card .eyebrow {
  margin: 0 0 8px;
  color: #71847b;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.live-info-card > p:not(.eyebrow) {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.live-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #45554d;
  font-size: 0.86rem;
  line-height: 1.5;
}

.live-toggle input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: stretch;
  gap: 24px;
  margin-top: 28px;
}

.home-slideshow {
  position: relative;
  min-height: min(680px, calc(100vh - 140px));
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: var(--forest-dark);
  box-shadow: 0 22px 50px rgba(27, 49, 40, 0.18);
}

.home-qr-card {
  position: static;
  align-self: center;
  width: auto;
  margin: 0;
  padding: 24px 18px;
  border-color: rgba(18, 60, 53, 0.12);
  box-shadow: 0 18px 44px rgba(27, 49, 40, 0.1);
}

.home-digital-committee {
  margin: 48px 0 24px;
}

.slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.slide.is-active {
  visibility: visible;
  opacity: 1;
}

.slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 31, 26, 0.82), rgba(7, 31, 26, 0.42) 58%, rgba(7, 31, 26, 0.08));
  content: "";
}

.slide img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.slide-caption {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(24px, 8vw, 100px);
  width: min(600px, calc(100% - 48px));
  transform: translateY(-50%);
  color: var(--white);
}

.slide-caption .eyebrow {
  margin: 0 0 18px;
  color: #f0d7a4;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.19em;
}

.slide-caption h1,
.slide-caption h2 {
  margin: 0;
  font: 500 clamp(2.4rem, 6vw, 5rem)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.slide-caption > p:not(.eyebrow) {
  max-width: 480px;
  margin: 18px 0 25px;
  color: #e3ebe5;
  font-size: clamp(0.94rem, 1.6vw, 1.1rem);
  line-height: 1.6;
}

.slide-caption .hero-button {
  background: #e4c486;
  color: var(--forest-dark);
}

.slide-caption .hero-button:hover {
  background: #f0d7a4;
}

.slideshow-controls {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-control,
.slide-indicator {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(12, 46, 41, 0.55);
  color: white;
  cursor: pointer;
}

.slide-control {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font: 300 1.7rem/1 Georgia, serif;
}

.slide-control:hover,
.slide-control:focus-visible,
.slide-indicator:hover,
.slide-indicator:focus-visible {
  background: rgba(12, 46, 41, 0.9);
}

.slide-indicators {
  display: flex;
  gap: 9px;
}

.slide-indicator {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
}

.slide-indicator.is-active {
  background: #f0d7a4;
}

.registration-page {
  padding-top: 40px;
}

.registration-intro {
  margin-bottom: 25px;
}

.registration-intro .eyebrow {
  margin: 0 0 8px;
  color: #71847b;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.registration-intro h1 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 clamp(2rem, 4vw, 3rem) Georgia, "Times New Roman", serif;
}

.registration-intro > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.registration-page .content-grid {
  margin-bottom: 18px;
}

@media (max-width: 820px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .home-slideshow {
    min-height: 590px;
  }

  .home-qr-card {
    width: min(100%, 400px);
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .home-page {
    min-height: calc(100vh - 78px);
  }

  .home-hero {
    gap: 16px;
    margin-top: 14px;
  }

  .home-slideshow {
    min-height: 590px;
    border-radius: 12px;
  }

  .slide-caption {
    top: 43%;
    left: 22px;
    width: calc(100% - 44px);
  }

  .slideshow-controls {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .registration-page {
    padding-top: 28px;
  }
}

@media (max-width: 760px) {
  .community-auth-grid,
  .live-chat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .community-page {
    padding-top: 28px;
  }

  .community-form-card,
  .live-comments-card,
  .live-info-card {
    padding: 21px 17px;
  }

  .account-photo-editor {
    grid-template-columns: 1fr;
  }

  .memory-signin {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.admin-page {
  min-height: calc(100vh - 78px);
  padding-top: 40px;
}

.admin-login-card {
  width: min(100%, 440px);
  margin: 35px auto;
  padding: 30px;
}

.admin-login-card .eyebrow,
.admin-heading .eyebrow {
  margin: 0 0 8px;
  color: #71847b;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.admin-login-card h1,
.admin-heading h1 {
  margin: 0;
  color: var(--forest-dark);
  font: 500 clamp(1.8rem, 4vw, 2.6rem) Georgia, "Times New Roman", serif;
}

.admin-description,
.admin-heading > div > p {
  color: var(--muted);
}

.admin-login-card form {
  display: grid;
  gap: 16px;
  margin-top: 23px;
}

.admin-password-field {
  margin-top: 1px;
}

.admin-message {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #e7c2b9;
  border-radius: 8px;
  background: #fff4f1;
  color: #873e31;
  font-size: 0.88rem;
  line-height: 1.5;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-heading > div > p:last-child {
  margin: 9px 0 0;
}

.admin-logout {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cbd6cf;
  border-radius: 8px;
  background: white;
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
}

.admin-logout:hover,
.admin-logout:focus-visible {
  background: #edf5ef;
}

.admin-table-card {
  overflow: hidden;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  background: #f4f6f2;
  color: #45554d;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-table td {
  color: #394740;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-empty {
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.admin-empty p {
  margin: 0;
}

@media (max-width: 560px) {
  .admin-page {
    padding-top: 28px;
  }

  .admin-login-card {
    margin: 20px auto;
    padding: 23px 18px;
  }

  .admin-heading {
    align-items: flex-start;
  }

  .admin-module-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 92% 3%, rgba(201, 154, 69, 0.1), transparent 28rem),
    linear-gradient(180deg, #f8f8f4 0%, #f4f6f1 100%);
  line-height: 1.55;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 46, 41, 0.97);
  box-shadow: 0 8px 24px rgba(10, 34, 28, 0.12);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
}

.header-links {
  gap: clamp(12px, 2vw, 24px);
}

.header-links a {
  font-size: 0.82rem;
  font-weight: 550;
}

.header-links a:hover,
.header-links a:focus-visible {
  color: #f3d9a5;
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
}

.card {
  border-color: rgba(18, 60, 53, 0.09);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(27, 49, 40, 0.065);
}

.registration-intro {
  margin-bottom: 30px;
}

.registration-intro h1,
.leadership-section > h1,
.leadership-section > h2 {
  letter-spacing: -0.035em;
}

.registration-intro > p:last-child,
.committee-subtitle {
  max-width: 680px;
  line-height: 1.7;
}

.field input,
.field textarea,
.field select,
.committee-admin-fields select,
.committee-tools select,
.committee-tools input {
  border-color: #d3ddd5;
  background-color: #fff;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible,
.committee-tools select:focus-visible,
.committee-tools input:focus-visible,
.committee-admin-fields select:focus-visible {
  border-color: #3c7963;
  outline: 3px solid rgba(60, 121, 99, 0.2);
  outline-offset: 1px;
  box-shadow: none;
}

.submit-button,
.hero-button {
  border-radius: 9px;
  font-weight: 700;
}

.submit-button:hover,
.hero-button:hover {
  box-shadow: 0 8px 18px rgba(18, 60, 53, 0.17);
}

.submit-button:focus-visible,
.hero-button:focus-visible,
.admin-logout:focus-visible,
.committee-delete-button:focus-visible,
.memory-post-actions a:focus-visible,
.committee-row-actions a:focus-visible {
  outline: 3px solid #c99a45;
  outline-offset: 3px;
}

.profile-dropdown-menu {
  border-color: #dce5dd;
  box-shadow: 0 18px 40px rgba(10, 34, 28, 0.24);
}

.admin-module-card,
.committee-member-card,
.memory-card,
.live-comments-card,
.live-info-card,
.community-form-card,
.form-card,
.admin-login-card {
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.admin-module-card:hover,
.committee-member-card:hover,
.memory-card:hover {
  border-color: rgba(18, 60, 53, 0.17);
  box-shadow: 0 16px 38px rgba(27, 49, 40, 0.09);
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-table tbody tr:hover {
  background: #f7faf6;
}

.admin-message,
.community-notice,
.committee-admin-notice,
.notice {
  border-radius: 12px;
}

.page-footer {
  margin-top: 30px;
  border-top: 1px solid rgba(18, 60, 53, 0.09);
  font-size: 0.75rem;
}

@media (max-width: 760px) {
  .header-inner {
    gap: 12px;
  }

  .header-links {
    gap: 7px 14px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: auto;
  }

  .admin-module-card,
  .committee-member-card,
  .memory-card {
    border-radius: 14px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .header-links {
    width: 100%;
    align-items: center;
    gap: 5px;
  }

  .header-links > a,
  .header-links a:first-child {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .header-links .profile-dropdown {
    margin-left: auto;
  }

  .profile-dropdown-toggle {
    min-height: 40px;
  }

  .profile-nav-name {
    max-width: 90px;
  }

  .profile-dropdown-menu {
    max-width: calc(100vw - 28px);
  }

  .page-shell {
    width: calc(100% - 24px);
  }

  .home-hero {
    gap: 14px;
    margin-top: 16px;
  }

  .home-slideshow {
    min-height: clamp(390px, 125vw, 510px);
  }

  .slide-caption {
    top: 46%;
    left: 18px;
    width: calc(100% - 36px);
  }

  .slide-caption .eyebrow {
    margin-bottom: 12px;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  .slide-caption h1,
  .slide-caption h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
  }

  .slide-caption > p:not(.eyebrow) {
    margin: 14px 0 19px;
    font-size: 0.9rem;
  }

  .slide-caption .hero-button {
    min-height: 44px;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .slideshow-controls {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .slide-control {
    width: 38px;
    height: 38px;
  }

  .form-card,
  .community-form-card,
  .committee-admin-form-card,
  .live-comments-card,
  .live-info-card,
  .memory-card {
    padding: 17px 15px;
  }

  .field input,
  .field textarea,
  .field select,
  .committee-admin-fields select,
  .committee-tools select,
  .committee-tools input {
    font-size: 16px;
  }

  .memory-wall {
    grid-template-columns: minmax(0, 1fr);
  }

  .memory-card,
  .admin-table-card {
    min-width: 0;
  }

  .live-comment > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .admin-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-heading .admin-logout {
    align-self: flex-start;
  }

  .admin-table-wrap {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .admin-table {
    min-width: 620px;
  }

  .page-footer {
    gap: 6px;
    padding-bottom: 20px;
  }
}
