:root {
  color-scheme: light;
  --paper: #faf8ef;
  --ink: #201c34;
  --purple: #5942bb;
  --lilac: #c9bbf8;
  --lemon: #f7ee79;
  --line: #cfcbda;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; border-radius: 3px; }

.page {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header {
  min-height: 5.3rem;
  border-bottom: 1px solid var(--line);
}

.brand, .profiles a, .handle {
  font-weight: 700;
  text-decoration: none;
}

.brand { font-size: 1.08rem; letter-spacing: -.04em; white-space: nowrap; }
.brand > span:first-child { color: var(--purple); margin-right: .2em; font-size: 1.28em; }
.domain { color: var(--purple); }

.profiles { display: flex; gap: clamp(.85rem, 3vw, 2rem); }
.profiles a { display: inline-flex; min-height: 44px; min-width: 24px; align-items: center; font-size: .94rem; }
.profiles a:hover, .handle:hover { color: var(--purple); text-decoration: underline; text-underline-offset: .25em; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.8rem, 7vw, 6rem);
}

.intro h1 {
  margin: 0;
  font-size: clamp(4rem, 9.5vw, 8.2rem);
  font-weight: 800;
  line-height: .87;
  letter-spacing: -.085em;
}

.intro em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--purple);
  letter-spacing: -.09em;
}

.intro p {
  max-width: 27ch;
  margin: 1.8rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.print {
  isolation: isolate;
  position: relative;
  aspect-ratio: 1.18;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--lilac);
  border: 1px solid var(--ink);
  border-radius: 1.4rem;
  box-shadow: 5px 6px 0 var(--ink);
}

