@charset "UTF-8";

:root {
  color-scheme: light;
  --page: #f5f4ed;
  --paper: #fcfcf7;
  --forest: #18251f;
  --ink: #25342b;
  --muted: #667167;
  --line: #d9ded2;
  --orange: #e85e35;
  --orange-ink: #bd3d19;
  --sage: #e1e8da;
  --sidebar-width: 216px;
  --radius: 12px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

button,
input,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--orange-ink);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--forest);
  background: #f3bc92;
}

.app-shell {
  min-height: 100vh;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon,
.nav-icon,
.capability-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border: 2px solid var(--forest);
  border-radius: 7px;
  color: var(--forest);
  background: var(--paper);
  font-weight: 650;
  transform: translateY(-200%);
}

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

.results-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.brand-period,
.tiny-star {
  color: var(--orange);
}

.tiny-star {
  font-size: 14px;
  line-height: 1;
}

.nav-count {
  margin-left: auto;
  padding: 2px 5px;
  border: 1px solid #51604d;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.2;
}

.nav-count:empty {
  display: none;
}

.badge-dot {
  display: none;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  padding: 34px 22px 26px;
  overflow-y: auto;
  background: var(--forest);
  color: #f3f3e9;
}

.brand {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 11px;
  width: fit-content;
  margin: 0 0 54px 5px;
}

.brand > svg,
.brand > img {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-wordmark {
  color: #f9f9ee;
  font-size: 27px;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-caption {
  display: block;
  margin-top: 6px;
  color: #a7b1a6;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.nav-label {
  margin: 0 13px 12px;
  color: #a8b4a7;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sidebar nav {
  display: grid;
  gap: 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #bbc5b9;
  font-size: 12px;
  font-weight: 520;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.nav-link:hover {
  color: #f6f7ed;
  background: #25352c;
}

.nav-link.active {
  color: #f5f6eb;
  border-color: #3a493d;
  background: #2e3d31;
}

.nav-link.active .nav-icon {
  color: #ecbd85;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nav-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.sidebar :focus-visible {
  outline-color: #ffb88d;
}

.sidebar-footer {
  margin-top: auto;
  padding: 36px 10px 0;
}

.sidebar-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border: 1px solid #56634f;
  border-radius: 50%;
  background: #324230;
  color: #dfdec1;
}

.sidebar-avatar svg,
.sidebar-avatar img {
  width: 23px;
  height: 23px;
}

.sidebar-note {
  max-width: 150px;
  margin: 0 0 16px;
  color: #a6b4a2;
  font-size: 11px;
  line-height: 1.7;
}

.sidebar-note strong {
  display: block;
  margin-bottom: 4px;
  color: #dde5d8;
  font-weight: 550;
}

.owner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #bcc7b6;
  font-size: 10px;
  font-weight: 500;
}

.owner-link:hover {
  color: #fff7e6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.owner-link svg {
  width: 13px;
  height: 13px;
}

.main-content {
  width: calc(100% - var(--sidebar-width));
  max-width: 1444px;
  min-width: 0;
  margin-left: var(--sidebar-width);
  padding: 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 89px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumb strong,
.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 550;
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  color: #919b8c;
}

.public-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid #cfd9c6;
  border-radius: 5px;
  color: #4e6547;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.public-badge::before {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #647d54;
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: 38px;
  min-height: 422px;
  padding: 46px 0 42px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-copy > .eyebrow::before {
  width: 19px;
  height: 1px;
  background: var(--orange);
  content: "";
}

.hero-title {
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 4.85vw, 76px);
  font-weight: 570;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-title em {
  color: var(--orange);
  font-style: normal;
  font-weight: inherit;
}

.hero-description {
  max-width: 440px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button svg {
  width: 14px;
  height: 14px;
}

.button-primary {
  color: #fffaf3;
  background: #c74822;
  border-color: #c74822;
}

.button-primary:hover {
  background: #ae3b19;
  border-color: #ae3b19;
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: #cbd2c4;
}

.button-secondary:hover {
  background: #e9ece1;
  border-color: #aebca3;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  align-self: stretch;
}

.hero-art img {
  width: 100%;
  max-width: 480px;
  max-height: 390px;
  object-fit: contain;
}

.hero-art > svg {
  display: block;
  width: 100%;
  max-height: 370px;
}

.overview-strip {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 97px;
  padding: 22px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eeefe5;
}

.overview-stat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 25px;
  border-right: 1px solid #d5dccd;
}

.overview-stat:first-child {
  padding-left: 0;
}

.overview-stat strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1;
}

