/* About: origin story, milestones and team. Lockii brand. */

.about-page {
  --about-section-y: clamp(3.5rem, 7vw, 6rem);
  --about-ink: #141414;
  --about-muted: #6d6d6d;
  --about-body: #454545;
  --about-line: #e8e8e8;
  --about-accent: var(--accent, #c2b067);
}

.about-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 5% clamp(1.5rem, 3vw, 2.5rem);
}

.about-hero__inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.about-hero__title {
  margin: 0 0 20px;
  font-family: Lufga, Arial, sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--about-ink);
  letter-spacing: -0.035em;
}

.about-hero__lede {
  max-width: 46ch;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.55;
  color: var(--about-muted);
}

.about-section {
  padding: var(--about-section-y) 5%;
}

.about-section__inner {
  max-width: 760px;
  margin-inline: auto;
}

.about-section__inner--wide {
  max-width: 980px;
}

.about-section--flush {
  padding-right: 0;
  padding-left: 0;
}

.about-section__inner--full {
  max-width: none;
}

/* Centres the section's own heading and lede; the cards below stay left-aligned. */
.about-section__inner--center > .about-eyebrow {
  justify-content: center;
}

.about-section__inner--center > .about-section__title,
.about-section__inner--center > .about-prose {
  text-align: center;
}

.about-section__inner--center > .about-prose p {
  max-width: 62ch;
  margin-inline: auto;
}

.about-eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--about-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-eyebrow:before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--about-accent);
  border-radius: 50%;
}

.about-section__title {
  margin: 0 0 24px;
  font-family: Lufga, Arial, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--about-ink);
  letter-spacing: -0.03em;
}

.about-prose {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.about-prose p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--about-body);
}

.about-prose strong {
  font-weight: 600;
  color: var(--about-ink);
}

.about-prose + .about-team__grid,
.about-section__title + .about-team__grid {
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

/* Milestones */

.about-timeline {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-timeline__item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--about-line);
}

.about-timeline__item:last-child {
  border-bottom: 1px solid var(--about-line);
}

.about-timeline__year {
  font-family: Lufga, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--about-ink);
}

.about-timeline__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--about-body);
}

@media (max-width: 600px) {
  .about-timeline__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Team */

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about-person {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--about-line);
  border-radius: 16px;
}

.about-person__portrait {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #f4f2ec;
  border-radius: 50%;
}

.about-person__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  font-family: Lufga, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--about-accent);
  background: #f4f2ec;
  border-radius: 50%;
}

.about-person__name {
  margin: 0;
  font-family: Lufga, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--about-ink);
}

.about-person__role {
  margin: -0.55rem 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--about-muted);
  letter-spacing: 0.02em;
}

.about-person__bio {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--about-body);
}

.about-person__link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--about-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--about-line);
  transition: border-color 0.18s ease;
}

.about-person__link:hover {
  border-color: var(--about-accent);
}
