:root {
  --uspb-navy: #0b1d36;
  --uspb-navy-deep: #071325;
  --uspb-navy-mid: #163258;
  --uspb-gold: #c5a572;
  --uspb-gold-bright: #d7bc88;
  --uspb-cream: #f6f1e6;
  --uspb-parchment: #fbf8f2;
  --uspb-ink: #1a1f2b;
  --uspb-muted: #5b6472;
  --uspb-rule: #d9c9a8;
  --uspb-white: #ffffff;
  --uspb-red: #8b1e2d;
  --uspb-max: 1120px;
  --uspb-serif: "Libre Baskerville", "Times New Roman", serif;
  --uspb-sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--uspb-ink);
  background: var(--uspb-parchment);
  font-family: var(--uspb-sans);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--uspb-navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--uspb-red);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--uspb-max), calc(100% - 48px));
  margin: 0 auto;
}

/* Official top banner */
.official-banner {
  background: var(--uspb-navy);
  color: var(--uspb-cream);
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(197, 165, 114, 0.35);
}

.official-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 6px 0;
}

.official-banner strong {
  color: var(--uspb-gold-bright);
  font-weight: 600;
}

.official-banner .banner-watch {
  display: inline-flex;
  align-items: center;
  background: var(--uspb-gold);
  color: var(--uspb-navy-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 12px;
  line-height: 1.2;
}

.official-banner .banner-watch:hover {
  background: var(--uspb-gold-bright);
  color: var(--uspb-navy-deep);
  text-decoration: none;
}

/* Header */
.site-header {
  background: var(--uspb-navy-deep);
  color: var(--uspb-white);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(7, 19, 37, 0.25);
}

.site-header .wrap.header-inner {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-height: 92px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--uspb-white);
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.brand:hover {
  color: var(--uspb-gold-bright);
}

.brand-mark {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--uspb-gold);
  font-weight: 600;
}

.brand-name {
  font-family: var(--uspb-serif);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uspb-desktop-nav ul,
.primary-nav .uspb-desktop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px 16px;
  align-items: center;
}

.uspb-mobile-nav,
.primary-nav .uspb-mobile-custom {
  display: none !important;
}

.primary-nav a {
  color: #e8e4d8;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--uspb-gold-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-family: var(--uspb-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-gold {
  background: var(--uspb-gold);
  color: var(--uspb-navy-deep);
}

.btn-gold:hover {
  background: var(--uspb-gold-bright);
  color: var(--uspb-navy-deep);
}

.btn-outline {
  border-color: var(--uspb-gold);
  color: var(--uspb-gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--uspb-gold);
  color: var(--uspb-navy-deep);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--uspb-gold);
  color: var(--uspb-gold);
  padding: 8px 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7, 19, 37, 0.28) 0%, rgba(7, 19, 37, 0.72) 100%),
    linear-gradient(90deg, #0b1d36 0%, #163258 55%, #3a1d2a 100%);
  color: var(--uspb-white);
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--uspb-gold), var(--uspb-gold-bright), var(--uspb-gold));
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 64px;
}

.hero-kicker {
  color: var(--uspb-gold-bright);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 16px;
}

.hero h1 {
  font-family: var(--uspb-serif);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 16ch;
  font-weight: 700;
  color: var(--uspb-white);
}

.hero-lead {
  max-width: 42rem;
  font-size: 20px;
  color: #efe8d8;
  margin: 0 0 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-bottom: 32px;
}

.meta-block span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--uspb-gold);
}

.meta-block strong {
  font-family: var(--uspb-serif);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-cream {
  background: var(--uspb-cream);
}

.section-navy {
  background: var(--uspb-navy);
  color: var(--uspb-cream);
}

.section-white {
  background: var(--uspb-white);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  color: var(--uspb-gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 10px;
}

.section-navy .eyebrow {
  color: var(--uspb-gold-bright);
}

h1, h2, h3, h4 {
  font-family: var(--uspb-serif);
  line-height: 1.25;
  color: var(--uspb-navy);
}

.section-navy h2,
.section-navy h3 {
  color: var(--uspb-white);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
}

h3 {
  font-size: 24px;
  margin: 0 0 10px;
}

.gold-rule {
  width: 72px;
  height: 2px;
  background: var(--uspb-gold);
  border: 0;
  margin: 0 0 20px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 28px;
}

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

.card {
  background: var(--uspb-white);
  border: 1px solid var(--uspb-rule);
  padding: 28px;
}

.section-navy .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(197, 165, 114, 0.28);
  color: var(--uspb-cream);
}

.portrait-card {
  text-align: center;
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: linear-gradient(180deg, #163258, #0b1d36);
  margin-bottom: 16px;
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  color: var(--uspb-gold-bright);
  font-family: var(--uspb-serif);
  min-height: 280px;
}

.person-card .portrait,
.portrait-card .portrait {
  margin-bottom: 16px;
}

.person-bio p:last-child {
  margin-bottom: 0;
}

.admin-hint {
  font-size: 14px;
  color: var(--uspb-muted);
  margin-top: 24px;
}

.stat {
  text-align: center;
  padding: 12px;
}

.stat b {
  display: block;
  font-family: var(--uspb-serif);
  font-size: 40px;
  color: var(--uspb-gold);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

blockquote.pull {
  margin: 0;
  padding: 24px 28px;
  font-family: var(--uspb-serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
  color: var(--uspb-white);
  background: var(--uspb-navy-deep);
}

blockquote.pull cite {
  color: var(--uspb-cream);
}

cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uspb-muted);
}

/* Page header */
.page-hero {
  background: var(--uspb-navy);
  color: var(--uspb-white);
  padding: 56px 0 48px;
  border-bottom: 4px solid var(--uspb-gold);
}

.page-hero h1 {
  color: var(--uspb-white);
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
}

.page-hero p {
  max-width: 42rem;
  color: #efe8d8;
  margin: 14px 0 0;
}

/* Content */
.entry-content p {
  margin: 0 0 1.1em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.6em;
}

.history-timeline {
  border-left: 2px solid var(--uspb-gold);
  padding-left: 24px;
}

.history-timeline article {
  margin-bottom: 28px;
}

.history-timeline h3 {
  margin-bottom: 6px;
}

.chair-letter {
  background: var(--uspb-cream);
  border-left: 4px solid var(--uspb-gold);
  padding: 28px 32px;
  margin: 0 0 40px;
}

.board-grid .card h3 {
  margin-bottom: 4px;
}

.role {
  color: var(--uspb-gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px;
}

table.archive {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--uspb-white);
}

table.archive th,
table.archive td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--uspb-rule);
  vertical-align: top;
}