.overview-stat span {
  color: #67735e;
  font-size: 10px;
  line-height: 1.5;
}

.strip-note {
  max-width: 220px;
  margin: 0 0 0 auto;
  padding-left: 24px;
  color: #687460;
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}

.projects-section {
  padding-top: 48px;
  scroll-margin-top: 28px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 23px;
}

.section-heading .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}

.section-heading h2,
.about-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.section-heading p:not(.eyebrow):not(.section-meta) {
  max-width: 590px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.section-meta {
  margin: 0 0 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  white-space: nowrap;
}

.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #65705f;
  background: transparent;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.filter-button:hover {
  color: var(--ink);
  background: #e7ebdf;
}

.filter-button.active {
  color: #fffdf2;
  background: var(--ink);
}

.filter-button span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  opacity: 0.75;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 206px;
  min-width: 150px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d4dccd;
  border-radius: 7px;
  background: #f9faf4;
  color: #899580;
}

.search-field:focus-within {
  border-color: #859977;
  outline: 2px solid #dce6d2;
  outline-offset: 2px;
}

.search-field svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.search-field input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
}

.search-field input::placeholder {
  color: #77816d;
  opacity: 1;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  align-items: stretch;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5ddcd;
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: #a2b496;
  box-shadow: 0 5px 15px rgb(27 49 26 / 5%);
}

.project-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  aspect-ratio: 1.77;
  overflow: hidden;
  border-bottom: 1px solid #dce2d5;
  isolation: isolate;
}

.project-visual > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.project-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-code {
  color: #a1ba90;
  background: #233b2b;
}

.art-image {
  color: #89664c;
  background: #e6e8cc;
}

.art-play {
  color: #9d673f;
  background: #f1dfc6;
}

.art-audio {
  color: #5e7552;
  background: #d8e0ce;
}

.art-lab {
  color: #5f7173;
  background: #dce4e0;
}

.visual-window {
  width: 77%;
  overflow: hidden;
  border: 1px solid rgb(218 235 202 / 25%);
  border-radius: 7px;
  background: #1a2d20;
  box-shadow: 9px 9px 0 rgb(16 33 20 / 14%);
  transform: rotate(-3deg);
}

.visual-window-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  padding: 6px 9px;
  border-bottom: 1px solid rgb(209 232 196 / 14%);
}

.visual-window-bar span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #98aa85;
}

.visual-code {
  display: grid;
  gap: 7px;
  padding: 17px;
  color: #c3d3ac;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.visual-line {
  width: 70%;
  height: 4px;
  border-radius: 2px;
  background: #7a9562;
}

.visual-line:nth-child(2n) {
  width: 53%;
  margin-left: 13px;
  background: #aebb8c;
}

.visual-line:nth-child(3n) {
  width: 84%;
  background: #dcad73;
}

.visual-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 76%;
  height: 90px;
}

.visual-wave span {
  width: 6px;
  height: 34%;
  border-radius: 4px;
  background: #536d46;
}

.visual-wave span:nth-child(3n) {
  height: 83%;
}

.visual-wave span:nth-child(3n + 1) {
  height: 56%;
}

.visual-wave span:nth-child(5n) {
  height: 100%;
  background: #809366;
}

.visual-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid #be9b74;
  border-radius: 50%;
  color: #6c4b2f;
  background: #faf1de;
}

.visual-play svg {
  width: 27px;
  height: 27px;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px 21px 14px;
}

.project-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  color: #65775a;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-category svg {
  width: 11px;
  height: 11px;
}

.project-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.project-content > p:not(.project-category) {
  margin: 10px 0 17px;
  color: #6b7566;
  font-size: 11px;
  line-height: 1.75;
  text-wrap: pretty;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e5e9dc;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
}

.project-link:hover {
  color: var(--orange-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-link svg {
  width: 13px;
  height: 13px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #617057;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.project-status::before {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: #789260;
  content: "";
}

.empty-state {
  padding: 45px 25px;
  border: 1px dashed #bdcbb1;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.empty-state p {
  margin: 0;
}

.capabilities-section {
  margin-top: 50px;
  padding: 33px 0 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 28px;
}

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

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.capability {
  position: relative;
  min-width: 0;
  padding-top: 6px;
}

.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  margin-bottom: 16px;
  border: 1px solid #d5ddca;
  border-radius: 9px;
  color: #587044;
  background: #e9ede1;
}

.capability-icon svg {
  width: 19px;
  height: 19px;
}

svg.capability-icon {
  padding: 8px;
}

.capability-number {
  float: right;
  margin-top: 8px;
  color: #77866c;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.capability h3 {
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.capability p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
  text-wrap: pretty;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 24px 48px;
  padding: 40px 0;
  scroll-margin-top: 28px;
}

.about-heading .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}

