    @font-face {
      font-family: 'Saint';
      src: url('fonts/custom/saint.otf') format('opentype');
      font-weight: normal;
    }

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

    :root {
      --bg:        #050b16;
      --surface:   #091522;
      --teal:      #7dd3e8;
      --teal-dim:  #3a8fa8;
      --teal-dark: #1a4a5e;
      --gold:      #efd146;
      --gold-dim:  #a8920e;
      --silver:    #c8d8e8;
      --white:     #eef5fa;
      --muted:     #4e6a80;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--white);
      font-family: 'Saint', Georgia, serif;
      min-height: 100vh;
      overflow-x: hidden;
      cursor: none;
    }

    /* ── GRID ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(125,211,232,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125,211,232,.03) 1px, transparent 1px);
      background-size: 64px 64px;
      pointer-events: none;
      z-index: 0;
    }

    /* ── OVERLAYS ── */
    #scanlines {
      position: fixed; inset: 0; z-index: 800; pointer-events: none;
      background: repeating-linear-gradient(
        to bottom, transparent 0px, transparent 3px,
        rgba(0,0,0,0.055) 3px, rgba(0,0,0,0.055) 4px
      );
    }
    #vignette {
      position: fixed; inset: 0; z-index: 801; pointer-events: none;
      background: radial-gradient(ellipse at center, transparent 35%, rgba(3,7,16,0.78) 100%);
    }
    #scroll-bar {
      position: fixed; top: 0; left: 0; height: 2px; width: 0%;
      background: linear-gradient(to right, var(--teal-dim), var(--teal), var(--gold));
      box-shadow: 0 0 10px rgba(125,211,232,0.7);
      z-index: 950; pointer-events: none;
    }

    /* ── CURSOR ── */
    #c-glow {
      position: fixed; width: 380px; height: 380px; border-radius: 50%;
      pointer-events: none; z-index: 998; display: none;
      background: radial-gradient(circle, rgba(125,211,232,0.055) 0%, transparent 65%);
      transform: translate(-50%,-50%);
      mix-blend-mode: screen;
    }
    #c-ring {
      position: fixed; width: 26px; height: 26px; border-radius: 50%;
      border: 1px solid rgba(125,211,232,0.5);
      pointer-events: none; z-index: 999; display: none;
      transform: translate(-50%,-50%);
      transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
    }
    #c-dot {
      position: fixed; width: 5px; height: 5px; border-radius: 50%;
      background: var(--teal);
      box-shadow: 0 0 10px var(--teal), 0 0 20px rgba(125,211,232,0.4);
      pointer-events: none; z-index: 1000; display: none;
      transform: translate(-50%,-50%);
    }
    #c-trail { position: fixed; inset: 0; pointer-events: none; z-index: 997; }

    /* ── CORNER MARKS ── */
    .corner { position: fixed; width: 32px; height: 32px; z-index: 10; }
    .corner::before, .corner::after {
      content: ''; position: absolute; background: var(--teal); opacity: 0.4;
    }
    .corner::before { width: 100%; height: 1px; top: 0; }
    .corner::after  { width: 1px; height: 100%; top: 0; }
    .corner.tl { top: 24px; left: 24px; }
    .corner.tr { top: 24px; right: 24px; transform: scaleX(-1); }
    .corner.bl { bottom: 24px; left: 24px; transform: scaleY(-1); }
    .corner.br { bottom: 24px; right: 24px; transform: scale(-1); }
    @keyframes corner-flicker {
      0%,100% { opacity: 0.4; } 60% { opacity: 0.65; }
    }
    .corner { animation: corner-flicker 4s ease-in-out infinite; }
    .corner.tr { animation-delay: 1s; }
    .corner.bl { animation-delay: 2s; }
    .corner.br { animation-delay: 3s; }

    /* ── HERO ── */
    .hero {
      position: relative;
      width: 100vw;
      left: 50%;
      transform: translateX(-50%);
      height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
    #h-bg { z-index: 0; }
    #h-blob-wrap {
      position: absolute; inset: 0; z-index: 1;
      filter: blur(16px) contrast(20);
      mix-blend-mode: screen;
    }
    #h-blobs { background: #000; width: 100%; height: 100%; display: block; }
    #h-links { z-index: 4; pointer-events: none; }
    #h-aurora { z-index: 3; pointer-events: none; mix-blend-mode: screen; }

    .hero-content {
      position: relative; z-index: 5;
      text-align: center;
      padding: 0 24px;
    }
    .hero-eyebrow {
      font-family: 'Rajdhani', sans-serif;
      font-weight: 400;
      font-size: 0.7rem;
      letter-spacing: 0.55em;
      text-transform: uppercase;
      color: var(--teal-dim);
      margin-bottom: 28px;
      display: block;
      opacity: 0;
      animation: fadeUp 1s ease 0.4s both;
    }
    .hero-title {
      font-size: clamp(3.5rem, 10vw, 8rem);
      line-height: 0.92;
      letter-spacing: 0.05em;
      color: var(--white);
      opacity: 0;
      animation: fadeUp 1s ease 0.7s both;
    }
    .hero-title .line-teal { color: var(--teal); display: block; }
    .hero-sub {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 300;
      font-size: 0.9rem;
      letter-spacing: 0.22em;
      color: var(--muted);
      margin-top: 32px;
      opacity: 0;
      animation: fadeUp 1s ease 1.1s both;
    }
    .hero-scroll-hint {
      position: absolute;
      bottom: 36px; left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      display: flex; flex-direction: column; align-items: center; gap: 10px;
      opacity: 0;
      animation: fadeUp 1.2s ease 2s both;
    }
    .hero-scroll-hint span {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.55rem;
      letter-spacing: 0.45em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .scroll-line {
      width: 1px; height: 40px;
      background: linear-gradient(to bottom, var(--teal-dim), transparent);
      animation: scroll-pulse 2s ease-in-out infinite;
    }
    @keyframes scroll-pulse {
      0%,100% { transform: scaleY(1); opacity: 0.6; }
      50% { transform: scaleY(0.4); opacity: 1; }
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes pulse-glow {
      0%,100% {
        text-shadow: 0 0 50px rgba(125,211,232,.35), 0 0 120px rgba(125,211,232,.12);
      }
      50% {
        text-shadow: 0 0 80px rgba(125,211,232,.6), 0 0 180px rgba(125,211,232,.2);
      }
    }
    .hero-title { animation: fadeUp 1s ease 0.7s both, pulse-glow 4s ease-in-out 2s infinite; }

    /* ── PAGE ── */
    main {
      position: relative; z-index: 1;
      max-width: 920px;
      margin: 0 auto;
      padding: 0 44px 160px;
    }
    .page-content { padding-top: 100px; }

    /* ── REVEAL ── */
    .reveal {
      opacity: 0; transform: translateY(28px);
      transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16,1,0.3,1);
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ── LABEL ── */
    .label {
      font-family: 'Rajdhani', sans-serif;
      font-weight: 500; font-size: 0.62rem;
      letter-spacing: 0.45em; text-transform: uppercase;
      color: var(--teal-dim);
      margin-bottom: 24px; display: block;
    }

    /* ── DIVIDER ── */
    .divider {
      display: flex; align-items: center; gap: 18px;
      margin: 70px 0;
      color: var(--teal-dark);
    }
    .divider::before, .divider::after {
      content: ''; flex: 1; height: 1px;
      background: linear-gradient(90deg, transparent, var(--teal-dark), transparent);
    }
    .divider-glyph { font-size: 1rem; opacity: 0.5; }

    /* ── SECTIONS ── */
    section { margin-bottom: 90px; }

    /* ── VERSE CANVAS ── */
    .verse-section {
      margin-left: -44px; margin-right: -44px;
      position: relative;
    }
    .verse-section .label { position: absolute; top: 28px; left: 44px; z-index: 2; }
    #verse-cv { display: block; width: 100%; }

    /* ── STAR LEXICON (type scale) ── */
    .lex-grid { display: grid; gap: 0; }
    .lex-row {
      display: flex; align-items: baseline; gap: 28px;
      border-bottom: 1px solid rgba(125,211,232,.06);
      padding: 18px 0;
      transition: background 0.2s ease;
    }
    .lex-row:hover { background: rgba(125,211,232,.025); }
    .lex-tag {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase;
      color: var(--muted); min-width: 56px; flex-shrink: 0;
    }
    .l-96  { font-size: 5.5rem; color: var(--white); line-height: 1; }
    .l-64  { font-size: 3.8rem; color: var(--silver); line-height: 1; }
    .l-48  { font-size: 3rem;   color: var(--teal); line-height: 1; }
    .l-32  { font-size: 2rem;   color: var(--gold); line-height: 1; }
    .l-24  { font-size: 1.5rem; color: var(--white); }
    .l-18  { font-size: 1.1rem; color: var(--silver); }
    .l-14  { font-size: 0.85rem; color: var(--muted); font-family: 'Space Grotesk', sans-serif; font-weight: 300; }

    /* ── COMPACT HOUSES (cards) ── */
    .houses { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
    @media (max-width: 600px) { .houses { grid-template-columns: 1fr; } }

    .house {
      background: var(--surface);
      border: 1px solid rgba(125,211,232,.08);
      padding: 36px 32px;
      position: relative; overflow: hidden;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    .house::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--teal), transparent);
    }
    .house.gold::before {
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    .house::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(125,211,232,.03) 0%, transparent 55%);
      opacity: 0; transition: opacity 0.3s;
    }
    .house.gold::after {
      background: linear-gradient(135deg, rgba(239,209,70,.04) 0%, transparent 55%);
    }
    .house:hover { border-color: rgba(125,211,232,.25); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
    .house:hover::after { opacity: 1; }
    .house.gold:hover { border-color: rgba(239,209,70,.25); }
    .house-sigil {
      font-size: 2.8rem; line-height: 1;
      color: var(--teal);
      text-shadow: 0 0 24px rgba(125,211,232,.4);
      margin-bottom: 16px;
    }
    .house.gold .house-sigil { color: var(--gold); text-shadow: 0 0 24px rgba(239,209,70,.4); }
    .house-name {
      font-size: 1.6rem; color: var(--teal);
      margin-bottom: 10px; letter-spacing: 0.06em;
    }
    .house.gold .house-name { color: var(--gold); }
    .house-lore {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.88rem; font-weight: 300;
      line-height: 1.85; color: var(--muted);
    }

    /* ── TRANSMISSION (quote) ── */
    .transmission {
      background: var(--surface);
      border-left: 2px solid var(--gold);
      padding: 40px 44px;
      position: relative;
    }
    .transmission-prefix {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.58rem; letter-spacing: 0.45em;
      text-transform: uppercase; color: var(--gold-dim);
      margin-bottom: 20px; display: block;
    }
    .transmission-body {
      font-size: clamp(1.3rem, 2.8vw, 1.9rem);
      color: var(--silver); line-height: 1.55;
      letter-spacing: 0.02em;
    }
    .transmission-sig {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.7rem; letter-spacing: 0.38em;
      text-transform: uppercase; color: var(--gold); opacity: 0.65;
      margin-top: 24px; display: block;
    }

    /* ── ANCIENT MARKS (sigils) ── */
    .marks-row {
      display: flex; gap: 36px; align-items: flex-end; flex-wrap: wrap;
    }
    .mark {
      display: flex; flex-direction: column; align-items: center; gap: 10px;
      cursor: default;
      transition: transform 0.25s ease;
    }
    .mark:hover { transform: scale(1.12) translateY(-5px); }
    .mark-char {
      font-size: 4.5rem; line-height: 1;
      transition: text-shadow 0.25s ease;
    }
    .mark-char.t {
      color: var(--teal);
      text-shadow: 0 0 28px rgba(125,211,232,.45), 0 0 56px rgba(125,211,232,.18);
    }
    .mark-char.g {
      color: var(--gold);
      text-shadow: 0 0 28px rgba(239,209,70,.45), 0 0 56px rgba(239,209,70,.18);
    }
    .mark-char.w {
      color: var(--white);
      text-shadow: 0 0 28px rgba(238,245,250,.25);
    }
    .mark:hover .mark-char.t { text-shadow: 0 0 50px rgba(125,211,232,.9), 0 0 100px rgba(125,211,232,.35); }
    .mark:hover .mark-char.g { text-shadow: 0 0 50px rgba(239,209,70,.9), 0 0 100px rgba(239,209,70,.35); }
    .mark:hover .mark-char.w { text-shadow: 0 0 50px rgba(238,245,250,.6); }
    .mark-name {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.5rem; letter-spacing: 0.38em;
      text-transform: uppercase; color: var(--muted);
    }

    /* ── COORDINATES (numerals) ── */
    .coords {
      font-size: clamp(2.2rem, 6vw, 4.5rem);
      color: var(--teal-dim);
      letter-spacing: 0.22em;
      text-shadow: 0 0 40px rgba(125,211,232,.14);
      font-variant-numeric: tabular-nums;
    }

    /* ── ORACLE ── */
    .oracle-wrap {
      text-align: center;
      padding: 60px 20px;
      position: relative;
    }
    .oracle-title {
      font-size: clamp(2rem, 6vw, 4.5rem);
      color: var(--gold);
      text-shadow: 0 0 40px rgba(239,209,70,.3), 0 0 80px rgba(239,209,70,.1);
      margin-bottom: 12px;
      letter-spacing: 0.1em;
    }
    .oracle-sub {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.62rem; letter-spacing: 0.45em;
      text-transform: uppercase; color: var(--muted);
      margin-bottom: 44px;
    }
    .oracle-btn {
      font-family: 'Saint', Georgia, serif;
      font-size: 1.1rem;
      letter-spacing: 0.2em;
      padding: 18px 48px;
      background: transparent;
      color: var(--gold);
      border: 1px solid var(--gold);
      cursor: pointer;
      position: relative; overflow: hidden;
      transition: box-shadow 0.3s, transform 0.2s;
    }
    .oracle-btn::before {
      content: '';
      position: absolute; top: 50%; left: -100%; width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(239,209,70,.12), transparent);
      transform: translateY(-50%) skewX(-15deg);
      transition: left 0.5s ease;
    }
    .oracle-btn:hover::before { left: 160%; }
    .oracle-btn:hover {
      box-shadow: 0 0 40px rgba(239,209,70,.4), 0 0 80px rgba(239,209,70,.12);
      transform: translateY(-2px);
    }
    .oracle-btn:active { transform: translateY(0); }
    .oracle-output {
      margin-top: 52px;
      min-height: 140px;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 16px;
    }
    .oracle-prophecy {
      font-size: clamp(1.4rem, 3.5vw, 2.4rem);
      color: var(--white);
      line-height: 1.45;
      letter-spacing: 0.04em;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.8s ease, transform 0.8s ease;
      max-width: 660px;
      text-shadow: 0 0 40px rgba(239,209,70,.15);
    }
    .oracle-prophecy.shown { opacity: 1; transform: translateY(0); }
    .oracle-attr {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.62rem; letter-spacing: 0.4em;
      text-transform: uppercase; color: var(--gold); opacity: 0;
      transition: opacity 0.8s ease 0.4s;
    }
    .oracle-attr.shown { opacity: 0.55; }
    .oracle-flash {
      position: fixed; inset: 0; z-index: 2000;
      background: rgba(239,209,70,.04);
      pointer-events: none; opacity: 0;
    }

    /* ── SWEEP ── */
    .sweep-wrap { overflow: hidden; padding: 6px 0; }
    .sweep-text {
      font-family: 'Saint', Georgia, serif;
      font-size: clamp(4rem, 16vw, 11rem);
      line-height: 0.88; letter-spacing: 0.04em;
      background: linear-gradient(90deg,
        var(--teal) 0%, var(--white) 25%, var(--gold) 50%,
        var(--teal) 75%, var(--white) 100%);
      background-size: 250% auto;
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: sweep 5.5s linear infinite;
      display: block; user-select: none;
    }
    .sweep-text.dim { animation-delay: -2.75s; opacity: 0.4; }
    @keyframes sweep {
      from { background-position: 0% center; }
      to   { background-position: 250% center; }
    }

    /* ── GLOW BUTTONS ── */
    .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
    .btn {
      padding: 14px 34px;
      font-family: 'Saint', Georgia, serif;
      font-size: 1rem; letter-spacing: 0.16em;
      border: none; cursor: pointer;
      transition: all 0.25s ease; position: relative; overflow: hidden;
    }
    .btn-teal {
      background: transparent; color: var(--teal);
      border: 1px solid rgba(125,211,232,.5);
    }
    .btn-teal:hover {
      background: rgba(125,211,232,.08);
      box-shadow: 0 0 36px rgba(125,211,232,.3), 0 0 70px rgba(125,211,232,.1);
      letter-spacing: 0.22em;
    }
    .btn-gold { background: var(--gold); color: var(--bg); }
    .btn-gold:hover {
      box-shadow: 0 0 44px rgba(239,209,70,.55), 0 0 90px rgba(239,209,70,.18);
      transform: translateY(-2px);
    }
    .btn-ghost {
      background: transparent; color: var(--muted);
      border: 1px solid rgba(125,211,232,.12);
    }
    .btn-ghost:hover { color: var(--white); border-color: rgba(125,211,232,.35); }

    /* ── BATTLE SIMULATIONS GRID ── */
    .sim-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 28px;
    }
    @media (max-width: 600px) { .sim-grid { grid-template-columns: 1fr; } }

    .sim-card {
      display: block;
      text-decoration: none;
      position: relative;
      padding: 32px 28px 28px;
      border: 1px solid rgba(125,211,232,.18);
      background: rgba(125,211,232,.03);
      transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
      overflow: hidden;
    }
    .sim-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(125,211,232,.04) 0%, transparent 60%);
      pointer-events: none;
    }
    .sim-card:hover {
      border-color: rgba(125,211,232,.55);
      background: rgba(125,211,232,.06);
      box-shadow: 0 0 44px rgba(125,211,232,.12), 0 0 80px rgba(125,211,232,.04);
      transform: translateY(-3px);
    }
    .sim-card--teal { border-color: rgba(34,77,95,.45); background: rgba(34,77,95,.06); }
    .sim-card--teal:hover {
      border-color: rgba(125,211,232,.4);
      box-shadow: 0 0 44px rgba(34,77,95,.3);
    }

    .sim-card-tag {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.55rem; letter-spacing: 0.5em;
      text-transform: uppercase;
      color: var(--teal-dim);
      margin-bottom: 14px;
    }
    .sim-card-title {
      font-family: 'Saint', Georgia, serif;
      font-size: clamp(1.3rem, 3vw, 2rem);
      color: var(--white);
      letter-spacing: 0.08em;
      text-shadow: 0 0 30px rgba(125,211,232,.2);
      margin-bottom: 10px;
    }
    .sim-card:hover .sim-card-title {
      text-shadow: 0 0 50px rgba(125,211,232,.45), 0 0 100px rgba(125,211,232,.15);
    }
    .sim-card-sub {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.6rem; letter-spacing: 0.3em;
      text-transform: uppercase; color: var(--muted);
      line-height: 1.7;
    }
    .sim-card-coords {
      font-family: monospace;
      font-size: 0.58rem; letter-spacing: 0.12em;
      color: rgba(125,211,232,.28);
      margin-top: 16px;
    }
    .sim-card-arrow {
      position: absolute;
      bottom: 20px; right: 24px;
      font-size: 1.1rem;
      color: rgba(125,211,232,.25);
      transition: color 0.3s ease, transform 0.3s ease;
    }
    .sim-card:hover .sim-card-arrow {
      color: rgba(125,211,232,.7);
      transform: translateX(4px);
    }

    /* ── FOOTER ── */
    footer {
      text-align: center; padding-top: 60px;
      border-top: 1px solid rgba(125,211,232,.06);
    }
    .stamp {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.58rem; letter-spacing: 0.5em;
      text-transform: uppercase; color: var(--muted); opacity: 0.4;
    }
  
