/* Standalone “life in motion” about page */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

.about-page {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #05050a;
  color: #e8ecf4;
  min-height: 100%;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
}

.about-stage {
  position: relative;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
}

.about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.about-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 62% at 50% 50%, transparent 8%, rgba(5, 5, 10, 0.28) 62%, rgba(5, 5, 10, 0.82) 100%),
    linear-gradient(180deg, rgba(5, 5, 10, 0.22) 0%, transparent 20%, transparent 80%, rgba(5, 5, 10, 0.5) 100%);
}

.about-copy {
  position: relative;
  z-index: 2;
  height: 100%;
}

.about-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-stat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  margin: 0;
  max-width: min(19rem, 32vw);
  opacity: 1;
  color: rgba(232, 236, 245, 0.9);
  text-shadow: 0 0 28px rgba(0, 0, 0, 0.8), 0 2px 18px rgba(0, 0, 0, 0.55);
}

.about-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 176, 210, 0.72);
}

.about-num {
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.55rem, 3.1vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f7f9fc;
  white-space: nowrap;
}

.about-line {
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.88);
}

.about-aside {
  margin-top: 0.12rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(168, 184, 204, 0.78);
}

.about-aside span {
  color: rgba(226, 236, 255, 0.92);
  font-variant-numeric: tabular-nums;
}

.about-stat-sleep {
  top: 8%;
  left: 6%;
}

.about-stat-steps {
  top: 38%;
  left: 6%;
}

.about-stat-breaths {
  bottom: 9%;
  left: 6%;
}

.about-stat-keys {
  top: 8%;
  right: 5.5%;
  left: auto;
  align-items: flex-end;
  text-align: right;
}

.about-stat-blood {
  top: 38%;
  right: 5.5%;
  left: auto;
  align-items: flex-end;
  text-align: right;
}

.about-stat-heart {
  bottom: 9%;
  right: 5.5%;
  left: auto;
  align-items: flex-end;
  text-align: right;
}

.about-home {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem 0.5rem 0.8rem;
  border: 1px solid rgba(148, 176, 210, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 10, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(232, 236, 245, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-home svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.about-home:hover,
.about-home:focus-visible {
  color: #fff;
  border-color: rgba(148, 176, 210, 0.6);
  background: rgba(20, 28, 44, 0.75);
  outline: none;
}

.about-home:hover svg,
.about-home:focus-visible svg {
  transform: translateX(-3px);
}

@media (max-width: 820px) {
  .about-page {
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
  }

  .about-stage {
    min-height: 100dvh;
  }

  .about-copy {
    height: auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 72px 20px 34px;
    gap: 18px;
  }

  .about-stat {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    max-width: 22rem;
    align-items: flex-start;
    text-align: left;
  }

  .about-stat-keys,
  .about-stat-blood,
  .about-stat-heart {
    align-self: flex-end;
    align-items: flex-end;
    text-align: right;
  }
}
