.page-about {
  --about-milestone-bg: #17101d;
  --about-cert-bg: #221528;
  --about-team-bg: #141118;
  --about-grid-line: rgba(74, 14, 78, 0.07);
  --about-gold-dark: #8a6d1a;
  background-color: var(--c-deep-gray);
  color: var(--c-text);
}

.page-about__head {
  padding-top: 3.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--gold-rule);
}

.page-about__head-lead {
  margin-top: 0.875rem;
  max-width: 48rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(224, 224, 224, 0.72);
}

.page-about__origin {
  padding: 3.75rem 0 4rem;
  background-color: var(--c-off-white);
  background-image:
    linear-gradient(var(--about-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--about-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #2e2e2e;
}

.page-about__origin-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-about__origin-copy h2 {
  color: #40104d;
}

.page-about__origin-copy .tag {
  color: var(--about-gold-dark);
}

.page-about__origin-lead {
  font-family: var(--font-head);
  font-size: 1.125rem;
  line-height: 1.7;
  color: #52205e;
  margin: 1rem 0 1.25rem;
}

.page-about__origin-copy p:not(.tag) {
  color: #333;
  line-height: 1.85;
}

.page-about__coords {
  display: inline-block;
  margin-top: 1.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(74, 14, 78, 0.22);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: #6a0dad;
}

.page-about__origin-media {
  margin: 0;
}

.page-about__milestones {
  padding: 4.25rem 0 4.75rem;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(123, 31, 162, 0.24), transparent 52%),
    var(--about-milestone-bg);
}

.page-about__section-label {
  margin-bottom: 2.75rem;
}

.page-about__section-label--center {
  text-align: center;
}

.page-about h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.22;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.02em;
}

.page-about__milestones h2,
.page-about__certifications h2,
.page-about__team h2,
.page-about__philosophy h2 {
  color: #f7f3f7;
}

.page-about__timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.page-about__timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.6875rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.8),
    rgba(212, 175, 55, 0.1)
  );
}

.page-about__timeline-item {
  position: relative;
  padding-left: 2.625rem;
  padding-bottom: 2.5rem;
}

.page-about__timeline-item:last-child {
  padding-bottom: 0;
}

.page-about__timeline-dot {
  position: absolute;
  left: 0.3125rem;
  top: 0.25rem;
  width: 0.8125rem;
  height: 0.8125rem;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
  background: var(--about-milestone-bg);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
  transition: background var(--ease), box-shadow var(--ease);
}

.page-about__timeline-item:hover .page-about__timeline-dot {
  background: var(--c-gold);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.22), 0 0 20px rgba(212, 175, 55, 0.5);
}

.page-about__timeline-meta {
  margin-bottom: 0.375rem;
}

.page-about__timeline-year {
  display: block;
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--c-gold);
}

.page-about__timeline-body {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-left: 2px solid var(--c-gold);
  padding: 1rem 1.25rem 1.15rem;
  transition: background var(--ease);
}

.page-about__timeline-item:hover .page-about__timeline-body {
  background: rgba(106, 13, 173, 0.16);
}

.page-about__timeline-body h3 {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  color: #f1f1f1;
}

.page-about__timeline-body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: rgba(224, 224, 224, 0.78);
}

.page-about__timeline-media {
  padding-left: 0;
  padding-bottom: 2rem;
}

.page-about__certifications {
  padding: 4rem 0 4.5rem;
  background: var(--about-cert-bg);
}

.page-about__cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-about__cert-card {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: background var(--ease), border-color var(--ease);
}

.page-about__cert-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 2.25rem;
  height: 2px;
  background: var(--c-gold);
}

.page-about__cert-card:hover {
  background: rgba(106, 13, 173, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-about__cert-number {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--c-gold);
  margin-bottom: 0.625rem;
}

.page-about__cert-card h3 {
  font-family: var(--font-head);
  font-size: 1.3125rem;
  margin: 0 0 0.675rem;
  color: #f5f5f5;
}

.page-about__cert-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(224, 224, 224, 0.72);
}

.page-about__team {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background: var(--about-team-bg);
}

.page-about__team-bg {
  position: absolute;
  inset: 0;
}

.page-about__team-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-about__team-content {
  position: relative;
  z-index: 1;
}

.page-about__team-card {
  max-width: 40rem;
  background: rgba(23, 16, 29, 0.84);
  border-top: 2px solid var(--c-gold);
  padding: 2rem 1.75rem 1.9rem;
}

.page-about__team-card p:not(.tag) {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(224, 224, 224, 0.78);
}

.page-about__team-card .btn {
  margin-top: 1.5rem;
}

.page-about__philosophy {
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(135deg, rgba(74, 14, 78, 0.94), rgba(106, 13, 173, 0.82)),
    var(--g-one);
}

.page-about__philosophy-main {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.page-about__philosophy-lead {
  font-family: var(--font-head);
  font-size: 1.3125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 1.25rem 0 1rem;
}

.page-about__philosophy p:not(.tag) {
  color: rgba(245, 245, 245, 0.82);
  line-height: 1.85;
}

.page-about__philosophy .btn--ghost {
  color: #f5f5f5;
  border-color: rgba(245, 245, 245, 0.72);
}

.page-about__philosophy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.page-about .frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(74, 14, 78, 0.28), rgba(123, 31, 162, 0.14)),
    var(--c-mid-gray);
}

.page-about img {
  max-width: 100%;
  height: auto;
}

.page-about .frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-about .frame figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 245, 0.78);
  background: rgba(20, 16, 28, 0.6);
}

.page-about__origin-media {
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

.page-about .frame--landscape {
  aspect-ratio: 12 / 5;
  min-height: 220px;
}

@media (min-width: 720px) {
  .page-about__cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-about__origin-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .page-about__timeline-item {
    display: flex;
    gap: 1.75rem;
  }

  .page-about__timeline-meta {
    flex: 0 0 7.5rem;
    margin-bottom: 0;
    padding-top: 0.25rem;
    text-align: right;
  }

  .page-about__timeline-body {
    flex: 1 1 auto;
  }

  .page-about__timeline-media {
    display: block;
    padding-left: 0;
  }

  .page-about__team-card {
    margin-left: auto;
    max-width: 44rem;
  }
}
