:root {
      color-scheme: dark;
      --bg: #050507;
      --bg-elevated: #0a0a0e;
      --surface: rgba(255, 255, 255, 0.055);
      --surface-strong: rgba(255, 255, 255, 0.09);
      --line: rgba(255, 255, 255, 0.13);
      --line-strong: rgba(255, 255, 255, 0.22);
      --text: #f5f5f7;
      --text-soft: #d2d2d7;
      --muted: #92929d;
      --violet: #9c86ff;
      --blue: #62b8ff;
      --cyan: #64f0ff;
      --pink: #f27ad8;
      --orange: #ff9d5c;
      --green: #8cf0bf;
      --max: 1240px;
      --radius-lg: 34px;
      --radius-md: 24px;
      --nav-height: 56px;
      --ease: cubic-bezier(.2, .8, .2, 1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      margin: 0;
      min-width: 320px;
      overflow-x: hidden;
      color: var(--text);
      background:
        radial-gradient(circle at 15% -15%, rgba(98, 184, 255, .11), transparent 28rem),
        radial-gradient(circle at 90% 3%, rgba(242, 122, 216, .08), transparent 34rem),
        var(--bg);
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      line-height: 1.45;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 9999;
      pointer-events: none;
      opacity: .022;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
      mix-blend-mode: screen;
    }

    ::selection {
      color: #050507;
      background: #b7f5ff;
    }

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

    button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

    :focus-visible {
      outline: 2px solid #a9e9ff;
      outline-offset: 4px;
    }

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

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .shell {
      width: min(var(--max), calc(100% - 48px));
      margin-inline: auto;
    }

    .topbar {
      position: fixed;
      inset: 0 0 auto;
      z-index: 1000;
      height: var(--nav-height);
      border-bottom: 1px solid rgba(255, 255, 255, .09);
      background: rgba(5, 5, 7, .67);
      backdrop-filter: saturate(150%) blur(22px);
      -webkit-backdrop-filter: saturate(150%) blur(22px);
    }

    .nav {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-width: max-content;
      font-size: .86rem;
      font-weight: 700;
      letter-spacing: -.01em;
    }

    .brand-mark {
      position: relative;
      width: 24px;
      height: 24px;
      border: 1px solid rgba(255, 255, 255, .28);
      border-radius: 7px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .025)),
        #0d0d12;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 22px rgba(79, 128, 255, .14);
      transform: rotate(-7deg);
    }

    .brand-mark::before,
    .brand-mark::after {
      content: "";
      position: absolute;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--blue), var(--pink), var(--orange));
    }

    .brand-mark::before {
      inset: 6px 4px auto;
      height: 2px;
    }

    .brand-mark::after {
      inset: auto 4px 6px;
      height: 2px;
      filter: saturate(.6);
    }

    .nav-links {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 3px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav-links a {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      color: rgba(245, 245, 247, .72);
      font-size: .77rem;
      font-weight: 560;
      transition: color .25s ease, background .25s ease;
    }

    .nav-links a:hover,
    .nav-links a[aria-current="page"] {
      color: var(--text);
      background: rgba(255, 255, 255, .08);
    }

    .hero-scroll {
      position: relative;
      height: 310vh;
      min-height: 1900px;
    }

    .hero-stage {
      position: sticky;
      top: 0;
      height: 100svh;
      min-height: 620px;
      overflow: hidden;
      isolation: isolate;
      background:
        radial-gradient(circle at 70% 45%, rgba(102, 149, 255, .11), transparent 28%),
        radial-gradient(circle at 60% 40%, rgba(248, 106, 220, .07), transparent 42%),
        linear-gradient(180deg, #050507 0%, #050507 76%, #08080b 100%);
    }

    .hero-stage::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      z-index: 6;
      height: 22vh;
      pointer-events: none;
      background: linear-gradient(180deg, transparent, #08080b);
    }

    #spectral-canvas {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      filter: saturate(1.12) contrast(1.02);
    }

    .hero-grid {
      position: relative;
      z-index: 4;
      height: 100%;
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(420px, 1.25fr);
      align-items: center;
      pointer-events: none;
    }

    .hero-copy {
      position: relative;
      min-height: 410px;
      padding-top: var(--nav-height);
    }

    .scene-copy {
      position: absolute;
      inset: 50% auto auto 0;
      width: min(620px, 88vw);
      opacity: 0;
      transform: translate3d(0, 40px, 0);
      transition: none;
    }

    .scene-copy[data-scene="0"] {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }

    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
      color: var(--text-soft);
      font-size: clamp(.82rem, 1.2vw, .96rem);
      font-weight: 650;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .kicker::before {
      content: "";
      width: 28px;
      height: 1px;
      background: linear-gradient(90deg, var(--cyan), var(--pink));
      box-shadow: 0 0 14px rgba(100, 240, 255, .58);
    }

    .hero-title {
      max-width: 800px;
      margin: 0;
      font-size: clamp(3.8rem, 9.8vw, 8.9rem);
      line-height: .84;
      letter-spacing: -.078em;
      font-weight: 720;
    }

    .hero-title .cn {
      display: block;
      margin-top: .18em;
      color: rgba(245, 245, 247, .5);
      font-size: .26em;
      font-weight: 580;
      letter-spacing: .08em;
    }

    .hero-deck {
      max-width: 650px;
      margin: 26px 0 0;
      color: var(--text-soft);
      font-size: clamp(1.12rem, 2.2vw, 1.65rem);
      line-height: 1.26;
      letter-spacing: -.028em;
      font-weight: 520;
    }

    .scene-heading {
      max-width: 710px;
      margin: 0;
      font-size: clamp(3rem, 7.2vw, 6.7rem);
      line-height: .93;
      letter-spacing: -.065em;
      font-weight: 690;
    }

    .scene-heading .gradient-text,
    .gradient-text {
      color: transparent;
      background: linear-gradient(105deg, #f5f5f7 0%, #b9efff 27%, #a48bff 52%, #f08bd8 75%, #ffb16f 100%);
      -webkit-background-clip: text;
      background-clip: text;
    }

    .scene-deck {
      max-width: 580px;
      margin: 24px 0 0;
      color: var(--text-soft);
      font-size: clamp(1.06rem, 1.8vw, 1.35rem);
      line-height: 1.35;
      letter-spacing: -.022em;
    }

    .hero-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 30px;
      pointer-events: auto;
    }

    .pill-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 44px;
      padding: 0 17px;
      border: 1px solid rgba(255, 255, 255, .13);
      border-radius: 999px;
      color: var(--text);
      background: rgba(255, 255, 255, .07);
      backdrop-filter: blur(16px);
      font-size: .86rem;
      font-weight: 650;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
      transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
    }

    .pill-link:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, .3);
      background: rgba(255, 255, 255, .11);
    }

    .pill-link.primary {
      color: #09090c;
      border-color: transparent;
      background: var(--text);
    }

    .pill-link svg,
    .text-link svg {
      width: 15px;
      height: 15px;
      flex: 0 0 auto;
    }

    .scroll-cue {
      position: absolute;
      z-index: 8;
      left: 50%;
      bottom: 25px;
      display: flex;
      align-items: center;
      gap: 9px;
      color: rgba(245, 245, 247, .48);
      font-size: .72rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      transform: translateX(-50%);
    }

    .scroll-cue::before {
      content: "";
      width: 1px;
      height: 32px;
      background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .78), transparent);
      animation: scrollPulse 2.1s ease-in-out infinite;
    }

    @keyframes scrollPulse {
      0%, 100% { transform: scaleY(.5); opacity: .4; }
      50% { transform: scaleY(1); opacity: 1; }
    }

    .chapter {
      position: relative;
      z-index: 10;
      padding: clamp(100px, 12vw, 180px) 0;
    }

    .chapter-head {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
      gap: 56px;
      align-items: end;
      margin-bottom: clamp(56px, 8vw, 100px);
    }

    .section-label {
      margin: 0 0 20px;
      color: #a9dfff;
      font-size: .78rem;
      font-weight: 720;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .display-title {
      margin: 0;
      font-size: clamp(3rem, 7.6vw, 7.1rem);
      line-height: .92;
      letter-spacing: -.065em;
      font-weight: 690;
    }

    .lead {
      margin: 0;
      color: var(--text-soft);
      font-size: clamp(1.1rem, 1.8vw, 1.35rem);
      line-height: 1.45;
      letter-spacing: -.022em;
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
      gap: 28px;
      align-items: stretch;
    }

    .portrait-panel,
    .about-panel,
    .research-card,
    .feature-card,
    .package-card,
    .service-panel,
    .contact-panel {
      border: 1px solid var(--line);
      background:
        linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)),
        rgba(10, 10, 14, .72);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 90px rgba(0, 0, 0, .25);
    }

    .portrait-panel {
      position: relative;
      min-height: 590px;
      overflow: hidden;
      border-radius: var(--radius-lg);
      background: #0c0c11;
    }

    .portrait-panel::after {
      content: "";
      position: absolute;
      inset: 42% 0 0;
      z-index: 2;
      background: linear-gradient(180deg, transparent, rgba(5, 5, 7, .9) 72%, #050507 100%);
    }

    .portrait-panel img {
      width: 100%;
      height: 100%;
      min-height: 590px;
      object-fit: cover;
      object-position: center top;
      filter: saturate(.76) contrast(1.07) brightness(.88);
      transform: scale(1.015);
    }

    .portrait-caption {
      position: absolute;
      z-index: 3;
      inset: auto 28px 26px;
    }

    .portrait-caption strong {
      display: block;
      font-size: 1.05rem;
      letter-spacing: -.02em;
    }

    .portrait-caption span {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: .86rem;
    }

    .about-panel {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 590px;
      padding: clamp(30px, 5vw, 66px);
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
    }

    .about-panel::before {
      content: "";
      position: absolute;
      width: 430px;
      height: 430px;
      top: -230px;
      right: -140px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(92, 189, 255, .18), transparent 70%);
      pointer-events: none;
    }

    .about-quote {
      position: relative;
      max-width: 760px;
      margin: 0;
      font-size: clamp(2rem, 4.4vw, 4.3rem);
      line-height: 1.03;
      letter-spacing: -.052em;
      font-weight: 650;
    }

    .about-meta {
      display: grid;
      gap: 18px;
      margin-top: 64px;
    }

    .affiliation {
      display: grid;
      grid-template-columns: 98px 1fr;
      gap: 18px;
      align-items: start;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .affiliation .code {
      color: var(--muted);
      font-size: .72rem;
      font-weight: 760;
      letter-spacing: .11em;
      text-transform: uppercase;
    }

    .affiliation p {
      margin: 0;
      color: var(--text-soft);
      font-size: .96rem;
    }

    .affiliation a:hover {
      color: #b9efff;
    }

    .research-grid {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: 24px;
    }

    .research-card {
      --rx: 0deg;
      --ry: 0deg;
      position: relative;
      min-height: 620px;
      padding: 34px;
      overflow: hidden;
      border-radius: var(--radius-lg);
      transform-style: preserve-3d;
      transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
      transition: transform .35s var(--ease), border-color .35s ease;
    }

    .research-card:hover {
      border-color: var(--line-strong);
    }

    .research-card:nth-child(1) { grid-column: span 7; }
    .research-card:nth-child(2) { grid-column: span 5; }
    .research-card:nth-child(3) { grid-column: span 12; min-height: 520px; }

    .card-copy {
      position: relative;
      z-index: 4;
      max-width: 620px;
      transform: translateZ(30px);
    }

    