:root {
  color-scheme: light;
  --c-sky: #8ee8ff;
  --c-sky-end: #c7f3ff;
  --c-ink: #13294b;
  --c-contrast-ink: #07172f;
  --c-deep: #13294b;
  --c-on-deep: #fff4d4;
  --c-blue: #255fbb;
  --c-surface: #fff4d4;
  --c-card: #fff4d4;
  --c-yellow: #ffd94d;
  --c-red: #f44f45;
  --c-green: #2f9d61;
  --c-grass: #5fc86d;
  --c-project-bg: #fff8e8;
  --c-articles-bg: #9fe6ff;
  --c-ground: #c58b50;
  --c-cloud: #ffffff;
  --c-moon: #fff4d4;
  --c-heading-shadow: rgba(255, 255, 255, 0.85);
  --c-soft-shadow: rgba(19, 41, 75, 0.28);
  --c-sprite-shadow: rgba(19, 41, 75, 0.16);
  font-family: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --c-sky: #123653;
  --c-sky-end: #1d5268;
  --c-ink: #fff1cc;
  --c-deep: #06172b;
  --c-on-deep: #fff4d4;
  --c-blue: #86bdff;
  --c-surface: #071a2f;
  --c-card: #0c2741;
  --c-yellow: #e2b93d;
  --c-red: #ff766b;
  --c-green: #2d8d59;
  --c-grass: #245c3c;
  --c-project-bg: #081f35;
  --c-articles-bg: #0d3b54;
  --c-ground: #71503c;
  --c-cloud: #d7f1f2;
  --c-moon: #fff1cc;
  --c-heading-shadow: rgba(0, 0, 0, 0.38);
  --c-soft-shadow: rgba(0, 0, 0, 0.42);
  --c-sprite-shadow: rgba(0, 0, 0, 0.36);
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --c-sky: #123653;
    --c-sky-end: #1d5268;
    --c-ink: #fff1cc;
    --c-deep: #06172b;
    --c-on-deep: #fff4d4;
    --c-blue: #86bdff;
    --c-surface: #071a2f;
    --c-card: #0c2741;
    --c-yellow: #e2b93d;
    --c-red: #ff766b;
    --c-green: #2d8d59;
    --c-grass: #245c3c;
    --c-project-bg: #081f35;
    --c-articles-bg: #0d3b54;
    --c-ground: #71503c;
    --c-cloud: #d7f1f2;
    --c-moon: #fff1cc;
    --c-heading-shadow: rgba(0, 0, 0, 0.38);
    --c-soft-shadow: rgba(0, 0, 0, 0.42);
    --c-sprite-shadow: rgba(0, 0, 0, 0.36);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--c-ink);
  background: var(--c-surface);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--c-on-deep);
  font-size: 11px;
  font-weight: 900;
  background: var(--c-deep);
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

#about,
#career,
#projects,
#articles,
#contact,
.archive-entry {
  scroll-margin-top: 24px;
}

.c-nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  background: var(--c-surface);
}

.c-logo {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  width: max-content;
  color: var(--c-ink);
  font: 900 22px/1 inherit;
  text-decoration: none;
  text-shadow: 3px 3px 0 var(--c-heading-shadow);
  transform: rotate(-3deg);
}

.c-nav nav {
  display: flex;
  gap: 30px;
}

.c-nav nav a,
.c-coin,
.c-theme-toggle {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.c-nav nav a {
  padding-block: 8px;
}

.c-nav nav a:hover {
  color: var(--c-blue);
}

.c-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

.c-theme-toggle {
  padding: 8px 10px;
  color: var(--c-ink);
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 2px solid var(--c-ink);
}

.c-theme-toggle:hover {
  color: var(--c-surface);
  background: var(--c-ink);
}

.c-coin {
  padding: 10px 14px;
  color: var(--c-on-deep);
  white-space: nowrap;
  background: var(--c-deep);
  box-shadow: 4px 4px 0 var(--c-red);
}

.c-coin span {
  color: var(--c-yellow);
}

.c-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: linear-gradient(var(--c-sky), var(--c-sky-end) 74%, var(--c-grass) 74%);
  border-top: 4px solid var(--c-ink);
  border-bottom: 4px solid var(--c-ink);
}

