/* Static atmosphere only. These abstract marks have no clue, unlock or reward role.
   No typography, layout, image scene, motion or control styles belong here. */
body[data-page]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--atmosphere-mark);
  background-repeat: no-repeat;
  background-size: clamp(290px, 46vw, 690px) auto;
  background-position: var(--atmosphere-position, right 3vw top 16vh);
  opacity: var(--atmosphere-opacity, .075);
}

/* Warm fracture, score marks disappearing into the right-hand shadow. */
body[data-page='home'] {
  --atmosphere-mark: url('assets/atmosphere/home.svg');
  --atmosphere-position: right -4vw top 18vh;
  background:
    linear-gradient(112deg, transparent 39%, #03030399 40%, transparent 73%),
    radial-gradient(ellipse at 91% 16%, #60020232, transparent 48%),
    repeating-linear-gradient(178deg, #c0b4a503 0 1px, transparent 1px 9px), #101010;
}
/* Pale pressed surface, incomplete frame under quiet vertical light. */
body[data-page='about'] {
  --atmosphere-mark: url('assets/atmosphere/about.svg');
  --atmosphere-position: right -2vw top 25vh;
  background:
    linear-gradient(100deg, #0c0d0e 20%, #24232094 20.2%, #111212 76%),
    repeating-linear-gradient(0deg, #a9a9a906 0 1px, transparent 1px 6px), #101010;
}
/* Backstage planes and separate diagonal brackets. */
body[data-page='artists'] {
  --atmosphere-mark: url('assets/atmosphere/artists.svg');
  --atmosphere-position: left -7vw top 21vh;
  background:
    radial-gradient(ellipse at 8% 36%, #4d01013d, transparent 57%),
    linear-gradient(143deg, transparent 47%, #2f2f2f66 47.2%, #0a0a0a 79%),
    repeating-linear-gradient(24deg, #c0c0c004 0 1px, transparent 1px 11px), #101011;
}
/* Brushed gunmetal with offset partial grooves; authentic emblem untouched. */
body[data-page='tone-montana'] {
  --atmosphere-mark: url('assets/atmosphere/tone-montana.svg');
  --atmosphere-position: right -7vw top 13vh;
  --atmosphere-opacity: .065;
  background:
    radial-gradient(ellipse at 100% 30%, #c288401b, transparent 52%),
    repeating-linear-gradient(3deg, #c0c0c005 0 1px, transparent 1px 5px),
    linear-gradient(127deg, #202122, #0b0c0d 64%);
}
/* Cool steel cut; uneven corner strokes distinct from the Tone profile. */
body[data-page='tdk'] {
  --atmosphere-mark: url('assets/atmosphere/tdk.svg');
  --atmosphere-position: right 0 top 23vh;
  background:
    linear-gradient(154deg, #82828214, transparent 37%),
    linear-gradient(31deg, transparent 47%, #272a2d8c 47.2%, transparent 75%),
    repeating-linear-gradient(90deg, #c0c0c003 0 1px, transparent 1px 13px), #0d0f11;
}
/* Grooves and indexing strokes live behind, never on the cover artwork. */
body[data-page='releases'] {
  --atmosphere-mark: url('assets/atmosphere/releases.svg');
  --atmosphere-position: right -8vw top 13vh;
  background:
    radial-gradient(ellipse at 77% 2%, #d4af3714, transparent 48%),
    repeating-linear-gradient(112deg, transparent 0 199px, #0303034d 200px 202px, transparent 203px 497px),
    linear-gradient(144deg, #25211d, #0b0b0b 52%);
}
/* Editorial charcoal and fine, oversized registration corners. */
body[data-page='press'] {
  --atmosphere-mark: url('assets/atmosphere/press.svg');
  --atmosphere-position: right -3vw top 18vh;
  --atmosphere-opacity: .06;
  background:
    radial-gradient(ellipse at 86% 4%, #c0c0c018, transparent 45%),
    linear-gradient(90deg, #121212 0 66%, #1a1a1a 66.2%, #101010 92%),
    repeating-linear-gradient(0deg, #82828205 0 1px, transparent 1px 7px);
}
/* Aged print edge and interrupted archival border. */
body[data-page='archive'] {
  --atmosphere-mark: url('assets/atmosphere/archive.svg');
  --atmosphere-position: left -9vw top 23vh;
  background:
    linear-gradient(103deg, #c2884012, transparent 39%),
    repeating-linear-gradient(172deg, #a9977e07 0 1px, transparent 1px 8px),
    linear-gradient(137deg, #24211e, #0c0b0a 68%);
}
/* Acoustic cross-grain, burgundy edge light, irregular unlabelled score lines. */
body[data-page='urban-pulse'] {
  --atmosphere-mark: url('assets/atmosphere/urban-pulse.svg');
  --atmosphere-position: right -5vw top 26vh;
  background:
    radial-gradient(ellipse at 97% 55%, #60020224, transparent 53%),
    repeating-linear-gradient(42deg, #c0c0c005 0 1px, transparent 1px 14px),
    repeating-linear-gradient(132deg, #c0c0c003 0 1px, transparent 1px 19px), #101011;
}
/* Open junction geometry, with a worn gold line across the charcoal. */
body[data-page='affiliates'] {
  --atmosphere-mark: url('assets/atmosphere/affiliates.svg');
  --atmosphere-position: right 1vw top 20vh;
  background:
    linear-gradient(168deg, transparent 36%, #c2884013 36.2%, transparent 64%),
    radial-gradient(ellipse at 12% 2%, #82828217, transparent 49%),
    repeating-linear-gradient(0deg, #b3a48b04 0 1px, transparent 1px 10px), #111110;
}
/* Recessed wall and paired offset angles; no message or form icon. */
body[data-page='contact'] {
  --atmosphere-mark: url('assets/atmosphere/contact.svg');
  --atmosphere-position: right -3vw top 26vh;
  background:
    linear-gradient(116deg, #1a1c1e 0 35%, #0a0c0e 35.3% 63%, #151618 93%),
    radial-gradient(ellipse at 90% 22%, #c0c0c016, transparent 50%);
}
/* Decoration is outside the opaque approved doorway scene. */
body[data-page='community'] {
  --atmosphere-mark: url('assets/atmosphere/community.svg');
  --atmosphere-position: left -10vw top 30vh;
  --atmosphere-opacity: .055;
  background:
    radial-gradient(ellipse at 98% 24%, #24412c20, transparent 48%),
    linear-gradient(72deg, #090b0a, #151715 56%, #080a09),
    repeating-linear-gradient(110deg, #82828204 0 1px, transparent 1px 12px);
}
/* Quiet elevation strokes in the margins, never additional map signals. */
body[data-page='network'] {
  --atmosphere-mark: url('assets/atmosphere/network.svg');
  --atmosphere-position: left -13vw top 10vh;
  --atmosphere-opacity: .045;
  background:
    linear-gradient(150deg, #11151424, transparent 43%),
    repeating-linear-gradient(118deg, #a9a9a902 0 1px, transparent 1px 15px), #070909;
}
/* Worn room margins; the approved existing room image stays intact. */
body[data-page='community-preview'] {
  --atmosphere-mark: url('assets/atmosphere/community-preview.svg');
  --atmosphere-position: right -9vw top 20vh;
  --atmosphere-opacity: .055;
  background:
    radial-gradient(ellipse at 4% 34%, #c2884014, transparent 50%),
    linear-gradient(119deg, #10100e, #1a1916 42%, #0a0b0a 76%),
    repeating-linear-gradient(2deg, #c0c0c004 0 1px, transparent 1px 6px);
}
/* A different approach shadow around the same approved door composition. */
body[data-page='doorway-preview'] {
  --atmosphere-mark: url('assets/atmosphere/doorway-preview.svg');
  --atmosphere-position: right -10vw top 18vh;
  --atmosphere-opacity: .05;
  background:
    radial-gradient(ellipse at 14% 15%, #c2884010, transparent 43%),
    linear-gradient(143deg, #060907 24%, #171d193d 24.2%, #0a0c0a 70%);
}
/* Disconnected passage angles on a dry, deep-red charcoal edge. */
body[data-page='404'] {
  --atmosphere-mark: url('assets/atmosphere/404.svg');
  --atmosphere-position: right -2vw top 15vh;
  background:
    radial-gradient(ellipse at 93% 86%, #8a03031a, transparent 52%),
    linear-gradient(127deg, #151515 0 28%, #080808 28.2% 66%, #171515 94%);
}

/* The gate owns its body pseudo-elements. Add only a static entry background;
   retain its original radial light, grid and every foreground signal animation. */
body:not([data-page]) .signal-entry {
  background-image:
    linear-gradient(144deg, transparent 45%, #00000030 45.2%, transparent 72%),
    url('assets/atmosphere/index.svg'),
    radial-gradient(circle at center, rgba(21, 78, 39, .34), transparent 42%),
    linear-gradient(rgba(124, 255, 178, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 255, 178, .035) 1px, transparent 1px);
  background-color: #020604;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: auto, min(600px, 75vw) auto, auto, 120px 120px, 120px 120px;
  background-position: center, right -8vw top 10vh, center, 0 0, 0 0;
}
@media (max-width: 700px) {
  body[data-page]::after {
    background-size: 350px auto;
    background-position: right -110px top 20vh;
    opacity: .05;
  }
}
@media (forced-colors: active) {
  body[data-page]::after { display: none; }
  body:not([data-page]) .signal-entry { background-image: none; }
}
