@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f4ed;
  --ink: #252621;
  --muted: #696b62;
  --line: #d9d9ce;
  --orange: #c64629;
  --orange-light: #f2dfd3;
  --green: #377262;
  --mono: "IBM Plex Mono", monospace;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
::selection {
  background: var(--orange-light);
  color: var(--ink);
}
img {
  max-width: 100%;
  display: block;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(3.4rem, 6.8vw, 6.4rem);
}
h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.25rem);
}
h3 {
  font-size: 1.8rem;
}
p + p {
  margin-top: 1em;
}
svg {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--max), calc(100% - 112px));
  margin-inline: auto;
}
.mono,
.eyebrow {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--orange);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 244, 237, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.brand-mark {
  color: var(--orange);
  font-size: 31px;
  line-height: 1;
}
.site-nav {
  display: flex;
  gap: 31px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.site-nav a {
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.2s;
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after {
  width: 100%;
}
.nav-contact {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 8px 16px;
}
.nav-contact::after {
  display: none;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: none;
  border-radius: 20px;
  padding: 7px 13px;
}
.hero {
  padding-top: 68px;
  padding-bottom: 38px;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}
.local-time {
  color: var(--muted);
  font-size: 10px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(3.5rem, 6vw, 5.75rem);
  line-height: 1.015;
  letter-spacing: -0.068em;
}
.hero-copy h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.hero-description {
  max-width: 380px;
  margin-top: 27px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 45px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.button.orange {
  background: var(--orange);
  border-color: var(--orange);
}
.button.orange:hover {
  background: #a43d25;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.text-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-foot p {
  font-size: 12px;
  color: var(--muted);
}
.hero-foot strong {
  font-weight: 500;
  color: var(--ink);
}
.small-arrow {
  color: var(--orange);
  font-size: 20px;
}

/* The hero is a working, deterministic order book. */
.book-shell {
  position: relative;
  padding-top: 22px;
}
.book-caption {
  position: absolute;
  top: 0;
  left: 4px;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.book-shell::after {
  content: "";
  position: absolute;
  inset: 39px -10px -10px 12px;
  border: 1px solid #c6c8bb;
  border-radius: 7px;
  z-index: -1;
  transform: rotate(2deg);
}
.order-book {
  background: #252922;
  color: #e8ecdf;
  border-radius: 7px;
  padding: 25px;
  box-shadow: 0 15px 25px -20px #272b2640;
}
.book-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #45493e;
  padding-bottom: 17px;
  margin-bottom: 18px;
}
.book-title {
  font-size: 14px;
  letter-spacing: -0.02em;
}
.book-title span {
  color: #adb4a3;
  margin-left: 8px;
  font-size: 11px;
}
.book-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 9px var(--mono);
  color: #bdc4b1;
}
.book-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b7c989;
}
.book-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 17px;
}
.book-stats span {
  font: 10px var(--mono);
  color: #aeb5a4;
}
.book-stats strong {
  font: 14px var(--mono);
  margin-left: 7px;
  color: #edf0e6;
}
.book-depth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  font-family: var(--mono);
}
.depth-heading {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.depth-heading.buy {
  color: #baca94;
}
.depth-heading.sell {
  color: #e7b19c;
}
.depth-rows {
  min-height: 128px;
}
.depth-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
  padding: 4px 7px;
  font-size: 10px;
  line-height: 1.5;
  isolation: isolate;
}
.depth-row::before {
  position: absolute;
  content: "";
  inset: 0;
  width: var(--depth);
  background: #baca9424;
  z-index: -1;
}
.sell .depth-row::before {
  background: #df9a8024;
  right: 0;
  left: auto;
}
.empty-depth {
  font: 11px/1.6 var(--mono);
  color: #b8beae;
  padding: 15px 0;
}
.book-form {
  margin-top: 16px;
  border-top: 1px solid #45493e;
  padding-top: 14px;
}
.book-controls {
  display: flex;
  gap: 9px;
  align-items: end;
}
.book-control {
  flex: 1;
  min-width: 0;
}
.book-control label {
  display: block;
  font: 9px/1.5 var(--mono);
  color: #bdc4b1;
  margin-bottom: 5px;
}
.book-control input,
.book-control select {
  color: #edf0e6;
  background: #353a30;
  border: 1px solid #545b48;
  border-radius: 3px;
  width: 100%;
  padding: 7px 8px;
  min-height: 35px;
  font: 11px var(--mono);
  color-scheme: dark;
}
.book-form button[type="submit"] {
  width: 100%;
  margin-top: 10px;
  background: #d8e4bb;
  border: 0;
  padding: 10px;
  color: #292f20;
  font-size: 11px;
  font-weight: 650;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
}
.book-form button[type="submit"]:hover {
  background: #e9f1d7;
}
.book-control.limit-control {
  margin-top: 9px;
}
.book-footer {
  display: flex;
  align-items: start;
  gap: 14px;
  margin-top: 12px;
}
.book-status {
  flex: 1;
  font: 10px/1.7 var(--mono);
  min-height: 34px;
  color: #bfc6b4;
}
.reset-book {
  background: none;
  border: 0;
  border-bottom: 1px solid #6c755d;
  color: #e6ebde;
  padding: 0;
  font-size: 10px;
  line-height: 1.7;
}
.book-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.book-note a {
  border-bottom: 1px solid var(--line);
}

