/* Jack Bare — site.css (v2)
   Calm literary storefront. Warm paper, dark ink, book-forward.
   Cover stays left of copy at every width. The chapter form is one email field. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1ea;
  --bg-soft: #ece7dc;
  --paper: #fbf8f2;
  --text: #1a1714;
  --muted: #5c574f;
  --border: #d5cfc3;
  --accent: #1f1c19;
  --on-accent: #f4f1ea;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --max: 38rem;
  --wide: 48rem;
  --space: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: #000; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.5rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  z-index: 40;
}
.skip:focus { left: 0.75rem; }

.wrap {
  width: min(100% - 1.75rem, var(--wide));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem 1.5rem;
  padding: 0.95rem 0;
}
.site-mark {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.site-mark:hover { text-decoration: none; color: #000; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  font-family: var(--sans);
  font-size: 0.9rem;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

main { padding: 0 0 3.5rem; }

.hero {
  padding: 3.25rem 0 2.5rem;
}
.section {
  padding: 2.35rem 0;
  border-top: 1px solid var(--border);
}
.section-tight { padding: 2rem 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.22;
  color: var(--text);
}
h1 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}
h2 {
  font-size: 1.45rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.12rem;
  margin: 0 0 0.3rem;
}

.lede, .subhead {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.35rem;
  max-width: 38rem;
}

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
li { margin-bottom: 0.4rem; }

.meta-note,
.article-meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1.15rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: center;
  margin: 1.25rem 0 0;
}
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}
.btn:hover { background: #000; border-color: #000; color: var(--on-accent); }
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
button.btn {
  appearance: none;
  -webkit-appearance: none;
}
.btn:disabled { opacity: 0.65; cursor: wait; }

/* Capture card is cream/ink. The EmailOctopus script owns the fields inside .eo-embed. */
.capture {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 1.5rem 1.45rem 1.4rem;
  margin: 1.75rem 0 0;
}
.capture h2 { margin-bottom: 0.5rem; }
.capture > p:last-child { margin-bottom: 0; }
.eo-embed {
  width: 100%;
  margin-top: 0.85rem;
}
.capture .note {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

/* One visible email field. The honeypot is display:none, not shifted off-screen
   (a shifted text control still paints as an empty box). */
.chapter-email { margin: 0.85rem 0 0; }
.chapter-email-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: center;
}
.chapter-email label {
  flex: 1 0 100%;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
}
.chapter-email input[type="email"] {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.2;
  height: 2.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--text);
  flex: 1 1 16rem;
  min-width: 12rem;
}
.chapter-email .btn {
  flex: 0 0 auto;
  height: 2.7rem;
}
.chapter-email-hp,
.chapter-email input:not([type="email"]) {
  display: none;
}
.chapter-email-recaptcha,
.grecaptcha-badge {
  visibility: hidden;
}
.chapter-email-status {
  font-family: var(--sans);
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
}
.chapter-email-status:empty { margin: 0; }
.opening-chapter { margin-top: 1.5rem; }
.opening-chapter:empty { display: none; margin: 0; }
.hero .chapter-email { margin: 0 0 1.45rem; }

.subtitle {
  font-style: italic;
  color: var(--muted);
  margin: 0 0 0.55rem;
}
.one-line, .blurb {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.1rem 0;
}

.practice-steps {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}
.practice-steps ol { margin-bottom: 0; }

.faq { margin: 2.1rem 0 0.25rem; }
.faq h2 { margin-bottom: 0.35rem; }
.faq h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 1.15rem 0 0.3rem;
}
.faq p { margin: 0; }

/* Book cards: cover LEFT, copy RIGHT — never stack under the cover. */
.book-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.book-card {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  margin: 0;
}
.book-list .book-card:last-child { border-bottom: 1px solid var(--border); }
.book-card-cover {
  flex: 0 0 auto;
  width: 6.25rem;
  display: block;
  text-decoration: none;
}
.book-card-cover img,
.book-hero img.cover {
  display: block;
  height: auto;
  border: 1px solid var(--border);
  background: #111;
  box-shadow: 0 10px 24px rgba(26, 23, 20, 0.08);
}
.book-card-cover img { width: 100%; }
.book-hero img.cover {
  width: 7rem;
  flex: 0 0 auto;
}
.book-card-body {
  flex: 1 1 auto;
  min-width: 0;
}
.book-card-body h3 a { text-decoration: none; }
.book-card-body h3 a:hover { text-decoration: underline; }
.book-card-body .cta-row { margin-top: 0.35rem; }

.practice-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.practice-list li {
  border-top: 1px solid var(--border);
  padding: 1.15rem 0;
  margin: 0;
}
.practice-list li:last-child { border-bottom: 1px solid var(--border); }
.practice-list h3 a { text-decoration: none; }
.practice-list h3 a:hover { text-decoration: underline; }

/* Product-page hero: cover + title/lede only. CTAs sit full-width below. */
.book-hero {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.15rem 1.4rem;
  margin: 0 0 1.35rem;
}
.book-hero .cover,
.book-hero-cover {
  flex: 0 0 auto;
  width: 7rem;
}
.book-hero-body {
  flex: 1 1 auto;
  min-width: 0;
}
.book-hero-body h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  margin-bottom: 0.4rem;
}
.page-start { padding-top: 2.6rem; }

