:root {
  --black: #050505;
  --charcoal: #111111;
  --deep-gray: #1a1a1a;
  --red: #d61f26;
  --green: #138a36;
  --white: #f7f7f7;
  --soft-gray: #c8c8c8;
  --gold: #c9a44c;
  --gold-soft: rgba(201, 164, 76, 0.48);
  --line: rgba(247, 247, 247, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.umaa-site {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 72% 18%, rgba(214, 31, 38, 0.12), transparent 46%),
    radial-gradient(ellipse at 18% 80%, rgba(19, 138, 54, 0.1), transparent 44%),
    linear-gradient(135deg, #050505, #111111 48%, #050505);
}

.umaa-home {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.umaa-topbar {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.15vw, 18px);
  padding: 8px clamp(12px, 2.1vw, 32px);
  border-bottom: 1px solid rgba(201, 164, 76, 0.28);
  background: rgba(5, 5, 5, 0.96);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.umaa-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.umaa-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: contrast(1.14) saturate(1.06) brightness(1.04);
}

.umaa-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(3px, 0.45vw, 7px);
  min-width: 0;
}

.umaa-nav a,
.umaa-join-button {
  font-size: clamp(0.68rem, 0.72vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.065em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.umaa-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px clamp(7px, 0.68vw, 10px);
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(247, 247, 247, 0.78);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.umaa-nav a:hover,
.umaa-nav a:focus-visible {
  color: var(--white);
  border-color: rgba(247, 247, 247, 0.12);
  background: rgba(247, 247, 247, 0.08);
  transform: translateY(-1px);
}

.umaa-join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px clamp(13px, 1.05vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(214, 31, 38, 0.32);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.umaa-join-button:hover,
.umaa-join-button:focus-visible {
  background: #eb2931;
  box-shadow: 0 16px 36px rgba(214, 31, 38, 0.42);
  transform: translateY(-1px);
}

.traditional-hero {
  position: relative;
  min-height: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(14px, 2vw, 28px) clamp(18px, 3vw, 48px);
  background:
    radial-gradient(ellipse at 50% 46%, rgba(201, 164, 76, 0.09), transparent 52%),
    radial-gradient(ellipse at 50% 24%, rgba(214, 31, 38, 0.13), transparent 58%),
    radial-gradient(ellipse at 18% 48%, rgba(214, 31, 38, 0.1), transparent 48%),
    radial-gradient(ellipse at 82% 52%, rgba(19, 138, 54, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(17, 17, 17, 0.94) 58%, rgba(5, 5, 5, 0.98));
}

.traditional-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, rgba(5, 5, 5, 0.24) 0 38%, rgba(5, 5, 5, 0.5) 66%, rgba(5, 5, 5, 0.86) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.7), transparent 22%, transparent 78%, rgba(5, 5, 5, 0.7));
  pointer-events: none;
}

.history-image {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(38vw, 560px);
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.08) contrast(1.08) brightness(0.72) saturate(0.95);
  opacity: 0.58;
  pointer-events: none;
}

.history-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.3)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.4) 0 13%, transparent 34% 68%, rgba(5, 5, 5, 0.32) 100%),
    radial-gradient(ellipse at center, rgba(214, 31, 38, 0.14), rgba(5, 5, 5, 0.4));
}