.c-hero-copy {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 100px;
}

.c-hero-copy > p:first-child,
.c-kicker,
.c-level-label,
.c-levels article > p:first-of-type,
.c-footer > p,
.archive-kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.c-hero h1 {
  max-width: 900px;
  margin: 20px 0 24px;
  font: 900 clamp(47px, 7vw, 92px) / 0.9 inherit;
  letter-spacing: -0.075em;
  text-shadow: 5px 5px 0 var(--c-heading-shadow);
}

.c-hero h1 span {
  color: var(--c-blue);
}

.c-hero-copy > p:nth-of-type(2) {
  max-width: 560px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.c-hero-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.c-hero-copy a,
.c-footer > a {
  display: inline-block;
  padding: 14px 18px;
  color: var(--c-on-deep);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  background: var(--c-deep);
  border: 3px solid var(--c-deep);
  box-shadow: 5px 5px 0 var(--c-red);
}

.c-hero-copy a + a {
  color: var(--c-ink);
  background: var(--c-surface);
  border-color: var(--c-ink);
  box-shadow: 5px 5px 0 var(--c-soft-shadow);
}

.c-hero-copy a:hover,
.c-footer > a:hover,
.c-coin:hover {
  transform: translate(-2px, -2px);
}

.c-sky-object {
  position: absolute;
  top: 52px;
  right: calc(8% - 8px);
  width: 104px;
  height: 104px;
  pointer-events: none;
}

.c-sun,
.c-moon {
  position: absolute;
  opacity: 0;
  transform: scale(0);
  transform-origin: 50% 50%;
}

.c-sun {
  top: 0;
  left: 0;
  width: 104px;
  height: 104px;
}

.c-sun::before {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 88px;
  height: 88px;
  content: "";
  background: var(--c-yellow);
  box-shadow:
    8px 0 0 var(--c-yellow),
    -8px 0 0 var(--c-yellow),
    0 8px 0 var(--c-yellow),
    0 -8px 0 var(--c-yellow);
}

.c-moon {
  top: 0;
  left: 0;
  width: 104px;
  height: 104px;
}

.c-moon-pixels {
  position: absolute;
  top: 8px;
  left: 28px;
  width: 48px;
  height: 88px;
}

.c-moon-pixels::before {
  position: absolute;
  top: 8px;
  left: 24px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--c-moon);
  box-shadow:
    0 -8px 0 var(--c-moon),
    8px -8px 0 var(--c-moon),
    16px -8px 0 var(--c-moon),
    8px 0 0 var(--c-moon),
    16px 0 0 var(--c-moon),
    -8px 8px 0 var(--c-moon),
    0 8px 0 var(--c-moon),
    8px 8px 0 var(--c-moon),
    16px 8px 0 var(--c-moon),
    -16px 16px 0 var(--c-moon),
    -8px 16px 0 var(--c-moon),
    0 16px 0 var(--c-moon),
    -16px 24px 0 var(--c-moon),
    -8px 24px 0 var(--c-moon),
    -24px 32px 0 var(--c-moon),
    -16px 32px 0 var(--c-moon),
    -24px 40px 0 var(--c-moon),
    -16px 40px 0 var(--c-moon),
    -16px 48px 0 var(--c-moon),
    -8px 48px 0 var(--c-moon),
    -16px 56px 0 var(--c-moon),
    -8px 56px 0 var(--c-moon),
    0 56px 0 var(--c-moon),
    -8px 64px 0 var(--c-moon),
    0 64px 0 var(--c-moon),
    8px 64px 0 var(--c-moon),
    16px 64px 0 var(--c-moon),
    0 72px 0 var(--c-moon),
    8px 72px 0 var(--c-moon),
    16px 72px 0 var(--c-moon);
}

.c-sky-object[data-sky-state="light"] [data-sky-sun],
.c-sky-object[data-sky-state="dark"] [data-sky-moon] {
  opacity: 1;
  transform: scale(1);
}

