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

        body, html { margin:0; padding:0; background-color:#050505; color:#FFF3E3; overflow-x:hidden; -webkit-font-smoothing:antialiased; }
        #spring-tree-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; opacity: 1; background: transparent; }
        #webgl-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
        .glass-panel { background:rgba(255,243,227,0.02); backdrop-filter:blur(16px); border:1px solid rgba(244,239,228,0.15); border-radius:1rem; box-shadow:0 10px 30px rgba(0,0,0,0.5); transition:all 0.4s ease; }
        .glass-panel:hover { border-color:rgba(244,239,228,0.4); background:rgba(255,243,227,0.04); }
        .glass-teal { border-color:rgba(244,239,228,0.3); }
        .glass-teal:hover { border-color:rgba(244,239,228,0.6); }
        .gold-line { position:relative; }
        .gold-line::after { content:''; position:absolute; left:0; bottom:-12px; width:60px; height:2px; background-color:rgba(255,243,227,.62); }
        .teal-line { position:relative; }
        .teal-line::after { content:''; position:absolute; left:0; bottom:-12px; width:60px; height:2px; background-color:rgba(255,243,227,.62); }
        .gold-outline-btn { background:rgba(10,10,10,0.5); backdrop-filter:blur(10px); border:1px solid #DAAF37; color:#DAAF37; transition:all 0.3s ease; }
        .gold-outline-btn:hover { background:rgba(244,239,228,0.15); box-shadow:0 0 15px rgba(244,239,228,0.3); transform:translateY(-2px); color:#FFF3E3; }
        .media-container { overflow:hidden; border-radius:0.75rem; position:relative; }
        .media-container img, .media-container video { transition:transform 0.7s ease; width:100%; height:100%; }
        .media-container.poster-mode img { object-fit:contain; }
        .media-container:not(.poster-mode) img, .media-container:not(.poster-mode) video { object-fit:cover; }
        .media-container:hover img, .media-container:hover video { transform:scale(1.03); }
        .collab-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:1rem; }
        .collab-item { cursor:pointer; transition:all 0.3s; }
        .collab-item:hover { transform:translateY(-5px); border-color:rgba(255,243,227,.62); }
        .collab-hidden { display:none; }
        .show-more-btn { margin-top:2rem; }
        ::-webkit-scrollbar { width:6px; height:6px; }
        ::-webkit-scrollbar-track { background:#050505; }
        ::-webkit-scrollbar-thumb { background:#0F7476; border-radius:4px; }
        ::-webkit-scrollbar-thumb:hover { background:rgba(244,239,228,.04); }
        .content-wrapper { position: relative; z-index: 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; max-width:1200px; margin:0 auto; padding:0 1.5rem; }
        .logo { display:flex; align-items:center; gap:0.75rem; text-decoration:none; }
        .logo img { width:42px; height:42px; object-fit:contain; flex:none; }
        .logo-text { font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:700; color:#FFF3E3; letter-spacing:0.08em; }
        .logo:hover .logo-text { color:rgba(255,243,227,.62); }
        .main-nav { display:flex; gap:2rem; align-items:center; }
        .main-nav a { font-size:0.85rem; font-weight:500; color:rgba(255,243,227,0.6); text-decoration:none; transition:color .3s; }
        .main-nav a:hover { color:rgba(255,243,227,.62); }
        .main-nav .btn-gold { padding:0.4rem 1.2rem; font-size:0.75rem; }
        .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; max-width:1200px; margin:0 auto; padding:0 1.5rem; }
        .footer-logo { width:50px; margin-bottom:0.5rem; }
        .footer-tagline { font-family:'Playfair Display',serif; font-size:1rem; 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; text-decoration:none; transition:color .3s; }
        .site-footer a:hover { color:rgba(255,243,227,.62); }
        .social-icons a { margin-right:0.75rem; font-size:1.2rem; }
        .footer-bottom { max-width:1200px; margin:0 auto; padding:1.5rem 1.5rem 0; display:flex; justify-content:space-between; flex-wrap:wrap; font-size:0.75rem; color:rgba(255,243,227,0.25); border-top:1px solid rgba(244,239,228,0.08); }
        .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; font-family:'Playfair Display',serif; }
        .text-center { text-align:center; }
        .font-heading { font-family:'Playfair Display',serif; }
        .text-ghee-cream { color:#FFF3E3; }
        .text-ghee-gold { color:rgba(255,243,227,.62); }
        .btn-gold { 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; display:inline-block; transition:all 0.3s ease; border:none; cursor:pointer; text-decoration:none; }
        .btn-gold:hover { background:#FFF3E3; transform:translateY(-2px); box-shadow:0 8px 30px rgba(244,239,228,0.4); }
        .reveal { opacity:0; transform:translateY(20px); transition:opacity 0.6s ease, transform 0.6s ease; }
        .reveal.visible { opacity:1; transform:translateY(0); }
    

  /* DARK CHROME AND A SOFT JOIN.
     These pages have dark bodies. A cream footer on the end of one is a seam, so
     the chrome stays dark and the footer fades in from the page above it. */
  .site-header .logo-text b { color:#FFF3E3; }
  .site-header .logo-text i { color:rgba(255,243,227,.62); }
  .main-nav a { color:rgba(255,243,227,0.72); }
  .main-nav a:hover, .main-nav a.active { color:#FFF3E3; }
  .nav-toggle span { background:#FFF3E3; }
  .site-footer { background:#0a0a15; border-top:0; color:rgba(255,243,227,0.66);
    position:relative; }
  .site-footer::before { content:''; position:absolute; left:0; right:0; top:-120px; height:120px;
    background:linear-gradient(to bottom, rgba(10,10,21,0), #0a0a15); pointer-events:none; }
  .site-footer h4 { color:#FFF3E3; }
  .site-footer a { color:rgba(255,243,227,0.66); }
  .site-footer a:hover { color:rgba(255,243,227,.62); }
  .footer-tagline { color:rgba(255,243,227,0.5); }
  .site-footer .footer-bottom { border-top:1px solid rgba(255,255,255,0.10); color:rgba(255,243,227,0.45); }

  /* MOTION CONTROL. Bottom left, quiet, and out of the way of the content. */
  .motion-toggle { position:fixed; left:16px; bottom:16px; z-index:60;
    display:inline-flex; align-items:center; gap:9px; cursor:pointer;
    background:rgba(6,6,14,.82); border:1px solid rgba(244,239,228,.32);
    color:rgba(255,243,227,.82); padding:9px 14px; border-radius:999px;
    font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:10.5px;
    letter-spacing:.12em; text-transform:uppercase; backdrop-filter:blur(8px); }
  .motion-toggle:hover { border-color:rgba(244,239,228,.62); color:#FFF3E3; }
  .motion-toggle:focus-visible { outline:2px solid rgba(244,239,228,.14); outline-offset:3px; }
  .motion-toggle .mt-icon { font-size:9px; letter-spacing:.05em; }
  @media (max-width: 640px) { .motion-toggle { left:12px; bottom:12px; padding:8px 11px;
    font-size:9.5px; } }
  @media print { .motion-toggle { display:none; } }

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

/* Phase 4: spring title. */
.pf-spring-title { font-size: var(--t-7); line-height: 1.02; }
