    :root {
      --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
      --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;
      --bg: #f8fbff;
      --bg-muted: #eef5fc;
      --surface: #ffffff;
      --surface-strong: #e8f1fb;
      --text: #18243a;
      --text-soft: #5d6d84;
      --border: #d7e3f0;
      --border-strong: #adc2da;
      --accent: #4c82c3;
      --accent-dark: #28558c;
      --accent-soft: #e5f0fb;
      --vertex: #3d9abb;
      --vertex-soft: #e5f6fb;
      --topology: #7568b2;
      --topology-soft: #f0edfb;
      --lavender: #7568b2;
      --lavender-soft: #f0edfb;
      --shadow: 0 14px 34px rgba(40, 85, 140, 0.1);
      --radius: 8px;
      --container: 1120px;
      --narrow: 860px;
      --nav-h: 60px;
    }

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

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--nav-h) + 16px);
    }

    body {
      margin: 0;
      color: var(--text);
      background: var(--bg);
      font-family: var(--font-body);
      font-size: 17px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

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

    button,
    a {
      font: inherit;
    }

    a {
      color: var(--accent-dark);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    :focus-visible {
      outline: 3px solid rgba(76, 130, 195, 0.38);
      outline-offset: 3px;
    }

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

    .skip-link {
      position: fixed;
      top: 8px;
      left: 12px;
      z-index: 999;
      padding: 8px 12px;
      color: #fff;
      background: var(--accent-dark);
      transform: translateY(-160%);
      transition: transform 0.2s ease;
    }

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

    .container {
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 24px;
    }

    .narrow {
      max-width: var(--narrow);
    }

    .site-header {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      z-index: 100;
      height: var(--nav-h);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      color: #fff;
      background: rgba(12, 18, 38, 0.24);
      -webkit-backdrop-filter: blur(14px);
      backdrop-filter: blur(14px);
      transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    }

    .site-header.is-scrolled {
      border-bottom-color: rgba(215, 227, 240, 0.92);
      color: var(--text);
      background: rgba(248, 251, 255, 0.9);
      box-shadow: 0 8px 28px rgba(31, 55, 89, 0.08);
    }

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

    .site-header__logo {
      flex: 0 0 auto;
      color: inherit;
      font-size: 1.35rem;
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .site-header__logo span {
      color: #f1c8ff;
      transition: color 0.28s ease;
    }

    .site-header.is-scrolled .site-header__logo span {
      color: var(--accent);
    }

    .site-header__logo:hover {
      text-decoration: none;
    }

    .site-header__nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 3px;
    }

    .site-header__nav a {
      padding: 7px 10px;
      border-radius: 999px;
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.84rem;
      font-weight: 700;
      transition: color 0.18s ease, background 0.18s ease;
    }

    .site-header__nav a:hover,
    .site-header__nav a.is-active {
      color: #fff;
      background: rgba(255, 255, 255, 0.14);
      text-decoration: none;
    }

    .site-header.is-scrolled .site-header__nav a {
      color: var(--text-soft);
    }

    .site-header.is-scrolled .site-header__nav a:hover,
    .site-header.is-scrolled .site-header__nav a.is-active {
      color: var(--text);
      background: var(--surface-strong);
    }

    .site-header__toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      width: 42px;
      height: 42px;
      gap: 5px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.1);
      cursor: pointer;
    }

    .site-header__toggle span {
      display: block;
      width: 18px;
      height: 2px;
      margin: 0 auto;
      border-radius: 2px;
      background: currentColor;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header__toggle.is-active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .site-header__toggle.is-active span:nth-child(2) {
      opacity: 0;
    }

    .site-header__toggle.is-active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
      --hero-shift: 0px;
      --hero-drift-x: 0px;
      --hero-drift-y: 0px;
      position: relative;
      display: grid;
      min-height: min(920px, 100svh);
      overflow: hidden;
      isolation: isolate;
      color: #fff;
      background: #10162b;
    }

    .hero__media,
    .hero__veil {
      position: absolute;
      inset: 0;
    }

    .hero__media {
      z-index: -3;
      inset: -5%;
      opacity: 0;
      transform: translate3d(
        var(--hero-drift-x),
        calc(var(--hero-shift) + var(--hero-drift-y)),
        0
      ) scale(1.07);
      will-change: transform;
      animation: hero-background-fade 1.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s forwards;
    }

    .hero__media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 47%;
      filter: saturate(1.02) contrast(1.04) brightness(0.79);
      transform-origin: center;
      animation: hero-image-reveal 2.2s cubic-bezier(0.16, 0.78, 0.2, 1) 0.05s both;
    }

    .hero__veil {
      z-index: -2;
      opacity: 0;
      background:
        linear-gradient(90deg, rgba(10, 16, 35, 0.84) 0%, rgba(15, 21, 46, 0.64) 42%, rgba(24, 20, 49, 0.3) 72%, rgba(11, 16, 34, 0.5) 100%),
        linear-gradient(180deg, rgba(9, 14, 30, 0.28) 0%, transparent 34%, rgba(10, 15, 32, 0.66) 100%);
      animation: hero-veil-fade 1.35s ease 0.28s forwards;
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      z-index: -1;
      border-radius: 50%;
      filter: blur(10px);
      pointer-events: none;
      animation: hero-drift 10s ease-in-out infinite alternate;
    }

    .hero::before {
      top: 14%;
      left: -8%;
      width: 38vw;
      height: 38vw;
      background: radial-gradient(circle, rgba(98, 70, 202, 0.2), transparent 66%);
    }

    .hero::after {
      right: -8%;
      bottom: -24%;
      width: 44vw;
      height: 44vw;
      background: radial-gradient(circle, rgba(119, 177, 225, 0.2), transparent 65%);
      animation-delay: -4s;
    }

    @keyframes hero-drift {
      to { transform: translate3d(5%, -4%, 0) scale(1.08); }
    }

    @keyframes hero-background-fade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes hero-image-reveal {
      from {
        filter: blur(14px) saturate(0.72) brightness(0.42);
        transform: scale(1.14);
      }
      to {
        filter: blur(0) saturate(1.02) contrast(1.04) brightness(0.79);
        transform: scale(1);
      }
    }

    @keyframes hero-veil-fade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes hero-title-pop {
      0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(54px) scale(0.9);
      }
      68% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(-5px) scale(1.018);
      }
      100% {
        opacity: 1;
        filter: blur(0);
        transform: none;
      }
    }

    @keyframes hero-content-rise {
      from {
        opacity: 0;
        transform: translateY(22px);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    @keyframes hero-title-shimmer {
      to { background-position: -220% center; }
    }

    .hero__inner {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: inherit;
      padding-top: calc(var(--nav-h) + 72px);
      padding-bottom: 72px;
    }

    .hero__copy {
      max-width: 900px;
      margin: 0;
      text-align: left;
    }

    .hero__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin: 0 0 18px;
      color: rgba(255, 255, 255, 0.76);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      animation: hero-content-rise 0.72s ease-out 0.5s both;
    }

    .hero__eyebrow::before {
      content: "";
      width: 34px;
      height: 1px;
      background: #f1c8ff;
    }

    .hero__venue {
      margin: 0 0 15px;
      color: var(--accent-dark);
      font-size: 1.12rem;
      font-weight: 850;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .hero__title {
      max-width: 900px;
      margin: 0 0 20px;
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 5vw, 4.6rem);
      font-weight: 900;
      letter-spacing: -0.055em;
      line-height: 0.98;
      text-wrap: balance;
      text-shadow: 0 8px 38px rgba(5, 9, 23, 0.42);
      animation: hero-title-pop 1.05s cubic-bezier(0.17, 0.88, 0.28, 1.22) 0.62s both;
    }

    .hero__title-mark {
      color: #f2d7ff;
      background: linear-gradient(105deg, #fff 0%, #f2d7ff 40%, #a9d8ff 70%, #f2d7ff 100%);
      background-size: 220% auto;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: hero-title-shimmer 4.8s linear 1.8s infinite;
    }

    .hero__authors {
      max-width: 900px;
      margin: 0;
      color: #fff;
      font-size: 1.02rem;
      font-weight: 650;
      line-height: 1.75;
      animation: hero-content-rise 0.75s ease-out 0.84s both;
    }

    .author-line {
      display: block;
    }

    .author {
      display: inline-block;
      margin-right: 0.85em;
      white-space: nowrap;
    }

    .hero__authors a {
      color: inherit;
      text-decoration: underline;
      text-decoration-color: rgba(242, 215, 255, 0.35);
      text-decoration-thickness: 1px;
      text-underline-offset: 4px;
      transition: color 0.16s ease, text-decoration-color 0.16s ease;
    }

    .hero__authors a:hover {
      color: #f2d7ff;
      text-decoration-color: #f2d7ff;
    }

    .hero__authors a:focus-visible {
      border-radius: 2px;
      outline: 2px solid #f2d7ff;
      outline-offset: 3px;
    }

    .hero__authors sup,
    .hero__affil sup,
    .hero__notes sup {
      margin-left: 1px;
      color: #f2d7ff;
      font-size: 0.68em;
      font-weight: 750;
    }

    .hero__affil {
      max-width: 900px;
      margin: 10px 0 0;
      color: rgba(255, 255, 255, 0.74);
      font-size: 0.9rem;
      line-height: 1.6;
      animation: hero-content-rise 0.75s ease-out 0.9s both;
    }

    .hero__affil span {
      display: inline-block;
      margin-right: 1.3em;
      white-space: nowrap;
    }

    .hero__notes {
      margin: 4px 0 0;
      color: rgba(255, 255, 255, 0.56);
      font-size: 0.78rem;
      line-height: 1.5;
      animation: hero-content-rise 0.75s ease-out 0.94s both;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 10px;
      margin-top: 26px;
      animation: hero-content-rise 0.75s ease-out 0.98s both;
    }

    .actions__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      gap: 8px;
      padding: 9px 17px;
      border: 1px solid rgba(255, 255, 255, 0.34);
      border-radius: 999px;
      color: #fff;
      background: rgba(255, 255, 255, 0.12);
      font-size: 0.91rem;
      font-weight: 750;
      transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }

    .actions__btn i {
      width: 1em;
      color: #f2d7ff;
      font-size: 0.92em;
      text-align: center;
    }

    .actions__btn:hover {
      border-color: rgba(255, 255, 255, 0.72);
      color: #fff;
      background: rgba(255, 255, 255, 0.2);
      text-decoration: none;
    }

    .actions__btn--solid {
      border-color: var(--accent-dark);
      color: #fff;
      background: var(--accent-dark);
    }

    .actions__btn--solid:hover {
      border-color: #173d6f;
      color: #fff;
      background: #173d6f;
    }

    .actions__btn[aria-disabled="true"] {
      color: #8998aa;
      background: #f2f6fb;
      cursor: not-allowed;
    }

    .hero__facts {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      max-width: 760px;
      margin: 38px 0 0;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 10px;
      background: rgba(10, 16, 35, 0.3);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
      animation: hero-content-rise 0.8s ease-out 1.16s both;
    }

    .hero__fact {
      padding: 14px 18px;
      text-align: left;
    }

    .hero__fact + .hero__fact {
      border-left: 1px solid rgba(255, 255, 255, 0.16);
    }

    .hero__fact strong {
      display: block;
      color: #fff;
      font-size: 1.05rem;
      line-height: 1.3;
    }

    .hero__fact span {
      color: rgba(255, 255, 255, 0.62);
      font-size: 0.78rem;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .hero__teaser {
      margin: 38px auto 0;
      overflow: hidden;
      border: 1px solid var(--border-strong);
      border-radius: var(--radius);
      background: #e8f1fb;
      box-shadow: var(--shadow);
    }

    .hero__scroll {
      position: absolute;
      bottom: 25px;
      left: 24px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: rgba(255, 255, 255, 0.72);
      font-size: 0.72rem;
      font-weight: 750;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      animation: hero-content-rise 0.75s ease-out 1.42s both;
    }

    .hero__scroll:hover {
      color: #fff;
      text-decoration: none;
    }

    .hero__scroll i {
      animation: scroll-cue 1.8s ease-in-out 2.1s infinite;
    }

    @keyframes scroll-cue {
      50% { transform: translateY(5px); }
    }

    .is-preload .hero__media,
    .is-preload .hero__media img,
    .is-preload .hero__veil,
    .is-preload .hero__eyebrow,
    .is-preload .hero__title,
    .is-preload .hero__title-mark,
    .is-preload .hero__authors,
    .is-preload .hero__affil,
    .is-preload .hero__notes,
    .is-preload .hero .actions,
    .is-preload .hero__facts,
    .is-preload .hero__scroll,
    .is-preload .hero__scroll i {
      animation-play-state: paused;
    }

    .reveal-item {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.72, 0.25, 1);
    }

    .reveal-item.is-visible {
      opacity: 1;
      transform: none;
    }

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

    .hero__caption,
    .figure figcaption {
      margin: 0;
      padding: 12px 15px;
      color: var(--text-soft);
      background: var(--surface);
      font-size: 0.83rem;
      line-height: 1.55;
    }

    .hero__caption strong,
    .figure figcaption strong {
      color: var(--text);
    }

    .section {
      padding: 56px 0;
    }

    .section--muted {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--bg-muted);
    }

    .section__head {
      margin-bottom: 25px;
    }

    .section__head--center {
      max-width: 730px;
      margin-right: auto;
      margin-left: auto;
      text-align: center;
    }

    .section__eyebrow {
      display: inline-flex;
      align-items: center;
      margin: 0 0 10px;
      padding: 4px 10px;
      border: 1px solid rgba(76, 130, 195, 0.3);
      border-radius: 999px;
      color: var(--accent-dark);
      background: var(--accent-soft);
      font-size: 0.72rem;
      font-weight: 850;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .section__title {
      margin: 0;
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3vw, 2.35rem);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.16;
    }

    .section__sub {
      margin: 10px 0 0;
      color: var(--text-soft);
      font-size: 1rem;
      line-height: 1.62;
    }

    .prose {
      color: #3e4d63;
      font-size: 1.02rem;
      line-height: 1.78;
    }

    .prose p {
      margin: 0 0 1em;
    }

    .prose p:last-child {
      margin-bottom: 0;
    }

    .term {
      color: var(--accent-dark);
      font-weight: 800;
    }

    .key-sentence {
      padding: 1px 5px 2px;
      border-radius: 4px;
      color: var(--accent-dark);
      background: var(--accent-soft);
      font-weight: 800;
    }

    .factorization {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      gap: 14px;
      align-items: stretch;
      margin-top: 30px;
    }

    .factor-card {
      padding: 24px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: 0 1px 2px rgba(40, 85, 140, 0.05);
    }

    .factor-card--vertex {
      border-top: 4px solid var(--vertex);
      background: linear-gradient(180deg, var(--vertex-soft), var(--surface) 58%);
    }

    .factor-card--topology {
      border-top: 4px solid var(--topology);
      background: linear-gradient(180deg, var(--topology-soft), var(--surface) 58%);
    }

    .factor-card__label {
      display: block;
      margin-bottom: 8px;
      color: var(--text-soft);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

    .factor-card h3 {
      margin: 0 0 8px;
      font-size: 1.25rem;
      line-height: 1.3;
    }

    .factor-card p {
      margin: 0;
      color: var(--text-soft);
      font-size: 0.94rem;
      line-height: 1.58;
    }

    .factorization__arrow {
      align-self: center;
      color: var(--accent);
      font-size: 1.8rem;
      font-weight: 500;
    }

    .equation-card {
      max-width: 660px;
      margin: 26px auto 0;
      padding: 20px 24px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--accent-dark);
      background: var(--surface);
      text-align: center;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(1.12rem, 3vw, 1.55rem);
      box-shadow: 0 4px 16px rgba(40, 85, 140, 0.06);
    }

    .figure {
      margin: 0;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: 0 4px 18px rgba(40, 85, 140, 0.07);
    }

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

    .figure--core-encoding {
      margin-top: 26px;
    }

    .method-flow {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-top: 20px;
    }

    .method-step {
      position: relative;
      min-height: 170px;
      padding: 20px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .method-step__number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      margin-bottom: 16px;
      border-radius: 50%;
      color: #fff;
      background: var(--accent-dark);
      font-size: 0.78rem;
      font-weight: 800;
    }

    .method-step h3 {
      margin: 0 0 9px;
      font-size: 1rem;
      line-height: 1.25;
    }

    .method-step__name,
    .method-step__subtitle {
      display: block;
    }

    .method-step__subtitle {
      margin-top: 4px;
      color: #7b8ba1;
      font-size: 0.8rem;
      font-weight: 650;
      letter-spacing: 0.015em;
    }

    .method-step p {
      margin: 0;
      color: var(--text-soft);
      font-size: 0.88rem;
      line-height: 1.55;
    }

    .viewer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      max-width: 980px;
      margin: 0 auto;
    }

    .viewer-grid--triple {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: none;
    }

    .viewer-grid--six {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: none;
    }

    .viewer-grid--quad {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: none;
    }

    .showcase-subsection {
      margin-top: 58px;
      padding-top: 54px;
      border-top: 1px solid var(--border);
    }

    .viewer-group {
      width: 100%;
    }

    .viewer-group--application {
      min-width: 0;
    }

    .viewer-group--application .viewer-card {
      display: block;
    }

    .viewer-group--application .viewer-card__copy {
      padding: 15px 17px 17px;
    }

    .viewer-group--application .viewer-card__copy h3 {
      margin-bottom: 10px;
    }

    .viewer-switcher {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 9px;
      margin: 0 0 14px;
    }

    .viewer-switcher__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      padding: 0;
      border: 1px solid var(--border-strong);
      border-radius: 50%;
      color: var(--text);
      background: var(--surface);
      cursor: pointer;
      transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
    }

    .viewer-switcher__btn:hover {
      border-color: var(--accent);
      color: var(--accent-dark);
      background: var(--accent-soft);
    }

    .viewer-switcher__btn:disabled {
      color: var(--border-strong);
      background: var(--bg-muted);
      cursor: default;
      opacity: 0.56;
    }

    .viewer-switcher__btn:disabled:hover {
      border-color: var(--border-strong);
      color: var(--border-strong);
      background: var(--bg-muted);
    }

    .viewer-switcher__counter {
      min-width: 100px;
      color: var(--text-soft);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-align: center;
      text-transform: uppercase;
    }

    .viewer-switcher--compact {
      margin-bottom: 10px;
    }

    .viewer-card {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .viewer-card--stacked {
      display: block;
    }

    .viewer-card--stacked .viewer-placeholder,
    .viewer-card--stacked .mesh-viewer {
      min-height: 300px;
    }

    .viewer-card--stacked .viewer-card__copy {
      padding: 18px;
    }

    .viewer-card--stacked .viewer-card__copy--stats {
      padding: 16px 17px 17px;
    }

    .viewer-card__copy--stats h3 {
      margin-bottom: 12px;
    }

    .part-explode-control {
      margin-bottom: 13px;
      padding: 10px 12px 11px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--bg-muted);
    }

    .part-explode-control__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
    }

    .part-explode-control label,
    .part-explode-control output {
      color: var(--text-soft);
      font-size: 0.67rem;
      font-weight: 800;
      letter-spacing: 0.055em;
      text-transform: uppercase;
    }

    .part-explode-control output {
      color: var(--accent-dark);
      font-variant-numeric: tabular-nums;
    }

    .part-explode-control input[type="range"] {
      --explode-progress: 0%;
      width: 100%;
      height: 4px;
      margin: 6px 0;
      border-radius: 999px;
      appearance: none;
      background: linear-gradient(
        90deg,
        var(--accent) 0 var(--explode-progress),
        var(--border-strong) var(--explode-progress) 100%
      );
      cursor: ew-resize;
    }

    .part-explode-control input[type="range"]::-webkit-slider-thumb {
      width: 16px;
      height: 16px;
      border: 3px solid var(--surface);
      border-radius: 50%;
      appearance: none;
      background: var(--accent);
      box-shadow: 0 0 0 1px rgba(40, 85, 140, 0.22), 0 3px 8px rgba(40, 85, 140, 0.16);
    }

    .part-explode-control input[type="range"]::-moz-range-thumb {
      width: 12px;
      height: 12px;
      border: 3px solid var(--surface);
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 1px rgba(40, 85, 140, 0.22), 0 3px 8px rgba(40, 85, 140, 0.16);
    }

    .part-explode-control input[type="range"]:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 5px;
    }

    .mesh-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--bg-muted);
    }

    .mesh-stats--three {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mesh-stats--three .mesh-stat {
      min-width: 0;
      padding-right: 7px;
      padding-left: 7px;
      text-align: center;
    }

    .mesh-stats--three .mesh-stat span {
      overflow: hidden;
      font-size: 0.58rem;
      letter-spacing: 0.025em;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mesh-stat {
      padding: 9px 11px 10px;
      text-align: left;
    }

    .mesh-stat + .mesh-stat {
      border-left: 1px solid var(--border);
    }

    .mesh-stat span {
      display: block;
      color: var(--text-soft);
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .mesh-stat strong {
      display: block;
      margin-top: 2px;
      color: var(--text);
      font-size: 1rem;
      font-variant-numeric: tabular-nums;
      line-height: 1.3;
    }

    .viewer-card--density .viewer-placeholder,
    .viewer-card--density .mesh-viewer {
      min-height: 250px;
    }

    .viewer-card--density .placeholder-object {
      width: 92px;
      height: 92px;
    }

    .viewer-card--density .viewer-card__copy {
      padding: 12px 17px 13px;
    }

    .viewer-card--density [data-actual-vertices] {
      color: var(--text);
      font-weight: 800;
      font-variant-numeric: tabular-nums;
    }

    .viewer-card--editing .mesh-viewer {
      min-height: 265px;
    }

    .viewer-card--editing .viewer-card__copy {
      padding: 12px 15px 13px;
      text-align: center;
    }

    .viewer-card--editing .viewer-card__copy h3 {
      margin: 0;
      color: var(--text);
      font-size: 0.9rem;
    }

    .viewer-placeholder {
      position: relative;
      display: grid;
      min-height: 380px;
      place-items: center;
      overflow: hidden;
      color: #d8e5f3;
      background-color: #243149;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
      background-size: 28px 28px;
    }

    .mesh-viewer {
      position: relative;
      display: grid;
      min-height: 380px;
      place-items: center;
      overflow: hidden;
      isolation: isolate;
      background:
        radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.98) 0, rgba(242, 247, 253, 0.94) 48%, rgba(226, 237, 248, 0.94) 100%);
    }

    .mesh-viewer::after {
      content: "";
      position: absolute;
      right: 12%;
      bottom: 13%;
      left: 12%;
      z-index: 1;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(40, 85, 140, 0.2), transparent);
      pointer-events: none;
    }

    .viewer-group--obj .mesh-viewer::after {
      bottom: 10%;
    }

    [data-multi-viewer-group] .mesh-viewer::after {
      bottom: 10%;
    }

    .mesh-viewer canvas {
      position: absolute;
      inset: 0;
      z-index: 0;
      display: block;
      width: 100%;
      height: 100%;
      cursor: grab;
      outline: 0;
    }

    .mesh-viewer canvas:active {
      cursor: grabbing;
    }

    .mesh-viewer__loading {
      position: relative;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 7px 11px;
      border: 1px solid rgba(76, 130, 195, 0.22);
      border-radius: 999px;
      color: var(--accent-dark);
      background: rgba(255, 255, 255, 0.76);
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .mesh-viewer__loading::before {
      content: "";
      width: 11px;
      height: 11px;
      border: 2px solid rgba(76, 130, 195, 0.24);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: mesh-loader-spin 0.8s linear infinite;
    }

    .mesh-viewer.is-ready .mesh-viewer__loading {
      visibility: hidden;
      opacity: 0;
    }

    .mesh-viewer.is-error .mesh-viewer__loading {
      max-width: calc(100% - 36px);
      border-color: rgba(180, 79, 99, 0.32);
      color: #9b4054;
      text-align: center;
      white-space: normal;
    }

    .mesh-viewer.is-error .mesh-viewer__loading::before {
      display: none;
    }

    .mesh-viewer .viewer-badge {
      border-color: rgba(76, 130, 195, 0.22);
      color: var(--accent-dark);
      background: rgba(255, 255, 255, 0.82);
      box-shadow: 0 5px 18px rgba(40, 85, 140, 0.1);
      -webkit-backdrop-filter: blur(7px);
      backdrop-filter: blur(7px);
      pointer-events: none;
    }

    .mesh-viewer .viewer-hint {
      bottom: 0;
      padding: 30px 10px 10px;
      color: rgba(40, 71, 112, 0.5);
      background: linear-gradient(transparent, rgba(230, 239, 249, 0.64));
      font-size: 0.59rem;
      font-weight: 550;
      letter-spacing: 0.025em;
      pointer-events: none;
    }

    @keyframes mesh-loader-spin {
      to {
        transform: rotate(360deg);
      }
    }

    .viewer-placeholder::after {
      content: "";
      position: absolute;
      right: 12%;
      bottom: 13%;
      left: 12%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    }

    .placeholder-object {
      position: relative;
      width: 112px;
      height: 112px;
      border: 1px solid rgba(206, 226, 243, 0.86);
      transform: rotate(30deg) skew(-8deg, -8deg);
      box-shadow:
        inset 24px -22px 0 rgba(76, 130, 195, 0.18),
        24px 22px 0 rgba(117, 104, 178, 0.13);
    }

    .viewer-placeholder[data-state="2"] .placeholder-object {
      transform: rotate(52deg) skew(6deg, -8deg) scale(0.92);
      box-shadow:
        inset -22px 20px 0 rgba(61, 154, 187, 0.18),
        -18px 24px 0 rgba(76, 130, 195, 0.14);
    }

    .viewer-placeholder[data-state="3"] .placeholder-object {
      transform: rotate(16deg) skew(-4deg, 8deg) scale(1.06);
      box-shadow:
        inset 20px 22px 0 rgba(117, 104, 178, 0.18),
        22px -18px 0 rgba(61, 154, 187, 0.13);
    }

    .placeholder-object::before,
    .placeholder-object::after {
      content: "";
      position: absolute;
      background: rgba(206, 226, 243, 0.68);
    }

    .placeholder-object::before {
      top: 50%;
      right: 0;
      left: 0;
      height: 1px;
    }

    .placeholder-object::after {
      top: 0;
      bottom: 0;
      left: 50%;
      width: 1px;
    }

    .viewer-badge {
      position: absolute;
      top: 13px;
      left: 13px;
      z-index: 2;
      padding: 4px 8px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 999px;
      color: #f3f8ff;
      background: rgba(24, 36, 58, 0.62);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .viewer-hint {
      position: absolute;
      right: 0;
      bottom: 18px;
      left: 0;
      z-index: 2;
      color: #b8c8da;
      font-size: 0.72rem;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-align: center;
    }

    .viewer-card__copy {
      align-self: center;
      padding: 26px;
    }

    .viewer-card__copy h3 {
      margin: 0 0 5px;
      font-size: 1rem;
    }

    .viewer-card__copy p {
      margin: 0;
      color: var(--text-soft);
      font-size: 0.86rem;
      line-height: 1.5;
    }

    .application-section-layout {
      display: grid;
      grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
      gap: 24px;
      align-items: stretch;
      margin-top: 24px;
    }

    .application-card {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 22px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .application-card__tag {
      color: var(--accent);
      font-size: 0.72rem;
      font-weight: 850;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .application-card h3 {
      margin: 5px 0 8px;
      font-size: 1.18rem;
    }

    .application-card p {
      margin: 0;
      color: var(--text-soft);
      font-size: 0.94rem;
      line-height: 1.62;
    }

    .application-card__result {
      margin-top: 18px;
      padding-top: 15px;
      border-top: 1px solid var(--border);
    }

    .application-card__result span {
      display: block;
      color: var(--text-soft);
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .application-card__result strong {
      display: block;
      margin-top: 3px;
      color: var(--accent-dark);
      font-size: 1rem;
      font-weight: 800;
      line-height: 1.3;
    }

    .subdivision-viewer {
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .subdivision-viewer__toolbar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      min-height: 58px;
      padding: 8px 18px;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(135deg, #f3f7fc, #f7f2fb);
    }

    .subdivision-viewer__identity {
      display: inline-flex;
      align-items: baseline;
      justify-content: center;
      min-width: 160px;
      gap: 7px;
      text-align: center;
    }

    .subdivision-viewer__counter {
      color: var(--text-soft);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .subdivision-viewer__identity strong {
      color: var(--text);
      font-size: 0.92rem;
    }

    .subdivision-viewer__separator {
      color: var(--border-strong);
    }

    .subdivision-focus {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-left: 18px;
      padding-left: 20px;
      border-left: 1px solid var(--border);
      color: var(--text-soft);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .subdivision-focus__reset {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 11px;
      border: 1px solid var(--border-strong);
      border-radius: 999px;
      color: var(--accent-dark);
      background: rgba(255, 255, 255, 0.9);
      font-size: 0.74rem;
      font-weight: 750;
      cursor: pointer;
    }

    .subdivision-focus__reset:hover {
      border-color: var(--accent);
      background: var(--accent-soft);
    }

    .mesh-detail-hotspot {
      --hotspot-width: 90px;
      --hotspot-height: 90px;
      position: absolute;
      z-index: 5;
      width: var(--hotspot-width);
      height: var(--hotspot-height);
      padding: 0;
      border: 2px solid rgba(76, 130, 195, 0.82);
      border-radius: 12px;
      background: rgba(229, 240, 251, 0.08);
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 24px rgba(40, 85, 140, 0.14);
      transform: translate(-50%, -50%);
      cursor: pointer;
      transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

    .mesh-detail-hotspot:hover,
    .mesh-detail-hotspot.is-active {
      border-color: #7801b1;
      background: rgba(120, 1, 177, 0.08);
      box-shadow: 0 0 0 3px rgba(120, 1, 177, 0.12), 0 10px 28px rgba(72, 37, 113, 0.18);
    }

    .mesh-detail-hotspot__label {
      position: absolute;
      top: -29px;
      left: 50%;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border: 1px solid rgba(76, 130, 195, 0.28);
      border-radius: 999px;
      color: var(--accent-dark);
      background: rgba(255, 255, 255, 0.94);
      box-shadow: 0 4px 12px rgba(40, 85, 140, 0.12);
      font-size: 0.62rem;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
      transform: translateX(-50%);
    }

    .mesh-detail-hotspot.is-active .mesh-detail-hotspot__label {
      color: #fff;
      border-color: #7801b1;
      background: #7801b1;
    }

    .subdivision-viewer__grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1px;
      background: var(--border);
    }

    .subdivision-card {
      min-width: 0;
      background: var(--surface);
    }

    .subdivision-card__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-height: 52px;
      padding: 9px 14px 9px 17px;
      border-bottom: 1px solid var(--border);
    }

    .subdivision-card__head h3 span {
      color: var(--accent-dark);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

    .subdivision-card__head h3 {
      margin: 0;
      color: var(--text);
      font-size: 0.9rem;
      line-height: 1.25;
    }

    .subdivision-card__head h3 i {
      margin: 0 5px;
      color: var(--border-strong);
      font-style: normal;
      font-weight: 400;
    }

    .subdivision-card--ours .subdivision-card__head {
      background: linear-gradient(90deg, rgba(117, 104, 178, 0.07), rgba(229, 240, 251, 0.35));
    }

    .subdivision-card__expand {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 5px 9px;
      border: 1px solid var(--border);
      border-radius: 999px;
      color: var(--accent-dark);
      background: #fff;
      font-size: 0.7rem;
      font-weight: 750;
      cursor: pointer;
    }

    .subdivision-card__expand:hover {
      border-color: var(--accent);
      background: var(--accent-soft);
    }

    .mesh-viewer--detail {
      min-height: 470px;
    }

    .subdivision-card .mesh-stats {
      border-top: 1px solid var(--border);
    }

    .subdivision-viewer__note {
      margin: 0;
      padding: 11px 16px;
      color: var(--text-soft);
      background: #f8fbff;
      font-size: 0.75rem;
      text-align: center;
    }

    .subdivision-viewer__note i {
      margin-right: 6px;
      color: var(--accent);
    }

    .subdivision-card:fullscreen,
    .subdivision-card:-webkit-full-screen {
      display: flex;
      flex-direction: column;
      width: 100vw;
      height: 100vh;
      background: var(--surface);
    }

    .subdivision-card:fullscreen .mesh-viewer--detail,
    .subdivision-card:-webkit-full-screen .mesh-viewer--detail {
      flex: 1;
      min-height: 0;
    }

    .site-footer {
      padding: 28px 0;
      border-top: 1px solid var(--border);
      color: var(--text-soft);
      background: var(--bg-muted);
      font-size: 0.82rem;
    }

    .site-footer__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .site-footer p {
      margin: 0;
    }

    @media (max-width: 960px) {
      .method-flow {
        grid-template-columns: repeat(2, 1fr);
      }

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

      .viewer-grid--triple {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .viewer-grid--six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .viewer-grid--quad {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .viewer-card {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
      }

      .viewer-card--stacked {
        display: block;
      }

      .viewer-placeholder {
        min-height: 250px;
      }

      .mesh-viewer {
        min-height: 250px;
      }

      .viewer-card__copy {
        align-self: center;
        padding: 24px;
      }

      .application-section-layout {
        grid-template-columns: 1fr;
      }

    }

    @media (max-width: 820px) {
      .site-header__toggle {
        display: flex;
      }

      .site-header__nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
      }

      .site-header__nav.is-open {
        display: flex;
      }

      .site-header__nav a {
        padding: 10px 12px;
        border-radius: 5px;
        color: var(--text-soft);
      }

      .site-header__nav a:hover,
      .site-header__nav a.is-active {
        color: var(--text);
        background: var(--surface-strong);
      }

      .hero {
        min-height: 820px;
      }

      .hero__media img {
        object-position: 58% center;
      }

      .hero__veil {
        background:
          linear-gradient(90deg, rgba(10, 16, 35, 0.94), rgba(15, 21, 46, 0.74)),
          linear-gradient(180deg, rgba(9, 14, 30, 0.36), rgba(10, 15, 32, 0.76));
      }

      .subdivision-viewer__grid {
        grid-template-columns: 1fr;
      }

      .subdivision-viewer__toolbar {
        flex-wrap: wrap;
      }

      .subdivision-focus {
        flex-basis: 100%;
        justify-content: center;
        margin-left: 0;
        padding: 7px 0 0;
        border-top: 1px solid var(--border);
        border-left: 0;
      }

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

      .factorization__arrow {
        justify-self: center;
        transform: rotate(90deg);
      }
    }

    @media (max-width: 620px) {
      body {
        font-size: 16px;
      }

      .container {
        padding: 0 17px;
      }

      .hero {
        min-height: 760px;
      }

      .hero__title {
        font-size: clamp(2rem, 9.5vw, 2.9rem);
        line-height: 1.01;
      }

      .hero__inner {
        padding-top: calc(var(--nav-h) + 42px);
        padding-bottom: 76px;
      }

      .author-line {
        display: inline;
      }

      .hero__authors {
        font-size: 0.92rem;
      }

      .hero__affil span {
        display: block;
        white-space: normal;
      }

      .hero__facts {
        grid-template-columns: 1fr;
        margin-top: 28px;
      }

      .hero__fact + .hero__fact {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
      }

      .hero__scroll {
        left: 17px;
      }

      .hero__caption,
      .figure figcaption {
        display: none;
      }

      .section {
        padding: 42px 0;
      }

      .method-flow {
        grid-template-columns: 1fr;
      }

      .method-step {
        min-height: auto;
      }

      .viewer-card {
        display: block;
      }

      .viewer-grid--triple {
        grid-template-columns: 1fr;
      }

      .viewer-grid--six {
        grid-template-columns: 1fr;
      }

      .viewer-grid--quad {
        grid-template-columns: 1fr;
      }

      .viewer-switcher {
        justify-content: center;
      }

      .viewer-placeholder {
        min-height: 280px;
      }

      .mesh-viewer {
        min-height: 300px;
      }

      .mesh-viewer--detail {
        min-height: 390px;
      }

      .subdivision-card__expand span {
        display: none;
      }

      .site-footer__inner {
        display: block;
        text-align: center;
      }

      .site-footer__inner p + p {
        margin-top: 7px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }

      .mesh-viewer__loading::before {
        animation: none;
      }

      .hero__media {
        opacity: 1;
        transform: scale(1.07);
      }

      .hero__media img {
        filter: saturate(1.02) contrast(1.04) brightness(0.79);
        transform: none;
      }

      .hero__veil,
      .hero__eyebrow,
      .hero__title,
      .hero__authors,
      .hero__affil,
      .hero__notes,
      .hero .actions,
      .hero__facts,
      .hero__scroll {
        opacity: 1;
        filter: none;
        transform: none;
      }

      .hero__media,
      .hero__media img,
      .hero__veil,
      .hero__eyebrow,
      .hero__title,
      .hero__title-mark,
      .hero__authors,
      .hero__affil,
      .hero__notes,
      .hero .actions,
      .hero__facts,
      .hero__scroll {
        animation: none;
      }

      .hero::before,
      .hero::after,
      .hero__scroll i {
        animation: none;
      }

      .reveal-item {
        opacity: 1;
        transform: none;
      }
    }
