/* LJ Realty — About Us page */

/* —— Hero —— */
.about-hero {
  position: relative;
  min-height: clamp(28rem, 72vw, 38rem);
  display: flex;
  align-items: flex-end;
  color: var(--white-pure);
  overflow: hidden;
}

.about-hero__media {
  position: absolute;
  inset: 0;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.about-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8, 14, 28, 0.78) 0%,
      rgba(8, 14, 28, 0.5) 48%,
      rgba(8, 14, 28, 0.35) 100%
    ),
    linear-gradient(to top, rgba(8, 14, 28, 0.55) 0%, transparent 45%);
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 2rem;
  align-items: end;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
}

.about-hero__copy {
  max-width: 36rem;
}

.about-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 4.5vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-hero__lede {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sand);
}

.about-hero__copy > p:last-child {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 248, 248, 0.88);
  max-width: 34rem;
}

.about-hero__brand {
  justify-self: end;
  text-align: right;
  padding-bottom: 0.35rem;
}

.about-hero__brand-mark {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.about-hero__brand-tag {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

/* —— Our Story —— */
.about-story {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--white);
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-story__copy h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.about-story__sub {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sand-hover);
}

.about-story__copy > p:not(.about-story__sub) {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 36rem;
}

.about-story__copy > p:last-child {
  margin-bottom: 0;
}

.about-story__visual {
  position: relative;
  padding-bottom: 4rem;
}

.about-story__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story__quote {
  position: absolute;
  left: -12%;
  bottom: 0;
  width: min(22rem, 88%);
  margin: 0;
  padding: 1.75rem 1.65rem 1.5rem;
  background: var(--white-pure);
  box-shadow: 0 18px 48px rgba(31, 44, 77, 0.1);
  border-bottom: 2px solid var(--sand);
}

.about-story__quote-mark {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 2.5rem;
  line-height: 0.7;
  color: var(--sand);
  font-weight: 500;
}

.about-story__quote p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy);
  font-weight: 500;
}

/* —— Editorial pause —— */
.about-pause {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--stone);
  text-align: center;
}

.about-pause__text {
  margin: 0 auto;
  max-width: 22ch;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--navy);
}

/* —— The LJ Realty Way —— */
.about-way {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--white);
}

.about-way__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-way__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.about-way__head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
}

.about-way__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 1.25rem;
}

.about-way__item {
  text-align: center;
  padding: 0.5rem 0.35rem;
}

.about-way__icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  color: var(--sand);
}

.about-way__icon svg {
  width: 2.65rem;
  height: 2.65rem;
}

.about-way__item h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about-way__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

/* —— Profile cards (shared) —— */
.profile-card {
  background: var(--white-pure);
  text-align: center;
  padding: 1.35rem 1.15rem 1.5rem;
  box-shadow: 0 12px 36px rgba(31, 44, 77, 0.06);
  border: 1px solid rgba(5, 6, 6, 0.04);
}

.profile-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1.15rem;
  background: var(--stone);
}

.profile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.profile-card__role {
  margin-bottom: 20px;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-hover);
  padding-bottom: 0.55rem;
  border-bottom: 1.5px solid var(--sand);
}

.profile-card--founder {
  padding: 1.5rem 1.35rem 1.75rem;
}

.profile-card--founder h3 {
  font-size: 1.25rem;
}

/* —— Founders —— */
.about-founders {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--stone);
  overflow: hidden;
}

.about-founders .container {
  position: relative;
  z-index: 1;
}

.about-founders__head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-founders__label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.about-founders__label::before {
  content: "";
  width: 2.25rem;
  height: 1.5px;
  background: var(--sand);
}

.about-founders__head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.about-founders__head > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-founders__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 22rem));
  gap: 1.75rem;
  max-width: 48rem;
}

.about-founders__monogram {
  position: absolute;
  right: -2%;
  bottom: -8%;
  font-size: clamp(12rem, 28vw, 22rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: rgba(205, 176, 132, 0.18);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* —— Agents —— */
.about-agents {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--white);
}

.about-agents__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-agents__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.about-agents__head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
}

.about-agents__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.about-agents__slider {
  min-width: 0;
  margin: 0 -0.675rem;
}

.about-agents__slider .slick-track {
  display: flex;
}

.about-agents__slider .slick-slide {
  height: auto;
  padding: 0 0.675rem;
}

.about-agents__slider .slick-slide > div,
.about-agents__slider .profile-card {
  height: 100%;
}

.about-agents__slider .slick-list {
  overflow: hidden;
}

.about-agents__slider .slick-prev,
.about-agents__slider .slick-next {
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--navy);
}

.about-agents__slider .slick-prev {
  left: -0.5rem;
}

.about-agents__slider .slick-next {
  right: -0.5rem;
}

.about-agents__slider .slick-prev::before,
.about-agents__slider .slick-next::before {
  color: var(--sand);
  font-size: 1.1rem;
}

.about-agents__slider .slick-dots {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.75rem;
}

.about-agents__slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.about-agents__slider .slick-dots li button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border-radius: 50%;
  background: var(--line);
}

.about-agents__slider .slick-dots li button::before {
  display: none;
}

.about-agents__slider .slick-dots li.slick-active button {
  background: var(--sand);
}

/* —— Team Support —— */
.about-support {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--stone);
}

.about-support__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr) minmax(12rem, 0.75fr);
  gap: 1.75rem;
  align-items: center;
}

.about-support__copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.about-support__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.about-support__people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.about-support__promise {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  min-height: 100%;
  padding: 2rem 1.65rem;
  background: var(--navy);
  color: var(--white-pure);
  text-align: center;
}

.about-support__promise-icon {
  display: inline-grid;
  place-items: center;
  margin: 0 auto;
  color: var(--sand);
}

.about-support__promise-icon svg {
  width: 2.75rem;
  height: 2.75rem;
}

.about-support__promise p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.about-support__promise strong {
  color: var(--sand);
  font-weight: 600;
}

/* —— Our Promise —— */
.about-promise {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--white);
}

.about-promise__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-promise__media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.about-promise__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-promise__copy h2 {
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  display: inline-block;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  border-bottom: 2px solid var(--sand);
}

.about-promise__copy > p:not(.about-promise__tagline) {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 32rem;
}

.about-promise__tagline {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--sand-hover);
}

/* —— Closing CTA —— */
.about-cta {
  background: var(--navy-deep);
  color: var(--white-pure);
  padding: clamp(3rem, 6vw, 4.25rem) 0;
}

.about-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.about-cta__inner p {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .about-way__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-agents__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-support__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-support__promise {
    grid-column: 1 / -1;
    min-height: auto;
    padding: 2.25rem;
  }
}

@media (max-width: 900px) {
  .about-hero__inner,
  .about-story__grid,
  .about-promise__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__brand {
    justify-self: start;
    text-align: left;
  }

  .about-story__visual {
    padding-bottom: 3.5rem;
  }

  .about-story__quote {
    left: 1rem;
    width: min(22rem, calc(100% - 2rem));
  }

  .about-founders__grid {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }

  .about-agents__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .about-hero {
    min-height: 26rem;
  }

  .about-hero__inner {
    padding-bottom: 3.25rem;
  }

  .about-way__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-founders__grid,
  .about-agents__grid,
  .about-support__grid,
  .about-support__people {
    grid-template-columns: 1fr;
  }

  .about-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