.section {
  padding-block: 95px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 43px;
}
.section-heading h2 {
  margin-top: 16px;
}
.section-heading > p {
  color: var(--muted);
  max-width: 300px;
  font-size: 14px;
}
.project-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 365px;
  background: #e9e9df;
  border: 1px solid #d6d9ca;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 26px;
  transition: border-color 0.2s;
}
.project-feature:hover {
  border-color: #939e7b;
}
.project-feature-copy {
  padding: 43px 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-number {
  font: 10px var(--mono);
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.project-feature h3 {
  font-size: 2.9rem;
  margin: 23px 0 17px;
  max-width: 350px;
}
.project-feature p {
  font-size: 14px;
  color: #606454;
  max-width: 345px;
}
.project-feature .text-link {
  margin-top: auto;
  padding-top: 25px;
  border-color: #bbc0ab;
}
.project-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.market-visual {
  background: #dde2d1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 33px;
}
.market-visual::before,
.research-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#98a38220 1px, transparent 1px),
    linear-gradient(90deg, #98a38220 1px, transparent 1px);
  background-size: 30px 30px;
}
.market-sheet {
  position: relative;
  width: 100%;
  max-width: 345px;
  background: var(--paper);
  padding: 25px 27px;
  box-shadow: 7px 10px 0 #a7b49045;
  transform: rotate(-3deg);
  transition: transform 0.3s;
}
.project-feature:hover .market-sheet {
  transform: rotate(0deg) translateY(-4px);
}
.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  color: #656c58;
  padding-bottom: 20px;
}
.market-chart {
  display: flex;
  gap: 5px;
  align-items: end;
  height: 110px;
  border-bottom: 1px solid #adb397;
}
.market-chart i {
  flex: 1;
  height: var(--bar);
  background: #bac79e;
  display: block;
}
.market-chart i:nth-child(n + 8) {
  background: #d69b7f;
}
.sheet-mid {
  font: 25px var(--mono);
  text-align: center;
  margin-top: 20px;
}
.sheet-mid small {
  font-size: 9px;
  display: block;
  margin-top: 4px;
  color: #757a68;
}
.sheet-bottom {
  margin-top: 17px;
  font: 9px var(--mono);
  display: flex;
  justify-content: space-between;
  color: #657151;
}
.visual-stamp {
  position: absolute;
  right: 23px;
  bottom: 18px;
  font: 9px var(--mono);
  letter-spacing: 0.06em;
  color: #5f6950;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.project-card {
  min-width: 0;
}
.project-card .project-visual {
  height: 280px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.project-card-copy {
  padding: 22px 0 5px;
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.project-card h3 {
  font-size: 1.8rem;
  margin-top: 9px;
}
.project-card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 11px;
  max-width: 440px;
}
.round-arrow {
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #c3c5b8;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  transition:
    background 0.2s,
    color 0.2s;
}
.project-card:hover .round-arrow {
  background: var(--ink);
  color: var(--paper);
}
.research-visual {
  background: #e9e4d8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 23px;
}
.tile-row {
  display: flex;
  gap: 8px;
  position: relative;
}
.letter-tile {
  display: grid;
  place-items: center;
  position: relative;
  width: 55px;
  height: 61px;
  background: #fbf8ee;
  border: 1px solid #d1c9b7;
  border-bottom: 4px solid #cec5b0;
  border-radius: 5px;
  font:
    26px Georgia,
    serif;
  box-shadow: 0 4px 8px #8c745413;
  transition: transform 0.25s;
}
.letter-tile small {
  position: absolute;
  bottom: 5px;
  right: 6px;
  font: 8px var(--mono);
}
.project-card:hover .letter-tile:nth-child(even) {
  transform: translateY(-7px) rotate(4deg);
}
.tile-trail {
  width: 240px;
  height: 37px;
  position: relative;
}
.tile-trail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px dashed #a9a08a;
}
.trail-points {
  display: flex;
  justify-content: space-between;
  padding-inline: 9px;
}
.trail-points i {
  display: block;
  width: 5px;
  height: 5px;
  background: #9b998b;
  border-radius: 50%;
  margin-top: -2px;
}
.visual-caption {
  position: relative;
  font: 10px var(--mono);
  color: #706959;
  text-align: center;
  letter-spacing: 0.025em;
}
.evaluation-visual {
  background: #e9ddd6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.report-sheet {
  position: relative;
  background: #fcfaf5;
  box-shadow: 8px 10px 0 #bf9a8426;
  border: 1px solid #d9c8bd;
  border-radius: 4px;
  padding: 23px;
  width: 100%;
  max-width: 345px;
  transform: rotate(3deg);
  transition: transform 0.3s;
}
.project-card:hover .report-sheet {
  transform: rotate(0deg);
}
.report-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 10px var(--mono);
  margin-bottom: 21px;
}
.report-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}
.report-row {
  display: grid;
  grid-template-columns: 1fr 65px 50px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e5dfd6;
  align-items: center;
  font: 10px var(--mono);
}
.report-row:last-child {
  border: 0;
}
.report-row span:first-child {
  color: #7a7067;
}
.mini-track {
  display: block;
  height: 5px;
  background: #ece5da;
}
.mini-track i {
  display: block;
  height: 100%;
  background: #879b6e;
  width: var(--width);
}
.report-foot {
  font: 8px var(--mono);
  margin-top: 15px;
  color: #82766e;
}
.work-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 35px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.work-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.lab-section {
  background: #eeece4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 80px;
}
.lab-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 75px;
  align-items: center;
}
.lab-intro h2 {
  margin-top: 17px;
}
.lab-intro > p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 23px;
  max-width: 340px;
}
.lab-number {
  font: 10px var(--mono);
  color: var(--orange);
  margin-top: 26px;
}
.lab-intro .text-link {
  margin-top: 20px;
}
.eval-panel {
  background: #faf9f4;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 29px;
}
.eval-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
}
.sample-label {
  display: block;
  font: 10px var(--mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.sample-select {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
}
.expected-answer {
  font-size: 11px;
  color: var(--muted);
  margin: 11px 0 20px;
  min-height: 18px;
}
.eval-candidates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.candidate {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  min-width: 0;
}
.candidate-header {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.candidate-code {
  font: 10px/1.8 var(--mono);
  padding-top: 12px;
  color: #5e6654;
  overflow-wrap: anywhere;
}
.result-chip {
  font: 9px var(--mono);
  padding: 3px 6px;
  background: #e4ecdb;
  color: #3d5a33;
  border-radius: 2px;
}
.result-chip.mismatch {
  background: #f1dfd5;
  color: #993a20;
}
.eval-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 23px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
}
.eval-metric label {
  font-size: 11px;
}
.eval-metric select {
  font-size: 10px;
  padding: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  max-width: 175px;
  color: var(--ink);
}
.scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
}
.score {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.score strong {
  font: 30px var(--mono);
  letter-spacing: -0.08em;
}
.score small {
  font-size: 10px;
  color: var(--muted);
}
.eval-insight {
  font-size: 11px;
  line-height: 1.7;
  padding: 13px 0 0;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.demo-disclosure {
  font: 9px/1.7 var(--mono);
  color: var(--muted);
  margin-top: 12px;
}
.lab-panel-status {
  min-height: 0;
}
.lab-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 20px;
}
.lab-footer::before {
  content: "↳";
  color: var(--orange);
  font-size: 17px;
}

.notes {
  padding-block: 80px;
}
.notes-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}
.notes h2 {
  font-size: 2rem;
}
.notes-heading p {
  font-size: 12px;
  color: var(--muted);
}
.note {
  border-top: 1px solid var(--line);
}
.note:last-child {
  border-bottom: 1px solid var(--line);
}
.note summary {
  padding: 23px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 17px;
  align-items: center;
  list-style: none;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.note summary::-webkit-details-marker {
  display: none;
}
.note summary .mono {
  color: var(--muted);
  font-size: 10px;
}
.note summary .note-toggle {
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s;
}
.note[open] .note-toggle {
  transform: rotate(45deg);
}
.note-content {
  padding: 0 60px 25px;
  max-width: 780px;
  font-size: 14px;
  color: var(--muted);
}
.note-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.about {
  padding-block: 85px;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 105px;
  align-items: center;
}
.portrait-wrap {
  position: relative;
  padding: 0 20px 20px 0;
}
.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 20px 0 0 20px;
  background: #dedbd0;
  z-index: -1;
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(0.65);
  border-radius: 2px;
}
.portrait-label {
  margin-top: 14px;
  font: 9px var(--mono);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.about-copy h2 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  margin: 17px 0 24px;
}
.about-copy > p {
  font-size: 15px;
  max-width: 580px;
  color: var(--muted);
}
.personal-line {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.personal-line span {
  font: 10px var(--mono);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.experience {
  margin-top: 35px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.experience p {
  max-width: 390px;
}
.experience .text-link {
  font-size: 11px;
  white-space: nowrap;
}
.contact {
  padding: 64px 0 55px;
  background: var(--ink);
  color: var(--paper);
}
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.contact .eyebrow {
  color: #b6b9ab;
}
.contact h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin-top: 17px;
  max-width: 650px;
}
.contact-email {
  display: inline-flex;
  gap: 25px;
  border-bottom: 1px solid #686e5f;
  padding-bottom: 8px;
  font-size: 15px;
  margin-top: 26px;
}
.contact-email:hover {
  color: #f2ba9f;
}
.social-links {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: #d0d4c6;
}
.social-links a:hover {
  color: #f2ba9f;
}
.site-footer {
  background: var(--ink);
  color: #afb4a3;
  font: 9px/1.7 var(--mono);
  padding: 24px 0;
  border-top: 1px solid #464b3d;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Project stories and index. */
.page-intro {
  padding-block: 65px 50px;
  max-width: 900px;
}
.back-link {
  font: 11px var(--mono);
  color: var(--muted);
  display: inline-flex;
  gap: 10px;
  margin-bottom: 36px;
}
.back-link:hover {
  color: var(--orange);
}
.page-intro h1 {
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  margin-top: 22px;
  max-width: 850px;
}
.page-lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
  margin-top: 25px;
  line-height: 1.65;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-top: 30px;
  font: 10px var(--mono);
  text-transform: uppercase;
  color: var(--muted);
}
.project-meta span + span::before {
  content: "·";
  margin-right: 25px;
}
.story-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-block: 20px 65px;
}
.story-top h2 {
  font-size: 2.4rem;
  margin-bottom: 23px;
}
.story-top p {
  font-size: 15px;
  color: var(--muted);
}
.story-top .project-visual {
  border-radius: 5px;
  min-height: 350px;
}
.story-top .book-shell {
  margin-bottom: 15px;
}
.story-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  padding-block: 58px;
}
.story-label {
  font: 11px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.story-body h2 {
  font-size: 2.2rem;
  margin-bottom: 22px;
}
.story-body p,
.story-body li {
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
}
.story-body ul {
  padding-left: 20px;
  margin: 20px 0;
}
.story-body li + li {
  margin-top: 10px;
}
.story-body code {
  background: #e8e7de;
  padding: 2px 5px;
  font: 12px var(--mono);
  overflow-wrap: anywhere;
}
.story-body a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.story-callout {
  border-left: 2px solid var(--orange);
  padding: 6px 0 6px 22px;
  margin-top: 27px;
}
.story-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
}
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 30px;
  background: #eae7dd;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.flow-step {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.flow-step span {
  font: 10px var(--mono);
  color: var(--orange);
}
.flow-step strong {
  font-size: 13px;
  font-weight: 500;
}
.flow-arrow {
  font-size: 15px;
  text-align: center;
  color: var(--muted);
}
.next-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 40px;
  border-top: 1px solid var(--line);
  gap: 24px;
}
.next-project h2 {
  font-size: 2rem;
  margin-top: 10px;
}
.next-project .round-arrow {
  width: 55px;
  height: 55px;
}
.archive-intro {
  padding-bottom: 34px;
}
.archive-intro .page-lead {
  font-size: 17px;
}
.archive-controls {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-button {
  background: none;
  border: 1px solid transparent;
  border-radius: 25px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--muted);
}
.filter-button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.filter-button:hover {
  border-color: var(--line);
}
.search-label {
  font-size: 0;
}
.archive-search {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #a9ad9f;
  padding: 8px 2px;
  width: 210px;
  max-width: 100%;
  font-size: 12px;
  color: var(--ink);
  border-radius: 0;
}
.archive-count {
  font: 10px var(--mono);
  color: var(--muted);
  padding-top: 20px;
}
.archive-list {
  padding-block: 13px 75px;
}
.archive-item {
  display: grid;
  grid-template-columns: 45px 1fr 140px 90px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 27px 0;
}
.archive-item .index-number {
  font: 10px var(--mono);
  color: var(--muted);
}
.archive-item h2 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.archive-item h2 a:hover {
  color: var(--orange);
}
.archive-item p {
  font-size: 12px;
  margin-top: 6px;
  color: var(--muted);
  max-width: 650px;
}
.archive-type {
  font: 9px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.archive-link {
  font-size: 11px;
  justify-self: end;
  white-space: nowrap;
}
.archive-link:hover {
  color: var(--orange);
}
.archive-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}
.no-script {
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  margin-top: 20px;
}
.order-book .no-script {
  border-color: #6a755c;
  color: #e8ecdf;
}
.reveal {
  animation: appear 0.7s both;
}
.reveal.delay {
  animation-delay: 0.1s;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1500px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 43px;
  }
  .hero-grid {
    gap: 90px;
  }
  .hero-copy h1 {
    font-size: 6.2rem;
  }
  .hero-foot {
    margin-top: 70px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 70px);
  }
  .hero-grid {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy h1 {
    font-size: 4.4rem;
  }
  .order-book {
    padding: 20px;
  }
  .about-grid {
    gap: 60px;
    grid-template-columns: 270px 1fr;
  }
  .lab-layout {
    gap: 40px;
  }
  .project-feature-copy {
    padding: 32px;
  }
  .project-feature h3 {
    font-size: 2.5rem;
  }
  .story-body {
    gap: 35px;
    grid-template-columns: 175px 1fr;
  }
  .story-top {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    height: 73px;
  }
  .site-nav {
    gap: 20px;
    font-size: 12px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-copy h1 {
    font-size: clamp(3.6rem, 9vw, 5.5rem);
    max-width: 650px;
  }
  .hero-description {
    max-width: 460px;
  }
  .hero-topline {
    margin-bottom: 28px;
  }
  .book-shell {
    max-width: 550px;
    width: 100%;
    margin-inline: auto;
  }
  .hero-foot {
    margin-top: 40px;
  }
  .hero-foot .mono {
    display: none;
  }
  .section {
    padding-block: 65px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading > p {
    max-width: 250px;
    font-size: 12px;
  }
  .project-feature {
    min-height: 310px;
  }
  .project-feature-copy {
    padding: 27px;
  }
  .project-feature h3 {
    font-size: 2.2rem;
  }
  .market-visual {
    padding: 23px;
  }
  .market-sheet {
    padding: 20px;
  }
  .project-card .project-visual {
    height: 235px;
  }
  .letter-tile {
    width: 40px;
    height: 47px;
    font-size: 22px;
  }
  .tile-row {
    gap: 5px;
  }
  .report-sheet {
    padding: 17px;
  }
  .evaluation-visual {
    padding: 25px;
  }
  .report-row {
    grid-template-columns: 1fr 45px 34px;
    font-size: 9px;
    gap: 5px;
  }
  .lab-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .lab-intro > p {
    max-width: 550px;
  }
  .lab-intro h2 br {
    display: none;
  }
  .lab-number {
    margin-top: 15px;
  }
  .lab-section {
    padding-block: 55px;
  }
  .eval-panel {
    max-width: 650px;
    width: 100%;
  }
  .about-grid {
    grid-template-columns: 210px 1fr;
    gap: 35px;
  }
  .about {
    padding-block: 65px;
  }
  .experience {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .contact-inner {
    align-items: start;
    flex-direction: column;
    gap: 32px;
  }
  .story-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .story-top > .project-visual {
    max-width: 650px;
    width: 100%;
  }
  .story-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .archive-controls {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .archive-search {
    width: 300px;
  }
  .archive-item {
    grid-template-columns: 30px 1fr 90px;
    gap: 15px;
  }
  .archive-type {
    grid-column: 2;
    grid-row: auto;
  }
  .archive-link {
    grid-column: 3;
    grid-row: 1/3;
  }
  .archive-item > div {
    grid-column: 2;
  }
  .archive-item .index-number {
    grid-row: 1/3;
  }
  .archive-item {
    position: relative;
  }
  .archive-item .archive-link {
    grid-row: auto;
    grid-column: auto;
  }
  .archive-item .archive-type {
    display: none;
  }
  .archive-item .index-number {
    grid-row: auto;
  }
}
@media (max-width: 540px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 68px;
  }
  .brand {
    font-size: 14px;
  }
  .brand-mark {
    font-size: 27px;
  }
  .menu-toggle {
    display: block;
    font-size: 12px;
    min-height: 36px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 15px #2526210a;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 26px;
  }
  .site-nav.open {
    display: flex;
  }
  .hero {
    padding-top: 30px;
  }
  .hero-topline {
    margin-bottom: 25px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  .local-time {
    font-size: 9px;
  }
  .hero-copy h1 {
    font-size: clamp(3.4rem, 12.8vw, 4.6rem);
    letter-spacing: -0.065em;
  }
  .hero-description {
    font-size: 15px;
    margin-top: 23px;
    max-width: 330px;
  }
  .hero-actions {
    gap: 23px;
    margin-top: 25px;
  }
  .button {
    padding: 11px 17px;
    gap: 20px;
    font-size: 12px;
  }
  .hero-grid {
    gap: 30px;
  }
  .order-book {
    padding: 20px;
  }
  .book-caption {
    font-size: 9px;
  }
  .book-shell::after {
    right: -5px;
  }
  .book-note {
    font-size: 9px;
  }
  .hero-foot {
    margin-top: 30px;
    padding-top: 17px;
  }
  .hero-foot p {
    font-size: 11px;
  }
  .section {
    padding-block: 50px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .section-heading > p {
    max-width: 310px;
  }
  .section-heading h2 {
    margin-top: 11px;
  }
  .project-feature {
    grid-template-columns: 1fr;
  }
  .project-feature-copy {
    padding: 26px;
    order: 2;
  }
  .project-feature h3 {
    margin-top: 15px;
    font-size: 2.35rem;
    max-width: 300px;
  }
  .project-feature .project-visual {
    min-height: 275px;
  }
  .market-sheet {
    max-width: 280px;
  }
  .market-chart {
    height: 90px;
  }
  .project-feature .text-link {
    padding-top: 22px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-card .project-visual {
    height: 280px;
  }
  .letter-tile {
    width: 48px;
    height: 54px;
  }
  .project-card-copy {
    padding-top: 18px;
  }
  .project-card h3 {
    font-size: 1.8rem;
  }
  .report-sheet {
    padding: 24px;
    max-width: 310px;
  }
  .report-row {
    font-size: 10px;
    grid-template-columns: 1fr 65px 40px;
  }
  .work-bottom {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .lab-layout {
    gap: 27px;
  }
  .lab-intro h2 {
    font-size: 2.8rem;
  }
  .eval-panel {
    padding: 20px;
  }
  .eval-top {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .eval-top .mono {
    font-size: 8px;
  }
  .eval-candidates {
    gap: 9px;
  }
  .candidate {
    padding: 12px 10px;
  }
  .candidate-header {
    align-items: start;
    flex-direction: column;
    font-size: 11px;
    gap: 8px;
  }
  .candidate-code {
    font-size: 9px;
  }
  .score {
    gap: 5px;
    flex-wrap: wrap;
  }
  .score strong {
    font-size: 26px;
  }
  .eval-metric {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
  .eval-metric select {
    width: 100%;
    max-width: none;
    padding: 7px;
  }
  .notes {
    padding-block: 50px;
  }
  .notes-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .note summary {
    grid-template-columns: 25px 1fr 15px;
    gap: 10px;
    font-size: 15px;
    padding: 20px 0;
  }
  .note-content {
    padding: 0 0 23px 35px;
    font-size: 13px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .portrait-wrap {
    width: 220px;
    margin-left: 8px;
  }
  .about-copy h2 {
    font-size: 2.8rem;
  }
  .about-copy > p {
    font-size: 14px;
  }
  .about {
    padding-block: 50px;
  }
  .contact {
    padding-block: 45px;
  }
  .contact h2 {
    font-size: 2.65rem;
  }
  .contact-email {
    font-size: 14px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
  .page-intro {
    padding-block: 37px 30px;
  }
  .page-intro h1 {
    font-size: 3.2rem;
    margin-top: 17px;
  }
  .page-lead {
    font-size: 16px;
    margin-top: 20px;
  }
  .project-meta {
    font-size: 9px;
    gap: 8px 15px;
  }
  .project-meta span + span::before {
    margin-right: 15px;
  }
  .story-top {
    padding-block: 15px 40px;
  }
  .story-top h2 {
    font-size: 2rem;
  }
  .story-top p {
    font-size: 14px;
  }
  .story-body {
    padding-block: 35px;
  }
  .story-body h2 {
    font-size: 1.9rem;
  }
  .story-body p,
  .story-body li {
    font-size: 14px;
  }
  .story-top .project-visual {
    min-height: 290px;
  }
  .story-actions {
    gap: 16px;
  }
  .next-project h2 {
    font-size: 1.7rem;
  }
  .next-project .round-arrow {
    width: 43px;
    height: 43px;
  }
  .filter-list {
    gap: 3px;
  }
  .filter-button {
    padding: 7px 11px;
    font-size: 11px;
  }
  .archive-item {
    grid-template-columns: 23px 1fr 22px;
    gap: 12px;
    padding-block: 22px;
  }
  .archive-item h2 {
    font-size: 1.2rem;
  }
  .archive-link {
    font-size: 0;
  }
  .archive-link::after {
    content: "↗";
    font-size: 18px;
  }
  .archive-item p {
    font-size: 11px;
  }
  .archive-count {
    font-size: 9px;
  }
  .archive-intro .page-lead {
    font-size: 15px;
  }
  .flow {
    padding: 20px;
  }
  .flow-step {
    padding: 14px;
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .project-feature:hover .market-sheet,
  .project-card:hover .report-sheet,
  .project-card:hover .letter-tile {
    transform: none;
  }
}
