:root {
  --navy: #0a1a3c;
  --blue: #004aad;
  --blue-deep: #003580;
  --gold: #f6b21b;
  --gold-deep: #e3a821;
  --orange: #f29232;
  --cream: #f7f4ee;
  --cream-2: #f0ebe1;
  --ink: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius: 24px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  user-select: none;
}

/* Ambient background */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(0, 74, 173, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(246, 178, 27, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 74, 173, 0.06), transparent 60%);
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(10, 26, 60, 0.1);
  box-shadow: 0 4px 18px rgba(10, 26, 60, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  color: #111111;
  z-index: 2;
}

.brand-logo {
  display: block;
  width: auto;
  height: 64px;
  max-width: min(320px, 58vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  animation: float-in 0.8s var(--ease) both;
}

.brand-text,
.brand-eyebrow,
.brand-title,
.brand-sub {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.2);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
}

.site-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111111;
  transition: background 0.25s ease, color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #111111;
  background: rgba(17, 17, 17, 0.08);
}

.brand-badges {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-iso {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.badge-apply {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.header-actions {
  display: none;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.35rem;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-row a,
.contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s ease;
}

.contact-row a:hover {
  color: var(--blue);
}

.contact-row .material-symbols-outlined {
  font-size: 1rem;
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-gold {
  background: linear-gradient(90deg, #facc15, #f97316);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

/* Main */
.main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 4rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
  animation: rise 0.8s var(--ease) both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 1.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.pill .material-symbols-outlined {
  color: var(--blue);
  font-size: 1.25rem;
}

.section-head h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head h1 span {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 500;
  color: var(--gold);
}

.section-head p {
  margin: 1rem auto 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.search-wrap {
  margin: 1.75rem auto 0;
  max-width: 28rem;
  position: relative;
}

.search-wrap .material-symbols-outlined {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.2rem;
}

.search-wrap input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 74, 173, 0.12);
  background: var(--white);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 74, 173, 0.06);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-wrap input:focus {
  border-color: rgba(0, 74, 173, 0.45);
  box-shadow: 0 8px 24px rgba(0, 74, 173, 0.12);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.profile-card {
  --accent: var(--blue);
  --accent-soft: rgba(0, 74, 173, 0.1);
  position: relative;
  background: var(--white);
  border-radius: 28px;
  border: 1px solid rgba(10, 26, 60, 0.06);
  box-shadow:
    0 4px 6px -1px rgba(10, 26, 60, 0.04),
    0 18px 40px -12px rgba(10, 26, 60, 0.14);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  transform: translateY(28px);
  opacity: 0;
  animation: card-in 0.7s var(--ease) forwards;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff));
  z-index: 3;
}

.profile-card.accent-gold {
  --accent: var(--gold);
  --accent-soft: rgba(246, 178, 27, 0.14);
}

.profile-card:nth-child(1) { animation-delay: 0.05s; }
.profile-card:nth-child(2) { animation-delay: 0.14s; }
.profile-card:nth-child(3) { animation-delay: 0.23s; }
.profile-card:nth-child(4) { animation-delay: 0.32s; }

.profile-card:hover,
.profile-card:focus-visible {
  transform: translateY(-12px);
  box-shadow:
    0 12px 24px -8px rgba(10, 26, 60, 0.12),
    0 28px 56px -16px rgba(0, 74, 173, 0.22);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  outline: none;
}

.card-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.35rem 1.75rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(160deg, #eef3fb 0%, #f7f4ee 55%, #f3e9d4 100%);
}

.profile-card.accent-gold .card-media {
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(160deg, #fff8e8 0%, #f7f4ee 55%, #eef3fb 100%);
}

.card-media img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: #e8eef8;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(10, 26, 60, 0.18);
  filter: none;
  transition: transform 0.7s var(--ease), box-shadow 0.5s ease;
}

.card-avatar {
  width: 180px;
  height: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  letter-spacing: 0.04em;
  border: 4px solid #fff;
  box-shadow: 0 16px 32px rgba(0, 74, 173, 0.28);
  transition: transform 0.7s var(--ease), box-shadow 0.5s ease;
}

.profile-card:hover .card-media img,
.profile-card:hover .card-avatar {
  transform: scale(1.05);
  box-shadow: 0 18px 36px rgba(10, 26, 60, 0.24);
  filter: none;
}

.profile-card.accent-gold .card-avatar {
  background: linear-gradient(145deg, var(--gold), #c27803);
  box-shadow: 0 16px 32px rgba(194, 120, 3, 0.28);
}

.card-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, transparent 100%);
  pointer-events: none;
}

.card-role-chip {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-body {
  padding: 1.15rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  text-align: center;
  align-items: center;
}

.card-body h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.card-role {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.card-affil {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 28ch;
}

.card-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: #4b5563;
  line-height: 1.5;
  max-width: 32ch;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.45rem;
}

.card-tags span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 18px rgba(0, 74, 173, 0.25);
  transition: gap 0.3s var(--ease), transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card.accent-gold .card-cta {
  background: linear-gradient(135deg, #f6b21b, #e08910);
  box-shadow: 0 8px 18px rgba(224, 137, 16, 0.28);
  color: #1a1200;
}

.profile-card:hover .card-cta {
  gap: 0.55rem;
  transform: translateY(-2px);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 26, 60, 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: none;
  visibility: hidden;
}

.modal.open {
  pointer-events: auto;
  visibility: visible;
}

.modal-panel {
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s ease;
}

.modal.open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-hero {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  background:
    linear-gradient(135deg, rgba(0, 74, 173, 0.08), rgba(246, 178, 27, 0.1)),
    linear-gradient(180deg, #fff, #faf8f3);
  border-bottom: 1px solid rgba(10, 26, 60, 0.06);
}

.modal-hero.accent-gold {
  background:
    linear-gradient(135deg, rgba(246, 178, 27, 0.14), rgba(0, 74, 173, 0.06)),
    linear-gradient(180deg, #fff, #faf8f3);
}

.modal-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(160deg, #eef3fb, #f7f4ee);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.modal-photo img,
.modal-photo .card-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.modal-photo .card-avatar {
  font-size: 3.5rem;
  border-radius: 50%;
  max-height: none;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border: none;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(10, 26, 60, 0.08);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.modal-close:hover {
  background: rgba(10, 26, 60, 0.14);
  transform: rotate(90deg);
}

.modal-meta h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding-right: 2.5rem;
}

.modal-role {
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
}

.modal-hero.accent-gold .modal-role {
  color: #b45309;
}

.modal-affil {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.modal-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.9rem;
}

.modal-contacts a,
.modal-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(10, 26, 60, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.modal-contacts a:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.modal-contacts .material-symbols-outlined {
  font-size: 1.05rem;
  color: var(--blue);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.highlight {
  background: var(--white);
  border: 1px solid rgba(10, 26, 60, 0.08);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.highlight strong {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.highlight span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.modal-body {
  overflow-y: auto;
  padding: 1.5rem 1.75rem 2rem;
  overscroll-behavior: contain;
}

.modal-bio {
  font-size: 0.98rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-bio .former-role {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: rgba(246, 178, 27, 0.12);
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 600;
}

.detail-section {
  margin-bottom: 1.35rem;
  border: 1px solid rgba(10, 26, 60, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fafaf8;
  animation: fade-up 0.45s var(--ease) both;
}

.detail-section:nth-child(1) { animation-delay: 0.05s; }
.detail-section:nth-child(2) { animation-delay: 0.1s; }
.detail-section:nth-child(3) { animation-delay: 0.15s; }
.detail-section:nth-child(4) { animation-delay: 0.2s; }
.detail-section:nth-child(5) { animation-delay: 0.25s; }

.detail-section summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  font-weight: 750;
  color: var(--navy);
  background: var(--white);
  user-select: none;
}

.detail-section summary::-webkit-details-marker {
  display: none;
}

.detail-section summary .material-symbols-outlined {
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}

.detail-section[open] summary .material-symbols-outlined {
  transform: rotate(180deg);
}

.detail-section ul {
  list-style: none;
  padding: 0.35rem 1.1rem 1rem;
}

.detail-section li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  font-size: 0.9rem;
  color: #4b5563;
  border-bottom: 1px dashed rgba(10, 26, 60, 0.06);
  line-height: 1.5;
}

.detail-section li:last-child {
  border-bottom: none;
}

.detail-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0a1a3c, #061028);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(220px, 55vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  /* show full wordmark — never crop */
  overflow: visible;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.footer-brand p,
.footer-col p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .modal-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .modal-photo {
    margin: 0 auto;
  }

  .modal-meta h2 {
    padding-right: 0;
  }

  .modal-contacts {
    justify-content: center;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-actions {
    align-items: flex-start;
    width: 100%;
  }

  .contact-row {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid rgba(10, 26, 60, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(10, 26, 60, 0.14);
    z-index: 30;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .brand-logo {
    height: 52px;
    max-width: min(220px, 62vw);
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 46px;
    max-width: min(180px, 58vw);
  }

  .footer-brand img {
    height: 40px;
    max-width: min(160px, 50vw);
  }

  .card-media {
    height: 250px;
    padding: 1.35rem 1.25rem 1.5rem;
  }

  .card-media img,
  .card-avatar {
    width: 160px;
    height: 160px;
  }

  .modal-panel {
    border-radius: 20px 20px 0 0;
    max-height: 94vh;
    align-self: end;
  }

  .modal {
    align-items: end;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Profile detail page */
a.profile-card {
  text-decoration: none;
  color: inherit;
}

.profile-main {
  padding-top: 2rem;
}

.profile-page-inner {
  animation: rise 0.6s var(--ease) both;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(10, 26, 60, 0.08);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(10, 26, 60, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.back-link:hover {
  transform: translateX(-3px);
  border-color: var(--blue);
  color: var(--blue);
}

.profile-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 28px;
  border: 1px solid rgba(10, 26, 60, 0.06);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.profile-page-inner.accent-gold .profile-hero::before {
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 16px 36px rgba(10, 26, 60, 0.16);
  background: linear-gradient(160deg, #eef3fb, #f7f4ee);
  flex-shrink: 0;
}

.profile-photo img,
.profile-photo .card-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.profile-photo .card-avatar {
  font-size: 4rem;
  border: none;
  box-shadow: none;
}

.profile-meta h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.65rem 0 0.35rem;
}

.profile-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-page-inner.accent-gold .profile-role-pill {
  background: var(--gold);
  color: #1a1200;
}

.profile-affil {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.profile-content {
  background: var(--white);
  border-radius: 28px;
  border: 1px solid rgba(10, 26, 60, 0.06);
  box-shadow: var(--shadow);
  padding: 1.75rem 2rem 2rem;
}

.profile-quote {
  margin-top: 1rem;
  font-style: italic;
  color: #4b5563;
  font-size: 1.05rem;
}

.profile-missing {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.profile-missing h1 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.profile-missing p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .profile-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .profile-meta .modal-contacts,
  .profile-meta .highlights {
    justify-content: center;
  }

  .profile-content {
    padding: 1.35rem;
  }
}

/* Home hero + journal pages */
.hero-panel {
  text-align: center;
  margin-bottom: 2rem;
  animation: rise 0.8s var(--ease) both;
}

.hero-panel h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero-panel h1 span {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0;
}

.hero-panel > p {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.info-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(10, 26, 60, 0.06);
  box-shadow: 0 10px 24px rgba(10, 26, 60, 0.06);
  text-align: center;
}

.info-card strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.info-card span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.content-block {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(10, 26, 60, 0.06);
  box-shadow: 0 12px 32px rgba(10, 26, 60, 0.07);
  padding: 1.75rem 1.85rem;
  margin-bottom: 1.5rem;
}

.content-block h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.content-block h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin: 1.35rem 0 0.65rem;
}

.content-block p {
  color: #374151;
  margin-bottom: 0.85rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--blue);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.editorial-head {
  margin-top: 2.5rem;
  scroll-margin-top: 5rem;
}

.page-main {
  padding-top: 2rem;
}

.page-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: var(--muted);
}

.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.page-toc a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(0, 74, 173, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(10, 26, 60, 0.05);
}

.page-toc a:hover {
  border-color: rgba(0, 74, 173, 0.35);
  color: var(--blue);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

.detail-grid div {
  background: var(--cream);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.detail-grid dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.detail-grid dd {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}

.check-list,
.numbered-list {
  padding-left: 1.25rem;
  color: #374151;
}

.check-list li,
.numbered-list li {
  margin-bottom: 0.45rem;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 0.5rem;
}

.tag-list li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 74, 173, 0.08);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

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

.contact-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.contact-card .muted,
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-panel-main,
.contact-panel-side {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(10, 26, 60, 0.06);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.85rem;
}

.contact-panel-main h2 {
  font-size: 1.45rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.contact-lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.contact-list .material-symbols-outlined {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 74, 173, 0.08);
  color: var(--blue);
  font-size: 1.25rem;
}

.contact-list strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.contact-list p {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.contact-panel-side h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(10, 26, 60, 0.08);
  background: #fafaf8;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.contact-side-link:last-child {
  margin-bottom: 0;
}

.contact-side-link:hover {
  border-color: rgba(0, 74, 173, 0.35);
  background: #fff;
  transform: translateY(-1px);
}

.contact-side-link .material-symbols-outlined {
  color: var(--blue);
  font-size: 1.2rem;
}

.signoff {
  margin-top: 1.25rem !important;
  font-weight: 700;
  color: var(--navy) !important;
  font-style: italic;
}

.advisory-section {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.advisory-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.advisory-table-wrap {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(10, 26, 60, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
  overflow-x: auto;
}

.advisory-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.advisory-table th,
.advisory-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(10, 26, 60, 0.08);
  font-size: 0.92rem;
  line-height: 1.45;
}

.advisory-table th {
  background: linear-gradient(180deg, #0a1a3c, #123056);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

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

.advisory-table tbody tr:hover {
  background: rgba(0, 74, 173, 0.04);
}

.advisory-table tbody tr:last-child td {
  border-bottom: none;
}

.advisory-table td:first-child {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.advisory-table td:nth-child(2) {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .info-strip,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .info-strip,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .advisory-table th,
  .advisory-table td {
    padding: 0.85rem 0.9rem;
    font-size: 0.85rem;
  }
}