.history-image-left {
  left: 0;
  background-image: url("../bruce_umaa_pic.jpg");
  background-position: 39% center;
  -webkit-mask-image: linear-gradient(90deg, #000 0 54%, rgba(0, 0, 0, 0.52) 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 54%, rgba(0, 0, 0, 0.52) 72%, transparent 100%);
}

.history-image-right {
  right: 0;
  background-image: url("../Baker_brothers.jpg");
  background-position: 58% center;
  -webkit-mask-image: linear-gradient(270deg, #000 0 54%, rgba(0, 0, 0, 0.52) 72%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0 54%, rgba(0, 0, 0, 0.52) 72%, transparent 100%);
}

.hero-centerpiece {
  display: grid;
  justify-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  margin-inline: auto;
}

.hero-seal-panel {
  position: relative;
  display: grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.hero-seal-panel::before {
  content: "";
  position: absolute;
  inset: 6% 2%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(201, 164, 76, 0.2), rgba(214, 31, 38, 0.1) 42%, transparent 68%);
  filter: blur(14px);
  opacity: 0.72;
}

.hero-seal {
  width: min(36vw, 370px);
  max-height: 34vh;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: contrast(1.18) saturate(1.08) brightness(1.05) drop-shadow(0 0 16px rgba(201, 164, 76, 0.18));
  transition: filter 180ms ease, transform 180ms ease;
}

.hero-seal-panel:hover .hero-seal,
.hero-seal-panel:focus-visible .hero-seal {
  filter: contrast(1.2) saturate(1.1) brightness(1.08) drop-shadow(0 0 24px rgba(201, 164, 76, 0.26));
  transform: translateY(-2px);
}

.kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: clamp(0.9rem, 1.05vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(201, 164, 76, 0.22);
}

.hero-centerpiece h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(2.25rem, 4.65vw, 5.05rem);
  line-height: 0.98;
  text-transform: uppercase;
  max-width: 19ch;
}

.hero-lines {
  display: grid;
  gap: 4px;
  margin: clamp(7px, 1vw, 12px) 0 0;
  color: var(--white);
  font-size: clamp(0.95rem, 1.2vw, 1.26rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.12;
}

.hero-lines span {
  display: block;
}

.hero-motto {
  margin: 8px 0 0;
  color: var(--gold);
  font-size: clamp(0.9rem, 1.15vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-purpose,
.hero-future {
  margin: 7px 0 0;
  color: rgba(247, 247, 247, 0.82);
  font-size: clamp(0.76rem, 0.9vw, 0.92rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-future {
  margin-top: 10px;
  color: rgba(201, 164, 76, 0.9);
  font-size: clamp(0.72rem, 0.86vw, 0.86rem);
}

.prestige-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: clamp(14px, 1.6vw, 18px);
  border: 1px solid rgba(201, 164, 76, 0.38);
  background: rgba(201, 164, 76, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.prestige-strip a {
  display: grid;
  gap: 5px;
  min-height: 72px;
  align-content: center;
  padding: 12px 16px;
  color: inherit;
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.prestige-strip a:hover,
.prestige-strip a:focus-visible {
  background: rgba(18, 18, 18, 0.86);
  transform: translateY(-2px);
}

.prestige-strip strong {
  color: var(--gold);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.prestige-strip span {
  color: var(--white);
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.umaa-subpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 12%, rgba(214, 31, 38, 0.13), transparent 30%),
    linear-gradient(135deg, #050505, #111111 52%, #050505);
}

.subpage-hero,
.subpage-content {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

.subpage-hero {
  padding: clamp(42px, 7vw, 82px) 0 24px;
  border-bottom: 1px solid var(--gold-soft);
}

.subpage-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.subpage-hero h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.subpage-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(247, 247, 247, 0.82);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.62;
}

.subpage-content {
  display: grid;
  gap: 18px;
  padding: 30px 0 72px;
}

.clean-sections {
  gap: 22px;
}

.clean-sections > section {
  padding-block: 2px 18px;
  border-bottom: 1px solid rgba(201, 164, 76, 0.22);
}

.clean-sections > section:last-child {
  border-bottom: 0;
}

.clean-sections h2 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: clamp(1.18rem, 1.8vw, 1.72rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.clean-sections p {
  max-width: 920px;
  margin: 0;
  color: var(--soft-gray);
  font-size: 1rem;
  line-height: 1.72;
}

.clean-sections p + p {
  margin-top: 12px;
}

.clean-sections ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--soft-gray);
  line-height: 1.65;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.library-grid.compact {
  margin-top: 14px;
}

.library-grid.single-card {
  grid-template-columns: minmax(0, 560px);
}

.library-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(201, 164, 76, 0.28);
  color: var(--white);
  background: rgba(247, 247, 247, 0.055);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.library-card:hover,
.library-card:focus-visible {
  border-color: rgba(201, 164, 76, 0.68);
  background: rgba(247, 247, 247, 0.08);
  transform: translateY(-2px);
}

.library-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.library-card h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.08;
}

.library-card p {
  margin: 0;
  color: var(--soft-gray);
  font-size: 0.95rem;
  line-height: 1.55;
}

.content-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(201, 164, 76, 0.32);
  background: rgba(247, 247, 247, 0.055);
}

.content-panel h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  text-transform: uppercase;
}

.content-panel p,
.content-panel li {
  color: var(--soft-gray);
  font-size: 1rem;
  line-height: 1.72;
}

.content-panel p {
  margin: 0;
}

.content-panel p + p {
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 164, 76, 0.38);
  border-radius: 999px;
  color: var(--white);
  background: rgba(214, 31, 38, 0.14);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: rgba(201, 164, 76, 0.72);
  background: rgba(214, 31, 38, 0.22);
}

.content-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.path-grid,
.fee-grid,
.request-grid,
.page-actions,
.leadership-grid,
.resource-links {
  display: grid;
  gap: 14px;
}

.path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.path-grid section,
.path-card,
.fee-grid div,
.request-grid span {
  border: 1px solid rgba(201, 164, 76, 0.24);
  background: rgba(5, 5, 5, 0.32);
}

.path-grid section,
.path-card {
  padding: 20px;
}

.path-card {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.path-card:hover,
.path-card:focus-visible {
  border-color: rgba(201, 164, 76, 0.62);
  background: rgba(20, 20, 20, 0.72);
  transform: translateY(-2px);
}

.path-grid h3,
.path-card h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-card p {
  margin: 0 0 16px;
}

.path-card span {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fee-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.fee-grid div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.fee-grid strong,
.fee-grid span,
.request-grid span {
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 900;
}

.fee-grid span {
  color: var(--gold);
  white-space: nowrap;
}

.request-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.request-grid span {
  padding: 14px 16px;
  color: var(--soft-gray);
}

.page-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leadership-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leader-card {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(201, 164, 76, 0.24);
  background: rgba(5, 5, 5, 0.32);
}

.leader-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  border: 1px solid rgba(201, 164, 76, 0.28);
  background:
    radial-gradient(circle at 50% 36%, rgba(201, 164, 76, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(247, 247, 247, 0.08), rgba(5, 5, 5, 0.4));
}

.leader-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.leader-card p {
  margin: 0 0 10px;
  color: var(--soft-gray);
  font-size: 0.9rem;
  line-height: 1.45;
}

.leader-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-links a {
  padding: 14px 16px;
  border: 1px solid rgba(201, 164, 76, 0.24);
  color: var(--white);
  background: rgba(5, 5, 5, 0.32);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.resource-links a:hover,
.resource-links a:focus-visible {
  border-color: rgba(201, 164, 76, 0.62);
  background: rgba(20, 20, 20, 0.72);
  transform: translateY(-2px);
}

.archive-narrative .history-section,
.archive-narrative > section {
  border: 1px solid rgba(201, 164, 76, 0.24);
  background: rgba(5, 5, 5, 0.34);
  box-shadow: none;
}

.archive-narrative .history-section h2,
.archive-narrative > section h2 {
  color: var(--red);
}

.archive-narrative .section-content li,
.archive-narrative .source-archive p,
.archive-narrative p {
  color: var(--soft-gray);
}

.reader-buttons,
.directory-grid,
.event-list,
.publication-grid,
.application-fields,
.info-grid {
  display: grid;
  gap: 14px;
}

.reader-buttons,
.directory-grid,
.publication-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reader-buttons button,
.directory-grid article,
.event-list article,
.publication-grid span,
.application-fields label,
.info-grid div {
  border: 1px solid rgba(201, 164, 76, 0.24);
  background: rgba(5, 5, 5, 0.32);
  color: var(--white);
}

.reader-buttons button {
  min-height: 54px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.directory-grid article,
.event-list article,
.publication-grid span,
.application-fields label,
.info-grid div {
  padding: 16px;
}

.directory-grid h3,
.event-list h3 {
  margin: 6px 0;
  color: var(--white);
}

.directory-grid p,
.directory-grid small,
.event-list p,
.info-grid span {
  color: var(--soft-gray);
  line-height: 1.55;
}

.directory-grid strong,
.event-list strong,
.info-grid strong {
  color: var(--gold);
  text-transform: uppercase;
}

.schools-page .record-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.school-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 26px;
  align-items: start;
}

.school-facts,
.school-record dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.school-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.school-facts div,
.school-record dl div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 164, 76, 0.2);
}

.school-facts dt,
.school-record dt {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.school-facts dd,
.school-record dd {
  margin: 0;
  color: var(--soft-gray);
  line-height: 1.55;
}

.school-flyer {
  grid-column: 2;
  width: min(100%, 420px);
  margin: 6px 0 0;
  padding: 14px;
  justify-self: start;
  border: 1px solid rgba(201, 164, 76, 0.35);
  background: rgba(0, 0, 0, 0.25);
}

.school-flyer img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.school-flyer figcaption {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.school-record-list,
.legacy-location-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(201, 164, 76, 0.28);
}

.school-record,
.legacy-location-list article {
  display: grid;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(201, 164, 76, 0.2);
}

.school-record {
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 1fr);
}

.school-record h3,
.legacy-location-list h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.04rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.school-record p,
.legacy-location-list p {
  margin: 0;
  color: var(--soft-gray);
  line-height: 1.65;
}

.legacy-location-list article {
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.35fr) minmax(0, 1fr);
  align-items: start;
}

.legacy-location-list small {
  color: var(--soft-gray);
  line-height: 1.55;
}

.event-flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.event-flyer-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 76, 0.22);
  background: rgba(5, 5, 5, 0.34);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.event-flyer-image {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 15%, rgba(214, 31, 38, 0.16), transparent 52%),
    rgba(0, 0, 0, 0.46);
}

.event-flyer-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.event-flyer-details {
  padding: 18px;
  border-top: 1px solid rgba(201, 164, 76, 0.2);
}

.event-flyer-details > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-flyer-details h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  line-height: 1.18;
  text-transform: uppercase;
}

.event-flyer-details p {
  margin-bottom: 12px;
}

.event-flyer-details dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.event-flyer-details dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(201, 164, 76, 0.16);
}

.event-flyer-details dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.event-flyer-details dd {
  margin: 0;
  color: var(--soft-gray);
  line-height: 1.45;
}

.event-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-category-list span {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(201, 164, 76, 0.42);
  color: var(--white);
  background: rgba(5, 5, 5, 0.22);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-notice {
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(5, 5, 5, 0.28);
}

.media-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.media-record-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(201, 164, 76, 0.22);
  background:
    linear-gradient(180deg, rgba(247, 247, 247, 0.045), rgba(5, 5, 5, 0.18)),
    rgba(5, 5, 5, 0.32);
}

.media-record-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.media-record-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.24;
  text-transform: uppercase;
}

