/* ============================================================
   STELLAR REALTY — About Us Page Styles
   Inherits: style.css variables (--gold, --bg-base, --font-display, etc.)
   ============================================================ */

/* ── About Hero ── */
.about-hero {
  padding: 9rem 0 6rem;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.about-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.about-hero-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.about-hero-inner .label { margin-bottom: 1.25rem; }
.about-hero-inner h1 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.about-hero-inner h1 em {
  color: var(--gold);
  font-style: italic;
}
.about-hero-tagline {
  font-size: 1.15rem;
  max-width: 560px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.about-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.05);
}

/* ── Stats Strip ── */
.about-stats {
  padding: 4rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.about-stat-item {
  padding: 2rem 2.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.about-stat-item:last-child { border-right: none; }
.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.about-stat-num span {
  color: var(--gold);
}
.about-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Mission Section ── */
.about-mission {
  padding: 7rem 0;
  background: var(--bg-base);
  position: relative;
}
.about-mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-mission-visual {
  position: relative;
}
.mission-card-stack {
  position: relative;
  height: 460px;
}
.mission-card {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mission-card-main {
  width: 100%;
  height: 340px;
  top: 0; left: 0;
  background: var(--bg-card);
}
.mission-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.mission-card-accent {
  width: 220px;
  bottom: 0; right: -2rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.mission-accent-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.mission-accent-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-mission-text .label { margin-bottom: 1rem; }
.about-mission-text h2 { margin-bottom: 1.5rem; }
.about-mission-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-mission-text p:last-of-type { margin-bottom: 2rem; }

/* ── Why Us — Feature Cards ── */
.about-why {
  padding: 7rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-why-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}
.about-why-header .label { margin-bottom: 1rem; }
.about-why-header h2 { margin-bottom: 1rem; }
.about-why-header p { font-size: 1.02rem; }

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(201,169,110,0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: rgba(201,169,110,0.15);
  border-color: var(--border-strong);
}
.why-card h4 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.why-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Closing CTA ── */
.about-cta {
  padding: 7rem 0;
  background: var(--bg-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.about-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.about-cta-inner .label { margin-bottom: 1.25rem; }
.about-cta-inner h2 { margin-bottom: 1rem; }
.about-cta-inner h2 em {
  color: var(--gold);
  font-style: italic;
}
.about-cta-tagline {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.about-cta-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin: 2.5rem 0;
}
.about-cta-divider span {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about-cta-divider::before,
.about-cta-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border);
}
.about-value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.value-pill {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Scroll-reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1),
              transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Mobile Responsive ── */
@media (max-width: 900px) {
  .about-mission-layout { grid-template-columns: 1fr; gap: 3rem; }
  .mission-card-stack { height: 320px; }
  .mission-card-main { height: 260px; }
  .mission-card-accent { right: 0; }
  .about-why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-item:nth-child(2) { border-right: none; }
  .about-stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .about-stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .about-hero { padding: 7.5rem 0 4rem; }
  .about-hero-orb { display: none; }
  .about-hero-tagline { font-size: 1rem; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-item { padding: 1.5rem 1.25rem; }
  .about-stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .about-stat-item:nth-child(even) { border-right: none; }
  .about-stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .about-mission { padding: 4rem 0; }
  .about-why { padding: 4rem 0; }
  .about-why-grid { grid-template-columns: 1fr; }
  .about-why-header { margin-bottom: 2.5rem; }
  .about-cta { padding: 5rem 0; }
  .mission-card-accent { display: none; }
  .mission-card-stack { height: 260px; }
  .mission-card-main { height: 100%; }
  .about-hero-pills { gap: 0.5rem; }
  .pill { font-size: 0.75rem; padding: 0.45rem 0.85rem; }
}