  :root {
    /* Beams (required core) */
    --vista-blue: #9F9FE1;   /* cool beam + accents */
    --tiffany:    #84DCC6;   /* active beam + highlights */
    /* Supporting palette */
    --warm-spill: #F1A65A;   /* warm spotlight spill */
    --almond:     #F1DAC4;   /* light text / warm haze */
    --ultra-violet:#4B4E6D;  /* deep accent / borders */
    --eerie-black:#222222;   /* panels */
    --stage-black:#050505;   /* background */
    --ink:        #0A0A0F;   /* near-black panel */

    --text:       #F3EFEA;
    --text-dim:   rgba(243,239,234,0.62);

    --font-display: "Anton", "Arial Narrow", "Helvetica Neue", sans-serif;
    --font-body: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --maxw: 1200px;
    --pad: clamp(1.25rem, 5vw, 4rem);
    --radius: 14px;
  }

  * { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; }

  body {
    margin: 0;
    background: var(--stage-black);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  a { color: inherit; text-decoration: none; }

  h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: 0.01em;
    margin: 0;
    text-transform: uppercase;
  }

  p { margin: 0; }

  ::selection { background: var(--tiffany); color: var(--stage-black); }

  :focus-visible {
    outline: 2px solid var(--tiffany);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    letter-spacing: 0.02em;
    padding: 0.85em 1.5em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    white-space: nowrap;
  }
  .btn-primary {
    background: linear-gradient(120deg, var(--tiffany), var(--vista-blue));
    color: #08110D;
    box-shadow: 0 0 0 0 rgba(132,220,198,0.0), 0 10px 30px -10px rgba(132,220,198,0.55);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px -4px rgba(132,220,198,0.7), 0 0 60px -10px rgba(159,159,225,0.5);
  }
  .btn-ghost {
    background: rgba(255,255,255,0.03);
    border-color: rgba(159,159,225,0.4);
    color: var(--text);
    backdrop-filter: blur(6px);
  }
  .btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--vista-blue);
    background: rgba(159,159,225,0.12);
  }
  .btn svg { width: 1.05em; height: 1.05em; display: block; }

  /* ---------- Header ---------- */
  header {
    position: relative;
    z-index: 30;
  }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: clamp(1rem, 2.5vw, 1.5rem);
  }
  .wordmark {
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }
  .wordmark img {
    height: clamp(30px, 7vw, 38px);
    width: auto;
    display: block;
    transform-origin: left center;
    will-change: transform, filter;
    animation: wordmark-beat 0.5s ease-out infinite;  /* 120 BPM = one pulse / 0.5s */
  }
  @keyframes wordmark-beat {
    /* punch on the beat, then shine decays until the next one */
    0% {
      transform: scale(1.015);
      filter: brightness(1.135)
              drop-shadow(0 0 9px rgba(132,220,198,0.9))
              drop-shadow(0 0 20px rgba(159,159,225,0.55));
    }
    70%, 100% {
      transform: scale(1);
      filter: brightness(1) drop-shadow(0 0 0 rgba(132,220,198,0));
    }
  }
  /* image wordmark (intuition name banner): ~70% larger, glow-only beat (no resize) */
  .wordmark img.wordmark-pic {
    height: clamp(51px, 12vw, 65px);
    animation-name: wordmark-glow;
  }
  @keyframes wordmark-glow {
    0%        { filter: brightness(1.135) drop-shadow(0 0 9px rgba(132,220,198,0.9)) drop-shadow(0 0 20px rgba(159,159,225,0.55)); }
    70%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(132,220,198,0)); }
  }
  nav.mini {
    display: none;
    gap: 1.6rem;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    color: var(--text-dim);
  }
  nav.mini a:hover { color: var(--text); }

  .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5em 0.95em;
    border-radius: 999px;
    border: 1px solid rgba(132,220,198,0.45);
    background: rgba(132,220,198,0.08);
    color: var(--tiffany);
    white-space: nowrap;
  }
  .pill .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--tiffany);
    box-shadow: 0 0 10px var(--tiffany);
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: clamp(3rem, 9vw, 7rem) clamp(4rem, 11vw, 9rem);
  }
  .hero::after {
    /* haze veil + vignette over everything beams */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      radial-gradient(120% 90% at 50% -10%, rgba(132,220,198,0.10), transparent 55%),
      radial-gradient(120% 120% at 50% 120%, rgba(5,5,5,0.9), transparent 60%),
      linear-gradient(transparent 60%, rgba(5,5,5,0.55));
  }

  /* Stage rig (where beams emit from) */
  .rig {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }
  .rig .haze {
    position: absolute;
    inset: -10%;
    background:
      radial-gradient(40% 55% at 30% 0%, rgba(159,159,225,0.18), transparent 70%),
      radial-gradient(45% 60% at 70% 0%, rgba(132,220,198,0.16), transparent 70%),
      radial-gradient(50% 50% at 50% 10%, rgba(241,166,90,0.10), transparent 70%);
    filter: blur(40px);
    animation: haze-drift 16s ease-in-out infinite alternate;
  }
  @keyframes haze-drift {
    0%   { transform: translate3d(-2%, 0, 0) scale(1.05); opacity: 0.85; }
    100% { transform: translate3d(3%, 1%, 0) scale(1.12); opacity: 1; }
  }

  /* A single beam = a cone clipped wedge with a soft gradient + blur */
  .beam {
    position: absolute;
    top: -14%;
    left: 50%;
    width: var(--w, 60vw);
    margin-left: calc(var(--w, 60vw) / -2);  /* center the beam on its emission point */
    height: 150%;
    transform-origin: 50% 0%;
    clip-path: polygon(49% 0, 51% 0, 100% 100%, 0% 100%);
    mix-blend-mode: screen;
    filter: blur(8px);
    opacity: var(--f, 0.7);
    will-change: transform, opacity;
  }
  .beam i {
    /* inner glow core so the beam reads as volumetric */
    position: absolute;
    inset: 0;
    clip-path: polygon(49.4% 0, 50.6% 0, 64% 100%, 36% 100%);
    filter: blur(4px);
    opacity: 0.9;
  }

  /* Symmetric fan: emission points at 28 / 36 / 46 / 54 / 64 / 72 % */
  .beam-1 { left: 46%; --w: 60vw;
    background: linear-gradient(to bottom, rgba(159,159,225,0.98), rgba(159,159,225,0.12) 55%, transparent 85%);
    animation: sweep-1 11s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite;
  }
  .beam-1 i { background: linear-gradient(to bottom, rgba(232,232,255,0.95), transparent 70%); }

  .beam-2 { left: 54%; --w: 60vw;
    background: linear-gradient(to bottom, rgba(132,220,198,0.98), rgba(132,220,198,0.12) 55%, transparent 85%);
    animation: sweep-2 13s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite;
  }
  .beam-2 i { background: linear-gradient(to bottom, rgba(220,255,245,0.95), transparent 70%); }

  .beam-3 { left: 64%; --w: 48vw;
    background: linear-gradient(to bottom, rgba(241,166,90,0.9), rgba(241,166,90,0.10) 55%, transparent 85%);
    animation: sweep-3 17s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite;
  }
  .beam-3 i { background: linear-gradient(to bottom, rgba(255,225,190,0.9), transparent 70%); }

  .beam-4 { left: 36%; --w: 44vw;
    background: linear-gradient(to bottom, rgba(159,159,225,0.8), rgba(159,159,225,0.08) 55%, transparent 85%);
    animation: sweep-4 19s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite;
  }
  .beam-4 i { background: linear-gradient(to bottom, rgba(232,232,255,0.8), transparent 70%); }

  .beam-5 { left: 28%; --w: 40vw;
    background: linear-gradient(to bottom, rgba(159,159,225,0.72), rgba(159,159,225,0.07) 55%, transparent 85%);
    animation: sweep-5 15s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite;
  }
  .beam-5 i { background: linear-gradient(to bottom, rgba(232,232,255,0.65), transparent 70%); }

  .beam-6 { left: 72%; --w: 40vw;
    background: linear-gradient(to bottom, rgba(132,220,198,0.72), rgba(132,220,198,0.07) 55%, transparent 85%);
    animation: sweep-6 21s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite;
  }
  .beam-6 i { background: linear-gradient(to bottom, rgba(220,255,245,0.65), transparent 70%); }

  @keyframes sweep-1 { 0% { transform: rotate(-22deg); } 100% { transform: rotate(16deg); } }
  @keyframes sweep-2 { 0% { transform: rotate(22deg); }  100% { transform: rotate(-16deg); } }
  @keyframes sweep-3 { 0% { transform: rotate(-12deg); } 100% { transform: rotate(30deg); } }
  @keyframes sweep-4 { 0% { transform: rotate(12deg); }  100% { transform: rotate(-30deg); } }
  @keyframes sweep-5 { 0% { transform: rotate(-34deg); } 100% { transform: rotate(2deg); } }
  @keyframes sweep-6 { 0% { transform: rotate(34deg); }  100% { transform: rotate(-2deg); } }

  /* 120 BPM = one beat / 0.5s: beams punch brighter, then settle */
  @keyframes beam-beat {
    0%        { opacity: calc(var(--f, 0.7) * 1.5); }
    45%, 100% { opacity: calc(var(--f, 0.7) * 0.72); }
  }

  /* central bloom that flashes from the rig on every beat */
  .rig::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(70% 55% at 50% -5%, rgba(180,245,228,0.22), rgba(159,159,225,0.10) 45%, transparent 70%);
    mix-blend-mode: screen;
    opacity: 0;
    animation: rig-flash 0.5s ease-out infinite;
  }
  @keyframes rig-flash {
    0%        { opacity: 0.85; }
    42%, 100% { opacity: 0; }
  }

  /* Lens flares / spotlights on the floor */
  .flare {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: blur(2px);
    pointer-events: none;
  }
  .flare.f-top-a {
    top: -3%; left: 38%; margin-left: -9vw;
    width: clamp(120px, 18vw, 260px); height: clamp(120px, 18vw, 260px);
    background: radial-gradient(circle, rgba(232,232,255,0.95), rgba(159,159,225,0.4) 30%, transparent 65%);
    animation: bob 8s ease-in-out infinite alternate, flare-beat 0.5s ease-out infinite;
  }
  .flare.f-top-b {
    top: -4%; left: 62%; margin-left: -9vw;
    width: clamp(120px, 18vw, 260px); height: clamp(120px, 18vw, 260px);
    background: radial-gradient(circle, rgba(220,255,245,0.95), rgba(132,220,198,0.4) 30%, transparent 65%);
    animation: bob 10s ease-in-out infinite alternate-reverse, flare-beat 0.5s ease-out infinite;
  }
  .flare.f-floor {
    bottom: -8%; left: 50%; transform: translateX(-50%);
    width: clamp(280px, 70vw, 760px); height: clamp(120px, 22vw, 220px);
    background: radial-gradient(ellipse at center, rgba(159,159,225,0.24), rgba(132,220,198,0.12) 40%, transparent 70%);
    filter: blur(28px);
    animation: floor-beat 0.5s ease-out infinite;
  }
  @keyframes bob {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(8px) scale(1.08); }
  }
  @keyframes flare-beat {
    0%        { opacity: 1; }
    50%, 100% { opacity: 0.5; }
  }
  @keyframes floor-beat {
    0%        { opacity: 1;   transform: translateX(-50%) scale(1.14); }
    55%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  }

  /* Hero content */
  .hero-inner {
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.1rem, 2.5vw, 1.6rem);
  }
  .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--almond);
    font-weight: 600;
    opacity: 0.85;
  }
  .hero h1 {
    font-size: clamp(3.1rem, 13vw, 8.5rem);
    letter-spacing: 0.005em;
    max-width: 14ch;
    text-shadow: 0 6px 50px rgba(0,0,0,0.7);
  }
  .glow {
    background: linear-gradient(120deg, var(--tiffany) 0%, var(--vista-blue) 70%, var(--warm-spill) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 24px rgba(132,220,198,0.35));
  }
  /* 120 BPM white glow pulse around a heading_glow tail */
  .glow-pulse { animation: glow-pulse 0.5s ease-out infinite; }
  @keyframes glow-pulse {
    0%        { filter: drop-shadow(0 0 8px rgba(255,255,255,0.45)) drop-shadow(0 0 24px rgba(255,255,255,0.25)); }
    70%, 100% { filter: drop-shadow(0 0 3px rgba(255,255,255,0.1)); }
  }
  .subhead {
    font-size: clamp(1.02rem, 2.3vw, 1.3rem);
    color: var(--text);
    max-width: 46ch;
    line-height: 1.55;
    text-shadow: 0 2px 18px rgba(0,0,0,0.85);
  }
  .subhead b { color: var(--almond); font-weight: 600; }
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 0.4rem;
  }
  .hero-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
  }
  .steam-capsule {
    display: block;
    width: min(360px, 100%);
    margin-top: clamp(0.3rem, 1.5vw, 0.7rem);
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 16px 44px -16px rgba(0,0,0,0.75);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .steam-capsule img { width: 100%; height: auto; display: block; }
  .steam-capsule:hover,
  .steam-capsule:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px -16px rgba(132,220,198,0.4);
  }
  .steam-capsule:focus-visible { outline: 3px solid var(--vista-blue); outline-offset: 3px; }

  /* reveal-on-load */
  .reveal { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal.d1 { animation-delay: .1s; }
  .reveal.d2 { animation-delay: .25s; }
  .reveal.d3 { animation-delay: .4s; }
  .reveal.d4 { animation-delay: .55s; }
  .reveal.d5 { animation-delay: .7s; }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }

  /* ---------- Section shell ---------- */
  .section { padding-block: clamp(3.5rem, 9vw, 6.5rem); position: relative; }
  .section-head { max-width: 56ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
  .section-head h2 {
    font-size: clamp(2rem, 6vw, 3.6rem);
    letter-spacing: 0.01em;
  }
  .section-head h2 em {
    font-style: normal;
    color: var(--tiffany);
  }
  .kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--vista-blue);
    font-weight: 600;
    margin-bottom: 0.9rem;
  }
  .section-head p { color: var(--text-dim); margin-top: 0.9rem; font-size: clamp(1rem, 2vw, 1.1rem); }

  /* ---------- Showcase band ---------- */
  .showcase { background: linear-gradient(180deg, #060608, #0A0A12 50%, #060608); border-block: 1px solid rgba(159,159,225,0.12); }
  .tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.7rem, 1.6vw, 1rem);
  }
  .tile {
    display: block;
    text-decoration: none;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0a16;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    isolation: isolate;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .tile-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(132,220,198,0.5); }
  .tile:focus-visible { outline: 3px solid var(--vista-blue); outline-offset: 2px; }
  .tile .label {
    position: absolute;
    z-index: 3;
    left: 0.9rem; bottom: 0.8rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text);
    background: rgba(5,5,5,0.45);
    backdrop-filter: blur(4px);
    padding: 0.3em 0.7em;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
  }
  .tile::after { /* haze sheen + reactive shimmer */
    content: "";
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.12) 48%, transparent 60%);
    transform: translateX(-30%);
    animation: shine 6s linear infinite;
    opacity: 0.6;
  }
  @keyframes shine { to { transform: translateX(60%); } }

  .showcase .caption { margin-top: 1.4rem; color: var(--text-dim); font-size: 0.9rem; text-align: center; }
  .showcase .caption a { color: var(--tiffany); text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
  .showcase .caption a:hover { color: var(--vista-blue); }
  .showcase .caption a:focus-visible { outline: 2px solid var(--vista-blue); outline-offset: 2px; border-radius: 3px; }

  /* ---------- Features ---------- */
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.8rem, 2vw, 1.1rem);
  }
  .feature {
    position: relative;
    padding: clamp(1.3rem, 3vw, 1.8rem);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(159,159,225,0.06), rgba(10,10,18,0.4));
    border: 1px solid rgba(159,159,225,0.14);
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
  }
  .feature::before { /* a small beam swipe down each card */
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 60%; height: 180%;
    background: linear-gradient(to bottom, rgba(132,220,198,0.18), transparent 60%);
    clip-path: polygon(48% 0, 52% 0, 80% 100%, 20% 100%);
    transform: rotate(18deg);
    filter: blur(8px);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
  }
  .feature:hover { transform: translateY(-3px); border-color: rgba(132,220,198,0.5); background: linear-gradient(160deg, rgba(132,220,198,0.08), rgba(10,10,18,0.5)); }
  .feature:hover::before { opacity: 1; }
  .feature .ftag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem; height: 2.6rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: rgba(5,5,5,0.5);
    border: 1px solid rgba(159,159,225,0.3);
    color: var(--tiffany);
  }
  .feature .ftag svg { width: 1.4rem; height: 1.4rem; }
  .feature h3 {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.18rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
  }
  .feature p { color: var(--text-dim); font-size: 0.96rem; line-height: 1.55; }

  /* ---------- CTA band ---------- */
  .cta-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-block: 1px solid rgba(159,159,225,0.14);
    isolation: isolate;
  }
  .cta-band::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background:
      radial-gradient(60% 120% at 30% 0%, rgba(159,159,225,0.22), transparent 60%),
      radial-gradient(60% 120% at 70% 0%, rgba(132,220,198,0.20), transparent 60%),
      radial-gradient(80% 100% at 50% 120%, rgba(241,166,90,0.12), transparent 60%),
      #060608;
    filter: blur(2px);
  }
  .cta-band h2 { font-size: clamp(2.2rem, 8vw, 5rem); margin-bottom: 1.3rem; }
  .cta-band .cta-row { margin-top: 1.6rem; }
  .cta-band .hero-note { margin-top: 1.2rem; }

  /* ---------- Footer ---------- */
  footer {
    background: #040406;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-block: clamp(2.2rem, 5vw, 3rem);
  }
  .foot-grid {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: flex-start;
  }
  .foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-size: 0.9rem;
    color: var(--text-dim);
  }
  .foot-links a:hover { color: var(--tiffany); }
  .foot-legal {
    margin-top: 1.6rem;
    max-width: 78ch;
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--text-dim);
    opacity: 0.75;
  }
  .foot-legal a { color: var(--vista-blue); text-decoration: underline; text-underline-offset: 2px; }
  .foot-legal a:hover { color: var(--tiffany); }

  /* ---------- Footer sites bar ---------- */
  .foot-sites {
    margin-top: 1.4rem;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--text-dim);
  }
  .foot-sites a { transition: color .2s ease; }
  .foot-sites a:hover { color: var(--tiffany); }
  .foot-sites .current { color: var(--tiffany); font-weight: 600; }
  .foot-sites .sep { margin-inline: 0.55em; opacity: 0.4; }

  /* ---------- Responsive ---------- */
  @media (min-width: 720px) {
    nav.mini { display: inline-flex; }
    .tiles { grid-template-columns: repeat(4, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-grid {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }
  }
  @media (min-width: 1080px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    .beam-1, .beam-2 { --w: 32vw; }
    .beam-3 { --w: 26vw; }
    .beam-4 { --w: 24vw; }
    .beam-5, .beam-6 { --w: 22vw; }
  }

  /* ---------- Reduced motion: static lit frame ---------- */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation: none !important;
      transition: none !important;
    }
    .beam-1 { transform: rotate(-12deg); }
    .beam-2 { transform: rotate(12deg); }
    .beam-3 { transform: rotate(22deg); }
    .beam-4 { transform: rotate(-22deg); }
    .beam-5 { transform: rotate(-32deg); }
    .beam-6 { transform: rotate(32deg); }
    .hero--djwy .beam-5 { transform: rotate(40deg); }
    .hero--djwy .beam-4 { transform: rotate(32deg); }
    .hero--djwy .beam-1 { transform: rotate(35deg); }
    .hero--djwy .beam-6 { transform: rotate(-40deg); }
    .hero--djwy .beam-3 { transform: rotate(-32deg); }
    .hero--djwy .beam-2 { transform: rotate(-35deg); }
    .reveal { opacity: 1; transform: none; }
    .strobe { opacity: 0 !important; }
    .rig .haze { opacity: 1; }
  }

  /* ====================================================================
     CONTENT PAGES (tutorials / FAQ / license)
     ==================================================================== */

  /* ---------- Header docnav (content pages) ---------- */
  nav.docnav {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.8rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dim);
  }
  nav.docnav a {
    color: var(--text-dim);
    padding: 0.28em 0.7em;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
  }
  nav.docnav a:hover { color: var(--text); background: rgba(159,159,225,0.10); }
  nav.docnav a.active {
    color: var(--tiffany);
    border-color: rgba(132,220,198,0.45);
    background: rgba(132,220,198,0.08);
  }
  nav.docnav .docnav-tut { color: var(--text-dim); }
  nav.docnav .docnav-tut a { margin-inline: 0.05em; }
  @media (max-width: 719px) {
    .topbar { flex-wrap: wrap; }
    nav.docnav { order: 3; flex-basis: 100%; justify-content: center; margin-top: 0.4rem; }
  }

  /* ---------- Content page hero (calm, static beams) ---------- */
  .page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: clamp(2.4rem, 7vw, 4.5rem) clamp(1.8rem, 4vw, 2.6rem);
    border-bottom: 1px solid rgba(159,159,225,0.12);
  }
  .page-hero::after {
    content: "";
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
      radial-gradient(120% 90% at 50% -10%, rgba(132,220,198,0.10), transparent 55%),
      linear-gradient(transparent 55%, rgba(5,5,5,0.55));
  }
  .rig-lite .beam { animation: none; opacity: 0.45; }
  .rig-lite .beam-1 { transform: rotate(-16deg); left: 38%; }
  .rig-lite .beam-2 { transform: rotate(15deg); left: 60%; }
  .page-hero-inner {
    position: relative; z-index: 5;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    gap: 0.7rem;
  }
  .page-hero .kicker { margin-bottom: 0; }
  .page-title {
    font-size: clamp(2.4rem, 8vw, 5rem);
    letter-spacing: 0.01em;
    text-shadow: 0 6px 50px rgba(0,0,0,0.7);
  }
  .page-sub { color: var(--text-dim); max-width: 54ch; font-size: clamp(1rem, 2vw, 1.15rem); }

  /* ---------- Doc layout + sticky TOC ---------- */
  .doc-main { padding-block: clamp(2rem, 5vw, 3.5rem); }
  .doc-layout { display: block; }
  .doc-layout.has-toc { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 4vw, 2.4rem); }
  .toc-details {
    border: 1px solid rgba(159,159,225,0.14);
    border-radius: var(--radius);
    background: rgba(10,10,18,0.4);
    padding: 0.6rem 1rem;
  }
  .toc-title {
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.74rem;
    color: var(--vista-blue);
  }
  .toc { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.8rem; }
  .toc a {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.3;
    border-left: 2px solid transparent;
    padding-left: 0.7rem;
    transition: color .2s ease, border-color .2s ease;
  }
  .toc a:hover { color: var(--text); }
  .toc a.active { color: var(--tiffany); border-left-color: var(--tiffany); }
  @media (min-width: 1080px) {
    .doc-layout.has-toc { grid-template-columns: 220px minmax(0, 1fr); }
    .toc-wrap { position: sticky; top: 1.5rem; align-self: start; }
    .toc-details { background: transparent; border: none; padding: 0; }
    .toc-title { pointer-events: none; }
  }

  /* ---------- Doc prose + section panels ---------- */
  .doc { max-width: 74ch; }
  .doc-layout.has-toc .doc { max-width: none; }
  /* landing pages (no TOC): center the content column under the centered hero;
     body text stays left-aligned (titles center themselves) */
  .doc-layout:not(.has-toc) .doc { margin-inline: auto; }
  .doc .lead { font-size: 1.05rem; color: var(--text-dim); margin-bottom: 1.2rem; }
  .doc-card {
    position: relative;
    padding: clamp(1.3rem, 3vw, 1.9rem);
    margin-bottom: clamp(1rem, 2.5vw, 1.4rem);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(159,159,225,0.06), rgba(10,10,18,0.4));
    border: 1px solid rgba(159,159,225,0.14);
    overflow: hidden;
  }
  .doc-card::before {
    content: "";
    position: absolute; top: -40%; right: -10%;
    width: 50%; height: 180%;
    background: linear-gradient(to bottom, rgba(132,220,198,0.10), transparent 60%);
    clip-path: polygon(48% 0, 52% 0, 80% 100%, 20% 100%);
    transform: rotate(18deg);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
  }
  .doc-card > * { position: relative; z-index: 1; }
  .doc-card h2 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--text);
    margin-bottom: 0.7rem;
    scroll-margin-top: 1.5rem;
  }
  .doc-card h2 .glow, .doc-card h2 em { color: var(--tiffany); font-style: normal; }
  .doc h3 {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1rem;
    margin: 1.1rem 0 0.4rem;
  }
  .doc p, .doc-card p { color: var(--text); margin: 0 0 0.8rem; line-height: 1.65; }
  .doc p:last-child, .doc-card p:last-child { margin-bottom: 0; }
  .doc a, .doc-card a { color: var(--vista-blue); text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
  .doc a:hover, .doc-card a:hover { color: var(--tiffany); }
  .doc ul, .doc ol, .doc-card ul, .doc-card ol { margin: 0 0 0.8rem 1.2rem; color: var(--text); }
  .doc li, .doc-card li { margin-bottom: 0.4rem; line-height: 1.6; }
  .doc .small { font-size: 0.85rem; color: var(--text-dim); }
  .doc img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.1rem 0;
    border-radius: 10px;
    border: 1px solid rgba(159,159,225,0.16);
  }

  /* ====================================================================
     MULTI-SITE: landing hero, light themes, strobe, text wordmark
     ==================================================================== */

  /* text wordmark (sibling sites) — pulses at 120 BPM like the AI VJ logo */
  .wordmark .wordmark-text {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--tiffany) 0%, var(--vista-blue) 70%, var(--warm-spill) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform-origin: left center;
    will-change: transform, filter;
    animation: wordmark-beat 0.5s ease-out infinite;
  }
  .pill--cta { cursor: pointer; }

  /* landing hero reuses .hero; this only tunes spacing */
  .hero--landing { padding-block: clamp(2.4rem, 8vw, 6rem) clamp(3rem, 9vw, 7rem); }

  /* background video / logo behind the rig (vj-videos, intuition, dj-wy) */
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
  }
  video.hero-bg { object-fit: cover; }            /* full-bleed video */
  img.hero-bg { object-fit: contain; padding: clamp(1.5rem, 5vw, 4rem); }  /* whole logo, centered */

  /* intuition: taller hero with a larger, more prominent logo backdrop */
  .hero--intuition { padding-block: clamp(5rem, 15vw, 12rem); }
  .hero--intuition .hero-bg { opacity: 0.9; padding: clamp(0.5rem, 2vw, 1.5rem); }
  /* the "Intuition-Technology" hero title is solid Vista Blue (keeps the glow) */
  .hero--intuition h1 .glow {
    background: none;
    color: var(--vista-blue);
    -webkit-text-fill-color: var(--vista-blue);
  }

  /* full-sized body title (e.g. the intuition manifesto), centered on the page */
  .doc:has(.big-title) { max-width: none; }
  .doc .big-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    text-align: center;
    font-size: clamp(2.6rem, 9vw, 6rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    max-width: 20ch;
    margin: clamp(1.5rem, 5vw, 3rem) auto clamp(1rem, 3vw, 1.6rem);
  }

  /* white light show (vj-videos, intuition) */
  .lights-white .beam-1, .lights-white .beam-2, .lights-white .beam-3,
  .lights-white .beam-4, .lights-white .beam-5, .lights-white .beam-6 {
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.12) 55%, transparent 85%);
  }
  .lights-white .beam i { background: linear-gradient(to bottom, rgba(255,255,255,0.95), transparent 70%); }

  /* primary-colour light show (dj-wy) */
  .lights-primary .beam-1 { background: linear-gradient(to bottom, rgba(255,70,70,0.95),  rgba(255,70,70,0.12) 55%, transparent 85%); }
  .lights-primary .beam-2 { background: linear-gradient(to bottom, rgba(70,230,110,0.95), rgba(70,230,110,0.12) 55%, transparent 85%); }
  .lights-primary .beam-3 { background: linear-gradient(to bottom, rgba(80,130,255,0.95), rgba(80,130,255,0.12) 55%, transparent 85%); }
  .lights-primary .beam-4 { background: linear-gradient(to bottom, rgba(255,210,60,0.95), rgba(255,210,60,0.12) 55%, transparent 85%); }
  .lights-primary .beam-5 { background: linear-gradient(to bottom, rgba(225,80,210,0.95), rgba(225,80,210,0.12) 55%, transparent 85%); }
  .lights-primary .beam-6 { background: linear-gradient(to bottom, rgba(70,220,235,0.95), rgba(70,220,235,0.12) 55%, transparent 85%); }
  .lights-primary .beam i { background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent 70%); }

  /* dj-wy: 3 beams per side starting at the content edges (3% apart), aimed at the
     middle but sweeping fast and wild in varied/opposing directions */
  .hero--djwy {
    --cl: max(0px, calc(50% - var(--maxw) / 2));    /* left edge of the centered content */
    --cr: min(100%, calc(50% + var(--maxw) / 2));   /* right edge of the centered content */
  }
  .hero--djwy .beam-5 { left: calc(var(--cl) + 6%);  animation: djwy-sweep-5 1.7s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite; }
  .hero--djwy .beam-4 { left: calc(var(--cl) + 9%);  animation: djwy-sweep-4 2.3s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite; }
  .hero--djwy .beam-1 { left: calc(var(--cl) + 12%); animation: djwy-sweep-1 1.4s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite; }
  .hero--djwy .beam-6 { left: calc(var(--cr) - 6%);  animation: djwy-sweep-6 1.9s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite; }
  .hero--djwy .beam-3 { left: calc(var(--cr) - 9%);  animation: djwy-sweep-3 2.1s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite; }
  .hero--djwy .beam-2 { left: calc(var(--cr) - 12%); animation: djwy-sweep-2 1.5s ease-in-out infinite alternate, beam-beat 0.5s ease-out infinite; }
  @keyframes djwy-sweep-5 { 0% { transform: rotate(22deg); }  100% { transform: rotate(68deg); } }
  @keyframes djwy-sweep-4 { 0% { transform: rotate(50deg); }  100% { transform: rotate(4deg); } }
  @keyframes djwy-sweep-1 { 0% { transform: rotate(18deg); }  100% { transform: rotate(62deg); } }
  @keyframes djwy-sweep-6 { 0% { transform: rotate(-22deg); } 100% { transform: rotate(-68deg); } }
  @keyframes djwy-sweep-3 { 0% { transform: rotate(-50deg); } 100% { transform: rotate(-4deg); } }
  @keyframes djwy-sweep-2 { 0% { transform: rotate(-18deg); } 100% { transform: rotate(-62deg); } }

  /* strobe: white flash, 6 Hz in intermittent bursts (dj-wy, intuition) */
  .strobe {
    position: absolute;
    inset: 0;
    z-index: 3;            /* above beams + veil, below hero text (z5) */
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;            /* base hidden -> invisible when animation is off */
    animation: strobe-gate 3.4s linear infinite;
  }
  .strobe i {
    position: absolute;
    inset: 0;
    display: block;
    background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,0.9), rgba(255,255,255,0.3) 45%, transparent 75%);
    animation: strobe-6hz 0.1666s linear infinite;
  }
  @keyframes strobe-gate {           /* ~1s burst, then ~2.4s dark */
    0%, 29% { opacity: 1; }
    29.01%, 100% { opacity: 0; }
  }
  @keyframes strobe-6hz {            /* 6 hard flashes per second */
    0%, 48% { opacity: 1; }
    50%, 100% { opacity: 0; }
  }

  /* responsive embeds + photo grid for landing content */
  .doc iframe {
    display: block;
    max-width: 100%;
    margin: 1.1rem 0;
    border: 0;
    border-radius: 10px;
  }
  .doc .video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 1.1rem 0;
  }
  .doc .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
  .doc .media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin: 1.1rem 0;
  }
  .doc .media-grid img { margin: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
