:root {
  /* Monochrome, like the pencil-drawn cover. One cold accent: a 2am / rain-window slate blue. */
  --ink: #14171c;          /* near-black charcoal */
  --ink-2: #1c2027;        /* raised dark surface */
  --ink-3: #262b34;        /* lighter dark surface */
  --ink-soft: #55585d;     /* graphite body text on light */
  --paper: #f2f1ee;        /* soft off-white, like drawing paper */
  --paper-2: #e9e8e3;      /* deeper paper for alt sections */
  --paper-3: #dedcd6;      /* deepest paper */
  --accent: #5a6b7d;       /* muted dusk slate-blue */
  --accent-soft: #8697a8;  /* lighter slate */
  --accent-deep: #3f4c5a;  /* deep slate */
  --gold: #9aa7b4;         /* cool highlight (replaces warm gold) */
  --on-dark: #ebeae6;      /* text on dark */
  --on-dark-soft: #9a9ea4;
  --line: #d6d4cd;
  --line-dark: rgba(235, 234, 230, 0.13);
  --max: 1160px;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
main, .site-header, .site-footer { position: relative; z-index: 2; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

em { font-style: italic; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

::selection { background: var(--accent); color: #fff; }

/* ── Quote reveal on scroll ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s cubic-bezier(0.22, 0.7, 0.24, 1),
              transform 1.1s cubic-bezier(0.22, 0.7, 0.24, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* source line trails the quote slightly */
.band-source.reveal { transition-delay: 0.18s; }
.about-epigraph.reveal { transition-delay: 0.08s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 3.5rem);
  background: rgba(245, 239, 228, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 205, 180, 0.6);
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--accent); }
.nav .nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
  font-weight: 600;
}
.nav .nav-cta:hover { background: var(--accent); color: #fff; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 10px 26px -12px rgba(20, 23, 28, 0.6);
}
.btn-primary:hover {
  background: var(--ink-3);
  box-shadow: 0 16px 34px -14px rgba(20, 23, 28, 0.7);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero .btn-ghost {
  color: var(--on-dark);
  border-color: rgba(243, 237, 225, 0.3);
}
.hero .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Shared section labels ──────────────────────── */
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.section-tag::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section-tag.light { color: var(--gold); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3.5rem) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(95% 75% at 85% 10%, rgba(90, 107, 125, 0.34), transparent 58%),
    radial-gradient(80% 70% at 6% 98%, rgba(63, 76, 90, 0.28), transparent 62%),
    linear-gradient(158deg, #1e232b 0%, var(--ink) 60%, #0e1013 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom, transparent 0 40px, rgba(243, 237, 225, 0.022) 40px 41px
  );
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: min(72vh, 640px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold); opacity: 0.7;
}
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1.6rem;
}
.hero h1 .line { display: block; }
.hero h1 .accent {
  padding-bottom: 0.12em;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(105deg, var(--accent-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--on-dark-soft);
  max-width: 30ch;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* hero cover */
.hero-cover { display: flex; justify-content: center; }
.cover-frame {
  width: min(78%, 300px);
  transform: rotate(2.5deg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.72),
    0 8px 22px -8px rgba(90, 107, 125, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cover-frame:hover { transform: rotate(0deg) translateY(-6px); }
.cover-frame img { display: block; width: 100%; height: auto; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero-scroll span { animation: bob 2.2s ease-in-out infinite; display: inline-block; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(4px); opacity: 1; } }

/* ── Quote band ─────────────────────────────────── */
.band {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line-dark);
}
.band-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.3;
  max-width: 22ch;
  margin: 0 auto 1rem;
  color: var(--on-dark);
}
.band-source {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
/* quiet variant — on paper, not dark, for the between-sections quote */
.band-quiet {
  background: var(--paper-2);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-quiet .band-quote { color: var(--ink); }
.band-quiet .band-source { color: var(--accent); }

/* ── Book ───────────────────────────────────────── */
.book {
  padding: clamp(4.5rem, 11vw, 8rem) clamp(1.25rem, 5vw, 3.5rem);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(90, 107, 125, 0.06), transparent 55%),
    var(--paper);
}
.book-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.book-copy h2 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.book-meta {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}
.book-blurb {
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
  font-size: 1.05rem;
}
.book-blurb:first-of-type { font-size: 1.15rem; color: var(--ink); }
.book-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.75;
  margin: 1.4rem 0 2rem;
  font-style: italic;
}
.book-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.book-formats {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.book-aside { position: sticky; top: 6rem; }
.book-cover {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -22px rgba(20, 23, 28, 0.5), 0 4px 14px -6px rgba(63, 76, 90, 0.28);
  background: #fff;
  transform: rotate(-1.5deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.book-cover:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 40px 75px -22px rgba(20, 23, 28, 0.55), 0 6px 18px -6px rgba(63, 76, 90, 0.32);
}
.book-cover img { display: block; width: 100%; height: auto; }

/* ── About: editorial spread ────────────────────── */
.about {
  padding: clamp(4.5rem, 11vw, 8rem) clamp(1.25rem, 5vw, 3.5rem);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about-rail { position: sticky; top: 6rem; }
.about-rail h2 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.about-standfirst {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink);
}
.about-standfirst em { color: var(--accent); }

.about-epigraph {
  margin-bottom: 1.75rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent-soft);
}
.about-epigraph blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
}
.about-epigraph figcaption {
  margin-top: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about-body { max-width: 62ch; }
.about-block + .about-block { margin-top: 2.5rem; }
.about-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.about-block h3 em { font-style: normal; }
.about-block p {
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  line-height: 1.72;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.about-block p:last-child { margin-bottom: 0; }

.about-pullquote {
  margin: 3rem 0;
  padding: 2.25rem 2.25rem 2.25rem 2.5rem;
  position: relative;
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  color: var(--on-dark);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(20, 23, 28, 0.5);
}
.about-pullquote::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem; left: 1rem;
  font-family: 'Fraunces', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent-soft);
  opacity: 0.4;
}
.about-pullquote blockquote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--on-dark);
  margin-bottom: 1.1rem;
}
.about-pullquote blockquote p:last-child { margin-bottom: 0; }
.about-pullquote figcaption {
  margin-top: 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.about-columns .about-block + .about-block { margin-top: 0; }
.about-columns .about-block p { font-size: 1.05rem; }

/* ── Closing line ───────────────────────────────── */
.closing-line {
  background: var(--ink);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.closing-line span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--on-dark-soft);
  letter-spacing: 0.01em;
}

