
    :root {
      color-scheme: dark;
      --bg: #08080a;
      --ink: #f7f7fa;
      --purple: #b68aff;
      --muted: #aca6b8;
    }
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font:
        16px/1.65 Arial,
        Helvetica,
        sans-serif;
    }
    html {
      scroll-behavior: smooth;
    }
    a {
      color: inherit;
      text-decoration: none;
    }
    button {
      font: inherit;
      cursor: pointer;
    }
    button:focus-visible,
    a:focus-visible {
      outline: 3px solid #dab5ff;
      outline-offset: 7px;
    }
    .wrap {
      width: min(1220px, 90%);
      margin: auto;
    }
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      padding: 25px 0;
      border-bottom: 1px solid #ffffff1b;
    }
    .brand {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.5px;
      line-height: 1.2;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .brand b {
      font-size: 35px;
      color: var(--purple);
    }
    nav {
      display: flex;
      gap: 26px;
      align-items: center;
      font-size: 14px;
    }
    nav .active {
      color: var(--purple);
    }
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 15px;
      border: 1px solid #6e5d80;
      border-radius: 40px;
      padding: 10px 20px;
      font-size: 14px;
      background: transparent;
      color: white;
    }
    .hero {
      padding: 55px 0 10px;
    }
    .crumb {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 28px;
    }
    .crumb span {
      padding: 0 13px;
    }
    .hero h1 {
      font-size: clamp(48px, 7.8vw, 105px);
      line-height: 0.97;
      letter-spacing: -0.065em;
      margin: 0;
      font-weight: 900;
    }
    .hero h1 em {
      color: var(--purple);
      font-style: normal;
    }
    .intro {
      display: flex;
      justify-content: space-between;
      gap: 25px;
      align-items: end;
      padding: 26px 0 30px;
      border-bottom: 1px solid #ffffff16;
    }
    .intro p {
      font-size: 17px;
      max-width: 510px;
      color: #bcb6c8;
      margin: 0;
    }
    .intro small {
      font-size: 12px;
      letter-spacing: 1.5px;
      color: var(--purple);
    }
    .projects {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 65px 8%;
      padding: 45px 0 95px;
    }
    .project {
      min-width: 0;
    }
    .folder-button {
      width: 100%;
      height: 380px;
      position: relative;
      border: 0;
      padding: 0;
      background: none;
      color: white;
      perspective: 1000px;
      display: block;
      isolation: isolate;
    }
    .halo {
      position: absolute;
      inset: 10% 0 0;
      border-radius: 50%;
      background: radial-gradient(ellipse, #8252de44, transparent 65%);
      filter: blur(22px);
      opacity: calc(0.35 + var(--open) * 0.6);
      transform: scale(calc(0.8 + var(--open) * 0.3));
      pointer-events: none;
    }
    .scene {
      position: absolute;
      left: 50%;
      top: 56%;
      width: 320px;
      height: 210px;
      transform-style: preserve-3d;
      transform: translate(-50%, -50%) rotateX(calc(2deg + var(--open) * 8deg))
        rotateY(calc(var(--open) * -18deg)) rotateZ(calc(var(--open) * -3deg));
    }
    .folder-back {
      position: absolute;
      inset: 0;
      border: 1px solid #c29af8a6;
      border-radius: 18px;
      background: linear-gradient(130deg, #b389f72c, #6940b65c 55%, #351a5680);
      box-shadow:
        inset 0 0 30px #ba82ff1c,
        0 15px 50px #0008;
      transform: translateZ(-32px);
    }
    .back-tab {
      position: absolute;
      left: -1px;
      top: -18px;
      width: 140px;
      height: 30px;
      background: linear-gradient(120deg, #b48cff80, #7745ae40);
      border: 1px solid #caa4ff85;
      border-bottom: 0;
      border-radius: 15px 20px 0 0;
      clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
    }
    .preview {
      position: absolute;
      left: 86px;
      top: 20px;
      width: 146px;
      height: 192px;
      border: 1px solid #dfc9ff70;
      border-radius: 11px;
      overflow: hidden;
      background: #181320;
      box-shadow: 0 10px 20px #0008;
      transform-origin: 50% 90%;
      backface-visibility: hidden;
    }
    .preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .preview.left {
      transform: translate3d(calc(var(--open) * -78px), calc(-8px - var(--open) * 81px), -12px)
        rotate(calc(var(--open) * -23deg));
    }
    .preview.right {
      transform: translate3d(calc(var(--open) * 83px), calc(-5px - var(--open) * 86px), -8px)
        rotate(calc(var(--open) * 23deg));
    }
    .preview.center {
      transform: translate3d(0, calc(-12px - var(--open) * 116px), 8px)
        rotate(calc(var(--open) * 2deg));
    }
    .folder-front {
      position: absolute;
      inset: 0;
      transform-origin: 50% 100%;
      transform: translateZ(38px) rotateX(calc(var(--open) * -17deg));
      border-radius: 18px;
      overflow: hidden;
      backface-visibility: hidden;
    }
    .glass {
      position: absolute;
      inset: 0;
      background: linear-gradient(125deg, #e4c8ff4d 0%, #b782ed2e 35%, #854bc359 75%, #cf9aff45);
      backdrop-filter: blur(9px) saturate(1.2);
      -webkit-backdrop-filter: blur(9px) saturate(1.2);
      clip-path: polygon(0 0, 34% 0, 42% 12%, 100% 12%, 100% 100%, 0 100%);
      box-shadow: inset 0 -1px 20px #c195ff20;
    }
    .folder-front svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: visible;
      fill: none;
      stroke: #dfbeffbd;
      stroke-width: 1.5;
      filter: drop-shadow(0 0 4px #c68fff70);
    }
    .shine {
      position: absolute;
      inset: 0;
      background: linear-gradient(115deg, transparent 25%, #f5eaff48 47%, transparent 64%);
      clip-path: polygon(0 0, 34% 0, 42% 12%, 100% 12%, 100% 100%, 0 100%);
      transform: translateX(calc(-125% + var(--open) * 235%));
      pointer-events: none;
    }
    .folder-brand {
      position: absolute;
      left: 23px;
      bottom: 24px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      letter-spacing: 1px;
      font-weight: 700;
      text-shadow: 0 2px 6px #220c36;
    }
    .folder-brand b {
      font-size: 28px;
      color: #ead5ff;
    }
    .folder-brand > span {
      position: absolute;
      left: 38px;
      top: 30px;
      font-size: 8px;
      letter-spacing: 1.2px;
      white-space: nowrap;
      color: #d8c7e9;
    }
    .open-hint {
      position: absolute;
      right: 12px;
      bottom: 3px;
      border: 1px solid #564367;
      border-radius: 30px;
      font-size: 12px;
      padding: 7px 13px;
      color: #d8c4f2;
      background: #120d19;
    }
    .open-hint span {
      padding-left: 12px;
    }
    .folder-button:hover .open-hint {
      border-color: #b68aff;
      background: #29193d;
    }
    .project-copy {
      padding: 23px 7px 0;
      border-bottom: 1px solid #ffffff16;
      min-height: 195px;
      padding-bottom: 28px;
    }
    .category {
      font-size: 11px;
      letter-spacing: 1.7px;
      color: var(--purple);
    }
    h2 {
      font-size: 30px;
      letter-spacing: -1px;
      line-height: 1.2;
      margin: 9px 0 12px;
    }
    .project-copy p {
      font-size: 15px;
      line-height: 1.8;
      color: var(--muted);
      max-width: 460px;
      margin: 0;
    }
    .end {
      text-align: center;
      padding: 65px 0 75px;
      border-top: 1px solid #ffffff1c;
    }
    .end h2 {
      font-size: clamp(36px, 5vw, 66px);
      margin: 0 0 25px;
    }
    .end .pill {
      background: linear-gradient(110deg, #9065f0, #d79ded);
      color: #100b16;
      border: 0;
      font-weight: 700;
    }
    .footer {
      display: flex;
      justify-content: space-between;
      padding: 24px 0 70px;
      font-size: 12px;
      color: var(--muted);
    }
    .motion {
      position: fixed;
      right: 18px;
      bottom: 16px;
      z-index: 3;
      background: #150f20ed;
      font-size: 12px;
      padding: 8px 14px;
      backdrop-filter: blur(12px);
    }
    dialog {
      width: min(1050px, 95vw);
      max-height: 94vh;
      padding: 0;
      border: 1px solid #77558e;
      border-radius: 16px;
      background: #100d16;
      color: white;
    }
    dialog::backdrop {
      background: #030107ed;
      backdrop-filter: blur(10px);
    }
    .dialog-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      padding: 14px 22px;
      background: #100d16f5;
      position: sticky;
      top: 0;
      z-index: 1;
    }
    .dialog-head h2 {
      font-size: 20px;
      margin: 0;
    }
    .dialog-head button,
    .dialog-foot button {
      padding: 7px 14px;
      background: #20162b;
      color: white;
      border: 1px solid #695276;
      border-radius: 30px;
      font-size: 14px;
    }
    .board {
      width: 100%;
      height: auto;
      display: block;
    }
    .dialog-foot {
      display: flex;
      justify-content: space-between;
      padding: 16px 22px;
    }
    .skip {
      position: absolute;
      left: 15px;
      top: -100px;
      background: #b68aff;
      color: black;
      padding: 10px;
      z-index: 9;
    }
    .skip:focus {
      top: 10px;
    }
    @media (max-width: 800px) {
      nav {
        gap: 15px;
      }
      .optional {
        display: none;
      }
      .projects {
        gap: 45px 3%;
      }
      .folder-button {
        height: 340px;
      }
      .scene {
        scale: 0.86;
      }
      .project-copy {
        min-height: 225px;
      }
      .intro small {
        max-width: 160px;
      }
      nav .pill {
        display: none;
      }
    }
    @media (max-width: 600px) {
      .wrap {
        width: 88%;
      }
      .header {
        flex-wrap: wrap;
        gap: 18px;
      }
      .brand {
        font-size: 11px;
      }
      .header nav {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
      }
      .hero {
        padding-top: 35px;
      }
      .hero h1 {
        font-size: clamp(43px, 12vw, 65px);
      }
      .intro {
        display: block;
      }
      .intro small {
        display: block;
        max-width: none;
        margin-top: 17px;
        font-size: 10px;
      }
      .intro p {
        font-size: 16px;
      }
      .projects {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 26px;
      }
      .folder-button {
        height: 360px;
      }
      .scene {
        scale: 0.91;
      }
      .project-copy {
        min-height: 0;
        padding-top: 20px;
      }
      .footer {
        display: block;
      }
      .footer a {
        display: block;
        margin-top: 12px;
      }
      .dialog-head {
        padding: 12px;
      }
      .dialog-head h2 {
        font-size: 16px;
      }
    }
    @media (max-width: 360px) {
      .scene {
        scale: 0.76;
      }
      .folder-button {
        height: 320px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }
      * {
        transition: none !important;
        animation: none !important;
      }
    }
    @media (max-width: 600px) {
      .scene {
        scale: 1;
        transform: translate(-50%, -50%) scale(0.76) rotateX(calc(2deg + var(--open) * 8deg))
          rotateY(calc(var(--open) * -18deg)) rotateZ(calc(var(--open) * -3deg));
      }
      .folder-button {
        height: 320px;
      }
    }
    @media (max-width: 360px) {
      .scene {
        scale: 1;
        transform: translate(-50%, -50%) scale(0.65) rotateY(calc(var(--open) * -18deg));
      }
    }
    /* Immersive brand worlds */
    body {
      background: #08080c;
    }
    .wrap {
      width: min(1360px, 90%);
    }
    .hero {
      padding-top: 70px;
    }
    .hero h1 {
      font-size: clamp(58px, 8.2vw, 122px);
      letter-spacing: -0.075em;
      max-width: 1150px;
    }
    .hero .intro {
      border: 0;
      padding-bottom: 36px;
    }
    .world-index {
      display: grid;
      grid-template-columns: repeat(10, 1fr);
      gap: 10px;
      max-width: 1050px;
    }
    .world-index a {
      position: relative;
      aspect-ratio: 1.15;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid #ffffff26;
      transition:
        transform 0.35s,
        border-color 0.35s;
      background: #17131e;
    }
    .world-index a:hover {
      transform: translateY(-8px);
      border-color: #b68aff;
    }
    .index-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      filter: brightness(0.65);
      transition: filter 0.3s;
    }
    .world-index a:hover img {
      filter: brightness(1);
    }
    .world-index span {
      position: absolute;
      left: 8px;
      bottom: 5px;
      font-size: 11px;
      text-shadow: 0 2px 6px black;
    }
    .hero-foot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #ffffff20;
      padding: 23px 0;
      font-size: 10px;
      letter-spacing: 2px;
      color: #a9a1b6;
    }
    .down {
      font-size: 25px;
      color: #b68aff;
    }
    .projects {
      display: block;
      padding: 0;
    }
    .project {
      position: relative;
      min-height: 125vh;
      isolation: isolate;
      scroll-margin-top: 15px;
    }
    .stage {
      position: sticky;
      top: 20px;
      min-height: 92vh;
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      align-items: center;
      column-gap: 5%;
      border-bottom: 1px solid #ffffff10;
      overflow: hidden;
    }
    .world-number {
      position: absolute;
      left: -12px;
      top: 8%;
      font-size: clamp(170px, 25vw, 370px);
      line-height: 1;
      font-weight: 900;
      letter-spacing: -0.08em;
      color: transparent;
      -webkit-text-stroke: 1px #ffffff12;
      z-index: -1;
      pointer-events: none;
    }
    .folder-button {
      grid-column: 2;
      grid-row: 1;
      height: 600px;
      z-index: 1;
      perspective: 1300px;
    }
    .scene {
      scale: 1;
      transform: translate(-50%, -50%) scale(1.55) rotateX(calc(2deg + var(--open) * 9deg))
        rotateY(calc(var(--open) * -22deg)) rotateZ(calc(var(--open) * -4deg));
    }
    .project-copy {
      grid-column: 1;
      grid-row: 1;
      border: 0;
      padding: 100px 0 40px;
      min-height: 0;
      position: relative;
      z-index: 2;
    }
    .project-copy h2 {
      font-size: clamp(42px, 5.5vw, 79px);
      line-height: 1.04;
      letter-spacing: -0.055em;
      margin: 24px 0;
    }
    .project-copy p {
      font-size: 17px;
      line-height: 1.8;
      max-width: 390px;
    }
    .category {
      font-size: 11px;
      letter-spacing: 2px;
      color: var(--accent);
    }
    .open-hint {
      bottom: 5%;
      right: 12%;
      font-size: 13px;
      padding: 12px 21px;
      border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    }
    .halo {
      inset: -8% -18%;
      background: radial-gradient(
        ellipse,
        color-mix(in srgb, var(--accent) 24%, transparent),
        transparent 63%
      );
      filter: blur(42px);
    }
    .folder-back {
      border-color: color-mix(in srgb, var(--accent) 75%, white);
      background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--accent) 23%, transparent),
        #3b205655
      );
    }
    .glass {
      background: linear-gradient(
        125deg,
        #e4c8ff45,
        color-mix(in srgb, var(--accent) 22%, transparent) 42%,
        #53298577
      );
      backdrop-filter: blur(11px);
    }
    .folder-front svg {
      stroke: color-mix(in srgb, var(--accent) 60%, #ecd5ff);
    }
    .preview {
      box-shadow: 0 14px 30px #000b;
    }
    .palette {
      display: flex;
      gap: 9px;
      margin-top: 28px;
    }
    .palette i {
      width: 23px;
      height: 23px;
      border-radius: 50%;
      background: var(--accent);
      border: 1px solid #ffffff30;
    }
    .palette i:nth-child(2) {
      background: color-mix(in srgb, var(--accent) 45%, #fff);
    }
    .palette i:nth-child(3) {
      background: #1a1721;
    }
    .palette i:nth-child(4) {
      background: #f3edf8;
    }
    .project-invitation {
      display: block;
      font-size: 10px;
      letter-spacing: 1.6px;
      color: #81778e;
      margin-top: 30px;
    }
    .orbits {
      position: absolute;
      right: 0;
      top: 50%;
      width: 60%;
      aspect-ratio: 1;
      transform: translateY(-50%);
      z-index: -1;
      pointer-events: none;
    }
    .orbits i {
      position: absolute;
      inset: 8%;
      border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
      border-radius: 50%;
      transform: rotate(-30deg) scaleY(0.54);
    }
    .orbits i:nth-child(2) {
      inset: 0;
      transform: rotate(39deg) scaleY(0.6);
      border-style: dashed;
      opacity: 0.6;
    }
    .orbits i:nth-child(3) {
      inset: 17%;
      transform: rotate(80deg) scaleY(0.65);
      opacity: 0.65;
    }
    .orbits b {
      position: absolute;
      left: 10%;
      top: 24%;
      color: var(--accent);
      font-size: 29px;
      font-weight: 400;
      transform: rotate(calc(var(--open) * 150deg));
      text-shadow: 0 0 24px var(--accent);
    }
    .chapter-rule {
      position: absolute;
      bottom: 0;
      left: 0;
      width: calc(var(--open) * 100%);
      height: 1px;
      background: linear-gradient(90deg, var(--accent), transparent);
    }
    .project:nth-child(even) .stage {
      grid-template-columns: 1.2fr 0.8fr;
    }
    .project:nth-child(even) .folder-button {
      grid-column: 1;
    }
    .project:nth-child(even) .project-copy {
      grid-column: 2;
    }
    .project:nth-child(even) .orbits {
      right: auto;
      left: 0;
    }
    .project:nth-child(even) .world-number {
      left: auto;
      right: 0;
    }
    .end {
      padding: 100px 0;
      background: radial-gradient(ellipse at bottom, #8b4ed526, transparent 65%);
    }
    .end h2 {
      font-size: clamp(43px, 6.8vw, 100px);
      letter-spacing: -0.06em;
    }
    .end em {
      font-style: normal;
      color: #b68aff;
    }
    .folder-brand > span {
      font-size: 8px;
    }
    @media (max-width: 1000px) {
      .scene {
        transform: translate(-50%, -50%) scale(1.1) rotateY(calc(var(--open) * -18deg))
          rotateZ(calc(var(--open) * -3deg));
      }
      .folder-button {
        height: 500px;
      }
      .project-copy h2 {
        font-size: 50px;
      }
      .project-copy p {
        font-size: 16px;
      }
      .stage {
        column-gap: 2%;
      }
      .open-hint {
        right: 4%;
      }
    }
    @media (max-width: 650px) {
      .hero {
        padding-top: 36px;
      }
      .hero h1 {
        font-size: clamp(48px, 12vw, 76px);
      }
      .world-index {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
      }
      .hero-foot {
        font-size: 8px;
        letter-spacing: 1px;
      }
      .project {
        min-height: 0;
        padding: 35px 0 25px;
      }
      .stage,
      .project:nth-child(even) .stage {
        position: relative;
        top: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }
      .project-copy,
      .project:nth-child(even) .project-copy {
        order: 1;
        padding: 25px 0 0;
        width: 100%;
      }
      .folder-button,
      .project:nth-child(even) .folder-button {
        order: 2;
        height: 370px;
        margin-top: 20px;
      }
      .project-copy h2 {
        font-size: 44px;
        margin: 14px 0;
      }
      .project-copy p {
        font-size: 15px;
        max-width: none;
      }
      .palette {
        margin-top: 18px;
      }
      .project-invitation {
        display: none;
      }
      .scene {
        scale: 1;
        transform: translate(-50%, -50%) scale(0.77) rotateY(calc(var(--open) * -18deg))
          rotateZ(calc(var(--open) * -3deg));
      }
      .open-hint {
        bottom: 18px;
        right: 12px;
        padding: 8px 15px;
      }
      .orbits,
      .project:nth-child(even) .orbits {
        width: 100%;
        right: 0;
        left: 0;
        top: 70%;
      }
      .world-number,
      .project:nth-child(even) .world-number {
        font-size: 160px;
        left: auto;
        right: 0;
        top: 0;
      }
      .project-copy .category {
        font-size: 10px;
      }
      .intro small {
        font-size: 10px;
      }
      .halo {
        inset: 0 -5%;
        filter: blur(20px);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .world-index a {
        transition: none;
      }
    }