/* Compact archive-inspired finishing pass.  Loaded after styles.css. */
:root{--blue:#155789;--red:#ef1924;--ink:#080808;--soft:#f5f6f4}
body{background:var(--soft)}
.site-header{height:76px;margin:0}
.site-header+main{margin:0;padding:0}

/* Use the original archive hero itself; never use the composite Rectangle image. */
.hero{height:clamp(560px,62vw,760px);min-height:0;margin:0;background-image:url('assets/archive-hero.webp');background-position:center center;background-size:cover}
.hero h1{visibility:visible;display:block}
.hero-copy{top:33%;left:max(4%,calc((100% - 1440px)/2 + 40px))}

/* Paired content should read as tight, even blocks rather than floating islands. */
.section-two,.about-book{max-width:1180px;grid-template-columns:1fr 1fr;column-gap:32px;padding:28px 22px;margin:0 auto;background:var(--soft);align-items:center}
.section-two .copy,.author .copy,.about-book>div{max-width:none}
.section-two h2,.about-book h2,.book-card h2{font-size:42px;line-height:1.12;margin-bottom:12px}
.section-two p,.about-book p,.book-card p{margin-bottom:0;font-size:18px;line-height:1.52}
.about{min-height:390px}
.about img,.about-book img{width:100%;height:330px;max-height:330px;object-fit:contain;justify-self:center}
.about-book{min-height:390px;padding-top:28px;padding-bottom:28px}
.about-book p{max-width:none}

/* A continuous blue goal band removes the three white gutters. */
.goals-wrap{margin:0;padding:38px max(22px,calc((100% - 1180px)/2));background:var(--blue);color:#fff}
.goals-wrap>h2{margin:0 0 25px;color:#fff;font-size:42px;line-height:1.15}
.goals{max-width:1180px;gap:0;margin:0 auto;border:1px solid rgba(255,255,255,.55)}
.goals article{min-height:300px;padding:43px 30px 32px;background:transparent;border-right:1px solid rgba(255,255,255,.55)}
.goals article:last-child{border-right:0}
.goals svg{width:68px;height:68px;margin:0 0 25px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.goals p{font-size:21px;line-height:1.38}

/* One compact specifications panel; the Kindle card was deliberately removed. */
.book-card{max-width:1180px;min-height:390px;height:390px;margin:0 auto 28px;border-width:4px;border-radius:42px;background:#fff;grid-template-columns:1fr 1fr}
.book-card img{height:382px;object-fit:contain;background:#f1f2f5}
.book-card>div{max-width:none;padding:40px 48px;align-self:center}
.book-card h2{margin-bottom:11px}
.book-card ul{margin:16px 0 0;padding-left:23px;font-size:18px;line-height:1.55}
.book-card li+li{margin-top:3px}
.story-card{display:none}

/* Balance the author block and remove the oversized white field around it. */
.author{max-width:1180px;min-height:340px;padding:28px 22px;margin:0 auto;background:var(--soft);grid-template-columns:340px 1fr;gap:40px}
.author img{width:340px;height:340px;object-fit:cover;justify-self:start}
.author .copy{padding:0}.author h2{margin-bottom:14px}

.contact{margin:0;min-height:560px}.contact p{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.contact .form-message{display:block;grid-column:1/-1;min-height:1.6em;margin:0;font-size:16px;line-height:1.4}.contact .form-message.is-error{color:#b51c28}.contact .form-message.is-success{color:#155789}.contact input.has-error,.contact textarea.has-error{border:2px solid #b51c28;box-shadow:0 0 0 3px rgba(181,28,40,.13)}

@media(max-width:900px){
  .site-header{height:64px}.hero{height:520px;background-position:center center;background-size:cover}.hero-copy{left:7%;top:18%}.hero h1{font-size:54px}
  .section-two,.about-book{display:grid;grid-template-columns:1fr;min-height:0;padding:30px 7%;gap:18px}.section-two h2,.about-book h2,.book-card h2,.goals-wrap>h2{font-size:34px}
  .about img,.about-book img{height:auto;max-height:280px;object-fit:contain}.about-book{padding-bottom:30px}
  .goals-wrap{padding:30px 7%}.goals-wrap>h2{margin-bottom:20px}.goals{grid-template-columns:1fr;border:0}.goals article{min-height:0;padding:34px 24px;border:1px solid rgba(255,255,255,.55);border-bottom:0}.goals article:last-child{border-bottom:1px solid rgba(255,255,255,.55)}.goals p{font-size:19px}
  .book-card{display:grid;grid-template-columns:1fr;height:auto;min-height:0;margin:0 7% 24px;border-radius:28px}.book-card img{height:auto;max-height:300px}.book-card>div{padding:28px}.book-card ul{font-size:16px}
  .author{grid-template-columns:1fr;min-height:0;padding:30px 7%;gap:20px}.author img{width:min(290px,100%);height:auto;aspect-ratio:1;justify-self:center}.author .copy{padding:0}
}
