/* About standalone app — Lesse-style editorial + Hero typography */

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

:root {
  --font-hero: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body.page-about {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-hero);
  font-weight: 300;
  color: #f5f8fc;
}

/* ============================================================
   PAGE ABOUT — Lesse-style editorial + Hero typography
   Fonts: --font-hero (system sans-serif) matching page 1
   ============================================================ */

.page-about {
  --about-deep: #080d18;
  --about-mid: #111e35;
  --about-soft: #152540;
  --about-text: #f5f8fc;
  --about-muted: rgba(220, 228, 238, 0.72);
  --about-faint: rgba(180, 205, 230, 0.42);
  --about-line: rgba(150, 195, 240, 0.18);
  --about-violet: rgba(160, 120, 255, 0.45);
  --about-violet-glow: rgba(130, 90, 220, 0.22);
  --about-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background:
    radial-gradient(ellipse 100% 60% at 12% 0%, rgba(50, 80, 130, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 88% 80%, rgba(90, 50, 140, 0.1) 0%, transparent 50%),
    linear-gradient(170deg, var(--about-deep) 0%, var(--about-mid) 40%, var(--about-soft) 100%);
  overflow: hidden;
}

/* ── Internal scroll ──────────────────────────────────────── */

.about-scroll {
  position: relative;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
  scroll-behavior: auto;
}

.about-panel {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(88px, 14vh, 128px) clamp(24px, 6vw, 72px) clamp(56px, 10vh, 96px);
  box-sizing: border-box;
  position: relative;
}

.about-panel__inner {
  width: min(680px, 100%);
  margin: 0 auto;
}

.about-panel__inner--wide {
  width: min(960px, 100%);
}

.about-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 768px) {
  .about-panel__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
  }
}

.about-panel__header {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.about-panel__header--center {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* ── Progress dots (Lesse-style side nav) ─────────────────── */

.about-progress {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  pointer-events: auto;
}

.about-progress__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-progress__dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-progress__dot span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--about-faint);
  transition: transform 0.35s var(--about-ease), background 0.35s ease, box-shadow 0.35s ease;
}

.about-progress__dot.is-active span,
.about-progress__dot:hover span,
.about-progress__dot:focus-visible span {
  transform: scale(1.6);
  background: var(--about-text);
  box-shadow: 0 0 12px rgba(150, 195, 240, 0.45);
}

.about-progress__dot:focus-visible {
  outline: 1px solid rgba(150, 195, 240, 0.4);
  outline-offset: 4px;
  border-radius: 50%;
}

@media (max-width: 599px) {
  .about-progress {
    right: 12px;
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .about-progress__list {
    flex-direction: row;
    gap: 8px;
  }
}

/* ── Typography — match Hero (.hero h1 / .hero p) ─────────── */

.about-kicker {
  font-family: var(--font-hero);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--about-faint);
  margin: 0 0 1.25rem;
}

.about-display {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 10vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--about-text);
  margin: 0;
}

.about-section-title {
  font-family: var(--font-hero);
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--about-text);
  margin: 0;
}

.about-lede {
  font-family: var(--font-hero);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--about-muted);
  margin: 0 0 1.25rem;
}

.about-body {
  font-family: var(--font-hero);
  font-size: clamp(0.75rem, 1.75vw, 1.05rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--about-muted);
  margin: 0;
}

.about-body--emphasis {
  color: var(--about-text);
  font-size: clamp(0.85rem, 1.9vw, 1.12rem);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.about-founder__content > .about-body--emphasis {
  margin-bottom: 1.75rem;
}

.about-body--muted {
  font-style: italic;
  margin-bottom: 1.75rem;
}

/* ── Page 1 intro layout ──────────────────────────────────── */

.about-panel__inner--intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(64px, 14vh, 128px);
  max-width: min(820px, 100%);
}

.about-intro__hero {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2.4vh, 1.85rem);
  max-width: min(640px, 100%);
}

.about-intro__metrics {
  width: 100%;
}

.about-intro-sub {
  font-family: var(--font-hero);
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--about-text);
  margin: clamp(1.1rem, 2.2vw, 1.5rem) 0 clamp(0.65rem, 1.4vw, 0.9rem);
}

.about-panel--intro .about-subtitle,
.about-panel--supercell .about-subtitle {
  font-size: clamp(1rem, 2.1vw, 1.24rem);
  margin: 0;
}

.about-panel--intro .about-body {
  margin: 0;
  max-width: 48ch;
  line-height: 1.6;
}

