:root {
  --ink: #171319;
  --paper: #fffdf2;
  --cream: #fff6c8;
  --red: #ff3b30;
  --pink: #ff4fa3;
  --blue: #1f7aff;
  --cyan: #19d9ff;
  --yellow: #ffe43b;
  --green: #50e36f;
  --purple: #9b5cff;
  --orange: #ff8a2a;
  --white: #ffffff;
  --muted: #4d4450;
  --panel: #ffffff;
  --panel-alt: #fff6c8;
  --line: 3px solid var(--ink);
  --hard-shadow: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #000;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: black;
  background-image:
    radial-gradient(circle, rgba(23, 19, 25, .22) 1.4px, transparent 1.7px),
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.38) 49% 51%, transparent 52% 100%);
  background-size: 12px 12px, 54px 54px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background: transparent;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .04;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #000 3px 4px);
}

a { color: var(--blue); font-weight: 800; }
a:hover, a:focus-visible { color: var(--red); }
button, a { -webkit-tap-highlight-color: transparent; }
button, a { transition: transform .12s ease, background-color .12s ease, color .12s ease; }

.sky-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 12%, var(--yellow) 0 28px, transparent 29px),
    radial-gradient(circle at 87% 18%, var(--pink) 0 44px, transparent 45px),
    radial-gradient(circle at 77% 79%, var(--green) 0 35px, transparent 36px),
    radial-gradient(circle at 22% 84%, var(--purple) 0 52px, transparent 53px);
  opacity: .82;
}

@keyframes blink { 50% { opacity: .42; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse-width { 0%, 100% { width: 12%; } 50% { width: 82%; } }
@keyframes comic-pop { 0%,100% { transform: rotate(7deg) scale(1); } 50% { transform: rotate(4deg) scale(1.06); } }

.page-wrap {
  width: min(1180px, calc(100% - 24px));
  margin: 24px auto 70px;
  position: relative;
}

.panel-cutout { clip-path: none; }

.site-header {
  min-height: 220px;
  position: relative;
  overflow: visible;
  border: 5px solid var(--ink);
  background-color: var(--yellow);
  background-image:
    radial-gradient(circle, rgba(23,19,25,.34) 1.7px, transparent 2px),
    linear-gradient(115deg, transparent 0 52%, var(--pink) 52% 68%, var(--blue) 68% 100%);
  background-size: 11px 11px, 100% 100%;
  box-shadow: 9px 9px 0 var(--ink);
}

.site-header::before {
  content: "WOW!";
  position: absolute;
  top: 12px;
  right: 245px;
  z-index: 5;
  padding: 5px 12px;
  color: var(--white);
  background: var(--red);
  border: 4px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 25px;
  letter-spacing: 2px;
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.site-header::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -1px;
  height: 44px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 8px, var(--white) 8px 16px);
  border-top: 4px solid var(--ink);
}

.header-grid {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.17), transparent 55%);
}

.header-copy {
  position: relative;
  z-index: 3;
  width: 74%;
  padding: 24px 0 63px 34px;
  text-shadow: none;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 7px;
  padding: 3px 9px;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--ink);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 5px;
  transform: rotate(-2deg);
}

.site-header h1 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(52px, 8vw, 92px);
  line-height: .82;
  letter-spacing: -2px;
  color: var(--white);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  transform: skew(-7deg) rotate(-1deg);
  filter: drop-shadow(7px 7px 0 var(--red));
}

.site-header h1 span {
  display: block;
  color: var(--cyan);
  -webkit-text-stroke: 4px var(--ink);
  filter: drop-shadow(7px 7px 0 var(--purple));
}

.splash {
  display: inline-block;
  margin: 13px 0 0 12px;
  padding: 7px 12px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  transform: rotate(1.5deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.header-image {
  position: absolute;
  right: var(--header-image-right, 95px);
  top: var(--header-image-top, 15px);
  width: var(--header-image-width, 275px);
  height: var(--header-image-height, auto);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  z-index: 12;
  pointer-events: none;
  transform: rotate(var(--header-image-rotation, 3deg));
  transform-origin: center;
}

.header-tags {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 52px;
  transform: translateX(-50%);
  z-index: 6;

  display: flex;
  justify-content: center;
  gap: 6px;
}

.header-tags span {
  padding: 4px 7px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-size: 9px;
  box-shadow: 3px 3px 0 var(--ink);
}

.header-tags span:nth-child(2) { background: var(--green); }
.header-tags span:nth-child(3) { background: var(--yellow); }

.top-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 15px;
  border: 4px solid var(--ink);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.top-nav a {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--ink);
  text-decoration: none;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 17px;
  letter-spacing: 1px;
  background: var(--white);
  border-right: 3px solid var(--ink);
}

.top-nav a:nth-child(2n) { background: var(--yellow); }
.top-nav a:nth-child(3n) { background: var(--pink); }
.top-nav a:last-child { border-right: 0; }
.top-nav a:hover, .top-nav a:focus-visible, .top-nav a.active {
  color: var(--white);
  background: var(--red);
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: inset 0 -7px 0 rgba(23,19,25,.2);
}

.marquee-bar {
  margin: 12px 0 15px;
  overflow: hidden;
  border: 4px solid var(--ink);
  background: var(--purple);
  white-space: nowrap;
  box-shadow: 5px 5px 0 var(--ink);
}

.marquee-track {
  width: max-content;
  padding: 7px 0;
  color: var(--white);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  -webkit-text-stroke: .5px var(--ink);
  animation: ticker 20s linear infinite;
}

.layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 225px;
  gap: 13px;
  align-items: start;
}

.left-column, .right-column, .center-column { min-width: 0; }
.left-column, .right-column, .center-column { display: grid; gap: 13px; }

.widget, .content-window, .hero-window {
  border: 4px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--hard-shadow);
}

.widget:nth-child(3n + 1) { transform: rotate(-.4deg); }
.widget:nth-child(3n + 2) { transform: rotate(.35deg); }

