/* ══════════════════════════════════════════════════════════════════════════
   Mualo — About us. One screen, two languages, no scroll story.
   Header, nav and eyebrow chrome are reused from landing.css; everything
   below is this page only. Palette comes from tokens.css.
   ══════════════════════════════════════════════════════════════════════ */

.about-page {
  /* Entry beats are multiples of one stagger, so retiming is a single edit. */
  --stg: 90ms;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.nav-link-current {
  color: var(--color-accent-700);
  border-bottom: 2px solid var(--color-accent);
}
.nav-link-current:hover { color: var(--color-accent); }

.about {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px var(--gutter) 0;
  overflow: hidden;
}

.about-eyebrow { margin-bottom: 34px; }

.about-grid {
  display: grid; grid-template-columns: 1fr 2px 1fr;
  gap: 48px; align-items: start; max-width: 1560px;
}
.about-sep { background: var(--color-divider); align-self: stretch; }

.about-en {
  margin: 0;
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(20px, 2.05vw, 33px); line-height: 1.42;
  letter-spacing: -0.022em; text-wrap: pretty;
}
.about-ar {
  margin: 0;
  font-family: var(--font-ar); font-weight: 500;
  font-size: clamp(18px, 1.75vw, 28px); line-height: 1.72;
  color: var(--color-neutral-700); text-align: right; text-wrap: pretty;
}
.about-mark { color: var(--color-accent-700); }

.about-cta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: clamp(28px, 5vh, 52px);
}
.about-btn { white-space: nowrap; padding: 12px 20px; font-size: 14px; }
.about-btn-ar { font-family: var(--font-ar); }

/* Holds the copy off the footer when the viewport is tall. */
.about-spacer { flex: 0 1 auto; min-height: 24px; }


/* ── entry ──────────────────────────────────────────────────────────── */

/* The paragraphs arrive under a soft-edged mask that slides down the block,
   so the text reveals line by line instead of fading as one slab. */
@keyframes ab-wipe {
  from { -webkit-mask-position: 0 -160%; mask-position: 0 -160%; }
  to   { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@keyframes ab-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ab-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ab-drop { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.about-en, .about-ar {
  -webkit-mask-image: linear-gradient(to bottom, #000 0 42%, transparent 58% 100%);
          mask-image: linear-gradient(to bottom, #000 0 42%, transparent 58% 100%);
  -webkit-mask-size: 100% 260%; mask-size: 100% 260%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: ab-wipe 1500ms cubic-bezier(.33, 1, .68, 1) calc(var(--stg) * 3) both;
}
.about-ar { animation-delay: calc(var(--stg) * 4); }

.about-eyebrow .eyebrow-num { opacity: 0; animation: ab-fade 600ms cubic-bezier(.16, 1, .3, 1) 60ms both; }
.about-rule { transform-origin: left center; animation: ab-rule 900ms cubic-bezier(.16, 1, .3, 1) 120ms both; }
.about-eyebrow .eyebrow-ar { opacity: 0; animation: ab-fade 600ms cubic-bezier(.16, 1, .3, 1) 200ms both; }
.about-sep { transform-origin: top center; animation: ab-drop 800ms cubic-bezier(.16, 1, .3, 1) 260ms both; }
.about-cta { opacity: 0; animation: ab-fade 700ms cubic-bezier(.16, 1, .3, 1) calc(var(--stg) * 11) both; }
.about-foot { opacity: 0; animation: ab-fade 700ms cubic-bezier(.16, 1, .3, 1) calc(var(--stg) * 13) both; }

/* ── responsive ─────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  /* One column: a 2px rule only reads as a divider between two of them. */
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-sep { display: none; }
  .about { justify-content: flex-start; padding-top: 24px; }
  .about-eyebrow { margin-bottom: 24px; }
  .about-foot { gap: 12px; }
}

@media (max-width: 520px) {
  .about-cta { gap: 10px; }
  .about-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  /* Nothing here is scroll-linked, so the whole entry is decoration. */
  [data-anim] { animation: none !important; transform: none !important; opacity: 1 !important; }
}
