:root {
  color-scheme: dark;
  --paper: #fffaf0;
  --paper-dim: rgba(255, 250, 240, 0.68);
  --field: #02040a;
  --ember: #ff8b2c;
  --signal: #68e8ff;
  --pixel: #68e8ff;
  --mx: 50%;
  --my: 52%;
  background: var(--field);
  color: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--field);
}

body {
  min-height: 100svh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

#ascii-field,
.source-footage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

#ascii-field {
  z-index: 1;
  background: #02040a;
}

.source-footage {
  z-index: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.vignette,
.scanline {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.vignette {
  background:
    radial-gradient(circle at var(--mx) var(--my), transparent 0 18rem, rgba(0, 9, 22, 0.12) 35rem, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), transparent 15%, transparent 78%, rgba(0, 0, 0, 0.3)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 22%, transparent 76%, rgba(0, 0, 0, 0.26));
}

.scanline {
  opacity: 0.18;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(180, 231, 255, 0.055) 0,
      rgba(180, 231, 255, 0.055) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: overlay;
}

.stage {
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
}

.identity {
  display: grid;
  justify-items: center;
  width: min(100%, 78rem);
  margin-top: 1.6rem;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-ready="true"] .identity {
  opacity: 1;
  filter: none;
  transform: none;
}

h1 {
  width: 100%;
  margin: 0;
  color: var(--paper);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 5rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: none;
  text-shadow:
    0 0 8px rgba(255, 250, 240, 0.34),
    0 0 18px rgba(92, 224, 255, 0.22),
    0 0 24px rgba(255, 132, 39, 0.16),
    0 0 42px rgba(0, 0, 0, 0.9);
  text-wrap: balance;
  white-space: nowrap;
}

.typewriter {
  position: relative;
  display: inline-block;
  width: 15ch;
  overflow: hidden;
  border-right: 0.09em solid rgba(255, 250, 240, 0.92);
  animation:
    type-name 1550ms steps(15, end) 520ms both,
    blink-caret 920ms step-end 520ms infinite;
}

html[data-ready="true"] .typewriter {
  animation:
    type-name 1550ms steps(15, end) 120ms both,
    blink-caret 920ms step-end 120ms infinite;
}

.identity-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.82rem;
  margin-top: 1rem;
  color: rgba(255, 250, 240, 0.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.02rem;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.9);
}

.role-line {
  margin: 1.08rem 0 0;
  color: rgba(255, 250, 240, 0.92);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.96),
    0 0 22px rgba(0, 0, 0, 0.92),
    0 0 14px rgba(104, 232, 255, 0.28),
    0 0 22px rgba(255, 139, 44, 0.18);
  text-wrap: pretty;
}

.social-link {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  color: rgba(255, 250, 240, 0.76);
  transition:
    color 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.social-link svg {
  display: block;
  width: 1.12rem;
  height: 1.12rem;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--paper);
  filter:
    drop-shadow(0 0 9px rgba(104, 232, 255, 0.44))
    drop-shadow(0 0 14px rgba(255, 139, 44, 0.22));
  transform: translateY(-1px);
}

.identity-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.45rem;
  opacity: 0;
  filter: blur(12px);
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 860ms steps(8, end),
    filter 860ms steps(8, end),
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-actions-ready="true"] .identity-actions {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform: none;
}

.learn-more-button {
  position: relative;
  display: inline-flex;
  min-width: 9.7rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.72rem 1.08rem;
  background: rgba(8, 18, 30, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 250, 240, 0.18),
    0 0 20px rgba(104, 232, 255, 0.14),
    0 14px 38px rgba(0, 0, 0, 0.34);
  color: rgba(255, 250, 240, 0.88);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.92),
    0 0 18px rgba(104, 232, 255, 0.18);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    filter 180ms ease,
    transform 180ms cubic-bezier(0.2, 0, 0, 1);
}

.learn-more-label {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition:
    opacity 680ms steps(7, end) 130ms,
    filter 680ms steps(7, end) 130ms;
  filter: blur(3px);
}

html[data-actions-ready="true"] .learn-more-label {
  opacity: 1;
  filter: none;
}