.c-sky-object.is-sky-popping-out[data-sky-state="light"] [data-sky-sun],
.c-sky-object.is-sky-popping-out[data-sky-state="dark"] [data-sky-moon] {
  animation: c-sky-pop-out 100ms steps(2, end) both;
}

.c-sky-object.is-sky-popping-in[data-sky-state="light"] [data-sky-sun],
.c-sky-object.is-sky-popping-in[data-sky-state="dark"] [data-sky-moon] {
  animation: c-sky-pop-in 100ms steps(2, end) both;
}

.c-cloud-track {
  position: absolute;
  left: 0;
  width: 214px;
  height: 50px;
  pointer-events: none;
}

.c-cloud-track--near {
  top: 0;
}

.c-cloud-track--far {
  top: 15px;
  width: 150px;
  height: 36px;
}

.c-cloud {
  position: absolute;
  top: 18px;
  left: 0;
  width: 120px;
  height: 28px;
  background: var(--c-cloud);
  box-shadow:
    24px -18px 0 var(--c-cloud),
    62px -6px 0 var(--c-cloud),
    94px 4px 0 var(--c-cloud);
}

.c-cloud-one {
}

.c-cloud-two {
  top: 13px;
  transform: scale(0.7);
  transform-origin: top left;
}

.c-hero-scene {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 67px;
  width: 500px;
  height: 330px;
}

.c-sprite {
  position: absolute;
  z-index: 4;
  display: block;
  max-width: none;
  image-rendering: pixelated;
  filter: drop-shadow(4px 4px 0 var(--c-sprite-shadow));
}

.c-sprite--tree-pine { bottom: 0; left: 0; width: 120px; }
.c-sprite--tree-round { right: 0; bottom: 0; width: 132px; }
.c-sign {
  position: absolute;
  z-index: 4;
  right: 92px;
  bottom: 0;
  width: 88px;
}

.c-sign__image {
  display: block;
  width: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(4px 4px 0 var(--c-sprite-shadow));
}

.c-sign-label {
  position: absolute;
  top: 15px;
  left: 11px;
  display: grid;
  width: 66px;
  height: 26px;
  place-items: center;
  color: var(--c-deep);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.03em;
  text-shadow: 0.5px 0 var(--c-deep);
  pointer-events: none;
}
.c-sprite--coin { top: 4px; left: 188px; width: 36px; }
.c-sprite--orb { top: -4px; left: 234px; width: 38px; }
.c-sprite--heart { top: 6px; left: 282px; width: 36px; }
.c-sprite--plus-top { top: 56px; left: 154px; width: 17px; }
.c-sprite--plus-cream { top: 58px; right: 136px; width: 18px; }
.c-sprite--plus-left { top: 132px; left: 104px; width: 13px; }
.c-sprite--plus-right { top: 135px; right: 102px; width: 13px; }
.c-sprite--plus-bottom { top: 126px; left: 242px; width: 17px; }
.c-sprite--dot-a { top: 35px; left: 116px; width: 7px; }
.c-sprite--dot-b { top: 42px; right: 72px; width: 7px; }
.c-sprite--dot-c { top: 86px; left: 204px; width: 6px; }
.c-sprite--dot-d { top: 98px; left: 187px; width: 7px; }
.c-sprite--dot-e { top: 178px; right: 126px; width: 7px; }
.c-sprite--dot-f { top: 108px; right: 36px; width: 6px; }

.c-actor {
  position: absolute;
  z-index: 7;
  bottom: 0;
  pointer-events: none;
}

.c-actor--developer {
  left: 195px;
  width: 126px;
  height: 144px;
}

.c-actor--robot {
  left: 120px;
  width: 82px;
  height: 86px;
}

.c-sprite--developer {
  bottom: 0;
  left: 50%;
  width: auto;
  height: 132px;
  transform: translateX(-50%);
  transform-origin: bottom center;
}

.c-sprite--robot {
  bottom: 0;
  left: 50%;
  width: auto;
  height: 78px;
  transform: translateX(-50%);
  transform-origin: bottom center;
}

