/* ============================================================
   Aqaris · About page (Figma "About v1 / Desktop 1440",
   "About - tablet", "About - mobile")
   Loaded only by about.html, after style.css and home.css.
   The page body is "home about": header, buttons, stats band,
   final CTA and footer come from home.css; everything here is
   scoped to body.about or to ab-* classes.
   Breakpoints: desktop > 1024 · tablet 641–1024 · mobile ≤ 640
   ============================================================ */

.about .nav-links a[aria-current="page"] { color: var(--hp-indigo); font-weight: 600; }

/* ---------- Hero ---------- */
.ab-hero { background: var(--hp-slate); padding-top: 104px; }
.ab-hero h1 {
  max-width: 900px;
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.ab-hero-lead { max-width: 620px; margin-top: 30px !important; font-size: 20px; line-height: 1.5; }
.ab-hero-img {
  margin: 64px 0 0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: var(--hp-line-strong);
}
.ab-hero-img img { display: block; width: 100%; height: 420px; object-fit: cover; }

/* ---------- Our story ---------- */
.ab-story {
  display: grid;
  grid-template-columns: 440fr 680fr;
  gap: 80px;
  align-items: start;
}
.ab-story-copy { display: grid; gap: 20px; }
.ab-story-copy p { font-size: 19px; line-height: 1.6; }
.about .ab-story-strong { font-weight: 500; color: var(--hp-ink); }

/* What we believe */
.ab-belief {
  display: flex; gap: 64px; align-items: flex-end;
  margin-top: 72px;
  padding: 56px 64px;
  border-radius: 22px;
  background: var(--hp-night);
}
.ab-belief-head { flex: 0 1 640px; min-width: 0; }
.ab-belief-label { display: block; font-size: 15px; font-weight: 600; line-height: 23px; color: #B9B4FF; }
.ab-belief h3 {
  margin-top: 16px;
  font-size: 40px; line-height: 1.12; letter-spacing: -0.03em;
  color: #FFFFFF;
}
.ab-belief p { flex: 1; min-width: 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.78); }

/* ---------- Who it's for ---------- */
.ab-who {
  display: grid;
  grid-template-columns: 520fr 592fr;
  gap: 88px;
  align-items: center;
}
.ab-who-img { margin: 0; border-radius: 20px; overflow: hidden; background: var(--hp-line-strong); }
.ab-who-img img { display: block; width: 100%; height: 560px; object-fit: cover; }
.ab-who-copy .hp-lead { margin-top: 24px; }
.ab-who-copy .hp-btn { margin-top: 36px; }

/* ---------- Principles ---------- */
.ab-principles {
  margin-top: 56px;
  border-top: 2px solid var(--hp-ink);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.ab-principle { padding: 30px 32px 8px 0; }
.ab-principle + .ab-principle { padding-left: 32px; border-left: 1px solid rgba(15,23,42,.14); }
.ab-principle-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
}
.ab-principle h3 { margin-top: 20px; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.ab-principle p { margin-top: 12px; font-size: 17px; line-height: 1.55; }

/* ---------- Built for the region (hp-stats band with a label + note per stat) ---------- */
.ab-region h2 { flex-basis: 440px; max-width: 440px; }
.ab-region .hp-stat dd { margin-top: 14px; }
.ab-region .hp-stat dd strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.55; color: #FFFFFF; }
.ab-region .hp-stat dd span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.7); }

/* ---------- Final CTA ---------- */
.about .hp-cta h2 { flex-basis: 560px; }

/* ============================================================
   Small desktop (1025–1240): let fixed Figma columns flex
   ============================================================ */
@media (max-width: 1240px) {
  .ab-story, .ab-who { gap: 56px; }
  .ab-belief { gap: 40px; padding: 48px; }
  .ab-region h2 { flex-basis: 38%; }
  .about .hp-cta h2 { flex-basis: 48%; }
}

/* ============================================================
   Tablet (≤ 1024) — "About - tablet", 768 frame, 32px gutter
   ============================================================ */
@media (max-width: 1024px) {
  .ab-hero h1 { font-size: 52px; line-height: 1.05; }
  .ab-hero-lead { max-width: none; font-size: 18px; }
  .ab-hero-img { margin-top: 30px; }
  .ab-hero-img img { height: 280px; }

  .ab-story { display: block; }
  .ab-story-copy { margin-top: 39px; gap: 19px; }

  .ab-belief { flex-direction: column; align-items: stretch; gap: 39px; padding: 44px; }
  .ab-belief-head { flex: none; }
  .ab-belief h3 { margin-top: 15px; font-size: 34px; }

  .ab-who { grid-template-columns: 1fr; gap: 39px; }
  .ab-who-img img { height: auto; aspect-ratio: 704 / 528; }

  .ab-principles { grid-template-columns: 1fr; }
  .ab-principle, .ab-principle + .ab-principle {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(15,23,42,.14);
  }
  .ab-principle h3 { margin-top: 19px; }

  .ab-region h2 { max-width: none; }
  .about .hp-cta h2 { flex: none; }
}

/* ============================================================
   Mobile (≤ 640) — "About - mobile", 390 frame, 20px gutter
   ============================================================ */
@media (max-width: 640px) {
  .ab-hero { padding-top: 64px; }
  .ab-hero h1 { font-size: 36px; line-height: 1.08; }
  .ab-hero-lead { margin-top: 20px !important; font-size: 17px; }
  .ab-hero-img img { height: 157px; }

  .ab-belief { padding: 28px; }
  .ab-belief h3 { margin-top: 16px; font-size: 26px; }

  .ab-who-img img { aspect-ratio: 350 / 263; }
  .ab-who-copy .hp-lead { margin-top: 23px; }
  .ab-who-copy .hp-btn { height: 48px; font-size: 16px; }

  .ab-principle h3 { font-size: 20px; }

  /* Final CTA (shared hp-cta) at the about-mobile sizes */
  .about .hp-cta-copy p { font-size: 20px; }
  .about .hp-cta-btns .hp-btn { height: 48px; font-size: 16px; }
}
