/*
  Community vNext — Direction C: Editorial Community Journal.
  ~60% Editorial People Field (A) + ~40% Studio Journal (B).
  Route-scoped to body.community-page. Do not import from global main.css.
  Shared moments are omitted until approved assets exist.
*/

.community-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;
}

.community-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%);
}

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

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

.community-vnext {
  width: min(100% - 1.5rem, 68rem);
  margin: 0 auto;
}

.community-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);
}

.community-vnext-cta,
.community-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;
}

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

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

.community-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));
}

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

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

.community-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;
}

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

/* ==========================================================================
   Arrival — A: emotional thesis + human presence evidence
   ========================================================================== */

.community-vnext-arrival {
  display: grid;
  grid-template-areas:
    "copy"
    "figure"
    "actions"
    "meta";
  gap: 1.35rem;
  padding: 2rem 0 2.75rem;
  border-bottom: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
  overflow-x: clip;
}

.community-vnext-arrival__copy {
  grid-area: copy;
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

/* Arrival figure = soft atmosphere field; People keeps the harder visual peak. */
.community-vnext-arrival__figure {
  grid-area: figure;
  position: relative;
  margin: 0;
  display: grid;
  align-content: end;
  gap: 0.65rem;
  width: min(100%, 22rem);
  justify-self: stretch;
  overflow: hidden;
}

.community-vnext-arrival__glow {
  position: absolute;
  inset: -6% -14% -10% -8%;
  z-index: 0;
  pointer-events: none;
  /* Shared geometry; theme only changes tonal stops via tokens. */
  background:
    radial-gradient(
      ellipse 78% 70% at 58% 44%,
      transparent 0%,
      color-mix(in srgb, var(--ws-bg-page, #0f0f10) 55%, transparent) 72%,
      var(--ws-bg-page, #0f0f10) 100%
    ),
    radial-gradient(
      ellipse 55% 50% at 70% 20%,
      var(--community-arrival-soft-spot, transparent) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 55% 48% at 48% 38%,
      color-mix(in srgb, var(--ws-accent, #8a2be2) var(--community-arrival-glow-accent, 9%), transparent) 0%,
      transparent 70%
    );
  opacity: var(--community-arrival-glow-opacity, 1);
}

.community-vnext-arrival__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 0;
  /* Shared mask geometry for dark + light theme parity. */
  --community-arrival-mask-x: linear-gradient(90deg, transparent 0%, #000 22%, #000 92%, transparent 100%);
  --community-arrival-mask-y: linear-gradient(180deg, transparent 0%, #000 10%, #000 72%, transparent 100%);
  mask-image: var(--community-arrival-mask-x), var(--community-arrival-mask-y);
  mask-composite: intersect;
  -webkit-mask-image: var(--community-arrival-mask-x), var(--community-arrival-mask-y);
  -webkit-mask-composite: source-in;
}

.community-vnext-arrival__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Shared gradient stops; only page-token color differs by theme. */
  background:
    linear-gradient(90deg, var(--ws-bg-page, #0f0f10) 0%, transparent 28%),
    linear-gradient(180deg, transparent 55%, var(--ws-bg-page, #0f0f10) 100%);
  opacity: var(--community-arrival-veil-opacity, 0.92);
}

.community-vnext-arrival__actions {
  grid-area: actions;
}

.community-vnext-arrival__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  align-content: start;
  align-items: baseline;
  max-width: 34rem;
}

.community-vnext-arrival h1 {
  margin: 0;
  max-width: min(12.5em, 100%);
  font-size: clamp(2.35rem, 6.2vw + 0.6rem, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: keep-all;
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.community-vnext-lede {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
  text-wrap: pretty;
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
}

.community-vnext-arrival__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 16%;
  background: transparent;
  filter: var(
    --community-arrival-img-filter,
    saturate(1.02) contrast(1.04) brightness(0.92)
  );
}

.community-vnext-arrival__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-inline: 0.15rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
}

.community-vnext-arrival__caption [data-i18n="community_page.person_naluworld_name"] {
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

/* Theme tonal overrides only — no geometry / mask / size changes. */
html[data-theme="light"] {
  --community-arrival-glow-accent: 14%;
  --community-arrival-glow-opacity: 0.82;
  --community-arrival-veil-opacity: 0.72;
  --community-arrival-soft-spot: color-mix(in srgb, var(--ws-accent-soft, #c4b5fd) 28%, transparent);
  --community-arrival-img-filter: saturate(1.04) contrast(1.01) brightness(1);
}

html[data-theme="dark"] {
  --community-arrival-glow-accent: 9%;
  --community-arrival-glow-opacity: 1;
  --community-arrival-veil-opacity: 0.92;
  --community-arrival-soft-spot: transparent;
  --community-arrival-img-filter: saturate(1.02) contrast(1.04) brightness(0.92);
}

.community-vnext-arrival__meta p {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.community-vnext-arrival__meta span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ws-text-muted, var(--color-muted-text, #caced3)) 78%, transparent);
}

.community-vnext-arrival__meta strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
}

/* ==========================================================================
   Sections — B: journal rhythm, varied silhouettes
   ========================================================================== */

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

.community-vnext-section__header {
  max-width: 36rem;
  margin-bottom: 1.35rem;
}

.community-vnext-section__header 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));
}

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

.community-vnext-more {
  margin: 1.35rem 0 0;
}

.community-vnext-section--how {
  border-bottom: 0;
  padding-block: 2rem 1.75rem;
  opacity: 0.92;
}

.community-vnext-section--how .community-vnext-section__header {
  max-width: 32rem;
  margin-bottom: 0.95rem;
}

.community-vnext-section--how .community-vnext-section__header h2 {
  font-size: clamp(1.28rem, 2.6vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.community-vnext-section--how .community-vnext-section__header p {
  font-size: 0.95rem;
  color: var(--ws-text-muted, var(--color-muted-text, #caced3));
}

.community-vnext-section--people {
  padding-block: 3.15rem 2.75rem;
}

.community-vnext-section--happens {
  padding-block: 2.7rem 2.35rem;
}

/* ==========================================================================
   What happens here — B: editorial statements, not feature cards
   ========================================================================== */

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

.community-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);
}

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

.community-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));
}

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

/* ==========================================================================
   Activities — B: studio journal index
   ========================================================================== */

.community-vnext-destinations {
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-vnext-destinations a {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  min-height: 2.75rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
  color: inherit;
  text-decoration: none;
}

.community-vnext-destinations li:last-child a {
  border-bottom: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
}

/* Discord stays an entry-weight row, not a branded Discord panel. */
.community-vnext-destinations__item--primary a {
  padding-block: 1.35rem;
  border-top-width: 2px;
  border-top-color: color-mix(in srgb, var(--ws-text-primary, #f3f3f5) 28%, transparent);
}

.community-vnext-destinations__item--primary .community-vnext-destinations__title {
  font-size: 1.18rem;
}

.community-vnext-destinations a:hover,
.community-vnext-destinations a:focus-visible {
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--ws-accent, #8a2be2) 55%, transparent);
}

.community-vnext-destinations a:hover .community-vnext-destinations__title,
.community-vnext-destinations a:focus-visible .community-vnext-destinations__title {
  color: var(--ws-accent-text, var(--color-primary, #8a2be2));
}

.community-vnext-destinations__body {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.community-vnext-destinations__title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.community-vnext-destinations__text {
  max-width: 42rem;
  line-height: 1.55;
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
}

.community-vnext-destinations__go {
  display: none;
}

/* ==========================================================================
   People — A: human visual peak; mobile = journal entries
   ========================================================================== */

.community-vnext-people {
  display: grid;
  gap: 1.5rem;
}

.community-vnext-person {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.community-vnext-person img {
  display: block;
  width: 3.6rem;
  height: 3.6rem;
  object-fit: cover;
  object-position: center 20%;
  background: var(--ws-bg-surface, var(--color-panel, #1a1a1b));
}

.community-vnext-person__role {
  margin: 0 0 0.18rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ws-text-muted, var(--color-muted-text, #caced3));
}

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

.community-vnext-person p:last-child {
  margin: 0;
  max-width: 34rem;
  line-height: 1.5;
}

.community-vnext-people__stack {
  display: grid;
  gap: 0;
}

.community-vnext-people__stack .community-vnext-person {
  padding: 1rem 0;
  border-top: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
}

.community-vnext-people__stack .community-vnext-person:last-child {
  border-bottom: 1px solid var(--ws-border-subtle, var(--color-divider, #2a2a2b));
}

.community-vnext-person--featured {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.community-vnext-person--featured img {
  width: min(100%, 22rem);
  height: auto;
  aspect-ratio: 4 / 5;
  object-position: center 16%;
}

.community-vnext-person--featured h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.community-vnext-person:hover h3,
.community-vnext-person:focus-visible h3 {
  color: var(--ws-accent-text, var(--color-primary, #8a2be2));
}

/* ==========================================================================
   How it works — B: quieter culture notes, not a feature trio
   ========================================================================== */

/* How: quieter prose notes — deliberately not the indexed silhouette of What Happens. */
.community-vnext-values {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
}

.community-vnext-values li {
  max-width: 32rem;
  padding: 0 0 0 0.85rem;
  border-left: 1px solid color-mix(in srgb, var(--ws-border-subtle, #2a2a2b) 80%, transparent);
}

.community-vnext-values h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.community-vnext-values p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--ws-text-muted, var(--color-muted-text, #caced3));
}

/* ==========================================================================
   Join — A: emotional resolution
   ========================================================================== */

.community-vnext-join {
  max-width: 32rem;
  padding: 4.75rem 0 5.25rem;
  display: grid;
  gap: 1.35rem;
}

.community-vnext-join h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5.4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
  color: var(--ws-text-primary, var(--color-text-strong, #f3f3f5));
}

.community-vnext-join p {
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
  max-width: 28rem;
}

.community-vnext-join .community-vnext-actions {
  margin-top: 0.85rem;
}

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

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

.community-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;
}

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

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

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

.community-vnext-footer__links a {
  color: var(--ws-text-secondary, var(--color-text, #e5e7eb));
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

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

/* ==========================================================================
   Mobile — B journal sequencing stronger
   ========================================================================== */

@media (max-width: 767px) {
  .community-vnext-arrival {
    padding-top: 1.15rem;
    gap: 1.2rem;
  }

  .community-vnext-arrival h1 {
    max-width: min(11em, 100%);
    font-size: clamp(2.2rem, 9.5vw, 3.05rem);
  }

  .community-vnext-arrival__figure {
    width: min(100%, 100%);
    max-width: 26rem;
    justify-self: center;
  }

  .community-vnext-arrival__media {
    --community-arrival-mask-x: linear-gradient(90deg, transparent 0%, #000 16%, #000 90%, transparent 100%);
    --community-arrival-mask-y: linear-gradient(180deg, transparent 0%, #000 10%, #000 74%, transparent 100%);
  }

  .community-vnext-arrival__copy {
    gap: 0.8rem;
  }

  .community-vnext-arrival__meta {
    border-top: 1px solid color-mix(in srgb, var(--ws-border-subtle, #2a2a2b) 55%, transparent);
    padding-top: 0.85rem;
  }

  .community-vnext-person--featured img {
    width: min(100%, 18rem);
  }

  .community-vnext-section {
    padding-block: 2.05rem 1.85rem;
  }

  .community-vnext-section--people {
    padding-block: 2.55rem 2.25rem;
  }

  .community-vnext-section--how {
    padding-block: 1.7rem 1.5rem;
  }

  .community-vnext-join {
    padding: 4.1rem 0 4.5rem;
    gap: 1.2rem;
  }

  .community-vnext-destinations a {
    padding-block: 1.15rem;
  }
}

@media (min-width: 768px) {
  .community-vnext-arrival {
    grid-template-areas:
      "copy copy"
      "figure actions"
      "figure meta";
    grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
    column-gap: 1.75rem;
    row-gap: 1.1rem;
    align-items: end;
  }

  .community-vnext-arrival__figure {
    align-self: start;
    width: min(100%, 18rem);
  }

  .community-vnext-destinations a {
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    align-items: center;
  }

  .community-vnext-destinations__go {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ws-text-muted, var(--color-muted-text, #caced3));
  }
}

@media (min-width: 1024px) {
  .community-vnext-arrival {
    grid-template-areas:
      "copy figure"
      "actions figure"
      "meta figure";
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.95fr);
    column-gap: 2.75rem;
    row-gap: 1.15rem;
    align-items: start;
    padding: 3.1rem 0 3.4rem;
    /* Prefer content safety on short desktops (1280×720); grow naturally if needed. */
    min-height: min(36rem, calc(100dvh - var(--ws-nav-height, 4.5rem) - 2rem));
  }

  .community-vnext-arrival__figure {
    width: 100%;
    max-width: none;
    min-height: min(28rem, calc(100dvh - var(--ws-nav-height, 4.5rem) - 8rem));
    justify-self: stretch;
    align-self: stretch;
    display: grid;
    grid-template-rows: 1fr auto;
  }

  .community-vnext-arrival__media {
    height: 100%;
    min-height: 0;
    --community-arrival-mask-x: linear-gradient(90deg, transparent 0%, #000 26%, #000 94%, transparent 100%);
    --community-arrival-mask-y: linear-gradient(180deg, transparent 0%, #000 8%, #000 70%, transparent 100%);
  }

  .community-vnext-arrival__figure img {
    height: 100%;
    min-height: 20rem;
    aspect-ratio: auto;
  }

  .community-vnext-arrival__caption {
    justify-self: start;
    margin-top: -1.6rem;
    padding: 0.85rem 0.35rem 0;
    background: linear-gradient(
      180deg,
      transparent 0%,
      color-mix(in srgb, var(--ws-bg-page, #0f0f10) 55%, transparent) 40%,
      var(--ws-bg-page, #0f0f10) 100%
    );
  }

  .community-vnext-arrival__meta {
    width: min(100%, 28rem);
    border-left: 0;
    padding: 0;
    justify-self: start;
    max-width: 28rem;
  }

  .community-vnext-people {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.75fr);
    gap: 3rem;
    align-items: start;
  }

  /* People peak stays a harder, clearer featured crop. */
  .community-vnext-person--featured img {
    width: min(100%, 26rem);
    border-radius: 0;
    mask-image: none;
    -webkit-mask-image: none;
    filter: none;
  }

  .community-vnext-people__stack {
    padding-top: 0.35rem;
  }

  .community-vnext-footer__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    text-align: left;
    justify-items: start;
  }

  .community-vnext-footer__inner p {
    justify-self: center;
  }

  .community-vnext-footer__links {
    justify-self: end;
    justify-content: end;
  }
}

@media (min-width: 1280px) {
  .community-vnext-section--happens,
  .community-vnext-section--activities {
    padding-block: 2.85rem 2.4rem;
  }

  .community-vnext-arrival h1 {
    font-size: clamp(2.6rem, 4.2vw + 1rem, 4.85rem);
  }

  .community-vnext-join {
    padding-block: 5.25rem 5.5rem;
  }
}

/* ==========================================================================
   Semantic motion — route-scoped; reduced-motion jumps to final state
   ========================================================================== */

.community-vnext-motion-ready .community-vnext-arrival__copy > *,
.community-vnext-motion-ready .community-vnext-arrival__figure,
.community-vnext-motion-ready .community-vnext-arrival__actions,
.community-vnext-motion-ready .community-vnext-arrival__meta {
  opacity: 0;
  transform: translateY(0.55rem);
}

.community-vnext-motion-ready .community-vnext-section,
.community-vnext-motion-ready .community-vnext-join {
  opacity: 0;
}

.community-vnext-motion-ready .community-vnext-person--featured img {
  opacity: 0;
  clip-path: inset(0 0 12% 0);
}

.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-arrival__copy > *,
.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-arrival__figure,
.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-arrival__actions,
.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-arrival__meta,
.community-vnext-motion-ready .community-vnext-section.is-inview,
.community-vnext-motion-ready .community-vnext-join.is-inview,
.community-vnext-motion-ready .community-vnext-section--people.is-inview .community-vnext-person--featured img {
  opacity: 1;
  transform: none;
  clip-path: none;
}

.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-kicker {
  transition: opacity 320ms ease, transform 320ms ease;
}

.community-vnext-motion-ready .community-vnext-arrival.is-inview h1 {
  transition: opacity 400ms ease 60ms, transform 400ms ease 60ms;
}

.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-lede {
  transition: opacity 400ms ease 120ms, transform 400ms ease 120ms;
}

.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-arrival__figure {
  transition: opacity 420ms ease 140ms, transform 420ms ease 140ms;
}

.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-arrival__actions {
  transition: opacity 380ms ease 200ms, transform 380ms ease 200ms;
}

.community-vnext-motion-ready .community-vnext-arrival.is-inview .community-vnext-arrival__meta {
  transition: opacity 360ms ease 260ms, transform 360ms ease 260ms;
}

.community-vnext-motion-ready .community-vnext-section.is-inview,
.community-vnext-motion-ready .community-vnext-join.is-inview {
  transition: opacity 480ms ease;
}

.community-vnext-motion-ready .community-vnext-section--people.is-inview .community-vnext-person--featured img {
  transition: opacity 560ms ease 80ms, clip-path 560ms ease 80ms;
}

.community-vnext-join.is-inview .community-vnext-cta--join-primary {
  animation: community-vnext-cta-once 520ms ease 180ms 1 both;
}

@keyframes community-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 (prefers-reduced-motion: reduce) {
  html:has(body.community-page) {
    scroll-behavior: auto;
  }

  .community-page *,
  .community-page *::before,
  .community-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .community-vnext-motion-ready .community-vnext-arrival__copy > *,
  .community-vnext-motion-ready .community-vnext-arrival__figure,
  .community-vnext-motion-ready .community-vnext-arrival__actions,
  .community-vnext-motion-ready .community-vnext-arrival__meta,
  .community-vnext-motion-ready .community-vnext-section,
  .community-vnext-motion-ready .community-vnext-join,
  .community-vnext-motion-ready .community-vnext-person--featured img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