.media-record-card p {
  margin: 0;
  color: var(--soft-gray);
  font-size: 0.95rem;
  line-height: 1.58;
}

.media-record-card strong {
  color: var(--gold);
}

.media-record-card a {
  width: fit-content;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid rgba(201, 164, 76, 0.34);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.media-record-card a + a {
  margin-top: 0;
}

.media-row-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid rgba(201, 164, 76, 0.24);
}

.media-row-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 164, 76, 0.18);
}

.media-row-list h3 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.media-row-list p,
.media-research-note {
  margin: 0;
  color: var(--soft-gray);
  line-height: 1.6;
}

.media-research-note {
  margin-top: 16px;
  font-style: italic;
}

.contact-note {
  margin-top: 14px;
  color: var(--soft-gray);
  font-size: 0.96rem;
  line-height: 1.65;
}

.contact-status-messages {
  display: none;
}

.contact-status-messages.is-visible {
  display: block;
}

.contact-status-messages p {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(5, 5, 5, 0.3);
  color: var(--white);
}

body:has(.contact-page) .contact-success,
body:has(.contact-page) .contact-error {
  display: none;
}

body:has(.contact-page):has(:target) .contact-status-messages {
  display: block;
}

.umaa-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.umaa-contact-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.umaa-contact-form input,
.umaa-contact-form select,
.umaa-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(201, 164, 76, 0.26);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.42);
  color: var(--white);
  font: inherit;
  font-size: 0.98rem;
  letter-spacing: 0;
  padding: 12px 13px;
}