.about-panel--intro .about-section-title {
  line-height: 1.08;
}

.about-stats--intro {
  margin: 0;
  border-top: none;
  border-bottom: 1px solid var(--about-line);
  padding-block: clamp(40px, 6vw, 72px);
  gap: clamp(24px, 4vw, 48px);
}

.about-stats--intro .about-stat {
  text-align: center;
  padding: 0 clamp(12px, 2vw, 24px);
}

.about-stats--intro .about-stat:not(:last-child) {
  border-right: 1px solid var(--about-line);
}

@media (max-width: 599px) {
  .about-panel__inner--intro {
    gap: clamp(48px, 10vh, 80px);
  }

  .about-stats--intro {
    padding-block: 32px;
    gap: 28px;
  }

  .about-stats--intro .about-stat {
    padding: 0;
  }
}

.about-subtitle {
  font-family: var(--font-hero);
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 300;
  font-style: italic;
  color: var(--about-muted);
  margin: 0.75rem 0 0;
}

.about-founder__role {
  font-family: var(--font-hero);
  font-size: clamp(0.7rem, 1.3vw, 0.82rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-faint);
  margin: 0.65rem 0 0;
}

/* ── Text reveal masks (scroll-driven) ────────────────────── */

.about-line-mask {
  display: block;
  overflow: hidden;
}

.about-line {
  display: block;
  transform: translateY(108%);
  transition: transform 0.95s var(--about-ease);
  will-change: transform;
}

.about-line--accent {
  color: rgba(200, 225, 255, 0.92);
}

.about-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--about-ease), transform 0.85s var(--about-ease);
}

.about-panel.is-active .about-line {
  transform: translateY(0);
}

.about-panel.is-active .about-line-mask:nth-child(2) .about-line {
  transition-delay: 0.08s;
}

.about-panel.is-active .about-reveal {
  opacity: 1;
  transform: translateY(0);
}

.about-panel.is-active .about-reveal:nth-child(2) { transition-delay: 0.06s; }
.about-panel.is-active .about-reveal:nth-child(3) { transition-delay: 0.12s; }
.about-panel.is-active .about-reveal:nth-child(4) { transition-delay: 0.18s; }
.about-panel.is-active .about-reveal:nth-child(5) { transition-delay: 0.24s; }
.about-panel.is-active .about-reveal:nth-child(6) { transition-delay: 0.3s; }

.about-creds .about-reveal:nth-child(1) { transition-delay: 0.2s; }
.about-creds .about-reveal:nth-child(2) { transition-delay: 0.28s; }
.about-creds .about-reveal:nth-child(3) { transition-delay: 0.36s; }
.about-creds .about-reveal:nth-child(4) { transition-delay: 0.44s; }

.about-stats--intro .about-reveal:nth-child(1) { transition-delay: 0.18s; }
.about-stats--intro .about-reveal:nth-child(2) { transition-delay: 0.26s; }
.about-stats--intro .about-reveal:nth-child(3) { transition-delay: 0.34s; }

.about-values .about-reveal:nth-child(1) { transition-delay: 0.1s; }
.about-values .about-reveal:nth-child(2) { transition-delay: 0.18s; }
.about-values .about-reveal:nth-child(3) { transition-delay: 0.26s; }

.about-fmfit-lede {
  max-width: 52ch;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-fmfit-lede__line {
  font-family: var(--font-hero);
  font-size: clamp(1rem, 2.15vw, 1.28rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--about-text);
  margin: 0 0 0.65em;
}

.about-fmfit-lede__line:last-child {
  margin-bottom: 0;
}

.about-fmfit-lede__em {
  display: block;
  margin-top: 0.35em;
  color: rgba(210, 228, 255, 0.92);
}

.about-fmfit-pillars {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-fmfit-pillars .about-cred__title {
  font-size: clamp(0.92rem, 1.65vw, 1.08rem);
  line-height: 1.35;
}

.about-synthesis--fmfit {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  max-width: 44ch;
}

.about-synthesis__line {
  display: block;
}

.about-synthesis__line--accent {
  color: rgba(210, 228, 255, 0.96);
  font-weight: 400;
}

.about-fmfit-pillars .about-reveal:nth-child(1) { transition-delay: 0.14s; }
.about-fmfit-pillars .about-reveal:nth-child(2) { transition-delay: 0.22s; }
.about-fmfit-pillars .about-reveal:nth-child(3) { transition-delay: 0.3s; }

.about-scroll-cue {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  bottom: clamp(32px, 6vh, 56px);
  font-family: var(--font-hero);
  font-size: clamp(0.65rem, 1.1vw, 0.75rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--about-faint);
  animation: aboutCuePulse 2.4s ease-in-out infinite;
}

@keyframes aboutCuePulse {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 0.85; transform: translateY(4px); }
}

/* ── Stats row (Lesse-style) ──────────────────────────────── */

.about-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
  padding-block: clamp(32px, 5vw, 56px);
}