.is-intro-preparing .c-actor {
  opacity: 0;
}

.c-sprite--coin { --spark-delay: 0s; }
.c-sprite--orb { --spark-delay: 0.13s; }
.c-sprite--heart { --spark-delay: 0.26s; }
.c-sprite--plus-top { --spark-delay: 0.11s; }
.c-sprite--plus-cream { --spark-delay: 0.37s; }
.c-sprite--plus-left { --spark-delay: 0.57s; }
.c-sprite--plus-right { --spark-delay: 0.47s; }
.c-sprite--plus-bottom { --spark-delay: 0.67s; }
.c-sprite--dot-a { --spark-delay: 0.17s; }
.c-sprite--dot-b { --spark-delay: 0.32s; }
.c-sprite--dot-c { --spark-delay: 0.49s; }
.c-sprite--dot-d { --spark-delay: 0.63s; }
.c-sprite--dot-e { --spark-delay: 0.75s; }
.c-sprite--dot-f { --spark-delay: 0.89s; }

.is-intro-preparing .c-sprite--coin,
.is-intro-preparing .c-sprite--orb,
.is-intro-preparing .c-sprite--heart,
.is-intro-preparing [class*="c-sprite--plus"],
.is-intro-preparing [class*="c-sprite--dot"],
.is-intro-playing:not(.is-sparkling) .c-sprite--coin,
.is-intro-playing:not(.is-sparkling) .c-sprite--orb,
.is-intro-playing:not(.is-sparkling) .c-sprite--heart,
.is-intro-playing:not(.is-sparkling) [class*="c-sprite--plus"],
.is-intro-playing:not(.is-sparkling) [class*="c-sprite--dot"] {
  opacity: 0;
}

.is-sparkling .c-sprite--coin,
.is-sparkling .c-sprite--orb,
.is-sparkling .c-sprite--heart,
.is-sparkling [class*="c-sprite--plus"],
.is-sparkling [class*="c-sprite--dot"] {
  animation:
    c-sparkle-in 0.42s steps(3, end) var(--spark-delay) both,
    c-sparkle-loop 1.6s steps(2, end) calc(var(--spark-delay) + 0.42s) infinite;
}

@keyframes c-sparkle-in {
  0% { opacity: 0; transform: translateY(7px) scale(0); }
  60% { opacity: 1; transform: translateY(-5px) scale(1.35); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes c-sky-pop-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0); }
}

@keyframes c-sky-pop-in {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes c-sparkle-loop {
  0%, 100% { opacity: 1; transform: translateY(0) scale(1); }
  50% { opacity: 0.42; transform: translateY(-6px) scale(0.76); }
}

.c-ground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 68px;
  background:
    linear-gradient(45deg, var(--c-soft-shadow) 25%, transparent 25% 75%, var(--c-soft-shadow) 75%),
    var(--c-ground);
  background-size: 28px 28px;
  border-top: 5px solid var(--c-ink);
}

.c-about,
.c-projects,
.c-articles,
.c-footer,
.archive-hero,
.archive-list {
  padding: 110px max(24px, calc((100% - 1180px) / 2));
}

.c-level-label {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.c-level-label span {
  padding: 8px 10px;
  color: var(--c-on-deep);
  white-space: nowrap;
  background: var(--c-deep);
}

.c-level-label i {
  flex: 1;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--c-ink) 0 9px, transparent 9px 16px);
}

.c-about {
  color: var(--c-deep);
  background: var(--c-yellow);
  border-bottom: 4px solid var(--c-ink);
}

.c-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.c-about h2,
.c-projects > h2,
.c-article-heading h2,
.c-footer h2,
.archive-hero h1 {
  margin: 12px 0;
  font: 900 clamp(38px, 5vw, 64px) / 0.96 inherit;
  letter-spacing: -0.065em;
}

