.feature-card {
  position: relative;
  align-self: stretch;
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 0;
  border-top: 2px solid rgba(82, 192, 246, 0.72);
  border-radius: 2px;
  background: #000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.feature-card:first-child {
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
}

.feature-card:last-child {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.feature-card:first-child::before,
.feature-card:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  z-index: 3;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.feature-card:first-child::before {
  left: 0;
  background: linear-gradient(135deg, transparent 49%, #2d83aa 50%);
}

.feature-card:last-child::before {
  right: 0;
  background: linear-gradient(225deg, transparent 49%, #2d83aa 50%);
}

.feature-card:hover {
  transform: none;
  border-color: #b9e9ff;
  background: #070b0e;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.feature-card .card-media {
  height: 142px;
  overflow: hidden;
  border-bottom: 1px solid rgba(153, 203, 230, 0.16);
  filter: saturate(0.82) contrast(1.04);
}

.feature-card .card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 12, 19, 0.72));
}

.feature-number {
  display: none;
}

.feature-card .card-body {
  display: flex;
  min-height: 82px;
  flex: 1;
  flex-direction: column;
  padding: 13px 11px 11px;
}

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: #f2f7fa;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.feature-emoji {
  flex: none;
  font-size: 18px;
  line-height: 1;
}

.feature-card p {
  margin: 0;
  color: #9fb0bb;
  font-size: 13px;
  line-height: 1.45;
}

.about-copy > .lead {
  margin-left: auto;
  margin-right: auto;
}

#about { padding: 32px 0; }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: center;
  max-width: 1040px;
  margin: auto;
}

.about-copy {
  max-width: none;
  margin: 0;
  text-align: left;
}

.about-copy h2 {
  margin: 0 0 12px;
}

.about-photo {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(113, 200, 255, 0.28);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.about-bio {
  margin-top: 28px;
  color: #c3d0d9;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

.about-bio p {
  margin: 0;
}

.about-bio p + p {
  margin-top: 18px;
}

.about-bio a {
  color: #71c8ff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(113, 200, 255, 0.42);
  text-underline-offset: 4px;
}

.about-bio a:hover {
  color: #fff;
  text-decoration-color: #71c8ff;
}

.daily-quote {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 16px;
  margin-bottom: 0;
  padding: 12px 16px;
  text-align: left;
}

.daily-quote h2 {
  flex: 0 0 auto;
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.daily-quote blockquote {
  min-width: 0;
  max-width: 800px;
  margin: 0;
}

.daily-quote blockquote p {
  margin: 0;
  color: #71c8ff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .daily-quote {
    gap: 12px;
    padding-inline: 12px;
  }

  .daily-quote h2 {
    flex: 0 1 8rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy {
    text-align: center;
  }

  .about-photo {
    max-width: 460px;
    margin: auto;
  }
}

/* Keep the quote close to the welcome section. */
.daily-quote + #about { padding-top: 12px; }

body[data-page="home"] #about h2,
body[data-page="home"] #partners h2 {
  -webkit-user-select: text;
  user-select: text;
}

/* Two photos share the original portrait's 4:5 footprint. */
.about-photos {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-inline: auto;
  min-width: 0;
}
.about-photos .about-photo {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-position: center 55%;
}
.about-photos .about-photo-childhood { object-position: center 50%; }
