/* =========================================================
   AVOLVE Media — ABOUT page (about.html)

   Used only by about.html. Every rule is scoped to .about-page
   or a class starting with about-, so no other page changes.
   Artwork layers (assets/about/): planet.webp, asteroid-*.webp
   ========================================================= */

.about-page {
  --ab-night: #000001;
  --ab-warm: #ece4dc;
  --ab-cyan: #00f0ff;
  background: var(--canvas);
}

/* ---------- Shared navigation, dark-background version (this page only).
   Same size, placement, links and spacing; colours adjusted for contrast. ---------- */
.about-page .primary-nav ul {
  border-color: rgba(236, 228, 220, .18);
  background: rgba(0, 0, 1, .35);
}
.about-page .primary-nav a { color: var(--ab-warm); }
.about-page .primary-nav a:hover { background: rgba(0, 240, 255, .16); }
.about-page .primary-nav a[aria-current="page"] { background: rgba(236, 228, 220, .14); color: #fff; }
.about-page .site-header .brand:focus-visible,
.about-page .primary-nav a:focus-visible { outline: 2px solid var(--ab-cyan); outline-offset: 3px; }
.about-page .menu-toggle {
  border-color: rgba(236, 228, 220, .28);
  background: rgba(0, 0, 1, .4);
  color: var(--ab-warm);
}
.about-page .menu-toggle__bars span { background: currentColor; }
.about-page .mobile-menu a[aria-current="page"] { background: rgba(0, 0, 1, .06); font-weight: 500; }

/* ---------- HERO ---------- */
.about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: max(calc(100vh - var(--frame-gap) * 2), 720px);
  min-height: max(calc(100svh - var(--frame-gap) * 2), 720px);
  margin: var(--frame-gap);
  padding: calc(var(--header-h) + clamp(40px, 6vh, 80px)) var(--pad-x) clamp(110px, 14vh, 150px);
  border-radius: var(--radius-frame);
  overflow: hidden;
  overflow: clip;
  background: var(--ab-night);
  color: var(--ab-warm);
  text-align: center;
}
/* fine grain over everything decorative */
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .89 0 0 0 0 .86 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Artwork layers ---------- */
.about-hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.about-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.about-layer img { position: absolute; display: block; height: auto; }

/* Planet: anchored to the top centre, a little wider than the hero so parallax never shows an edge */
.about-layer--planet img {
  left: 50%;
  top: 0;
  width: max(calc(100% + 48px), 150vh);
  transform: translateX(-50%);
}
/* Restrained cyan atmosphere along the bottom (built in CSS) */
.about-layer--atmosphere {
  inset: auto -40px -40px -40px;
  height: 46%;
  background:
    radial-gradient(34% 62% at 50% 100%, rgba(0, 240, 255, .42), rgba(0, 240, 255, .12) 55%, transparent 78%),
    radial-gradient(60% 48% at 50% 100%, rgba(0, 150, 170, .28), transparent 75%),
    radial-gradient(20% 26% at 50% 100%, rgba(170, 252, 255, .25), transparent 80%);
}
/* Smaller, sharper asteroids at the sides */
.about-rock--left  { left: 3.2%;  top: 43%; width: clamp(96px, 11.6vw, 190px); }
.about-rock--right { right: 12.4%; top: 55%; width: clamp(34px, 3.5vw, 58px); }
/* Larger, blurred foreground asteroids in the bottom corners (overhang the frame for parallax) */
.about-rock--fg-left  { left: -24px;  bottom: -24px; width: clamp(240px, 28vw, 470px); }
.about-rock--fg-right { right: -24px; bottom: -24px; width: clamp(240px, 28vw, 470px); }

/* ---------- Copy (always still) ---------- */
.about-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1120px;
}
.about-hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.9vw, 8.4rem);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ab-warm);
  text-shadow: 0 2px 30px rgba(0, 0, 1, .55);
}
.about-hero__line { display: block; }
.about-hero__title em { font-style: italic; }
.about-hero__statement {
  margin: clamp(26px, 3.2vw, 46px) 0 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.12rem, 1.85vw, 1.85rem);
  line-height: 1.3;
  color: var(--ab-warm);
  text-wrap: balance;
}
.about-hero__copy {
  max-width: 33em;
  margin: clamp(12px, 1.4vw, 20px) 0 0;
  font-size: clamp(1rem, 1.42vw, 1.42rem);
  line-height: 1.45;
  color: rgba(236, 228, 220, .88);
  text-wrap: balance;
}
.about-hero__brand {
  margin: clamp(22px, 2.6vw, 38px) 0 0;
  font-size: clamp(.95rem, 1.15vw, 1.15rem);
  color: rgba(236, 228, 220, .9);
}
.about-hero__brand strong { font-weight: 600; color: var(--ab-warm); }
.about-hero__btn {
  margin-top: clamp(26px, 3vw, 42px);
  min-height: 58px;
  padding: 0 40px;
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
}
.about-hero__btn:focus-visible { outline: 2px solid var(--ab-warm); outline-offset: 4px; }

/* small downward arrow to the next section */
.about-hero__next {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(18px, 3vh, 36px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border-radius: 50%;
  color: var(--ab-warm);
  transition: color .25s var(--ease);
}
.about-hero__next svg { width: 26px; height: 26px; }
.about-hero__next:hover { color: var(--ab-cyan); }
.about-hero__next:focus-visible { outline: 2px solid var(--ab-cyan); outline-offset: 2px; }
.about-next-target { display: block; height: 0; outline: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .about-layer--planet img { width: max(calc(100% + 48px), 128vh); }
  .about-rock--left { left: 1.5%; top: 52%; width: 96px; }
  .about-rock--right { right: 5%; top: 60%; }
  .about-rock--fg-left, .about-rock--fg-right { width: clamp(200px, 30vw, 300px); }
}

/* ---------- Mobile: fewer decorative elements, planet scaled for a tall screen ---------- */
@media (max-width: 759px) {
  .about-hero {
    min-height: max(calc(100svh - var(--frame-gap) * 2), 640px);
    padding: calc(var(--header-h) + 56px) 20px 120px;
  }
  .about-layer--planet img { width: 240%; top: 40px; }
  .about-layer .about-rock--left, .about-layer .about-rock--right { display: none; }
  .about-rock--fg-left, .about-rock--fg-right { width: 46vw; opacity: .9; }
  .about-hero__title { font-size: clamp(2.5rem, 11.4vw, 3.6rem); }
  .about-hero__btn { width: 100%; max-width: 320px; }
}

/* ---------- Reduced motion: static composition ---------- */
@media (prefers-reduced-motion: reduce) {
  .about-layer { transform: none !important; will-change: auto; }
  .about-hero__next { transition: none; }
}
