:root {
  color-scheme: light;
  --ink: #172324;
  --paper: #f7f8f2;
  --lime: #d3ef86;
  --rule: #cdd3c9;
  font: 100%/1.6 "Inter", "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body, p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #4986b5; outline-offset: 5px; }
.wrap { width: min(76rem, 88%); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .6rem; background: white; z-index: 1; }
.skip:focus { top: 0; }
header, .hero { background: var(--ink); color: var(--paper); }
.bar, nav, .brand, footer { display: flex; align-items: center; }
.bar { min-height: 4.5rem; justify-content: space-between; border-bottom: 1px solid #465253; }
.brand { gap: .75rem; font-weight: 650; letter-spacing: -.035em; font-size: 1.2rem; }
.brand i { width: .9rem; height: .9rem; border: 2px solid var(--lime); transform: rotate(30deg); }
.bar a { text-decoration: none; }
nav { gap: clamp(1rem, 3vw, 2.5rem); font-size: .94rem; }
nav a:hover, .brand:hover { color: var(--lime); }
.cover { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 1rem; padding-block: clamp(2.5rem, 5vw, 5rem); }
.byline, figcaption, .field { font: .85rem/1.5 "IBM Plex Mono", Consolas, "Microsoft YaHei", monospace; }
.byline { color: #d4dfd9; }
.byline span, figcaption span[lang] { color: #98a7a4; }
.byline span { margin-inline: .5em; }
h1 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(4.4rem, 8.6vw, 8.3rem); line-height: .87; letter-spacing: -.065em; margin: 1.65rem 0 1.55rem; }
h1 em { font-weight: 400; color: var(--lime); }
.lede { max-width: 29rem; color: #d4dfd9; line-height: 1.9; }
figure img { width: 100%; height: auto; display: block; }
figcaption { display: flex; gap: .6rem; align-items: center; justify-content: flex-end; color: #c5d3d0; }
.swatch { background: var(--lime); height: .55rem; width: .55rem; border-radius: 50%; }
.projects { padding-block: 3.2rem 1.25rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1.3rem; letter-spacing: -.04em; }
article { display: grid; grid-template-columns: 1fr 1.08fr; gap: 1rem; align-items: center; padding: 1.8rem 0; border-top: 1px solid var(--rule); }
.field { color: #506052; margin-bottom: .35rem; }
h3 { font: 500 clamp(1.55rem, 3.3vw, 2.9rem)/1.18 "Inter", "Segoe UI", sans-serif; letter-spacing: -.055em; overflow-wrap: anywhere; }
h3 a { text-decoration-thickness: 1px; text-decoration-color: #9da997; }
h3 a:hover, footer a:hover { color: #49681b; }
article > p { max-width: 38rem; color: #414f4b; line-height: 1.85; }
footer { border-top: 1px solid var(--rule); padding-block: 1.4rem 2rem; justify-content: space-between; font-size: .9rem; }
@media (max-width: 680px) {
  .bar { min-height: 3.75rem; }
  .cover, article { grid-template-columns: 1fr; }
  .cover { padding-bottom: 1.55rem; }
  figure { width: min(100%, 24rem); justify-self: center; }
  .projects { padding-top: 2rem; }
  article { gap: .75rem; padding: 1.4rem 0; }
}
