:root {
  --purple: #4c0b9c;
  --purple-deep: #2e075f;
  --magenta: #c50aa9;
  --coral: #ff4b51;
  --yellow: #ffd516;
  --ink: #241832;
  --paper: #fffdf8;
  --mist: #f4effa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
.site-header { height: 106px; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(24px, 5vw, 82px); border-bottom: 1px solid rgba(76,11,156,.12); background: rgba(255,253,248,.95); }
.brand img { display: block; width: clamp(220px, 25vw, 305px); height: auto; }
nav { display: flex; gap: clamp(20px, 3vw, 44px); }
nav a { text-decoration: none; font-weight: 600; font-size: .92rem; }
nav a:hover, nav a:focus-visible { color: var(--magenta); }

.hero { min-height: 670px; padding: 90px clamp(24px, 8vw, 130px) 100px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; overflow: hidden; background: radial-gradient(circle at 82% 22%, #faf1ff 0, transparent 34%), var(--paper); }
.eyebrow, .section-label { color: var(--coral); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(3.5rem, 6.2vw, 6.4rem); letter-spacing: -.045em; }
h1 span { color: var(--purple); }
.intro { max-width: 635px; margin: 30px 0 36px; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: #5a4c64; }
.button { display: inline-flex; gap: 20px; align-items: center; padding: 15px 22px; border: 2px solid var(--purple); text-decoration: none; color: var(--purple); font-weight: 700; transition: .2s ease; }
.button:hover, .button:focus-visible { background: var(--purple); color: white; }
.hero-mark { position: relative; width: min(100%, 510px); justify-self: end; }
.hero-mark svg { width: 100%; filter: drop-shadow(0 24px 30px rgba(63,12,119,.12)); }
.page { fill: var(--purple); }
.leaf.l1 { fill: var(--magenta); } .leaf.l2 { fill: var(--coral); } .leaf.l3 { fill: var(--yellow); }
.binding { stroke: var(--purple-deep); stroke-width: 9; stroke-linecap: round; }
.sun-dot { position: absolute; border-radius: 50%; background: var(--coral); }
.dot-one { width: 13px; height: 13px; top: 8%; left: 19%; }
.dot-two { width: 9px; height: 9px; top: 0; left: 47%; }
.dot-three { width: 15px; height: 15px; top: 13%; right: 11%; }

.mission { padding: 120px clamp(24px, 10vw, 170px); background: var(--purple-deep); color: white; }
.mission h2, .values h2, .authors h2 { font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.035em; }
.mission-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 9vw, 140px); margin-top: 65px; align-items: start; }
.mission-grid p { margin: 0; color: #ded2ea; font-size: 1.08rem; }
.mission-grid .lead { color: white; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.35; }

.featured-book { position: relative; padding: 110px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: minmax(300px, .8fr) minmax(430px, 1.2fr); gap: clamp(60px, 9vw, 140px); align-items: center; background: linear-gradient(120deg, #f7f1fb 0%, #fffdf8 68%); overflow: hidden; }
.eddie-portrait { position: relative; min-height: 620px; display: flex; justify-content: center; align-items: flex-end; }
.eddie-portrait::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: white; box-shadow: 0 30px 70px rgba(46,7,95,.10); top: 8%; left: 6%; }
.eddie-portrait img { position: relative; z-index: 2; display: block; width: min(100%, 470px); max-height: 660px; object-fit: contain; object-position: center bottom; }
.portrait-frame { position: absolute; z-index: 1; inset: 4% 5% 12%; border: 1px solid rgba(76,11,156,.24); border-radius: 50% 50% 45% 45%; transform: rotate(-3deg); }
.book-copy { position: relative; z-index: 2; max-width: 720px; }
.series-line { margin: 11px 0 18px; color: var(--purple); font-weight: 700; letter-spacing: .025em; }
.featured-book h2 { color: var(--purple-deep); font-size: clamp(2.75rem, 5vw, 5rem); }
.book-intro { margin: 30px 0 18px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.4; }
.book-copy > p:not(.section-label):not(.series-line):not(.book-intro) { color: #62556b; font-size: 1.06rem; }
.development-note { margin-top: 32px; padding: 23px 25px; background: white; border-left: 5px solid var(--yellow); box-shadow: 0 15px 45px rgba(46,7,95,.07); }
.development-note span { display: block; margin-bottom: 7px; color: var(--coral); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.development-note p { margin: 0; color: #62556b; }

.values { padding: 120px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 160px); }
.values-heading { position: sticky; top: 50px; align-self: start; }
.value-list article { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid rgba(76,11,156,.25); }
.value-list article:last-child { border-bottom: 1px solid rgba(76,11,156,.25); }
.value-list span { color: var(--coral); font-weight: 700; }
.value-list h3 { margin: -4px 0 7px; color: var(--purple); font-family: "Playfair Display", Georgia, serif; font-size: 2rem; font-weight: 500; }
.value-list p { margin: 0; color: #685d70; max-width: 520px; }

.authors { margin: 0 clamp(24px, 5vw, 82px) 80px; padding: clamp(55px, 7vw, 90px); background: var(--mist); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(45px, 8vw, 120px); align-items: end; border-left: 7px solid var(--yellow); }
.authors h2 { max-width: 760px; }
.authors > p { margin: 0; color: #5f5268; font-size: 1.08rem; }

.contact { padding: 115px clamp(24px, 9vw, 150px); background: var(--purple-deep); color: white; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(55px, 10vw, 150px); align-items: start; }
.contact-intro { position: sticky; top: 50px; }
.contact h2 { max-width: 520px; font-size: clamp(3rem, 5vw, 5.2rem); }
.contact-intro > p:last-child { max-width: 490px; margin-top: 28px; color: #d8cce2; font-size: 1.08rem; }
.contact-form { padding: clamp(28px, 4vw, 52px); background: white; color: var(--ink); box-shadow: 0 28px 75px rgba(15,5,27,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 23px; }
.field label { display: block; margin-bottom: 8px; color: var(--purple-deep); font-weight: 700; font-size: .92rem; }
.field label > span:not(.optional) { color: var(--coral); }
.optional { margin-left: 7px; color: #807487; font-weight: 500; font-size: .78rem; }
.field input, .field textarea { width: 100%; border: 1px solid #cfc4d8; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; padding: 13px 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(76,11,156,.13); }
.form-actions { display: flex; align-items: center; gap: 24px; }
.form-actions button { flex: 0 0 auto; border: 0; background: var(--purple); color: white; padding: 15px 23px; font: inherit; font-weight: 700; cursor: pointer; }
.form-actions button:hover, .form-actions button:focus-visible { background: var(--purple-deep); }
.form-actions button:disabled { cursor: wait; opacity: .68; }
.form-privacy { margin: 0; color: #74687c; font-size: .79rem; line-height: 1.45; }
.form-status { min-height: 1.6em; margin: 18px 0 0; font-weight: 700; }
.form-status.success { color: #27673a; }
.form-status.error { color: #a92832; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

footer { padding: 45px clamp(24px, 5vw, 82px); background: #1d1028; color: white; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
footer img { width: 190px; filter: brightness(0) invert(1); }
footer p { margin: 0; font-family: "Playfair Display", Georgia, serif; }
.footer-meta { justify-self: end; text-align: right; }
.copyright { justify-self: end; color: #c6b8cf; font-family: "DM Sans", sans-serif; font-size: .82rem; }
.site-credit { margin-top: 8px; color: #c6b8cf; font-family: "DM Sans", sans-serif; font-size: .82rem; }
.site-credit a { color: white; text-underline-offset: 3px; }
.site-credit a:hover, .site-credit a:focus-visible { color: #ffd516; }

@media (max-width: 800px) {
  .site-header { height: auto; padding-block: 14px; }
  .brand img { width: 190px; }
  nav { display: none; }
  .hero { min-height: 0; padding-block: 65px; grid-template-columns: 1fr; }
  .hero-mark { width: 82%; max-width: 410px; justify-self: center; margin-top: 50px; }
  .mission, .values { padding-block: 78px; }
  .mission-grid, .values, .authors { grid-template-columns: 1fr; }
  .mission-grid { margin-top: 44px; gap: 30px; }
  .values { gap: 45px; }
  .values-heading { position: static; }
  .authors { margin-bottom: 35px; padding: 46px 30px; }
  .contact { padding-block: 75px; grid-template-columns: 1fr; gap: 42px; }
  .contact-intro { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .featured-book { padding-block: 75px; grid-template-columns: 1fr; gap: 42px; }
  .eddie-portrait { min-height: 510px; }
  .eddie-portrait img { max-height: 560px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-meta { justify-self: center; text-align: center; }
  .copyright { justify-self: center; }
}

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