.print-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, #28145f22 1px, transparent 1px),
    linear-gradient(#28145f22 1px, transparent 1px);
  background-size: 6% 7%;
  mask-image: radial-gradient(ellipse, #000, transparent 78%);
}

.loop {
  position: absolute;
  width: 84%;
  height: 45%;
  border: 1px solid var(--purple);
  border-radius: 50%;
}

.loop-one { transform: rotate(-32deg); }
.loop-two { transform: rotate(28deg); }
.loop-three { transform: rotate(78deg); }

.sticker {
  z-index: 1;
  width: 48%;
  aspect-ratio: 1.15;
  display: grid;
  place-items: center;
  background: var(--lemon);
  border: 1px solid var(--ink);
  border-radius: 34% 32% 33% 29% / 43% 40% 40% 42%;
  box-shadow: 4px 5px 0 var(--ink);
  transform: rotate(-12deg);
  transition: transform .25s ease;
  container-type: inline-size;
}

.sticker > span {
  font-family: Georgia, serif;
  font-size: 33cqw;
  font-weight: 700;
  font-style: italic;
  line-height: .86;
  padding-bottom: .12em;
  letter-spacing: -.08em;
}

.question { color: var(--purple); }
@media (hover: hover) { .print:hover .sticker { transform: rotate(-5deg) scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .sticker { transition: none; } }

.spark { position: absolute; z-index: 1; color: var(--ink); line-height: 1; }
.spark-one { top: 17%; left: 19%; font-size: clamp(1rem, 4vw, 3rem); }
.spark-two { bottom: 18%; right: 16%; font-size: clamp(1.35rem, 5vw, 4rem); }
.spark-three { top: 21%; right: 14%; font-size: clamp(1rem, 3vw, 2rem); }

.note {
  display: grid;
  grid-template-columns: minmax(12rem, .6fr) 1fr;
  gap: 1.5rem 3rem;
  padding: clamp(1.9rem, 4.5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #f2edf9;
}

.note h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}

.note-body { max-width: 53ch; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.65; }
.note-body p { margin: 0; }
.note-body p + p { margin-top: 1em; }

.footer {
  min-height: 5.2rem;
  color: #5c536b;
  font-size: .88rem;
}

@media (max-width: 690px) {
  .page { width: calc(100% - 2rem); }
  .header { min-height: 4.1rem; }
  .hero { grid-template-columns: 1fr; gap: 2.4rem; }
  .intro h1 { font-size: clamp(4rem, 14vw, 6rem); }
  .intro p { margin-top: 1.2rem; }
  .note { grid-template-columns: 1fr; }
}
.secret {
  background: none;
  border: 0;
  padding: .15em;
  margin: -.15em;
  cursor: pointer;
}
.secret:hover { color: var(--purple); }
.secret:focus-visible { outline: 2px solid var(--ink); border-radius: .2em; }
.projects { margin: 0 0 clamp(3rem, 7vw, 6rem); scroll-margin-top: 1.5rem; }
.projects h2 {
  margin: 0 0 1.8rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.075em;
}
.projects h2 span { color: var(--purple); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.project {
  display: block;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 1.2rem;
  text-decoration: none;
  background: #fffdf8;
}
.project:hover { box-shadow: 3px 4px 0 var(--ink); }
.project-art {
  min-height: clamp(9rem, 22vw, 16rem);
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}
.project-fly .project-art {
  background: repeating-radial-gradient(ellipse at 50% 130%, #415449 0 1px, transparent 2px 23px), #202e28;
  color: #d8f6a0;
  gap: .15em;
  font-size: clamp(2rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.085em;
}
.project-fly .project-art i { font-family: Georgia, serif; font-weight: 400; }
.project-sump .project-art {
  background: repeating-linear-gradient(90deg, transparent 0 39px, #101a20a0 40px 41px),
    radial-gradient(ellipse at 50% 100%, #526f71, #14262d 72%);
  color: #fae3a8;
  font: 800 clamp(2rem, 6vw, 5.5rem)/1 system-ui, sans-serif;
  letter-spacing: -.065em;
}
.project-sump .project-art i { font-style: normal; color: #d2e3de; }
.project-flightline .project-art {
  background: linear-gradient(165deg, #16182d 15%, #514260 58%, #b37469 100%);
  color: #fff2d9;
  font: 800 clamp(1.8rem, 5vw, 4.5rem)/1 system-ui, sans-serif;
  letter-spacing: -.055em;
}
.project-flightline .project-art i { font-style: normal; color: #ffb88f; }
.project-leviathan .project-art {
  background: radial-gradient(ellipse at 50% 28%, #5b7079, transparent 62%),
    linear-gradient(#182b36 65%, #0d1f2e);
  color: #ffe7be;
  font: 400 clamp(1.6rem, 4.8vw, 4.5rem)/1 Georgia, serif;
  letter-spacing: .08em;
}
.project-sylvanora .project-art {
  background: radial-gradient(ellipse at 32% 68%, #00d2e844, transparent 52%),
    radial-gradient(ellipse at 74% 34%, #a44dff44, transparent 50%),
    linear-gradient(155deg, #030b1c 15%, #072238 62%, #131336 100%);
  color: #cffaff;
  font: 300 clamp(1.35rem, 4.2vw, 3.8rem)/1 system-ui, sans-serif;
  letter-spacing: .24em;
  padding-left: .24em;
  text-shadow: 0 0 24px #00f0ff77;
}
.project-singularity .project-art {
  background: radial-gradient(ellipse at 49% 50%, #090913 22%, #27203a 43%, #975747 58%, #171228 72%);
  color: #ffe2c0;
  font: 400 clamp(1.4rem, 4.5vw, 4.25rem)/1 Georgia, serif;
  letter-spacing: .08em;
}
.project-cards .project-art {
  background: radial-gradient(ellipse at center, #f8b8d4, #ee8cba);
  font: bold clamp(1.3rem, 3vw, 2.5rem)/1 Georgia, serif;
}
.project-cards .project-art span {
  display: grid;
  width: 2.2em;
  height: 3em;
  place-content: center;
  text-align: center;
  background: #fffdf8;
  border: 1px solid var(--ink);
  border-radius: .25em;
  box-shadow: 2px 3px 0 var(--ink);
  transform: rotate(-16deg);
}
.project-cards .project-art span + span { color: #a7184d; transform: rotate(14deg); }
.project-copy { padding: clamp(1.1rem, 3vw, 1.8rem); }
.project-copy h3 { margin: 0; font-size: clamp(1.15rem, 2.5vw, 1.65rem); letter-spacing: -.04em; }
.project-copy p { margin: .4rem 0 0; line-height: 1.5; }

.night {
  width: min(calc(100% - 2rem), 32rem);
  border: 1px solid #8c7ad2;
  border-radius: 1.4rem;
  padding: 3.25rem 1.5rem;
  text-align: center;
  background: #201831;
  color: #faf8ef;
}
.night::backdrop { background: #130d27cc; }
.night span { color: var(--lemon); letter-spacing: .35em; }
.night button {
  position: absolute;
  top: .5rem;
  right: .75rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #43345d;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}
.night h2 { font: italic 2.3rem/1 Georgia, serif; margin: 1rem 0; }
.night p { line-height: 1.55; margin: 0 auto; max-width: 31ch; }
@media (max-width: 540px) { .project-grid { grid-template-columns: 1fr; } }
@media (max-width: 350px) { .profiles { gap: .6rem; } }
