:root {
  --ink: #111214;
  --paper: #FAFAF8;
  --surface: #EFEFEB;
  --line: #DCDCD6;
  --line-soft: #E6E6E1;
  --body: #3A3D42;
  --muted: #585C63;
  --accent: #1F48E0;
  --accent-hover: #132E9C;
  --mark-bg: #FFE08A;
  --mark-fg: #3A2E00;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

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

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.mark {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--mark-bg);
  color: var(--mark-fg);
  padding: 5px 8px;
  border-radius: 4px;
  vertical-align: middle;
}

.muted {
  color: var(--muted);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--ink);
}

.brand-avatar {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.about-in-footer .brand-avatar {
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--line);
}

.nav a[aria-current=page] {
  border-bottom-color: var(--ink);
}

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

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

.site-footer .links {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid var(--ink);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #2a2c31;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font: 500 14px/1 var(--sans);
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #C9CAC4;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.chip[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tag-pill {
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #C9CAC4;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--body);
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: #FDE7E4;
  color: #A12A1E;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill.is-finished {
  background: #E1F0E6;
  color: #1E6B45;
}

.status-pill.is-building {
  background: #E6ECFD;
  color: #1A3BB8;
}

.poster {
  width: 100%;
  aspect-ratio: var(--ratio, 16/10);
  container-type: inline-size;
  position: relative;
  overflow: hidden;
}

.poster-mark {
  position: absolute;
  top: 2.2cqw;
  left: 2.2cqw;
  z-index: 2;
  font-family: var(--mono);
  font-size: max(10px, 1.5cqw);
  letter-spacing: 0.05em;
  background: var(--mark-bg);
  color: var(--mark-fg);
  padding: 0.7em 0.9em;
  border-radius: 4px;
  line-height: 1;
}

.poster-frame {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.home-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: flex-start;
}

.home-main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-bottom: 96px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  max-width: 920px;
}

.hero .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
}

.hero .mark {
  align-self: flex-start;
}

.hero .chips {
  padding-top: 8px;
}

.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  color: inherit;
}

.card:hover .cta {
  text-decoration: underline;
}

.card:hover .poster-frame {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
}

.card-title {
  font-size: 24px;
}

.card-tagline {
  color: var(--body);
}

.cta {
  font-weight: 600;
  color: var(--accent);
}

.card-text .cta {
  padding-top: 4px;
}

.card-lead .poster-frame {
  border-radius: 14px;
}

.card-lead .card-text {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  padding-top: 20px;
}

.card-lead .card-text > div {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-lead .card-title {
  font-size: 34px;
  letter-spacing: -0.015em;
}

.card-lead .card-tagline {
  font-size: 18px;
}

.play-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.featured {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px 28px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.section-head h2 {
  font-size: 26px;
}

.section-head .links {
  display: flex;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

.compact-card {
  display: flex;
  gap: 20px;
  align-items: center;
}

.compact-card .poster-frame {
  flex: 0 0 176px;
  border-radius: 10px;
}

.compact-card .card-text {
  padding-top: 0;
  gap: 4px;
  min-width: 0;
}

.compact-card .card-title {
  font-size: 20px;
}

.compact-card .card-tagline, .compact-card .cta {
  font-size: 15px;
}

.row-list {
  display: flex;
  flex-direction: column;
}

.row-link {
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--line-soft);
}

.row-link:hover {
  color: inherit;
}

.row-link:hover .row-title {
  text-decoration: underline;
}

.archive-row {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr) 56px 20px;
  grid-template-areas: "name desc year arrow";
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
}

.archive-row .row-title {
  grid-area: name;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.archive-row .desc {
  grid-area: desc;
  font-size: 15px;
  color: var(--body);
}

.archive-row .year {
  grid-area: year;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.archive-row .arrow {
  grid-area: arrow;
}

.post-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
}

.post-row .date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.post-row .row-title {
  font-size: 18px;
  font-weight: 500;
}

.post-row .meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.about-sidebar {
  flex: 1 1 280px;
  max-width: 320px;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-portrait {
  position: relative;
  width: 180px;
}

.about-portrait img {
  display: block;
  width: 180px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.about-portrait .mark {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 10px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--body);
}

.about-text h2 {
  font-size: 26px;
  color: var(--ink);
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
}

.contact-box .primary {
  font-size: 17px;
  font-weight: 600;
}

.contact-box .secondary {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.about-links a {
  color: var(--body);
}

.about-band {
  background: var(--surface);
}

.about-band .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 64px;
}

.about-band .about-portrait img {
  width: 150px;
  height: 200px;
}

.about-band .about-portrait {
  width: 150px;
}

.about-band .about-text {
  flex: 2 1 380px;
  font-size: 18px;
}

.about-band .about-text h2 {
  font-size: 32px;
}

.about-band .contact-box {
  flex: 1 1 260px;
  background: var(--paper);
  padding: 24px;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-bottom: 96px;
}

.back-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
}

.project-hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 16px;
}

.project-hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
  align-items: flex-end;
  justify-content: space-between;
}