.c-about-grid > div:last-child > p {
  margin-top: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.c-about ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.c-about li {
  padding: 7px 9px;
  color: var(--c-contrast-ink);
  font-size: 9px;
  font-weight: 900;
  background: var(--c-red);
  border: 3px solid var(--c-deep);
}

.c-career {
  --career-violet: #7656d6;
  --career-cyan: #49c9df;
  background: var(--c-project-bg);
  border-bottom: 4px solid var(--c-ink);
}

.c-career-drawer > summary,
.c-career-drawer-content {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.c-career-drawer > summary {
  padding-block: 44px;
  margin-bottom: 0;
  cursor: pointer;
  list-style: none;
}

.c-career-drawer > summary::-webkit-details-marker {
  display: none;
}

.c-career-chevron {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  background: transparent;
  border: 3px solid currentColor;
}

.c-career-chevron::before {
  width: 8px;
  height: 8px;
  content: "";
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.c-career-drawer[open] .c-career-chevron::before {
  transform: translateY(2px) rotate(225deg);
}

.c-career-drawer-content {
  padding-block: 72px 110px;
}

.c-career-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}

.c-career-heading h2 {
  margin: 12px 0 0;
  font: 900 clamp(38px, 5vw, 64px) / 0.96 inherit;
  letter-spacing: -0.065em;
}

.c-career-heading > p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.c-career-briefs {
  display: grid;
  gap: 22px;
}

.c-career-brief {
  --career-accent: var(--c-blue);
}

.c-career-brief--violet { --career-accent: var(--career-violet); }
.c-career-brief--blue { --career-accent: var(--c-blue); }
.c-career-brief--cyan { --career-accent: var(--career-cyan); }
.c-career-brief--red { --career-accent: var(--c-red); }
.c-career-brief--yellow { --career-accent: var(--c-yellow); }
.c-career-brief--green { --career-accent: var(--c-green); }

.c-career-brief details {
  background: var(--c-card);
  border: 4px solid var(--c-ink);
  border-top: 9px solid var(--career-accent);
  box-shadow: 8px 8px 0 var(--c-ink);
}

a.archive-entry {
  color: inherit;
  text-decoration: none;
}

a.archive-entry:hover {
  transform: translate(3px, 3px);
  box-shadow: 5px 5px 0 var(--c-ink);
}

.c-career-brief summary {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  list-style: none;
}

.c-career-brief summary::-webkit-details-marker,
.c-full-journey summary::-webkit-details-marker {
  display: none;
}

.c-career-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--c-on-deep);
  font-size: 16px;
  font-weight: 900;
  background: var(--c-deep);
  border: 3px solid var(--career-accent);
  box-shadow: 4px 4px 0 var(--c-red);
}

.c-career-summary {
  display: grid;
  min-width: 0;
}