.learn-more-pixels {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--button-pixel-cols, 14), 1fr);
  grid-template-rows: repeat(var(--button-pixel-rows, 5), 1fr);
  pointer-events: none;
}

.learn-more-pixel {
  background: var(--button-pixel-color, rgba(104, 232, 255, 0.54));
  opacity: 0;
  transform: scale(1.08);
}

html[data-actions-ready="true"] .learn-more-pixel {
  animation: button-pixel-dissolve 760ms steps(1, end) forwards;
  animation-delay: var(--pixel-delay, 0ms);
}

.learn-more-button:hover,
.learn-more-button:focus-visible {
  background: rgba(12, 31, 46, 0.88);
  box-shadow:
    0 0 0 1px rgba(255, 250, 240, 0.28),
    0 0 28px rgba(104, 232, 255, 0.24),
    0 0 24px rgba(255, 139, 44, 0.15),
    0 16px 42px rgba(0, 0, 0, 0.4);
  color: var(--paper);
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.learn-more-button:active {
  transform: translateY(0) scale(0.96);
}

.learn-more-button.is-transitioning {
  pointer-events: none;
}

.transition {
  z-index: 100;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: clip;
}

.transition__panel {
  opacity: 0;
  flex-flow: row;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.transition__col {
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  display: flex;
}

.transition__pixel {
  aspect-ratio: 1;
  background-color: var(--pixel);
  opacity: 0;
  width: 100%;
}

.field-control {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-right: 0;
  border-bottom: 0;
  background: rgba(53, 14, 8, 0.78);
  color: rgba(255, 250, 240, 0.82);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.35rem;
  line-height: 1;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.field-control:hover,
.field-control:focus-visible {
  background: rgba(83, 24, 14, 0.9);
  color: var(--paper);
}

.field-control:disabled {
  cursor: default;
  opacity: 0.64;
}

:focus-visible {
  outline: 2px solid rgba(255, 250, 240, 0.86);
  outline-offset: 4px;
}

html.detail-root,
html.detail-root body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.detail-body {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(104, 232, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 232, 255, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 139, 44, 0.11), transparent 22rem),
    linear-gradient(90deg, rgba(104, 232, 255, 0.06), transparent 36%, rgba(255, 139, 44, 0.045)),
    #02040a;
  background-size:
    2rem 2rem,
    2rem 2rem,
    auto,
    auto,
    auto;
  color: var(--paper);
}

.profile-home {
  position: fixed;
  top: 1.15rem;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 2.62rem;
  height: 2.62rem;
  place-items: center;
  transform: translateX(-50%);
  background: rgba(7, 16, 27, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 250, 240, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.24);
  color: rgba(255, 250, 240, 0.76);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(14px);
  image-rendering: pixelated;
  transition:
    background 170ms ease,
    box-shadow 170ms ease,
    color 170ms ease,
    transform 170ms cubic-bezier(0.2, 0, 0, 1);
}

.profile-home:hover,
.profile-home:focus-visible {
  background: rgba(11, 26, 42, 0.94);
  box-shadow:
    0 0 0 1px rgba(255, 250, 240, 0.26),
    0 0 22px rgba(104, 232, 255, 0.14),
    0 12px 34px rgba(0, 0, 0, 0.3);
  color: var(--paper);
  transform: translateX(-50%) translateY(-1px);
}

.profile-home:active {
  transform: translateX(-50%) scale(0.96);
}

.meaning-search {
  position: fixed;
  top: 1.88rem;
  right: max(1.25rem, calc((100vw - 44rem) / 2));
  z-index: 4;
  color: rgba(104, 232, 255, 0.72);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transition:
    color 160ms ease,
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.meaning-search:hover,
.meaning-search:focus-visible {
  color: var(--paper);
  text-shadow: 0 0 14px rgba(104, 232, 255, 0.38);
  transform: translateY(-1px);
}

.meaning-search:active {
  transform: scale(0.96);
}

.profile-rail {
  position: fixed;
  top: 42%;
  left: 1.4rem;
  z-index: 1;
  display: grid;
  gap: 0.58rem;
  opacity: 0.72;
}

.profile-rail span {
  display: block;
  width: 0.78rem;
  height: 0.1rem;
  background: rgba(255, 250, 240, 0.18);
}

.profile-rail span:first-child {
  height: 0.14rem;
  background: rgba(104, 232, 255, 0.62);
}

.profile-page {
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
  padding: 6.4rem 0 4.2rem;
}

.profile-top {
  display: contents;
}

.profile-avatar {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  margin: 0 0 2.8rem;
  place-items: center;
  background:
    linear-gradient(90deg, transparent 0 34%, rgba(104, 232, 255, 0.14) 34% 66%, transparent 66%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.1), rgba(255, 250, 240, 0.045));
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 240, 0.16),
    0 0 22px rgba(104, 232, 255, 0.1);
  color: rgba(255, 250, 240, 0.82);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.92rem;
  font-weight: 800;
  image-rendering: pixelated;
}

.profile-intro {
  margin-bottom: 2.4rem;
}

.definition-kicker {
  margin: 0 0 0.52rem;
  color: rgba(104, 232, 255, 0.72);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}

.definition-title {
  margin: 0 0 0.62rem;
  color: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.62rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  text-align: left;
  text-shadow: none;
  white-space: normal;
}

.definition-title a {
  color: rgba(104, 232, 255, 0.86);
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-decoration-color: rgba(104, 232, 255, 0.38);
  text-underline-offset: 0.13em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.definition-title a:hover,
.definition-title a:focus-visible {
  color: var(--paper);
  text-decoration-color: rgba(255, 250, 240, 0.72);
}

.profile-line {
  margin: 0.12rem 0;
  color: rgba(255, 250, 240, 0.7);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.42;
  text-wrap: pretty;
}

.profile-line a {
  color: rgba(255, 250, 240, 0.82);
  text-decoration-line: underline;
  text-decoration-thickness: 0.07em;
  text-decoration-color: rgba(255, 139, 44, 0.48);
  text-underline-offset: 0.14em;
}

.bio-space {
  margin-bottom: 2.15rem;
  padding: 0.92rem 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.1),
    inset 0 -1px 0 rgba(255, 250, 240, 0.08);
}

.bio-space h2,
.project-index h2 {
  margin: 0 0 0.58rem;
  color: rgba(255, 250, 240, 0.9);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

.bio-space p {
  margin: 0;
  color: rgba(255, 250, 240, 0.56);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.project-index h2 {
  margin-bottom: 0.15rem;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8.4rem, 12.5rem);
  gap: 1.35rem;
  align-items: start;
  padding: 1.02rem 0 1.08rem;
  box-shadow: inset 0 -1px 0 rgba(255, 250, 240, 0.085);
}

.project-row:first-of-type {
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.085),
    inset 0 -1px 0 rgba(255, 250, 240, 0.085);
}

.project-row--muted {
  opacity: 0.44;
}

.project-meta {
  margin: 0 0 0.35rem;
  color: rgba(104, 232, 255, 0.66);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.35;
}

.project-main h3 {
  margin: 0 0 0.34rem;
  color: var(--paper);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.22;
  text-wrap: balance;
}

.project-main h3 a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 0.07em;
  text-decoration-color: rgba(255, 139, 44, 0.42);
  text-underline-offset: 0.12em;
}