.project-intro {
  flex: 999 1 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.project-intro h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.project-intro .tagline {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  color: var(--body);
  max-width: 720px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.facts {
  flex: 1 1 320px;
  max-width: 420px;
  margin: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px 20px;
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.facts dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  padding-top: 2px;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
}

.demo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo .poster-frame {
  border-radius: 16px;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.demo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 40px;
  font-size: 16px;
  color: var(--body);
}

.demo figcaption > span:first-child {
  flex: 1 1 520px;
  max-width: 820px;
}

.demo figcaption b {
  color: var(--ink);
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.project-body h2 {
  font-size: 32px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-visual {
  aspect-ratio: 4/3;
  border-radius: 12px;
  padding: 22px;
  position: relative;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  overflow: hidden;
}

.step-visual .mark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 10px;
}

.step-code {
  background: #1E1F24;
  color: #D6D8DD;
}

.step-log {
  background: var(--surface);
  line-height: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-world {
  background: #8FD0F5;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--sans);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px 64px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.two-col > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.two-col h2 {
  font-size: 26px;
}

.two-col p {
  font-size: 18px;
  color: var(--body);
}

.decision {
  background: var(--ink);
  color: #F2F2EE;
  border-radius: 20px;
  padding: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}

.decision .main {
  flex: 2 1 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.decision .label {
  color: #A8ACB3;
}

.decision h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.decision p {
  font-size: 18px;
  color: #D6D8DD;
  max-width: 640px;
}

.decision a {
  color: #A9B8FF;
  font-weight: 600;
  font-size: 17px;
  align-self: flex-start;
}

.decision dl {
  flex: 1 1 260px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: center;
}

.decision dl div {
  border-left: 3px solid #5A5E66;
  padding-left: 16px;
}

.decision dl div + div {
  border-left-color: #E5483A;
}

.decision dd {
  margin: 4px 0 0;
  font-size: 17px;
}

.progress {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
  align-items: flex-start;
}

.progress-lists {
  flex: 1 1 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.progress-lists h2 {
  font-size: 26px;
}

.progress-lists ul {
  margin: 10px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--body);
}

.build-log {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.build-log .section-head {
  padding-bottom: 16px;
}

.build-log .section-head h2 {
  font-size: 32px;
}

.log-row {
  display: grid;
  grid-template-columns: 130px 120px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.log-row .date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.log-row .kind {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.log-row .kind.is-story {
  color: var(--accent);
}

.log-row .kind.is-release {
  color: #A12A1E;
}

.log-row .row-title {
  font-size: 19px;
  font-weight: 600;
}

.log-row .sub {
  display: block;
  font-size: 15px;
  color: var(--muted);
}

.creation-story {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border-radius: 16px;
  padding: 28px;
}

.creation-story .poster-frame {
  flex: 0 0 220px;
  border-radius: 10px;
}

.creation-story .row-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}

.next-project {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.next-project .row-link {
  border-top: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.next-project .row-link > span:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.next-project .row-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
}

.next-project .poster-frame {
  width: 160px;
  border-radius: 8px;
}

.provisional-note {
  display: flex;
  gap: 12px;
  align-items: baseline;
  background: #FFF6D6;
  border: 1px solid #EFD98A;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--mark-fg);
}

.light-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
  align-items: flex-start;
}

.light-row > .poster-frame {
  flex: 1 1 480px;
  min-width: 0;
  border-radius: 14px;
}

.light-text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.light-text h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.light-text .tagline {
  font-size: 22px;
  line-height: 1.35;
  color: var(--body);
}

.problem {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: var(--surface);
  border-radius: 12px;
  font-size: 17px;
}

.light-text .facts {
  flex: none;
  max-width: none;
  border-top: 0;
  padding-top: 0;
  grid-template-columns: 110px minmax(0, 1fr);
}

.install {
  font-family: var(--mono);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 10px;
}

.story-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
  justify-content: center;
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 96px;
}

.story-aside {
  flex: 1 1 240px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.story-aside .row-link {
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-aside .row-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.story-aside .aside-block {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.story-aside .aside-block a {
  color: var(--body);
}

.aside-author {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.author {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.author-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.author-head img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-head h2 {
  font-size: 20px;
  line-height: 1.2;
}

.author p {
  font-size: 15px;
  color: var(--body);
}

.author a {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent) !important;
}

.article {
  flex: 999 1 560px;
  max-width: 720px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.article > .mark {
  align-self: flex-start;
}

.article h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.article .dek {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--body);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.article .figure {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article .figure figcaption {
  font-size: 14px;
  color: var(--muted);
}

.prose {
  font-size: 19px;
  line-height: 1.7;
  display: flow-root;
}

.prose > * {
  margin: 0;
}

.prose > * + * {
  margin-top: 22px;
}

.prose h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-top: 40px;
}

.prose h3 {
  font-size: 23px;
  margin-top: 30px;
}

.prose ul, .prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 6px;
}

.prose img {
  height: auto;
  border-radius: 8px;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--surface);
  padding: 2px 5px;
  border-radius: 4px;
}

.prose pre, .prose .highlight pre {
  background: #16181B;
  color: #E6E7EA;
  border-radius: 10px;
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.8;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.prose .highlighter-rouge {
  margin: 0;
}

.prose blockquote {
  padding: 4px 0 4px 24px;
  border-left: 4px solid #E5483A;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.35;
  font-weight: 500;
}

.prose blockquote p {
  margin: 0;
}

.prose table {
  border-collapse: collapse;
  font-size: 16px;
}

.prose th, .prose td {
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
}

.story-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}

.story-nav .row-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.story-nav .row-link.is-primary {
  background: var(--surface);
  border-color: var(--surface);
}

.story-nav .row-title {
  font-size: 18px;
  font-weight: 600;
}

.story-author-inline {
  display: none;
}

.page {
  max-width: 760px;
  padding-top: 24px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page h1 {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.02em;
}

.page-wide {
  max-width: 1040px;
}

.year-group {
  display: flex;
  flex-direction: column;
}

.year-group h2 {
  font-size: 22px;
  padding: 24px 0 8px;
}

.menu {
  display: none;
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border: 1px solid #C9CAC4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 8px;
}

.menu-panel a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 8px;
}

.menu-panel a:hover {
  background: var(--surface);
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  .site-header {
    border-bottom: 1px solid var(--line-soft);
  }
  .site-header .wrap {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .brand {
    font-size: 20px;
    gap: 10px;
  }
  .brand-avatar {
    display: block;
    width: 40px;
    height: 40px;
  }
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .home-layout {
    gap: 0;
  }
  .home-main {
    gap: 48px;
    padding-bottom: 56px;
  }
  .hero {
    padding-top: 24px;
    gap: 14px;
  }
  .hero .lede {
    font-size: 16px;
  }
  .hero .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 4px 20px;
  }
  .chip {
    flex: 0 0 auto;
  }
  .card-lead .poster-frame {
    border-radius: 12px;
  }
  .card-lead .card-title {
    font-size: 26px;
  }
  .card-lead .card-tagline {
    font-size: 16px;
  }
  .card-lead .card-text {
    padding-top: 14px;
    gap: 4px;
    flex-direction: column;
    align-items: flex-start;
  }
  .card-lead .card-text > div {
    flex-basis: auto;
  }
  .play-chip {
    left: 12px;
    bottom: 12px;
    font-size: 13px;
    padding: 8px 12px 8px 8px;
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-title {
    font-size: 22px;
  }
  .section {
    gap: 16px;
    padding-top: 24px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .compact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .compact-card {
    gap: 14px;
  }
  .compact-card .poster-frame {
    flex-basis: 120px;
    border-radius: 8px;
  }
  .compact-card .card-title {
    font-size: 17px;
    font-family: var(--sans);
  }
  .compact-card .card-tagline, .compact-card .cta {
    font-size: 14px;
  }
  .archive-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name year" "desc desc";
    gap: 2px 12px;
  }
  .archive-row .desc {
    font-size: 14px;
  }
  .archive-row .arrow {
    display: none;
  }
  .post-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 0;
  }
  .post-row .meta {
    grid-row: 1;
  }
  .post-row .date {
    grid-row: 1;
  }
  .post-row .row-title {
    font-size: 17px;
    line-height: 1.35;
  }
  .about-sidebar {
    max-width: none;
    flex-basis: 100%;
    margin: 0 -20px;
    padding: 40px 20px;
    background: var(--surface);
    gap: 18px;
  }
  .about-sidebar .contact-box {
    background: var(--paper);
  }
  .about-portrait, .about-portrait img {
    width: 96px;
    height: 128px;
  }
  .about-band .wrap {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 18px;
  }
  .project {
    gap: 40px;
    padding-bottom: 48px;
  }
  .project-hero {
    padding-top: 8px;
    gap: 16px;
  }
  .project-hero-row {
    gap: 24px;
  }
  .facts {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px 14px;
    max-width: none;
  }
  .demo {
    margin: 0 -20px;
  }
  .demo .poster-frame {
    border-radius: 0;
  }
  .demo figcaption {
    padding: 0 20px;
    font-size: 15px;
  }
  .play-button {
    width: 72px;
    height: 72px;
  }
  .project-body {
    gap: 40px;
  }
  .project-body h2 {
    font-size: 24px;
  }
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px 8px;
  }
  .steps li {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
  .two-col {
    gap: 32px;
    padding-top: 24px;
  }
  .two-col p {
    font-size: 16px;
  }
  .decision {
    padding: 28px 22px;
    border-radius: 16px;
  }
  .decision p {
    font-size: 15px;
  }
  .log-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 10px;
    padding: 14px 0;
  }
  .log-row .row-text {
    grid-column: 1/-1;
  }
  .log-row .row-title {
    font-size: 17px;
  }
  .log-row .sub {
    display: none;
  }
  .creation-story {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .creation-story .poster-frame {
    flex-basis: auto;
    width: 100%;
  }
  .creation-story .row-title {
    font-size: 22px;
  }
  .next-project .poster-frame {
    width: 120px;
  }
  .next-project .row-title {
    font-size: 22px;
  }
  .story-layout {
    padding-top: 24px;
    padding-bottom: 40px;
    gap: 24px;
  }
  .story-aside {
    order: 2;
    max-width: none;
    flex-basis: 100%;
    padding-top: 0;
  }
  .story-aside > .label, .story-aside > .project-link, .story-aside > .aside-block {
    display: none;
  }
  .story-project-bar {
    display: flex !important;
  }
  .article {
    gap: 18px;
  }
  .article .figure {
    margin: 0 -20px;
  }
  .article .figure .poster-frame {
    border-radius: 0;
  }
  .article .figure figcaption {
    padding: 0 20px;
    font-size: 13px;
  }
  .prose {
    font-size: 18px;
  }
  .prose > * + * {
    margin-top: 18px;
  }
  .prose h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .prose pre, .prose .highlight pre {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    padding: 16px 20px;
    font-size: 13px;
  }
  .prose blockquote {
    font-size: 22px;
    padding-left: 18px;
  }
}
.story-project-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.story-project-bar .poster-frame {
  width: 64px;
  border-radius: 6px;
  flex: 0 0 64px;
}

.story-project-bar span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.story-project-bar strong {
  font-size: 15px;
}

/*# sourceMappingURL=site.css.map */