@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-variable-italic.woff2") format("woff2-variations");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --canvas: #e7efeb;
  --paper: #f4f7f3;
  --ink: #13251e;
  --muted: #5f6d67;
  --line: #afbeb6;
  --line-soft: #cfdbd5;
  --accent: #168b62;
  --accent-soft: #cfe8db;
  --panel: #1d2b26;
  --panel-text: #eaf0ed;
  --panel-muted: #9caaa4;
  --signal: #67e1ae;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
::selection { background: var(--accent); color: white; }

.blog-header {
  width: min(calc(100% - 48px), 1120px);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.blog-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .17em;
}
.blog-brand img { width: 31px; height: 24px; display: block; }
.blog-header > nav:not(.mobile-nav) {
  justify-self: end;
  display: flex;
  gap: 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
.blog-header nav a { padding: 7px 0 5px; border-bottom: 1px solid transparent; }
.blog-header nav a:hover, .blog-header nav a[aria-current="page"] { border-color: var(--ink); }
.menu-button, .mobile-nav { display: none; }

.blog-main, .blog-footer {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
}
.blog-intro {
  padding: clamp(72px, 10vw, 132px) 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: end;
}
.post-label {
  margin: 0 0 15px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.blog-intro h1, .project-intro h1, .archive-intro h1, .not-found h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.blog-intro h1 { font-size: clamp(58px, 7.4vw, 90px); line-height: .96; }
.intro-copy {
  max-width: 670px;
  margin: 34px 0 0;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.48;
}
.now-card, .status-panel {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(244, 247, 243, .46);
}
.now-card > p, .status-panel > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.now-card dl, .status-panel dl { margin: 0; }
.now-card dl div, .status-panel dl div {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
}
.now-card dt, .status-panel dt { font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.now-card dd, .status-panel dd { margin: 0; font-size: 13px; }
.now-card > a {
  margin-top: 20px;
  display: inline-block;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.latest-notes, .project-index, .build-log { margin-bottom: 100px; }
.section-bar {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.section-bar h2, .section-bar a, .section-bar span {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}
.section-bar a, .section-bar span { color: var(--muted); }
.post-row {
  padding: 30px 0 32px;
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 30px;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.post-row time, .log-entry time {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
.post-row h3, .log-entry h3 {
  margin: 0 0 8px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.post-row h3 a:hover { color: var(--accent); }
.post-row p:last-child, .log-entry p:last-child { max-width: 720px; margin: 0; color: var(--muted); }
.post-arrow { align-self: center; font-family: "IBM Plex Mono", monospace; color: var(--accent); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.project-grid article {
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}
.project-number {
  align-self: flex-end;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
.project-grid h3 {
  margin: 8px 0 12px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.project-grid article > p:not(.post-label) { max-width: 430px; margin: 0; font-size: 19px; }
.project-grid ul { margin: 28px 0; padding: 0; list-style: none; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.project-grid li { padding: 6px 0; border-top: 1px solid var(--line-soft); }
.project-grid article > a { margin-top: auto; color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; }

.beta-section {
  margin: 0 0 104px;
  padding: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 9vw, 110px);
  background: var(--ink);
  color: var(--paper);
}
.beta-section h2 {
  margin: 0 0 18px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}
.beta-section > div > p:last-child { color: #b8c7c0; }
.beta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; align-content: start; }
.beta-form label { color: #b8c7c0; font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.beta-form input, .beta-form select {
  width: 100%;
  height: 48px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid #53645c;
  border-radius: 0;
  outline: none;
  background: #22332b;
  color: white;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
}
.beta-form input:focus, .beta-form select:focus { border-color: var(--signal); }
.beta-form button {
  min-height: 48px;
  align-self: end;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--ink);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}
.beta-form button:hover { background: transparent; color: var(--signal); }
.beta-form small { grid-column: 1 / -1; color: #91a299; font-size: 11px; }

.blog-footer {
  min-height: 100px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
.blog-footer p { margin: 0; }
.blog-footer > nav { justify-self: end; display: flex; gap: 20px; }
.blog-footer a:hover { color: var(--accent); }

.content-intro {
  max-width: 860px;
  padding: clamp(72px, 10vw, 124px) 0 72px;
}
.content-intro h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(62px, 9vw, 108px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.045em;
}
.content-intro .intro-copy { max-width: 720px; }
.about-copy {
  margin: 0 0 104px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}
.about-copy article {
  min-height: 300px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--canvas);
}
.about-copy h2 {
  max-width: 420px;
  margin: 0 0 24px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.03em;
}
.about-copy p { max-width: 560px; margin: 0 0 18px; color: var(--muted); }
.text-link { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; }
.support-group { margin-bottom: 88px; }
.support-group > header { padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.support-group > header h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}
.faq-list { margin: 0; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-item dt { margin: 0 0 8px; font-weight: 650; }
.faq-item dd { max-width: 760px; margin: 0; color: var(--muted); }
.support-contact {
  margin: 0 0 104px;
  padding: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(244, 247, 243, .46);
}
.support-contact h2 { margin: 0 0 8px; font-family: "Newsreader", Georgia, serif; font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -.03em; }
.support-contact p { margin: 0; color: var(--muted); }

.project-intro {
  padding: clamp(62px, 9vw, 112px) 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, .65fr);
  gap: clamp(50px, 9vw, 118px);
  align-items: end;
}
.project-intro h1 { font-size: clamp(76px, 11vw, 132px); line-height: .83; }
.project-lede { max-width: 680px; margin: 35px 0 0; font-size: clamp(20px, 2vw, 25px); line-height: 1.42; }
.project-links { margin-top: 36px; display: flex; align-items: center; gap: 28px; font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.solid-link { padding: 12px 16px; background: var(--accent); color: white; }
.project-links a:not(.solid-link):hover { color: var(--accent); }
.status-panel strong { margin: 0 0 22px; display: block; font-family: "IBM Plex Mono", monospace; font-size: 31px; font-weight: 400; color: var(--accent); }

.instrument-preview {
  padding: 28px;
  margin-bottom: 100px;
  border: 1px solid var(--line);
  background: var(--accent-soft);
}

.screenshot-showcase {
  margin-bottom: 100px;
}

.product-shot {
  margin: 0;
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #26352f;
  background: #0d0d10;
}

.product-shot figcaption {
  padding: 10px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.product-shot figcaption span:first-child {
  color: var(--ink);
  font-weight: 600;
}

.supporting-shots {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.product-visual {
  min-height: 430px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid #3a4b43;
  background: var(--panel);
  color: var(--panel-text);
  font-family: "IBM Plex Mono", monospace;
  box-shadow: 0 16px 34px rgba(19, 37, 30, .12);
}
.device-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-bottom: 22px; border-bottom: 1px solid #41534b; }
.device-header b { font-size: 18px; }
.device-header span { padding: 6px 10px; border: 1px solid #52655c; color: var(--signal); font-size: 11px; }
.device-header small { justify-self: end; color: var(--panel-muted); font-size: 10px; }
.track-strip { margin: 30px 0 20px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.track-strip i { padding: 7px 0; border: 1px solid #4b5d55; color: var(--panel-muted); text-align: center; font-style: normal; font-size: 10px; }
.track-strip i.active { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.sample-display { height: 112px; padding: 14px; position: relative; border: 1px solid #46584f; background: #16221d; overflow: hidden; }
.sample-display span { position: relative; z-index: 2; color: var(--panel-muted); font-size: 10px; }
.sample-display svg { width: 100%; height: 78px; position: absolute; left: 0; bottom: 0; }
.sample-display path { fill: none; stroke: var(--signal); stroke-width: 2; }
.mini-controls { margin: 17px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-controls span { display: flex; justify-content: space-between; padding: 8px; border-bottom: 1px solid #46584f; color: var(--panel-muted); font-size: 9px; }
.mini-controls b { color: var(--panel-text); font-weight: 400; }
.seq-grid { display: grid; grid-template-columns: repeat(16, 1fr); gap: 7px; }
.seq-grid i { aspect-ratio: 1; border: 1px solid #52655c; background: #293a32; }
.seq-grid i.on { border-color: var(--signal); background: var(--signal); }
.fm-ui { display: grid; grid-template-rows: auto 1fr; }
.algorithm-map { min-height: 180px; margin: 30px 0 20px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: start; position: relative; }
.algorithm-map i { width: 36px; height: 36px; z-index: 2; display: grid; place-items: center; justify-self: center; border: 1px solid var(--signal); border-radius: 50%; background: var(--panel); color: var(--signal); font-style: normal; font-size: 10px; }
.algorithm-map svg { width: 100%; height: 160px; position: absolute; inset: 0; }
.algorithm-map path { fill: none; stroke: #607269; stroke-width: 1; }
.operator-sliders { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.operator-sliders span { height: 125px; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; border: 1px solid #46584f; background: #1a2822; }
.operator-sliders span > i { height: var(--level); display: block; border-top: 2px solid var(--signal); background: linear-gradient(to bottom, rgba(103,225,174,.24), transparent); }
.operator-sliders b { color: var(--panel-muted); font-size: 9px; font-weight: 400; }

.project-section { margin-bottom: 100px; }
.project-section > header { max-width: 720px; margin-bottom: 44px; }
.project-section > header h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.feature-notes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.feature-notes article { min-height: 230px; padding: 24px 22px 24px 0; border-bottom: 1px solid var(--line); }
.feature-notes article:not(:nth-child(3n+1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.feature-notes h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.35; }
.feature-notes p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-story { margin-bottom: 112px; }
.feature-story > header { max-width: 760px; margin-bottom: 38px; }
.feature-story > header h2 {
  margin: 0 0 20px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.feature-story > header > p:last-child { max-width: 670px; margin: 0; color: var(--muted); font-size: 18px; }
.story-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.log-entry { padding: 30px 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; border-bottom: 1px solid var(--line); }

.archive-intro { max-width: 800px; padding: 90px 0 68px; }
.archive-intro h1 { font-size: clamp(62px, 9vw, 104px); line-height: .9; }
.archive-intro > p:last-child { max-width: 650px; margin-top: 30px; font-size: 21px; }
.archive-list { margin-bottom: 100px; }
.experiment-grid { margin: 0 0 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.experiment-grid article { min-height: 270px; padding: 28px; display: flex; flex-direction: column; background: var(--canvas); }
.experiment-grid h3 { margin: 5px 0 14px; font-family: "Newsreader", Georgia, serif; font-size: 38px; font-weight: 500; }
.experiment-grid p:not(.post-label) { color: var(--muted); }
.experiment-grid a { margin-top: auto; color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 11px; }

.not-found { width: min(calc(100% - 48px), 1120px); min-height: 100vh; margin: 0 auto; padding: 26px 0 70px; display: flex; flex-direction: column; }
.not-found section { margin: auto 0; padding: 70px 0; border-block: 1px solid var(--line); }
.not-found section > p:first-child { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 11px; text-transform: uppercase; }
.not-found h1 { font-size: clamp(64px, 10vw, 120px); line-height: .84; }
.not-found section > div { max-width: 470px; margin: 35px 0 0 auto; }
.not-found section > div p { color: var(--muted); }
.not-found .solid-link { margin-top: 15px; display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 11px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .blog-header, .blog-main, .blog-footer, .not-found { width: min(calc(100% - 32px), 1120px); }
  .blog-header { min-height: 62px; grid-template-columns: 1fr auto; }
  .blog-header > nav:not(.mobile-nav) { display: none; }
  .menu-button { display: block; padding: 7px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 11px; cursor: pointer; }
  .mobile-nav { width: 100%; padding: 16px; position: absolute; top: 61px; left: 0; display: none; flex-direction: column; gap: 8px; border: 1px solid var(--line); background: var(--paper); font-family: "IBM Plex Mono", monospace; font-size: 13px; }
  .mobile-nav.is-open { display: flex; }
  .blog-intro, .project-intro { grid-template-columns: 1fr; gap: 48px; }
  .blog-intro { padding: 68px 0 70px; }
  .blog-intro h1 { font-size: clamp(49px, 15vw, 68px); }
  .intro-copy { margin-top: 26px; font-size: 18px; }
  .post-row { grid-template-columns: 1fr 24px; gap: 18px; }
  .post-row time { grid-column: 1 / -1; }
  .project-grid, .feature-notes, .experiment-grid { grid-template-columns: 1fr; }
  .project-grid article { min-height: 340px; }
  .project-grid article + article, .experiment-grid article + article { border-top: 1px solid var(--line); }
  .beta-section { padding: 32px 22px; grid-template-columns: 1fr; gap: 36px; }
  .beta-form { grid-template-columns: 1fr; }
  .beta-form small { grid-column: auto; }
  .blog-footer { grid-template-columns: 1fr; gap: 6px; }
  .blog-footer > nav { justify-self: start; flex-wrap: wrap; gap: 8px 18px; }
  .about-copy { grid-template-columns: 1fr; }
  .about-copy article { min-height: 0; }
  .about-copy article + article { border-top: 1px solid var(--line); }
  .support-contact { grid-template-columns: 1fr; }
  .project-intro { padding: 64px 0 52px; }
  .project-intro h1 { font-size: clamp(74px, 25vw, 112px); }
  .project-links { align-items: flex-start; flex-direction: column; gap: 18px; }
  .instrument-preview { margin-inline: -16px; padding: 12px; overflow: hidden; }
  .screenshot-showcase { margin-inline: -16px; }
  .supporting-shots { grid-template-columns: 1fr; gap: 28px; }
  .story-shots { grid-template-columns: 1fr; gap: 28px; }
  .product-shot figcaption { padding-inline: 16px; flex-direction: column; gap: 1px; }
  .product-visual { min-height: 350px; padding: 16px; }
  .device-header { grid-template-columns: 1fr auto; }
  .device-header small { display: none; }
  .mini-controls { grid-template-columns: repeat(2, 1fr); }
  .seq-grid { grid-template-columns: repeat(8, 1fr); }
  .algorithm-map { min-height: 150px; }
  .algorithm-map i { width: 27px; height: 27px; }
  .operator-sliders { gap: 5px; }
  .operator-sliders span { height: 100px; padding: 5px; }
  .feature-notes article, .feature-notes article:not(:nth-child(3n+1)) { min-height: 0; padding: 22px 0; border-left: 0; }
  .log-entry { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
