:root {
  --cream: #f3eee4;
  --paper: #faf6ee;
  --ink: #1c1814;
  --muted: #5c5348;
  --line: #d9d0c1;
  --oxblood: #6e2c24;
  --brass: #b08d57;
  --navy: #1e2a38;
  --hero: #140f0c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
  background-image:
    radial-gradient(rgba(28, 24, 20, 0.03) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(4.2rem, 11vw, 8rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.8em;
}
.kicker.ink { color: var(--oxblood); }
.kicker.light { color: #d7c39a; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(243, 238, 228, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mark {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.mark strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 1.15rem; }
.mark em { display: block; font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); }
.seal {
  width: 34px;
  height: 34px;
  border: 1px solid var(--oxblood);
  border-radius: 50%;
  position: relative;
}
.seal::before,
.seal::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--brass);
  border-radius: 50%;
}
.seal::after { inset: 12px; background: var(--oxblood); border: 0; }
.site-nav nav { display: flex; gap: 22px; }
.site-nav nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-nav nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 15, 12, 0.28) 0%, rgba(20, 15, 12, 0.18) 32%, rgba(20, 15, 12, 0.82) 100%);
}
.hero-copy {
  position: relative;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 10vh 0 8vh;
}
.hero .lede {
  font-size: 1.25rem;
  max-width: 38rem;
  color: #efe6d6;
}
.principle {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.45rem;
  color: #e8d7b0;
  max-width: 28rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.85rem 1.2rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn.solid { background: var(--oxblood); color: #f7efe2; }
.btn.ghost { border-color: #e6d7b8; color: #f7efe2; background: transparent; }
.btn.solid:hover { background: #5b241e; }
button.btn { width: 100%; }

.define { padding: 7rem 0; }
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.prose { color: var(--ink); max-width: 40rem; }
.prose p:last-child { margin-bottom: 0; }

.library { padding: 0 0 7rem; }
.section-head { max-width: 40rem; margin-bottom: 2.8rem; }
.section-head p:last-child { color: var(--muted); }

.shelf {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.book {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 12px 20px;
}
.book img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #ddd4c4;
}
.book h3 { margin-bottom: 0.25em; }
.book p { color: var(--muted); font-size: 0.95rem; }
.vol, .dl, .meta, .fine, .form-lede {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.dl { display: inline-block; margin-top: 0.4rem; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.book:hover { border-color: var(--brass); }

.seminars {
  padding: 7rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.curriculum {
  list-style: none;
  margin: 0;
  padding: 0;
}
.curriculum li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.curriculum li:last-child { border-bottom: 1px solid var(--line); }
.num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--oxblood);
  line-height: 1;
  padding-top: 4px;
}
.meta { color: var(--muted); text-transform: none; letter-spacing: 0.02em; margin: 0; }

.letters { padding: 7rem 0; }
.quotes {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.quote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 22px 18px;
}
.quote.featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  padding: 32px;
}
.quote blockquote {
  margin: 0 0 1.2em;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  line-height: 1.35;
  font-style: italic;
}
.quote.featured blockquote { font-size: 1.7rem; }
.quote figcaption {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}
.quote.featured figcaption { color: #cbbca3; }
.quote figcaption strong { display: block; color: inherit; font-family: "Source Serif 4", serif; font-size: 0.95rem; margin-bottom: 4px; }
.quote figcaption span { display: block; margin-top: 8px; }

.interval {
  padding: 6.5rem 0 7rem;
  background: var(--navy);
  color: var(--cream);
}
.signup { align-items: start; }
.next .when {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-style: italic;
  color: #e8d7b0;
}
.next dl { margin: 1.8rem 0 0; }
.next dl div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(232, 215, 176, 0.25);
  font-size: 0.95rem;
}
.next dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7c39a;
}
.next dd { margin: 0; }

.panel { min-width: 0; }
.apply, .thanks {
  background: var(--cream);
  color: var(--ink);
  padding: 28px;
  border: 1px solid #c9b894;
}
.apply h3, .thanks h3 { font-size: 2rem; }
.apply label {
  display: block;
  margin-bottom: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.apply input, .apply select, .apply textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", serif;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}
.apply input:focus, .apply select:focus, .apply textarea:focus {
  outline: 1px solid var(--oxblood);
  border-color: var(--oxblood);
}
.hidden { position: absolute; left: -9999px; }
.fine { margin: 12px 0 0; color: var(--muted); }

.site-foot {
  padding: 3.5rem 0;
  background: #15110e;
  color: #d7ccbb;
  font-size: 0.95rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 32px;
}
.site-foot a { color: #e8d7b0; }
.site-foot strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

@media (max-width: 980px) {
  .shelf, .quotes, .split, .foot-grid { grid-template-columns: 1fr 1fr; }
  .quote.featured { grid-column: 1 / -1; grid-row: auto; }
  .site-nav nav { display: none; }
}
@media (max-width: 700px) {
  .shelf, .quotes, .split, .foot-grid { grid-template-columns: 1fr; }
  .curriculum li { grid-template-columns: 2.4rem 1fr; }
  .hero { min-height: 88vh; }
  h1 { font-size: 3.4rem; }
  .define, .library, .seminars, .letters, .interval { padding-top: 4.2rem; padding-bottom: 4.2rem; }
}
