:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --ink: #242522;
  --muted: #66675f;
  --red: #ac252b;
  --rule: #cfcec6;
  --hover: #eae9e2;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; border-top: 5px solid var(--red); }
a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
::selection { background: var(--red); color: white; }
.page { max-width: 1320px; margin: auto; padding: 0 clamp(22px, 5vw, 72px); }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 5; padding: 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; min-height: 104px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-family: var(--mono); font-size: 0.875rem; }
.mark { display: grid; place-items: center; width: 2.125rem; height: 2.125rem; padding-bottom: 0.1875rem; background: var(--red); color: var(--paper); font-family: var(--serif); font-size: 1.75rem; font-weight: 700; }
nav { display: flex; align-items: center; gap: 32px; font-size: 0.875rem; }
nav a { text-decoration: none; padding: 12px 0; }
nav a:hover { color: var(--red); text-decoration: underline; }
.nav-count { font-family: var(--mono); color: var(--red); font-size: 0.75rem; margin-left: 5px; }
.introduction { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 48px; padding: 72px 0 67px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.075em; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(4.25rem, 8.8vw, 7.65rem); font-weight: 400; line-height: 1; letter-spacing: -0.055em; }
.title-period { color: var(--red); }
.intro-copy { max-width: 24rem; margin: 0 0 3px; font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.5; letter-spacing: -0.025em; }
.directory { scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0 21px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.section-heading h2 { margin: 0; font-size: 0.875rem; font-weight: 600; }
.section-heading p { margin: 0; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.project-list { list-style: none; margin: 0; padding: 0; }
.project { border-bottom: 1px solid var(--rule); }
.project-link { display: grid; grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1.08fr) 24px; align-items: start; gap: 28px; padding: 31px 0 32px; text-decoration: none; }
.project-link:hover { background: var(--hover); }
.project-link:focus-visible { outline-offset: -2px; background: var(--hover); }
.project-number { padding-top: 7px; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.project-kind { display: block; margin: 0 0 8px; font-family: var(--mono); font-size: 0.75rem; color: var(--red); }
.project-name { margin: 0 0 9px; font-size: clamp(1.25rem, 1.85vw, 1.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.project-domain { color: var(--muted); font-family: var(--mono); font-size: 0.875rem; text-decoration: underline; text-decoration-color: #aaa99f; overflow-wrap: anywhere; line-height: 1.65; }
.project-copy { margin: 0; padding-top: 0; font-size: 1rem; line-height: 1.65; color: #50514b; }
.project-note { display: block; margin-top: 12px; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.project-arrow { justify-self: end; color: var(--red); font-size: 1.5rem; line-height: 1; margin-top: 1px; }
.project-link:hover .project-name { color: var(--red); }
.project-link:hover .project-domain { text-decoration-color: var(--red); }
.about { display: grid; grid-template-columns: 1fr 1.08fr; gap: 76px; margin-top: 78px; padding: 0 52px 76px 64px; scroll-margin-top: 36px; }
.about-heading .eyebrow { display: block; }
.about h2 { margin: 0; font-family: var(--serif); font-size: 2.3rem; line-height: 1.2; font-weight: 400; letter-spacing: -0.04em; }
.about p { margin: 0; color: #50514b; font-size: 1rem; line-height: 1.8; }
.about .contact { margin-top: 24px; }
.contact a { color: var(--red); overflow-wrap: anywhere; }
.footer { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid var(--rule); padding: 26px 0 33px; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.footer > span > span { padding: 0 9px; color: #8c8d82; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--red); }

@media (max-width: 900px) {
  .introduction { grid-template-columns: 1fr; gap: 27px; padding: 49px 0; }
  .intro-copy { max-width: 31rem; }
  .project-link { grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1.05fr) 20px; gap: 20px; }
  .about { gap: 40px; padding-left: 44px; padding-right: 40px; }
}

@media (max-width: 620px) {
  .masthead { min-height: 85px; gap: 16px; }
  .wordmark { gap: 9px; font-size: 0.75rem; }
  .mark { width: 1.8125rem; height: 1.8125rem; font-size: 1.5rem; }
  nav { gap: 19px; }
  .nav-count { display: none; }
  .introduction { padding: 43px 0 41px; gap: 24px; }
  h1 { font-size: clamp(3.75rem, 14vw, 5.6rem); }
  .eyebrow { margin-bottom: 15px; font-size: 0.75rem; letter-spacing: 0.025em; }
  .intro-copy { font-size: 1.1875rem; line-height: 1.55; max-width: 25rem; }
  .section-heading { gap: 12px; padding: 18px 0; }
  .section-heading p { font-size: 0.75rem; }
  .project-link { grid-template-columns: 22px minmax(0, 1fr) 20px; gap: 0 12px; padding: 26px 0 28px; }
  .project-number { grid-column: 1; grid-row: 1; padding-top: 3px; }
  .project-identity { grid-column: 2; grid-row: 1; }
  .project-arrow { grid-column: 3; grid-row: 1; font-size: 1.25rem; }
  .project-kind { margin-bottom: 8px; }
  .project-name { font-size: 1.375rem; }
  .project-domain { font-size: 0.875rem; }
  .project-copy { grid-column: 2 / 4; grid-row: 2; margin-top: 16px; }
  .about { grid-template-columns: 1fr; gap: 23px; margin-top: 47px; padding: 0 0 45px; }
  .about h2 { font-size: 2.25rem; }
  .footer { flex-wrap: wrap; gap: 20px; padding: 23px 0 29px; }
}

@media (prefers-reduced-motion: no-preference) {
  .project-link { transition: background-color 140ms ease; }
}

@media print {
  :root { --paper: white; --ink: black; --muted: #444; }
  body { border: 0; }
  .page { padding: 0; }
  .masthead, .footer, .project-arrow, .skip-link { display: none; }
  .introduction { padding: 0 0 30px; }
  h1 { font-size: 4rem; }
  .project { break-inside: avoid; }
  .project-link { padding: 18px 0; }
  .about { break-inside: avoid; margin-top: 32px; padding-bottom: 0; }
}
