/* adamgedney.art — The Secret Language of Art (book launch page)
   Palette is pulled from the cover: black ground, cream title, copper rule. */

.book-page {
  --bk-bg: #0d0c0b;
  --bk-panel: #151311;
  --bk-text: #cfc6b4;
  --bk-cream: #ead7ad;
  --bk-copper: #b8803f;
  --bk-line: rgba(184, 128, 63, 0.35);
  --bk-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --bk-body: 'EB Garamond', Georgia, serif;

  background: var(--bk-bg);
  color: var(--bk-text);
  font-family: var(--bk-body);
  font-weight: 400;
}

.book-page a:hover { opacity: 1; }

.book-page .site-footer {
  background: var(--bk-bg);
  border-top: 1px solid var(--bk-line);
  font-family: var(--font);
}

.book-page .site-footer a { color: var(--gray); }

/* Sections ------------------------------------------------ */

.book-section {
  padding: 72px 24px;
}

.book-narrow {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.book-section.book-narrow,
.book-final .book-narrow {
  /* keep padding from .book-section while centering */
  width: 100%;
}

.book-wide {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.book-kicker {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bk-copper);
  margin-bottom: 18px;
}

.book-page h1,
.book-page h2,
.book-page h3 {
  font-family: var(--bk-display);
  font-weight: 400;
  color: var(--bk-cream);
  line-height: 1.12;
}

.book-page h2 {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 28px;
}

.book-section p {
  font-size: 21px;
  line-height: 1.7;
}

.book-section p + p { margin-top: 20px; }

.book-sub {
  color: var(--bk-text);
  margin-bottom: 40px;
}

.text-link {
  color: var(--bk-cream);
  border-bottom: 1px solid var(--bk-copper);
  padding-bottom: 2px;
}

/* Hero ---------------------------------------------------- */

.book-hero {
  padding: 40px 24px 64px;
  background:
    radial-gradient(ellipse at 28% 40%, rgba(184, 128, 63, 0.14), transparent 60%),
    var(--bk-bg);
}

.book-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.book-hero-cover img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(184, 128, 63, 0.25);
}

.book-eyebrow {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bk-copper);
  margin-bottom: 20px;
}

.book-hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  margin-bottom: 24px;
}

.book-hero h1 span {
  font-style: italic;
  color: var(--bk-copper);
}

.book-lede {
  font-size: 23px;
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 34em;
}

.book-date {
  margin-top: 28px;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bk-text);
}

.book-date strong { color: var(--bk-cream); font-weight: 400; }

/* Notify form --------------------------------------------- */

.notify-form { max-width: 520px; }

.notify-label {
  display: block;
  font-size: 21px;
  color: var(--bk-cream);
  margin-bottom: 14px;
}

.notify-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--bk-copper);
}

.notify-row input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: var(--bk-body);
  font-size: 19px;
  color: var(--bk-cream);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 15px 16px;
  outline: none;
}

.notify-row input::placeholder { color: #7d7566; }

.notify-row:focus-within {
  box-shadow: 0 0 0 2px rgba(234, 215, 173, 0.45);
}

.notify-btn {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bk-bg);
  background: var(--bk-cream);
  border: 0;
  border-radius: 0;
  padding: 0 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.notify-btn:hover { background: #fff3d3; }
.notify-btn:disabled { opacity: 0.6; cursor: default; }

.notify-fine {
  margin-top: 12px;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #8d8576;
}

.notify-status {
  margin-top: 12px;
  font-size: 19px;
  min-height: 1.4em;
}

.notify-status.ok { color: var(--bk-cream); }
.notify-status.err { color: #e59a8a; }

.notify-form.is-done .notify-row,
.notify-form.is-done .notify-label { display: none; }

.notify-form.is-done .notify-status { font-size: 23px; color: var(--bk-cream); }

/* Plates -------------------------------------------------- */

.plate-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
}

.plate img {
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid var(--bk-line);
  margin-bottom: 14px;
}

.plate h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.plate p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--bk-text);
}

/* Fact lists ---------------------------------------------- */

.fact-list {
  list-style: none;
  border-top: 1px solid var(--bk-line);
}

.fact-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--bk-line);
  font-size: 21px;
  line-height: 1.6;
}

.fact-list strong {
  color: var(--bk-cream);
  font-weight: 500;
}

/* Spread / excerpt ---------------------------------------- */

.spread img {
  width: 100%;
  height: auto;
  border: 1px solid var(--bk-line);
}

.spread figcaption {
  margin-top: 12px;
  font-size: 15px;
  font-style: italic;
  color: #8d8576;
}

.excerpt {
  padding-top: 44px;
}

.excerpt p {
  font-family: var(--bk-display);
  font-size: clamp(23px, 3.2vw, 30px);
  font-style: italic;
  line-height: 1.5;
  color: var(--bk-cream);
  border-left: 2px solid var(--bk-copper);
  padding-left: 24px;
}

/* Split blocks -------------------------------------------- */

.book-split {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.split-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--bk-line);
}

.excerpt-text {
  padding-top: 40px;
}

/* Portrait is a cutout on white; multiply it onto a parchment panel. */
.author-media {
  background: var(--bk-cream);
  border: 1px solid var(--bk-line);
}

.author-media img {
  max-width: 340px;
  border: 0;
  mix-blend-mode: multiply;
}

/* FAQ ----------------------------------------------------- */

.faq dt {
  font-family: var(--bk-display);
  font-size: 26px;
  color: var(--bk-cream);
  padding-top: 22px;
  border-top: 1px solid var(--bk-line);
}

.faq dt:first-of-type { margin-top: 0; }

.faq dd {
  font-size: 20px;
  line-height: 1.65;
  padding: 6px 0 22px;
}

/* Final CTA ----------------------------------------------- */

.book-final {
  padding: 88px 24px 96px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 128, 63, 0.16), transparent 65%),
    var(--bk-panel);
  border-top: 1px solid var(--bk-line);
}

.book-final .final-cover {
  width: 150px;
  height: auto;
  margin: 0 auto 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.book-final h2 { margin-bottom: 32px; }

.book-final .notify-form {
  margin: 0 auto;
  text-align: left;
}

.book-final .notify-fine,
.book-final .notify-status { text-align: center; }

/* Wider screens ------------------------------------------- */

@media (min-width: 768px) {
  .book-section { padding: 96px 40px; }

  .plate-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
  }

  .book-split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .book-split.author { grid-template-columns: 340px 1fr; }
}

@media (min-width: 900px) {
  .book-hero { padding: 56px 40px 96px; }

  .book-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .book-hero-cover img { margin: 0; }
}

@media (max-width: 480px) {
  .notify-row { flex-direction: column; }
  .notify-btn { padding: 16px; }
  .book-section p,
  .fact-list li { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}
