:root {
  --ink: #201b18;
  --paper: #f3ede2;
  --paper-deep: #e8ddcc;
  --night: #171616;
  --night-soft: #25211f;
  --gold: #b99358;
  --gold-light: #dfc99c;
  --rust: #71352d;
  --muted: #776e63;
  --line: rgba(78, 59, 40, .22);
  --shadow: 0 20px 55px rgba(27, 18, 13, .16);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  background: var(--night);
  color: #f8f1e4;
  border-bottom: 1px solid rgba(223, 201, 156, .28);
}
.header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  text-decoration: none;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 1.08rem;
  white-space: nowrap;
}
.brand small {
  display: block;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: .61rem;
  letter-spacing: .22em;
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 23px; }
.nav a {
  color: #eee5d8;
  font-family: var(--sans);
  font-size: .79rem;
  text-decoration: none;
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--gold-light); }
.nav .nav-cta {
  border: 1px solid var(--gold);
  padding: 9px 14px;
}
.menu-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid var(--gold);
  background: transparent;
  color: #f8f1e4;
  padding: 8px 14px;
  font: .8rem var(--sans);
}

.hero {
  background: var(--night);
  color: #fff8eb;
  padding: 36px 0 64px;
}
.hero-card {
  width: min(1180px, calc(100% - 48px));
  min-height: 590px;
  margin: auto;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  border: 1px solid rgba(223, 201, 156, .42);
  box-shadow: 0 28px 70px rgba(0,0,0,.4);
  background: #29221d;
}
.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,13,12,.92) 0%, rgba(15,13,12,.7) 38%, rgba(15,13,12,.12) 72%), linear-gradient(0deg, rgba(15,13,12,.7), transparent 50%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
  padding: 64px;
}
.eyebrow {
  color: var(--rust);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow, .dark-section .eyebrow, .page-banner .eyebrow { color: var(--gold-light); }
h1, h2, h3 { font-weight: 400; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); margin-bottom: 22px; }
h3 { font-size: 1.45rem; margin-bottom: 10px; }
.lead { font-size: 1.22rem; line-height: 1.55; }
.hero-copy p { color: #ede2d3; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fffaf0;
  font-family: var(--sans);
  font-size: .84rem;
  text-decoration: none;
  letter-spacing: .02em;
}
.button.alt { background: transparent; color: inherit; border-color: currentColor; }
.button[aria-disabled='true'] { opacity: .64; cursor: default; }
.hero .button { background: var(--gold-light); border-color: var(--gold-light); color: #1c1815; }
.hero .button.alt { background: rgba(0,0,0,.2); color: #fff8eb; border-color: rgba(255,248,235,.72); }

.section { padding: 90px 0; }
.section.compact { padding: 64px 0; }
.wrap { width: min(1080px, calc(100% - 48px)); margin: auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin: auto; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; align-items: center; }
.split.reverse { grid-template-columns: 1.15fr .85fr; }
.book-cover { width: min(100%, 390px); margin: auto; box-shadow: var(--shadow); }
.portrait { width: min(100%, 430px); margin: auto; box-shadow: var(--shadow); }
.rule { width: 54px; height: 2px; background: var(--rust); margin: 24px 0; }
.muted { color: var(--muted); }
.dark-section { background: var(--night-soft); color: #f5ede0; }
.dark-section p { color: #d8cec1; }
.quote {
  border-left: 3px solid var(--gold);
  padding-left: 26px;
  font-size: 1.3rem;
  line-height: 1.55;
}
.quote cite { display: block; margin-top: 12px; font-family: var(--sans); font-size: .74rem; color: var(--muted); font-style: normal; }
.dark-section .quote cite { color: #bdb1a3; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: rgba(255,255,255,.37);
  border-top: 2px solid var(--rust);
  padding: 31px;
}
.card p { margin-bottom: 0; }

.page-banner {
  background: var(--night-soft);
  color: #f8f1e4;
  padding: 78px 0 70px;
  border-bottom: 1px solid rgba(185,147,88,.38);
}
.page-banner h1 { max-width: 850px; font-size: clamp(2.55rem, 5vw, 4.4rem); }
.page-banner p { color: #d9cfc2; max-width: 740px; margin-bottom: 0; }

.book-entry { display: grid; grid-template-columns: 340px 1fr; gap: 70px; align-items: start; }
.book-entry + .book-entry { margin-top: 110px; padding-top: 100px; border-top: 1px solid var(--line); }
.meta { font-family: var(--sans); color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.notice { background: var(--paper-deep); border-left: 3px solid var(--rust); padding: 22px 25px; margin: 28px 0; }

.manor-image { box-shadow: var(--shadow); border: 1px solid rgba(78,59,40,.28); }
.essay-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.essay { background: var(--paper); padding: 34px; display: grid; grid-template-columns: 160px 1fr; gap: 28px; }
.essay .meta { padding-top: 6px; }

.signup {
  background: #2b211d;
  color: #fbf3e6;
  padding: 52px;
  box-shadow: var(--shadow);
}
.signup p { color: #ded2c5; }
.signup .eyebrow { color: var(--gold-light); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
.form-row .button { width: 100%; }
input, textarea, select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #a69a8a;
  background: #fffdf8;
  color: var(--ink);
  font: 1rem var(--sans);
  padding: 12px 14px;
}
button:disabled, input:disabled, textarea:disabled, select:disabled {
  opacity: .66;
  cursor: not-allowed;
}
.form-status {
  margin-top: 14px;
  color: var(--gold-light) !important;
  font-family: var(--sans);
  font-size: .8rem;
}
textarea { min-height: 180px; resize: vertical; }
label { display: block; font-family: var(--sans); font-size: .82rem; margin: 0 0 7px; }
.field + .field { margin-top: 22px; }

.site-footer { background: #111; color: #ddd2c4; padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 45px; }
.footer-title { color: #fff7e9; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: #c9bdaf; font-family: var(--sans); font-size: .8rem; text-decoration: none; }
.copyright { border-top: 1px solid #352f2b; padding-top: 22px; margin-top: 42px; font: .72rem var(--sans); color: #988d82; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .header-inner { min-height: 74px; }
  .header-inner { position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 24px 22px;
    background: var(--night);
    border: 1px solid rgba(223, 201, 156, .28);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }
  .nav.is-open { display: flex; }
  .nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 4px; }
  .nav .nav-cta { margin-top: 5px; justify-content: center; }
  .hero { padding: 18px 0 36px; }
  .hero-card { width: min(100% - 24px, 680px); min-height: 690px; align-items: end; }
  .hero-card img { object-position: 58% center; }
  .hero-card::after { background: linear-gradient(0deg, rgba(15,13,12,.96) 0%, rgba(15,13,12,.74) 48%, rgba(15,13,12,.1) 82%); }
  .hero-copy { padding: 35px 28px; max-width: none; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.1rem); }
  .section { padding: 66px 0; }
  .split, .split.reverse, .book-entry { grid-template-columns: 1fr; gap: 42px; }
  .split .visual { order: -1; }
  .book-entry .book-cover { width: min(76%, 330px); }
  .cards { grid-template-columns: 1fr; }
  .essay { grid-template-columns: 1fr; gap: 5px; }
  .signup { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .header-inner, .wrap, .narrow { width: calc(100% - 32px); }
  .brand { font-size: .9rem; }
  .nav .nav-cta { padding: 8px 10px; font-size: .72rem; }
  .page-banner { padding: 56px 0 48px; }
  .hero-card { min-height: 620px; }
  .actions { display: grid; }
  .button { width: 100%; }
}
