:root {
  --tile-1: #211f1f;
  --tile-2: #b4e3ff;
  --tile-3: #032146;
  --tile-4: #3c6970;
  --card: #f5f4f3;
  --team-frame: #f0e8dc;
  --team-bio: #cce5ff;
  --white: #fff;
  --radius: 9px;
  --radius-pill: 48px;
  --team-radius: 22px;
  --team-radius-inner: 16px;
  --shadow: 0 12px 40px rgba(3, 33, 70, 0.12);
}

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

body.about-page {
  margin: 0;
  min-height: 100vh;
  font-family: "PT Sans Narrow", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: var(--tile-1);
  background-color: var(--card);
  background-image: url("../assets/AboutUsBG.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a {
  color: var(--tile-3);
}

.about-header {
  background: var(--tile-3);
  color: var(--white);
  box-shadow: 0 2px 16px rgba(3, 33, 70, 0.24);
}

.about-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.about-header__logo {
  display: block;
  border-radius: 50%;
}

.about-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about-header__nav a {
  color: var(--tile-2);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.about-header__nav a[aria-current="page"],
.about-header__nav a:hover {
  color: var(--white);
  border-bottom-color: var(--tile-2);
}

.about-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.about-intro__shell {
  background: var(--team-frame);
  border-radius: var(--team-radius);
  padding: 16px;
  margin-bottom: 24px;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.about-intro__photo {
  margin: 0;
  background: var(--tile-1);
  border-radius: var(--team-radius-inner);
  overflow: hidden;
  min-height: 340px;
}

.about-intro__photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-intro__content {
  background: var(--tile-1);
  color: var(--white);
  border-radius: var(--team-radius-inner);
  padding: 28px 32px 26px;
}

.about-intro__eyebrow {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
}

.about-intro__content h1 {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 400;
}

.about-intro__content p {
  margin: 0 0 16px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.48;
}

.about-intro__content p:last-child {
  margin-bottom: 0;
}

.team-grid-section {
  margin-top: 24px;
}

.team-grid {
  display: grid;
  gap: 20px;
}

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

.team-card {
  min-width: 0;
}

.team-card__shell {
  background: var(--team-frame);
  border-radius: var(--team-radius);
  padding: 14px;
}

.team-card__shell--wide {
  padding: 16px;
}

.team-card__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  border-radius: var(--team-radius-inner);
  overflow: hidden;
  background: var(--tile-1);
}

.team-card__visual img,
.team-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.team-card__visual img {
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__placeholder {
  display: grid;
  place-items: center;
  font-size: 72px;
  font-weight: 700;
  color: var(--white);
}

.team-card__overlay {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 48px 18px 10px;
  background: linear-gradient(180deg, rgba(33, 31, 31, 0) 0%, rgba(33, 31, 31, 0.72) 58%, rgba(33, 31, 31, 0.9) 100%);
}

.team-card__overlay--center {
  text-align: center;
}

.team-card__overlay--left {
  text-align: left;
  padding: 48px 18px 16px;
}

.team-card__overlay h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--white);
}

.team-card__role,
.team-card__meta {
  margin: 8px 0 0;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.25;
  color: var(--white);
  font-weight: 400;
}

.team-card__cta {
  position: relative;
  z-index: 2;
  display: block;
  width: calc(100% - 28px);
  margin: 0 auto 14px;
  padding: 11px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--tile-2);
  color: var(--tile-3);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.team-card__cta:hover {
  filter: brightness(1.04);
}

.team-card.is-expanded {
  grid-column: 1 / -1;
}

.team-card.is-expanded .team-card__collapsed {
  display: none;
}

.team-card__expanded {
  display: none;
}

.team-card.is-expanded .team-card__expanded {
  display: block;
}

.team-card__expanded-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.team-card__visual--panel {
  min-height: 340px;
}

.team-card__bio {
  background: var(--team-bio);
  border-radius: var(--team-radius-inner);
  padding: 22px 24px 20px;
  color: var(--tile-3);
  display: flex;
  flex-direction: column;
}

.team-card__bio h3 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  color: var(--tile-3);
}

.team-card__role-full,
.team-card__contact-line {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--tile-3);
}

.team-card__contact-line a {
  color: inherit;
  text-decoration: none;
}

.team-card__contact-line a:hover {
  text-decoration: underline;
}

.team-card__description-wrap {
  margin-top: 8px;
}

.team-card__description {
  font-size: 17px;
  line-height: 1.48;
  color: var(--tile-1);
}

.team-card__description.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
}

.team-card__description.is-expanded {
  display: block;
  overflow: visible;
}

.team-card__read-more {
  margin-top: 10px;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tile-3);
  cursor: pointer;
}

.team-card__read-more:hover {
  text-decoration: underline;
}

.about-empty {
  margin: 0;
  color: #5f5d59;
}

@media (max-width: 980px) {
  .about-intro__grid {
    grid-template-columns: 1fr;
  }

  .about-intro__photo,
  .about-intro__photo img {
    min-height: 300px;
  }

  .team-grid--two {
    grid-template-columns: 1fr;
  }

  .team-card__expanded-grid {
    grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .about-header__inner {
    padding: 12px 14px;
  }

  .about-main {
    padding: 16px 10px 28px;
  }

  .team-card__visual {
    min-height: 360px;
  }

  .team-card__expanded-grid {
    grid-template-columns: 1fr;
  }

  .team-card__visual--panel {
    min-height: 280px;
  }

  .team-card__bio {
    padding: 18px 16px;
  }
}
