h1,h2,h3,h4 { font-family:'Playfair Display',serif; }

        header.site-header, footer.site-footer, .elementor-location-header, .elementor-location-footer, #masthead, #colophon { display: none !important; opacity: 0 !important; pointer-events: none !important; height: 0 !important; }
        body, html { margin: 0; padding: 0; background-color: #050505; color: #FFF3E3; overflow-x: hidden; }
        #webgl-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
        .glass-panel { background: rgba(10, 10, 10, 0.5); backdrop-filter: blur(20px); border: 1px solid rgba(244,239,228,0.15); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
        .gold-foil-text { background: url('/images/brand/rgba(244,239,228,.04)-foil.jpg'); background-size: cover; background-position: center; -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
        .legal-content h4 { font-family: 'Playfair Display', serif; color: rgba(255,243,227,.62); font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(244,239,228,0.2); padding-bottom: 0.5rem; }
        .legal-content h4:first-child { margin-top: 0; }
        .legal-content p { color: rgba(255, 243, 227, 0.8); font-weight: 300; line-height: 1.8; margin-bottom: 1.25rem; font-size: 1.05rem; }
        .legal-content ul { color: rgba(255, 243, 227, 0.8); font-weight: 300; line-height: 1.8; margin-bottom: 1.5rem; padding-left: 1.5rem; list-style-type: none; }
        .legal-content ul li { position: relative; margin-bottom: 0.75rem; }
        .legal-content ul li::before { content: ''; position: absolute; left: -1.25rem; top: 0.6rem; width: 6px; height: 6px; background-color: rgba(255,243,227,.62); border-radius: 50%; }
    

  /* ---------------------------------------------------------------------------
     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; } }
