:root {
  --paper: #f7f1e5;
  --paper-light: #fdfaf3;
  --ink: #171816;
  --muted: #625b50;
  --blue: #0753a5;
  --blue-dark: #073f7f;
  --gold: #aa7b2a;
  --rule: rgba(82, 65, 43, .24);
  --shadow: 0 14px 32px rgba(57, 43, 26, .16);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -8%, rgba(255,255,255,.94), transparent 46rem),
    var(--paper);
  font-family: Baskerville, "Baskerville Old Face", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  line-height: 1.46;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; text-decoration: none; }
.brand img { width: 160px; height: 88px; object-fit: contain; object-position: left center; }
nav { display: flex; gap: 36px; align-items: center; }
nav a { text-decoration: none; font-size: 1.05rem; }
nav a:hover, nav a:focus { color: var(--blue); }

.section-shell { width: min(calc(100% - 56px), var(--max)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
  padding: 30px 0 30px;
}
.book-photo {
  padding: 8px;
  background: rgba(255,255,255,.36);
  border: 1px solid rgba(116,91,56,.12);
  border-radius: 3px;
  box-shadow: var(--shadow);
}
.book-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.release-block { margin: 0 0 12px; }
.release-date {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ornamental-rule { display: flex; align-items: center; gap: 10px; color: var(--gold); height: 18px; }
.ornamental-rule::before, .ornamental-rule::after { content: ""; flex: 1; height: 1px; background: rgba(170,123,42,.72); }
.ornamental-rule span { font-size: .7rem; transform: rotate(45deg); }
h1, h2, h3 { margin-top: 0; font-weight: 600; line-height: 1; }
h1 { margin: 0 0 10px; font-size: clamp(4rem, 6.3vw, 6.55rem); letter-spacing: -.045em; }
h1 span { display: block; }
.subtitle {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-style: italic;
  line-height: 1.08;
  white-space: nowrap;
  letter-spacing: -.012em;
}
.lede { max-width: 37rem; margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 27px; flex-wrap: wrap; }
.button {
  display: inline-flex; min-height: 48px; padding: 10px 22px; align-items: center; justify-content: center;
  color: white; background: linear-gradient(#0a54a5, #063f80); border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 5px 12px rgba(13,58,107,.18); text-decoration: none; font-size: 1.02rem;
}
.button:hover, .button:focus { background: var(--blue); }
.text-link { font-size: 1.02rem; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.laid-panel {
  position: relative;
  overflow: hidden;
  background-color: rgba(249,244,232,.95);
  background-image:
    repeating-linear-gradient(to bottom, rgba(86,72,52,.045) 0, rgba(86,72,52,.045) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(to right, transparent 0, transparent 166px, rgba(86,72,52,.045) 167px, rgba(86,72,52,.045) 168px, transparent 169px, transparent 336px);
  box-shadow: inset 0 0 0 1px rgba(89,70,45,.12), 0 7px 24px rgba(65,50,28,.06);
}
.publisher-panel { margin-top: 2px; }
.books-block { padding: 18px 28px 24px; }
.section-heading { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 28px; margin-bottom: 10px; }
.section-kicker {
  display: flex; align-items: center; gap: 16px; padding-top: 11px; color: var(--blue-dark); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; font-size: .88rem; white-space: nowrap;
}
.section-kicker i { display: block; flex: 0 1 330px; width: min(31vw,330px); height: 1px; background: var(--gold); opacity: .72; }
.section-kicker b { color: var(--gold); font-size: .55rem; font-weight: 400; transform: rotate(45deg); }
.books-title { text-align: center; min-width: 150px; }
.books-title h2 { font-size: clamp(2.5rem, 4vw, 3.7rem); margin: 0; }
.mini-rule { color: var(--gold); font-size: .62rem; line-height: 1; padding-top: 2px; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.book-card {
  min-height: 190px; padding: 20px 26px; display: flex; align-items: center; gap: 30px;
  background: rgba(255,255,255,.36); border: 1px solid rgba(81,66,45,.13);
}
.book-cover { width: 145px; aspect-ratio: 2 / 3; object-fit: cover; object-position: 20% 50%; box-shadow: 0 9px 18px rgba(43,32,18,.22); }
.book-copy h3 { margin-bottom: 4px; font-size: 1.72rem; line-height: 1.08; }
.small-subtitle { margin: 0 0 9px; color: var(--blue); font-size: 1.23rem; font-style: italic; line-height: 1.1; }
.book-release { margin: 0 0 8px; color: var(--gold); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.book-copy p:last-child { margin-bottom: 0; font-size: 1.02rem; line-height: 1.35; }
.coming-book { justify-content: flex-start; text-align: left; }
.blank-book {
  width: 145px; height: 190px; flex: 0 0 145px; display: flex; justify-content: center; align-items: center;
  background: linear-gradient(90deg, #dfd1b5 0 8px, #f4ead7 8px 100%);
  box-shadow: 10px 14px 25px rgba(48,37,22,.18); transform: perspective(700px) rotateY(-7deg) rotateZ(-1deg);
}
.blank-book img { width: 68px; height: 68px; object-fit: contain; object-position: 50% 8%; clip-path: inset(0 0 38% 0); transform: translateY(13px); }
.coming-title { text-transform: uppercase; letter-spacing: .03em; }

.info-row {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 88px;
  min-height: 126px;
  align-items: center;
  gap: 34px;
  padding: 20px 30px;
  border-top: 1px solid rgba(82,65,43,.14);
}
.row-title h2 { margin: 0; font-size: clamp(1.8rem, 2.5vw, 2.65rem); line-height: .98; }
.eyebrow { margin: 0 0 7px; color: var(--blue-dark); font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.row-copy { margin: 0; max-width: 34rem; font-size: 1.03rem; line-height: 1.38; }
.row-icon { justify-self: end; width: 60px; color: var(--gold); }
.row-icon svg { width: 60px; height: 60px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.contact-row {
  grid-template-columns: .8fr 235px 1fr 88px;
  min-height: 150px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.contact-title h2 { white-space: nowrap; }
.contact-whimsy { display: flex; justify-content: center; align-items: center; }
.contact-whimsy img {
  width: 212px; /* 1.25× the prior 170px prototype size */
  mix-blend-mode: multiply;
}
.contact-email { margin: 0; }
.email { color: var(--blue-dark); font-size: 1.12rem; text-underline-offset: 4px; }
.envelope svg { width: 56px; height: 56px; }

footer {
  width: min(calc(100% - 56px), var(--max)); margin: 26px auto 0; padding: 18px 0 28px;
  border-top: 1px solid var(--rule); color: var(--muted); font-size: .82rem;
}

@media (max-width: 980px) {
  .release-date, .subtitle { white-space: normal; }
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-copy { order: -1; }
  .hero-image { max-width: 780px; }
  .desktop-break { display: none; }
  .info-row { grid-template-columns: 1fr 1.15fr 64px; }
  .contact-row { grid-template-columns: .8fr 180px 1fr 64px; }
  .contact-whimsy img { width: 175px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 86px; width: min(calc(100% - 34px), var(--max)); }
  .brand img { width: 140px; height: 72px; }
  nav { gap: 18px; }
  nav a { font-size: .92rem; }
  .section-shell, footer { width: min(calc(100% - 34px), var(--max)); }
  .book-grid { grid-template-columns: 1fr; }
  .books-block { padding: 18px 20px 24px; }
  .info-row { grid-template-columns: 1fr 70px; gap: 18px 24px; padding: 26px 24px; }
  .row-title, .row-copy { grid-column: 1; }
  .row-copy { margin-top: -6px; }
  .row-icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .contact-row { grid-template-columns: 1fr 150px 60px; }
  .contact-title { grid-column: 1; }
  .contact-whimsy { grid-column: 2; grid-row: 1 / span 2; }
  .contact-whimsy img { width: 150px; }
  .contact-email { grid-column: 1; }
  .contact-row .row-icon { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 560px) {
  .site-header { min-height: 78px; }
  .brand img { width: 126px; }
  nav { gap: 12px; }
  nav a:nth-child(2), nav a:nth-child(3) { display: none; }
  .hero { gap: 26px; padding: 24px 0 30px; }
  .release-date { font-size: 1.28rem; }
  h1 { font-size: clamp(3.25rem, 16vw, 4.8rem); }
  .subtitle { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .section-heading { display: flex; justify-content: space-between; align-items: flex-start; }
  .section-kicker { white-space: normal; }
  .section-kicker i, .section-kicker b { display: none; }
  .books-title { min-width: auto; }
  .book-card { flex-direction: column; text-align: center; padding: 22px 16px; }
  .book-cover { width: 150px; }
  .coming-book { text-align: center; }
  .blank-book { width: 145px; flex-basis: 145px; }
  .info-row { grid-template-columns: 1fr; text-align: left; min-height: auto; padding: 28px 20px; }
  .row-title, .row-copy, .row-icon { grid-column: 1; grid-row: auto; }
  .row-icon { justify-self: start; width: 48px; }
  .row-icon svg { width: 48px; height: 48px; }
  .contact-row { grid-template-columns: 1fr; text-align: center; }
  .contact-title, .contact-whimsy, .contact-email, .contact-row .row-icon { grid-column: 1; grid-row: auto; }
  .contact-title h2 { white-space: normal; }
  .contact-whimsy { justify-content: center; }
  .contact-whimsy img { width: 175px; }
  .contact-row .row-icon { justify-self: center; }
}


/* Book home template */
.book-home-hero { display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(55px,7vw,100px); align-items:center; padding:48px 0 58px; max-width:1120px; }
.book-home-cover { justify-self:center; width:min(100%,350px); padding:8px; background:rgba(255,255,255,.42); border:1px solid rgba(116,91,56,.12); box-shadow:0 18px 38px rgba(57,43,26,.2); transform:perspective(900px) rotateY(-3deg); }
.book-home-cover img { width:100%; aspect-ratio:2/3; object-fit:cover; object-position:20% 50%; }
.book-eyebrow { font-size:.94rem; margin-bottom:15px; }
.book-home-copy h1 { font-size:clamp(4.1rem,7vw,7rem); }
.book-author { margin:20px 0 4px; color:var(--gold); text-transform:uppercase; letter-spacing:.16em; font-size:1rem; font-weight:700; }
.book-rule { max-width:460px; margin:10px 0 18px; }
.book-home-lede { margin:0 0 16px; max-width:42rem; font-size:clamp(1.28rem,1.8vw,1.58rem); line-height:1.35; }
.book-home-description { margin:0; max-width:42rem; color:#403b34; font-size:1.08rem; line-height:1.52; }
.book-explore { padding:30px 34px 34px; }
.book-explore-heading { display:grid; grid-template-columns:.8fr 1.2fr; gap:50px; align-items:end; padding-bottom:24px; }
.book-explore-heading h2, .preview-label h2, .edition-strip h2, .book-contact h2 { margin:0; font-size:clamp(2.1rem,3.3vw,3.4rem); line-height:1; }
.book-explore-heading > p { margin:0 0 4px; max-width:36rem; font-size:1.08rem; }
.book-links-grid { display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid rgba(82,65,43,.16); }
.book-link-card { display:flex; gap:14px; min-height:145px; padding:24px 18px; text-decoration:none; border-right:1px solid rgba(82,65,43,.14); }
.book-link-card:last-child { border-right:0; }
.book-link-card:hover { background:rgba(255,255,255,.36); }
.card-num { color:var(--gold); font-style:italic; font-size:.9rem; }
.book-link-card strong { display:block; color:var(--blue-dark); font-size:1.2rem; margin-bottom:8px; }
.book-link-card small { display:block; color:#4f493f; font-size:.9rem; line-height:1.35; }
.book-preview { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; margin-top:48px; padding:42px 36px; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.book-preview.laid-panel { border:0; }
.preview-copy p { margin:0 0 16px; font-size:1.08rem; line-height:1.5; }
.edition-strip { margin-top:48px; padding:38px 36px; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.edition-list { display:flex; gap:12px; flex-wrap:wrap; margin:24px 0 12px; }
.edition-list span { padding:10px 15px; border:1px solid rgba(82,65,43,.25); background:rgba(255,255,255,.25); }
.edition-note { margin:0; color:var(--muted); font-style:italic; }
.book-contact { display:grid; grid-template-columns:180px 1fr auto; gap:42px; align-items:center; padding:54px 0 30px; }
.book-contact img { width:180px; mix-blend-mode:multiply; }
.book-contact p { margin:8px 0 0; }
@media(max-width:980px){.book-home-hero{grid-template-columns:1fr 1.35fr;gap:45px}.book-links-grid{grid-template-columns:repeat(2,1fr)}.book-link-card{border-bottom:1px solid rgba(82,65,43,.14)}.book-contact{grid-template-columns:140px 1fr}.book-contact img{width:140px}.book-contact .button{grid-column:2;justify-self:start}}
@media(max-width:700px){.book-home-hero{grid-template-columns:1fr;padding-top:30px}.book-home-cover{width:250px}.book-home-copy{text-align:left}.book-explore-heading,.book-preview{grid-template-columns:1fr;gap:20px}.book-links-grid{grid-template-columns:1fr}.book-link-card{min-height:auto;border-right:0}.edition-strip,.book-preview,.book-explore{padding-left:22px;padding-right:22px}.book-contact{grid-template-columns:1fr;text-align:center}.book-contact img{justify-self:center;width:165px}.book-contact .button{grid-column:1;justify-self:center}}

/* Reading pages */
.reading-page { width:min(calc(100% - 56px), 940px); margin:38px auto 70px; }
.reading-sheet { padding:clamp(38px,6vw,76px) clamp(28px,8vw,92px) 64px; border:1px solid rgba(116,91,56,.14); box-shadow:0 16px 40px rgba(57,43,26,.08); }
.reading-back { display:inline-block; margin-bottom:42px; color:var(--blue-dark); text-decoration:none; font-size:.9rem; letter-spacing:.04em; }
.reading-back:hover { text-decoration:underline; text-underline-offset:4px; }
.reading-sheet > h1 { margin:10px 0 0; max-width:760px; font-size:clamp(2.75rem,5.8vw,5rem); line-height:.93; letter-spacing:-.035em; }
.reading-rule { max-width:430px; margin:25px 0 18px; }
.reading-source { margin:0 0 50px; color:var(--muted); font-size:1rem; }
.reading-copy { max-width:690px; margin:0 auto; font-size:clamp(1.08rem,1.6vw,1.22rem); line-height:1.72; }
.reading-copy h2 { margin:0 0 28px; color:var(--blue-dark); font-size:clamp(2rem,3vw,2.75rem); font-weight:500; }
.reading-copy p { margin:0 0 1.35em; }
.reading-copy .excerpt-ending { margin-top:2em; color:var(--blue-dark); font-size:clamp(1.35rem,2.2vw,1.7rem); line-height:1.48; font-weight:600; }
.excerpt-close { margin:48px auto 20px; text-align:center; color:var(--gold); font-size:.8rem; }
.excerpt-credit { margin:0 auto 30px; text-align:center; color:var(--muted); font-size:.92rem; line-height:1.6; }
.reading-button { display:table; margin:0 auto; }
@media(max-width:700px){.reading-page{width:min(calc(100% - 28px),940px);margin-top:18px}.reading-sheet{padding:34px 22px 46px}.reading-back{margin-bottom:30px}.reading-source{margin-bottom:38px}.reading-copy{line-height:1.64}}


/* Preface and Contents */
.reading-preface h2 { margin:2.2em 0 .8em; color:var(--blue-dark); font-size:clamp(1.55rem,2.4vw,2rem); font-weight:500; line-height:1.15; }
.reading-preface h2:first-child { margin-top:0; }
.reading-preface strong { color:var(--blue-dark); font-weight:600; }
.reading-preface em { font-style:italic; }
.toc-page { width:min(calc(100% - 56px), 1040px); }
.toc-page .reading-sheet > h1 { font-size:clamp(3rem,5vw,4.6rem); }
.toc-list { max-width:820px; margin:0 auto; }
.toc-part { margin:2.6em 0 1em; padding:12px 0 10px; color:var(--blue-dark); border-top:1px solid rgba(170,123,42,.45); border-bottom:1px solid rgba(170,123,42,.3); font-size:clamp(1.25rem,2.1vw,1.7rem); line-height:1.2; letter-spacing:.025em; }
.toc-entry { margin:0 0 1.25em; }
.toc-line, .toc-entry li { display:flex; align-items:baseline; gap:8px; }
.toc-line strong { font-size:1.06rem; line-height:1.3; }
.toc-dots { flex:1; min-width:18px; border-bottom:1px dotted rgba(82,65,43,.42); transform:translateY(-3px); }
.toc-entry ul { list-style:none; margin:.35em 0 0 1.35em; padding:0; color:#4f493f; }
.toc-entry li { margin:.14em 0; font-size:.94rem; line-height:1.35; }
.toc-entry li.toc-subtitle { display:block; margin:.2em 0 .55em; font-style:italic; color:var(--muted); }
@media(max-width:700px){.toc-page{width:min(calc(100% - 28px),1040px)}.toc-entry ul{margin-left:.7em}.toc-line strong{font-size:1rem}.toc-entry li{font-size:.9rem}}