.c-career-meta,
.c-career-domain {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.c-career-meta {
  margin-bottom: 8px;
}

.c-career-domain {
  color: var(--c-blue);
}

.c-career-summary h3 {
  margin: 7px 0 8px;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.c-career-outcome {
  max-width: 920px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.65;
}

.c-career-impact {
  width: fit-content;
  max-width: 100%;
  margin-top: 13px;
  padding: 7px 9px;
  color: var(--c-deep);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.5;
  background: color-mix(in srgb, var(--career-accent) 64%, #fff4d4);
  border: 2px solid var(--c-deep);
}

.c-career-impact b {
  margin-right: 7px;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.c-career-toggle {
  align-self: end;
  padding-bottom: 4px;
  font-size: 8px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.c-career-toggle::after {
  content: " +";
}

.c-career-brief details[open] .c-career-toggle {
  font-size: 0;
}

.c-career-brief details[open] .c-career-toggle::after {
  content: "CLOSE BRIEF −";
  font-size: 8px;
}

.c-career-story {
  border-top: 4px solid var(--c-ink);
}

.c-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-story-grid section {
  min-width: 0;
  padding: 24px;
  border-right: 3px solid var(--c-ink);
  border-bottom: 3px solid var(--c-ink);
}

.c-story-grid section:nth-child(even) {
  border-right: 0;
}

.c-story-grid .c-story-impact {
  grid-column: 1 / -1;
  color: var(--c-deep);
  background: color-mix(in srgb, var(--career-accent) 62%, #fff4d4);
  border-right: 0;
}

.c-career-story h4 {
  margin: 0 0 10px;
  font-size: 8px;
  letter-spacing: 0.11em;
}

.c-career-story p {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.75;
}

.c-story-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(220px, 0.65fr);
  gap: 24px;
  padding: 24px;
}

.c-project-chips,
.c-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.c-project-chips li,
.c-tech-chips li {
  padding: 6px 8px;
  font-size: 8px;
  font-weight: 900;
  border: 2px solid var(--c-ink);
}

.c-tech-chips li {
  color: var(--c-blue);
  border-color: currentColor;
}

.c-story-status {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px;
  color: var(--c-on-deep);
  background: var(--c-deep);
  border-left: 7px solid var(--c-red);
}

.c-story-status span,
.c-story-status small {
  font-size: 7px;
}

.c-story-status b {
  font-size: 11px;
}

.c-full-journey {
  margin-top: 38px;
  background: var(--c-card);
  border: 4px solid var(--c-ink);
  box-shadow: 8px 8px 0 var(--c-blue);
}

.c-full-journey summary {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  list-style: none;
}

.c-full-journey summary span {
  color: var(--c-blue);
  font-size: 8px;
}

.c-full-journey ol {
  padding: 0 22px 22px;
  margin: 0;
  list-style: none;
}

.c-full-journey li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.5;
  border-bottom: 2px dotted color-mix(in srgb, var(--c-ink) 42%, transparent);
}

.c-full-journey li:last-child {
  border-bottom: 0;
}

.c-full-journey time,
.c-full-journey b {
  font-size: 8px;
  font-weight: 900;
}

.c-full-journey time {
  color: var(--c-blue);
}

.c-full-journey b {
  color: var(--c-blue);
}

.c-projects {
  background: color-mix(in srgb, var(--c-yellow) 22%, var(--c-project-bg));
  border-bottom: 4px solid var(--c-ink);
}

.c-projects > h2 {
  margin-bottom: 44px;
}

.c-levels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.c-levels article {
  padding: 14px 14px 22px;
  background: var(--c-card);
  border: 4px solid var(--c-ink);
  box-shadow: 8px 8px 0 var(--c-ink);
}

.c-level-art {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 3px solid var(--c-deep);
}

.c-level-art > span {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--c-on-deep);
  font-weight: 900;
  background: var(--c-deep);
}

.c-art-unify {
  background:
    radial-gradient(circle at 55% 50%, var(--c-yellow) 0 28px, var(--c-red) 29px 52px, transparent 53px),
    linear-gradient(140deg, var(--c-sky) 50%, var(--c-green) 50%);
}

.c-art-unify i {
  position: absolute;
  right: 22px;
  bottom: 0;
  width: 70px;
  height: 90px;
  background: var(--c-deep);
  box-shadow: -30px 28px 0 var(--c-blue), 20px 38px 0 #163e7e;
}

.c-art-iris {
  background:
    linear-gradient(90deg, transparent 46%, var(--c-deep) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--c-deep) 46% 54%, transparent 54%),
    var(--c-yellow);
  background-size: 68px 68px;
}

.c-art-iris i {
  position: absolute;
  top: 65px;
  left: calc(50% - 35px);
  width: 70px;
  height: 70px;
  background: var(--c-red);
  border: 4px solid var(--c-deep);
  transform: rotate(45deg);
}

.c-art-ras {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.28) 75%),
    var(--c-blue);
  background-size: 32px 32px;
}

.c-art-ras i {
  position: absolute;
  top: 52px;
  left: calc(50% - 56px);
  width: 112px;
  height: 90px;
  border: 9px solid var(--c-on-deep);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px var(--c-red);
}

.c-art-data {
  background:
    linear-gradient(90deg, transparent 0 18%, var(--c-yellow) 18% 22%, transparent 22% 48%, var(--c-red) 48% 52%, transparent 52% 78%, var(--c-green) 78% 82%, transparent 82%),
    linear-gradient(var(--c-sky), var(--c-blue));
}

