:root {
  --ink: #090b12;
  --ink-soft: #121827;
  --panel: #171d2b;
  --line: rgba(218, 224, 238, 0.13);
  --muted: #9aa2b5;
  --paper: #f3f1eb;
  --acid: #d8ff55;
  --lilac: #b9a7ff;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 18%, rgba(185, 167, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 10% 80%, rgba(216, 255, 85, 0.06), transparent 22rem),
    var(--ink);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.particle,
.rise-line {
  position: absolute;
  display: block;
  bottom: -5rem;
  opacity: 0;
  animation: rise 13s linear infinite;
}

.particle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(216, 255, 85, 0.55);
}

.particle-one { left: 8%; animation-delay: -2s; }
.particle-two { left: 28%; width: 3px; height: 3px; animation-delay: -8s; background: var(--lilac); }
.particle-three { left: 58%; animation-delay: -5s; }
.particle-four { left: 81%; width: 4px; height: 4px; animation-delay: -11s; background: var(--lilac); }
.particle-five { left: 92%; width: 2px; height: 2px; animation-delay: -1s; }
.particle-six { left: 44%; width: 3px; height: 3px; animation-delay: -10s; background: var(--lilac); }
.particle-seven { left: 15%; width: 2px; height: 2px; animation-delay: -6s; background: var(--lilac); }
.particle-eight { left: 36%; width: 4px; height: 4px; animation-delay: -3s; }
.particle-nine { left: 51%; width: 2px; height: 2px; animation-delay: -12s; background: var(--lilac); }
.particle-ten { left: 64%; width: 3px; height: 3px; animation-delay: -7s; }
.particle-eleven { left: 73%; width: 2px; height: 2px; animation-delay: -9s; background: var(--lilac); }
.particle-twelve { left: 87%; width: 3px; height: 3px; animation-delay: -14s; }
.particle-thirteen { left: 3%; width: 2px; height: 2px; animation-delay: -16s; background: var(--lilac); }
.particle-fourteen { left: 97%; width: 4px; height: 4px; animation-delay: -18s; }
.particle-fifteen { left: 23%; width: 2px; height: 2px; animation-delay: -20s; }
.particle-sixteen { left: 47%; width: 4px; height: 4px; animation-delay: -22s; background: var(--lilac); }
.particle-seventeen { left: 61%; width: 2px; height: 2px; animation-delay: -24s; }
.particle-eighteen { left: 78%; width: 3px; height: 3px; animation-delay: -26s; background: var(--lilac); }
.particle-nineteen { left: 12%; width: 3px; height: 3px; animation-delay: -28s; }
.particle-twenty { left: 90%; width: 2px; height: 2px; animation-delay: -30s; background: var(--lilac); }

.rise-line {
  width: 1px;
  height: 92px;
  background: linear-gradient(to top, transparent, rgba(216, 255, 85, 0.55), transparent);
  animation-duration: 18s;
}

.rise-line-one { left: 19%; animation-delay: -12s; }
.rise-line-two { left: 69%; height: 140px; animation-delay: -4s; background: linear-gradient(to top, transparent, rgba(185, 167, 255, 0.48), transparent); }
.rise-line-three { left: 96%; height: 70px; animation-delay: -8s; }

.page-shell {
  width: min(100% - 3rem, 1180px);
  margin: 0 auto;
  padding: 28px 0 24px;
}

.site-header,
.site-footer,
.section-label,
.widget-topline {
  display: flex;
  align-items: center;
}

.site-header {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.wordmark-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.wordmark-dot { color: var(--acid); }
.header-note,
.eyebrow,
.section-label,
.widget-topline,
.site-footer {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
}

.header-note {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.intro {
  max-width: 530px;
  padding: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--acid);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.eyebrow-line {
  width: 34px;
  height: 1px;
  background: var(--acid);
}

h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.4rem, 6.2vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

h1 em {
  color: var(--lilac);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.intro-copy {
  max-width: 390px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.project-note {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.project-note-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-list li {
  display: grid;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-size: 0.95rem;
}

.project-heading,
.project-status {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.project-heading small,
.project-status small {
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-heading small { color: var(--muted); text-align: right; }

.progress-track {
  height: 5px;
  overflow: hidden;
  background: rgba(218, 224, 238, 0.12);
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(216, 255, 85, 0.4);
}

.project-status small { font-size: 0.52rem; }
.project-status small:last-child { color: var(--muted); }

.support-area {
  min-width: 0;
  margin: 0;
}

.section-label {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
}

.section-number { color: var(--acid); }

.widget-frame {
  overflow: hidden;
  border: 1px solid rgba(216, 255, 85, 0.35);
  background: var(--panel);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.2);
}

.widget-topline {
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.widget-rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.kofi-widget-embed {
  display: grid;
  min-height: 164px;
  padding: 32px 20px;
  place-items: center;
  background: transparent;
}

.intro,
.support-area {
  align-self: center;
}

.project-area,
.support-area {
  margin-top: 42px;
}

.page-shell > .intro {
  grid-area: intro;
}

.page-shell > .project-area {
  grid-area: projects;
}

.page-shell > .support-area {
  grid-area: support;
}

.site-footer {
  justify-content: space-between;
  margin-top: 106px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.footer-arrow {
  color: var(--acid);
  font-size: 1.2rem;
}

.reveal {
  animation: reveal 0.8s ease both;
}

.intro { animation-delay: 0.12s; }
.support-area { animation-delay: 0.24s; }
.site-footer { animation-delay: 0.36s; }

@keyframes rise {
  0% { transform: translateY(0) scale(0.7); opacity: 0.22; }
  10% { opacity: 0.8; }
  80% { opacity: 0.55; }
  100% { transform: translateY(-115vh) scale(1.1); opacity: 0.2; }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .page-shell { width: min(100% - 2rem, 1120px); padding-top: 20px; }
  .header-note { max-width: 130px; text-align: right; line-height: 1.5; }
  .intro { padding: 0; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .intro-copy { font-size: 0.92rem; }
  .support-area { margin-left: 0; }
  .widget-topline { font-size: 0.53rem; }
  .kofi-widget-embed { min-height: 148px; padding: 28px 16px; }
  .site-footer { margin-top: 76px; }
}

@media (min-width: 760px) {
  .page-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    grid-template-areas:
      "header header"
      "intro projects"
      "intro support"
      "footer footer";
    column-gap: clamp(48px, 8vw, 120px);
  }

  .site-header { grid-area: header; }
  .intro { margin-top: 52px; }
  .project-area { margin-top: 52px; }
  .support-area { margin-top: 28px; }
  .site-footer { grid-area: footer; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .particle, .rise-line, .reveal { animation: none; }
}