.umaa-contact-form textarea {
  resize: vertical;
}

.umaa-contact-form .message-field,
.umaa-contact-form button {
  grid-column: 1 / -1;
}

.umaa-contact-form button {
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(201, 164, 76, 0.5);
  background: rgba(214, 31, 38, 0.88);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.application-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.application-fields span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.application-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(247, 247, 247, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
}

.modal-open {
  overflow: hidden;
}

.library-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
}

.library-modal[hidden] {
  display: none;
}

.library-modal-panel {
  width: min(860px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(201, 164, 76, 0.48);
  background: #080808;
  box-shadow: var(--shadow);
}

.modal-close {
  float: right;
  border: 1px solid rgba(201, 164, 76, 0.44);
  background: rgba(214, 31, 38, 0.18);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-body {
  color: var(--soft-gray);
  line-height: 1.7;
}

.archive-preview-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(214, 31, 38, 0.12), transparent 32%),
    radial-gradient(circle at 84% 20%, rgba(201, 164, 76, 0.09), transparent 34%),
    linear-gradient(135deg, #050505, #111111 48%, #050505);
}

.archive-preview-hero,
.archive-preview-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.archive-preview-hero {
  padding: clamp(48px, 7vw, 92px) 0 30px;
  border-bottom: 1px solid rgba(201, 164, 76, 0.28);
}

.archive-preview-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--red);
  font-size: clamp(2.35rem, 5.6vw, 5.65rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.archive-preview-hero p:last-child {
  max-width: 860px;
  margin: 18px 0 0;
  color: rgba(247, 247, 247, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.archive-preview-content {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  padding: clamp(28px, 5vw, 58px) 0 70px;
}

.archive-opening,
.archive-full-story,
.knowledge-reader,
.knowledge-tree {
  border: 1px solid rgba(201, 164, 76, 0.24);
  background:
    linear-gradient(180deg, rgba(247, 247, 247, 0.055), rgba(247, 247, 247, 0.025)),
    rgba(5, 5, 5, 0.46);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.archive-opening,
.archive-full-story,
.knowledge-reader {
  padding: clamp(24px, 4vw, 44px);
}

.archive-opening h2,
.archive-full-story h2,
.knowledge-reader h2,
.knowledge-tree h2 {
  margin: 0 0 16px;
  color: var(--red);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.archive-opening p,
.archive-full-story p,
.knowledge-reader p {
  margin: 0 0 17px;
  color: var(--soft-gray);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.75;
}

.archive-opening p:last-child,
.archive-full-story p:last-child,
.knowledge-reader p:last-child {
  margin-bottom: 0;
}

.knowledge-library {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 32px);
}

.knowledge-tree {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 20px;
}

.knowledge-tree h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.tree-group {
  display: grid;
  gap: 8px;
  padding: 15px 0;
  border-top: 1px solid rgba(201, 164, 76, 0.22);
}

.tree-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.tree-group h3,
.reader-label {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tree-group button {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid rgba(201, 164, 76, 0.18);
  border-radius: 0;
  background: rgba(247, 247, 247, 0.045);
  color: rgba(247, 247, 247, 0.84);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.tree-group button:hover,
.tree-group button:focus-visible,
.tree-group button.is-active {
  border-color: rgba(201, 164, 76, 0.62);
  background: rgba(214, 31, 38, 0.16);
  color: var(--white);
}

.tree-group button.is-active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.knowledge-reader {
  min-height: 680px;
}

.knowledge-reader h2 {
  margin-bottom: 20px;
}

.registry-page,
.profile-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 31, 38, 0.11), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(201, 164, 76, 0.08), transparent 34%),
    linear-gradient(135deg, #050505, #111111 52%, #050505);
}

.registry-records {
  display: grid;
  gap: clamp(22px, 3.2vw, 34px);
}

.registry-intro,
.registry-panel {
  border: 1px solid rgba(201, 164, 76, 0.24);
  background:
    linear-gradient(180deg, rgba(247, 247, 247, 0.055), rgba(247, 247, 247, 0.025)),
    rgba(5, 5, 5, 0.45);
  padding: clamp(22px, 3.5vw, 36px);
}

.registry-intro h2,
.registry-panel h2 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: clamp(1.45rem, 2.35vw, 2.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.registry-intro p,
.registry-panel p,
.school-record dd,
.profile-record dd {
  color: var(--soft-gray);
  line-height: 1.68;
}

.registry-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(201, 164, 76, 0.36);
  background: rgba(201, 164, 76, 0.22);
}

.registry-metrics div {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 112px;
  padding: 18px;
  background: rgba(7, 7, 7, 0.82);
}

.registry-metrics strong {
  color: var(--gold);
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1;
  text-transform: uppercase;
}

.registry-metrics span {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.registry-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(201, 164, 76, 0.2);
}

.registry-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--white);
}

.registry-table th,
.registry-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(201, 164, 76, 0.16);
  text-align: left;
  vertical-align: top;
}

.registry-table th {
  color: var(--gold);
  background: rgba(5, 5, 5, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.registry-table td {
  color: var(--soft-gray);
  line-height: 1.48;
}

.registry-table a,
.registry-card-grid a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.registry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.registry-card-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.registry-card-grid article {
  border: 1px solid rgba(201, 164, 76, 0.2);
  background: rgba(5, 5, 5, 0.34);
  padding: 18px;
}

.public-directory-grid {
  align-items: stretch;
}

.public-profile-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.public-profile-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 76, 0.22);
}

.record-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.registry-card-grid h3,
.school-record h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.04rem;
  line-height: 1.25;
}

