@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --navy-950: #0a1e33;
  --navy-900: #0e2a47;
  --navy-800: #14406e;
  --navy-700: #1e4990;
  --blue-accent: #2f6fb0;
  --orange: #fe6020;
  --orange-dark: #d94e14;
  --paper: #f6f4ef;
  --paper-raised: #ffffff;
  --ink: #1a2027;
  --ink-soft: #4a545f;
  --line: #dcd7cc;
  --amber: #b6741a;
  --green: #2f7a4f;

  --font-display: "Newsreader", Georgia, serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  position: relative;
  padding: 0.85rem 0;
  background-color: var(--navy-900);
  color: #fff;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.navbar-brand .brand-mark {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--navy-700));
  flex-shrink: 0;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 0.9rem !important;
  border-radius: 4px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link.active {
  color: var(--orange);
  background: rgba(239, 132, 2, 0.12);
}

.btn-outline-cream {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.btn-outline-cream:hover,
.btn-outline-cream:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(254, 96, 32, 0.35);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse.show {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy-950);
    margin-top: 0.85rem;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.85rem 0.25rem !important;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.65rem;
    margin-top: 1rem !important;
  }

  .nav-actions .btn {
    width: 100%;
  }
}


.team-hero {
  padding: 5.5rem 0 4rem;
  background: linear-gradient(145deg, var(--navy-950), var(--navy-900));
  color: #fff;
}
.team-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffd1bd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.team-hero h1 {
  max-width: 14ch;
  margin: 1rem 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.98;
}
.team-hero p {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.team-directory {
  padding: 4rem 0 5rem;
}
.team-intro {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}
.team-intro h2 {
  margin: 0 0 0.6rem;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}
.team-intro p {
  margin: 0;
  color: var(--ink-soft);
}
.team-grid {
  display: grid;
  gap: 1.5rem;
}
.team-member {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(10, 30, 51, 0.06);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.team-member::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}
.team-member:hover,
.team-member:focus-within {
  background: var(--orange);
  border-color: rgba(254, 96, 32, 0.35);
  box-shadow: 0 18px 38px rgba(10, 30, 51, 0.12);
  transform: translateY(-5px);
}
.team-member.is-expanded {
  background: var(--orange);
  border-color: var(--orange-dark);
  color: var(--navy-950);
  box-shadow: 0 18px 38px rgba(10, 30, 51, 0.14);
}
.team-member:hover h3,
.team-member:focus-within h3,
.team-member.is-expanded h3,
.team-member:hover h3 span,
.team-member:focus-within h3 span,
.team-member.is-expanded h3 span,
.team-member:hover .team-bio,
.team-member:focus-within .team-bio,
.team-member.is-expanded .team-bio {
  color: var(--navy-950);
}
.team-member:hover .team-role,
.team-member:focus-within .team-role,
.team-member.is-expanded .team-role {
  color: var(--navy-900);
}
.team-member:hover::before,
.team-member:focus-within::before {
  transform: scaleY(1);
}
.team-member:nth-child(even) {
  background: #fbfaf6;
}
.team-photo-wrap {
  text-align: center;
}
.team-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px var(--line),
    0 10px 20px rgba(10, 30, 51, 0.12);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.45s ease;
}
.team-member:hover .team-photo,
.team-member:focus-within .team-photo {
  transform: scale(1.06) rotate(-2deg);
  box-shadow:
    0 0 0 1px var(--orange),
    0 14px 26px rgba(10, 30, 51, 0.16);
}
.team-role {
  margin-top: 1rem;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-member h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
}
.team-member h3 span {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}
.team-bio {
  margin: 1rem 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.team-bio p {
  margin: 0 0 0.85rem;
}
.team-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s ease,
    opacity 0.3s ease;
}
.team-member.is-expanded .team-more {
  max-height: 900px;
  opacity: 1;
}
.team-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--navy-700);
  border-radius: 7px;
  background: transparent;
  color: var(--navy-700);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.team-more-toggle:hover,
.team-more-toggle:focus-visible,
.team-member.is-expanded .team-more-toggle {
  background: var(--navy-950);
  color: #fff;
}
.team-more-toggle i {
  transition: transform 0.25s ease;
}
.team-member.is-expanded .team-more-toggle i {
  transform: rotate(180deg);
}
.team-more-link {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s ease,
    opacity 0.3s ease;
}
.team-member.is-expanded .team-more-link {
  max-height: 80px;
  opacity: 1;
}
.team-member.is-expanded .team-link {
  border-color: var(--navy-950);
  color: var(--navy-950);
}
.team-member.is-expanded .team-link:hover,
.team-member.is-expanded .team-link:focus-visible {
  background: var(--navy-950);
  color: #fff;
}
.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--navy-700);
  border-radius: 7px;
  color: var(--navy-700);
  font-size: 0.86rem;
  font-weight: 700;
}
.team-link:hover {
  color: #fff;
  background: var(--navy-700);
}

.reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-card.is-visible:hover,
.reveal-card.is-visible:focus-within {
  transform: translateY(-5px);
}
.reveal-card:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-card:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-card:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-card:nth-child(5) {
  transition-delay: 0.32s;
}

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}
.footer .container {
  max-width: 1180px;
}
.footer .row {
  min-height: 48px;
}
.footer h5 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.footer a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.15s ease;
}
.footer a:hover,
.footer a:focus-visible {
  color: #fff;
}
.footer img {
  display: block;
  width: 115px;
  max-width: 100%;
  height: auto;
}
.footer hr {
  margin: 1.5rem 0 1rem;
  border-color: rgba(255, 255, 255, 0.16) !important;
  opacity: 1;
}
.footer .small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.85rem;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.85rem 0.25rem !important;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch !important;
    margin-top: 1rem !important;
  }
  .nav-actions .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .team-hero {
    padding: 4rem 0 3rem;
  }
  .team-directory {
    padding: 3rem 0 4rem;
  }
  .team-member {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.35rem;
  }
  .team-photo-wrap {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .team-photo {
    width: 118px;
    height: 118px;
    border-width: 4px;
  }
  .team-role {
    margin-top: 0;
  }
  .team-member h3 {
    font-size: 1.7rem;
  }
  .footer .text-md-end {
    margin-top: 0.5rem;
    text-align: left !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-card,
  .reveal-card.is-visible,
  .team-member,
  .team-member:hover,
  .team-member:focus-within,
  .team-member.is-expanded,
  .team-photo,
  .team-member:hover .team-photo,
  .team-member:focus-within .team-photo {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .team-member::before {
    transition: none;
  }
}
