:root {
  --paper: #f3eee4;
  --paper-2: #e7dfd0;
  --ink: #1a1614;
  --muted: #5c534c;
  --rule: #cfc3b2;
  --hall: #5c2430;
  --hall-2: #3d1720;
  --pin: #2f5d50;
  --plate: #1a1614;
  --pad: clamp(1.1rem, 4vw, 3rem);
  --col: 64rem;
  --display: "Libre Bodoni", "Bodoni MT", serif;
  --body: "Libre Baskerville", Georgia, serif;
  --ui: "Manrope", "Avenir Next", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(92, 36, 48, 0.035) 28px
    ),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.66;
  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: #d7c4b0; color: var(--ink); }
:focus-visible { outline: 2px solid var(--hall); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hall); text-underline-offset: 0.16em; }
a:hover { color: var(--pin); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  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;
}

.minutes {
  text-align: center;
  padding: 0.55rem var(--pad);
  background: var(--hall-2);
  color: #f0e6d4;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mast {
  text-align: center;
  padding: 1.7rem var(--pad) 1.35rem;
  border-bottom: 1px dashed var(--rule);
}
.word {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}
.word strong {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 500;
  line-height: 0.95;
}
.word small {
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mast nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.15rem;
  margin-top: 1.1rem;
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mast nav a { color: var(--ink); text-decoration: none; }
.mast nav a[aria-current="page"],
.mast nav a:hover { color: var(--hall); }

.hero-photo img {
  width: 100%;
  height: min(58vh, 32rem);
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}
.hero-copy {
  padding: 1.7rem var(--pad) 0.3rem;
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
}
.kicker {
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hall);
  margin: 0 0 0.5rem;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  margin-bottom: 0.7rem;
}
.lede { color: var(--muted); font-size: 1.04rem; }
.more {
  display: inline-flex;
  margin-top: 1rem;
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--pin);
  padding-bottom: 0.12rem;
  width: max-content;
}
.more:hover { color: var(--pin); }

.folio { padding: 2.2rem 0 1.5rem; }
.folio h2 {
  text-align: center;
  font-size: 1.65rem;
  margin-bottom: 1.3rem;
}
.notice {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 1.15rem;
  padding: 1.15rem 0;
  border-top: 1px dashed var(--rule);
  text-decoration: none;
  color: inherit;
}
.notice img {
  width: 100%;
  height: 11.2rem;
  object-fit: cover;
  box-shadow: 4px 4px 0 var(--hall-2);
}
.notice h3 { font-size: 1.5rem; margin: 0.15rem 0 0.4rem; }
.notice p { color: var(--muted); font-size: 0.95rem; }

.essay { padding: 2.4rem 0 2.8rem; }
.essay h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0.2rem 0 1rem; }
.essay .lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.3rem; }
.essay img.wide {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  margin: 0 0 1.45rem;
}
.essay .copy { max-width: 40rem; margin: 0 auto; }
.essay.wrap > .kicker,
.essay.wrap > h1,
.essay.wrap > .lead { text-align: center; }

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

.site-foot {
  padding: 1.5rem 0 5.5rem;
  border-top: 6px double var(--hall);
  font-family: var(--ui);
  font-size: 0.75rem;
  text-align: center;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin-bottom: 0.65rem;
}
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--hall); }
.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: #d7c4b0; }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie button {
  border: 1px solid transparent;
  padding: 0.45rem 0.85rem;
  background: var(--hall);
  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: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js [data-rise].is-in,
[data-rise] { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .notice { grid-template-columns: 1fr; }
  .notice img { height: 14rem; }
  .also-grid { grid-template-columns: 1fr; }
  .hero-photo img { height: 20rem; }
  .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; }
}