.widget > h2,
.window-title {
  margin: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 9px;
  color: var(--ink);
  background: var(--yellow);
  border-bottom: 4px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 17px;
  letter-spacing: 1px;
  text-shadow: none;
}

.widget:nth-child(2n) > h2 { background: var(--pink); }
.right-column .widget:nth-child(3n) > h2 { background: var(--cyan); }
.widget > h2::before { content: "★"; color: var(--red); margin-right: 6px; }
.widget-body { padding: 10px; }

.pixel-list h3 {
  margin: 10px -4px 6px;
  padding: 4px 6px;
  color: var(--white);
  background: var(--blue);
  border: 3px solid var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  transform: rotate(-1deg);
}

.pixel-list h3:first-child { margin-top: 0; }
.pixel-list a {
  display: block;
  padding: 4px 3px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
}
.pixel-list a:hover { color: var(--red); transform: translateX(5px); }

.status-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 9px;
  align-items: center;
  background-image: radial-gradient(circle, rgba(23,19,25,.14) 1px, transparent 1.4px);
  background-size: 8px 8px;
}

.status-face {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  border: 4px solid var(--ink);
  border-radius: 50%;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-6deg);
}
.status-body p { margin: 2px 0; font-size: 11px; }
.status-body strong { color: var(--blue); font-family: "Arial Black", Arial, sans-serif; }
.online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  animation: blink 1s steps(2) infinite;
}

.small-copy { font-size: 10px; color: var(--muted); }
.small-copy p { margin: 0; }
.small-copy b { color: var(--red); font-family: "Arial Black", Arial, sans-serif; }
.small-copy hr { border: 0; border-top: 2px dashed var(--ink); }

.tiny-button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tiny-button-grid span {
  display: grid;
  place-items: center;
  height: 34px;
  color: var(--ink);
  background: var(--cyan);
  border: 3px solid var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}
.tiny-button-grid span:nth-child(2) { background: var(--pink); }
.tiny-button-grid span:nth-child(3) { background: var(--yellow); }
.tiny-button-grid span:nth-child(4) { background: var(--green); }

.hero-window { overflow: visible; position: relative; }
.hero-window::after {
  content: "ZAP!";
  position: absolute;
  right: -18px;
  top: 72px;
  z-index: 6;
  padding: 8px 12px;
  color: var(--yellow);
  background: var(--red);
  border: 4px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  transform: rotate(10deg);
  box-shadow: 5px 5px 0 var(--ink);
}
.window-controls { color: var(--red); font-family: "Arial Black", Arial, sans-serif; }

.hero-inner {
  min-height: 315px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(circle, rgba(23,19,25,.22) 1.3px, transparent 1.7px);
  background-size: 10px 10px;
}

.hero-inner::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -130px;
  top: -180px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid var(--ink);
}

.hero-text { position: relative; z-index: 2; }
.big-hello {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 6px 10px;
  color: var(--white);
  background: var(--red);
  border: 4px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(30px, 5vw, 50px);
  line-height: .9;
  letter-spacing: 0;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-2deg);
}
.hero-text p:not(.big-hello) { max-width: 520px; color: var(--ink); font-weight: 700; }
.hero-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero-links a {
  padding: 8px 10px;
  color: var(--ink);
  background: var(--cyan);
  border: 3px solid var(--ink);
  text-decoration: none;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-links a:nth-child(2) { background: var(--pink); }
.hero-links a:hover { background: var(--yellow); color: var(--ink); transform: translate(-2px, -2px); }

.image-card {
  align-self: center;
  position: relative;
  z-index: 2;
  padding: 8px 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 5px solid var(--ink);
  transform: rotate(3deg);
  box-shadow: 8px 8px 0 var(--purple);
  text-align: center;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}
.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 220 / 250;
  object-fit: contain;
  object-position: center;
}

.content-window { position: relative; padding: 48px 14px 14px; overflow: visible; }
.content-window:nth-of-type(2) { background: var(--white); }
.content-window:nth-of-type(3) { background: var(--cream); }

.section-ribbon {
  position: absolute;
  top: 9px;
  left: -10px;
  padding: 6px 15px 6px 20px;
  color: var(--white);
  background: var(--blue);
  border: 4px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1deg);
}
.section-ribbon.pink { background: var(--pink); color: var(--ink); }

.news-item {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 13px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 3px dashed var(--ink);
}
.news-item:last-child { border-bottom: 0; }
.news-date {
  padding: 6px;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  text-align: center;
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}
.news-date span { display: block; font-size: 29px; line-height: 1; }
.news-item:nth-child(3) .news-date { background: var(--green); transform: rotate(3deg); }
.news-item h2 { margin: 0 0 4px; color: var(--red); font-family: Impact, "Arial Black", sans-serif; font-size: 22px; letter-spacing: .5px; }
.news-item p { margin: 0 0 5px; color: var(--ink); font-weight: 700; }
.news-item a { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; }

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-card {
  min-height: 125px;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
}
.gallery-card::before,
.gallery-card::after { content: ""; position: absolute; inset: 0; }
.gallery-card::after {
  background-image: radial-gradient(circle, rgba(23,19,25,.28) 1.4px, transparent 1.8px);
  background-size: 9px 9px;
}
.gallery-card span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  padding: 4px 8px;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 17px;
  box-shadow: 3px 3px 0 var(--ink);
}
.g1 { background: linear-gradient(135deg, var(--pink) 0 36%, var(--purple) 36% 65%, var(--cyan) 65%); }
.g2 { background: linear-gradient(45deg, var(--yellow) 25%, transparent 25%) 0 0 / 30px 30px, linear-gradient(45deg, transparent 75%, var(--yellow) 75%) 0 0 / 30px 30px, var(--cyan); }
.g3 { background: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--white) 14px 28px, var(--blue) 28px 42px); }
.g4 { background: radial-gradient(circle, var(--ink) 0 4px, transparent 5px) 0 0 / 25px 25px, var(--green); }
.gallery-card:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }

.street-note {
  margin-top: 14px;
  padding: 12px;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(.4deg);
}
.street-note strong { color: var(--red); font-family: Impact, "Arial Black", sans-serif; font-size: 17px; }
.street-note p { margin: 3px 0 0; font-weight: 700; }