.registry-card-grid p {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.school-record dl,
.profile-record dl {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.school-record dl div,
.profile-record dl div {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 164, 76, 0.16);
}

.school-record dt,
.profile-record dt {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-record dd,
.profile-record dd {
  margin: 0;
}

.public-profile-detail {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(201, 164, 76, 0.24);
  background:
    linear-gradient(180deg, rgba(247, 247, 247, 0.055), rgba(247, 247, 247, 0.025)),
    rgba(5, 5, 5, 0.45);
  padding: clamp(22px, 3.5vw, 36px);
}

.profile-main-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 76, 0.28);
  background: rgba(5, 5, 5, 0.4);
}

.profile-detail-body h2 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.profile-detail-body h3 {
  margin: 22px 0 10px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-detail-body p,
.profile-detail-body li {
  color: var(--soft-gray);
  line-height: 1.68;
}

.profile-detail-body dl {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.profile-detail-body dl div {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 164, 76, 0.16);
}

.profile-detail-body dt {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-detail-body dd {
  margin: 0;
  color: var(--soft-gray);
  line-height: 1.68;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 76, 0.22);
}

.registry-gallery-page .registry-hero p:last-child {
  max-width: 820px;
}

.registry-gallery-panel {
  border-color: rgba(201, 164, 76, 0.34);
  background:
    radial-gradient(circle at 15% 0%, rgba(214, 31, 38, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(247, 247, 247, 0.06), rgba(247, 247, 247, 0.025)),
    rgba(5, 5, 5, 0.5);
}

.registry-profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 20px;
}

.registry-navigator {
  position: relative;
}

.registry-navigator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.registry-authority-statement {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(201, 164, 76, 0.28);
  background:
    linear-gradient(135deg, rgba(214, 31, 38, 0.09), transparent 48%),
    rgba(5, 5, 5, 0.66);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.registry-authority-statement h2 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.registry-authority-statement p:not(.subpage-kicker) {
  max-width: 980px;
  color: var(--soft-gray);
  font-size: 1rem;
  line-height: 1.75;
}

.registry-index-tree {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.registry-navigator-grid button,
.registry-controls button {
  min-height: 42px;
  border: 1px solid rgba(201, 164, 76, 0.36);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.58);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.registry-navigator-grid button:hover,
.registry-controls button:hover {
  border-color: rgba(201, 164, 76, 0.78);
  background: rgba(214, 31, 38, 0.18);
  transform: translateY(-1px);
}

.registry-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 12px;
}

.registry-controls label {
  display: grid;
  gap: 7px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registry-controls input,
.registry-controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(201, 164, 76, 0.25);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.62);
  color: var(--white);
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0;
  outline: none;
  padding: 0 12px;
  text-transform: none;
}

.registry-controls input:focus,
.registry-controls select:focus {
  border-color: rgba(201, 164, 76, 0.82);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.14);
}

