@layer reset, base, components, utilities;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: auto;
  }

  body,
  h1,
  h2,
  h3,
  p {
    margin: 0;
  }

  img,
  svg,
  canvas {
    display: block;
    max-width: 100%;
  }

  button,
  a {
    font: inherit;
  }

  button {
    border: 0;
  }
}

@layer base {
  :root {
    --purple: #7552cc;
    --purple-dark: #4b2a9b;
    --purple-deep: #2a145f;
    /* Sampled from assets/logo/ys-full-symbol.png so the SVG mark matches the raster. */
    --logo-purple: #8761e2;
    --lavender: #eee8ff;
    --lavender-soft: #f6f2ff;
    --paper: #f8f6f2;
    --white: #ffffff;
    --ink: #111111;
    --muted: #5f5a68;
    --header-height: 88px;
    --shell: min(1480px, calc(100vw - 64px));
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.22, 1.35, .36, 1);
  }

  body {
    min-width: 320px;
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink);
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  ::selection {
    background: rgba(117, 82, 204, .24);
  }

  :focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 4px;
  }

  .shell {
    width: var(--shell);
    margin-inline: auto;
  }

  .skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 999px;
    transition: transform .2s ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }
}

@layer components {
  .site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--ink);
    transition:
      background-color .35s ease,
      border-color .35s ease,
      transform .35s ease;
    border-bottom: 1px solid transparent;
  }

  .site-header.is-scrolled {
    background: rgba(248, 246, 242, .95);
    border-color: rgba(17, 17, 17, .09);
    backdrop-filter: blur(12px);
  }

  .site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    width: clamp(148px, 13vw, 210px);
    z-index: 2;
  }

  .brand img {
    width: 100%;
    height: auto;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    font-size: .83rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .site-nav > a:not(.button) {
    position: relative;
  }

  .site-nav > a:not(.button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--purple);
    transition: transform .25s ease;
  }

  .site-nav > a:hover::after {
    transform: scaleX(1);
  }

  .menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    background: var(--ink);
    transition: transform .25s ease;
  }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid var(--purple);
    border-radius: 999px;
    background: var(--purple);
    color: var(--white);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
    transition:
      transform .3s var(--ease-spring),
      background-color .25s ease,
      color .25s ease,
      box-shadow .3s ease;
    box-shadow: 0 14px 34px rgba(117, 82, 204, .2);
  }

  .button:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(117, 82, 204, .28);
  }

  .button--small {
    min-height: 42px;
    padding-inline: 18px;
    font-size: .72rem;
  }

  .button--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--purple-dark);
  }

  .button--outline-light {
    border-color: rgba(255, 255, 255, .64);
    background: transparent;
    color: var(--white);
    box-shadow: none;
  }

  .button--ghost {
    background: transparent;
    color: var(--purple);
    box-shadow: none;
  }

  .button--ghost:hover {
    background: rgba(117, 82, 204, .08);
    box-shadow: none;
  }

  .living-voice {
    position: relative;
    height: 320svh;
    background: var(--paper);
    scroll-snap-align: none;
  }

  .living-voice__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
  }

  .living-voice__background,
  .living-voice__background img,
  .texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .living-voice__background {
    z-index: -6;
  }

  .living-voice__background img {
    object-fit: cover;
  }

  .texture {
    z-index: -4;
    pointer-events: none;
    object-fit: cover;
  }

  .texture--neutral {
    opacity: .055;
  }

  .texture--purple {
    opacity: .04;
    mix-blend-mode: multiply;
  }

  .texture--edge {
    opacity: .065;
    mix-blend-mode: multiply;
  }

  .living-voice__inner {
    height: 100%;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 48px;
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(620px, 1.25fr);
    align-items: center;
    gap: clamp(24px, 4vw, 90px);
  }

  .hero-copy {
    position: relative;
    z-index: 8;
    max-width: 620px;
  }

  .eyebrow,
  .section-kicker {
    color: var(--purple);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .hero-title {
    margin-top: 18px;
    font-family: "Anton", sans-serif;
    font-size: clamp(4.2rem, 6.7vw, 8.8rem);
    font-weight: 400;
    line-height: .86;
    letter-spacing: -.025em;
    text-transform: uppercase;
  }

  .hero-title span {
    display: block;
    overflow: hidden;
  }

  .hero-title__accent {
    color: var(--purple);
  }

  .hero-summary {
    max-width: 540px;
    margin-top: 28px;
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-dot-grid {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 72px;
    opacity: .35;
    background-image: radial-gradient(circle, rgba(95, 90, 104, .55) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    pointer-events: none;
  }

  .sound-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .sound-toggle__icon {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--purple);
    box-shadow: 0 0 0 7px rgba(117, 82, 204, .1);
  }

  .sound-toggle[aria-pressed="true"] .sound-toggle__icon {
    animation: pulse 1.15s ease-in-out infinite;
  }

  .cursor-hint {
    width: fit-content;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(75, 42, 155, .76);
    font-family: "Caveat", cursive;
    font-size: 1.15rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .45s ease, transform .45s ease;
  }

  .cursor-hint.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .cursor-hint img {
    width: 80px;
    height: 46px;
    object-fit: contain;
  }

  .voice-stage {
    position: relative;
    z-index: 4;
    height: min(76svh, 820px);
    min-height: 560px;
    transform: translateZ(0);
  }

  .cursor-trail-canvas {
    position: fixed;
    inset: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .page-cursor {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
  }

  .page-cursor.is-active {
    opacity: 1;
  }

  .page-cursor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  @media (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button {
      cursor: none !important;
    }
  }

  .voice-terminal {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: clamp(0%, 2vw, 3%);
    width: min(46%, 400px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    pointer-events: none;
    will-change: transform;
    overflow: visible;
  }

  .voice-terminal__glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(14px);
    opacity: 0;
    transition: opacity .4s ease;
  }

  .voice-terminal__glow--soft {
    inset: -8%;
    background:
      radial-gradient(circle at 50% 50%,
        rgba(238, 232, 255, .82) 0,
        rgba(238, 232, 255, .4) 38%,
        transparent 72%);
  }

  .voice-terminal__glow--radial {
    inset: 6%;
    background:
      radial-gradient(circle,
        rgba(117, 82, 204, .2),
        rgba(117, 82, 204, .08) 42%,
        transparent 72%);
  }

  .voice-canvas,
  .particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .voice-canvas {
    z-index: 2;
  }

  .particle-canvas {
    z-index: 11;
  }

  .voice-dot {
    position: absolute;
    z-index: 7;
    top: 50%;
    left: 12%;
    width: clamp(46px, 5vw, 78px);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 24px rgba(117, 82, 204, .38));
    will-change: opacity, transform;
  }

  .voice-dot::after {
    content: "";
    position: absolute;
    inset: 13%;
    border: 2px solid rgba(117, 82, 204, .28);
    border-radius: 999px;
    animation: dot-ring 2s ease-out infinite;
  }

  .voice-dot img {
    width: 100%;
    height: auto;
  }

  .logo-build {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
  }

  .layer-wrap {
    position: absolute;
    pointer-events: none;
  }

  .layer-wrap--full {
    inset: 0;
  }

  .layer-wrap--center {
    inset: 0;
    display: grid;
    place-items: center;
  }

  .anim-wrap,
  .parallax-wrap {
    display: block;
    width: 100%;
    height: 100%;
    will-change: transform, opacity;
  }

  .layer-wrap--full .anim-wrap,
  .layer-wrap--full .parallax-wrap {
    position: absolute;
    inset: 0;
  }

  .layer-wrap--full .parallax-wrap {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
  }

  .logo-halo {
    width: 118%;
    opacity: 0;
    will-change: opacity, filter;
  }

  .parallax-wrap--logo {
    display: grid;
    place-items: center;
  }

  .voice-logo {
    width: 100%;
    height: 94%;
    color: var(--logo-purple);
    overflow: visible;
    filter: drop-shadow(0 20px 48px rgba(117, 82, 204, .18));
  }

  /* Assembly pieces start hidden; the scroll timeline reveals them. */
  .voice-logo [data-logo-piece] {
    opacity: 0;
    will-change: opacity, transform;
  }

  .hero-nodes {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
  }

  .hero-node {
    position: absolute;
    opacity: 0;
    will-change: transform, opacity;
    --node-lift: 0px;
    --node-scale: 1;
  }

  .hero-node__connector {
    position: relative;
    flex: 0 0 auto;
    width: 0;
    pointer-events: none;
    border-left: 1px dotted rgba(117, 82, 204, .42);
  }

  .hero-node__bubble {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(117, 82, 204, .12);
    color: var(--purple);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .hero-node__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  /* Bubble at the outer end; connector runs back toward the logo. */
  .hero-node--survey {
    top: 0;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, calc(-100% + var(--node-lift))) scale(var(--node-scale));
  }

  .hero-node--survey .hero-node__connector {
    height: clamp(44px, 7vw, 58px);
    margin-top: 4px;
  }

  .hero-node--forum {
    bottom: 10%;
    left: 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    transform: translate(calc(-100% - 14px), var(--node-lift)) scale(var(--node-scale));
  }

  .hero-node--forum .hero-node__connector {
    height: clamp(52px, 8vw, 68px);
    margin-inline-end: 4px;
    transform: rotate(36deg);
    transform-origin: bottom center;
  }

  .hero-node--projects {
    bottom: 6%;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    transform: translate(calc(100% + 14px), var(--node-lift)) scale(var(--node-scale));
  }

  .hero-node--projects .hero-node__connector {
    height: clamp(52px, 8vw, 68px);
    margin-inline-end: 4px;
    border-left: none;
    border-right: 1px dotted rgba(117, 82, 204, .42);
    transform: rotate(-36deg);
    transform-origin: bottom center;
  }

  .voice-particles {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .voice-stage__statement {
    position: absolute;
    z-index: 14;
    left: 50%;
    bottom: 7%;
    width: 100%;
    transform: translate(-50%, 24px);
    color: var(--purple-dark);
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    text-align: center;
    opacity: 0;
  }

  .scroll-progress {
    position: absolute;
    z-index: 20;
    right: 1%;
    top: 50%;
    width: 2px;
    height: 160px;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, .11);
  }

  .scroll-progress span {
    display: block;
    width: 100%;
    height: 0%;
    background: var(--purple);
  }

  .hero-scroll-label {
    position: absolute;
    z-index: 18;
    left: 50%;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
    color: rgba(17, 17, 17, .52);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .hero-scroll-label__line {
    position: relative;
    display: block;
    width: 64px;
    height: 1px;
    overflow: hidden;
    background: rgba(17, 17, 17, .15);
  }

  .hero-scroll-label__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--purple);
    transform: translateX(-100%);
    animation: scroll-line 1.8s ease-in-out infinite;
  }

  .section {
    position: relative;
    padding: clamp(100px, 11vw, 180px) 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: var(--header-height);
  }

  @media (pointer: coarse) {
    html {
      scroll-snap-type: y proximity;
    }
  }

  .section--lavender {
    background: var(--lavender-soft);
  }

  .section--dark {
    background: var(--purple-deep);
    color: var(--white);
  }

  .section-grid {
    display: grid;
    grid-template-columns: .42fr 1fr;
    gap: clamp(40px, 7vw, 120px);
  }

  .section-lead,
  .display-heading {
    max-width: 980px;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.025em;
    text-transform: uppercase;
  }

  .section-lead {
    font-size: clamp(2.7rem, 5vw, 6.1rem);
  }

  .display-heading {
    font-size: clamp(3.3rem, 6vw, 7.3rem);
  }

  .manifesto__copy {
    max-width: 780px;
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.2rem);
  }

  .section-heading {
    display: grid;
    grid-template-columns: .36fr 1fr;
    gap: clamp(40px, 7vw, 120px);
    align-items: start;
  }

  .section-heading--light .section-kicker {
    color: #cdbdff;
  }

  .process-grid {
    margin-top: 88px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 17, 17, .14);
  }

  .process-card {
    min-height: 340px;
    padding: 34px 32px 40px 0;
    border-right: 1px solid rgba(17, 17, 17, .14);
  }

  .process-card + .process-card {
    padding-left: 32px;
  }

  .process-card:last-child {
    border-right: 0;
  }

  .process-card__number {
    color: var(--purple);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
  }

  .process-card h3 {
    margin-top: 54px;
    font-family: "Anton", sans-serif;
    font-size: clamp(3rem, 4.2vw, 5.4rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
  }

  .process-card p {
    max-width: 330px;
    margin-top: 24px;
    color: var(--muted);
  }

  .cycle.section {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .cycle.section > .shell {
    width: 100%;
  }

  .cycle__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4.5vw, 68px);
  }

  .cycle__copy {
    max-width: 34rem;
    align-self: center;
  }

  .cycle-orbit-shell {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
  }

  .cycle__copy p:last-child {
    max-width: 640px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 1.08rem;
  }

  .cycle-orbit {
    --orbit-cx: 47%;
    --orbit-cy: 50%;
    --orbit-r: 34%;
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1;
    isolation: isolate;
  }

  .cycle-orbit__flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }

  .cycle-orbit__flow-line {
    fill: none;
    stroke: rgba(117, 82, 204, .38);
    stroke-width: 2;
    stroke-dasharray: 7 9;
    stroke-linecap: round;
  }

  .cycle-orbit__flow-line--survey {
    stroke: rgba(117, 82, 204, .42);
  }

  .cycle-orbit__flow-line--forum {
    stroke: rgba(117, 82, 204, .36);
  }

  .cycle-orbit__flow-line--projects {
    stroke: rgba(117, 82, 204, .44);
  }

  .cycle-orbit__ring {
    position: absolute;
    top: var(--orbit-cy);
    left: var(--orbit-cx);
    width: calc(var(--orbit-r) * 2);
    aspect-ratio: 1;
    translate: -50% -50%;
    border: 2px solid rgba(117, 82, 204, .35);
    border-radius: 50%;
    z-index: 0;
  }

  .cycle-orbit__ring::before,
  .cycle-orbit__ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(117, 82, 204, .24);
  }

  .cycle-orbit__ring::before {
    inset: 8%;
  }

  .cycle-orbit__ring::after {
    inset: -8%;
  }

  .cycle-orbit img {
    position: absolute;
    top: var(--orbit-cy);
    left: var(--orbit-cx);
    z-index: 2;
    width: 24%;
    translate: -50% -50%;
    opacity: .88;
  }

  .cycle-orbit__item {
    position: absolute;
    top: calc(var(--orbit-cy) + sin(var(--orbit-angle)) * var(--orbit-r) * -1);
    left: calc(var(--orbit-cx) + cos(var(--orbit-angle)) * var(--orbit-r));
    z-index: 3;
    min-width: 108px;
    padding: 10px 16px;
    border: 1px solid rgba(117, 82, 204, .25);
    border-radius: 999px;
    background: var(--white);
    color: var(--purple-dark);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    translate: -50% -50%;
  }

  .cycle-orbit__item--survey {
    --orbit-angle: 270deg;
  }

  .cycle-orbit__item--forum {
    --orbit-angle: 180deg;
  }

  .cycle-orbit__item--projects {
    --orbit-angle: 90deg;
  }

  .cycle-orbit__item--insight {
    --orbit-angle: 0deg;
    min-width: 124px;
    padding-inline: 14px;
    background: rgba(117, 82, 204, .1);
    border: 2px solid rgba(117, 82, 204, .42);
    box-shadow: 0 10px 28px rgba(117, 82, 204, .12);
    font-size: .72rem;
    opacity: 1;
  }

  @supports not (top: calc(50% + sin(30deg) * 34%)) {
    .cycle-orbit__item--survey {
      top: 16%;
      left: 47%;
    }

    .cycle-orbit__item--forum {
      top: 50%;
      left: 13%;
    }

    .cycle-orbit__item--projects {
      top: 84%;
      left: 47%;
    }

    .cycle-orbit__item--insight {
      top: 50%;
      left: 81%;
    }
  }

  .voice-cloud {
    margin-top: 78px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .voice-label {
    display: inline-flex;
    padding: 16px 22px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: var(--white);
    font-size: clamp(1rem, 1.7vw, 1.55rem);
    font-weight: 800;
    transition:
      transform .28s var(--ease-out),
      background-color .28s ease,
      color .28s ease;
    will-change: transform;
  }

  .voice-label:hover {
    background: var(--white);
    color: var(--purple-dark);
  }

  .cause-list {
    margin-top: 74px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 17, 17, .14);
  }

  .cause-item {
    position: relative;
    padding: 28px 42px 28px 0;
    border-bottom: 1px solid rgba(17, 17, 17, .14);
    background: transparent;
    color: var(--ink);
    font-family: "Anton", sans-serif;
    font-size: clamp(2rem, 3.5vw, 4.3rem);
    font-weight: 400;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s ease, padding-left .28s var(--ease-out);
  }

  .cause-item:nth-child(odd) {
    border-right: 1px solid rgba(17, 17, 17, .14);
  }

  .cause-item:nth-child(even) {
    padding-left: 42px;
  }

  .cause-item::after {
    content: "↗";
    position: absolute;
    right: 18px;
    top: 50%;
    color: var(--purple);
    font-family: "Manrope", sans-serif;
    font-size: .85rem;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .25s ease;
  }

  .cause-item:hover,
  .cause-item[aria-pressed="true"] {
    color: var(--purple);
    padding-left: 18px;
  }

  .cause-item:nth-child(even):hover,
  .cause-item:nth-child(even)[aria-pressed="true"] {
    padding-left: 60px;
  }

  .cause-item:hover::after,
  .cause-item[aria-pressed="true"]::after {
    opacity: 1;
  }

  .causes.section {
    height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 12px;
    box-sizing: border-box;
  }

  .join.section {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 16px;
    box-sizing: border-box;
  }

  .causes.section > .shell {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .causes__layout {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(14px, 2vh, 24px);
    height: 100%;
  }

  .causes__header {
    display: flex;
    align-items: baseline;
    gap: clamp(20px, 3.5vw, 48px);
    flex-wrap: wrap;
  }

  .causes__header .section-kicker {
    flex-shrink: 0;
    font-size: .68rem;
  }

  .causes__header .display-heading {
    flex: 1;
    min-width: min(100%, 28rem);
    font-size: clamp(2.2rem, 4.2vw, 4.6rem);
    line-height: .96;
  }

  .cause-list--causes {
    margin-top: 0;
    height: 100%;
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    align-content: stretch;
  }

  .cause-list--causes .cause-item {
    display: flex;
    align-items: center;
    padding: clamp(10px, 1.6vh, 18px) clamp(12px, 1.4vw, 20px);
    font-size: clamp(1.35rem, 2.1vh + 0.45rem, 2.55rem);
    border-right: 1px solid rgba(17, 17, 17, .14);
  }

  .cause-list--causes .cause-item:nth-child(4n) {
    border-right: 0;
  }

  .cause-list--causes .cause-item:nth-child(n + 5) {
    border-bottom: 0;
  }

  .cause-list--causes .cause-item:nth-child(even) {
    padding-left: clamp(12px, 1.4vw, 20px);
  }

  .cause-list--causes .cause-item:hover,
  .cause-list--causes .cause-item[aria-pressed="true"] {
    padding-left: clamp(16px, 1.6vw, 24px);
  }

  @media (max-width: 1024px) {
    .causes.section {
      height: auto;
      max-height: none;
      overflow: visible;
      min-height: 100svh;
    }

    .causes__layout {
      height: auto;
    }

    .cause-list--causes {
      height: auto;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(4, auto);
    }

    .cause-list--causes .cause-item {
      border-right: 1px solid rgba(17, 17, 17, .14);
    }

    .cause-list--causes .cause-item:nth-child(4n) {
      border-right: 1px solid rgba(17, 17, 17, .14);
    }

    .cause-list--causes .cause-item:nth-child(2n) {
      border-right: 0;
    }

    .cause-list--causes .cause-item:nth-child(n + 5) {
      border-bottom: 1px solid rgba(17, 17, 17, .14);
    }

    .cause-list--causes .cause-item:nth-child(n + 7) {
      border-bottom: 0;
    }
  }

  .join.section > .shell {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
  }

  .join-panel {
    position: relative;
    overflow: hidden;
    width: 100%;
    flex: none;
    padding: clamp(40px, 5vh, 58px) clamp(32px, 4.5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
      radial-gradient(circle at 86% 44%, rgba(255, 255, 255, .16), transparent 26%),
      var(--purple);
    color: var(--white);
    border-radius: 28px;
  }

  .join-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("./assets/Grain and noise overlays/living-voice-purple-grain.webp");
    opacity: .09;
    mix-blend-mode: soft-light;
  }

  .join-panel__logo {
    position: absolute;
    right: 3%;
    bottom: -8%;
    width: min(38vw, 480px);
    opacity: .15;
    filter: brightness(0) invert(1);
  }

  .join-panel .eyebrow {
    color: #dfd3ff;
    font-size: clamp(.88rem, 1.2vw, 1rem);
    letter-spacing: .16em;
  }

  .join-panel h2 {
    position: relative;
    max-width: 930px;
    margin-top: 14px;
    font-family: "Anton", sans-serif;
    font-size: clamp(2.75rem, 5.4vw, 6rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.025em;
    text-transform: uppercase;
  }

  .join-panel > p:not(.eyebrow) {
    position: relative;
    max-width: 650px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1.06rem, 1.3vw, 1.18rem);
    line-height: 1.55;
  }

  .join-panel__actions {
    position: relative;
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .join-panel__actions .button {
    font-size: clamp(.96rem, 1.05vw, 1.05rem);
    padding: 17px 24px;
  }

  .site-footer {
    padding: 46px 0;
    background: var(--paper);
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: .84rem;
  }

  .site-footer img {
    width: 150px;
  }

  .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
      opacity .75s var(--ease-out),
      transform .75s var(--ease-out);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes pulse {
    0%, 100% { transform: scale(.9); opacity: .7; }
    50% { transform: scale(1.16); opacity: 1; }
  }

  @keyframes dot-ring {
    0% { transform: scale(.65); opacity: .5; }
    100% { transform: scale(2.8); opacity: 0; }
  }

  @keyframes scroll-line {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
  }
}

@layer utilities {
  @media (max-width: 1180px) {
    :root {
      --shell: min(100% - 40px, 1160px);
    }

    .site-nav {
      gap: 17px;
      font-size: .72rem;
    }

    .living-voice__inner {
      grid-template-columns: .8fr 1.05fr;
      gap: 22px;
    }

    .hero-title {
      font-size: clamp(4rem, 7vw, 7.3rem);
    }

    .voice-stage {
      min-height: 510px;
    }
  }

  @media (max-width: 900px) {
    :root {
      --header-height: 74px;
    }

    .menu-toggle {
      position: relative;
      z-index: 3;
      display: block;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
      transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
      transform: translateY(-4px) rotate(-45deg);
    }

    .site-nav {
      position: fixed;
      inset: 0;
      z-index: 1;
      padding: 120px 28px 40px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 20px;
      background:
        linear-gradient(rgba(248, 246, 242, .97), rgba(248, 246, 242, .97)),
        url("./assets/Grain and noise overlays/living-voice-grain.webp");
      transform: translateY(-105%);
      transition: transform .55s var(--ease-out);
      font-size: 1.35rem;
    }

    .site-nav.is-open {
      transform: translateY(0);
    }

    .living-voice {
      height: 280svh;
    }

    .living-voice__inner {
      grid-template-columns: 1fr;
      padding-top: calc(var(--header-height) + 36px);
      padding-bottom: 22px;
      gap: 0;
    }

    .hero-copy {
      align-self: start;
      max-width: 740px;
    }

    .hero-title {
      font-size: clamp(3.8rem, 10vw, 6.5rem);
    }

    .hero-summary {
      margin-top: 18px;
      max-width: 620px;
    }

    .hero-actions {
      margin-top: 22px;
    }

    .cursor-hint {
      display: none;
    }

    .hero-nodes {
      display: none;
    }

    .hero-dot-grid {
      display: none;
    }

    .voice-stage {
      align-self: end;
      height: 46svh;
      min-height: 340px;
      margin-top: -10px;
    }

    .voice-terminal {
      width: min(58%, 340px);
      right: -2%;
    }

    .voice-dot {
      left: 10%;
      width: 52px;
    }

    .scroll-progress {
      right: 0;
      height: 110px;
    }

    .hero-scroll-label {
      display: none;
    }

    .section-grid,
    .section-heading,
    .cycle__layout {
      grid-template-columns: 1fr;
    }

    .manifesto__copy {
      max-width: 760px;
    }

    .process-grid {
      grid-template-columns: 1fr;
    }

    .process-card,
    .process-card + .process-card {
      min-height: auto;
      padding: 30px 0 52px;
      border-right: 0;
      border-bottom: 1px solid rgba(17, 17, 17, .14);
    }

    .process-card h3 {
      margin-top: 22px;
    }

    .cycle-orbit-shell {
      transform: none;
    }

    .cycle-orbit {
      width: min(100%, 560px);
    }

    .site-footer__inner {
      grid-template-columns: 1fr;
      justify-items: start;
    }
  }

  @media (max-width: 640px) {
    :root {
      --shell: min(100% - 28px, 640px);
    }

    .brand {
      width: 142px;
    }

    .living-voice {
      height: 250svh;
    }

    .living-voice__inner {
      padding-top: calc(var(--header-height) + 24px);
    }

    .hero-title {
      font-size: clamp(3.45rem, 15vw, 5.4rem);
    }

    .hero-summary {
      font-size: .96rem;
      line-height: 1.6;
    }

    .hero-actions {
      align-items: stretch;
      flex-direction: column;
    }

    .button,
    .sound-toggle {
      width: 100%;
    }

    .voice-stage {
      height: 39svh;
      min-height: 310px;
      margin-top: 14px;
    }

    .logo-halo {
      width: 92%;
    }

    .voice-terminal {
      width: min(64%, 280px);
    }

    .voice-stage__statement {
      bottom: 0;
      padding-bottom: 4px;
      font-size: .88rem;
    }

    .scroll-progress {
      opacity: .5;
      height: 80px;
    }

    .section {
      padding-block: 92px;
    }

    .causes.section,
    .join.section {
      padding-top: calc(var(--header-height) + 12px);
      padding-bottom: 12px;
    }

    .cause-list--causes .cause-item {
      font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .join-panel {
      padding: 32px 24px;
      border-radius: 20px;
    }

    .manifesto__copy {
      grid-template-columns: 1fr;
    }

    .section-lead,
    .display-heading {
      font-size: clamp(2.75rem, 12vw, 4.8rem);
    }

    .causes__header .display-heading {
      font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .cause-list:not(.cause-list--causes) {
      grid-template-columns: 1fr;
    }

    .cause-list--causes {
      grid-template-columns: 1fr;
      grid-template-rows: none;
    }

    .cause-list--causes .cause-item,
    .cause-list--causes .cause-item:nth-child(2n),
    .cause-list--causes .cause-item:nth-child(4n) {
      border-right: 0;
    }

    .cause-item,
    .cause-item:nth-child(even) {
      padding: 22px 36px 22px 0;
      border-right: 0;
    }

    .cause-item:nth-child(even):hover,
    .cause-item:nth-child(even)[aria-pressed="true"] {
      padding-left: 18px;
    }

    .join-panel__actions {
      flex-direction: column;
    }

    .join-panel__actions .button {
      width: 100%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      scroll-snap-type: none !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }

    .living-voice {
      height: auto;
      min-height: 100svh;
    }

    .living-voice__sticky {
      position: relative;
      min-height: 100svh;
      height: auto;
    }

    .voice-dot,
    .voice-canvas,
    .particle-canvas,
    .hero-nodes,
    .hero-dot-grid,
    .cursor-trail-canvas,
    .page-cursor {
      display: none !important;
    }

    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button {
      cursor: auto !important;
    }

    /* No assembly: show the finished mark straight away. */
    .voice-logo,
    .voice-logo [data-logo-piece],
    .logo-halo,
    .voice-stage__statement {
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
    }

    .voice-logo [data-ring-sweep] {
      stroke-dashoffset: 0 !important;
    }

    [data-anim-wrap] {
      opacity: 1 !important;
      transform: none !important;
    }
  }
}