.about-stat {
  text-align: left;
  padding-right: 12px;
}

.about-stat:not(:last-child) {
  border-right: 1px solid var(--about-line);
}

.about-stat__word {
  display: block;
  font-family: var(--font-hero);
  font-size: clamp(1.5rem, 4.5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--about-text);
  margin-bottom: 0.35rem;
}

.about-stat__label {
  display: block;
  font-family: var(--font-hero);
  font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--about-faint);
}

@media (max-width: 599px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
  }

  .about-stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--about-line);
    padding-bottom: 20px;
  }
}

/* ── Mobile: native scroll inside drawer iframe ─ */

@media (max-width: 768px) {
  .about-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .about-panel {
    min-height: 100%;
    height: auto;
    justify-content: flex-start;
    padding-top: clamp(72px, 12vh, 96px);
    padding-bottom: clamp(72px, 12vh, 104px);
  }

  .about-panel--founder .about-founder__grid {
    gap: 20px;
  }

  .about-panel--founder .about-creds {
    gap: 10px;
  }

  .about-panel--intro,
  .about-panel--closing {
    justify-content: center;
  }

  /* Rounded cards — default idle border */
  .about-cred,
  .about-value,
  .about-cell-diagram__satellite {
    border-color: rgba(150, 195, 240, 0.22);
  }

  .about-cred.is-open,
  .about-cred:focus-visible,
  .about-cell-diagram__satellite.is-open,
  .about-cell-diagram__satellite:focus-visible {
    border-color: rgba(180, 140, 255, 0.62);
    background: rgba(130, 90, 220, 0.14);
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.28),
      0 0 28px rgba(160, 120, 255, 0.32);
  }

  /* First card hint — purple beam + fill (matches .is-open tap state) */
  .about-panel--founder.is-active .about-creds__item--hint:not(.is-hint-dismissed)::before,
  .about-panel--values.is-active .about-creds__item--hint:not(.is-hint-dismissed)::before,
  .about-panel--supercell.is-active .about-cell-diagram__satellite--hint:not(.is-hint-dismissed)::before,
  .about-creds__item.is-open::before,
  .about-cell-diagram__satellite.is-open::before {
    opacity: 0.92;
    animation: aboutCredBorderBeam 2.8s linear infinite;
    background: conic-gradient(
      from var(--cred-beam, 0deg),
      transparent 0deg,
      transparent 52deg,
      rgba(150, 110, 240, 0.32) 68deg,
      rgba(210, 185, 255, 0.95) 90deg,
      rgba(150, 110, 240, 0.32) 112deg,
      transparent 128deg,
      transparent 360deg
    );
  }

  .about-panel--founder.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred,
  .about-panel--values.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred,
  .about-creds__item.is-open .about-cred {
    border-color: rgba(180, 140, 255, 0.62);
    background: rgba(130, 90, 220, 0.14);
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.28),
      0 0 28px rgba(160, 120, 255, 0.32);
  }

  .about-panel--founder.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred__title,
  .about-panel--values.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred__title,
  .about-creds__item.is-open .about-cred__title {
    color: rgba(245, 250, 255, 0.98);
    text-shadow: 0 0 14px rgba(160, 120, 255, 0.38);
  }

  .about-panel--supercell.is-active .about-cell-diagram__satellite--hint:not(.is-hint-dismissed),
  .about-cell-diagram__satellite.is-open {
    border-color: rgba(180, 140, 255, 0.62);
    background: rgba(130, 90, 220, 0.14);
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.28),
      0 0 28px rgba(160, 120, 255, 0.32);
  }

  .about-panel--supercell.is-active .about-cell-diagram__satellite--hint:not(.is-hint-dismissed) .about-cell__satellite-title,
  .about-cell-diagram__satellite.is-open .about-cell__satellite-title {
    color: rgba(245, 250, 255, 0.98);
    text-shadow: 0 0 14px rgba(160, 120, 255, 0.38);
  }
}

/* ── Founder ──────────────────────────────────────────────── */

.about-founder__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.about-founder__avatar {
  width: clamp(88px, 14vw, 120px);
  height: clamp(88px, 14vw, 120px);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(150, 195, 240, 0.28);
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(130, 175, 235, 0.12);
}

