@font-face {
  font-family: DM Sans;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Space Grotesk;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #f3f1e9;
  --ink: #20211f;
  --muted: #686962;
  --line: #d6d5cb;
  --accent: #c33c22;
  font-family:
    DM Sans,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 30px 60px;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin: 0;
}

.masthead {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--ink);
}
.brand {
  font-family:
    Space Grotesk,
    sans-serif;
  font-weight: 700;
  font-size: 50px;
  letter-spacing: -3.5px;
  line-height: 1;
}
.brand span,
h1 span,
.entry-name span {
  color: var(--accent);
}
.masthead-city {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.edition {
  margin-left: auto;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.edition-mark {
  background: var(--accent);
  height: 6px;
  width: 6px;
}

.lead {
  padding: 72px 0 64px;
}
h1 {
  font-family:
    Space Grotesk,
    sans-serif;
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
  max-width: 17ch;
}
.lead p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  margin: 26px 0 0;
}

section + section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.work,
.standard {
  padding-bottom: 46px;
}

.entry {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: start;
  gap: 0 18px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.entry:last-of-type {
  border-bottom: 0;
}
.entry:hover .entry-name,
.entry:focus-visible .entry-name {
  color: var(--accent);
}
.entry:hover .entry-go {
  transform: translate(2px, -2px);
}
.entry-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding-top: 10px;
}
.entry-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.entry-name {
  font-family:
    Space Grotesk,
    sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1;
}
.entry-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.entry-copy {
  font-size: 15px;
  line-height: 1.55;
  max-width: 54ch;
  margin-top: 4px;
}
.entry-go {
  font-size: 18px;
  padding-top: 8px;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.standard ol {
  list-style: none;
  counter-reset: rule;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.standard li {
  counter-increment: rule;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 26px;
  position: relative;
}
.standard li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
}
.standard strong {
  color: var(--ink);
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
footer p {
  margin: 0;
  max-width: 52ch;
}
.colophon {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

@media (max-width: 720px) {
  body {
    padding: 0 16px 44px;
  }
  .masthead {
    height: auto;
    padding: 20px 0;
    gap: 16px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 38px;
    letter-spacing: -2.6px;
  }
  .masthead-city {
    padding-left: 16px;
  }
  .edition {
    flex-basis: 100%;
    margin-left: 0;
  }
  .lead {
    padding: 44px 0 40px;
  }
  .entry {
    grid-template-columns: 34px 1fr 20px;
    gap: 0 12px;
    padding: 24px 0;
  }
  .entry-name {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-go {
    transition: none;
  }
}