.about-heading h2 {
  max-width: 330px;
  font-size: 28px;
  line-height: 1.25;
  text-wrap: balance;
}

.about-copy p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  text-wrap: pretty;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #9dac8e;
  text-underline-offset: 3px;
}

.about-copy a:hover {
  color: var(--orange-ink);
}

.about-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid #dce2d2;
  border-radius: 8px;
  color: #63715b;
  background: #ecefe4;
  font-size: 10px;
  line-height: 1.6;
}

.about-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 76px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
  color: #6f7a67;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: #b5c0a8;
  text-underline-offset: 4px;
}

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

.site-footer .footer-brand {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.footer-brand span {
  color: var(--orange);
}

.footer-separator {
  margin: 0 8px;
  color: #a4ad9c;
}

@media (min-width: 1700px) {
  .main-content {
    margin-right: auto;
    margin-left: max(var(--sidebar-width), calc((100vw - 1228px) / 2));
  }

  .hero {
    min-height: 470px;
    gap: 60px;
  }
}

@media (max-width: 1200px) {
  :root {
    --sidebar-width: 194px;
  }

  .sidebar {
    padding-right: 16px;
    padding-left: 16px;
  }

  .main-content {
    padding-right: 30px;
    padding-left: 30px;
  }

  .hero {
    gap: 24px;
    min-height: 390px;
  }

  .hero-title {
    font-size: clamp(46px, 5.1vw, 62px);
  }

  .hero-description {
    font-size: 13px;
  }

  .overview-strip {
    padding-right: 19px;
    padding-left: 19px;
  }

  .overview-stat {
    gap: 8px;
    padding-right: 17px;
    padding-left: 17px;
  }

  .overview-stat strong {
    font-size: 23px;
  }

  .strip-note {
    max-width: 177px;
    padding-left: 17px;
    font-size: 9px;
  }

  .project-grid {
    gap: 15px;
  }

  .project-visual {
    min-height: 152px;
  }

  .project-content {
    padding: 18px 17px 12px;
  }

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

  .project-toolbar {
    gap: 9px;
  }

  .filter-list {
    gap: 2px;
  }

  .filter-button {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 15px;
  }

  .hero-title {
    font-size: 47px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 10px;
  }

  .overview-strip {
    flex-wrap: wrap;
    gap: 17px 0;
  }

  .overview-stat {
    flex: 1;
    justify-content: center;
  }

  .overview-stat:nth-child(3) {
    padding-right: 0;
    border-right: 0;
  }

  .strip-note {
    flex: 1 1 100%;
    max-width: none;
    padding: 12px 0 0;
    border-top: 1px solid #d5dccd;
    text-align: center;
  }

  .project-toolbar {
    flex-wrap: wrap;
  }

  .search-field {
    flex-basis: 100%;
    max-width: 280px;
  }

  .capability-grid {
    gap: 20px;
  }

  .about-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 25px;
  }

  .about-heading h2 {
    font-size: 24px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 134px;
  }

  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    padding: 16px 22px 9px;
    overflow: visible;
    border-bottom: 1px solid #3c4a3d;
  }

  .brand {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 9px;
    margin: 0 0 15px;
  }

  .brand > svg,
  .brand > img {
    width: 30px;
    height: 30px;
  }

  .brand-wordmark {
    font-size: 24px;
  }

  .brand-caption {
    margin-top: 4px;
    font-size: 8px;
  }

  .nav-label,
  .sidebar-footer {
    display: none;
  }

  .sidebar nav {
    display: flex;
    gap: 5px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav-link {
    flex: 1 0 auto;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 11px;
    border-radius: 6px;
    font-size: 11px;
  }

  .nav-icon,
  .nav-icon svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .nav-count {
    display: none;
  }

  .main-content {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 0 25px;
  }

  .topbar {
    min-height: 66px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 13px;
    min-height: 350px;
    padding: 37px 0;
  }

  .hero-title {
    font-size: clamp(41px, 6.8vw, 52px);
    letter-spacing: -0.04em;
  }

  .hero-description {
    margin-top: 19px;
    font-size: 12px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .button {
    padding: 10px 13px;
    font-size: 10px;
  }

  .hero-art img {
    max-height: 280px;
  }

  .overview-strip {
    flex-wrap: wrap;
    gap: 18px 0;
    padding: 20px;
  }

  .overview-stat {
    flex: 1;
    justify-content: center;
    padding-right: 15px;
    padding-left: 15px;
  }

  .overview-stat:first-child {
    justify-content: flex-start;
  }

  .overview-stat:nth-child(3) {
    justify-content: flex-end;
    padding-right: 0;
    border-right: 0;
  }

  .strip-note {
    flex: 1 1 100%;
    max-width: none;
    padding: 12px 0 0;
    border-top: 1px solid #d5dccd;
    font-size: 10px;
    text-align: left;
  }

  .projects-section {
    padding-top: 37px;
  }

  .projects-section,
  .capabilities-section,
  .about-section {
    scroll-margin-top: 135px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .project-toolbar {
    flex-wrap: wrap;
    gap: 13px;
  }

  .search-field {
    flex-basis: 100%;
    max-width: none;
  }

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

  .project-visual {
    min-height: 155px;
  }

  .capability-grid {
    gap: 20px;
  }

  .capability h3 {
    font-size: 14px;
  }

  .about-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
  }

  .about-heading h2 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .sidebar {
    padding-right: 17px;
    padding-left: 17px;
  }

  .sidebar nav {
    gap: 2px;
  }

  .nav-link {
    gap: 5px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }

  .main-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .topbar {
    gap: 8px;
    min-height: 61px;
  }

  .breadcrumb {
    gap: 7px;
    font-size: 10px;
  }

  .public-badge {
    gap: 5px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 32px 0 25px;
  }

  .hero-title {
    max-width: 380px;
    font-size: clamp(43px, 11.6vw, 59px);
    line-height: 1.04;
  }

  .hero-copy > .eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
  }

  .hero-description {
    max-width: 365px;
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button {
    min-height: 46px;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 11px;
  }

  .hero-art {
    min-height: 230px;
    padding-top: 9px;
  }

  .hero-art img {
    width: 100%;
    max-width: 370px;
    max-height: 275px;
  }

  .hero-art > svg {
    max-height: 260px;
  }

  .overview-strip {
    gap: 17px 0;
    padding: 19px 16px 15px;
  }

  .overview-stat {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    padding-right: 13px;
    padding-left: 13px;
  }

  .overview-stat:nth-child(3) {
    justify-content: flex-start;
  }

  .overview-stat strong {
    font-size: 24px;
  }

  .overview-stat span {
    font-size: 9px;
  }

  .strip-note {
    font-size: 9px;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-meta {
    font-size: 9px;
  }

  .project-toolbar {
    margin-bottom: 20px;
  }

  .filter-list {
    flex-wrap: wrap;
    gap: 3px;
    width: 100%;
  }

  .filter-button {
    min-height: 44px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 10px;
  }

  .search-field input {
    font-size: 16px;
  }

  .search-field input::placeholder {
    font-size: 12px;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .project-visual {
    min-height: 190px;
    aspect-ratio: 1.8;
  }

  .project-content {
    padding: 21px 22px 12px;
  }

  .project-category {
    font-size: 9px;
  }

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

  .project-content > p:not(.project-category) {
    margin-top: 10px;
    font-size: 12px;
  }

  .project-link {
    font-size: 11px;
  }

  .project-status {
    font-size: 9px;
  }

  .capabilities-section {
    margin-top: 36px;
    padding: 29px 0 30px;
  }

  .capability-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .capability + .capability {
    padding-top: 23px;
    border-top: 1px solid var(--line);
  }

  .capability-icon {
    margin-bottom: 12px;
  }

  .capability-number {
    font-size: 10px;
  }

  .capability h3 {
    font-size: 17px;
  }

  .capability p {
    max-width: none;
    font-size: 12px;
  }

  .about-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
  }

  .about-heading h2 {
    max-width: 290px;
    font-size: 29px;
  }

  .about-copy p {
    font-size: 13px;
  }

  .about-note {
    align-items: flex-start;
    padding: 13px;
  }

  .about-note svg {
    margin-top: 2px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 18px 0;
    font-size: 9px;
  }
}

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

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

@media (forced-colors: active) {
  .project-card,
  .overview-strip,
  .button,
  .public-badge,
  .search-field,
  .nav-link.active,
  .filter-button.active {
    border: 1px solid CanvasText;
  }

  .public-badge::before,
  .project-status::before {
    background: CanvasText;
  }
}

/* The public collection currently has two verified demos. */
.project-grid.two-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-visual:has(> img) { padding: 0; aspect-ratio: 1.9; height: auto; }
.project-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
@media (max-width: 640px) { .project-grid.two-projects { grid-template-columns: 1fr; } }