.c-art-data i {
  position: absolute;
  top: 46px;
  left: calc(50% - 72px);
  width: 144px;
  height: 108px;
  background:
    linear-gradient(var(--c-on-deep) 0 14%, transparent 14% 43%, var(--c-on-deep) 43% 57%, transparent 57% 86%, var(--c-on-deep) 86%),
    var(--c-deep);
  border: 5px solid var(--c-on-deep);
  box-shadow: 12px 12px 0 var(--c-red);
}

.c-levels article > p:first-of-type {
  margin: 18px 0 8px;
  color: var(--c-blue);
}

.c-levels h3 {
  margin: 0;
  font-size: 25px;
}

.c-levels article > p:nth-of-type(2) {
  min-height: 64px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
}

.c-levels a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 10px;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.c-articles {
  background: var(--c-articles-bg);
  border-bottom: 4px solid var(--c-ink);
}

.c-article-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
}

.c-article-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 10px;
  font-weight: 900;
}

.c-scrolls {
  background: var(--c-card);
  border: 4px solid var(--c-ink);
  box-shadow: 8px 8px 0 var(--c-ink);
}

.c-scrolls a {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 0 22px;
  color: inherit;
  text-decoration: none;
  border-bottom: 3px solid var(--c-ink);
}

.c-scrolls a:last-child {
  border-bottom: 0;
}

.c-scrolls a:hover {
  background: var(--c-yellow);
}

.c-scrolls span {
  font-size: 9px;
  font-weight: 900;
}

.c-scrolls strong {
  font-size: 13px;
}

.c-article-card-action,
.c-article-reactions {
  display: inline-flex;
  align-items: center;
}

.c-article-card-action {
  gap: 14px;
}

.c-article-reactions {
  gap: 5px;
  padding: 5px 7px;
  color: var(--c-ink);
  background: color-mix(in srgb, var(--c-blue) 22%, var(--c-card));
  border: 2px solid var(--c-ink);
  white-space: nowrap;
}

.c-article-reactions img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  image-rendering: pixelated;
}

.c-article-reactions strong {
  font-size: 9px;
}

.c-article-state {
  color: var(--c-blue);
}

.c-footer {
  position: relative;
  min-height: 600px;
  padding-bottom: 140px;
  overflow: hidden;
  color: var(--c-on-deep);
  text-align: center;
  background: var(--c-deep);
}

.c-footer h2 {
  position: relative;
  z-index: 2;
  margin: 18px 0 38px;
  color: var(--c-on-deep);
}

.c-footer > p,
.c-footer > a,
.c-footer__links {
  position: relative;
  z-index: 2;
}

.c-footer > a {
  color: var(--c-deep);
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  box-shadow: 5px 5px 0 var(--c-red);
}

.c-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px;
  justify-content: center;
  margin-top: 80px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.c-footer__links > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

.c-footer__links a {
  min-width: 24px;
  text-underline-offset: 4px;
}

.c-castle {
  position: absolute;
  right: 9%;
  bottom: 0;
  width: 250px;
  height: 210px;
  opacity: 0.13;
  background: var(--c-on-deep);
}

.c-castle i {
  position: absolute;
  top: -55px;
  width: 72px;
  height: 85px;
  background: var(--c-on-deep);
}

.c-castle i:nth-child(1) { left: 0; }
.c-castle i:nth-child(2) { left: 89px; }
.c-castle i:nth-child(3) { right: 0; }

.archive-hero {
  min-height: 390px;
  background: linear-gradient(135deg, var(--c-sky), var(--c-sky-end));
  border-block: 4px solid var(--c-ink);
}

.archive-hero h1 {
  max-width: 860px;
  margin-block: 20px 24px;
  font-size: clamp(48px, 8vw, 92px);
  text-shadow: 5px 5px 0 var(--c-heading-shadow);
}