.registry-result-count {
  color: var(--soft-gray);
  font-size: 0.9rem;
  margin: 0 0 12px;
}

.leadership-records-panel {
  border-color: rgba(214, 31, 38, 0.42);
}

.registry-name-finder {
  max-width: 460px;
  margin: 18px 0 20px;
}

.registry-name-finder label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registry-name-finder input {
  min-height: 44px;
  border: 1px solid rgba(201, 164, 76, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  color: var(--white);
  font: inherit;
  font-size: 0.96rem;
  letter-spacing: 0;
  outline: none;
  padding: 0 16px;
  text-transform: none;
}

.registry-name-finder input:focus {
  border-color: rgba(201, 164, 76, 0.82);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.14);
}

.registry-finder-status {
  color: var(--soft-gray);
  font-size: 0.9rem;
  margin: 8px 0 0;
}

.rank-record-groups {
  display: grid;
  gap: 14px;
}

.rank-record-group {
  border: 1px solid rgba(201, 164, 76, 0.24);
  background: rgba(5, 5, 5, 0.38);
}

.rank-record-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

.rank-record-group summary::-webkit-details-marker {
  display: none;
}

.rank-record-group summary strong {
  color: var(--gold);
  font-size: 0.76rem;
  white-space: nowrap;
}

.rank-record-group[open] summary {
  border-bottom: 1px solid rgba(201, 164, 76, 0.18);
  background: rgba(214, 31, 38, 0.08);
}

.rank-record-group .registry-table-wrap {
  margin: 0;
}

.registry-row-match {
  background: rgba(201, 164, 76, 0.12);
  outline: 1px solid rgba(201, 164, 76, 0.46);
  outline-offset: -1px;
}

.registry-library-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(42px, 7vw, 78px);
  align-items: start;
}

.registry-knowledge-tree {
  position: sticky;
  top: 18px;
  padding: 0 18px 0 0;
  border-right: 1px solid rgba(201, 164, 76, 0.28);
}

.registry-knowledge-tree h2 {
  margin: 0 0 18px;
  color: var(--red);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.registry-tree-nav {
  display: grid;
  gap: 5px;
}

.registry-tree-nav button {
  width: 100%;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--soft-gray);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  padding: 8px 10px;
  text-align: left;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.registry-tree-nav button:hover,
.registry-tree-nav button.is-active {
  border-left-color: var(--gold);
  background: rgba(201, 164, 76, 0.08);
  color: var(--white);
}

.registry-tree-branch {
  display: grid;
  gap: 2px;
  margin: 2px 0 8px 14px;
  padding-left: 10px;
  border-left: 1px solid rgba(201, 164, 76, 0.2);
}

.registry-tree-branch button {
  color: rgba(247, 247, 247, 0.68);
  font-size: 0.74rem;
  font-weight: 750;
  padding-block: 6px;
}

.registry-reader-panels {
  min-width: 0;
}

.registry-reader-section[hidden] {
  display: none;
}

.registry-reader-section {
  animation: registryPanelIn 180ms ease-out;
}

@keyframes registryPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registry-reader-panels .registry-panel,
.registry-reader-panels .registry-authority-statement {
  width: 100%;
  margin: 0;
  border-color: rgba(201, 164, 76, 0.16);
  background:
    linear-gradient(135deg, rgba(214, 31, 38, 0.055), transparent 36%),
    rgba(5, 5, 5, 0.28);
  box-shadow: none;
}

.registry-reader-panels .registry-panel {
  padding: clamp(20px, 3.4vw, 34px) 0;
  border-width: 1px 0 0;
}

.registry-reader-panels .registry-panel > .subpage-kicker,
.registry-reader-panels .registry-panel > h2,
.registry-reader-panels .registry-panel > .registry-name-finder,
.registry-reader-panels .registry-panel > .rank-record-groups,
.registry-reader-panels .registry-panel > .registry-table-wrap,
.registry-reader-panels .registry-panel > .notable-registry-grid,
.registry-reader-panels .registry-panel > .registry-profile-gallery-grid {
  margin-left: clamp(18px, 3vw, 30px);
  margin-right: clamp(18px, 3vw, 30px);
}

.registry-reader-panels .registry-authority-statement {
  padding: clamp(22px, 4vw, 38px);
}

.registry-reader-panels .registry-profile-card {
  border-color: rgba(201, 164, 76, 0.16);
  background: rgba(5, 5, 5, 0.28);
}

.registry-reader-panels .registry-profile-card[open] {
  border-color: rgba(201, 164, 76, 0.42);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 31, 38, 0.07), transparent 36%),
    rgba(5, 5, 5, 0.42);
}

.registry-reader-panels .rank-record-group {
  border-color: rgba(201, 164, 76, 0.16);
  background: rgba(5, 5, 5, 0.22);
}

.registry-reader-panels .registry-table-wrap {
  border-color: rgba(201, 164, 76, 0.14);
}

.registry-profile-card {
  border: 1px solid rgba(201, 164, 76, 0.24);
  background: rgba(5, 5, 5, 0.42);
  color: var(--white);
  overflow: hidden;
}

