:root {
  --paper: #f2efe7;
  --paper-deep: #e7e2d8;
  --ink: #111713;
  --ink-soft: #37413a;
  --muted: #6c746d;
  --line: rgba(17, 23, 19, 0.14);
  --lime: #c8ff5a;
  --lime-deep: #95d925;
  --orange: #ff7247;
  --blue: #4e9fff;
  --violet: #9b8cff;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --sans: "Segoe UI Variable Display", "Segoe UI", "PingFang SC",
    "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --radius-lg: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 3% 12%, rgba(255, 114, 71, 0.09), transparent 25rem),
    radial-gradient(circle at 89% 3%, rgba(151, 185, 105, 0.14), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.shell {
  width: min(1280px, calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(242, 239, 231, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  font-size: 19px;
}

.brand-note {
  margin-left: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 590;
}

.main-nav > a {
  position: relative;
  transition: color 160ms ease;
}

.main-nav > a:not(.nav-github)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:hover {
  color: var(--ink);
}

.main-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.nav-github svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.hero {
  display: grid;
  min-height: 760px;
  padding-block: 78px 100px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.76fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 114, 71, 0.12);
}

.hero h1 {
  max-width: 850px;
  margin: 27px 0 32px;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 105px);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

.hero h1 em,
.section-heading h2 em,
.release-heading h2 em,
.about-copy h2 em {
  position: relative;
  display: inline-block;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.01em;
  left: 0.02em;
  height: 0.28em;
  border-radius: 999px;
  background: var(--lime);
  content: "";
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  margin-top: 37px;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 680;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button-primary {
  background: var(--ink);
  color: white;
}

.button-primary:hover {
  background: #26352c;
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.button-quiet:hover {
  border-color: rgba(17, 23, 19, 0.3);
  background: rgba(255, 255, 255, 0.62);
}

.hero-stats {
  display: grid;
  max-width: 600px;
  margin: 64px 0 0;
  grid-template-columns: repeat(3, 1fr);
}

.hero-stats > div {
  padding: 4px 0 4px 21px;
  border-left: 1px solid var(--line);
}

.hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats dt {
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.release-board {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  padding: 26px 30px 24px;
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #121a15;
  background-size: 42px 42px;
  box-shadow:
    0 35px 80px rgba(17, 23, 19, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  color: #f7f5ee;
}

.release-board::before {
  position: absolute;
  top: -170px;
  right: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(200, 255, 90, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(200, 255, 90, 0.025),
    0 0 0 140px rgba(200, 255, 90, 0.018);
  content: "";
}

.board-head,
.board-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.board-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
}

.board-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(200, 255, 90, 0.8);
}

.board-total {
  position: relative;
  z-index: 1;
  display: flex;
  margin: 62px 0 48px;
  align-items: flex-end;
  gap: 18px;
}

.board-number {
  color: var(--lime);
  font-family: var(--serif);
  font-size: clamp(94px, 9vw, 145px);
  letter-spacing: -0.095em;
  line-height: 0.76;
}

.board-caption {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.55;
}

.board-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-list li {
  display: grid;
  padding: 17px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.project-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.project-dot--lime {
  background: var(--lime);
}

.project-dot--blue {
  background: var(--blue);
}

.project-dot--violet {
  background: var(--violet);
}

.project-dot--orange {
  background: var(--orange);
}

.board-project {
  font-size: 14px;
  font-weight: 630;
}

.board-version {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 11px;
}

.board-footer {
  position: absolute;
  right: 30px;
  bottom: 24px;
  left: 30px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-bars {
  display: flex;
  height: 15px;
  align-items: flex-end;
  gap: 3px;
}

.signal-bars i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--lime);
}

.signal-bars i:nth-child(2) {
  height: 8px;
}

.signal-bars i:nth-child(3) {
  height: 12px;
}

.signal-bars i:nth-child(4) {
  height: 7px;
}

.signal-bars i:nth-child(5) {
  height: 14px;
}

.signal-bars i:nth-child(6) {
  height: 9px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding-block: 17px;
  animation: marquee 35s linear infinite;
}

.ticker-track span {
  padding-right: 0.7em;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.projects-section {
  padding-block: 128px 144px;
}

.section-heading {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: 70px;
  align-items: end;
}

.section-heading h2,
.release-heading h2,
.about-copy h2 {
  margin: 21px 0 0;
  font-family: var(--serif);
  font-size: clamp(54px, 6.3vw, 88px);
  font-weight: 400;
  letter-spacing: -0.066em;
  line-height: 0.94;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

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

.project-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 23, 19, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.48);
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 280ms ease;
}

.project-card:hover {
  box-shadow: 0 28px 65px rgba(27, 35, 30, 0.11);
  transform: translateY(-5px);
}

.project-card--dark {
  border-color: rgba(255, 255, 255, 0.08);
  background: #141b17;
  color: #f4f1e8;
}

.project-card--mint {
  background: #dce9e2;
}

.project-card--orange {
  background: #f1ddce;
}

.project-card--violet {
  background: #e9e3f5;
}

.project-card--paper {
  background: #eee1d3;
}

.project-card--tts {
  background: #171b1a;
}

.project-visual {
  position: relative;
  display: flex;
  min-height: 390px;
  overflow: hidden;
  padding: 36px 34px 0;
  align-items: center;
  justify-content: center;
}

.project-visual::after {
  position: absolute;
  right: -12%;
  bottom: -40%;
  left: -12%;
  height: 70%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(26px);
  content: "";
}

.project-visual--ssh {
  background:
    radial-gradient(circle at 82% 23%, rgba(200, 255, 90, 0.12), transparent 28%),
    #0d120f;
}

.project-visual--mail {
  padding-top: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 58%),
    #cfdfd7;
}

.project-visual--agent {
  padding: 35px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 114, 71, 0.18), transparent 48%),
    #ead4c3;
}

.project-visual--frame {
  padding: 40px 34px 0;
  background:
    radial-gradient(circle at 18% 17%, rgba(155, 140, 255, 0.31), transparent 34%),
    #ded7ec;
}

.project-visual--chess {
  padding-top: 42px;
  background:
    radial-gradient(circle at 83% 9%, rgba(199, 66, 49, 0.12), transparent 32%),
    #e8dccd;
}

.project-visual--tts {
  background:
    radial-gradient(circle at 80% 15%, rgba(200, 255, 90, 0.12), transparent 32%),
    #101611;
}

.browser-frame,
.code-window,
.event-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px 15px 0 0;
  background: #141817;
  box-shadow: 0 24px 55px rgba(7, 13, 9, 0.3);
}

.project-visual--mail .browser-frame,
.project-visual--chess .browser-frame {
  border-color: rgba(17, 23, 19, 0.16);
  box-shadow: 0 25px 55px rgba(42, 50, 44, 0.17);
}

.window-bar {
  display: grid;
  min-height: 36px;
  padding-inline: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #171d1a;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.window-bar > span:nth-child(2) {
  overflow: hidden;
  max-width: 220px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-state {
  justify-self: end;
  text-transform: uppercase;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-dots i:first-child {
  background: #ff7157;
}

.window-dots i:nth-child(2) {
  background: #f2bd4d;
}

.window-dots i:nth-child(3) {
  background: #70c969;
}

.project-visual--mail .window-bar,
.project-visual--chess .window-bar {
  border-color: rgba(17, 23, 19, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(17, 23, 19, 0.5);
}

.project-visual--mail .window-dots i,
.project-visual--chess .window-dots i {
  background: rgba(17, 23, 19, 0.2);
}

.project-visual--mail .window-dots i:first-child,
.project-visual--chess .window-dots i:first-child {
  background: #d75d4a;
}

.project-visual--mail .window-dots i:nth-child(2),
.project-visual--chess .window-dots i:nth-child(2) {
  background: #d6a43c;
}

.project-visual--mail .window-dots i:nth-child(3),
.project-visual--chess .window-dots i:nth-child(3) {
  background: #5c9c63;
}

.project-visual .browser-frame img {
  width: 100%;
  aspect-ratio: 1.52;
  object-fit: cover;
  object-position: top center;
}

.project-visual--ssh .browser-frame {
  transform: rotate(-1.2deg) translateY(5px);
  transform-origin: center;
}

.project-visual--mail .browser-frame {
  transform: rotate(1.1deg) translateY(8px);
}

.project-visual--chess .browser-frame {
  transform: rotate(-0.8deg) translateY(8px);
}

.project-visual--tts .browser-frame {
  transform: rotate(0.8deg) translateY(7px);
}

.visual-stamp {
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 20px;
  color: rgba(255, 255, 255, 0.27);
  font-family: var(--serif);
  font-size: 45px;
  font-style: italic;
  letter-spacing: -0.06em;
}

.project-card:not(.project-card--dark) .visual-stamp {
  color: rgba(17, 23, 19, 0.19);
}

.code-window {
  border-color: rgba(28, 22, 46, 0.2);
  background: #171626;
  color: #d9d4ea;
  transform: rotate(-1.4deg) translateY(7px);
}

.code-window .window-bar img {
  width: 18px;
  height: 18px;
  justify-self: end;
  border-radius: 4px;
}

.code-window pre {
  min-height: 255px;
  margin: 0;
  padding: 28px 27px 24px;
  font-family: var(--mono);
  font-size: clamp(11px, 1.08vw, 14px);
  line-height: 1.78;
  tab-size: 4;
  white-space: pre-wrap;
}

.code-window code {
  font-family: inherit;
}

.code-comment {
  color: #747087;
}

.code-string {
  color: #d4f37c;
}

.code-accent {
  color: #b7adff;
}

.code-status {
  display: flex;
  min-height: 32px;
  padding-inline: 14px;
  background: #201e35;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 8px;
  gap: 15px;
  align-items: center;
}

.code-status span:first-child {
  margin-right: auto;
  color: #c8ff5a;
}

.code-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}

.event-panel {
  padding: 22px;
  border-color: rgba(20, 29, 24, 0.18);
  background: rgba(255, 250, 244, 0.64);
  box-shadow: 0 22px 50px rgba(91, 57, 35, 0.15);
  color: var(--ink);
}

.event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #746657;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.event-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.event-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.agent-node {
  position: relative;
  display: flex;
  width: 154px;
  margin: 28px auto 27px;
  padding: 13px 16px 13px 50px;
  border: 1px solid rgba(17, 23, 19, 0.14);
  border-radius: 14px;
  background: #fffaf4;
  flex-direction: column;
  box-shadow: 0 12px 27px rgba(78, 51, 30, 0.09);
}

.agent-node strong {
  font-size: 13px;
}

.agent-node small {
  margin-top: 2px;
  color: #8c7d70;
  font-family: var(--mono);
  font-size: 7px;
}

.agent-orb {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 23px;
  height: 23px;
  border: 7px solid #ff9b79;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 114, 71, 0.1);
  transform: translateY(-50%);
}

.event-sequence {
  display: grid;
  margin-bottom: 24px;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.event-sequence span {
  display: grid;
  height: 38px;
  border: 1px solid rgba(17, 23, 19, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.64);
  color: #715c4b;
  font-family: var(--mono);
  font-size: 9px;
  place-items: center;
}

.event-sequence span:nth-child(3),
.event-sequence span:nth-child(4) {
  border-color: rgba(255, 114, 71, 0.34);
  background: rgba(255, 114, 71, 0.09);
}

.client-lanes {
  display: grid;
  padding-block: 14px;
  border-block: 1px solid rgba(17, 23, 19, 0.11);
  gap: 8px;
}

.client-lanes div {
  display: grid;
  grid-template-columns: 22px minmax(20px, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.client-lanes span {
  display: grid;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #242d27;
  color: #fff5eb;
  font-family: var(--mono);
  font-size: 8px;
  place-items: center;
}

.client-lanes i {
  height: 1px;
  background: rgba(17, 23, 19, 0.16);
}

.client-lanes b {
  color: #756353;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
}

.event-store {
  display: flex;
  padding-top: 18px;
  justify-content: space-between;
  color: #806f61;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.project-content {
  display: flex;
  padding: 31px 36px 34px;
  flex: 1;
  flex-direction: column;
}

.project-meta {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-meta > span:first-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.1em;
}

.project-card--dark .project-meta > span:first-child {
  color: rgba(255, 255, 255, 0.45);
}

.version-chip,
.source-chip {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(17, 23, 19, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.31);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  align-items: center;
  gap: 6px;
}

.version-chip i,
.source-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #69ad38;
}

.project-card--dark .version-chip,
.project-card--dark .source-chip {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.66);
}

.version-chip:hover {
  border-color: currentColor;
}

.project-content h3 {
  margin: 20px 0 19px;
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.057em;
  line-height: 0.98;
}

.project-content h3 em {
  font-family: var(--serif);
  font-size: 0.96em;
  font-style: italic;
  font-weight: 400;
}

.project-content h3 span {
  color: #80b6bc;
}

.project-card--dark .project-content h3 em {
  color: var(--lime);
}

.project-card--orange .project-content h3 em {
  color: #b8492d;
}

.project-card--violet .project-content h3 em {
  color: #5c4bb2;
}

.project-content > p {
  min-height: 78px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.project-card--dark .project-content > p {
  color: rgba(255, 255, 255, 0.63);
}

.feature-list {
  display: grid;
  margin: 24px 0 29px;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.project-card--dark .feature-list li {
  color: rgba(255, 255, 255, 0.68);
}

.feature-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.feature-list code {
  font-family: var(--mono);
  font-size: 0.95em;
}

.project-footer {
  display: flex;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 23, 19, 0.11);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-card--dark .project-footer {
  border-color: rgba(255, 255, 255, 0.11);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(17, 23, 19, 0.055);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.project-card--dark .tag-list span {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.47);
}

.project-links {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  font-weight: 680;
}

.project-links a {
  color: var(--ink-soft);
  transition: color 150ms ease;
}

.project-links a:hover {
  color: var(--ink);
}

.project-card--dark .project-links a {
  color: rgba(255, 255, 255, 0.72);
}

.project-card--dark .project-links a:hover {
  color: var(--lime);
}

.release-section {
  padding-block: 132px 140px;
  background: #101612;
  color: #f4f1e8;
}

.release-heading {
  display: grid;
  margin-bottom: 65px;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: 80px;
  align-items: end;
}

.release-heading .section-label {
  color: rgba(255, 255, 255, 0.43);
}

.release-heading h2 em {
  color: var(--lime);
}

.release-heading h2 {
  margin-top: 0;
}

.release-heading > div > p {
  max-width: 560px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.75;
}

.release-table {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.release-row {
  display: grid;
  min-height: 75px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  grid-template-columns: 1.35fr 1.08fr 0.8fr 0.72fr 28px;
  align-items: center;
  gap: 20px;
}

a.release-row {
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

a.release-row:hover {
  background: rgba(255, 255, 255, 0.045);
  color: white;
}

.release-row--head {
  min-height: 46px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.release-row b {
  color: #f4f1e8;
  font-size: 14px;
  font-weight: 630;
}

.release-row code {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
}

.muted-value {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 11px;
}

.row-arrow {
  color: rgba(255, 255, 255, 0.38);
  font-size: 18px;
  transition: transform 180ms ease;
}

a.release-row:hover .row-arrow {
  color: var(--lime);
  transform: translate(3px, -3px);
}

.about-section {
  display: grid;
  padding-block: 140px 150px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 100px;
}

.about-copy h2 {
  margin-top: 26px;
}

.about-copy h2 em {
  color: #475f46;
}

.about-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.72;
}

.principles {
  margin-top: 43px;
  border-top: 1px solid var(--line);
}

.principles > div {
  display: grid;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 38px 1fr;
  gap: 18px;
}

.principles span {
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.principles strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.author-link {
  display: grid;
  margin-top: 34px;
  padding: 17px 20px 17px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.32);
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.author-link:hover {
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-2px);
}

.author-mark {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--mono);
  place-items: center;
}

.author-link small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.author-link strong {
  font-size: 17px;
}

.author-arrow {
  color: var(--muted);
  font-size: 21px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand--footer .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 13px;
}

.brand--footer .brand-name {
  font-size: 16px;
}

.footer-inner p,
.footer-inner > a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.footer-inner > a {
  transition: color 160ms ease;
}

.footer-inner > a:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero {
    padding-block: 60px 85px;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(54px, 7.3vw, 78px);
  }

  .release-board {
    min-height: 535px;
    padding-inline: 25px;
  }

  .board-total {
    margin-block: 50px 36px;
  }

  .board-number {
    font-size: 108px;
  }

  .project-visual {
    min-height: 330px;
    padding-inline: 25px;
  }

  .project-content {
    padding: 27px 28px 30px;
  }

  .project-content h3 {
    font-size: 42px;
  }

  .project-footer {
    align-items: flex-end;
  }

  .about-section {
    gap: 65px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 38px, 720px);
  }

  .brand-note {
    display: none;
  }

  .main-nav {
    position: fixed;
    z-index: 49;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 42px 28px;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-family: var(--serif);
    font-size: 34px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .main-nav > a {
    width: 100%;
    padding: 11px 0;
  }

  .main-nav .nav-github {
    width: auto;
    margin-top: 20px;
    padding: 10px 16px;
    font-family: var(--sans);
    font-size: 14px;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-button {
    display: block;
  }

  .site-header.is-scrolled,
  .menu-open .site-header {
    background: var(--paper);
  }

  .hero {
    min-height: auto;
    padding-block: 65px 78px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero h1 {
    font-size: clamp(54px, 11.8vw, 83px);
  }

  .hero-lead {
    max-width: 620px;
  }

  .release-board {
    min-height: 535px;
  }

  .projects-section {
    padding-block: 95px 105px;
  }

  .section-heading,
  .release-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading > p {
    max-width: 560px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 410px;
    padding-inline: 44px;
  }

  .project-content {
    min-height: 390px;
    padding: 34px 38px 38px;
  }

  .project-content h3 {
    font-size: clamp(42px, 7vw, 55px);
  }

  .release-section {
    padding-block: 95px 105px;
  }

  .release-row {
    grid-template-columns: 1.3fr 1fr 0.8fr 0.75fr 20px;
    gap: 12px;
  }

  .about-section {
    padding-block: 100px 110px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-copy {
    max-width: 650px;
  }

  .about-body {
    max-width: 620px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 14px;
  }

  .main-nav {
    top: 68px;
    padding: 30px 22px;
  }

  .hero {
    padding-block: 47px 63px;
    gap: 42px;
  }

  .hero h1 {
    margin-block: 22px 26px;
    font-size: clamp(45px, 13.3vw, 68px);
    line-height: 0.97;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 28px;
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    min-height: 48px;
  }

  .hero-stats {
    margin-top: 45px;
  }

  .hero-stats > div {
    padding-left: 14px;
  }

  .hero-stats dt {
    font-size: 27px;
  }

  .hero-stats dd {
    font-size: 10px;
  }

  .release-board {
    min-height: 500px;
    padding: 22px 20px;
    border-radius: 23px;
  }

  .board-total {
    margin-block: 48px 34px;
  }

  .board-number {
    font-size: 98px;
  }

  .board-list li {
    padding-block: 15px;
  }

  .board-footer {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .ticker-track {
    padding-block: 14px;
  }

  .projects-section {
    padding-block: 76px 86px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .release-heading h2,
  .about-copy h2 {
    font-size: clamp(44px, 13.3vw, 61px);
  }

  .section-heading > p {
    font-size: 14px;
  }

  .project-grid {
    gap: 15px;
  }

  .project-card {
    border-radius: 23px;
  }

  .project-card:hover {
    transform: none;
  }

  .project-visual {
    min-height: 247px;
    padding: 24px 17px 0;
  }

  .project-visual--agent {
    padding: 22px 17px;
  }

  .visual-stamp {
    top: 10px;
    right: 13px;
    font-size: 34px;
  }

  .window-bar {
    min-height: 29px;
    font-size: 6px;
  }

  .window-bar > span:nth-child(2) {
    max-width: 140px;
  }

  .project-content {
    min-height: 0;
    padding: 24px 21px 25px;
  }

  .project-meta {
    gap: 10px;
  }

  .project-meta > span:first-child {
    font-size: 8px;
  }

  .version-chip,
  .source-chip {
    padding: 5px 7px;
    font-size: 8px;
  }

  .project-content h3 {
    margin-block: 17px 16px;
    font-size: 41px;
  }

  .project-content > p {
    min-height: 0;
    font-size: 13px;
    line-height: 1.72;
  }

  .feature-list {
    margin-block: 19px 23px;
  }

  .feature-list li {
    font-size: 11px;
  }

  .project-footer {
    align-items: flex-end;
    gap: 10px;
  }

  .project-links {
    gap: 11px;
    font-size: 10px;
  }

  .code-window pre {
    min-height: 178px;
    padding: 20px 17px;
    font-size: 10px;
  }

  .code-status {
    display: none;
  }

  .event-panel {
    padding: 15px;
    border-radius: 12px;
  }

  .agent-node {
    margin-block: 18px;
  }

  .event-sequence {
    margin-bottom: 18px;
  }

  .event-sequence span {
    height: 30px;
  }

  .client-lanes {
    padding-block: 10px;
  }

  .event-store {
    padding-top: 13px;
  }

  .release-section {
    padding-block: 76px 86px;
  }

  .release-heading {
    margin-bottom: 40px;
  }

  .release-heading > div > p {
    margin-top: 23px;
    font-size: 13px;
  }

  .release-row--head {
    display: none;
  }

  .release-row {
    min-height: 108px;
    padding-block: 16px;
    grid-template-columns: 1fr auto;
    gap: 4px 18px;
  }

  .release-row [role="cell"] {
    display: flex;
    font-size: 10px;
    justify-content: space-between;
    gap: 18px;
  }

  .release-row [role="cell"]::before {
    color: rgba(255, 255, 255, 0.31);
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .release-row [role="cell"]:first-child {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }

  .release-row [role="cell"]:first-child::before {
    display: none;
  }

  .release-row [role="cell"]:nth-child(4) {
    display: none;
  }

  .release-row .row-arrow {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
  }

  .about-section {
    padding-block: 80px 90px;
    gap: 41px;
  }

  .about-lead {
    font-size: 16px;
  }

  .principles {
    margin-top: 33px;
  }

  .principles > div {
    padding-block: 17px;
  }

  .footer-inner {
    min-height: 125px;
    padding-block: 26px;
    flex-wrap: wrap;
    align-content: center;
  }

  .footer-inner p {
    order: 3;
    width: 100%;
  }
}

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

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

  .reveal.will-reveal {
    opacity: 1;
    transform: none;
  }
}
