@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-serif-4-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-serif-4-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/source-serif-4-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}

:root {
  --field: #0f2c46;
  --field-lit: #1d4060;
  --field-deep: #050f1c;
  --cream: #f2eee4;
  --text-bright: #f6f1e2;
  --text-soft: #eeddc9;
  --text-faint: #c9d4e0;
  --gold-type: #e8c87c;
  --gold-rule: #caa75e;
  --rule-faint: #2f5375;
  --display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --text: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--field); }
/* The jacket's field: one lit corner over a diagonal ramp, run over the whole
   document rather than fixed to the viewport, which mobile Safari ignores. */
body {
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-soft);
  background: linear-gradient(160deg, var(--field-lit) 0%, var(--field) 42%, var(--field-deep) 100%) no-repeat;
  background-size: 100% 100%;
  min-height: 100vh;
}
a { color: inherit; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

/* Top band: the imprint, set like the jacket's imprint line. */
.masthead {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-faint);
}
.masthead a { text-decoration: none; }
.imprint-line {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-type);
}

/* The book's opening: title lockup beside the cover. */
.hero { padding: 2.5rem 0 2rem; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 40rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 15rem; gap: 2.5rem; }
}
.cover { display: block; width: 100%; height: auto; max-width: 15rem; margin: 0 auto; box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.45); }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-type);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold-rule);
  display: inline-block;
}
.title-block { display: grid; gap: 0.6rem; padding-top: 1.1rem; }
h1 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.02;
  font-size: clamp(2.6rem, 8vw, 4rem);
  letter-spacing: 0.01em;
}
h1 .t-tail {
  display: block;
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  padding-top: 0.25em;
}
.byline { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-type); }
.blurb { font-size: 1.15rem; line-height: 1.55; color: var(--text-soft); }
.hero .text { display: grid; gap: 1.4rem; }

.buy { display: grid; gap: 0.6rem; justify-items: start; }
.button {
  display: inline-block;
  background: var(--gold-rule);
  color: var(--field-deep);
  font-weight: 600;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.button:hover { background: var(--gold-type); }
.format { font-size: 0.9rem; color: var(--text-faint); }

/* A morning from the book, on the cream the plates are printed on. */
.sample-section { padding: 1rem 0 2.5rem; }
.panel {
  background: var(--cream);
  color: var(--field);
  padding: 1.6rem 1.4rem 1.8rem;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 40rem) { .panel { padding: 2.2rem 2.4rem 2.4rem; } }
.panel h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--field);
}
.plate { display: block; width: 100%; height: auto; border: 1px solid #ddd6c6; }
.plate-caption { font-size: 0.85rem; color: #4a5a6c; line-height: 1.45; }
.sample-head { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #6d5a2e; }
.sample-scripture { font-size: 1.2rem; line-height: 1.45; font-style: italic; }
.sample-scripture .ref { font-style: normal; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: #4a5a6c; white-space: nowrap; }
.sample-question { font-weight: 600; }
.sample-prayer { color: #33465a; }
.rule { height: 1px; background: var(--gold-rule); opacity: 0.6; }

/* What is in the book, and where the pictures come from. */
.details { padding: 0 0 3rem; }
.details .wrap { display: grid; gap: 2.5rem; }
@media (min-width: 40rem) { .details .wrap { grid-template-columns: 1fr 1fr; } }
.details h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--text-bright);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule-faint);
}
.details section { display: grid; gap: 1rem; align-content: start; }
.bullets { list-style: none; display: grid; gap: 0.7rem; }
.bullets li { padding-left: 1.3rem; position: relative; }
.bullets li::before { content: '\2726'; position: absolute; left: 0; top: 0.05em; color: var(--gold-rule); font-size: 0.8em; }
.details .plate { border-color: var(--rule-faint); }
.details .plate-caption { color: var(--text-faint); }
.details p { color: var(--text-soft); }

.review { font-size: 0.95rem; color: var(--text-faint); padding-top: 0.4rem; }

/* The review fork: two choices, each a card. */
.fork { padding: 2.5rem 0 3rem; }
.fork .wrap { max-width: 38rem; display: grid; gap: 1.6rem; }
.fork .intro { display: grid; gap: 0.8rem; }
.fork .intro p { color: var(--text-soft); font-size: 1.1rem; }
.fork .intro strong { color: var(--text-bright); font-weight: 600; }
.choices { display: grid; gap: 1rem; }
.choice { display: block; text-decoration: none; border: 1px solid var(--gold-rule); padding: 1.3rem 1.5rem; background: rgba(0, 0, 0, 0.18); }
.choice:hover { border-color: var(--gold-type); background: rgba(0, 0, 0, 0.3); }
.choice .lead { display: block; font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--text-bright); }
.choice .sub { display: block; padding-top: 0.4rem; font-size: 0.95rem; color: var(--text-faint); }
.fork .back { font-size: 0.95rem; color: var(--text-faint); }
.fork .back a { color: var(--text-bright); text-decoration: none; border-bottom: 1px solid var(--gold-rule); }
.review a { color: var(--text-bright); text-decoration: none; border-bottom: 1px solid var(--gold-rule); }

footer { border-top: 1px solid var(--rule-faint); padding: 1.6rem 0 2.5rem; font-size: 0.85rem; color: var(--text-faint); }
footer .wrap { display: grid; gap: 0.4rem; }
footer a { text-decoration: none; }