.registry-profile-card[open] {
  grid-column: 1 / -1;
  border-color: rgba(201, 164, 76, 0.58);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 31, 38, 0.09), transparent 36%),
    rgba(5, 5, 5, 0.54);
}

.registry-profile-card summary {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 20px;
  min-height: 244px;
  padding: 20px;
  list-style: none;
  cursor: pointer;
}

.registry-profile-card summary::-webkit-details-marker {
  display: none;
}

.registry-profile-card summary > img {
  width: 100%;
  height: 204px;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 76, 0.28);
  background: rgba(5, 5, 5, 0.52);
}

.profile-card-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.profile-card-copy strong {
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.16;
  text-transform: uppercase;
}

.profile-card-copy em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.profile-card-copy span {
  color: var(--soft-gray);
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.profile-card-copy b {
  align-self: end;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.registry-profile-card[open] .profile-card-copy b {
  color: var(--gold);
}

.registry-profile-expanded {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  padding: 8px clamp(18px, 3vw, 30px) clamp(24px, 3vw, 36px);
}

.registry-profile-lead {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 76, 0.34);
  background: rgba(5, 5, 5, 0.5);
}

.registry-profile-expanded h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.registry-profile-expanded p {
  color: var(--soft-gray);
  line-height: 1.72;
}

.registry-profile-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.registry-profile-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 76, 0.22);
  background: rgba(5, 5, 5, 0.45);
}

.compact-registry-table {
  min-width: 520px;
}

.notable-registry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notable-registry-grid article {
  padding: 18px;
  border-left: 3px solid rgba(201, 164, 76, 0.62);
  background:
    linear-gradient(90deg, rgba(214, 31, 38, 0.1), transparent 50%),
    rgba(5, 5, 5, 0.34);
}

.notable-registry-grid h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.notable-registry-grid p {
  margin: 0;
  color: var(--soft-gray);
  line-height: 1.58;
}

@media (max-width: 980px) {
  .registry-metrics,
  .registry-card-grid,
  .registry-card-grid.compact,
  .registry-profile-gallery-grid,
  .notable-registry-grid {
    grid-template-columns: 1fr;
  }

  .registry-navigator-grid,
  .registry-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registry-index-tree {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .registry-library-layout {
    grid-template-columns: 1fr;
  }

  .registry-knowledge-tree {
    position: static;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 164, 76, 0.22);
  }

  .registry-tree-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registry-tree-branch {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .registry-metrics,
  .registry-card-grid,
  .registry-card-grid.compact,
  .registry-profile-gallery-grid,
  .registry-profile-expanded,
  .registry-profile-gallery,
  .notable-registry-grid,
  .public-profile-detail,
  .profile-gallery {
    grid-template-columns: 1fr;
  }

  .registry-navigator-grid,
  .registry-controls {
    grid-template-columns: 1fr;
  }

  .registry-index-tree {
    grid-template-columns: 1fr;
  }

  .registry-tree-nav,
  .registry-tree-branch {
    grid-template-columns: 1fr;
  }

  .rank-record-group summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .registry-profile-card summary {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .registry-profile-card summary > img {
    height: auto;
    max-height: 360px;
    aspect-ratio: 4 / 3;
  }

  .section-heading-row {
    display: grid;
  }

  .school-record dl div,
  .profile-record dl div,
  .profile-detail-body dl div {
    grid-template-columns: 1fr;
  }

  .registry-black-belt-table,
  .registry-black-belt-table thead,
  .registry-black-belt-table tbody,
  .registry-black-belt-table tr,
  .registry-black-belt-table th,
  .registry-black-belt-table td {
    display: block;
    width: 100%;
  }

  .registry-black-belt-table thead {
    display: none;
  }

  .registry-black-belt-table tr {
    border-bottom: 1px solid rgba(201, 164, 76, 0.22);
    padding: 12px 0;
  }

  .registry-black-belt-table td {
    display: grid;
    grid-template-columns: minmax(108px, 0.36fr) minmax(0, 1fr);
    gap: 12px;
    border-bottom: 0;
    padding: 7px 12px;
  }

  .registry-black-belt-table td::before {
    color: var(--gold);
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media (max-width: 900px) {
  .knowledge-library {
    grid-template-columns: 1fr;
  }

  .knowledge-tree {
    position: static;
    max-height: none;
  }
}

.history-page-body {
  background: #f4f5f7;
  color: #171a20;
}

.history-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(214, 31, 38, 0.12), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(19, 138, 54, 0.1), transparent 32%),
    #f4f5f7;
}

.history-hero {
  padding: 42px max(22px, calc((100vw - 1180px) / 2)) 52px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.98), rgba(17, 17, 17, 0.96)),
    var(--black);
}

.history-back {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 164, 76, 0.48);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.history-hero img {
  display: block;
  width: min(190px, 44vw);
  margin-bottom: 24px;
  filter: contrast(1.16) saturate(1.08) brightness(1.04);
}