table.archive thead {
  background: var(--uspb-navy);
  color: var(--uspb-cream);
}

table.archive tbody tr:nth-child(even) {
  background: #faf6ee;
}

.table-scroll {
  overflow-x: auto;
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid #cfc4aa;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 16px;
}

textarea {
  min-height: 140px;
}

.address-card {
  background: var(--uspb-navy);
  color: var(--uspb-cream);
  padding: 28px;
}

.address-card h3 {
  color: var(--uspb-white);
}

.address-card p {
  margin: 0 0 12px;
}

/* Footer */
.site-footer {
  background: var(--uspb-navy-deep);
  color: #d7d0c2;
  padding: 48px 0 24px;
  border-top: 4px solid var(--uspb-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer a {
  color: var(--uspb-gold-bright);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-col h3 {
  color: var(--uspb-gold);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--uspb-sans);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0 0 8px;
}

.copyright {
  border-top: 1px solid rgba(197, 165, 114, 0.2);
  padding-top: 18px;
  font-size: 13px;
  color: #9aa3b2;
}

/* 404 */
.error-wrap {
  text-align: center;
  padding: 80px 0;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3,
  .grid-4,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--uspb-navy-deep);
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(197, 165, 114, 0.25);
  }

  .primary-nav.is-open {
    display: block;
  }

  .uspb-desktop-nav,
  .uspb-desktop-nav ul {
    display: none !important;
  }

  .primary-nav.is-open .uspb-mobile-nav,
  .primary-nav.is-open .uspb-mobile-custom {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .primary-nav ul {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .primary-nav a {
    display: block;
    padding: 4px 0;
  }

  .header-inner {
    min-height: 76px;
    position: relative;
    gap: 10px;
  }

  .brand-name {
    white-space: normal;
    font-size: 15px;
    line-height: 1.2;
    max-width: calc(100vw - 150px);
  }

  .official-banner .wrap {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .wrap {
    width: min(var(--uspb-max), calc(100% - 32px));
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .contact-grid,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding: 48px 0 40px;
  }

  .hero h1 {
    max-width: none;
    font-size: 34px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 36px 0 28px;
  }

  .brand-kicker {
    display: block;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-name {
    font-size: 16px;
  }

  .official-banner {
    font-size: 12px;
  }

  .official-banner .wrap {
    min-height: 0;
    padding: 8px 0;
  }

  input[type="text"],
  input[type="email"],
  textarea,
  select {
    font-size: 16px;
  }

  .menu-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 14px;
  }

  .primary-nav a {
    padding: 10px 0;
    font-size: 16px;
  }

  .table-scroll {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .stat b {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.president-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 12px;
}

.president-frame {
  margin: 0;
  background: var(--uspb-white);
  border: 1px solid var(--uspb-rule);
  padding: 12px 12px 16px;
  min-width: 0;
}

.president-frame-wide {
  grid-column: 1 / -1;
}

.president-frame img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--uspb-navy-deep);
}

.president-frame figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--uspb-muted);
  line-height: 1.45;
}

.president-frame-quote {
  grid-column: 1 / -1;
}

.president-frame-quote figcaption {
  font-size: 20px;
  line-height: 1.45;
  color: var(--uspb-navy);
}

@media (max-width: 900px) {
  .president-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .president-frame,
  .president-frame-wide {
    grid-column: auto;
  }

  .president-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}


.clip-list {
  display: grid;
  gap: 32px;
}

.clip-card h2 {
  margin-bottom: 8px;
}

.clip-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #0b1d36;
  margin: 16px 0;
}

.clip-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.history-top-action {
  padding: 18px 0 0;
}

.section-header-row {
  max-width: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 820px) {
  .section-header-row {
    flex-direction: column;
  }
  .official-banner .banner-watch {
    white-space: normal;
  }
}


@media (min-width: 1201px) {
  .site-header .uspb-mobile-only {
    display: none !important;
  }
}

.banner-watch em,
.page-hero h1 em,
.primary-nav em,
.site-footer em {
  font-style: italic;
  padding-right: 0.12em;
}


.uspb-mobile-custom {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1200px) {
  .uspb-mobile-custom a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    color: #e8e4d8;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
  }
  .uspb-mobile-custom a:hover,
  .uspb-mobile-custom .current-menu-item > a {
    color: var(--uspb-gold-bright);
  }
}
