    @font-face {
      font-family: "Chronicle Display";
      src: url("./fonts/Chronicle Display Roman.otf") format("opentype");
      font-style: normal;
      font-weight: 400;
      font-display: swap;
    }

    :root {
      --bg: #000;
      --fg: #fff;
      --muted: rgba(255, 255, 255, 0.48);
      --safe-top: env(safe-area-inset-top, 0px);
      --safe-right: env(safe-area-inset-right, 0px);
      --safe-bottom: env(safe-area-inset-bottom, 0px);
      --safe-left: env(safe-area-inset-left, 0px);
      --transition-ms: 420ms;
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    html,
    body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      min-height: 100%;
      overflow: hidden;
      background: var(--bg);
      color: var(--fg);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      overscroll-behavior: none;
      touch-action: pan-x;
    }

    html {
      height: calc(100% + env(safe-area-inset-top));
    }

    body {
      min-height: calc(100% + env(safe-area-inset-top));
      position: relative;
    }

    .app {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 100%;
      overflow: hidden;
      background: #000;
    }

    .viewport {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background: #000;
    }

    .track {
      display: flex;
      width: 100%;
      height: 100%;
      min-height: 0;
      will-change: transform;
      transform: translate3d(0, 0, 0);
      transition: transform var(--transition-ms) cubic-bezier(.19,1,.22,1);
    }

    .track.dragging {
      transition: none !important;
    }

    .page {
      flex: 0 0 100%;
      width: 100%;
      height: 100%;
      min-width: 0;
      min-height: 0;
      position: relative;
      overflow: hidden;
      background: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
    }

    .page-inner {
      width: 100%;
      height: 100%;
      min-width: 0;
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #000;
      position: relative;
    }

    .media-frame {
      width: 100%;
      height: 100%;
      min-width: 0;
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #000;
      position: relative;
    }

    .menu-image {
      display: block;
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      object-position: center center;
      pointer-events: none;
      user-select: none;
      -webkit-user-drag: none;
      opacity: 1;
      transition: opacity 180ms ease;
    }

    .menu-image.is-loading {
      opacity: 0;
    }

    .menu-video {
      display: block;
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      object-position: center center;
      background: #000;
    }

    .hud {
      position: absolute;
      right: calc(16px + var(--safe-right));
      bottom: calc(16px + var(--safe-bottom));
      z-index: 30;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.42);
      backdrop-filter: blur(10px);
      color: rgba(255, 255, 255, 0.9);
      font-size: 13px;
      letter-spacing: 0.02em;
      border: 0;
      cursor: pointer;
      font-family: inherit;
      appearance: none;
      -webkit-appearance: none;
      transition: background-color 160ms ease, color 160ms ease;
    }

    .hud:hover,
    .hud:focus-visible,
    .hud[aria-expanded="true"] {
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
    }

    .hud:focus-visible,
    .section-menu button:focus-visible,
    .section-menu a:focus-visible {
      outline: 2px solid #a99558;
      outline-offset: 3px;
    }

    .hint {
      position: absolute;
      left: calc(16px + var(--safe-left));
      bottom: calc(16px + var(--safe-bottom));
      z-index: 30;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.42);
      backdrop-filter: blur(10px);
      color: rgba(255, 255, 255, 0.72);
      font-size: 13px;
      pointer-events: none;
    }

    .tap-zone {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 18%;
      z-index: 20;
      background: transparent;
      border: 0;
      margin: 0;
      padding: 0;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
    }

    .tap-zone.left { left: 0; }
    .tap-zone.right { right: 0; }

    .tap-zone:focus {
      outline: none;
    }

    .loading-overlay {
      position: absolute;
      inset: 0;
      z-index: 10;
      display: grid;
      place-items: center;
      background: #000;
      color: rgba(255,255,255,0.75);
      font-size: 14px;
      letter-spacing: 0.04em;
      transition: opacity 180ms ease;
      pointer-events: none;
    }

    .loading-overlay.hidden {
      opacity: 0;
    }

    @media (hover: hover) and (pointer: fine) {
      .tap-zone:hover {
        background: linear-gradient(to right, rgba(255,255,255,.03), transparent);
      }

      .tap-zone.right:hover {
        background: linear-gradient(to left, rgba(255,255,255,.03), transparent);
      }
    }

    @media (max-width: 768px) {
      .hint, .hud { font-size: 12px; }
      .tap-zone { width: 22%; }
    }

    @media (min-width: 1100px) {
      .media-frame {
        padding: 20px;
      }
    }

    .section-index-page {
      background: #000;
    }

    .viewport.section-index-active .tap-zone {
      pointer-events: none;
    }

    .section-menu[hidden] { display: none; }

    .section-menu {
      position: absolute;
      inset: 0;
      z-index: 50;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-top: var(--safe-top);
      color: #fff;
      font-family: "Chronicle Display", Georgia, "Times New Roman", serif;
    }

    .section-menu-backdrop {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      background: rgba(0, 0, 0, 0.58);
      opacity: 0;
      animation: section-menu-fade 180ms ease forwards;
    }

    .section-menu-panel {
      position: relative;
      width: min(100%, 560px);
      max-height: min(76%, 680px);
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 22px max(24px, var(--safe-right)) calc(20px + var(--safe-bottom)) max(24px, var(--safe-left));
      background: #222;
      color: #fff;
      box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.2);
      animation: section-menu-rise 220ms cubic-bezier(.19,1,.22,1) forwards;
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
    }

    .section-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 36px;
      margin-bottom: 8px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    }

    .section-menu-header h2 {
      margin: 0;
      font-size: 15px;
      font-weight: 400;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .section-menu-close {
      border: 0;
      padding: 8px 0 8px 12px;
      background: transparent;
      color: rgba(255, 255, 255, 0.72);
      font: inherit;
      font-size: 13px;
      cursor: pointer;
    }

    .section-menu-links {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .section-menu-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
    .section-menu-links li:last-child { border-bottom: 0; }

    .section-menu-links a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 40px;
      padding: 7px 1px;
      color: #fff;
      font-family: "Chronicle Display", Georgia, "Times New Roman", serif;
      font-size: 12px;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.4px;
    }

    .section-menu-links a::after {
      content: "→";
      margin-left: 12px;
      color: rgba(255, 255, 255, 0.68);
      font-family: "Chronicle Display", Georgia, "Times New Roman", serif;
      font-size: 12px;
      transition: transform 160ms ease;
    }

    .section-menu-links a:hover::after,
    .section-menu-links a:focus-visible::after { transform: translateX(3px); }

    @keyframes section-menu-fade { to { opacity: 1; } }
    @keyframes section-menu-rise { from { transform: translateY(24px); } to { transform: translateY(0); } }

    @media (prefers-reduced-motion: reduce) {
      .section-menu-backdrop,
      .section-menu-panel { animation-duration: 1ms; }
    }

    .track {
      z-index: 21;
      pointer-events: none;
    }

    .section-index-sheet {
      display: block;
      flex: 0 1 auto;
      width: min(56.25vh, 100vw);
      height: min(100%, 177.78vw);
      overflow: hidden;
      background: #e4e2dd;
      color: #171612;
      font-family: "Chronicle Display", Georgia, "Times New Roman", serif;
    }

    .section-index-content {
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      gap: 12px;
      width: 100%;
      height: 100%;
      padding: 40px 9% 78px;
      text-align: center;
    }

    .section-index-heading h1 {
      margin: 0;
      color: #171612;
      font-size: 18px;
      font-weight: 400;
      letter-spacing: 0.16em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    .section-index-content nav {
      display: grid;
      align-items: center;
      position: relative;
      z-index: 21;
      min-height: 0;
    }

    .section-index-links {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: repeat(12, minmax(0, 1fr));
      gap: 0;
      width: 100%;
      height: min(100%, 432px);
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .section-index-links li {
      min-width: 0;
      border-bottom: 1px solid rgba(23, 22, 18, 0.32);
    }

    .section-index-links li:last-child { border-bottom: 0; }

    .section-index-links a {
      position: relative;
      z-index: 21;
      pointer-events: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      width: 100%;
      height: 100%;
      min-width: 0;
      padding: 5px 1px;
      color: #555555;
      font-size: 12px;
      line-height: 1.22;
      text-align: left;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }

    .section-index-links a span:first-child {
      min-width: 0;
    }

    .section-index-arrow {
      flex: 0 0 auto;
      opacity: 0.62;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 15px;
      transition: transform 160ms ease, opacity 160ms ease;
    }

    .section-index-links a:hover .section-index-arrow,
    .section-index-links a:focus-visible .section-index-arrow {
      transform: translateX(3px);
      opacity: 1;
    }

    .section-index-links a:focus-visible {
      outline: 1px solid currentColor;
      outline-offset: -2px;
    }

    .section-index-footer {
      display: grid;
      place-items: center;
      min-height: 36px;
    }

    .section-index-footer img {
      display: block;
      width: 118px;
      max-width: 70%;
      height: auto;
      max-height: 48px;
      object-fit: contain;
    }

    @media (max-width: 420px) {
      .section-index-content {
        gap: 8px;
        padding: 28px 8% 70px;
      }

      .section-index-heading h1 { font-size: 16px; }
      .section-index-links a { font-size: 10px; }
      .section-index-footer img { width: 104px; }
    }

    @media (max-height: 640px) {
      .section-index-content { padding-top: 18px; padding-bottom: 62px; }
      .section-index-heading h1 { font-size: 11px; }
      .section-index-links a { font-size: 13px; }
    }
