/* ADITHAN REAL ESTATE — About Us page
   Extends styles.css using the same design tokens (--foreground, --muted-foreground,
   --border, --surface, --ink, --accent-blue, --radius, --font-sans) so this page reads
   as a direct continuation of the home page and Why Us page, not a separate template. */

#story,
#mission,
#milestones,
#glance,
#founder {
  scroll-margin-top: 8.5rem;
}

/* ---------- Page hero ---------- */
.au-hero {
  position: relative;
  min-height: 56svh;
  display: flex;
  align-items: flex-end;
}

.au-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.au-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(15.5% 0.007 261.7 / 0.92) 0%,
    oklch(15.5% 0.007 261.7 / 0.55) 45%,
    oklch(15.5% 0.007 261.7 / 0.2) 100%
  );
}

.au-hero__inner {
  position: relative;
  padding: 9.5rem 1.25rem 3rem;
  width: 100%;
}

.au-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: oklch(100% 0 0 / 0.65);
}

.au-crumb a {
  color: oklch(100% 0 0 / 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.au-crumb a:hover { color: #fff; }

.au-hero__title {
  margin-top: 0.9rem;
  max-width: 40rem;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.au-hero__tagline {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: oklch(100% 0 0 / 0.8);
}

.au-hero__tagline span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  margin-left: 0.55rem;
  vertical-align: middle;
  opacity: 0.6;
}

@media (min-width: 640px) {
  .au-hero { min-height: 48svh; }
  .au-hero__inner { padding: 10rem 2.5rem 3.5rem; }
  .au-hero__title { font-size: 3.25rem; }
}

@media (min-width: 1024px) {
  .au-hero__inner { padding: 10.5rem 3.5rem 4rem; }
  .au-hero__title { font-size: 3.75rem; }
}

/* ---------- Sticky section sub-nav (scrollspy) ---------- */
.au-subnav-wrap {
  position: sticky;
  top: 4.75rem;
  z-index: 30;
  margin: 1.25rem 0 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) { .au-subnav-wrap { top: 5.25rem; } }

.au-subnav {
  display: flex;
  gap: 0.375rem;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.375rem;
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -12px oklch(15.5% 0.007 261.7 / 0.25);
  scrollbar-width: none;
}

.au-subnav::-webkit-scrollbar { display: none; }

.au-subnav a {
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.au-subnav a:hover { color: var(--foreground); }

.au-subnav a.is-active {
  background: var(--ink);
  color: #fff;
}

/* ---------- Section shell ---------- */
.au-section { padding: 3.5rem 0; }
.au-section + .au-section { border-top: 1px solid var(--border); }

@media (min-width: 640px) { .au-section { padding: 5rem 0; } }
@media (min-width: 1024px) { .au-section { padding: 6rem 0; } }

.au-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold-text);
}

@media (min-width: 640px) { .au-eyebrow { font-size: 1rem; } }

.au-heading {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

@media (min-width: 640px) { .au-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .au-heading { font-size: 3rem; } }

.au-lede {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ---------- Reveal-on-scroll ---------- */
.au-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.au-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .au-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Our Story ---------- */
.au-story {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .au-story {
    margin-top: 3.5rem;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3.5rem;
    align-items: start;
  }
}

.au-story__body p {
  margin-top: 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  max-width: 42rem;
}

.au-story__body p:first-of-type { margin-top: 0; }

.au-quote {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-blue);
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin-top: 1.75rem;
}

@media (min-width: 640px) { .au-quote { font-size: 1.5rem; } }

.au-story__card {
  border-radius: 1.5rem;
  background: var(--ink);
  color: #fff;
  padding: 1.9rem;
}

.au-story__card h3 {
  font-size: 1rem;
  font-weight: 800;
}

.au-story__card p {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.65;
  opacity: 0.8;
}

.au-story__route {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid oklch(100% 0 0 / 0.14);
  display: grid;
  gap: 0.9rem;
}

.au-story__route-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.au-story__route-row .au-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent-blue);
  flex: 0 0 auto;
}

.au-story__route-row.is-muted { opacity: 0.55; }
.au-story__route-row.is-muted .au-dot { background: oklch(100% 0 0 / 0.35); }

/* ---------- Mission tagline strip ---------- */
.au-tagline-strip {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  padding: 1.1rem 1.5rem;
  border-radius: 999px;
  border: 1px dashed var(--border);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.au-tagline-strip span { color: var(--foreground); }

.au-mission-card {
  margin-top: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem;
}

@media (min-width: 640px) { .au-mission-card { padding: 2.5rem; margin-top: 3rem; } }

.au-mission-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--foreground);
  max-width: 46rem;
}

@media (min-width: 640px) { .au-mission-card p { font-size: 1.2rem; } }

/* ---------- Milestones / journey ---------- */
.au-timeline {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .au-timeline { grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
}

@media (min-width: 1024px) {
  .au-timeline { grid-template-columns: repeat(4, 1fr); }
}

.au-milestone {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.au-milestone:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 22px 40px -22px oklch(15.5% 0.007 261.7 / 0.35);
}

.au-milestone__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}

.au-milestone h3 {
  margin-top: 1.1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
}

.au-milestone p {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.au-milestone--future {
  background: var(--ink);
  border-color: var(--ink);
}

.au-milestone--future .au-milestone__num {
  background: var(--accent-blue);
}

.au-milestone--future h3 { color: #fff; }
.au-milestone--future p { color: oklch(100% 0 0 / 0.75); }

/* ---------- At a glance stats ---------- */
.au-glance {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .au-glance { grid-template-columns: repeat(4, 1fr); margin-top: 3rem; }
}

.au-stat {
  padding: 1.5rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.au-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-gold-text);
}

@media (min-width: 640px) { .au-stat__value { font-size: 2.1rem; } }

.au-stat__label {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* ---------- Founder brief ---------- */
.au-founder {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .au-founder {
    margin-top: 3rem;
    flex-direction: row;
    text-align: left;
    padding: 2.5rem;
    gap: 2.25rem;
  }
}

.au-monogram {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  flex: 0 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.au-monogram::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, var(--accent-blue), transparent 30%, transparent 70%, var(--accent-blue));
  animation: au-spin 7s linear infinite;
  z-index: -1;
  opacity: 0.85;
}

.au-monogram::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: var(--ink);
}

.au-monogram span {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

@keyframes au-spin { to { transform: rotate(360deg); } }

.au-founder__name { font-size: 1.15rem; font-weight: 800; color: var(--foreground); }
.au-founder__role { margin-top: 0.15rem; font-size: 0.8125rem; font-weight: 600; color: var(--accent-gold-text); }
.au-founder__line { margin-top: 0.85rem; font-size: 0.9rem; line-height: 1.65; color: var(--muted-foreground); max-width: 34rem; }

.au-founder__link {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
}

.au-founder__link svg { transition: transform 0.2s ease; }
.au-founder__link:hover svg { transform: translate(2px, -2px); }