.project-main h3 a:hover,
.project-main h3 a:focus-visible {
  color: rgba(104, 232, 255, 0.92);
  text-decoration-color: rgba(104, 232, 255, 0.5);
}

.project-main p:not(.project-meta) {
  margin: 0;
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.48;
  text-wrap: pretty;
}

.project-tags {
  margin: 0;
  padding-top: 1.45rem;
  color: rgba(255, 139, 44, 0.76);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}

html.detail-root {
  color-scheme: light;
  background: #eef3f0;
}

.jun-body {
  --jun-bg: #eef3f0;
  --jun-ink: #0a0b0c;
  --jun-muted: #4e5558;
  --jun-soft: #d7dfdc;
  --jun-soft-hover: #cbd5d1;

  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12rem, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 26rem),
    var(--jun-bg);
  color: var(--jun-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jun-body :focus-visible {
  outline: 2px solid rgba(10, 11, 12, 0.78);
  outline-offset: 4px;
}

.jun-home {
  position: fixed;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 4;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  color: rgba(10, 11, 12, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.jun-home:hover,
.jun-home:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.06);
  color: var(--jun-ink);
  transform: translateY(-1px);
}

.jun-home:active {
  transform: scale(0.96);
}

.jun-page {
  width: min(100% - 2rem, 43.5rem);
  margin: 0 auto;
  padding: clamp(3.1rem, 7vh, 5.25rem) 0 clamp(1.6rem, 3vh, 2.35rem);
}

@media (min-width: 900px) {
  .jun-page {
    transform: translateX(clamp(3rem, 5vw, 7rem));
  }
}

.jun-hero {
  display: grid;
  grid-template-columns: 10.6rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.55rem;
}

.jun-headshot {
  display: block;
  width: 10.6rem;
  height: 10.6rem;
  justify-self: center;
  object-fit: cover;
  border-radius: 3rem;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 22px 52px rgba(24, 34, 30, 0.12);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.jun-intro {
  min-width: 0;
}

.jun-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.28rem;
}

.jun-titlebar h1 {
  width: auto;
  margin: 0;
  color: var(--jun-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.03rem;
  font-weight: 800;
  line-height: 1;
  text-align: left;
  text-shadow: none;
  text-wrap: balance;
  white-space: normal;
}

.jun-socials {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
  margin-top: -0.28rem;
}

.jun-socials a {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 999px;
  color: var(--jun-ink);
  transition:
    background 160ms ease,
    color 160ms ease,
    filter 160ms ease,
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.jun-socials svg {
  display: block;
  width: 1.16rem;
  height: 1.16rem;
  fill: currentColor;
}

.jun-socials a:hover,
.jun-socials a:focus-visible {
  background: rgba(10, 11, 12, 0.055);
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.jun-socials a:active {
  transform: scale(0.96);
}

.jun-lede {
  max-width: 32rem;
  margin: 0.72rem 0 0;
  color: var(--jun-muted);
  font-size: 1.54rem;
  font-weight: 700;
  line-height: 1.07;
  text-wrap: balance;
}

.jun-lede span {
  color: var(--jun-ink);
}

.jun-section {
  margin-top: 1.45rem;
}

.jun-section h2 {
  margin: 0 0 0.34rem;
  color: var(--jun-ink);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.24;
  text-wrap: balance;
}

.jun-section p,
.jun-section li {
  color: var(--jun-muted);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.34;
  text-wrap: pretty;
}

.jun-section p {
  margin: 0.24rem 0 0;
}

.jun-section ul {
  margin: 0.36rem 0 0;
  padding-left: 1.42rem;
}

.jun-section li {
  margin: 0.2rem 0;
  padding-left: 0.48rem;
}

.jun-section li::marker {
  color: rgba(10, 11, 12, 0.78);
  font-size: 0.84em;
}

.jun-section a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-decoration-color: rgba(10, 11, 12, 0.42);
  text-underline-offset: 0.13em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.jun-section a:hover,
.jun-section a:focus-visible {
  color: var(--jun-ink);
  text-decoration-color: rgba(10, 11, 12, 0.74);
}

.jun-section--timeline {
  margin-top: 2.05rem;
}

.jun-timeline {
  display: grid;
  gap: 0.26rem;
  margin: 0.58rem 0 0;
  padding: 0;
  list-style: none;
}

.jun-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: 0;
  padding: 0.08rem 0;
}

.jun-age {
  color: rgba(10, 11, 12, 0.42);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.jun-event {
  color: var(--jun-muted);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.32;
  text-wrap: pretty;
}

.jun-event a {
  color: var(--jun-ink);
}

.jun-beliefs {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.54rem;
}

.jun-beliefs p {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: baseline;
  margin: 0;
  padding: 0;
  color: var(--jun-muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
  text-wrap: pretty;
}

.jun-beliefs span {
  color: rgba(10, 11, 12, 0.32);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.jun-cta-note {
  max-width: 30rem;
  margin: 2.1rem 0 0;
  color: var(--jun-ink);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.24;
  text-wrap: balance;
}

.jun-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.jun-book {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.56rem;
  margin-top: 0.85rem;
  padding: 0 0.9rem 0 0.98rem;
  border-radius: 0.62rem;
  background: var(--jun-soft);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.04);
  color: var(--jun-ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.jun-book svg {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
  transform: translateY(-0.5px);
}

.jun-book:hover,
.jun-book:focus-visible {
  background: var(--jun-soft-hover);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.jun-book:active {
  transform: scale(0.96);
}

.jun-actions .jun-book {
  margin-top: 0;
}

.jun-design-link {
  background: rgba(255, 255, 255, 0.52);
}

.jun-design-link:hover,
.jun-design-link:focus-visible {
  background: rgba(255, 255, 255, 0.8);
}

.design-body {
  --jun-bg: #eef3f0;
  --jun-ink: #0a0b0c;
  --jun-muted: #4e5558;

  min-height: 100svh;
  overflow-x: hidden;
  background: var(--jun-bg);
  color: var(--jun-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.design-body :focus-visible {
  outline: 2px solid rgba(10, 11, 12, 0.78);
  outline-offset: 4px;
}

.design-nav {
  display: flex;
  width: min(100% - 3rem, 68rem);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding-top: 1.45rem;
}

.design-nav a {
  color: rgba(10, 11, 12, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  transition:
    color 160ms ease,
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.design-nav a:hover,
.design-nav a:focus-visible {
  color: var(--jun-ink);
}

.design-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.design-back svg {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.design-back:hover,
.design-back:focus-visible {
  transform: translateX(-2px);
}

.design-name:hover,
.design-name:focus-visible {
  transform: translateY(-1px);
}

.design-page {
  width: min(100% - 3rem, 68rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.25rem) 0 5rem;
}

.design-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.3rem, 5vw, 4rem);
}

.design-heading > div > p {
  margin: 0 0 0.55rem;
  color: #297e8d;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.design-heading h1 {
  width: auto;
  margin: 0;
  color: var(--jun-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.96;
  text-align: left;
  text-shadow: none;
  text-wrap: balance;
  white-space: normal;
}

.design-intro {
  max-width: 24rem;
  margin: 0 0 0.15rem;
  color: var(--jun-muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.48;
  text-wrap: pretty;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1.25rem;
}

.work-card {
  display: block;
  min-width: 0;
  color: var(--jun-ink);
}

.work-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0.3rem;
  background: #dce4e1;
  box-shadow: 0 0 0 1px rgba(10, 11, 12, 0.09);
  transition:
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.2, 0, 0, 1);
}

.work-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0.08rem 0;
}

.work-card-meta h2 {
  margin: 0 0 0.2rem;
  color: var(--jun-ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

.work-card-meta p {
  margin: 0;
  color: rgba(10, 11, 12, 0.46);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.work-card-meta p span::before {
  margin: 0 0.38rem;
  color: #d86f20;
  content: "/";
}

.work-open {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 11, 12, 0.045);
  color: rgba(10, 11, 12, 0.58);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms cubic-bezier(0.2, 0, 0, 1);
}

.work-open svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.work-card:hover .work-preview,
.work-card:focus-visible .work-preview {
  box-shadow:
    0 0 0 1px rgba(10, 11, 12, 0.14),
    0 14px 28px rgba(23, 35, 31, 0.09);
  transform: translateY(-2px);
}

.work-card:hover .work-preview img,
.work-card:focus-visible .work-preview img {
  transform: scale(1.012);
}

.work-card:hover .work-open,
.work-card:focus-visible .work-open {
  background: var(--jun-ink);
  color: #fffaf0;
  transform: translate(2px, -2px);
}

.work-card:active .work-preview {
  transform: none;
}

@media (max-width: 760px) {
  .stage {
    padding: 1.2rem;
  }

  .identity {
    width: 100%;
    margin-top: 0;
  }

  h1 {
    font-size: 2.24rem;
  }

  .typewriter {
    width: 15ch;
  }

  .role-line {
    max-width: 24rem;
    font-size: 0.72rem;
  }

  .identity-actions {
    margin-top: 1.22rem;
  }

  .learn-more-button {
    min-width: 8.8rem;
    min-height: 2.62rem;
    font-size: 0.72rem;
  }

  .jun-home {
    top: 0.9rem;
    left: 0.9rem;
  }

  .jun-page {
    width: min(100% - 2rem, 36rem);
    padding-top: 5rem;
    padding-bottom: 4.2rem;
  }

  .jun-hero {
    grid-template-columns: 7.2rem minmax(0, 1fr);
    gap: 1.2rem;
    margin-bottom: 3rem;
  }

  .jun-headshot {
    width: 7.2rem;
    height: 7.2rem;
    border-radius: 2rem;
  }

  .jun-titlebar {
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.05rem;
  }

  .jun-titlebar h1 {
    font-size: 1.55rem;
  }

  .jun-socials {
    gap: 0;
    margin-right: -0.35rem;
  }

  .jun-socials a {
    width: 2.15rem;
    height: 2.15rem;
  }

  .jun-lede {
    margin-top: 0.68rem;
    font-size: 1.32rem;
    line-height: 1.12;
  }

  .jun-section {
    margin-top: 2rem;
  }

  .jun-section h2 {
    font-size: 1rem;
  }

  .jun-section p,
  .jun-section li {
    font-size: 0.98rem;
    line-height: 1.46;
  }

  .jun-section--timeline {
    margin-top: 2.7rem;
  }

  .jun-timeline li {
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.16rem 0;
  }

  .jun-event,
  .jun-beliefs p {
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .jun-beliefs p {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.72rem;
  }

  .jun-cta-note {
    margin-top: 2.75rem;
    font-size: 1.08rem;
  }

  .jun-actions .jun-book {
    min-height: 3.45rem;
    font-size: 1rem;
  }

  .design-nav,
  .design-page {
    width: min(100% - 2rem, 42rem);
  }

  .design-page {
    padding-top: 3.8rem;
  }

  .design-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.25rem;
  }

  .design-heading h1 {
    font-size: 3rem;
  }

  .design-intro {
    max-width: 31rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .profile-page {
    width: min(100% - 2rem, 44rem);
    padding-top: 5.7rem;
    padding-bottom: 3.6rem;
  }

  .profile-avatar {
    margin-bottom: 2.3rem;
  }

  .profile-intro {
    margin-bottom: 2.15rem;
  }

  .profile-rail {
    display: none;
  }

  .meaning-search {
    right: 1rem;
  }

  .definition-title {
    font-size: 1.55rem;
  }

  .profile-line,
  .bio-space p,
  .project-main p:not(.project-meta) {
    font-size: 0.9rem;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 0.38rem;
    padding: 0.95rem 0 1rem;
  }

  .project-tags {
    padding-top: 0;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .jun-page {
    width: min(100% - 2rem, 34rem);
  }

  .jun-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.25rem;
    text-align: center;
  }

  .jun-titlebar {
    justify-content: center;
  }

  .jun-lede {
    margin-right: auto;
    margin-left: auto;
  }

  .design-nav,
  .design-page {
    width: min(100% - 2rem, 34rem);
  }

  .design-page {
    padding-top: 3rem;
  }

  .design-heading h1 {
    font-size: 2.55rem;
  }

  .design-intro {
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.86rem;
  }

  .role-line {
    font-size: 0.66rem;
  }

  .learn-more-button {
    min-width: 8.2rem;
  }

  .jun-page {
    width: min(100% - 1.5rem, 34rem);
  }

  .jun-headshot {
    width: 6.9rem;
    height: 6.9rem;
  }

  .jun-titlebar h1 {
    font-size: 1.48rem;
  }

  .jun-lede {
    font-size: 1.24rem;
  }

  .jun-timeline li {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .jun-age {
    font-size: 0.7rem;
  }

  .jun-beliefs p {
    grid-template-columns: 1.8rem minmax(0, 1fr);
  }
}

@keyframes type-name {
  from {
    width: 0;
  }
  to {
    width: 15ch;
  }
}

@keyframes blink-caret {
  0%,
  49% {
    border-color: rgba(255, 250, 240, 0.92);
  }
  50%,
  100% {
    border-color: transparent;
  }
}

@keyframes button-pixel-dissolve {
  0% {
    opacity: 0.95;
    transform: scale(1.08);
  }
  60% {
    opacity: 0.42;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .identity {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .typewriter {
    width: 15ch;
    animation: none;
  }

  .identity-actions,
  .learn-more-label {
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: none;
  }

  .learn-more-pixel {
    display: none;
  }
}
