:root {
  --ink: #183c2c;
  --muted: #536658;
  --paper: #fffaf0;
  --cream: #f7f0d8;
  --line: #cfd6bd;
  --lime: #d3e6a4;
  --peach: #f1a969;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #3f662a;
}
a:focus-visible {
  outline: 3px solid #b56831;
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
.skip-link {
  position: absolute;
  left: 15px;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px;
  z-index: 2;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  max-width: 1180px;
  margin: auto;
  min-height: 102px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 19px;
}
.site-header nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.site-header nav a {
  text-decoration: none;
  padding: 8px 0;
}
.site-header nav a[aria-current] {
  border-bottom: 2px solid var(--ink);
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 0 30px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
}
h1,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 750;
}
.journal-intro {
  padding: 65px 0 70px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.journal-intro h1 {
  font-size: clamp(56px, 7.2vw, 88px);
  letter-spacing: -4px;
  margin-top: 22px;
}
.journal-intro h1 em {
  font-weight: 400;
  color: #527148;
}
.intro {
  font-size: 22px;
  line-height: 1.5;
  margin-top: 27px;
}
.byline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 25px;
}
.notebook {
  background: var(--lime);
  padding: 25px 35px 29px;
  border-radius: 5px 20px 20px 5px;
  box-shadow:
    inset 9px 0 #9eb97d,
    5px 5px 0 #eef0de,
    6px 6px 0 #bdc9aa,
    15px 22px 35px #183c2c12;
  transform: rotate(3deg);
  text-align: center;
  max-width: 380px;
  justify-self: end;
  width: 100%;
}
.notebook-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 2px;
  border-bottom: 1px solid #91a575;
  padding-bottom: 12px;
}
.notebook img {
  display: block;
  margin: 28px auto 22px;
}
.notebook p {
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.4;
}
.notebook-date {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 28px;
}
.entries {
  border-top: 1px solid var(--line);
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 0;
}
.section-label h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-label > span {
  font-size: 11px;
  color: var(--muted);
}
.entry {
  display: grid;
  grid-template-columns: 72px 1fr 90px;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 39px;
}
.entry-number {
  font:
    36px Georgia,
    serif;
  color: #7c9076;
}
.entry-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.draft {
  font-size: 10px;
  line-height: 1.4;
  background: #efe3c2;
  border: 1px solid #d8caa1;
  border-radius: 20px;
  padding: 4px 9px;
  color: #655329;
}
.entry h3 {
  font-size: 37px;
  margin-top: 15px;
  letter-spacing: -1px;
}
.entry h3 a {
  text-decoration: none;
}
.entry h3 a:hover {
  text-decoration: underline;
}
.entry p {
  max-width: 610px;
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
}
.read-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 22px;
  text-decoration: none;
}
.read-link span[aria-hidden] {
  margin-left: 8px;
}
.reading-time {
  font-size: 11px;
  color: var(--muted);
  padding-top: 5px;
  text-align: right;
}
.journal-rule {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 32px 0 60px;
  color: var(--muted);
  font-size: 12px;
}
.journal-rule > span {
  font-size: 32px;
  color: #6d8151;
}
.site-footer {
  max-width: 1180px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 27px 30px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer > a:first-child {
  font-weight: 750;
  color: var(--ink);
  text-decoration: none;
}
.site-footer > a:last-child {
  white-space: nowrap;
}
.article-main {
  padding-top: 34px;
}
.back-link {
  font-size: 12px;
  text-decoration: none;
}
.article-header {
  max-width: 850px;
  margin: 43px auto 42px;
}
.article-header h1 {
  font-size: clamp(43px, 6.1vw, 72px);
  letter-spacing: -2.5px;
  margin: 23px 0;
}
.article-deck {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 750px;
}
.author {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-top: 27px;
}
.author time {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.article-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 690px);
  gap: 55px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
  justify-content: center;
}
.margin-note {
  color: var(--muted);
  font-size: 12px;
  padding-top: 4px;
}
.margin-note .eyebrow {
  font-size: 9px;
  color: var(--ink);
}
.margin-note p + p {
  margin-top: 17px;
}
.margin-note > span {
  display: block;
  font-size: 33px;
  margin-top: 25px;
  color: #718257;
}
.prose {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.83;
  min-width: 0;
}
.prose > p {
  margin-bottom: 23px;
}
.prose h2 {
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin: 43px 0 20px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose a {
  text-decoration-color: #99ad7f;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.prose a:hover {
  text-decoration-color: var(--ink);
}
.prose strong {
  font-weight: 700;
}
.signoff {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 38px 0;
}
.signoff p {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.signoff span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.article-end {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 35px 0 60px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 750px) {
  .site-header {
    padding: 18px 22px;
    align-items: flex-start;
  }
  .brand {
    font-size: 15px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .site-header nav {
    gap: 12px;
    font-size: 11px;
    justify-content: flex-end;
    max-width: 185px;
  }
  main {
    padding: 0 24px;
  }
  .journal-intro {
    gap: 30px;
    padding: 40px 0 48px;
  }
  .journal-intro h1 {
    font-size: 58px;
    letter-spacing: -3px;
  }
  .intro {
    font-size: 18px;
  }
  .notebook {
    padding: 22px;
  }
  .notebook p {
    font-size: 20px;
  }
  .notebook img {
    width: 105px;
  }
  .notebook-top {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .entry {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }
  .reading-time {
    grid-column: 2;
    text-align: left;
    padding: 0;
  }
  .entry h3 {
    font-size: 32px;
  }
  .entry-number {
    font-size: 29px;
  }
  .site-footer {
    padding: 24px;
    flex-wrap: wrap;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 26px;
  }
  .margin-note {
    display: none;
  }
  .article-header {
    margin-top: 28px;
  }
  .article-header h1 {
    font-size: 51px;
  }
  .article-deck {
    font-size: 18px;
  }
  .prose {
    font-size: 18px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .author {
    gap: 10px;
  }
  .article-main {
    padding-top: 25px;
  }
}
@media (max-width: 480px) {
  .journal-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .notebook {
    max-width: none;
    transform: rotate(1.5deg);
    padding: 22px 28px;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
  }
  .notebook-top {
    grid-column: 1/-1;
    font-size: 8px;
  }
  .notebook img {
    width: 80px;
    margin: 10px 0;
  }
  .notebook p {
    font-size: 19px;
    text-align: left;
  }
  .notebook-date {
    grid-column: 1/-1;
    margin-top: 0;
    font-size: 8px;
  }
  .journal-intro h1 {
    font-size: 65px;
  }
  .intro br {
    display: none;
  }
  .byline {
    margin-top: 18px;
  }
  .entry {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }
  .entry-number {
    display: none;
  }
  .reading-time {
    grid-column: 1;
  }
  .entry h3 {
    font-size: 33px;
  }
  .article-header h1 {
    font-size: 47px;
    letter-spacing: -2px;
  }
  .author {
    font-size: 10px;
  }
  .author time {
    border: 0;
    padding: 0;
  }
  .article-end {
    font-size: 11px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
