:root {
  --paper: #f4f1e9;
  --ink: #22251f;
  --muted: #62665d;
  --line: #cbc9c0;
  --accent: #315e4b;
  --surface: #fbfaf6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 var(--sans);
}
a { color: inherit; text-underline-offset: .2rem; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  padding: .65rem .85rem;
  color: white;
  background: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header,
main,
footer {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--ink);
  font: 700 .72rem/1 var(--mono);
}
.site-header nav { display: flex; align-items: center; gap: 1.25rem; font-size: .82rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.nav-github { font-weight: 700; }

.hero {
  max-width: 760px;
  padding: 6.5rem 0 5.5rem;
}
.hero-copy { max-width: 720px; }
.eyebrow,
.section-kicker,
.project-number {
  margin: 0 0 .75rem;
  color: var(--accent);
  font: 700 .72rem/1.3 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font: 400 clamp(3rem, 7vw, 5rem)/1 var(--serif);
  letter-spacing: -.035em;
}
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-lede { max-width: 660px; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: .6rem .85rem;
  border: 1px solid var(--ink);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { color: white; background: var(--accent); }
.button-secondary { background: transparent; }
.hero-system { display: none; }

.notice {
  max-width: 850px;
  margin-bottom: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--surface);
}
.notice h2 { margin: 0 0 .55rem; font: 400 1.45rem/1.25 var(--serif); }
.notice p { margin: 0; color: var(--muted); font-size: .94rem; }

.section { padding: 5rem 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 2.25rem; }
.section-heading h2,
.about h2 {
  margin: 0;
  font: 400 clamp(2.1rem, 5vw, 3.5rem)/1.08 var(--serif);
  letter-spacing: -.025em;
}
.section-heading > p { max-width: 660px; margin: 1rem 0 0; color: var(--muted); }

.project-grid { border-top: 1px solid var(--line); }
.project-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.project-visual {
  min-height: 100%;
  border-right: 1px solid var(--line);
  background: var(--project-bg);
}
.project-visual > * { display: none; }
.project-biolume { --project-bg: #183b29; }
.project-coral { --project-bg: #8bc8c1; }
.project-metal { --project-bg: #a58d66; }
.project-titan { --project-bg: #75678d; }
.project-body { padding: 2rem 2.25rem; }
.project-body h3 { margin: 0; font: 400 clamp(1.75rem, 3vw, 2.35rem)/1.1 var(--serif); }
.project-body > p:not(.project-number) { max-width: 690px; margin: .8rem 0 1.25rem; color: var(--muted); }
.project-boundary {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 2rem;
}
.project-boundary div { display: grid; grid-template-columns: 5rem 1fr; gap: .7rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.project-boundary dt { font: 700 .68rem/1.4 var(--mono); text-transform: uppercase; }
.project-boundary dd { margin: 0; font-size: .86rem; }
.project-link { display: inline-block; margin-top: 1.35rem; font-size: .82rem; font-weight: 700; }

.method { padding: 5rem 0; }
.method-heading { margin-bottom: 2rem; }
.method-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  list-style: none;
}
.method-grid li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.method-grid li:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
.method-grid li:nth-child(even) { padding-left: 2rem; }
.method-grid span { color: var(--accent); font: 700 .72rem var(--mono); }
.method-grid h3 { margin: .7rem 0 .4rem; font: 400 1.35rem var(--serif); }
.method-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; }
.about-copy { padding-top: .25rem; }
.about-copy p { margin-top: 0; color: var(--muted); }
.about-copy .button { margin-top: .75rem; }
footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: .74rem;
}
footer p { margin: 0; }
footer div { display: flex; gap: 1rem; }

@media (max-width: 700px) {
  .site-header nav a:not(.nav-github) { display: none; }
  .hero { padding: 4.5rem 0 4rem; }
  .section { padding: 4rem 0; }
  .project-card { grid-template-columns: 18px minmax(0, 1fr); }
  .project-body { padding: 1.5rem 0 1.5rem 1.25rem; }
  .project-boundary,
  .method-grid,
  .about { grid-template-columns: 1fr; }
  .method-grid li,
  .method-grid li:nth-child(odd),
  .method-grid li:nth-child(even) { padding: 1.25rem 0; border-right: 0; }
  .about { gap: 1.25rem; }
  footer { min-height: 130px; align-items: flex-start; flex-direction: column; justify-content: center; }
}

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