

:root {
  --paper: #f4f0e6;
  --ink: #18241f;
  --forest: #173c32;
  --moss: #607768;
  --clay: #a64f37;
  --gold: #c89950;
  --line: rgba(24, 36, 31, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  min-height: 90px;
  padding: 18px clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 230, 0.95);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border: 1px solid var(--forest);
  display: grid; place-items: center; border-radius: 50%;
  font: 700 15px Georgia, serif;
}
.brand strong, .brand small { display: block; }
.brand strong { font: 700 18px Georgia, serif; }
.brand small { color: var(--moss); margin-top: 3px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
nav a:hover { color: var(--clay); }
.concept-pill {
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 13px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--moss);
}

.hero {
  height: calc(100svh - 90px);
  min-height: 640px;
  max-height: 880px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(38px, 5vh, 64px) clamp(28px, 5vw, 82px);
  align-self: center;
}
.eyebrow { color: var(--clay); font-size: 12px; letter-spacing: .18em; font-weight: 700; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(50px, 5.2vw, 82px); line-height: .94; letter-spacing: -.05em; margin: 18px 0 24px; max-width: 760px; }
.lead { font: 19px/1.5 Georgia, serif; max-width: 640px; color: #425149; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.button { padding: 15px 23px; border-radius: 2px; font-size: 13px; font-weight: 700; }
.button.primary { background: var(--forest); color: white; }
.button.secondary { border: 1px solid var(--forest); }
.verification-note { margin-top: 22px; color: var(--moss); font-size: 12px; max-width: 520px; }
.hero-art {
  background: #d7d6d2; position: relative; overflow: hidden; min-height: 0;
  display: grid; place-items: center;
}
.author-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(17, 27, 23, .7) 100%);
  pointer-events: none;
}
.hero-art p {
  position: absolute; bottom: 42px; left: 48px; right: 48px;
  color: white; font: italic 18px Georgia, serif; z-index: 5;
  text-shadow: 0 2px 14px rgba(0,0,0,.42);
}
.sun { position: absolute; width: 270px; height: 270px; border-radius: 50%; background: #db9b50; top: 70px; right: 40px; }
.mountain { position: absolute; left: -10%; right: -10%; bottom: 0; height: 48%; clip-path: polygon(0 60%, 18% 32%, 36% 55%, 58% 12%, 76% 52%, 100% 25%, 100% 100%, 0 100%); }
.mountain-back { background: #6f8175; opacity: .7; bottom: 10%; }
.mountain-front { background: var(--forest); }
.portrait-placeholder {
  width: 240px; height: 320px; z-index: 3; border: 1px solid rgba(255,255,255,.7);
  background: rgba(244,240,230,.25); backdrop-filter: blur(6px);
  display: grid; place-content: center; text-align: center; color: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.portrait-placeholder span { font: 28px Georgia, serif; }
.portrait-placeholder small { margin-top: 9px; text-transform: uppercase; letter-spacing: .15em; }

.author-section {
  padding: 100px clamp(28px, 7vw, 110px);
  display: grid; grid-template-columns: 80px .8fr 1.2fr; gap: 38px;
  border-bottom: 1px solid var(--line);
}
.section-number { color: var(--gold); font: 38px Georgia, serif; }
h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1.05; letter-spacing: -.035em; margin: 14px 0; }
.author-copy { font: 18px/1.7 Georgia, serif; color: #435048; }
.author-copy p:first-child { font-size: 24px; margin-top: 0; color: var(--ink); }
.author-copy aside { border-left: 3px solid var(--gold); padding: 15px 20px; margin-top: 35px; background: rgba(255,255,255,.28); }
.author-copy aside strong, .author-copy aside span { display: block; }
.author-copy aside strong { color: var(--clay); font: 700 12px Arial; text-transform: uppercase; letter-spacing: .1em; }
.author-copy aside span { margin-top: 8px; font: 14px/1.5 Arial; }

.books-section { padding: 110px clamp(28px, 7vw, 110px); background: #ebe4d5; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.section-heading > p { max-width: 390px; line-height: 1.6; color: var(--moss); }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.book-card { background: var(--paper); padding: 24px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 25px; min-height: 390px; }
.book-cover {
  min-height: 330px; padding: 20px 17px; color: white; display: flex; flex-direction: column;
  box-shadow: 8px 10px 0 rgba(24,36,31,.12); position: relative;
}
.book-cover.forest { background: var(--forest); }
.book-cover.clay { background: var(--clay); }
.book-cover.gold { background: #8e713e; }
.book-cover span { font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .1em; }
.book-cover strong { font: 28px/1.05 Georgia, serif; margin: auto 0; }
.book-cover i { font: normal 12px Arial; }
.book-details { align-self: center; }
.book-details > span { color: var(--clay); font-weight: 700; }
.book-details h3 { font-size: 25px; line-height: 1.1; margin: 14px 0 10px; }
.book-details p { font: italic 15px/1.5 Georgia, serif; }
.book-details small { display: block; color: var(--moss); line-height: 1.5; margin: 18px 0; }
.book-details button { border: 0; border-top: 1px solid var(--line); background: none; padding: 14px 0; color: #829087; font-size: 11px; text-transform: uppercase; text-align: left; }

.aiq-section {
  background: var(--forest); color: white; padding: 110px clamp(28px, 7vw, 110px);
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 130px);
}
.aiq-intro .eyebrow { color: #d9a663; }
.aiq-intro > p:not(.eyebrow) { color: #c7d0ca; font: 18px/1.7 Georgia, serif; }
.aiq-intro ul { list-style: none; padding: 0; margin-top: 35px; }
.aiq-intro li { border-top: 1px solid rgba(255,255,255,.16); padding: 13px 0; color: #dbe2de; }
.chat-card { background: #f7f3e9; color: var(--ink); padding: 30px; box-shadow: 0 28px 90px rgba(0,0,0,.22); align-self: center; }
.chat-top { display: flex; gap: 13px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.aiq-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--clay); color: white; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.chat-top strong, .chat-top span { display: block; }
.chat-top span { color: var(--moss); font-size: 11px; margin-top: 5px; }
.chat-top i { display: inline-block; width: 7px; height: 7px; background: #48a673; border-radius: 50%; }
.message { margin: 28px 0; background: #e6dfd1; padding: 18px; font: 15px/1.6 Georgia, serif; max-width: 86%; }
.message.answer { margin-left: auto; background: #dce6df; }
form label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 9px; color: var(--moss); }
form > div { display: flex; }
input { flex: 1; min-width: 0; border: 1px solid var(--line); background: white; padding: 15px; outline-color: var(--clay); }
form button { border: 0; background: var(--clay); color: white; padding: 0 22px; font-weight: 700; }
.chat-card > small { display: block; color: var(--moss); margin-top: 13px; line-height: 1.4; }

.next-section { padding: 100px clamp(28px, 7vw, 110px); text-align: center; }
.next-section h2 { max-width: 860px; margin: 20px auto 60px; }
.next-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.next-grid span { padding: 30px 20px; border-right: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.next-grid span:last-child { border-right: 0; }
.next-grid b { display: block; color: var(--clay); font: 30px Georgia, serif; margin-bottom: 12px; }

footer { background: #111b17; color: white; padding: 40px clamp(28px, 5vw, 76px); display: flex; align-items: center; gap: 40px; }
footer p { color: #9ba9a1; font-size: 12px; }
footer p:nth-of-type(1) { margin-left: auto; }
.footer-brand .brand-mark { border-color: white; }

@media (max-width: 1050px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 220px 1fr; min-height: auto; }
  .book-cover { min-height: 310px; }
}
@media (max-width: 820px) {
  .site-header nav, .concept-pill { display: none; }
  .hero, .aiq-section { grid-template-columns: 1fr; }
  .hero { height: auto; max-height: none; }
  .hero-art { min-height: 560px; }
  .author-photo { object-position: center; }
  .author-section { grid-template-columns: 50px 1fr; }
  .author-copy { grid-column: 2; }
  .section-heading { align-items: start; flex-direction: column; }
  .next-grid { grid-template-columns: 1fr 1fr; }
  .next-grid span:nth-child(2) { border-right: 0; }
  .next-grid span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  footer { flex-wrap: wrap; }
  footer p:nth-of-type(1) { margin-left: 0; }
}
@media (max-width: 560px) {
  h1 { font-size: 54px; }
  .hero-copy { padding-top: 80px; padding-bottom: 80px; }
  .author-section { grid-template-columns: 1fr; }
  .section-number { display: none; }
  .author-copy { grid-column: 1; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover { min-height: 390px; }
  .next-grid { grid-template-columns: 1fr; }
  .next-grid span { border-right: 0; border-bottom: 1px solid var(--line); }
  form > div { flex-direction: column; }
  form button { padding: 15px; }
}
