:root {
  --charcoal: #0f1f2b;
  --teal: #38b2b2;
  --pale: #befaf2;
  --grey: #ebeaf0;
  --white: #fafaf8;
  --ink: #132735;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  min-height: 76px;
  padding: 14px clamp(20px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--charcoal);
  color: var(--white);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; }
.brand-words { font-size: 1.12rem; letter-spacing: .08em; white-space: nowrap; }
.brand small, .footer-brand small { color: var(--teal); font-size: .55em; vertical-align: middle; }
.door {
  width: 27px; height: 38px; border: 3px solid var(--teal); display: inline-block; position: relative;
}
.door span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--white); right: 4px; top: 16px; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; font-weight: 700; font-size: .9rem; }
nav a:hover, nav a:focus { color: var(--teal); }

.hero {
  min-height: 660px;
  padding: clamp(64px, 10vw, 130px) clamp(24px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  background:
    radial-gradient(circle at 80% 28%, rgba(56,178,178,.22), transparent 26%),
    linear-gradient(135deg, #fafaf8 0 66%, #ebeaf0 66%);
}
.eyebrow { color: #157b83; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2 { color: var(--charcoal); line-height: 1.05; margin: .25em 0 .45em; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.8vw, 6rem); max-width: 900px; }
h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); max-width: 730px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-block; padding: 13px 22px; border: 2px solid var(--charcoal); font-weight: 800; text-decoration: none; }
.button.primary { background: var(--charcoal); color: white; }
.button.secondary { background: transparent; }
.button:hover, .button:focus { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,31,43,.16); }
.hero-mark { text-align: center; font-weight: 900; letter-spacing: .08em; }
.open-door { width: 160px; height: 230px; border: 13px solid var(--charcoal); margin: 0 auto 35px; position: relative; }
.open-door:after { content: ""; position: absolute; inset: 10px -8px 10px 35px; background: var(--teal); transform: perspective(320px) rotateY(-22deg); transform-origin: right; }
.open-door span { position: absolute; z-index: 2; width: 11px; height: 11px; border-radius: 50%; background: var(--white); right: 16px; top: 102px; }

.book-section, .author-section {
  padding: clamp(70px, 10vw, 130px) clamp(24px, 9vw, 140px);
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}
.book-cover-wrap { max-width: 410px; margin: auto; padding: 18px; background: white; box-shadow: 0 25px 60px rgba(15,31,43,.22); transform: rotate(-1.5deg); }
.book-cover { width: 100%; }
.subtitle { font-size: 1.3rem; color: #277d84; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 28px 0; }
.ticks li { margin: 12px 0; padding-left: 31px; position: relative; }
.ticks li:before { content: "✓"; position: absolute; left: 0; color: #147b82; font-weight: 900; }
.status { display: inline-block; background: var(--pale); color: var(--charcoal); font-weight: 900; padding: 10px 15px; }

.quote-band { background: var(--charcoal); color: var(--white); padding: 70px clamp(24px, 12vw, 180px); text-align: center; }
blockquote { font-size: clamp(1.65rem, 3.4vw, 3rem); line-height: 1.25; margin: 0 auto 18px; max-width: 1050px; font-weight: 700; }
.quote-band p { color: var(--teal); font-weight: 900; }

.resources-section { padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px); background: var(--white); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 42px auto 28px; }
.resource-grid article { position: relative; min-height: 260px; padding: 34px; background: var(--grey); border-top: 7px solid var(--teal); }
.resource-grid article span { display: block; color: #157b83; font-size: .82rem; font-weight: 900; letter-spacing: .14em; }
.resource-grid h3 { margin: 48px 0 12px; color: var(--charcoal); font-size: 1.45rem; line-height: 1.15; }
.resource-grid p { margin: 0; }
.coming-soon { text-align: center; color: #157b83; font-weight: 900; }

.series-section { padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 105px); text-align: center; }
.section-heading { max-width: 850px; margin: 0 auto 45px; }
.series-image { width: min(100%, 1150px); margin: auto; box-shadow: 0 24px 65px rgba(15,31,43,.16); }
.title-list { width: min(100%, 1150px); margin: 28px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; text-align: left; }
.title-list span { padding: 15px 18px; background: var(--grey); font-weight: 800; }
.title-list strong { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 9px; background: var(--charcoal); color: var(--white); }

.author-section { background: var(--grey); grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); }
.author-photo { width: min(100%, 420px); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); box-shadow: 18px 18px 0 var(--teal); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.socials span { padding: 10px 15px; background: var(--white); border-left: 5px solid var(--teal); font-weight: 800; }

.stay-connected {
  padding: 65px clamp(24px, 10vw, 150px);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  background: var(--pale);
}
.stay-connected > div { max-width: 720px; }
.stay-connected img { width: 180px; height: 180px; background: white; padding: 8px; }
.qr-block { display: grid; justify-items: center; gap: 10px; }
.qr-block a { font-weight: 900; color: var(--charcoal); }

footer { padding: 45px 24px; background: var(--charcoal); color: var(--white); text-align: center; }
.footer-brand { font-size: 1.3rem; font-weight: 900; letter-spacing: .12em; }
footer p { margin: 7px; font-size: .9rem; color: #cbd5da; }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; background: linear-gradient(160deg, var(--white) 0 75%, var(--grey) 75%); }
  .hero-mark { display: none; }
  .book-section, .author-section { grid-template-columns: 1fr; }
  .resource-grid, .title-list { grid-template-columns: 1fr; }
  .author-photo { margin: auto; }
  .stay-connected { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, .button:focus { transform: none; }
}