.archive-hero p:last-child {
  max-width: 650px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.archive-list {
  background: var(--c-project-bg);
}

.archive-grid {
  display: grid;
  gap: 24px;
}

.archive-entry {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 32px;
  background: var(--c-card);
  border: 4px solid var(--c-ink);
  box-shadow: 8px 8px 0 var(--c-ink);
}

.archive-entry:target {
  box-shadow: 8px 8px 0 var(--c-red);
}

.archive-entry > span,
.archive-entry > time {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.archive-entry > span {
  padding: 7px 9px;
  color: var(--c-contrast-ink);
  background: var(--c-red);
  border: 3px solid var(--c-deep);
}

.archive-entry h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 34px);
}

.archive-entry p {
  max-width: 700px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.c-footer--compact {
  min-height: 360px;
  padding-block: 90px;
}

@media (max-width: 1050px) {
  .c-nav {
    gap: 18px;
  }

  .c-nav nav {
    gap: 18px;
  }

  .c-hero-scene {
    right: -70px;
  }
}

@media (max-width: 900px) {
  .c-nav nav {
    display: none;
  }

  .c-nav {
    grid-template-columns: 1fr auto;
  }

  .c-about-grid,
  .c-career-heading,
  .c-levels {
    grid-template-columns: 1fr;
  }

  .c-career-heading {
    gap: 32px;
  }

  .c-story-evidence {
    grid-template-columns: 1fr;
  }

  .c-hero-scene {
    right: -90px;
  }

  .archive-entry {
    grid-template-columns: 100px 1fr;
  }

  .archive-entry > span {
    grid-column: 1;
  }
}

@media (max-width: 650px) {
  .c-nav,
  .c-hero-copy {
    width: min(100% - 28px, 1180px);
  }

  .c-nav {
    gap: 10px;
    min-height: 78px;
  }

  .c-nav-actions {
    gap: 7px;
  }

  .c-theme-toggle {
    padding: 7px 8px;
    font-size: 8px;
  }

  .c-coin {
    padding: 9px 10px;
    font-size: 8px;
  }

  .c-hero {
    min-height: 700px;
  }

  .c-hero-copy {
    padding-top: 66px;
  }

  .c-hero h1 {
    font-size: clamp(43px, 13vw, 70px);
  }

  .c-hero-scene {
    right: 44px;
    bottom: 67px;
    width: 500px;
    height: 330px;
    transform: scale(0.78);
    transform-origin: bottom right;
  }

  .c-about,
  .c-projects,
  .c-articles,
  .c-footer,
  .archive-hero,
  .archive-list {
    padding: 82px 20px;
  }

  .c-career-drawer > summary,
  .c-career-drawer-content {
    width: min(100% - 40px, 1180px);
  }

  .c-career-drawer > summary {
    padding-block: 32px;
  }

  .c-career-drawer-content {
    padding-block: 56px 82px;
  }

  .c-about-grid {
    gap: 34px;
  }

  .c-career-brief summary {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .c-career-number {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .c-career-toggle {
    grid-column: 2;
    justify-self: start;
  }

  .c-story-grid {
    grid-template-columns: 1fr;
  }

  .c-story-grid section,
  .c-story-grid section:nth-child(even) {
    border-right: 0;
  }

  .c-story-grid .c-story-impact {
    grid-column: auto;
  }

  .c-story-evidence,
  .c-story-grid section {
    padding: 18px;
  }

  .c-full-journey summary {
    align-items: start;
  }

  .c-full-journey li {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .c-full-journey li b {
    display: none;
  }

  .c-level-label span {
    white-space: normal;
  }

  .c-article-heading {
    display: grid;
    align-items: start;
  }

  .c-scrolls a {
    grid-template-columns: 1fr auto;
    padding: 15px;
  }

  .c-scrolls strong {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .c-article-state {
    grid-row: 2;
  }

  .c-footer {
    min-height: 530px;
  }

  .c-footer__links {
    margin-top: 62px;
  }

  .archive-entry {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .archive-entry > span,
  .archive-entry > time {
    width: max-content;
  }

  .c-footer--compact {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .c-actor {
    transform: none;
  }

  [data-hero-sparkles] .c-sprite {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .c-sky-object,
  .c-sky-object * {
    animation: none !important;
    transition: none !important;
  }

}
