@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #0b1012;
  --surface: #101619;
  --text: #e3e6e8;
  --secondary: #a9b0b4;
  --muted: #929da3;
  --border: #273035;
  --green: #64cf91;
  --blue: #65acf0;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--sans); font-size: 16px; font-weight: 400; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, input { border-radius: 0; }
button { background: transparent; border: 0; }
button:disabled { cursor: default; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
::selection { color: var(--background); background: #c7d4db; }
p, h1, h2, h3, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.page-width { width: calc(100% - 80px); max-width: 1320px; margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; line-height: 1.6; letter-spacing: 1.25px; text-transform: uppercase; }
.sr-only, .icon-library { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 20px; background: var(--text); color: var(--background); padding: 12px 18px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 78px; display: flex; align-items: center; gap: 25px; }
.wordmark { font-size: 18px; letter-spacing: 3px; line-height: 1.5; text-transform: uppercase; white-space: nowrap; }
.brand-caption { padding: 6px 0 6px 25px; border-left: 1px solid #3a4347; color: var(--muted); font-size: 8px; letter-spacing: 1.5px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.main-nav > a, .sign-in { font-size: 13px; white-space: nowrap; transition: color 160ms; }
.main-nav > a:hover, .sign-in:hover { color: #fff; }
.main-nav > a { padding-block: 14px; }
.icon-button { padding: 10px; display: inline-flex; justify-content: center; align-items: center; color: var(--secondary); }
.icon-button:hover { color: var(--text); }
.main-nav .search-button { margin-left: 20px; margin-right: -15px; }
.sign-in { border-left: 1px solid var(--border); padding: 5px 0 5px 28px; color: var(--secondary); }
.menu-toggle { display: none; }
.hero { display: flex; justify-content: space-between; padding-block: 39px 20px; }
.section-number { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 12px; }
.section-number span { height: 1px; width: 51px; background: linear-gradient(90deg, #788087, transparent); }
.hero h1 { font-size: clamp(64px, 7.05vw, 100px); font-weight: 400; letter-spacing: -1.5px; line-height: .96; }
.hero-description { margin-top: 23px; font-size: clamp(17px, 1.65vw, 21px); line-height: 1.55; letter-spacing: .55px; color: #b5bdc1; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; }
.text-link .icon { transition: transform 160ms; }
.text-link:hover .icon { transform: translateX(3px); }
.hero .text-link { margin-top: 14px; }
.hero-quote { margin-top: 28px; border-left: 1px solid #848e93; padding-left: 24px; height: fit-content; color: var(--muted); font-size: 10px; line-height: 1.8; letter-spacing: .8px; }
.hero-quote > span { display: block; margin-top: 19px; font-size: 17px; line-height: 1; }
.project-card { border: 1px solid var(--border); position: relative; display: grid; overflow: hidden; }
.featured-project { grid-template-columns: 37.8% 62.2%; min-height: 407px; }
.featured-label { position: absolute; z-index: 1; top: 0; left: 0; width: 37.8%; border-bottom: 1px solid var(--border); padding: 17px 24px; color: #bac3c8; }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.featured-project .project-copy { padding: 92px 32px 22px 29px; }
.project-category { color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.project-copy h2 { font-weight: 400; }
.featured-project h2 { font-size: clamp(26px, 3.1vw, 39px); letter-spacing: -.75px; line-height: 1.2; margin-top: 9px; }
.project-copy h2 a:hover { color: #fff; }
.project-summary { color: var(--secondary); font-size: 14px; line-height: 1.48; letter-spacing: .4px; margin-top: 9px; }
.project-status { display: flex; align-items: center; gap: 10px; color: #b3bcc1; margin-top: 22px; font-size: 10px; letter-spacing: 1.05px; }
.project-status > span { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.project-status[data-status="active-development"] > span { background: var(--green); }
.project-status[data-status="prototype"] > span { background: var(--blue); }
.project-action { margin-top: auto; padding-top: 25px; width: 100%; }
.featured-project .project-action { padding-top: 20px; }
.featured-project .project-action::before { content: ""; display: block; height: 1px; background: var(--border); margin-bottom: 10px; }
.project-action .text-link { border-bottom: 1px solid #495258; min-height: 33px; padding-bottom: 3px; }
.project-number { color: #b1bbc1; position: absolute; z-index: 1; }
.featured-project .project-number { top: 17px; right: 22px; text-shadow: 0 1px 5px #000; }
.project-media { min-width: 0; overflow: hidden; background: #141b1e; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms, filter 240ms; filter: brightness(.79) saturate(.72); }
.featured-project .project-media { position: relative; }
.featured-project .project-media img { position: absolute; inset: 0; object-fit: contain; object-position: center; }
.featured-project .project-media:hover img { transform: none; }
.project-media:hover img { transform: scale(1.015); filter: brightness(.9) saturate(.8); }
.secondary-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 17px; }
.secondary-project { grid-template-columns: 50% 50%; min-height: 305px; }
.secondary-project .project-copy { padding: 66px 10px 17px 23px; }
.secondary-project .project-number { top: 17px; left: 23px; display: flex; align-items: center; gap: 10px; }
.secondary-project .project-number::after { content: ""; width: 35px; height: 1px; background: linear-gradient(90deg, #526069, transparent); }
.secondary-project h2 { font-size: clamp(18px, 1.72vw, 24px); line-height: 1.25; letter-spacing: -.35px; margin-top: 7px; }
.secondary-project .project-summary { font-size: 12px; line-height: 1.5; letter-spacing: .25px; margin-top: 8px; }
.secondary-project .project-status { margin-top: auto; padding-top: 16px; }
.secondary-project .project-action { margin-top: 0; padding-top: 13px; }
.secondary-project .project-media img { object-position: 48% center; }
.latest-log { margin-top: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding-bottom: 6px; }
.section-heading h2 { font-size: 11px; }
.section-heading .text-link { font-size: 11px; }
.log-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.log-row { display: grid; grid-template-columns: 18% 22% 1fr 20px; align-items: center; column-gap: 14px; min-height: 37px; padding-block: 8px; border-bottom: 1px solid var(--border); font-size: 12px; transition: background 150ms; }
.log-row:hover { background: #141b1e; }
.log-row time { font-size: 10px; letter-spacing: .8px; color: var(--muted); }
.log-project { font-size: 12px; }
.log-summary { color: var(--muted); letter-spacing: .35px; }
.log-row > .icon { color: var(--muted); width: 17px; height: 17px; }
.site-footer { display: flex; align-items: center; min-height: 134px; gap: 26px; }
.site-footer .wordmark { font-size: 14px; letter-spacing: 1.7px; }
.footer-motto { padding: 3px 0 3px 26px; border-left: 1px solid #3a4347; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.footer-note { margin-left: auto; color: var(--muted); font-size: 8px; letter-spacing: 1.1px; }
.no-js-about { margin-top: 48px; max-width: 650px; }
.no-js-about h2 { margin-block: 16px; font-size: 32px; font-weight: 400; }
.no-js-about > p:not(.mono), .preview-note { color: var(--secondary); line-height: 1.7; margin-block: 18px; }
.labs-dialog { width: min(800px, calc(100% - 40px)); max-height: calc(100dvh - 64px); padding: 0; border: 1px solid #3a454a; background: var(--surface); color: var(--text); overscroll-behavior: contain; }
.labs-dialog::backdrop { background: rgb(3 7 9 / 85%); }
.dialog-toolbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 20px; }
.dialog-brand { font-size: 10px; letter-spacing: 2px; }
.dialog-content { padding: 32px; }
.dialog-content h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -1px; margin-block: 10px 20px; }
.dialog-content h3 { font-size: 19px; font-weight: 400; margin-block: 25px 8px; }
.dialog-content > p, .dialog-section p { line-height: 1.65; color: var(--secondary); }
.dialog-content > .mono { font-size: 10px; }
.dialog-content .project-status { margin-block: 16px; }
.dialog-cover { width: 100%; max-height: 320px; object-fit: cover; margin-block: 24px; }
.dialog-note { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 28px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.dialog-back { margin-top: 28px; }
.dialog-back .icon { transform: rotate(180deg); }
.dialog-back:hover .icon { transform: rotate(180deg) translateX(3px); }
.search-field { display: flex; align-items: center; border-bottom: 1px solid #728087; gap: 12px; margin-block: 22px 12px; }
.search-field input { width: 100%; background: transparent; border: 0; padding: 14px 0; outline-offset: 3px; }
.search-field .icon { color: var(--muted); }
.search-count { min-height: 24px; color: var(--muted); font-size: 12px; }
.result-list { list-style: none; padding: 0; margin: 16px 0 0; }
.result-link { width: 100%; display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 16px; border-top: 1px solid var(--border); padding: 17px 0; text-align: left; }
.result-link:hover { color: #fff; background: #172024; }
.result-link .result-meta { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.result-link strong { display: block; font-size: 16px; font-weight: 400; }
.result-link p { color: var(--secondary); font-size: 13px; line-height: 1.5; margin-top: 7px; }
.log-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.log-filter button { padding: 8px 12px; border: 1px solid var(--border); color: var(--secondary); font-size: 12px; }
.log-filter button[aria-pressed="true"] { border-color: #96a6af; color: var(--text); }
.entry-navigation { display: flex; justify-content: space-between; gap: 20px; margin-top: 25px; border-top: 1px solid var(--border); padding-top: 16px; }
.entry-navigation .text-link { font-size: 10px; }
@media (min-width: 1400px) {
  .hero { padding-block: 65px 48px; }
  .featured-project { min-height: 510px; }
  .featured-project .project-copy { padding: 116px 42px 32px; }
  .featured-project .project-summary { font-size: 17px; }
  .featured-label { padding: 20px 42px; }
  .secondary-project { min-height: 360px; }
  .secondary-project .project-copy { padding: 75px 28px 25px; }
  .secondary-project .project-summary { font-size: 15px; }
  .secondary-project .project-number { left: 28px; }
  .log-row { min-height: 44px; }
  .log-project, .log-summary { font-size: 14px; }
}
@media (max-width: 1100px) {
  .brand-caption { font-size: 7px; letter-spacing: 1px; padding-left: 22px; }
  .site-header { gap: 22px; }
  .main-nav { gap: 28px; }
}
@media (max-width: 1000px) {
  .brand-caption { display: none; }
  .featured-project { grid-template-columns: 44% 56%; }
  .featured-label { width: 44%; }
  .featured-project .project-copy { padding-left: 24px; padding-right: 24px; }
  .secondary-projects { gap: 16px; }
  .secondary-project { grid-template-columns: 1fr; }
  .secondary-project .project-copy { min-height: 300px; padding-right: 26px; }
  .secondary-project .project-media { height: 265px; }
  .secondary-project .project-media img { object-position: center 46%; }
  .secondary-project .project-summary { font-size: 14px; }
  .secondary-project h2 { font-size: 24px; }
  .log-row { grid-template-columns: 120px 170px 1fr 16px; gap: 12px; }
}
@media (max-width: 760px) {
  .page-width { width: calc(100% - 48px); }
  .site-header { flex-wrap: wrap; gap: 0; min-height: 80px; }
  .wordmark { font-size: 16px; letter-spacing: 2.4px; }
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 13px; padding: 12px 0 12px 18px; margin-left: auto; font-size: 12px; }
  .menu-lines { width: 18px; height: 9px; border-top: 1px solid; border-bottom: 1px solid; }
  .main-nav { gap: 24px; width: 100%; padding: 8px 0 18px; justify-content: flex-start; }
  .main-nav .search-button { margin-left: auto; margin-right: -8px; }
  .sign-in { padding-left: 20px; }
  .hero { padding-block: 31px 34px; }
  .hero h1 { font-size: clamp(56px, 9.5vw, 72px); letter-spacing: -2px; }
  .hero-quote { font-size: 8px; padding-left: 16px; }
  .hero-description { font-size: 17px; max-width: 360px; }
  .desktop-break { display: none; }
  .featured-project { grid-template-columns: 48% 52%; }
  .featured-label { width: 48%; }
  .featured-project .project-copy { padding-top: 82px; }
  .featured-project h2 { font-size: 28px; }
  .featured-project .project-summary { font-size: 13px; }
  .log-row { grid-template-columns: 112px 1fr 16px; padding-block: 12px; gap: 4px 12px; }
  .log-summary { grid-column: 2; grid-row: 2; line-height: 1.5; }
  .log-row > .icon { grid-column: 3; grid-row: 1 / 3; }
  .log-row time { align-self: start; padding-top: 2px; }
  .log-project { font-size: 14px; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding-block: 38px; min-height: 130px; }
  .footer-note { width: 100%; margin-left: 0; }
}
@media (max-width: 640px) {
  .page-width { width: calc(100% - 40px); }
  .hero { display: block; padding-top: 32px; padding-bottom: 34px; }
  .hero h1 { font-size: clamp(52px, 12vw, 74px); }
  .hero-description { margin-top: 22px; max-width: 330px; line-height: 1.55; }
  .hero-quote { display: none; }
  .hero .text-link { margin-top: 18px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-label { position: static; width: 100%; padding: 16px 22px; }
  .featured-project .project-number { top: 16px; right: 20px; }
  .featured-project .project-copy { padding: 29px 22px 22px; }
  .featured-project h2 { font-size: 31px; }
  .featured-project .project-summary { font-size: 15px; line-height: 1.6; margin-top: 12px; }
  .featured-project .project-action { padding-top: 25px; }
  .featured-project .project-media { height: auto; aspect-ratio: 1.22; }
  .featured-project .project-media img { object-position: center; }
  .secondary-projects { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .secondary-project .project-copy { min-height: 290px; padding: 64px 22px 22px; }
  .secondary-project .project-media { height: auto; aspect-ratio: 1.2; }
  .secondary-project h2 { font-size: 26px; }
  .secondary-project .project-summary { max-width: 410px; }
  .secondary-project .project-status { padding-top: 23px; }
  .secondary-project .project-action { padding-top: 17px; }
  .latest-log { margin-top: 30px; }
  .log-row { grid-template-columns: 1fr 20px; gap: 5px 12px; padding-block: 15px; }
  .log-row time { grid-column: 1; grid-row: 1; font-size: 9px; }
  .log-project { grid-column: 1; grid-row: 2; }
  .log-summary { grid-column: 1; grid-row: 3; font-size: 13px; }
  .log-row > .icon { grid-column: 2; grid-row: 1 / 4; }
  .site-footer { align-items: flex-start; gap: 14px; padding-block: 38px; }
  .site-footer .wordmark { font-size: 12px; }
  .footer-motto { padding-left: 14px; font-size: 7px; letter-spacing: .7px; }
  .footer-note { font-size: 8px; }
  .labs-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-content { padding: 24px 20px; }
  .dialog-content h2 { overflow-wrap: anywhere; }
  .dialog-cover { max-height: 250px; }
  .dialog-toolbar { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
