:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --ink: #1a1b2a;
  --muted: #535468;
  --rule: #d9d5c9;
  --accent: #9e3a26;
  --night: #171a32;
  --sun: #ffb592;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
.wrap { width: min(1152px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 10px; left: 10px; transform: translateY(-180%); padding: 10px; background: var(--paper); }
.skip:focus { transform: none; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 780; letter-spacing: -.05em; }
.brand span { color: var(--accent); margin-left: -8px; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 4vw, 40px); font-size: 14px; font-weight: 600; }
.site-header nav a, .site-footer a { padding: 8px 0; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 536px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  background: var(--night);
  border-radius: 10px;
  color: #fff8ec;
}
.hero-copy { position: relative; z-index: 1; padding: 56px 0 60px clamp(34px, 6vw, 84px); }
.eyebrow, .kicker, .index, .tag, figcaption, .site-footer > span { font: 600 12px/1.4 var(--mono); letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 29px; color: #ead1c3; }
.eyebrow span { display: block; width: 7px; height: 7px; border-radius: 100%; background: var(--sun); }
h1 { font-size: clamp(32px, 4.3vw, 61px); font-weight: 690; line-height: 1.1; letter-spacing: -.065em; }
h1 strong { display: inline-block; margin-left: -.035em; color: var(--sun); font-size: 1.96em; line-height: .98; letter-spacing: -.085em; font-weight: 820; }
.intro { margin: 24px 0 26px; color: #e1deeb; font-size: clamp(14px, 1.5vw, 16px); }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-radius: 5px;
  padding: 10px 15px;
  color: #231a2b;
  background: var(--sun);
  font-size: 14px;
  font-weight: 700;
}
.button:hover { background: #ffd0b9; }
.button:focus-visible { outline-color: #fff8ec; }
.hero-art { position: relative; align-self: stretch; display: grid; align-items: center; }
.hero-art img { display: block; width: 112%; height: auto; max-width: 590px; margin-left: -9%; }
.hero-art figcaption { position: absolute; right: 29px; bottom: 26px; display: flex; align-items: center; gap: 11px; color: #cbc6df; font-size: 10px; }
figcaption span { width: 29px; height: 1px; background: currentColor; }
.projects { display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); gap: 38px; margin: 76px 0 66px; }
.kicker { color: var(--accent); margin-bottom: 14px; }
h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 750; line-height: 1.2; letter-spacing: -.045em; }
.section-head > p:last-child { max-width: 270px; margin-top: 15px; color: var(--muted); }
.project-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.project-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.index { color: var(--accent); padding-top: 5px; }
.project-list h3 { font-size: 19px; line-height: 1.4; margin-bottom: 4px; }
.project-list p { color: var(--muted); font-size: 14px; }
.tag { color: var(--muted); font-size: 10px; border: 1px solid var(--rule); border-radius: 16px; padding: 4px 8px; }
.about { display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr); align-items: end; gap: 38px; border-radius: 8px; padding: 31px 34px; background: #eeebe2; }
.about > p { max-width: 530px; color: var(--muted); }
.site-footer { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); }
.site-footer a { font-size: 13px; font-weight: 600; }
.footer-divider { margin: 0 4px; color: var(--accent); }
@media (max-width: 830px) {
  .wrap { width: calc(100% - 48px); }
  .hero { min-height: 450px; }
  .hero-copy { padding-top: 45px; padding-bottom: 47px; }
  .projects { gap: 24px; margin-top: 56px; }
  .about { gap: 24px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { height: 65px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 34px 23px 0; }
  .eyebrow { margin-bottom: 23px; }
  h1 { font-size: clamp(31px, 8vw, 45px); }
  .intro { margin: 17px 0 19px; }
  .hero-art img { width: 80%; max-width: 330px; margin: -11px auto 4px; }
  .hero-art figcaption { right: 13px; bottom: 11px; font-size: 8px; gap: 7px; }
  figcaption span { width: 14px; }
  .projects, .about { grid-template-columns: 1fr; }
  .projects { margin: 45px 0 39px; gap: 20px; }
  .section-head > p:last-child { max-width: none; margin-top: 10px; }
  .project-list li { grid-template-columns: 21px minmax(0, 1fr) auto; gap: 9px; padding: 16px 0; }
  .about { gap: 14px; padding: 23px; }
  .site-footer { min-height: 75px; }
}
