:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --ink: #2b342d;
  --muted: #626a60;
  --accent: #486747;
  --line: #d6d9cc;
  --panel: #e9ecdf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: #d6dfbe;
  color: var(--ink);
}

.page {
  width: min(100% - 3rem, 960px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.09em;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

nav,
.eyebrow,
.current,
.section-heading,
.entry-meta,
.margin-note,
.site-footer {
  font-family: ui-monospace, "Courier New", monospace;
}

nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.8rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.intro {
  padding: 88px 0 80px;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.intro-text {
  max-width: 530px;
  margin: 1.8rem 0;
  font-size: 1.2rem;
  line-height: 1.65;
}

.current {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
}

.section-heading h2,
.section-heading span {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
}

.section-heading h2 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading span {
  color: var(--muted);
}

.entry {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 2.75rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
}

.entry-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.35rem;
  color: var(--muted);
  font-size: 0.71rem;
}

.entry-meta span {
  color: var(--accent);
}

.entry h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.entry p {
  max-width: 60ch;
  margin: 0 0 1rem;
}

.entry p:last-child {
  margin-bottom: 0;
}

.margin-note {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.65rem;
}

.about {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 2rem;
  margin: 4.5rem 0;
  padding: 2.5rem;
  background: var(--panel);
}

.about-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid #a7b39c;
  border-radius: 50%;
  color: var(--accent);
  font-size: 2.5rem;
  font-style: italic;
  line-height: 1;
}

.about .eyebrow {
  margin-bottom: 0.65rem;
}

.about h2 {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.about p:not(.eyebrow) {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.about p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.66rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 2rem);
  }

  .site-header {
    min-height: 88px;
  }

  .intro {
    padding: 4rem 0;
  }

  .intro-text {
    font-size: 1.08rem;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .entry-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 1.5rem;
  }

  .about-mark {
    width: 58px;
    height: 58px;
    font-size: 2rem;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

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