/* Home hero: free-chapter offer sits under the headline, above the series copy. */
.hero-benefit {
  margin: 0 0 0.7rem;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.45;
}
.hero-capture-cta { margin: 0 0 1.45rem; }

/* Free-chapter gate: the signup card leads, with little space above the field. */
.chapter-gate { padding-top: 1.55rem; }
.chapter-gate .eyebrow { margin-bottom: 0.55rem; }
.chapter-gate h1 { margin-bottom: 0.5rem; }
.chapter-gate .subhead { margin-bottom: 0.7rem; }
.capture-atf { margin-top: 0.1rem; }

.readers {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.page-start .readers { margin: 1.75rem 0; }
.readers h2 { margin-top: 0; }
.readers blockquote {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--border);
  font-style: italic;
  color: var(--text);
}
.readers blockquote p { margin-bottom: 0.35rem; }
.readers cite {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.86rem;
  color: var(--muted);
}
.readers .fine {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}


/* Contact form */
.contact-form { margin: 0.85rem 0 0; }
.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.contact-form label {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 0.35rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.35;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}
.contact-form input[type="text"],
.contact-form input[type="email"] {
  height: 2.7rem;
  line-height: 1.2;
}
.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}
.contact-form .btn {
  margin-top: 0.75rem;
  align-self: flex-start;
  height: 2.7rem;
}
.contact-botcheck { display: none !important; }
.contact-status {
  font-family: var(--sans);
  font-size: 1.02rem;
  margin: 0.85rem 0 0;
}
.contact-fields[hidden] { display: none !important; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.1rem 0 2.5rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--bg);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-mark {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.2rem;
}
.footer-tag { margin: 0 0 0.85rem; }
.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0 0 1.1rem;
}
.site-footer .fine { margin-top: 0.85rem; font-size: 0.8rem; }
.contact-line { margin: 0.85rem 0 0; }
.site-footer .contact-line a {
  font-weight: 600;
  color: var(--text);
}

@media (min-width: 520px) {
  .book-card-cover { width: 7.5rem; }
  .book-hero .cover,
  .book-hero-cover,
  .book-hero img.cover { width: 8.75rem; }
}

@media (min-width: 720px) {
  .hero { padding: 4.25rem 0 3rem; }
  .chapter-gate { padding-top: 2rem; }
  .section { padding: 2.85rem 0; }
  .book-card-cover { width: 8.75rem; }
  .book-hero .cover,
  .book-hero-cover,
  .book-hero img.cover { width: 10.25rem; }
  .book-card { gap: 1.15rem 1.55rem; padding: 1.6rem 0; }
  .wrap,
  .wrap-narrow { width: min(100% - 2.25rem, var(--wide)); }
  .wrap-narrow { width: min(100% - 2.25rem, var(--max)); }
}

@media (max-width: 560px) {
  html { font-size: 17px; }
  .hero { padding: 2.35rem 0 1.85rem; }
  .chapter-gate { padding-top: 1.05rem; }
  .chapter-gate .subhead {
    font-size: 1.02rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
  .capture-atf {
    margin-top: 0;
    padding: 1.05rem 1rem 0.95rem;
  }
  .hero .cta-row .btn,
  .page-start > .cta-row .btn { width: 100%; }
  .chapter-email input[type="email"],
  .chapter-email .btn { width: 100%; }
  .book-card-cover { width: 5.65rem; }
  .book-hero img.cover { width: 6.25rem; }
}

/* Craft pass 20261003e. First screen is the books. The chapter page is a page, not a signup card. */
.hero { padding: 2.6rem 0 1.4rem; }
.hero-layout {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.15fr);
  gap: 1.5rem 3rem;
  align-items: end;
}
.hero-copy .subhead { margin-bottom: 0.85rem; }
.hero-chapter {
  font-family: var(--sans);
  font-size: 0.95rem;
  margin: 0;
}
.jacket-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}
.jacket-row a {
  display: block;
  text-decoration: none;
  color: var(--text);
}
.jacket-row img {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
  box-shadow: 0 18px 36px rgba(26, 23, 20, 0.14);
}
.jacket-row span {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.books-lead { border-top: 0; padding-top: 0.4rem; }
.books-lead .book-card-cover { width: 8.25rem; }
.books-lead .book-card .btn-ghost {
  background: transparent;
  border-color: transparent;
  padding: 0.7rem 0.15rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.books-lead .book-card .btn-ghost:hover { background: transparent; }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }
.chapter-page .capture,
.chapter-page .capture-atf {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0.4rem 0 0;
  box-shadow: none;
}
.chapter-page .opening-chapter { max-width: 38rem; }
.chapter-page .opening-chapter h1 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  margin-top: 0.2rem;
}
.chapter-email-recaptcha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
@media (max-width: 800px) {
  .hero-layout { grid-template-columns: 1fr; align-items: start; }
  .jacket-row { gap: 0.55rem; }
  .books-lead .book-card-cover { width: 6.4rem; }
}

/* Blog 20261010a. Posts reuse .practice-list and .article-meta; this adds the vertical Short embed. */
.short-embed {
  width: min(100%, 19rem);
  aspect-ratio: 9 / 16;
  margin: 1.4rem 0 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.short-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.short-caption {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
}
.post-date { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); margin: 0 0 0.3rem; }
