:root {
  --paper: #f4efe5;
  --paper-deep: #e7dece;
  --paper-light: #fffdf8;
  --ink: #1c2a25;
  --ink-soft: #55615b;
  --green: #24473d;
  --green-dark: #17342c;
  --terracotta: #b65339;
  --terracotta-dark: #8f3b28;
  --mustard: #d5a53a;
  --line: #cfc3b0;
  --shadow: 0 18px 50px rgba(35, 45, 39, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(213,165,58,.12), transparent 25rem),
    linear-gradient(180deg, #f8f3e9 0, var(--paper) 28rem);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--terracotta-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--terracotta); }
button, input, textarea, select { font: inherit; }
::selection { background: #ead59c; color: var(--ink); }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-170%);
  padding: .65rem 1rem;
  color: white;
  background: var(--green-dark);
  border-radius: .25rem;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(28,42,37,.18);
  background: rgba(248,243,233,.94);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--paper-light);
  background: var(--green);
  border-radius: 48% 48% 44% 44% / 42% 42% 58% 58%;
  box-shadow: 5px 5px 0 var(--mustard);
  font: 700 1rem/1 var(--serif);
  letter-spacing: .03em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-title { font: 700 1.2rem/1.1 var(--serif); }
.brand-kicker {
  margin-top: .34rem;
  color: var(--ink-soft);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.site-nav a {
  padding: .55rem .78rem;
  color: var(--ink);
  border-radius: 2rem;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--paper-light);
  background: var(--green);
}
main { overflow: clip; }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--terracotta-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.display-title, h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--serif);
  letter-spacing: -.025em;
}
.display-title { margin-bottom: 1.2rem; font-size: clamp(2.9rem, 7vw, 6.4rem); line-height: .92; }
h1 { font-size: clamp(2.45rem, 6vw, 5rem); line-height: .98; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.08; }
h3 { font-size: 1.28rem; line-height: 1.2; }
.deck { max-width: 42rem; margin: 0; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.6; }
.hero { padding: clamp(3.5rem, 8vw, 7rem) 0 5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 7rem;
  height: 7rem;
  top: -2.5rem;
  left: -3rem;
  border: 1px solid var(--mustard);
  border-radius: 50%;
  opacity: .65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.05rem;
  color: white;
  background: var(--terracotta-dark);
  border: 1px solid var(--terracotta-dark);
  border-radius: .2rem;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}
