*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #07070f;
    --fg: #f0f0ff;
    --blur: 20px;
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.1);
    --ease: cubic-bezier(0.22,1,0.36,1);
  }

  body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ─── GRADIENT MESH BACKGROUND ─── */
  /*
    Large blurry orbs create the ambient gradient that glass
    elements blur over. This is what makes glassmorphism work.
    Without a colorful background, blur is invisible.
  */
  .bg-mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
    /* JS applies parallax transform on mouse move */
  }

  .orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #7c5cfc, transparent 70%);
    top: -100px; left: -100px;
  }
  .orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #ff3c8e, transparent 70%);
    top: 30%; right: -150px;
  }
  .orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #00d9ff, transparent 70%);
    bottom: 10%; left: 20%;
  }

  /* ─── CONTENT LAYER ─── */
  .content {
    position: relative;
    z-index: 1;
    padding: 8vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 200;
    letter-spacing: -0.02em;
  }

  /* ─── GLASS CARD BASE ─── */
  /*
    backdrop-filter: blur() is the core CSS property.
    Requires a semi-transparent background to show through.
    Border of rgba white gives the "frosted edge" look.
  */
  .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    /* Subtle inner glow on top edge */
    box-shadow:
      0 1px 0 rgba(255,255,255,0.08) inset,   /* top inner highlight */
      0 30px 60px rgba(0,0,0,0.5),              /* depth shadow */
      0 4px 16px rgba(0,0,0,0.3);               /* near shadow */
    /* 3D perspective for tilt effect */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: box-shadow 0.4s var(--ease), transform 0.1s ease, filter 0.3s ease;
    cursor: default;
    /* Chromatic aberration edge split */
    filter:
      drop-shadow(2px 0 0 rgba(255,0,100,0.15))
      drop-shadow(-2px 0 0 rgba(0,100,255,0.15));
  }

  .glass-card:hover {
    box-shadow:
      0 1px 0 rgba(255,255,255,0.12) inset,
      0 40px 80px rgba(0,0,0,0.6),
      0 8px 24px rgba(0,0,0,0.4);
    filter:
      drop-shadow(4px 0 0 rgba(255,0,100,0.22))
      drop-shadow(-4px 0 0 rgba(0,100,255,0.22));
  }

  /* ─── CARD GRID ─── */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .card-title {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: rgba(240,240,255,0.9);
  }

  .card-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(240,240,255,0.5);
  }

  .card-stat {
    font-size: 2.5rem;
    font-weight: 200;
    margin-top: 1.5rem;
    color: var(--fg);
  }

  .card-stat small {
    font-size: 0.75rem;
    opacity: 0.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-top: 0.25rem;
  }

  /* ─── LARGE FEATURED GLASS CARD ─── */
  .glass-card-featured {
    background: linear-gradient(
      135deg,
      rgba(124,92,252,0.12),
      rgba(255,60,142,0.06)
    );
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(124,92,252,0.25);
    border-radius: 20px;
    padding: 3rem;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.1) inset,
      0 0 60px rgba(124,92,252,0.15),
      0 40px 80px rgba(0,0,0,0.5);
  }

  .glass-card-featured h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  /* ─── NOISE OVERLAY ─── */
  /*
    SVG noise applied as a fixed layer on top of everything.
    Award sites use this for organic texture on glass surfaces.
  */
  .noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
  }

  /* ─── OKAMI GRAIN OVERLAY ─── */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 100;
    mix-blend-mode: overlay;
  }

  /* ─── BOKEH CANVAS ─── */
  #bokeh-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  /* ─── OKAMI CUSTOM CURSOR ─── */
  html, body { cursor: none; }

  #cursor {
    position: fixed;
    width: 2px;
    height: 2px;
    background: #f0e8d8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 200;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(240,232,216,0.8), 0 0 20px rgba(240,232,216,0.3);
  }

  #cursor::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(240,232,216,0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
  }