.history-hero p {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--red);
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.history-hero span {
  display: block;
  max-width: 760px;
  margin-top: 18px;
  color: rgba(247, 247, 247, 0.75);
}

.history-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto;
}

.history-nav a {
  padding: 12px 14px;
  color: #171a20;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(5, 6, 8, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.history-section {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto;
  padding: 30px;
  border: 1px solid #d9dee6;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(5, 6, 8, 0.08);
}

.history-section h2 {
  margin: 0;
  color: #050505;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.section-content {
  margin-top: 18px;
}

.section-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.section-content li,
.source-archive p {
  color: #3f4652;
  font-size: 1rem;
}

.complete-source {
  margin-bottom: 70px;
  border-top: 8px solid var(--gold);
}

.source-note {
  max-width: 860px;
  color: #586170;
  font-weight: 800;
}

.source-archive {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.source-archive h3 {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d9dee6;
  color: var(--red);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.source-archive p {
  margin: 0;
  line-height: 1.72;
}

@media (max-width: 1120px) {
  .umaa-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .umaa-nav {
    flex-wrap: wrap;
  }

  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .umaa-brand span {
    display: none;
  }

  .traditional-hero {
    min-height: auto;
    padding: 26px 18px 34px;
  }

  .history-image {
    width: 54vw;
    opacity: 0.22;
  }

  .hero-centerpiece h1 {
    font-size: clamp(2.25rem, 12vw, 4.25rem);
    max-width: 12ch;
  }

  .hero-seal {
    width: min(72vw, 320px);
    max-height: 34vh;
  }

  .hero-lines {
    font-size: clamp(0.92rem, 4.2vw, 1.12rem);
    letter-spacing: 0.06em;
  }

  .prestige-strip {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
  }

.prestige-strip a {
    min-height: 70px;
  }

  .path-grid,
  .fee-grid,
  .request-grid,
  .page-actions,
  .leadership-grid,
  .resource-links,
  .reader-buttons,
  .directory-grid,
  .publication-grid,
  .application-fields,
  .info-grid,
  .library-grid {
    grid-template-columns: 1fr;
  }

  .history-nav {
    grid-template-columns: 1fr;
  }

  .school-feature,
  .school-record,
  .legacy-location-list article,
  .event-flyer-grid,
  .media-card-grid,
  .media-row-list article {
    grid-template-columns: 1fr;
  }

  .school-facts {
    grid-template-columns: 1fr;
  }

  .school-flyer {
    grid-column: auto;
    width: 100%;
    max-width: 420px;
  }

  .event-flyer-image {
    min-height: 220px;
  }

  .event-flyer-details dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .history-section {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .umaa-topbar {
    gap: 12px;
    padding-inline: 14px;
  }

  .umaa-nav {
    gap: 6px;
  }

  .umaa-nav a,
  .umaa-join-button {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .umaa-nav a {
    min-height: 34px;
    padding: 8px 9px;
  }

  .umaa-join-button {
    min-height: 38px;
    padding: 9px 14px;
  }

  .traditional-hero {
    padding-block: 22px 30px;
  }

  .kicker {
    font-size: 0.66rem;
  }

  .hero-centerpiece h1 {
    font-size: clamp(2rem, 13vw, 3.35rem);
  }

  .hero-seal {
    width: min(78vw, 280px);
  }
}

.umaa-site-signature {
  margin: 28px auto 0;
  padding: 20px 18px 26px;
  max-width: 1080px;
  border-top: 1px solid rgba(201, 164, 76, 0.34);
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.umaa-site-signature p {
  margin: 0 auto;
  max-width: 860px;
  font-size: 0.78rem;
  line-height: 1.55;
}

.umaa-site-signature p + p {
  margin-top: 6px;
  color: var(--umaa-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}


/* UMAA_PORTAL_GUEST_NAV_PATCH */
.umaa-guest-wall-nav-link,.umaa-member-portal-nav-link{font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;text-decoration:none!important;white-space:nowrap!important;}
.umaa-guest-wall-nav-link{color:#f4d06f!important;}
.umaa-member-portal-nav-link{color:#fff!important;border:1px solid rgba(244,208,111,.42)!important;border-radius:999px!important;padding:.55rem .9rem!important;background:rgba(244,208,111,.08)!important;}
.umaa-guest-wall-nav-link:hover,.umaa-member-portal-nav-link:hover{color:#fff!important;}
.umaa-guest-wall-sign-section{max-width:920px;margin:72px auto 64px;padding:34px 28px;text-align:center;border:1px solid rgba(244,208,111,.35);border-radius:18px;background:rgba(0,0,0,.48);}
.umaa-guest-wall-sign-section h2{margin:0 0 10px;color:#f4d06f;text-transform:uppercase;letter-spacing:.09em;}
.umaa-guest-wall-sign-section p{margin:0 auto 22px;max-width:680px;color:rgba(255,255,255,.82);line-height:1.55;}
.umaa-guest-wall-sign-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;background:#d71f28;color:#fff!important;text-decoration:none!important;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
