/*
  About vNext — editorial journal aligned with Living Studio homepage.
  Route-scoped to body.about-page. Do not dump into global main.css.
*/

.about-page {
  background: var(--ws-bg-page, var(--color-surface, #0f0f10));
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
  font-family: Inter, system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: clip;
}

.about-vnext-skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 120;
  padding: 0.65rem 0.9rem;
  border-radius: var(--ws-radius-pill, 999px);
  background: var(--ws-bg-surface-raised, var(--color-surface-elevated, #1a1a1b));
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
  transform: translateY(-200%);
}

.about-vnext-skip:focus,
.about-vnext-skip:focus-visible {
  transform: translateY(0);
}

.about-page :focus-visible {
  outline: 2px solid var(--ws-border-focus, var(--color-focus-ring, #8a2be2));
  outline-offset: 3px;
}

.about-vnext {
  /* Full-bleed shell (homepage family). Constrain section inners, not the page. */
  width: 100%;
  margin: 0 auto;
}

.about-vnext-arrival,
.about-vnext-section,
.about-vnext-join,
.about-vnext-origin__grid {
  width: min(100% - 1.5rem, 68rem);
  margin-inline: auto;
}

.about-vnext-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ws-text-muted, var(--color-muted-text, #caced3)) 88%, transparent);
}

.about-vnext-cta,
.about-vnext-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: var(--ws-radius-pill, 999px);
  font-weight: 700;
  text-decoration: none;
}

.about-vnext-cta {
  width: fit-content;
  background: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
  color: var(--ws-bg-page, var(--color-surface, #0f0f10));
}

.about-vnext-cta:hover,
.about-vnext-cta:focus-visible {
  background: var(--ws-accent, var(--color-primary, #8a2be2));
  color: var(--ws-text-inverse, #ffffff);
}

.about-vnext-text-link {
  padding-inline: 0.85rem;
  border: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.about-vnext-text-link:hover,
.about-vnext-text-link:focus-visible {
  border-color: var(--ws-accent, var(--color-primary, #8a2be2));
  color: var(--ws-accent-text, var(--color-primary, #8a2be2));
}

.about-vnext-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.about-vnext-index {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ws-text-muted, var(--color-muted-text, #caced3));
  opacity: 0.72;
}

.about-vnext-arrival,
.about-vnext-section,
.about-vnext-origin,
.about-vnext-join {
  scroll-margin-top: calc(var(--ws-nav-height, 4.5rem) + 0.75rem);
}

/* ==========================================================================
   Arrival — brand-forward thesis (homepage family, quieter)
   ========================================================================== */

.about-vnext-arrival {
  display: grid;
  gap: 1rem;
  padding: 2.1rem 0 2.75rem;
  border-bottom: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
}

.about-vnext-arrival h1 {
  margin: 0;
  max-width: min(14em, 100%);
  font-size: clamp(2.45rem, 6.4vw + 0.55rem, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.about-vnext-lede {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
}

.about-vnext-arrival .about-vnext-actions {
  margin-top: 0.35rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.about-vnext-section {
  padding: 2.55rem 0 2.2rem;
  border-bottom: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
}

.about-vnext-section__header {
  max-width: 40rem;
  margin-bottom: 1.35rem;
}

.about-vnext-section__header h2,
.about-vnext-join h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.about-vnext-section__header p,
.about-vnext-join p {
  margin: 0;
  max-width: 40rem;
  line-height: 1.65;
}

.about-vnext-section--contact {
  border-bottom: 0;
  padding-bottom: 1.5rem;
}

.about-vnext-more {
  margin: 0;
}

.about-vnext-mail {
  color: var(--ws-accent-text, var(--color-primary, #8a2be2));
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.about-vnext-mail:hover,
.about-vnext-mail:focus-visible {
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

/* ==========================================================================
   Values — numbered statements (not SaaS cards)
   ========================================================================== */

.about-vnext-statements {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 42rem;
}

.about-vnext-statements li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid color-mix(in srgb, var(--ws-border-subtle, #2a2a2b) 70%, transparent);
}

.about-vnext-statements li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--ws-border-subtle, #2a2a2b) 70%, transparent);
}

.about-vnext-statements h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.about-vnext-statements p {
  margin: 0;
  max-width: 34rem;
  line-height: 1.6;
}

/* ==========================================================================
   Timeline — cream editorial island (homepage origin family)
   ========================================================================== */

.about-vnext-origin {
  margin-top: 0.25rem;
  padding: 2.35rem 0 2.6rem;
  background: #f3eee6;
  color: #1f1b18;
}

.about-vnext-origin__grid {
  display: grid;
  gap: 1.1rem;
}

.about-vnext-origin .about-vnext-kicker,
.about-vnext-origin h2,
.about-vnext-origin p,
.about-vnext-origin li,
.about-vnext-origin strong,
.about-vnext-origin span {
  color: inherit;
}

.about-vnext-origin .about-vnext-kicker {
  color: #6b6258;
}

.about-vnext-origin h2 {
  color: #161311;
}

.about-vnext-origin .about-vnext-section__header {
  margin-bottom: 0.25rem;
}

.about-vnext-timeline {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.about-vnext-timeline li {
  padding-left: 0.9rem;
  border-left: 2px solid color-mix(in srgb, #6d28d9 55%, #c4b8a8);
  line-height: 1.6;
  color: #3f3832;
}

.about-vnext-timeline strong {
  color: #161311;
  margin-right: 0.35rem;
}

/* ==========================================================================
   Join
   ========================================================================== */

.about-vnext-join {
  width: min(100%, 46rem);
  margin: 0 auto;
  padding: 2.75rem 0 3.1rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.about-vnext-join .about-vnext-actions {
  justify-content: center;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.about-vnext-footer {
  border-top: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
  background: var(--ws-bg-shell, var(--color-panel, #1a1a1b));
}

.about-vnext-footer__inner {
  width: min(100% - 1.5rem, 68rem);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.4rem 0;
  text-align: center;
}

.about-vnext-footer img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.about-vnext-footer p {
  margin: 0;
  color: var(--ws-text-muted, var(--color-muted-text, #caced3));
  font-size: 0.85rem;
}

.about-vnext-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.about-vnext-footer__links a {
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
  font-size: 0.95rem;
  text-decoration: none;
}

.about-vnext-footer__links a:hover,
.about-vnext-footer__links a:focus-visible {
  color: var(--ws-accent, var(--color-primary, #8a2be2));
}

/* ==========================================================================
   Motion — quieter glass-settle echo of homepage (once-in-view)
   ========================================================================== */

.about-vnext-arrival,
.about-vnext-section,
.about-vnext-origin,
.about-vnext-join,
.about-vnext-statements,
.about-vnext-timeline {
  perspective: 1200px;
}

.about-page--motion [data-about-reveal] {
  --about-rx: 0px;
  --about-ry: 14px;
  --about-rr: -1.1deg;
  opacity: 0;
  filter: blur(1.5px);
  transform: translate3d(var(--about-rx), var(--about-ry), 0) rotate(var(--about-rr)) scale(1.025);
  will-change: transform, opacity, filter;
}

.about-page--motion [data-about-reveal].is-revealed {
  opacity: 1;
  filter: none;
  transform: none;
  animation: about-vnext-glass-settle 620ms cubic-bezier(0.14, 0.86, 0.22, 1) both;
  animation-delay: var(--about-reveal-delay, 0ms);
}

.about-page--motion .about-vnext-arrival[data-about-reveal] {
  --about-rx: -4px;
  --about-ry: 16px;
  --about-rr: -0.9deg;
}

.about-page--motion .about-vnext-section__header[data-about-reveal] {
  --about-rx: -6px;
  --about-ry: 12px;
  --about-rr: -0.8deg;
}

.about-page--motion .about-vnext-section__header[data-about-reveal].is-revealed {
  animation-name: about-vnext-glass-settle-copy;
  animation-duration: 680ms;
}

.about-page--motion .about-vnext-statements li[data-about-reveal]:nth-child(2n) {
  --about-rx: -8px;
  --about-rr: 1.5deg;
}

.about-page--motion .about-vnext-statements li[data-about-reveal]:nth-child(3n) {
  --about-rx: 7px;
  --about-rr: -1.6deg;
}

.about-page--motion .about-vnext-origin [data-about-reveal] {
  --about-rx: -5px;
  --about-ry: 12px;
  --about-rr: -0.85deg;
}

.about-page--motion .about-vnext-join[data-about-reveal] {
  --about-rx: 0px;
  --about-ry: 18px;
  --about-rr: 0deg;
}

.about-page--motion .about-vnext-join[data-about-reveal].is-revealed .about-vnext-cta--join {
  animation: about-vnext-cta-once 520ms ease 180ms 1 both;
}

@keyframes about-vnext-glass-settle {
  0% {
    opacity: 0.55;
    filter: blur(2px);
    box-shadow: 0 0 0 transparent;
    transform:
      translate3d(var(--about-rx, 0), var(--about-ry, 14px), 0)
      rotate(var(--about-rr, -1.1deg))
      scale(1.04);
  }
  34% {
    opacity: 1;
    filter: blur(0.55px);
    box-shadow: 0 0 16px color-mix(in srgb, var(--ws-accent, #8a2be2) 20%, transparent);
    transform:
      translate3d(calc(var(--about-rx, 0) * 0.38), calc(var(--about-ry, 14px) * 0.4), 0)
      rotate(calc(var(--about-rr, -1.1deg) * -0.45))
      scale(1.012);
  }
  62% {
    opacity: 1;
    filter: none;
    box-shadow: 0 0 8px color-mix(in srgb, var(--ws-accent, #8a2be2) 8%, transparent);
    transform:
      translate3d(calc(var(--about-rx, 0) * 0.08), calc(var(--about-ry, 14px) * 0.1), 0)
      rotate(calc(var(--about-rr, -1.1deg) * 0.12))
      scale(1.004);
  }
  100% {
    opacity: 1;
    filter: none;
    box-shadow: none;
    transform: none;
  }
}

@keyframes about-vnext-glass-settle-copy {
  0% {
    opacity: 0.4;
    filter: blur(2px);
    color: color-mix(in srgb, var(--ws-accent, #8a2be2) 38%, currentColor);
    text-shadow: 0 0 10px color-mix(in srgb, var(--ws-accent, #8a2be2) 22%, transparent);
    transform:
      translate3d(var(--about-rx, -6px), var(--about-ry, 12px), 0)
      rotate(var(--about-rr, -0.8deg));
  }
  40% {
    opacity: 1;
    filter: blur(0.45px);
    color: color-mix(in srgb, var(--ws-accent, #8a2be2) 18%, currentColor);
    text-shadow: 0 0 8px color-mix(in srgb, var(--ws-accent, #8a2be2) 16%, transparent);
    transform:
      translate3d(calc(var(--about-rx, -6px) * 0.35), calc(var(--about-ry, 12px) * 0.35), 0)
      rotate(calc(var(--about-rr, -0.8deg) * -0.4));
  }
  100% {
    opacity: 1;
    filter: none;
    color: inherit;
    text-shadow: none;
    transform: none;
  }
}

@keyframes about-vnext-cta-once {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ws-accent, #8a2be2) 0%, transparent);
  }
  40% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ws-accent, #8a2be2) 22%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ws-accent, #8a2be2) 0%, transparent);
  }
}

@media (max-width: 767px) {
  .about-vnext-arrival {
    padding-top: 1.65rem;
    gap: 0.9rem;
  }

  .about-vnext-arrival h1 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .about-vnext-section {
    padding-block: 2.1rem 1.85rem;
  }

  .about-vnext-join {
    padding-block: 2.35rem 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page--motion [data-about-reveal],
  .about-page--motion [data-about-reveal].is-revealed {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: inherit !important;
    will-change: auto;
  }

  .about-page--motion .about-vnext-join[data-about-reveal].is-revealed .about-vnext-cta--join {
    animation: none !important;
  }
}
