  * { margin: 0; box-sizing: border-box; }
  body {
    font-family: system-ui, sans-serif; color: #f5f1e8;
    background: #06060a; overflow-x: hidden;
  }
  .grain {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: .06; mix-blend-mode: overlay;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="180" height="180" filter="url(%23n)"/></svg>');
  }
  .glow {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(60% 40% at 50% 0%, rgba(94,23,235,.16), transparent 70%);
  }
  nav {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  }
  nav .logo img {
    height: 5rem; width: auto; display: block; margin: -.5rem 0;
    filter: drop-shadow(0 0 16px rgba(122,80,255,.6));
  }
  nav a.home {
    color: #f5f1e8; text-decoration: none; font-size: .72rem;
    letter-spacing: .28em; text-transform: uppercase; font-weight: 700;
    padding: .7rem 1.8rem; border: 1px solid rgba(168,139,255,.6);
    border-radius: 999px; background: rgba(122,80,255,.12);
    transition: background .3s, border-color .3s, box-shadow .3s;
  }
  nav a.home:hover {
    background: rgba(122,80,255,.3); border-color: #a88bff;
    box-shadow: 0 0 30px rgba(122,80,255,.35);
  }
  main {
    position: relative; z-index: 1;
    max-width: 820px; margin: 1rem auto 3.5rem;
    padding: clamp(1.8rem, 4vw, 3rem);
    background: rgba(8,8,14,.42);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(185,162,255,.18); border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
  }
  @media (max-width: 860px) { main { margin: .5rem 1rem 2.5rem; } }
  .eyebrow {
    font-size: .7rem; letter-spacing: .5em; text-transform: uppercase;
    color: #b9a2ff; font-weight: 700; margin-bottom: 1rem;
  }
  h1 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 700;
    letter-spacing: .03em; line-height: 1.1; margin-bottom: 2.2rem;
  }
  h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #7a50ff 0%, #d3c6ff 40%, #8b62ff 65%, #6a3df5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  h2 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: 1.35rem; font-weight: 700; letter-spacing: .03em;
    color: #d3c6ff; margin: 2.6rem 0 .9rem;
    padding-top: 1.6rem; border-top: 1px solid rgba(185,162,255,.16);
  }
  h3 {
    font-size: .74rem; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: #b9a2ff; margin: 1.6rem 0 .5rem;
  }
  p { font-size: .92rem; line-height: 1.75; opacity: .72; margin: 0 0 .8rem; }
  a { color: #b9a2ff; }
  footer {
    position: relative; z-index: 1; text-align: center;
    padding: 2rem 1rem 1.8rem; border-top: 1px solid rgba(185,162,255,.14);
    font-size: .68rem; letter-spacing: .22em; opacity: .5;
  }
  footer a { color: #f5f1e8; text-decoration: none; }
  footer a:hover { color: #a88bff; }
  footer .legal { margin-top: .55rem; font-size: .62rem; }
  .float-btn {
    position: fixed; bottom: 1.4rem; z-index: 5;
    padding: .55rem 1.2rem; border-radius: 999px;
    border: 1px solid rgba(168,139,255,.45); background: rgba(6,6,10,.6);
    color: #f5f1e8; font: 700 .62rem/1 system-ui, sans-serif;
    letter-spacing: .28em; text-transform: uppercase;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: border-color .3s, box-shadow .3s, opacity .4s;
  }
  .float-btn:hover { border-color: #a88bff; box-shadow: 0 0 20px rgba(122,80,255,.35); }
  #backBtn { left: 1.6rem; }
  #topBtn { right: 1.6rem; opacity: 0; pointer-events: none; }
  #topBtn.show { opacity: 1; pointer-events: auto; }
  @media (max-width: 768px) { #backBtn { left: 1rem; bottom: 1rem; } #topBtn { right: 1rem; bottom: 1rem; } }

  /* smooth anchor scrolling */
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