/* ── Contact: split ─────────────────────────────── */
.contact {
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--on-dark);
  padding: clamp(4.5rem, 11vw, 8rem) clamp(1.25rem, 5vw, 3.5rem);
}
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-invite h2 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 1.5rem;
}
.contact-intro {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 34ch;
}
.contact-intro em { color: var(--gold); font-style: italic; }
.contact-sig {
  margin-top: 1.75rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent-soft);
}

.contact-formwrap {
  background: rgba(243, 237, 225, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  backdrop-filter: blur(4px);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--on-dark-soft);
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(20, 23, 28, 0.4);
  font-family: inherit;
  font-size: 1rem;
  color: var(--on-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-soft); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  background: rgba(20, 23, 28, 0.65);
  box-shadow: 0 0 0 3px rgba(134, 151, 168, 0.2);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#submit-btn { margin-top: 0.4rem; width: 100%; }
#submit-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.2em; }
.form-status.ok { color: #7fd39a; }
.form-status.err { color: var(--accent-soft); }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  padding: 3rem clamp(1.25rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--on-dark-soft);
  font-size: 0.85rem;
  background: #0f1114;
}
.site-footer .footer-mark {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--on-dark);
  display: block;
  margin-bottom: 0.6rem;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--accent-soft); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; min-height: 0; gap: 2.5rem; }
  .hero-cover { justify-content: flex-start; }
  .cover-frame { width: min(60%, 240px); }
  .hero-scroll { display: none; }
  .book-inner { grid-template-columns: 1fr; }
  .book-aside { position: static; order: -1; max-width: 240px; margin-bottom: 0.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-rail { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav { gap: 1rem; }
  .nav a:not(.nav-cta) { display: none; }
  .about-columns { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-columns .about-block + .about-block { margin-top: 2.5rem; }
}
