/* About page — matched to funoonkadah.art/about */

.page-about .site-header {
  position: sticky;
}

.page-about main {
  padding-top: 0;
}

/* Intro / ABOUT US hero — matched to reference */
.about-intro {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  min-height: min(92vh, 900px);
}

.about-intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-intro-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-intro-inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--page-gutter) * 2), var(--max));
  margin-inline: auto;
  min-height: min(72vh, 700px);
}

/* Text box — left side */
.about-intro-card {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  margin-top: 1rem;
  margin-left: clamp(11rem, 10vw, 14rem);
  background: #10383a;
  color: #ffffff;
  border-radius: 22px;
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.28);
}

.about-intro-card p {
  margin: 0 0 1.35rem;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.65;
}

.about-signup {
  border: 1px solid var(--teal);
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.35);
}

/* Center emblem */
.about-center-visual {
  position: absolute;
  left: 43%;
  top: 26%;
  transform: translate(-50%, -50%);
  width: min(33vw, 190px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
}

.about-center-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.3));
}

/* Heading — above text box on left */
.about-intro-title {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  margin-top: clamp(4rem, 12vh, 7rem);
  margin-left: clamp(11rem, 10vw, 14rem);
  margin-bottom: 1rem;
}

.about-intro-title h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: #171717;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (max-width: 980px) {
  .about-intro-inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
  }

  .about-center-visual {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 1;
    width: min(52vw, 190px);
  }

  .about-intro-title {
    order: 2;
    margin: 0;
    width: min(100%, 520px);
    text-align: left;
  }

  .about-intro-card {
    order: 3;
    margin: 0;
    width: min(100%, 520px);
    text-align: left;
  }
}

@media (max-width: 640px) {
  .about-intro {
    padding-top: calc(var(--header-h) + 1rem);
    min-height: 0;
  }

  .about-center-visual {
    width: min(58vw, 190px);
  }
}

/* Mission + team */
.about-mission {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, #daa112 0%, #daa112 62%, #809276 100%);
  color: #171717;
}

.mission-block {
  max-width: 820px;
  margin: 0 auto 4rem;
  text-align: center;
}

.mission-block h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}

.mission-text {
  margin: 0 auto 1.25rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.mission-note {
  margin: 0 auto 2rem;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.9;
}

.about-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-cta h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.minds-title {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.team-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.team-ornament {
  width: clamp(56px, 7vw, 88px);
  height: clamp(56px, 7vw, 88px);
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
  will-change: transform;
  z-index: 2;
}

.team-ornament--left,
.team-ornament--right {
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
}

.team-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  min-width: 0;
}

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

.team-photo {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
  max-height: 260px;
  margin-inline: auto;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: #171717;
}

.team-role {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #10383a;
}

@media (max-width: 980px) {
  .team-wrap {
    flex-direction: column;
    gap: 1.25rem;
  }

  .team-ornament {
    display: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
    width: 100%;
  }
}