.button:hover { color: white; background: var(--terracotta); }
.button.secondary { color: var(--green-dark); background: transparent; border-color: var(--green); }
.button.secondary:hover { color: white; background: var(--green); }
.hero-visual { position: relative; margin: 0; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1rem 2.5rem 2rem -1.2rem;
  z-index: -1;
  background: var(--mustard);
  transform: rotate(-2deg);
}
.hero-visual img { width: 100%; aspect-ratio: 3/2; object-fit: cover; box-shadow: var(--shadow); }
.hero-visual figcaption {
  position: absolute;
  right: -1rem;
  bottom: -2.2rem;
  width: min(18rem, 70%);
  padding: 1rem 1.2rem;
  color: white;
  background: var(--green-dark);
  font: italic .92rem/1.45 var(--serif);
  transform: rotate(1.5deg);
}
.mini-signature { display: inline-block; margin-top: 1.5rem; font: italic 1.08rem/1.2 var(--serif); transform: rotate(-2deg); }
.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section.tint { background: var(--green-dark); color: #edf0eb; }
.section.tint h2, .section.tint h3 { color: white; }
.section.tint .eyebrow { color: #efbf7c; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.section-head h2 { max-width: 38rem; margin-bottom: 0; }
.section-link { white-space: nowrap; font-weight: 800; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--paper-light);
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(28,42,37,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.entry-card:nth-child(3n+2) { transform: translateY(1.2rem); }
.entry-card:nth-child(3n+2):hover { transform: translateY(calc(1.2rem - 5px)); }
.entry-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.3rem 1.4rem; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: .8rem; color: var(--ink-soft); font-size: .75rem; }
.tag { display: inline-flex; padding: .2rem .5rem; color: var(--green-dark); background: #dbe6df; border-radius: 2rem; font-size: .69rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.entry-card h3 { margin-bottom: .75rem; font-size: 1.48rem; }
.entry-card h3 a { color: var(--ink); text-decoration: none; }
.entry-card p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.card-read { margin-top: auto; font-size: .8rem; font-weight: 800; }
.notebook-band { position: relative; }
.notebook-band::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto;
  height: 1px;
  background: rgba(255,255,255,.18);
}
.note-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--green-dark); border: 1px solid rgba(255,255,255,.18); }
.note-item { padding: 1.5rem; background: var(--green-dark); }
.note-item time { color: #d9c9ad; font-size: .75rem; }
.note-item h3 { margin: .45rem 0 .7rem; font-size: 1.35rem; }
.note-item a { color: white; text-decoration: none; }
.note-item p { margin: 0; color: #c8d2cd; font-size: .9rem; }
.home-about { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.about-stamp {
  position: relative;
  min-height: 370px;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}
.about-stamp::before, .about-stamp::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.about-stamp::before { width: 15rem; height: 15rem; background: var(--green); }
.about-stamp::after { width: 10.5rem; height: 10.5rem; border: 2px solid var(--mustard); transform: translate(2.8rem,-1.8rem); }
.about-monogram { position: relative; z-index: 2; color: white; font: italic 4.8rem/1 var(--serif); }
.about-copy blockquote { margin: 0 0 1.4rem; font: 400 clamp(1.6rem,3vw,2.35rem)/1.3 var(--serif); }
.about-copy p { color: var(--ink-soft); }
.page-hero { padding: 4.5rem 0 3.2rem; border-bottom: 1px solid var(--line); }
.page-hero .deck { max-width: 48rem; }
.archive-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.archive-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0,1fr) 12rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem .2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.archive-row:hover { background: rgba(255,255,255,.45); }
.archive-row time { color: var(--ink-soft); font-size: .78rem; }
.archive-row strong { color: var(--ink); font: 700 1.3rem/1.25 var(--serif); }
.archive-row span:last-child { color: var(--ink-soft); font-size: .82rem; text-align: right; }
.about-page { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: clamp(2rem,7vw,7rem); }
.about-card { align-self: start; padding: 2rem; color: white; background: var(--green); box-shadow: var(--shadow); transform: rotate(-1deg); }
.about-card .initials { margin-bottom: 1rem; font: italic 4rem/1 var(--serif); color: #f1c66d; }
.about-card p { margin: 0; color: #dce5e0; }
.about-text { max-width: 45rem; }
.about-text p:first-of-type { font: 400 1.4rem/1.55 var(--serif); }
.about-text h2 { margin-top: 2.6rem; }
.breadcrumb { padding: 1.2rem 0; color: var(--ink-soft); font-size: .78rem; }
.breadcrumb a { color: var(--ink-soft); }
.article-header { padding: 2.8rem 0 3.5rem; }
.article-header .wrap { max-width: 980px; }
.article-header h1 { max-width: 900px; margin-bottom: 1.2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; color: var(--ink-soft); font-size: .82rem; }
.article-meta span:last-child { display: none; }
.article-lead { max-width: 760px; margin: 1.4rem 0 0; color: var(--ink-soft); font: 400 1.22rem/1.55 var(--serif); }
.article-hero { width: min(calc(100% - 2.5rem), 1180px); margin: 0 auto; }
.article-hero img { width: 100%; max-height: 680px; aspect-ratio: 3/2; object-fit: cover; box-shadow: var(--shadow); }
.article-shell { width: min(calc(100% - 2.5rem), 1050px); margin: 0 auto; padding: 4rem 0 6rem; display: grid; grid-template-columns: minmax(0, 700px) 240px; gap: clamp(2.5rem,6vw,6rem); align-items: start; }
.prose { min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.45rem; }
.prose h2 { margin: 3.2rem 0 1.1rem; font-size: 2rem; }
.prose h3 { margin: 2.2rem 0 .8rem; }
.prose ul, .prose ol { margin: 0 0 1.6rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .55rem; padding-left: .3rem; }
.prose blockquote { margin: 2.4rem 0; padding: 1.2rem 1.5rem; border-left: 5px solid var(--terracotta); background: #ece3d4; font: 400 1.25rem/1.55 var(--serif); }
.prose figure { margin: 2.8rem 0; }
.prose figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; box-shadow: 0 12px 30px rgba(28,42,37,.12); }
.prose figcaption { margin-top: .7rem; color: var(--ink-soft); font-size: .76rem; line-height: 1.5; }
.prose a { font-weight: 650; }
.prose strong { color: var(--green-dark); }
.article-aside { position: sticky; top: 2rem; padding-top: 1rem; border-top: 5px solid var(--mustard); }
.article-aside p { color: var(--ink-soft); font-size: .8rem; }
.article-aside h2 { margin-bottom: .8rem; font-size: 1.2rem; }
.article-aside ul { margin: 0; padding: 0; list-style: none; }
.article-aside li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.article-aside a { color: var(--ink); font-size: .8rem; text-decoration: none; }
.article-aside a:hover { color: var(--terracotta-dark); }
.article-end { padding: 3rem 0 5rem; border-top: 1px solid var(--line); }
.related-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.related-link { padding: 1.3rem; color: var(--ink); background: var(--paper-light); border: 1px solid var(--line); text-decoration: none; }
.related-link:last-child { text-align: right; }
.related-link small { display: block; margin-bottom: .35rem; color: var(--ink-soft); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.related-link strong { font-family: var(--serif); }
.site-footer { color: #dce5e0; background: var(--green-dark); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; padding: 4rem 0 3rem; }
.footer-brand { max-width: 28rem; }
.footer-brand h2 { margin-bottom: .8rem; color: white; font-size: 1.8rem; }
.footer-brand p { color: #b9c7c0; }
.footer-col h3 { color: #f1c66d; font: 700 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: .45rem 0; color: #dce5e0; text-decoration: none; font-size: .9rem; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.15); color: #9fb0a8; font-size: .72rem; }
@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 1rem; padding: 1rem 0; }
  .site-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; }
  .site-nav a { white-space: nowrap; }
  .hero-grid, .home-about, .about-page { grid-template-columns: 1fr; }
  .hero-copy { max-width: 46rem; }
  .hero-visual { width: min(100%, 720px); margin-inline: auto; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .entry-card:nth-child(3n+2) { transform: none; }
  .entry-card:nth-child(3n+2):hover { transform: translateY(-5px); }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; order: -1; }
  .article-aside ul { columns: 2; column-gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .article-hero, .article-shell { width: min(calc(100% - 1.5rem), var(--max)); }
  .brand-kicker { display: none; }
  .header-inner { min-height: auto; }
  .site-nav a { padding-inline: .62rem; font-size: .8rem; }
  .hero { padding-top: 3rem; }
  .hero-grid { gap: 2.5rem; }
  .display-title { font-size: clamp(3rem,16vw,4.5rem); }
  .hero-visual::before { inset: -.6rem 1rem 1rem -.5rem; }
  .hero-visual figcaption { position: relative; right: auto; bottom: auto; width: calc(100% - 1.4rem); margin: -.4rem 0 0 1.4rem; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .card-grid, .note-list, .related-nav { grid-template-columns: 1fr; }
  .archive-row { grid-template-columns: 5.4rem 1fr; gap: .7rem; }
  .archive-row span:last-child { grid-column: 2; text-align: left; }
  .about-stamp { min-height: 280px; }
  .article-header { padding-top: 1.5rem; }
  .article-header h1 { font-size: clamp(2.45rem,12vw,3.6rem); }
  .article-shell { padding-top: 2.8rem; }
  .prose h2 { font-size: 1.65rem; }
  .article-aside ul { columns: 1; }
  .related-link:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