.about-founder__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

/* ── Credential cards (Lesse values-style) ────────────────── */

.about-creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-cred {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(14px, 2vw, 18px);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(150, 195, 240, 0.22);
  border-radius: 10px;
  transition:
    border-color 0.32s var(--about-ease),
    background 0.32s var(--about-ease),
    transform 0.32s var(--about-ease),
    box-shadow 0.32s var(--about-ease);
}

.about-cred:hover,
.about-cred:focus-visible {
  border-color: rgba(170, 210, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(130, 175, 235, 0.28),
    inset 0 0 18px rgba(150, 195, 240, 0.08);
  transform: translateY(-4px) scale(1.015);
  outline: none;
}

.about-cred.is-open {
  border-color: rgba(180, 140, 255, 0.62);
  background: rgba(130, 90, 220, 0.14);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(160, 120, 255, 0.32);
}

.about-cred__title {
  display: block;
  font-family: var(--font-hero);
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--about-text);
  transition: color 0.32s var(--about-ease), text-shadow 0.32s var(--about-ease);
}

.about-creds__item:hover .about-cred__title,
.about-creds__item:focus-within .about-cred__title,
.about-creds__item.is-open .about-cred__title {
  color: rgba(245, 250, 255, 1);
  text-shadow: 0 0 14px rgba(150, 195, 240, 0.35);
}

@media (max-width: 768px) {
  .about-creds__item.is-open .about-cred__title {
    text-shadow: 0 0 14px rgba(160, 120, 255, 0.38);
  }

  .about-cell-diagram__satellite.is-open .about-cell__satellite-title {
    text-shadow: 0 0 14px rgba(160, 120, 255, 0.38);
  }
}

.about-creds__item {
  position: relative;
  border-radius: 10px;
  isolation: isolate;
}

.about-creds__item::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 11px;
  padding: 1px;
  background: conic-gradient(
    from var(--cred-beam, 0deg),
    transparent 0deg,
    transparent 48deg,
    rgba(130, 175, 235, 0.42) 66deg,
    rgba(255, 255, 255, 1) 90deg,
    rgba(130, 175, 235, 0.42) 114deg,
    transparent 132deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .about-creds__item:hover::before,
  .about-creds__item:focus-within::before {
    opacity: 1;
    animation: aboutCredBorderBeam 2.8s linear infinite;
  }

  .about-panel--founder.is-active .about-creds__item--hint:not(.is-hint-dismissed)::before,
  .about-panel--values.is-active .about-creds__item--hint:not(.is-hint-dismissed)::before,
  .about-panel--supercell.is-active .about-cell-diagram__satellite--hint:not(.is-hint-dismissed)::before {
    opacity: 0.88;
    animation: aboutCredBorderBeam 2.8s linear infinite;
  }

  .about-panel--founder.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred,
  .about-panel--values.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred {
    border-color: rgba(170, 210, 255, 0.42);
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.22),
      0 0 24px rgba(130, 175, 235, 0.22),
      inset 0 0 16px rgba(150, 195, 240, 0.07);
  }

  .about-panel--founder.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred__title,
  .about-panel--values.is-active .about-creds__item--hint:not(.is-hint-dismissed) .about-cred__title {
    color: rgba(245, 250, 255, 0.98);
    text-shadow: 0 0 14px rgba(150, 195, 240, 0.32);
  }

  .about-panel--supercell.is-active .about-cell-diagram__satellite--hint:not(.is-hint-dismissed) {
    border-color: rgba(170, 210, 255, 0.42);
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.22),
      0 0 24px rgba(130, 175, 235, 0.22),
      inset 0 0 16px rgba(150, 195, 240, 0.07);
  }

  .about-panel--supercell.is-active .about-cell-diagram__satellite--hint:not(.is-hint-dismissed) .about-cell__satellite-title {
    color: rgba(245, 250, 255, 0.98);
    text-shadow: 0 0 14px rgba(150, 195, 240, 0.32);
  }
}

.about-creds__item.is-open::before {
  opacity: 1;
  animation: aboutCredBorderBeam 2.8s linear infinite;
  background: conic-gradient(
    from var(--cred-beam, 0deg),
    transparent 0deg,
    transparent 52deg,
    rgba(150, 110, 240, 0.32) 68deg,
    rgba(210, 185, 255, 0.95) 90deg,
    rgba(150, 110, 240, 0.32) 112deg,
    transparent 128deg,
    transparent 360deg
  );
}

