* { 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; }
        .glass-panel { background:rgba(10,10,20,0.6); backdrop-filter:blur(16px); border:1px solid rgba(244,239,228,0.12); border-radius:1rem; padding:1.5rem; transition:all .4s; }
        .glass-panel:hover { border-color:rgba(244,239,228,0.35); transform:translateY(-4px); }
        .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; } }

/* Event-qualifying fields. Added as classes so the form does not grow more inline styles. */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.contact-field label{display:block;margin-bottom:.5rem;color:rgba(255,243,227,.8);font-size:.9rem;letter-spacing:.04em}
.contact-field input,.contact-field select{width:100%;padding:.75rem;background:rgba(0,0,0,.4);border:1px solid rgba(244,239,228,.2);border-radius:.5rem;color:#FFF3E3;font:inherit;color-scheme:dark}
.contact-field select{cursor:pointer}
.contact-hint{color:rgba(255,243,227,.55);font-size:.82rem;line-height:1.6;margin:0}
@media(max-width:600px){.contact-grid{grid-template-columns:1fr}}

/* Phase 4: contact page content classes. */
.contact-shell { max-width: 800px; }
.contact-title { color: #FFF3E3; }
.contact-lead { color: rgba(255, 243, 227, 0.7); margin-bottom: 3rem; }
.contact-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-field textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(244, 239, 228, 0.2);
  border-radius: 0.5rem;
  color: #FFF3E3;
  font: inherit;
  color-scheme: dark;
}
.contact-optional { border-top: 1px solid rgba(244, 239, 228, 0.14); padding-top: 1.2rem; }
.contact-field-top { margin-top: 1rem; }
.contact-hp { position: absolute; left: -9999px; }
.contact-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: rgba(255, 243, 227, 0.7);
  font-size: 0.88rem;
  line-height: 1.6;
  cursor: pointer;
}
.contact-consent-box { margin-top: 0.25rem; flex: none; accent-color: #FFF3E3; }
.contact-status { margin: 0; font-size: 0.9rem; line-height: 1.6; min-height: 1.4em; }
.contact-panel { padding: 2rem; }
.contact-panel-title { margin-bottom: 1.5rem; }
.contact-panel-name { margin: 0 0 0.4rem; color: #FFF3E3; font-weight: 600; }
.contact-panel-city { margin: 0 0 1rem; color: rgba(255, 243, 227, 0.65); }
.contact-panel-email { margin-bottom: 1rem; }
.contact-panel-link { color: rgba(255, 243, 227, 0.8); }
.contact-social { display: flex; gap: 1rem; font-size: 1.5rem; }
.contact-social-link { color: rgba(255, 243, 227, 0.5); }
.contact-next { border-top: 1px solid rgba(244, 239, 228, 0.12); }
.contact-next-shell { max-width: 960px; }
.contact-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #FFF3E3;
  margin: 0 0 1.6rem;
}
.contact-h2-tight { margin: 0 0 1.2rem; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}
.contact-card { padding: 1.4rem; }
.contact-card-n { font-family: ui-monospace, monospace; font-size: 0.72rem; color: rgba(255, 243, 227, 0.62); }
.contact-card-t { font-size: 1.1rem; color: #FFF3E3; margin: 0.5rem 0 0.5rem; }
.contact-card-p { color: rgba(255, 243, 227, 0.72); line-height: 1.7; margin: 0; }
.contact-faq-wrap { max-width: 760px; }
.contact-faq-item { padding: 1.1rem 0; border-top: 1px solid rgba(255, 243, 227, 0.1); }
.contact-faq-q { display: block; color: #FFF3E3; font-weight: 600; margin-bottom: 0.4rem; }
.contact-faq-a { color: rgba(255, 243, 227, 0.72); line-height: 1.75; }
.contact-hint { margin-bottom: 1rem; }
