:root {
  --paper: #efe8dc;
  --paper-2: #e6dccb;
  --ink: #241c16;
  --muted: #5e5348;
  --rule: #d2c4b0;
  --copper: #8c4a2a;
  --copper-2: #6e3820;
  --moss: #3d4a3a;
  --plate: #2a211b;
  --pad: clamp(1.15rem, 4.4vw, 3.4rem);
  --col: 68rem;
  --display: "DM Serif Display", "Palatino Linotype", serif;
  --body: "Newsreader", Georgia, serif;
  --ui: "Manrope", "Avenir Next", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  caret-color: transparent;
}
input, textarea, select, [contenteditable] {
  -webkit-user-select: text;
  user-select: text;
  caret-color: auto;
}
::selection { background: #e3c4ae; color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-2); text-underline-offset: 0.16em; }
a:hover { color: var(--copper); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }

.wrap {
  width: min(var(--col), calc(100% - 2 * var(--pad)));
  margin-left: auto;
  margin-right: auto;
}

.mast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.4rem;
  align-items: end;
  padding: 1.1rem var(--pad) 0.95rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--copper);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
}
.word {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.word strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.word small {
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mast nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mast nav a { color: var(--ink); text-decoration: none; }
.mast nav a[aria-current="page"],
.mast nav a:hover { color: var(--copper); }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 72vh;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, transparent, rgba(140, 74, 42, 0.08) 70%),
    var(--paper-2);
}
.kicker {
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.7rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  margin-bottom: 0.8rem;
}
.lede {
  font-size: 1.08rem;
  max-width: 28rem;
  color: var(--muted);
}
.more {
  display: inline-flex;
  margin-top: 1.2rem;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--copper);
  width: max-content;
  padding-bottom: 0.12rem;
}
.more:hover { color: var(--copper); }

.rows {
  padding: 2.4rem 0 1.2rem;
}
.rows h2 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}
.row {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 0;
  margin-bottom: 1px;
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
}
.row img {
  width: 100%;
  height: 100%;
  min-height: 12.5rem;
  object-fit: cover;
}
.row-body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.row h3 {
  font-size: 1.45rem;
  margin: 0.15rem 0 0.45rem;
}
.row p { color: var(--muted); font-size: 0.98rem; }

.essay {
  padding: 2.6rem 0 3rem;
}
.essay h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.2rem 0 1rem;
}
.essay .lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.essay img.wide {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  margin: 0 0 1.5rem;
}
.essay .copy { max-width: 42rem; }

.also {
  padding: 0 0 2.6rem;
}
.also-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.also a {
  display: block;
  padding: 0.9rem 1rem;
  background: var(--paper-2);
  text-decoration: none;
  color: inherit;
  border-left: 3px solid var(--copper);
}
.also strong { display: block; font-family: var(--display); font-weight: 400; margin-top: 0.2rem; }

.site-foot {
  padding: 1.6rem 0 5.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--ui);
  font-size: 0.78rem;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 0.7rem;
}
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--copper); }
.site-foot p { color: var(--muted); }

.cookie {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.95rem var(--pad) 1.15rem;
  background: var(--plate);
  color: var(--paper);
}
.cookie.is-on { display: block; }
.cookie-inner {
  width: min(var(--col), 100%);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie p { margin: 0; max-width: 42rem; font-size: 0.88rem; }
.cookie a { color: #e3c4ae; }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie button {
  border: 1px solid transparent;
  padding: 0.45rem 0.85rem;
  background: var(--copper);
  color: #fff;
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 700;
}
.cookie button[data-cookie="essential"] {
  background: transparent;
  border-color: #8a7a6c;
  color: var(--paper);
}

.js [data-rise] {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js [data-rise].is-in,
[data-rise] {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .mast {
    grid-template-columns: auto 1fr;
  }
  .mast nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .hero,
  .row,
  .also-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero img { min-height: 18rem; max-height: 22rem; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
}
