    /* =====================================================================
       COLOR + FONT TOKENS
       ===================================================================== */
    :root {
      --bg:           #0E0F1C;
      --candleflame:  #CDD4DF;
      --ghost-light:  #8FBBCF;
      --dried-blood:  #3A3652;
      --smoke-grey:   #5A6474;
      --error:        #B5484A;
      --magenta:      #D24F97;
      --gamefound-green: #17C07F;

      --font-body:    'IM Fell English', Georgia, serif;
      --font-heading: 'Anton SC', sans-serif;
      --font-mono:    chandler42, 'Courier New', Courier, monospace;

      /* Cover art native aspect ratio 3508 : 2480 */
      --cover-ratio: calc(3508 / 2480);
    }

    /* =====================================================================
       RESET & BASE
       ===================================================================== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    /* Present for screen readers and search/AI crawlers; the visible title
       treatment lives in the hero artwork. */
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
      border: 0;
    }

    body {
      background-color: var(--bg);
      color: var(--candleflame);
      font-family: var(--font-body);
      overflow-x: hidden;
    }

    /* =====================================================================
       GRAIN / NOISE TEXTURE OVERLAY
       Fixed, non-interactive, sits above everything via z-index 999.
       Uses an inline SVG feTurbulence filter tiled as a background-image.
       ===================================================================== */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 999;
      opacity: 0.045;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 200px 200px;
    }

    /* =====================================================================
       NAVIGATION - fixed, top-right, fades left to transparent
       ===================================================================== */
    nav {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      padding: 1.5rem 2.25rem;
      /* gradient bleeds rightward from transparent to background */
      background: linear-gradient(to left, var(--bg) 55%, transparent 100%);
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 2.5rem;
    }

    nav a {
      font-family: var(--font-body);
      color: var(--smoke-grey);
      text-decoration: none;
      font-size: 0.875rem;
      letter-spacing: 0.08em;
      transition: color 0.25s ease;
    }

    nav a:hover {
      color: var(--ghost-light);
    }

    /* =====================================================================
       TOP SIGN-UP BANNER - same signup form, second placement
       ===================================================================== */
    .signup-banner {
      position: relative;
      z-index: 50;
      width: 100%;
      background: #16182B;
      border-top: 2px solid var(--magenta);
      border-bottom: 1px solid rgba(58, 54, 82, 0.55);
    }

    .signup-banner-inner {
      max-width: 1160px;
      margin: 0 auto;
      padding: 1.2rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;
      flex-wrap: wrap;
    }

    .signup-banner-label {
      font-family: var(--font-mono);
      color: var(--ghost-light);
      font-size: clamp(0.98rem, 1.7vw, 1.18rem);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      opacity: 1;
      margin: 0;
      white-space: nowrap;
    }

    .signup-banner .cta-form {
      width: 340px;
      max-width: 100%;
    }

    .signup-banner .cta-form input[type="email"] {
      font-size: 1.05rem;
    }

    .signup-banner .cta-form button {
      font-size: 1rem;
      padding: 0.8rem 1.4rem;
    }

    .signup-banner .cta-confirm,
    .signup-banner .cta-confirm-follow {
      text-align: center;
      margin: 0;
    }

    .signup-banner .signup-consent {
      width: 100%;
      text-align: center;
      font-size: 0.68rem;
      margin-top: 0.3rem;
    }

    /* Mobile: keep the banner prominent but clear it from the fixed nav */
    @media (max-width: 768px) {
      nav { display: none; }
      .signup-banner-inner {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.1rem 1.25rem;
        text-align: center;
      }
      .signup-banner .cta-form {
        width: 100%;
      }
    }

    /* =====================================================================
       HERO - full-bleed cover art (title is baked into the image)
       ===================================================================== */
    #hero {
      position: relative;
      height: 100vh;
      width: 100%;
      background: var(--bg);
      overflow: hidden;
    }

    .hero-cover {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    /* Soft blend from the art into the page background at the bottom edge */
    #hero::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(to bottom, transparent 72%, var(--bg) 100%);
    }

    /* Scroll cue */
    .hero-scroll {
      position: absolute;
      left: 50%;
      bottom: 1.6rem;
      transform: translateX(-50%);
      z-index: 2;
      color: var(--ghost-light);
      opacity: 0.55;
      font-size: 1.4rem;
      pointer-events: none;
    }

    /* Mobile: show the full cover art so the HAUNTED wordmark and the whole
       composition land in the first screen, instead of a forced 100vh crop
       that pushes the title below the fold. */
    @media (max-width: 768px) {
      #hero { height: auto; }
      .hero-cover { height: auto; }
      /* The bottom fade assumes a full-bleed hero; on the full-art mobile
         view it would wash out the wordmark, so drop it here. */
      #hero::after { display: none; }
    }

    /* About section lead - relocated hero tagline */
    .about-lead {
      font-family: var(--font-body);
      font-style: italic;
      color: var(--ghost-light);
      font-size: clamp(1.2rem, 2vw, 1.5rem);
      line-height: 1.7;
      opacity: 0.92;
      text-align: center;
      margin-bottom: 1.5rem;
    }

    /* =====================================================================
       SHARED SECTION CHROME
       ===================================================================== */
    .section-rule {
      display: block;
      border: none;
      border-top: 1px solid var(--dried-blood);
      opacity: 0.45;
      max-width: 660px;
      margin: 0 auto;
    }

    .section-inner {
      max-width: 660px;
      margin: 0 auto;
      padding: 6rem 1.5rem;
    }

    /* =====================================================================
       TYPOGRAPHY - headings & body
       ===================================================================== */
    h2 {
      font-family: var(--font-heading);
      color: var(--magenta);
      font-size: clamp(1.54rem, 2.86vw, 2.2rem);
      letter-spacing: 0.06em;
      text-align: center;
      margin-bottom: 2rem;
    }

    p {
      font-family: var(--font-body);
      color: var(--candleflame);
      font-size: 1.155rem;
      line-height: 1.85;
      margin-bottom: 1.5rem;
    }

    p:last-child {
      margin-bottom: 0;
    }

    /* =====================================================================
       THE FEEL - case-file artifact section
       ===================================================================== */
    #feel .section-inner {
      text-align: center;
    }

    /* "In the register of" - monospaced label, spaced caps */
    .feel-label {
      font-family: var(--font-mono);
      color: var(--smoke-grey);
      font-size: 0.68rem;
      letter-spacing: 0.38em;
      text-transform: uppercase;
      opacity: 0.8;
      margin-bottom: 0.4rem;
    }

    /* Touchstones list - ghost light, Chandler42, dried-blood separators */
    .touchstones {
      font-family: var(--font-mono);
      color: var(--ghost-light);
      opacity: 0.85;
      font-size: clamp(0.8rem, 1.15vw, 0.95rem);
      letter-spacing: 0.07em;
      line-height: 2.3;
      margin-bottom: 2.5rem;
    }

    .touchstones .sep {
      color: var(--dried-blood);
      margin: 0 0.55em;
      opacity: 1;
    }

    /* "You know the feeling." - coming-soon style, spaced mono caps */
    .feel-closer {
      font-family: var(--font-mono);
      color: var(--smoke-grey);
      font-size: 0.78rem;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      opacity: 0.72;
      margin-bottom: 0;
    }

    /* =====================================================================
       MAILING LIST CTA
       Distinct section: warmer background panel, headline-scale copy,
       soft box around the form area.
       ===================================================================== */

    /* Subtle background shift - slightly warmer and lighter than --bg */
    #mailing-list {
      background-color: #16182B;
      border-top: 1px solid rgba(58, 54, 82, 0.55);
      border-bottom: 1px solid rgba(58, 54, 82, 0.55);
    }

    #mailing-list .section-inner {
      text-align: center;
    }

    /* "BackerKit launching November 2026." - headline scale */
    .cta-launch {
      font-family: var(--font-heading);
      color: var(--magenta);
      font-size: clamp(1.6rem, 3.2vw, 2.6rem);
      letter-spacing: 0.06em;
      margin-bottom: 0.75rem;
    }

    /* "The case is still open." - IM Fell italic, larger than before */
    .cta-open {
      font-family: var(--font-body);
      font-style: italic;
      color: var(--candleflame);
      opacity: 0.82;
      font-size: clamp(1.05rem, 1.6vw, 1.3rem);
      margin-bottom: 3rem;
    }

    /* Soft box wrapping the form - low-contrast border, gentle inset feel */
    .cta-box {
      display: inline-block;
      border: 1px solid rgba(210, 79, 151, 0.28);
      background: rgba(14, 15, 28, 0.55);
      padding: 2.3rem 2.9rem 2.6rem;
      max-width: 552px;
      width: 100%;
    }

    /* Label inside the box */
    .cta-box-label {
      font-family: var(--font-mono);
      color: var(--ghost-light);
      font-size: 0.9rem;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      opacity: 0.75;
      margin-bottom: 1.25rem;
    }

    /* Form - borderless-feeling, single bottom border as the visual container */
    .cta-form {
      display: flex;
      align-items: stretch;
      border-bottom: 1px solid var(--magenta);
    }

    .cta-form input[type="email"] {
      flex: 1;
      min-width: 0;
      background: transparent;
      border: none;
      outline: none;
      color: var(--candleflame);
      font-family: var(--font-body);
      font-size: 1rem;
      padding: 0.7rem 0.75rem 0.7rem 0;
      border-radius: 0;
    }

    .cta-form input[type="email"]::placeholder {
      color: var(--smoke-grey);
      opacity: 0.6;
    }

    /* Inline consent notice - required disclosure that submitting the form subscribes you */
    .signup-consent {
      font-family: var(--font-mono);
      color: var(--smoke-grey);
      font-size: 0.72rem;
      letter-spacing: 0.03em;
      line-height: 1.5;
      margin-top: 0.9rem;
      margin-bottom: 0;
    }

    .signup-consent a {
      color: var(--ghost-light);
    }

    .cta-form button {
      flex-shrink: 0;
      background: var(--magenta);
      color: var(--bg);
      border: none;
      font-family: var(--font-body);
      font-size: 0.9rem;
      padding: 0.7rem 1.3rem;
      cursor: pointer;
      border-radius: 2px;
      letter-spacing: 0.04em;
      white-space: nowrap;
      transition: background-color 0.22s ease, color 0.22s ease;
    }

    .cta-form button:hover {
      background: var(--ghost-light);
      color: var(--bg);
    }

    /* Secondary CTA - follow on Gamefound */
    .gf-follow {
      display: inline-block;
      margin-top: 1.7rem;
      font-family: var(--font-body);
      font-size: 0.98rem;
      letter-spacing: 0.03em;
      font-weight: 600;
      background: var(--gamefound-green);
      color: var(--bg);
      text-decoration: none;
      border: 1px solid var(--gamefound-green);
      border-radius: 2px;
      padding: 0.65rem 1.4rem;
      transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    .gf-follow:hover {
      background: #13A86E;
      border-color: #13A86E;
      color: var(--bg);
    }

    /* Post-signup follow nudge */
    .cta-confirm-follow {
      margin-top: 1rem;
      margin-bottom: 0;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      letter-spacing: 0.06em;
    }
    .cta-confirm-follow a {
      color: var(--ghost-light);
      text-decoration: none;
      border-bottom: 1px solid rgba(143, 187, 207, 0.45);
    }

    /* =====================================================================
       FOOTER
       ===================================================================== */
    footer {
      padding: 3rem 1.5rem 4rem;
      text-align: center;
      border-top: 1px solid rgba(58, 54, 82, 0.4);
    }

    .footer-social {
      font-family: var(--font-mono);
      color: var(--ghost-light);
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      opacity: 0.68;
      margin-bottom: 1rem;
    }

    .footer-social a {
      color: inherit;
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

    .footer-social a:hover {
      opacity: 1;
    }

    .footer-copyright {
      font-family: var(--font-mono);
      color: var(--smoke-grey);
      font-size: 0.7rem;
      letter-spacing: 0.13em;
      opacity: 0.65;
      margin-bottom: 0;
    }

    /* =====================================================================
       FORM FEEDBACK STATES
       ===================================================================== */

    /* Success - replaces the form inside .cta-box */
    .cta-confirm {
      font-family: var(--font-body);
      font-style: italic;
      color: var(--candleflame);
      font-size: clamp(1.05rem, 1.6vw, 1.3rem);
      margin-bottom: 0;
    }

    /* Error - appears below the form */
    .cta-error {
      font-family: var(--font-mono);
      color: var(--error);
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      margin-top: 0.75rem;
      margin-bottom: 0;
      opacity: 0.9;
    }

    /* =====================================================================
       FADE-UP ON SCROLL
       .fade-up starts hidden; JS adds .visible via IntersectionObserver
       ===================================================================== */
    /* Content is visible by default. The hidden starting state applies ONLY
       when JS is running (html.js), so a slow or failed script can never leave
       the page blank for a real visitor. */
    .js .fade-up {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Respect reduced-motion: show everything, skip the animation entirely. */
    @media (prefers-reduced-motion: reduce) {
      .js .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }

    /* =====================================================================
       COOKIE CONSENT BANNER (gates the Meta pixel until the visitor accepts)
       ===================================================================== */
    .cookie-banner {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 200;
      background: #16182B;
      border-top: 1px solid var(--magenta);
      padding: 1rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;
      flex-wrap: wrap;
    }

    .cookie-banner[hidden] { display: none; }

    .cookie-text {
      font-family: var(--font-body);
      color: var(--candleflame);
      font-size: 0.92rem;
      line-height: 1.6;
      margin: 0;
      max-width: 620px;
    }

    .cookie-text a { color: var(--ghost-light); }

    .cookie-actions {
      display: flex;
      gap: 0.75rem;
      flex-shrink: 0;
    }

    .cookie-btn {
      font-family: var(--font-body);
      font-size: 0.9rem;
      padding: 0.55rem 1.35rem;
      border-radius: 2px;
      cursor: pointer;
      transition: opacity 0.2s ease;
    }

    .cookie-btn:hover { opacity: 0.85; }

    .cookie-accept {
      background: var(--magenta);
      color: var(--bg);
      border: none;
    }

    .cookie-decline {
      background: transparent;
      color: var(--ghost-light);
      border: 1px solid rgba(143, 187, 207, 0.5);
    }

    .footer-legal {
      font-family: var(--font-mono);
      color: var(--smoke-grey);
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      opacity: 0.7;
      margin-top: 0.5rem;
      margin-bottom: 0;
    }

    .footer-legal a { color: var(--ghost-light); text-decoration: none; }
    .footer-legal a:hover { text-decoration: underline; }

    /* =====================================================================
       THE BASICS - spec strip (case-file register)
       ===================================================================== */
    #basics .section-inner { text-align: center; }

    .spec-list {
      max-width: 520px;
      margin: 0 auto;
      font-family: var(--font-mono);
      text-align: left;
    }

    .spec-list > div {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 1.5rem;
      padding: 0.7rem 0;
      border-bottom: 1px solid var(--dried-blood);
    }

    .spec-list > div:last-child { border-bottom: none; }

    .spec-list dt {
      color: var(--smoke-grey);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.72rem;
      white-space: nowrap;
    }

    .spec-list dd {
      color: var(--ghost-light);
      font-size: 0.92rem;
      letter-spacing: 0.03em;
      text-align: right;
    }

    /* =====================================================================
       WHO'S MAKING THIS
       ===================================================================== */
    .makers-ai {
      font-style: italic;
      color: var(--ghost-light);
      border-left: 2px solid var(--magenta);
      padding-left: 1.1rem;
      margin-top: 1.75rem;
    }

  


    /* =====================================================================
       ACCESSIBILITY - visible keyboard focus
       ===================================================================== */
    a:focus-visible, button:focus-visible, input:focus-visible, iframe:focus-visible {
      outline: 2px solid var(--ghost-light);
      outline-offset: 2px;
    }

    /* =====================================================================
       ENTRY CHOICE - two ways in
       ===================================================================== */
    #choose { background-color: #121427; }
    #choose .section-inner { max-width: 880px; }
    .choose-intro {
      font-family: var(--font-mono); color: var(--smoke-grey);
      text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.72rem;
      text-align: center; opacity: 0.85; margin-bottom: 2.25rem;
    }
    .choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .choose-card {
      border: 1px solid rgba(210, 79, 151, 0.28);
      background: rgba(14, 15, 28, 0.55);
      padding: 2rem 1.75rem 2.1rem;
      display: flex; flex-direction: column;
    }
    .choose-card.secondary { border-color: rgba(143, 187, 207, 0.3); }
    .choose-card h3 {
      font-family: var(--font-heading); color: var(--magenta);
      font-size: 1.3rem; letter-spacing: 0.05em; margin: 0 0 0.6rem; text-align: left;
    }
    .choose-card.secondary h3 { color: var(--ghost-light); }
    .choose-card p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.3rem; }
    .choose-card .cta-form { margin-top: auto; }
    .choose-card .signup-consent { text-align: left; }
    .choose-card .gf-follow { margin-top: auto; align-self: flex-start; }
    @media (max-width: 768px) { .choose-grid { grid-template-columns: 1fr; } }

    /* Post-signup action buttons (Quickstart download + Gamefound) */
    .cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1.2rem 0 0; }
    .qs-download, .gf-go {
      display: inline-block; font-family: var(--font-body); font-size: 0.95rem;
      letter-spacing: 0.03em; text-decoration: none; padding: 0.65rem 1.4rem;
      border-radius: 2px; transition: background-color 0.2s ease, color 0.2s ease;
    }
    .qs-download { background: var(--magenta); color: var(--bg); border: 1px solid var(--magenta); }
    .qs-download:hover { background: var(--ghost-light); border-color: var(--ghost-light); }
    .gf-go { background: var(--gamefound-green); color: var(--bg); border: 1px solid var(--gamefound-green); font-weight: 600; }
    .gf-go:hover { background: #13A86E; border-color: #13A86E; color: var(--bg); }

    /* =====================================================================
       WELCOME VIDEO - vertical short in a portrait frame
       ===================================================================== */
    #watch .section-inner { text-align: center; }
    .video-frame {
      position: relative; width: 100%; max-width: 340px; margin: 0 auto;
      aspect-ratio: 9 / 16; border: 1px solid rgba(210, 79, 151, 0.28); background: #000;
    }
    .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
    .video-caption {
      font-family: var(--font-mono); color: var(--smoke-grey); font-size: 0.75rem;
      letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1rem;
    }


    /* =====================================================================
       GAMEFOUND CTA in the top banner (co-equal, oversized on Jeremy's orders)
       ===================================================================== */
    .banner-gf {
      display: inline-block; background: var(--gamefound-green); color: var(--bg);
      font-family: var(--font-body); font-size: 1.12rem; letter-spacing: 0.03em; font-weight: 700;
      padding: 0.95rem 2rem; border: 1px solid var(--gamefound-green); border-radius: 2px;
      text-decoration: none; white-space: nowrap;
      transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    .banner-gf:hover { background: #13A86E; border-color: #13A86E; }
    @media (max-width: 768px) {
      .banner-gf { width: 100%; text-align: center; padding: 1rem 1.4rem; }
    }


    /* =====================================================================
       WELCOME VIDEO - poster link (interim, until an embeddable cut exists)
       ===================================================================== */
    .video-poster {
      position: relative; display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 1rem;
      width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 9 / 16;
      border: 1px solid rgba(210, 79, 151, 0.28);
      background: radial-gradient(circle at 50% 42%, #1B1E33 0%, #0E0F1C 78%);
      text-decoration: none; color: var(--ghost-light);
      transition: border-color 0.2s ease;
    }
    .video-poster:hover, .video-poster:focus-visible { border-color: var(--magenta); }
    .video-play {
      display: flex; align-items: center; justify-content: center;
      width: 64px; height: 64px; border-radius: 50%;
      background: var(--magenta); color: var(--bg);
      font-size: 1.5rem; padding-left: 4px;
      transition: transform 0.2s ease, background-color 0.2s ease;
    }
    .video-poster:hover .video-play { transform: scale(1.08); }
    .video-poster-label {
      font-family: var(--font-mono); text-transform: uppercase;
      letter-spacing: 0.14em; font-size: 0.72rem; color: var(--ghost-light);
    }
