/* ==========================================================================
   About page — same section rhythm as the homepage and wholesale:
   headings left in sentence case, rounded cards and photos
   ========================================================================== */
.about-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.about-intro__title {
  max-width: 820px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-intro__side {
  display: grid;
  gap: 18px;
  max-width: 440px;
}

/* a thin accent rule ties the lead to the statement */
.about-intro__text {
  padding-left: 18px;
  border-left: 2px solid var(--color-accent);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about-intro__link {
  justify-self: start;
  margin-left: 20px;
}

/* Phones: everything is one column, so the lead and the link drop their
   indent and the accent rule — title, text, link and photo share one left
   edge and even gaps. */
@media (max-width: 767px) {
  .about-intro {
    margin-bottom: 24px;
  }

  .about-intro__side {
    gap: 16px;
    max-width: none;
  }

  .about-intro__text {
    padding-left: 0;
    border-left: 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .about-intro__link {
    margin-left: 0;
  }
}

/* ---- key facts under the photo ---- */
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px 0 0;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
}

.about-fact {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 20px;
  background: var(--color-bg-elevated);
}

.about-fact:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.about-fact:nth-child(-n + 2) {
  border-bottom: 1px solid var(--color-border);
}

.about-fact dt {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-fact dt span {
  font-size: 0.45em;
  letter-spacing: 0;
}

.about-fact dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .about-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-fact {
    padding: 32px 28px;
  }

  .about-fact:nth-child(n) {
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
  }

  .about-fact:last-child {
    border-right: 0;
  }
}

.about-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* small caps label above a heading */
.about-eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.about-eyebrow--muted {
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.about-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.about-head__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-head__text {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (min-width: 1200px) {
  .about-intro,
  .about-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 48px;
  }

  .about-photo {
    aspect-ratio: 1710 / 626;
  }
}

/* ==========================================================================
   History — timeline steps drive the photo carousel
   ========================================================================== */
.timeline {
  display: grid;
  gap: 2px;
  margin: 8px 0 8px;
  padding: 0;
  list-style: none;
}

.timeline button {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  width: 100%;
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--color-border);
  text-align: left;
  color: var(--color-text-muted);
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.timeline button:hover,
.timeline button.is-active {
  color: var(--color-text-light);
}

.timeline button.is-active {
  border-color: var(--color-accent);
}

.timeline__year {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
}

.timeline__text {
  font-size: 14px;
  line-height: 1.4;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team {
  margin-top: 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.team-member__photo {
  aspect-ratio: 3 / 4;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 24px;
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (hover: hover) {
  .team-member:hover .team-member__photo img {
    transform: scale(1.04);
  }
}

.team-member__role {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.team-member__name {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
}

.team-member__text {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (min-width: 1200px) {
  .team {
    margin-top: 110px;
  }
}

/* ==========================================================================
   Partner logos strip
   ========================================================================== */
.partners {
  margin-top: 80px;
  padding-block: 40px;
  border-block: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 1200px) {
  .partners {
    margin-top: 110px;
    padding-block: 48px;
  }
}

.partners__row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 15%,
    #000 85%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 15%,
    #000 85%,
    transparent
  );
}

.partners__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 72px;
  padding-right: 72px;
  animation: partners-scroll 36s linear infinite;
}

.partners__row:hover .partners__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .partners__track {
    animation: none;
  }
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* The files are cropped to the artwork. Both limits together keep the logos
   visually even: tall marks are capped by height, long wordmarks by width. */
.partner-logo {
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 44px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* the logos are white artwork; flip them on the light background */
:root[data-theme="light"] .partner-logo {
  filter: invert(1);
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.about-cta {
  display: grid;
  gap: 24px;
  margin-block: 60px 80px;
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background:
    radial-gradient(90% 140% at 100% 100%, rgba(233, 105, 18, 0.22), transparent 60%),
    var(--color-bg-elevated);
}

.about-cta__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-cta__text {
  max-width: 480px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about-cta__actions {
  display: grid;
  gap: 10px;
}

@media (min-width: 768px) {
  .about-cta {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 48px;
  }

  .about-cta__actions {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .about-cta {
    margin-block: 80px 110px;
    padding: 56px 64px;
  }
}
