:root {
  color-scheme: light;
  --ink: #18231d;
  --muted: #69736c;
  --line: #dce3dc;
  --paper: #f5f7f3;
  --white: #fff;
  --green: #176b50;
  --green-dark: #0e4e3a;
  --green-pale: #e4eee8;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.skip-link {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-150%);
}

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

.site-header,
.section-wrap,
.site-footer {
  width: min(100% - 64px, 1120px);
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.wordmark-mark span { color: var(--green-dark); }
.wordmark-name { font-size: 16px; font-weight: 700; }
.wordmark-dot, .footer-brand span { color: var(--green); }

.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a, .header-link { text-decoration: none; }
.primary-nav a { color: #4f5c53; font-size: 14px; }
.primary-nav a:hover, .header-link:hover { color: var(--green); }

.header-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 650;
}

.intro {
  width: min(100% - 64px, 1120px);
  min-height: 350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font: 600 11px/1.4 var(--mono);
  letter-spacing: .08em;
}

.eyebrow span { color: #89968c; }

.status-light {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 8px;
  font-size: 72px;
  line-height: .98;
  font-weight: 650;
}

.title-period { color: var(--green); }
.intro-lede { margin: 20px 0 4px; font-size: 21px; font-weight: 550; }
.intro-note { margin: 0; color: var(--muted); font-size: 14px; }

.intro-index {
  min-height: 168px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 0 14px 20px;
  border-left: 1px solid var(--line);
}

.index-top, .index-bottom { color: var(--muted); font: 10px/1.4 var(--mono); letter-spacing: .06em; }
.index-number { font: 48px/.95 var(--mono); color: var(--green-dark); }
.index-number span { margin-inline: 5px; color: #9aa69c; font-size: 24px; }
.index-rule { width: 38px; height: 3px; background: var(--green); }

.projects { padding-top: 62px; padding-bottom: 60px; }

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

.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .about h2 { margin-bottom: 0; font-size: 26px; line-height: 1.2; font-weight: 620; }
.section-aside { margin: 0 0 2px; color: var(--muted); font-size: 13px; }

.active-projects { border-top: 1px solid var(--ink); }

.project-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 56px minmax(180px, 1fr) minmax(180px, .9fr) 72px 20px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.project-number { color: var(--green); font: 12px var(--mono); }
.project-copy { display: grid; gap: 3px; }
.project-copy strong { font-size: 17px; font-weight: 600; }
.project-copy span, .project-domain { color: var(--muted); font-size: 13px; }
.project-domain { font-family: var(--mono); font-size: 12px; }
.project-state { display: inline-flex; align-items: center; gap: 7px; color: var(--green-dark); font-size: 12px; }
.project-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.project-state-pending { color: #738077; }
.project-arrow { color: var(--green); font-size: 18px; text-align: right; }

.planned-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.planned-heading h3 { margin: 0; font-size: 15px; font-weight: 600; }
.planned-heading span { color: var(--muted); font-size: 12px; }
.planned-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.planned-list li { min-height: 48px; display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.planned-name { font-size: 14px; }
.planned-domain { overflow: hidden; color: #849087; font: 11px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.planned-state { color: #738077; font-size: 11px; }

.about {
  min-height: 196px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 100px;
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--line);
}

.about .eyebrow { margin-bottom: 8px; }
.about-copy { max-width: 490px; margin: 0; color: #4f5c53; font-size: 16px; }
.about-mark { justify-self: end; color: #cad7cd; font: 36px var(--mono); }
.about-mark span { color: var(--green); }

.site-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-brand { color: var(--ink); font-size: 14px; font-weight: 700; }
.copyright { font-family: var(--mono); font-size: 11px; }

@media (max-width: 700px) {
  .site-header, .section-wrap, .site-footer, .intro { width: min(100% - 36px, 1120px); }
  .site-header { min-height: 66px; grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .header-link { font-size: 13px; }
  .intro { min-height: 300px; grid-template-columns: minmax(0, 1fr) 90px; gap: 12px; }
  h1 { font-size: 52px; }
  .intro-index { min-height: 138px; padding-left: 12px; }
  .index-top, .index-bottom { font-size: 8px; }
  .index-number { font-size: 32px; }
  .index-number span { margin-inline: 2px; font-size: 16px; }
  .intro-lede { font-size: 18px; }
  .intro-note { max-width: 250px; font-size: 13px; }
  .projects { padding-top: 42px; padding-bottom: 42px; }
  .section-heading h2, .about h2 { font-size: 23px; }
  .section-aside { max-width: 110px; text-align: right; font-size: 12px; }
  .project-row { min-height: 86px; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 10px; }
  .project-domain, .project-state { display: none; }
  .project-arrow { font-size: 17px; }
  .planned-list { grid-template-columns: 1fr; }
  .planned-list li { grid-template-columns: minmax(92px, .6fr) minmax(0, 1fr) auto; gap: 8px; }
  .planned-domain { font-size: 10px; }
  .about { min-height: 180px; grid-template-columns: 1fr 54px; gap: 18px; padding-block: 30px; }
  .about-label { grid-column: 1 / -1; }
  .about-copy { font-size: 14px; }
  .about-mark { font-size: 26px; }
  .site-footer { min-height: 66px; gap: 8px; font-size: 11px; }
  .footer-brand { font-size: 13px; }
  .copyright { font-size: 10px; }
}

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