@property --cred-beam {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes aboutCredBorderBeam {
  to { --cred-beam: 360deg; }
}

.about-cred__detail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 12;
  padding: 13px 15px;
  font-family: var(--font-hero);
  font-size: clamp(0.86rem, 1.58vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(248, 252, 255, 0.98);
  text-shadow: 0 0 10px rgba(150, 195, 240, 0.18);
  background: rgba(10, 16, 30, 0.98);
  border: 1px solid rgba(150, 195, 240, 0.48);
  border-radius: 10px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(130, 175, 235, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 0.3s var(--about-ease),
    transform 0.3s var(--about-ease),
    visibility 0.3s;
  pointer-events: none;
}

.about-creds__item.is-detail-below .about-cred__detail {
  bottom: auto;
  top: calc(100% + 10px);
  transform: translateY(-10px) scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .about-creds__item:hover .about-cred__detail,
  .about-creds__item:focus-within .about-cred__detail {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .about-creds__item.is-detail-below:hover .about-cred__detail,
  .about-creds__item.is-detail-below:focus-within .about-cred__detail {
    transform: translateY(0) scale(1);
  }
}

.about-creds__item.is-open .about-cred__detail {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (max-width: 599px) {
  .about-founder__grid {
    grid-template-columns: 1fr;
  }

  .about-founder__avatar {
    margin: 0 auto;
  }

  .about-creds {
    grid-template-columns: 1fr;
  }
}

/* ── Values grid (Lesse Our Values) ───────────────────────── */

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-value {
  padding: clamp(16px, 2.5vw, 22px);
  border: 1px solid rgba(150, 195, 240, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: default;
  transition:
    border-color 0.32s var(--about-ease),
    background 0.32s var(--about-ease),
    transform 0.32s var(--about-ease),
    box-shadow 0.32s var(--about-ease);
}

.about-value:hover {
  border-color: rgba(170, 210, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(130, 175, 235, 0.26);
}

.about-value__title {
  font-family: var(--font-hero);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--about-text);
  margin: 0;
  transition: color 0.35s var(--about-ease);
}

.about-value:hover .about-value__title {
  color: rgba(245, 250, 255, 1);
  text-shadow: 0 0 14px rgba(150, 195, 240, 0.35);
}

.about-synthesis {
  font-family: var(--font-hero);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--about-text);
  margin: 0;
  max-width: 52ch;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--about-line);
}

@media (max-width: 767px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-fmfit-pillars {
    grid-template-columns: 1fr;
  }
}

/* ── Supercell cell diagram ───────────────────────────────── */

.about-cell-diagram {
  margin: 0 auto clamp(20px, 3vw, 32px);
}

.about-cell-diagram__stage {
  position: relative;
  width: min(480px, 88vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.about-cell-diagram__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-cell-diagram__orbit-group {
  transform-origin: 260px 260px;
  animation: aboutOrbitSpin 60s linear infinite;
}

.about-cell-diagram__connector {
  stroke: rgba(150, 195, 240, 0.12);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.about-cell__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(96px, 20vw, 120px);
  height: clamp(96px, 20vw, 120px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 35% 30%, rgba(200, 170, 255, 0.85) 0%, rgba(90, 140, 210, 0.45) 50%, rgba(30, 60, 110, 0.3) 100%);
  border: 1px solid rgba(180, 140, 255, 0.45);
  box-shadow: 0 0 36px rgba(130, 90, 220, 0.35);
  z-index: 3;
  animation: aboutCellPulse 3.5s ease-in-out infinite;
}

.about-cell__core-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  font-family: var(--font-hero);
  font-size: clamp(0.58rem, 1.12vw, 0.7rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.12;
  color: #fff;
  padding: 0 6px;
  max-width: 94%;
  animation: aboutCoreLabelBreathe 3.2s ease-in-out infinite;
}

.about-cell__core-label-line {
  display: block;
  white-space: nowrap;
}

.about-cell-diagram__satellite {
  position: absolute;
  width: clamp(118px, 26vw, 148px);
  padding: clamp(12px, 2vw, 16px);
  border-radius: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(150, 195, 240, 0.22);
  z-index: 2;
  cursor: pointer;
  isolation: isolate;
  transition:
    border-color 0.32s var(--about-ease),
    background 0.32s var(--about-ease),
    box-shadow 0.32s var(--about-ease),
    transform 0.32s var(--about-ease);
}

.about-cell-diagram__satellite::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 11px;
  padding: 1px;
  background: conic-gradient(
    from var(--cred-beam, 0deg),
    transparent 0deg,
    transparent 48deg,
    rgba(130, 175, 235, 0.42) 66deg,
    rgba(255, 255, 255, 1) 90deg,
    rgba(130, 175, 235, 0.42) 114deg,
    transparent 132deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: -1;
}

.about-cell-diagram__satellite:hover,
.about-cell-diagram__satellite:focus-within,
.about-cell-diagram__satellite.is-open {
  border-color: rgba(170, 210, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(130, 175, 235, 0.28),
    inset 0 0 18px rgba(150, 195, 240, 0.08);
  z-index: 5;
}

@media (hover: hover) and (pointer: fine) {
  .about-cell-diagram__satellite:hover::before,
  .about-cell-diagram__satellite:focus-within::before {
    opacity: 1;
    animation: aboutCredBorderBeam 2.8s linear infinite;
  }
}

.about-cell-diagram__satellite.is-open::before {
  opacity: 1;
  animation: aboutCredBorderBeam 2.8s linear infinite;
}

@media (max-width: 768px) {
  .about-cell-diagram__satellite.is-open,
  .about-cell-diagram__satellite:focus-visible {
    border-color: rgba(180, 140, 255, 0.62);
    background: rgba(130, 90, 220, 0.14);
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.28),
      0 0 28px rgba(160, 120, 255, 0.32);
  }

  .about-cell-diagram__satellite.is-open::before,
  .about-cell-diagram__satellite:focus-visible::before {
    background: conic-gradient(
      from var(--cred-beam, 0deg),
      transparent 0deg,
      transparent 52deg,
      rgba(150, 110, 240, 0.32) 68deg,
      rgba(210, 185, 255, 0.95) 90deg,
      rgba(150, 110, 240, 0.32) 112deg,
      transparent 128deg,
      transparent 360deg
    );
  }
}

.about-cell-diagram__satellite[data-cell="production"] { left: 50%; top: 12%; transform: translate(-50%, -50%); }
.about-cell-diagram__satellite[data-cell="gameplay"] { left: 84%; top: 74%; transform: translate(-50%, -50%); }
.about-cell-diagram__satellite[data-cell="agent"] { left: 16%; top: 74%; transform: translate(-50%, -50%); }

.about-cell-diagram__satellite[data-cell="production"]:hover,
.about-cell-diagram__satellite[data-cell="production"]:focus-within,
.about-cell-diagram__satellite[data-cell="production"].is-open {
  transform: translate(-50%, calc(-50% - 6px)) scale(1.05);
}

.about-cell-diagram__satellite[data-cell="gameplay"]:hover,
.about-cell-diagram__satellite[data-cell="gameplay"]:focus-within,
.about-cell-diagram__satellite[data-cell="gameplay"].is-open {
  transform: translate(-50%, calc(-50% - 6px)) scale(1.05);
}

.about-cell-diagram__satellite[data-cell="agent"]:hover,
.about-cell-diagram__satellite[data-cell="agent"]:focus-within,
.about-cell-diagram__satellite[data-cell="agent"].is-open {
  transform: translate(-50%, calc(-50% - 6px)) scale(1.05);
}

.about-cell__satellite-title {
  font-family: var(--font-hero);
  font-size: clamp(0.72rem, 1.35vw, 0.86rem);
  font-weight: 500;
  line-height: 1.28;
  color: rgba(245, 250, 255, 0.96);
  margin: 0;
  transition: color 0.35s var(--about-ease), text-shadow 0.35s var(--about-ease);
}

.about-cell-diagram__satellite:hover .about-cell__satellite-title,
.about-cell-diagram__satellite:focus-within .about-cell__satellite-title,
.about-cell-diagram__satellite.is-open .about-cell__satellite-title {
  color: rgba(245, 250, 255, 1);
  text-shadow: 0 0 14px rgba(150, 195, 240, 0.35);
}

.about-cell__satellite-desc {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 12;
  width: max(190px, 168%);
  padding: 13px 15px;
  font-family: var(--font-hero);
  font-size: clamp(0.82rem, 1.5vw, 0.94rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(248, 252, 255, 0.98);
  text-shadow: 0 0 10px rgba(150, 195, 240, 0.18);
  text-align: left;
  background: rgba(10, 16, 30, 0.98);
  border: 1px solid rgba(150, 195, 240, 0.48);
  border-radius: 10px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(130, 175, 235, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px) scale(0.96);
  transition:
    opacity 0.3s var(--about-ease),
    transform 0.3s var(--about-ease),
    visibility 0.3s;
  pointer-events: none;
  margin: 0;
}

.about-cell-diagram__satellite.is-tip-below .about-cell__satellite-desc {
  bottom: auto;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(-10px) scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .about-cell-diagram__satellite:hover .about-cell__satellite-desc,
  .about-cell-diagram__satellite:focus-within .about-cell__satellite-desc {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .about-cell-diagram__satellite.is-tip-below:hover .about-cell__satellite-desc,
  .about-cell-diagram__satellite.is-tip-below:focus-within .about-cell__satellite-desc {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.about-cell-diagram__satellite.is-open .about-cell__satellite-desc {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.about-cell-diagram__orbit-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: aboutOrbitSpin 60s linear infinite;
}

.about-cell-diagram__orbit-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform:
    rotate(var(--orbit-angle))
    translateY(calc(-1 * min(38vw, 200px)))
    rotate(calc(-1 * var(--orbit-angle) + 180deg));
  font-family: var(--font-hero);
  font-size: clamp(0.62rem, 1.15vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 200, 255, 0.92);
  text-shadow:
    0 0 12px rgba(180, 140, 255, 0.42),
    0 0 20px rgba(130, 90, 220, 0.22);
  white-space: nowrap;
}

.about-cell-diagram__loop {
  display: none;
}

.about-cell-loop-desc {
  font-family: var(--font-hero);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--about-muted);
  text-align: center;
  max-width: 42ch;
  margin: 0 auto;
}

/* ── Pages 3–5 type scale (Founder / FM Fit / Supercell) ─── */

.about-panel--founder .about-kicker,
.about-panel--values .about-kicker,
.about-panel--supercell .about-kicker {
  font-size: clamp(0.82rem, 1.45vw, 0.94rem);
}

.about-panel--intro .about-section-title,
.about-panel--founder .about-section-title,
.about-panel--values .about-section-title,
.about-panel--supercell .about-section-title {
  font-size: clamp(2.05rem, 7vw, 3.5rem);
}

.about-panel--founder .about-founder__role {
  font-size: clamp(0.82rem, 1.55vw, 0.96rem);
}

.about-panel--founder .about-body--emphasis {
  font-size: clamp(1rem, 2.25vw, 1.32rem);
}

.about-panel--founder .about-founder__avatar {
  width: clamp(104px, 16vw, 140px);
  height: clamp(104px, 16vw, 140px);
}

.about-panel--founder .about-cred {
  padding: clamp(16px, 2.2vw, 20px);
}

.about-panel--founder .about-cred__title {
  font-size: clamp(0.95rem, 1.75vw, 1.12rem);
}

.about-panel--founder .about-cred__detail {
  font-size: clamp(0.94rem, 1.68vw, 1.08rem);
}

@media (min-width: 600px) {
  .about-panel--founder .about-creds__item {
    display: flex;
    flex-direction: column;
  }

  .about-panel--founder .about-cred {
    flex: 1;
    display: flex;
    align-items: center;
  }
}

.about-panel--founder .about-cred__detail,
.about-panel--supercell .about-cell__satellite-desc {
  color: rgba(252, 254, 255, 1);
  text-shadow: 0 0 12px rgba(150, 195, 240, 0.22);
}

.about-panel--values .about-fmfit-lede__line {
  font-size: clamp(1.05rem, 2.25vw, 1.34rem);
}

.about-panel--values .about-fmfit-pillars .about-cred {
  padding: clamp(18px, 2.8vw, 26px);
  min-height: 5.5rem;
  display: flex;
  align-items: center;
}

.about-panel--values .about-fmfit-pillars .about-cred__title {
  font-size: clamp(1rem, 1.85vw, 1.2rem);
}

.about-panel--values .about-fmfit-pillars .about-cred__detail {
  font-size: clamp(0.94rem, 1.68vw, 1.08rem);
}

.about-panel--values .about-synthesis--fmfit {
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  max-width: 48ch;
}

.about-panel--supercell .about-cell-diagram__stage {
  width: min(520px, 92vw);
}

.about-panel--supercell .about-cell__core {
  width: clamp(128px, 26vw, 162px);
  height: clamp(128px, 26vw, 162px);
}

.about-panel--supercell .about-cell__core-label {
  font-size: clamp(0.66rem, 1.28vw, 0.8rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  padding: 0 4px;
}

.about-panel--supercell .about-cell-diagram__satellite {
  width: clamp(136px, 28vw, 172px);
  padding: clamp(14px, 2.2vw, 18px);
}

.about-panel--supercell .about-cell__satellite-title {
  font-size: clamp(0.82rem, 1.55vw, 0.98rem);
  font-weight: 500;
  line-height: 1.26;
}

.about-panel--supercell .about-cell__satellite-desc {
  font-size: clamp(0.88rem, 1.55vw, 0.98rem);
}

.about-panel--supercell .about-cell-diagram__orbit-label {
  font-size: clamp(0.72rem, 1.3vw, 0.86rem);
  color: rgba(230, 210, 255, 0.96);
  text-shadow:
    0 0 14px rgba(180, 140, 255, 0.55),
    0 0 24px rgba(130, 90, 220, 0.28);
}

.about-panel--supercell .about-cell-loop-desc {
  font-size: clamp(0.88rem, 1.75vw, 1.06rem);
  max-width: 46ch;
}

@media (max-width: 599px) {
  .about-panel--supercell .about-cell-diagram__loop-step {
    font-size: 0.78rem;
  }
}

/* ── Closing ──────────────────────────────────────────────── */

.about-panel--closing {
  justify-content: center;
}

.about-panel--closing .about-panel__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-closing {
  font-family: var(--font-hero);
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--about-text);
  text-align: center;
  margin: 0;
}

.about-closing-tagline {
  font-family: var(--font-hero);
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--about-text);
  text-align: center;
  margin: clamp(18px, 3vw, 32px) 0 0;
}

.about-panel--closing.is-active .about-closing .about-line-mask:nth-child(2) .about-line {
  transition-delay: 0.08s;
}

.about-panel--closing.is-active .about-closing .about-line-mask:nth-child(3) .about-line {
  transition-delay: 0.16s;
}

.about-panel--closing.is-active .about-closing-tagline {
  transition-delay: 0.28s;
}

/* ── Mobile cell stack ────────────────────────────────────── */

@media (max-width: 599px) {
  .about-cell-diagram__stage {
    width: 100%;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .about-cell-diagram__svg,
  .about-cell-diagram__orbit-labels {
    display: none;
  }

  .about-cell__core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
  }

  .about-cell-diagram__satellite {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    max-width: 320px;
    transform: none !important;
  }

  .about-cell-diagram__satellite:hover,
  .about-cell-diagram__satellite:focus-within,
  .about-cell-diagram__satellite.is-open {
    transform: translateY(-5px) scale(1.02) !important;
  }

  .about-cell__satellite-desc {
    width: 100%;
  }

  .about-cell-diagram__loop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    padding: 12px;
    border: 1px dashed var(--about-line);
    width: 100%;
    max-width: 320px;
  }

  .about-cell-diagram__loop-step {
    font-family: var(--font-hero);
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--about-faint);
  }

  .about-cell-diagram__loop-arrow {
    font-size: 0.65rem;
    color: rgba(150, 195, 240, 0.3);
  }
}

/* ── Animations ───────────────────────────────────────────── */

@keyframes aboutCellPulse {
  0%, 100% { box-shadow: 0 0 36px rgba(130, 90, 220, 0.35); }
  50% { box-shadow: 0 0 52px rgba(130, 90, 220, 0.5); }
}

@keyframes aboutCoreLabelBreathe {
  0%, 100% {
    opacity: 0.86;
    transform: scale(1);
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.25),
      0 0 16px rgba(180, 140, 255, 0.28);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
    text-shadow:
      0 0 14px rgba(255, 255, 255, 0.55),
      0 0 28px rgba(180, 140, 255, 0.52);
  }
}

@keyframes aboutOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

  .about-scroll-cue {
    animation: none;
    opacity: 0.5;
  }

  .about-cell-diagram__orbit-group,
  .about-cell-diagram__orbit-labels,
  .about-cell__core {
    animation: none;
  }

  .about-cell__core-label {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .about-creds__item::before,
  .about-cell-diagram__satellite::before {
    animation: none;
  }

  .about-panel--founder.is-active .about-creds__item--hint:not(.is-hint-dismissed)::before,
  .about-panel--values.is-active .about-creds__item--hint:not(.is-hint-dismissed)::before,
  .about-panel--supercell.is-active .about-cell-diagram__satellite--hint:not(.is-hint-dismissed)::before {
    opacity: 0.55;
  }

  .about-value:hover {
    transform: none;
  }

  .about-cell-diagram__satellite:hover,
  .about-cell-diagram__satellite:focus-within,
  .about-cell-diagram__satellite.is-open {
    transform: translate(-50%, -50%);
  }
}