.split-window { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; }
.mini-panel { padding: 12px; background: var(--white); border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.mini-panel:nth-child(2) { background: var(--pink); transform: rotate(.7deg); }
.mini-panel h2 { margin: 0 0 10px; color: var(--blue); font-family: Impact, "Arial Black", sans-serif; font-size: 20px; }
.mini-panel:nth-child(2) h2 { color: var(--ink); }
.mini-panel p { margin: 8px 0 0; color: var(--ink); font-weight: 700; }
.project-screen {
  min-height: 96px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  background-color: var(--purple);
  background-image: radial-gradient(circle, rgba(255,255,255,.32) 1px, transparent 1.5px);
  background-size: 8px 8px;
  border: 4px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 29px;
  font-weight: 900;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.character-row { min-height: 96px; display: flex; align-items: center; justify-content: space-around; background: var(--cyan); border: 4px solid var(--ink); }
.orb { width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.o1 { background: var(--red); }
.o2 { background: var(--yellow); }
.o3 { background: var(--green); }

.album-art {
  height: 120px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, var(--ink) 0 13%, transparent 14%),
    radial-gradient(circle at 50% 50%, transparent 0 36%, var(--white) 37% 41%, transparent 42%),
    repeating-conic-gradient(from 0deg, var(--pink) 0 15deg, var(--cyan) 15deg 30deg, var(--yellow) 30deg 45deg);
  border: 4px solid var(--ink);
}
.album-art span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  border: 4px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 20px;
}
.track-info { display: grid; margin: 8px 0; }
.track-info b { color: var(--red); font-family: "Arial Black", Arial, sans-serif; font-size: 11px; }
.track-info span { color: var(--muted); font-size: 9px; font-weight: 700; }
.player-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.player-controls button,
.option-buttons button {
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.player-controls button { height: 31px; }
.player-controls button:nth-child(2) { background: var(--green); }
.player-controls button:hover,
.option-buttons button:hover { color: var(--white); background: var(--red); transform: translate(-2px,-2px); }
.progress { height: 11px; margin-top: 9px; background: var(--white); border: 3px solid var(--ink); }
.progress span { display: block; height: 100%; width: 12%; background: var(--blue); }
.player-widget.playing .progress span { animation: pulse-width 7s linear infinite; }

.currently-list p { margin: 0; padding: 7px 0; border-bottom: 2px dotted var(--ink); font-size: 10px; font-weight: 700; }
.currently-list p:last-child { border-bottom: 0; }
.currently-list span { display: block; color: var(--red); font-family: "Arial Black", Arial, sans-serif; font-weight: 900; }

.stats-body { text-align: center; font-family: "Arial Black", Arial, sans-serif; }
.stats-body p { margin: 5px 0; font-size: 9px; color: var(--muted); }
.counter {
  padding: 7px 4px;
  color: var(--yellow);
  background: var(--ink);
  border: 4px solid var(--ink);
  font-size: 22px;
  letter-spacing: 4px;
  -webkit-text-stroke: 1px var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
}

.social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.social-buttons a {
  display: grid;
  place-items: center;
  min-height: 38px;
  color: var(--ink);
  background: var(--cyan);
  border: 3px solid var(--ink);
  text-decoration: none;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}
.social-buttons a:nth-child(2) { background: var(--pink); }
.social-buttons a:nth-child(3) { background: var(--green); }
.social-buttons a:nth-child(4) { background: var(--yellow); }
.social-buttons a:hover { background: var(--red); color: var(--white); transform: translate(-2px,-2px); }

.option-buttons { display: grid; gap: 7px; }
.option-buttons button { min-height: 35px; font-size: 10px; }
.option-buttons button:nth-child(2) { background: var(--pink); }
.guestbook-widget .widget-body { text-align: center; background-image: radial-gradient(circle, rgba(23,19,25,.15) 1px, transparent 1.5px); background-size: 8px 8px; }
.guestbook-widget p { margin-top: 0; color: var(--red); font-family: Impact, "Arial Black", sans-serif; font-size: 16px; font-weight: 900; }
.guestbook-button {
  display: block;
  padding: 9px;
  color: var(--ink);
  background: var(--green);
  border: 4px solid var(--ink);
  text-decoration: none;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 20px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
}
.guestbook-button:hover { background: var(--yellow); transform: rotate(2deg) translate(-2px,-2px); }

.stamp-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 17px 0 12px;
  padding: 12px;
  border: 4px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.stamp-strip span {
  width: 118px;
  height: 45px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}
.stamp-strip span:nth-child(2) { background: var(--pink); }
.stamp-strip span:nth-child(3) { background: var(--cyan); }
.stamp-strip span:nth-child(4) { background: var(--green); }
.stamp-strip span:nth-child(5) { background: var(--orange); }
.stamp-strip span:nth-child(6) { background: var(--purple); color: var(--white); }

.site-footer {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px 17px;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 10px;
}
.site-footer b { color: var(--red); }
.footer-links a { color: var(--blue); }
.footer-badge {
  padding: 6px 9px;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  text-align: center;
  line-height: 1.1;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(2deg);
}
.footer-badge b { color: var(--white); }

.floating-sticker {
  position: fixed;
  right: 22px;
  bottom: 20px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 7px 7px 0 var(--red);
  transform: rotate(7deg);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 29px;
  line-height: .7;
  text-align: center;
  z-index: 20;
  animation: comic-pop 1.6s steps(2) infinite;
}
.floating-sticker small { font-size: 13px; }

body.calm *, body.calm *::before, body.calm *::after { animation-play-state: paused !important; scroll-behavior: auto !important; }
body.high-contrast {
  --ink: #000;
  --paper: #fff;
  --cream: #fff;
  --red: #ff0000;
  --pink: #ff00a8;
  --blue: #0000ff;
  --cyan: #00ffff;
  --yellow: #ffff00;
  --green: #00ff00;
  --purple: #7b00ff;
  --orange: #ff7900;
  --white: #fff;
  --muted: #000;
  --panel: #fff;
}

@media (max-width: 980px) {
  .page-wrap { width: min(760px, calc(100% - 18px)); }
  .layout { grid-template-columns: 170px minmax(0, 1fr); }
  .right-column { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .header-image { opacity: .55; }
  .header-copy { width: 88%; }
  .site-header::before { right: 205px; }
  .right-column .widget { min-height: 100%; }
}

@media (max-width: 680px) {
  body { font-size: 12px; background-size: 10px 10px, 42px 42px; }
  .page-wrap { width: calc(100% - 12px); margin-top: 8px; }
  .site-header { min-height: 195px; box-shadow: 5px 5px 0 var(--ink); }
  .header-copy { width: calc(100% - 22px); padding: 20px 0 59px 16px; }
  .site-header h1 { font-size: clamp(44px, 15vw, 66px); -webkit-text-stroke-width: 3px; }
  .eyebrow { letter-spacing: 4px; }
  .splash { margin-left: 4px; font-size: 10px; }
  .header-image { right: -78px; top: 8px; opacity: .3; }
  .site-header::before { display: none; }
  .header-tags { display: none; }
  .top-nav { grid-template-columns: repeat(3, 1fr); box-shadow: 4px 4px 0 var(--ink); }
  .top-nav a { font-size: 15px; border-bottom: 3px solid var(--ink); }
  .top-nav a:nth-child(3n) { border-right: 0; }
  .layout { grid-template-columns: 1fr; }
  .left-column { grid-template-columns: 1fr 1fr; }
  .nav-widget { grid-row: span 2; }
  .tiny-button-grid { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 16px; }
  .hero-window::after { right: -5px; top: 75px; font-size: 19px; padding: 5px 8px; }
  .image-card { width: min(250px, 80%); justify-self: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .split-window { grid-template-columns: 1fr; }
  .right-column { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-badge { justify-self: center; }
  .floating-sticker { width: 62px; height: 62px; right: 8px; bottom: 8px; font-size: 21px; }
}

@media (max-width: 430px) {
  .site-header h1 { font-size: 46px; }
  .left-column, .right-column { grid-template-columns: 1fr; }
  .nav-widget { grid-row: auto; }
  .tiny-button-grid { grid-column: auto; }
  .hero-links { display: grid; }
  .news-item { grid-template-columns: 54px 1fr; }
  .hero-window::after { display: none; }
  .widget:nth-child(n) { transform: none; }
}


:root {
  --ink: #050505;
  --paper: #0b0b0b;
  --cream: #11100f;
  --red: #d31313;
  --pink: #7b0000;
  --blue: #8b0000;
  --cyan: #b31010;
  --yellow: #d8d0c4;
  --green: #6d1111;
  --purple: #390000;
  --orange: #a11717;
  --white: #e7dfd4;
  --muted: #9a8f86;
  --panel: #0c0b0b;
  --panel-alt: #151111;
  --line: 3px solid #1d0505;
  --hard-shadow: 7px 7px 0 #250000;
}

html {
  scrollbar-color: #7b0000 #050505;
}

body {
  color: var(--white);
  background-color: #020202;
  background-image:
    radial-gradient(circle at 12% 14%, rgba(139, 0, 0, .18) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(211, 19, 19, .08) 0 1px, transparent 2px),
    repeating-linear-gradient(115deg, #020202 0 18px, #070404 18px 19px, #020202 19px 38px);
  background-size: 17px 17px, 23px 23px, auto;
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  z-index: 40;
  background:
    radial-gradient(ellipse at center, transparent 0 45%, rgba(0,0,0,.62) 100%),
    linear-gradient(90deg, rgba(80,0,0,.07), transparent 20% 80%, rgba(80,0,0,.07));
}

body::after {
  z-index: 50;
  opacity: .12;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(120,0,0,.4) 3px, transparent 4px),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.015) 8px);
  mix-blend-mode: screen;
}

::selection {
  color: #fff;
  background: #8b0000;
}

a { color: #cf2020; }
a:hover, a:focus-visible { color: #fff; text-shadow: 0 0 7px #d31313; }

.sky-noise {
  opacity: .75;
  background:
    radial-gradient(ellipse at 7% 18%, rgba(153,0,0,.23) 0 18px, transparent 19px),
    radial-gradient(ellipse at 91% 23%, rgba(90,0,0,.2) 0 34px, transparent 36px),
    radial-gradient(ellipse at 74% 77%, rgba(125,0,0,.16) 0 26px, transparent 29px),
    radial-gradient(ellipse at 18% 86%, rgba(70,0,0,.2) 0 45px, transparent 48px),
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.025) 0 1px, transparent 2px 5px);
  filter: blur(.2px);
}

@keyframes horror-flicker {
  0%, 16%, 18%, 53%, 55%, 100% { opacity: 1; }
  17%, 54% { opacity: .38; }
}

@keyframes drip-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.page-wrap { margin-top: 19px; }

.site-header {
  border-color: #1f0000;
  background-color: #080808;
  background-image:
    linear-gradient(110deg, rgba(255,255,255,.025), transparent 35%),
    radial-gradient(circle at 62% 20%, rgba(190,0,0,.17), transparent 28%),
    repeating-linear-gradient(135deg, transparent 0 17px, rgba(160,0,0,.1) 18px, transparent 20px 34px),
    linear-gradient(115deg, #050505 0 53%, #260000 53% 68%, #080808 68% 100%);
  box-shadow: 9px 9px 0 #270000;
}

.site-header::before {
  content: "I see you..";
  color: #e7dfd4;
  background: #8b0000;
  border-color: #160000;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(5deg);
  animation: horror-flicker 7s steps(1) infinite;
}

.site-header::after {
  left: -1%;
  right: -1%;
  bottom: -1px;
  height: 48px;
  border-top: 4px solid #230000;
  background: #790000;
  clip-path: polygon(0 0, 100% 0, 100% 29%, 97% 29%, 96% 74%, 94% 74%, 93% 32%, 89% 32%, 88% 60%, 86% 60%, 84% 28%, 79% 28%, 77% 89%, 75% 89%, 74% 33%, 69% 33%, 68% 63%, 66% 63%, 65% 29%, 59% 29%, 58% 77%, 56% 77%, 54% 29%, 48% 29%, 47% 95%, 45% 95%, 44% 32%, 39% 32%, 38% 62%, 36% 62%, 34% 29%, 28% 29%, 27% 82%, 25% 82%, 24% 31%, 18% 31%, 17% 67%, 15% 67%, 13% 29%, 8% 29%, 7% 73%, 5% 73%, 4% 29%, 0 29%);
  animation: drip-pulse 5s ease-in-out infinite;
}

.header-grid {
  opacity: .55;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035), transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(120,0,0,.08) 15px);
}

.eyebrow {
  color: #d8d0c4;
  background: #050505;
  border-color: #4b0000;
  letter-spacing: 4px;
}

.site-header h1 {
  color: #ded6cb;
  -webkit-text-stroke-color: #080000;
  filter: drop-shadow(8px 8px 0 #5c0000);
  letter-spacing: -3px;
}

.site-header h1 span {
  color: #ba1010;
  -webkit-text-stroke-color: #080000;
  filter: drop-shadow(7px 7px 0 #250000);
  animation: horror-flicker 9s steps(1) infinite;
}

.splash {
  color: #e7dfd4;
  background: #0a0a0a;
  border-color: #5c0000;
  box-shadow: 4px 4px 0 #2b0000;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  letter-spacing: .4px;
}

.header-image {
  filter: grayscale(.35) contrast(1.35) drop-shadow(8px 8px 0 #180000);
}

.header-tags span {
  color: #d8d0c4;
  background: #0b0b0b;
  border-color: #4b0000;
  box-shadow: 3px 3px 0 #180000;
}
.header-tags span:nth-child(2) { background: #310000; }
.header-tags span:nth-child(3) { background: #6f0000; color: #fff; }

.top-nav {
  border-color: #270000;
  background: #020202;
  box-shadow: 6px 6px 0 #250000;
}

.top-nav a,
.top-nav a:nth-child(2n),
.top-nav a:nth-child(3n) {
  color: #bfb5aa;
  background: #090909;
  border-color: #330000;
  font-family: "Arial Black", Impact, sans-serif;
}

.top-nav a:nth-child(2n) { background: #130909; }
.top-nav a:nth-child(3n) { background: #210808; }
.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.active {
  color: #fff;
  background: #8b0000;
  box-shadow: inset 0 -7px 0 rgba(0,0,0,.4);
  text-shadow: 0 0 6px #ff2c2c;
}

.marquee-bar {
  border-color: #340000;
  background: #050505;
  box-shadow: 5px 5px 0 #250000;
}

.marquee-track {
  color: #d8d0c4;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 7px #8b0000;
}

.widget,
.content-window,
.hero-window {
  color: #d4cbc1;
  border-color: #300000;
  background: #0b0b0b;
  box-shadow: 6px 6px 0 #200000;
}

.widget:nth-child(3n + 1),
.widget:nth-child(3n + 2) { transform: none; }

.widget > h2,
.window-title {
  color: #dfd6cc;
  background: #560000;
  border-color: #160000;
  font-family: "Arial Black", Impact, sans-serif;
  text-shadow: 2px 2px 0 #000;
}

.widget:nth-child(2n) > h2 { background: #1a0a0a; }
.right-column .widget:nth-child(3n) > h2 { background: #6e0000; }
.widget > h2::before { content: "✚"; color: #e7dfd4; }

.widget-body { background-color: #0b0b0b; }

.pixel-list h3 {
  color: #e7dfd4;
  background: #5b0000;
  border-color: #1d0000;
  font-family: "Arial Black", Impact, sans-serif;
}

.pixel-list a { color: #bfb5aa; }
.pixel-list a:hover { color: #ff2a2a; text-shadow: 0 0 6px #8b0000; }

.status-body {
  background-color: #080808;
  background-image: radial-gradient(circle, rgba(150,0,0,.23) 1px, transparent 1.5px);
}

.status-face {
  color: #e7dfd4;
  background: #570000;
  border-color: #190000;
  box-shadow: 4px 4px 0 #000;
  border-radius: 8px;
  font-size: 18px;
}

.status-body strong { color: #d31313; }
.online-dot { background: #d31313; border-color: #2b0000; box-shadow: 0 0 7px #d31313; }
.small-copy { color: #8f847a; }
.small-copy b { color: #d31313; }
.small-copy hr { border-top-color: #4b0000; }

.tiny-button-grid span,
.tiny-button-grid span:nth-child(2),
.tiny-button-grid span:nth-child(3),
.tiny-button-grid span:nth-child(4) {
  color: #d8d0c4;
  background: #100909;
  border-color: #400000;
  box-shadow: 3px 3px 0 #190000;
}
.tiny-button-grid span:nth-child(2) { background: #3b0000; }
.tiny-button-grid span:nth-child(3) { background: #090909; }
.tiny-button-grid span:nth-child(4) { background: #650000; }

.hero-window::after {
  content: "KEEP OUT";
  color: #e7dfd4;
  background: #8b0000;
  border-color: #1b0000;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(6deg);
}

.hero-inner {
  background-color: #090909;
  background-image:
    linear-gradient(90deg, transparent 0 49%, rgba(130,0,0,.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 0 49%, rgba(130,0,0,.08) 50%, transparent 51%);
  background-size: 22px 22px;
}

.hero-inner::before {
  opacity: .22;
  background: radial-gradient(ellipse at 40% 20%, #7c0000, transparent 45%);
}

.big-hello {
  color: #d31313 !important;
  text-shadow: 3px 3px 0 #000, 0 0 12px rgba(211,19,19,.35);
}

.hero-text p:not(.big-hello),
.news-item p,
.street-note p,
.mini-panel p { color: #c9bfb5; }

.hero-links a,
.hero-links a:nth-child(2) {
  color: #e7dfd4;
  background: #5d0000;
  border-color: #1c0000;
  box-shadow: 4px 4px 0 #000;
}
.hero-links a:nth-child(2) { background: #111; }
.hero-links a:hover { color: #fff; background: #a40000; }

.image-card {
  color: #c9bfb5;
  background: #0c0b0b;
  border-color: #450000;
  box-shadow: 5px 5px 0 #190000;
  filter: saturate(.75) contrast(1.2);
}

.content-window,
.content-window:nth-of-type(2),
.content-window:nth-of-type(3) { background: #0b0b0b; }

.section-ribbon,
.section-ribbon.pink {
  color: #e7dfd4;
  background: #790000;
  border-color: #190000;
  box-shadow: 4px 4px 0 #000;
}

.news-item { border-bottom-color: #3d0000; }
.news-date,
.news-item:nth-child(3) .news-date {
  color: #e7dfd4;
  background: #500000;
  border-color: #190000;
  box-shadow: 4px 4px 0 #000;
}
.news-item h2 { color: #d31313; text-shadow: 2px 2px 0 #000; }

.gallery-card {
  border-color: #340000;
  box-shadow: 4px 4px 0 #190000;
}
.gallery-card::after { background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.86)); }
.gallery-card span {
  color: #e7dfd4;
  background: #650000;
  border-color: #170000;
  box-shadow: 3px 3px 0 #000;
}
.g1 {
  background:
    radial-gradient(circle at 65% 30%, #8f0000 0 12%, transparent 13%),
    repeating-linear-gradient(135deg, #070707 0 13px, #1b0505 14px 16px);
}
.g2 {
  background:
    linear-gradient(35deg, transparent 42%, #810000 43% 48%, transparent 49%),
    repeating-radial-gradient(circle at 40% 60%, #080808 0 8px, #210000 9px 12px);
}
.g3 {
  background:
    radial-gradient(ellipse at center, transparent 0 23%, #780000 24% 28%, transparent 29%),
    repeating-linear-gradient(90deg, #090909 0 10px, #240000 11px 12px);
}
.g4 {
  background:
    linear-gradient(115deg, #070707 0 38%, #760000 39% 47%, #070707 48% 100%);
}
.gallery-card:hover { box-shadow: 8px 8px 0 #260000; }

.street-note {
  color: #c9bfb5;
  background: #100b0b;
  border-color: #3f0000;
}
.street-note strong { color: #d31313; }

.mini-panel,
.mini-panel:nth-child(2) {
  color: #d8d0c4;
  background: #0d0b0b;
  border-color: #390000;
  box-shadow: 4px 4px 0 #190000;
}
.mini-panel:nth-child(2) { background: #180909; transform: none; }
.mini-panel h2,
.mini-panel:nth-child(2) h2 { color: #d31313; }

.project-screen {
  color: #e7dfd4;
  background-color: #050505;
  background-image:
    linear-gradient(rgba(130,0,0,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,0,0,.15) 1px, transparent 1px);
  background-size: 12px 12px;
  border-color: #4b0000;
  -webkit-text-stroke-color: #170000;
  text-shadow: 0 0 10px #8b0000;
}

.character-row {
  background: #070707;
  border-color: #4b0000;
}
.orb { border-color: #190000; box-shadow: 4px 4px 0 #000; }
.o1 { background: #b20f0f; }
.o2 { background: #6f0000; }
.o3 { background: #250000; }

.album-art {
  background:
    radial-gradient(circle at 50% 50%, #050505 0 13%, transparent 14%),
    radial-gradient(circle at 50% 50%, transparent 0 35%, #7b0000 36% 40%, transparent 41%),
    repeating-conic-gradient(from 0deg, #050505 0 15deg, #700000 15deg 30deg, #160000 30deg 45deg);
  border-color: #400000;
}
.album-art span {
  color: #e7dfd4;
  background: #090909;
  border-color: #6c0000;
}
.track-info b { color: #d31313; }
.track-info span { color: #8e837a; }

.player-controls button,
.option-buttons button,
.player-controls button:nth-child(2),
.option-buttons button:nth-child(2) {
  color: #d8d0c4;
  background: #120b0b;
  border-color: #430000;
  box-shadow: 3px 3px 0 #000;
}
.player-controls button:nth-child(2) { background: #5c0000; }
.player-controls button:hover,
.option-buttons button:hover { color: #fff; background: #a40000; }
.progress { background: #050505; border-color: #3d0000; }
.progress span { background: #b20f0f; box-shadow: 0 0 7px #b20f0f; }

.currently-list p { border-bottom-color: #3d0000; }
.currently-list span { color: #d31313; }
.stats-body p { color: #8e837a; }
.counter {
  color: #e7dfd4;
  background: #050505;
  border-color: #3e0000;
  box-shadow: 4px 4px 0 #5b0000;
  text-shadow: 0 0 7px #d31313;
}

.social-buttons a,
.social-buttons a:nth-child(2),
.social-buttons a:nth-child(3),
.social-buttons a:nth-child(4) {
  color: #d8d0c4;
  background: #0f0b0b;
  border-color: #3f0000;
  box-shadow: 3px 3px 0 #000;
}
.social-buttons a:nth-child(2) { background: #2b0808; }
.social-buttons a:nth-child(3) { background: #470000; }
.social-buttons a:nth-child(4) { background: #090909; }
.social-buttons a:hover { color: #fff; background: #a40000; }

.guestbook-widget .widget-body {
  background-color: #090909;
  background-image: radial-gradient(circle, rgba(150,0,0,.22) 1px, transparent 1.5px);
}
.guestbook-widget p { color: #d31313; }
.guestbook-button {
  color: #e7dfd4;
  background: #620000;
  border-color: #1e0000;
  box-shadow: 4px 4px 0 #000;
}
.guestbook-button:hover { color: #fff; background: #a40000; }

.stamp-strip {
  border-color: #340000;
  background: #080808;
  box-shadow: 6px 6px 0 #210000;
}
.stamp-strip span,
.stamp-strip span:nth-child(2),
.stamp-strip span:nth-child(3),
.stamp-strip span:nth-child(4),
.stamp-strip span:nth-child(5),
.stamp-strip span:nth-child(6) {
  color: #d8d0c4;
  background: #100a0a;
  border-color: #3e0000;
  box-shadow: 3px 3px 0 #000;
}
.stamp-strip span:nth-child(2) { background: #350000; }
.stamp-strip span:nth-child(3) { background: #070707; }
.stamp-strip span:nth-child(4) { background: #5b0000; }
.stamp-strip span:nth-child(5) { background: #1c0909; }
.stamp-strip span:nth-child(6) { background: #780000; }

.site-footer {
  color: #bfb5aa;
  background: #090909;
  border-color: #390000;
  box-shadow: 7px 7px 0 #210000;
}
.site-footer b { color: #d31313; }
.footer-links a { color: #b20f0f; }
.footer-badge {
  color: #e7dfd4;
  background: #5e0000;
  border-color: #1b0000;
  box-shadow: 3px 3px 0 #000;
}

.floating-sticker {
  color: #e7dfd4;
  background: #760000;
  border-color: #190000;
  box-shadow: 7px 7px 0 #000;
  animation: comic-pop 1.9s steps(2) infinite, horror-flicker 8s steps(1) infinite;
}

body.high-contrast {
  --ink: #000;
  --paper: #000;
  --cream: #050505;
  --red: #ff0000;
  --pink: #8b0000;
  --blue: #b00000;
  --cyan: #d00000;
  --yellow: #fff;
  --green: #800000;
  --purple: #300000;
  --orange: #c00000;
  --white: #fff;
  --muted: #c9c9c9;
  --panel: #000;
}

@media (max-width: 680px) {
  .site-header { box-shadow: 5px 5px 0 #250000; }
  .top-nav { box-shadow: 4px 4px 0 #250000; }
  .hero-window::after { font-size: 17px; }
}


html,
body {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body::before,
body::after,
.sky-noise {
  display: none !important;
  content: none !important;
  background: none !important;
}


body {
  position: relative;
  min-height: 100vh;
}

/* The complete site layout always stays above the rain. */
.page-wrap {
  position: relative;
  z-index: 20;
  isolation: isolate;
}

/* The floating sticker is outside .page-wrap, so keep it above too. */
.floating-sticker {
  z-index: 30 !important;
}

/*Blood Rain canvas/container selectors. */
#bloodrain,
#blood-rain,
#bloodRain,
#bloodrain-background,
.bloodrain,
.blood-rain,
.bloodrain-background,
canvas.bloodrain,
canvas#bloodrain,
body > canvas {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.header-image {
  animation: header-image-float 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes header-image-float {
  0%, 100% {
    transform: translate3d(0, 0, 0)
      rotate(var(--header-image-rotation, 3deg));
  }

  25% {
    transform: translate3d(2px, -5px, 0)
      rotate(calc(var(--header-image-rotation, 3deg) + 0.35deg));
  }

  50% {
    transform: translate3d(-1px, -8px, 0)
      rotate(calc(var(--header-image-rotation, 3deg) - 0.2deg));
  }

  75% {
    transform: translate3d(-3px, -3px, 0)
      rotate(calc(var(--header-image-rotation, 3deg) + 0.15deg));
  }
}

/* =========================================================
   HEADER GRID — PURE BLACK + RED NIGHT CITY
   Pure HTML + CSS. No city image asset is used.
   ========================================================= */

.header-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 72% 76%, rgba(255, 0, 0, .34) 0 8%, transparent 38%),
    radial-gradient(ellipse at 27% 88%, rgba(145, 0, 0, .34) 0 8%, transparent 34%),
    linear-gradient(170deg, transparent 0 31%, rgba(110, 0, 0, .16) 32% 36%, transparent 37% 100%),
    radial-gradient(circle, rgba(170, 0, 0, .18) 0 1px, transparent 1.45px) 0 0 / 8px 8px,
    linear-gradient(180deg, #000 0%, #030000 30%, #0b0000 62%, #260000 100%);
}

/* Red glow rising behind the skyline. */
.header-grid::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 25px;
  height: 58%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 0, 0, .32), transparent 58%),
    linear-gradient(180deg, transparent, rgba(90, 0, 0, .2) 46%, rgba(180, 0, 0, .25));
  filter: blur(7px);
  transform: translateY(10px);
}

/* Black ink texture and red print grain over the city. */
.header-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: .52;
  background:
    repeating-linear-gradient(166deg, transparent 0 17px, rgba(120, 0, 0, .08) 18px, transparent 19px 36px),
    radial-gradient(circle, rgba(0, 0, 0, .62) 0 1px, transparent 1.5px) 0 0 / 6px 6px,
    linear-gradient(90deg, rgba(0, 0, 0, .52), transparent 20% 76%, rgba(0, 0, 0, .46));
  mix-blend-mode: multiply;
}

.city-building {
  position: absolute;
  bottom: 34px;
  z-index: 2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(120, 0, 0, .08), transparent 25% 74%, rgba(120, 0, 0, .17)),
    linear-gradient(180deg, #070000 0%, #030000 58%, #000 100%);
  border-top: 2px solid #4a0000;
  box-shadow:
    inset 1px 0 0 rgba(170, 0, 0, .24),
    inset -1px 0 0 #000,
    0 -5px 18px rgba(120, 0, 0, .16);
  transform-origin: bottom;
}

/* Red windows only. No orange or white lights. */
.city-building::after {
  content: "";
  position: absolute;
  inset: 10px 6px 5px;
  opacity: .58;
  background:
    radial-gradient(ellipse 2px 3px at center, #d00000 0 55%, transparent 65%) 0 0 / 15px 19px,
    radial-gradient(ellipse 1.5px 2px at center, #700000 0 52%, transparent 64%) 7px 9px / 21px 27px;
  filter: drop-shadow(0 0 2px rgba(255, 0, 0, .48));
  animation: city-window-flicker 8s steps(1, end) infinite;
}

/* Black rooftop silhouettes and antennas with red rim lines. */
.city-building::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: 22px;
  background: #000;
  box-shadow: 0 0 0 1px #3b0000;
}

.city-building-1 { left: -2%; width: 14%; height: 43%; opacity: .82; }
.city-building-2 { left: 9%; width: 11%; height: 61%; opacity: .92; }
.city-building-3 { left: 18%; width: 13%; height: 48%; opacity: .86; }
.city-building-4 { left: 29%; width: 12%; height: 72%; opacity: .98; }
.city-building-5 { left: 40%; width: 15%; height: 55%; opacity: .9; }
.city-building-6 { left: 53%; width: 11%; height: 79%; opacity: 1; }
.city-building-7 { left: 62%; width: 15%; height: 59%; opacity: .94; }
.city-building-8 { left: 75%; width: 11%; height: 68%; opacity: .98; }
.city-building-9 { left: 84%; width: 19%; height: 49%; opacity: .88; }

.city-building-1::before { left: 30%; height: 13px; }
.city-building-2::before { left: 68%; height: 34px; box-shadow: 14px 12px 0 -0.5px #000; }
.city-building-3::before { left: 24%; height: 16px; }
.city-building-4::before { left: 52%; height: 52px; }
.city-building-5::before { left: 74%; height: 21px; }
.city-building-6::before { left: 50%; height: 66px; box-shadow: 10px 22px 0 -0.5px #000; }
.city-building-7::before { left: 18%; height: 27px; }
.city-building-8::before { left: 72%; height: 42px; }
.city-building-9::before { left: 34%; height: 18px; }

.city-building-2 { clip-path: polygon(0 8%, 26% 8%, 26% 0, 72% 0, 72% 8%, 100% 8%, 100% 100%, 0 100%); }
.city-building-4 { clip-path: polygon(0 9%, 34% 9%, 34% 0, 65% 0, 65% 9%, 100% 9%, 100% 100%, 0 100%); }
.city-building-6 { clip-path: polygon(0 14%, 21% 14%, 21% 7%, 42% 7%, 42% 0, 61% 0, 61% 7%, 78% 7%, 78% 14%, 100% 14%, 100% 100%, 0 100%); }
.city-building-8 { clip-path: polygon(0 10%, 30% 10%, 30% 0, 70% 0, 70% 10%, 100% 10%, 100% 100%, 0 100%); }

/* Black rooftop water tanks with red outlines. */
.city-water-tank {
  position: absolute;
  z-index: 7;
  width: 48px;
  height: 27px;
  border: 2px solid #590000;
  border-radius: 48% 48% 14% 14% / 35% 35% 12% 12%;
  background:
    linear-gradient(90deg, rgba(170, 0, 0, .16), transparent 32% 68%, #000),
    #020000;
  box-shadow: 0 -2px 0 #000, 0 7px 12px #000;
}

.city-water-tank::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: -9px;
  height: 11px;
  background: #000;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border-bottom: 1px solid #4b0000;
}

.city-water-tank::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 100%;
  height: 26px;
  background:
    linear-gradient(76deg, transparent 0 17%, #000 18% 22%, transparent 23% 77%, #000 78% 82%, transparent 83%),
    linear-gradient(104deg, transparent 0 17%, #000 18% 22%, transparent 23% 77%, #000 78% 82%, transparent 83%);
}

.city-water-tank-1 { left: 22%; bottom: 52%; transform: scale(.86); opacity: .9; }
.city-water-tank-2 { right: 13%; bottom: 47%; transform: scale(1.08); }

/* Pure black foreground rooftop with red brick/rim details. */
.city-roofline {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  z-index: 9;
  height: 40px;
  border-top: 3px solid #7a0000;
  background:
    linear-gradient(180deg, rgba(190, 0, 0, .2), transparent 7px),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(100, 0, 0, .28) 11px 12px),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(90, 0, 0, .22) 27px 28px),
    #000;
  box-shadow: 0 -7px 22px rgba(180, 0, 0, .24);
}

.city-roofline::before {
  content: "";
  position: absolute;
  left: 8%;
  bottom: 100%;
  width: 28%;
  height: 16px;
  background: #000;
  border-top: 2px solid #5b0000;
  clip-path: polygon(0 42%, 66% 42%, 70% 0, 100% 0, 100% 100%, 0 100%);
}

.city-roofline::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 100%;
  width: 21%;
  height: 24px;
  background: #000;
  border-top: 2px solid #5b0000;
  clip-path: polygon(0 62%, 30% 62%, 34% 0, 80% 0, 84% 62%, 100% 62%, 100% 100%, 0 100%);
}

@keyframes city-window-flicker {
  0%, 17%, 21%, 48%, 52%, 76%, 100% { opacity: .58; }
  18%, 20%, 49%, 51% { opacity: .22; }
  77%, 80% { opacity: .78; }
}

.city-building-2::after,
.city-building-5::after,
.city-building-8::after { animation-delay: -2.7s; }

.city-building-3::after,
.city-building-6::after,
.city-building-9::after { animation-delay: -5.1s; }

.header-copy { z-index: 4; }
.header-tags { z-index: 10; }
.header-image { z-index: 20; }

@media (max-width: 680px) {
  .city-building { bottom: 30px; }
  .city-building-1 { width: 19%; }
  .city-building-2 { left: 12%; width: 16%; }
  .city-building-3 { left: 24%; width: 17%; }
  .city-building-4 { left: 38%; width: 16%; }
  .city-building-5 { left: 51%; width: 18%; }
  .city-building-6 { left: 65%; width: 16%; }
  .city-building-7 { left: 77%; width: 18%; }
  .city-building-8 { display: none; }
  .city-building-9 { left: 89%; width: 20%; }
  .city-water-tank-1 { left: 17%; bottom: 46%; transform: scale(.72); }
  .city-water-tank-2 { right: 7%; bottom: 43%; transform: scale(.82); }
  .city-roofline { height: 34px; }
}

html,
body {
  background: #000 !important;
  background-color: #000 !important;
  background-image: none !important;
}

