* { margin:0; padding:0; box-sizing:border-box; }
        body { background:#0a0a15; color:#FFF3E3; font-family:'Manrope',sans-serif; min-height:100vh; overflow-x:hidden; }
        h1,h2,h3,h4,h5,h6 { font-family:'Playfair Display',serif; font-weight:700; }
        a { color:rgba(255,243,227,.62); text-decoration:none; }
        a:hover { color:#FFF3E3; }
        .container { max-width:1200px; margin:0 auto; padding:0 1.5rem; }
        .section { padding:4rem 0; }
        .section-title { font-size:2.2rem; text-align:center; margin-bottom:2.5rem; }
        .text-center { text-align:center; }
        .btn-gold { display:inline-block; background:#DAAF37; color:#050505; padding:0.75rem 2rem; border-radius:2rem; font-weight:700; text-transform:uppercase; font-size:0.875rem; letter-spacing:0.05em; transition:all .3s; }
        .btn-gold:hover { background:#FFF3E3; transform:translateY(-2px); box-shadow:0 8px 30px rgba(244,239,228,0.4); }
        .btn-outline { display:inline-block; background:transparent; border:1px solid #DAAF37; color:#DAAF37; padding:0.75rem 2rem; border-radius:2rem; font-weight:700; text-transform:uppercase; font-size:0.875rem; letter-spacing:0.05em; transition:all .3s; }
        .btn-outline:hover { background:rgba(244,239,228,0.1); box-shadow:0 0 20px rgba(244,239,228,0.2); }
        .site-header { position:sticky; top:0; z-index:100; background:rgba(5,5,12,0.88); backdrop-filter:blur(12px); border-bottom:1px solid rgba(244,239,228,0.12); }
        .header-inner { display:flex; align-items:center; justify-content:space-between; height:70px; }
        .logo { display:flex; align-items:center; gap:1.15rem; }
        .logo img { width:42px; height:42px; object-fit:contain; flex:none; }
        .logo-text { display:flex; flex-direction:column; justify-content:center; line-height:1; }
  .logo-text b { font-family:'Playfair Display',Georgia,serif; font-size:1.34rem; font-weight:700; letter-spacing:.01em; color:#FFF3E3; line-height:1; }
  .logo-text i { font-family:'Manrope',sans-serif; font-style:normal; font-size:.52rem; font-weight:600; letter-spacing:.34em; color:rgba(255,243,227,.62); margin-top:.34em; line-height:1; }
        .main-nav { display:flex; gap:2rem; align-items:center; }
        .main-nav a { font-size:0.9rem; color:rgba(255,243,227,0.6); transition:color .3s; }
        .main-nav a:hover { color:rgba(255,243,227,.62); }
        .nav-toggle { display:none; background:none; border:none; cursor:pointer; }
        .nav-toggle span { display:block; width:25px; height:2px; background:#FFF3E3; margin:5px 0; }
        @media (max-width:768px) {
            .main-nav { display:none; position:absolute; top:70px; left:0; right:0; background:rgba(5,5,12,0.95); flex-direction:column; padding:2rem; gap:1.5rem; }
            .main-nav.active { display:flex; }
            .nav-toggle { display:block; }
        }
        .site-footer { background:rgba(5,5,12,0.95); border-top:1px solid rgba(244,239,228,0.1); padding:3rem 0 2rem; margin-top:3rem; }
        .footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:2rem; }
        .footer-logo { width:50px; margin-bottom:0.5rem; }
        .footer-tagline { font-family:'Playfair Display',serif; color:rgba(255,243,227,.62); }
        .site-footer h4 { font-size:0.75rem; text-transform:uppercase; letter-spacing:0.1em; color:rgba(255,243,227,.62); margin-bottom:1rem; }
        .site-footer ul { list-style:none; }
        .site-footer li { margin-bottom:0.5rem; }
        .site-footer a { color:rgba(255,243,227,0.4); font-size:0.85rem; }
        .site-footer a:hover { color:rgba(255,243,227,.62); }
        .footer-bottom { max-width:1200px; margin:2rem auto 0; padding:1.5rem 1.5rem 0; border-top:1px solid rgba(244,239,228,0.08); display:flex; justify-content:space-between; flex-wrap:wrap; font-size:0.75rem; color:rgba(255,243,227,0.25); }
        .reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
        .reveal.visible { opacity:1; transform:translateY(0); }
        /* Gradient background for system pages */
        .bg-container { position:fixed; inset:0; z-index:0; background:#0f0e0b; animation:none; }
        .floating { display:none; }
        .floating:nth-child(1) { width:300px; height:300px; top:10%; left:-5%; animation-duration:25s; }
        .floating:nth-child(2) { width:400px; height:400px; bottom:10%; right:-10%; animation-duration:30s; animation-delay:-8s; }
        .floating:nth-child(3) { width:200px; height:200px; top:40%; left:30%; animation-duration:20s; animation-delay:-15s; }
        .floating:nth-child(4) { width:500px; height:500px; top:60%; left:60%; animation-duration:35s; animation-delay:-5s; }
        .floating:nth-child(5) { width:250px; height:250px; top:20%; left:70%; animation-duration:28s; animation-delay:-12s; }
        @keyframes gradientShift { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:0% 50%; } }
        @keyframes floatUp { 0% { transform:translate(0,0) scale(1); opacity:0.4; } 25% { transform:translate(10vw,-10vh) scale(1.1); opacity:0.7; } 50% { transform:translate(20vw,-20vh) scale(0.9); opacity:0.5; } 75% { transform:translate(30vw,-10vh) scale(1.05); opacity:0.6; } 100% { transform:translate(40vw,0) scale(1); opacity:0.4; } }
        .content-wrapper { position:relative; z-index:1; }
    

  /* ---------------------------------------------------------------------------
     THE TYPE SCALE. One ratio, 1.333, from a 16px body. Every heading size on the
     site is derived from it; none is chosen by eye. Fluid, so headings move with
     the viewport rather than jumping at a breakpoint — which is why the md: and
     lg: size chains are gone.
     --------------------------------------------------------------------------- */
  :root {
    --t-micro: 0.75rem;
    --t-small: 0.875rem;
    --t-body:  1rem;
    --t-3: clamp(1.18rem, 0.98rem + 0.85vw, 1.333rem);
    --t-4: clamp(1.45rem, 1.12rem + 1.35vw, 1.777rem);
    --t-5: clamp(1.78rem, 1.24rem + 2.15vw, 2.369rem);
    --t-6: clamp(2.15rem, 1.32rem + 3.30vw, 3.157rem);
    --t-7: clamp(2.55rem, 1.30rem + 4.95vw, 4.209rem);
    --t-8: clamp(2.95rem, 1.15rem + 7.10vw, 5.610rem);
    --rhythm: calc(1.65 * 1rem);
    --s1: calc(var(--rhythm) * 0.5);
    --s2: var(--rhythm);
    --s3: calc(var(--rhythm) * 1.5);
    --s4: calc(var(--rhythm) * 2);
    --s5: calc(var(--rhythm) * 3);
    --s6: calc(var(--rhythm) * 4);
    --measure: 66ch;
    --measure-tight: 54ch;
  }
  .measure { max-width: var(--measure); }
  .measure-tight { max-width: var(--measure-tight); }
  /* THE NAMED SIZES. One decision each, replacing the responsive chains. */
  .type-h1 { font-size: var(--t-6); line-height: 1.08; letter-spacing: -.022em; }
  .type-h2 { font-size: var(--t-5); line-height: 1.13; letter-spacing: -.018em; }
  .type-h3 { font-size: var(--t-4); line-height: 1.20; letter-spacing: -.012em; }
  .type-display { font-size: var(--t-7); line-height: 1.04; letter-spacing: -.028em; }
  .type-hero { font-size: var(--t-8); line-height: 1.02; letter-spacing: -.032em; }
  .type-lead { font-size: var(--t-3); line-height: 1.5; }

  /* THE COLOPHON. Mark above name, centred, with the line that says who made it.
     The same arrangement is used on Zoya's site so the two match. */
  .madeby { display:flex; flex-direction:column; align-items:center; gap:.55rem;
    text-align:center; }
  .madeby .mbl { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:10px;
    letter-spacing:.28em; text-transform:uppercase; color:rgba(255,243,227,.55); }
  .madeby .mbword { width:min(210px,60vw); height:auto; display:block; }
  .footer-tagline { display:none; }

  /* THE HEADER WORDMARK. One image, the same artwork as the footer. The monogram
     that used to sit to its left is gone — it was the same mark twice on one page. */
  .logo { display:flex; align-items:center; }
  .logo .logo-word { height:40px; width:auto; display:block; }
  .logo-text { display:none; }
  @media (max-width: 520px) { .logo .logo-word { height:40px; } }

  /* THE FLOATING MONOGRAM. Bottom right, quiet, and it stays put as you scroll.
     Hidden on the game page, where the HUD already owns that corner. */
  .gmpfloat { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px);
    z-index: 40; display: block; width: 46px; height: 46px; opacity: .5;
    transition: opacity .25s ease, transform .25s ease; }
  .gmpfloat img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .gmpfloat:hover { opacity: .95; transform: scale(1.06); }
  @media (max-width: 640px) { .gmpfloat { width: 34px; height: 34px; } }
  @media print { .gmpfloat { display: none; } }

.article{max-width:760px;margin:0 auto}
.article h1{font-family:'Playfair Display',serif;font-size:clamp(2rem,4.4vw,3.2rem);line-height:1.08;letter-spacing:-.02em;color:#FFF3E3;margin:0 0 1rem}
.article h2{font-family:'Playfair Display',serif;font-size:clamp(1.45rem,2.6vw,1.9rem);color:#FFF3E3;margin:2.2rem 0 .7rem}
.article h3{font-family:'Playfair Display',serif;font-size:1.15rem;color:rgba(255,243,227,.62);margin:1.6rem 0 .4rem}
.article p,.article li{color:rgba(255,243,227,.78);line-height:1.8;font-size:1.02rem}
.article ul,.article ol{padding-left:1.3rem;margin:.6rem 0 1.1rem}
.article li{margin-bottom:.5rem}
.article a{color:rgba(255,243,227,.62)}
.article .dek{font-size:1.12rem;color:rgba(255,243,227,.86)}
.article .byline{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,243,227,.45);margin-bottom:1.6rem}
.article table{width:100%;border-collapse:collapse;margin:1.4rem 0;font-size:.92rem}
.article th,.article td{border-top:1px solid rgba(255,243,227,.14);padding:.7rem;text-align:left;color:rgba(255,243,227,.78);vertical-align:top}
.article th{color:rgba(255,243,227,.62);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase}
.article blockquote{margin:1.4rem 0;padding:1rem 1.2rem;border-left:2px solid rgba(244,239,228,.14);background:rgba(244,239,228,.05);color:rgba(255,243,227,.82);line-height:1.7}
.article .cta{margin:2.4rem 0;padding:1.3rem 1.5rem;border:1px solid rgba(244,239,228,.3);background:rgba(244,239,228,.06)}
.article .cta p{margin:0 0 .9rem}

/* Phase 4: notes index classes. */
.notes-hero { padding-top: clamp(2.5rem, 6vh, 4.5rem); padding-bottom: 2rem; }
.notes-section { border-top: 1px solid rgba(244, 239, 228, 0.1); }
.notes-kicker {
  color: rgba(255, 243, 227, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.notes-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(244, 239, 228, 0.12);
  padding: 1.4rem 1.5rem;
  margin: 0 0 1rem;
  background: rgba(255, 255, 255, 0.02);
}
.notes-card-label {
  color: rgba(255, 243, 227, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.notes-card-title {
  margin: 0 0 0.5rem;
  color: #FFF3E3;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}
.notes-card-body { margin: 0; color: rgba(255, 243, 227, 0.7); line-height: 1.7; }
.notes-footnote {
  margin-top: 1.6rem;
  color: rgba(255, 243, 227, 0.55);
  font-size: 0.9rem;
}
