/* =========================================================
   Paula Banks — author site
   Same family as the COME & SEE page (type, brush accents,
   warm paper), with its own palette: ink navy, terracotta, gold.
   ========================================================= */
:root {
  --cream: #FBF5EC;
  --ivory: #FFFBF5;
  --blush: #F6E6DA;
  --navy-700: #22355A;
  --navy-900: #14233B;
  --navy-950: #0C1628;
  --terracotta: #C2412D;     /* accent, large text */
  --terracotta-ink: #A8361F; /* text-safe */
  --gold: #D9A441;           /* decorative */
  --gold-soft: #F1D9A4;
  --ink: #23212A;
  --ink-soft: #545060;
  --line: #E8DCCB;

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-ui: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 22px 44px -26px rgba(20, 35, 59, .45);
  --measure: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: .2em; }
a:hover { color: var(--terracotta-ink); }
:focus-visible { outline: 3px solid var(--terracotta-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(var(--measure), 100% - 2.5rem); }

.eyebrow { font-family: var(--font-ui); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta-ink); margin-bottom: .75rem; }
.eyebrow--light { color: var(--gold-soft); }
.swash { display: block; width: min(14rem, 60%); height: 14px; color: var(--terracotta); margin: .6rem 0 1.2rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 245, 236, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 1.4rem; font-family: var(--font-ui); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.nav a { text-decoration: none; color: var(--navy-900); }
.nav a:hover { color: var(--terracotta-ink); }
.nav__cta { background: var(--navy-900); color: var(--ivory) !important; padding: .5rem 1rem; border-radius: 999px; }
.nav__cta:hover { background: var(--terracotta-ink); }
@media (max-width: 720px) {
  .site-header__inner { flex-direction: column; gap: .4rem; padding-block: .6rem; }
  .nav { gap: .9rem; font-size: .76rem; flex-wrap: wrap; justify-content: center; }
  .nav__cta { padding: .3rem .8rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px; font-family: var(--font-ui); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, transform .2s; }
.btn--primary { background: var(--navy-900); color: var(--ivory); }
.btn--primary:hover { background: var(--terracotta-ink); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost:hover { background: var(--navy-900); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--navy-900); }
.btn--light:hover { background: var(--gold-soft); color: var(--navy-950); }
.btn--placeholder-light { border: 2px dashed rgba(255,255,255,.45); color: #E6E1D6; cursor: not-allowed; flex-wrap: wrap; }
.btn--placeholder-light small { font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.text-link { font-family: var(--font-ui); font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--terracotta-ink); text-decoration: none; }
.text-link::after { content: " →"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
  background: radial-gradient(42rem 26rem at 85% 20%, rgba(217, 164, 65, .22), transparent 65%),
              radial-gradient(30rem 20rem at 10% 100%, rgba(194, 65, 45, .08), transparent 70%), var(--cream); }
.hero__inner { display: grid; gap: 2.5rem; align-items: center; }
.hero__title { font-size: clamp(3.2rem, 11vw, 5.6rem); font-weight: 800; line-height: .98; margin: 0; }
.hero__tagline { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.45rem, 3.4vw, 1.95rem); line-height: 1.3; color: var(--navy-700); max-width: 32rem; }
.hero__body { color: var(--ink-soft); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__photo { position: relative; width: min(360px, 80%); margin-inline: auto; }
.hero__photo::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 2px solid var(--gold); border-radius: 999px 999px 18px 18px; }
.hero__photo img { position: relative; width: 100%; border-radius: 999px 999px 18px 18px; box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .hero__photo { width: min(420px, 100%); }
}

/* ---------- Feature (new release) ---------- */
.feature { background: var(--navy-900); color: #E9E5DC; padding: clamp(3.5rem, 8vw, 5.5rem) 0; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 36rem; height: 36rem; border-radius: 50%; background: radial-gradient(circle, rgba(217, 164, 65, .25), transparent 65%); pointer-events: none; }
.feature__inner { display: grid; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.feature__cover { width: min(240px, 62%); margin-inline: auto; display: block; transition: transform .25s; }
.feature__cover:hover { transform: rotate(-1.5deg) translateY(-3px); }
.feature__cover img { border-radius: 4px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); }
.feature h2 { color: var(--ivory); margin-bottom: .1em; }
.feature__subtitle { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.35rem; color: var(--gold-soft); }
.feature p { max-width: 34rem; }
.brush-label { display: inline-block; padding: .3rem 1.2rem .4rem; margin-bottom: 1rem; font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M10 12 C70 5 300 3 393 9 C399 20 397 38 391 49 C320 56 120 58 12 53 C3 44 1 30 4 22 C5 17 7 14 10 12Z' fill='%23B83A26'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (min-width: 800px) {
  .feature__inner { grid-template-columns: 300px 1fr; gap: 4rem; }
  .feature__cover { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .feature__cover { transition: none; } .feature__cover:hover { transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--tint { background: var(--blush); }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head__intro { color: var(--ink-soft); }

/* ---------- Books ---------- */
.books { display: grid; gap: 2.5rem 1.75rem; }
@media (min-width: 620px) { .books { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .books { grid-template-columns: repeat(3, 1fr); } }
.book p { color: var(--ink-soft); font-size: 1.02rem; }
.book h3 { margin: 1.2rem 0 .1rem; }
.book__sub { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--navy-700) !important; margin-bottom: .6rem; }
.book__cover, .cover-ph { display: block; width: min(220px, 70%); aspect-ratio: 6 / 9; }
.book__cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow); }
.cover-ph { display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem 1.2rem; border-radius: 4px; box-shadow: var(--shadow); color: #fff; }
.cover-ph span { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.cover-ph small { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; opacity: .85; }
.cover-ph--a { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); }
.cover-ph--b { background: linear-gradient(160deg, #D3593F, var(--terracotta-ink)); }
.cover-ph--c { background: linear-gradient(160deg, #3D4A5E, #1F2735); }
.cover-ph--d { background: linear-gradient(160deg, #C99134, #9A6A1E); }
.book--kids { display: flex; }
.kids-card { align-self: stretch; width: 100%; background: var(--navy-900); color: #E9E5DC; border-radius: var(--radius); padding: 2rem 1.75rem; display: flex; flex-direction: column; justify-content: center;
  background-image: radial-gradient(18rem 12rem at 100% 0%, rgba(217,164,65,.3), transparent 70%); }
.kids-card h3 { color: var(--ivory); margin-top: 0; }
.kids-card p { color: #E9E5DC; }
.kids-card .btn { align-self: flex-start; margin-top: .5rem; }

/* ---------- About ---------- */
.prose p { color: var(--ink-soft); }
.prose .pull { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.6rem; line-height: 1.3; color: var(--navy-900); border-left: 3px solid var(--terracotta); padding-left: 1.1rem; margin-block: 1.8rem; }

/* ---------- Speaking ---------- */
.topics { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.topics li { font-family: var(--font-ui); font-size: .85rem; font-weight: 600; color: var(--navy-900); background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; }
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; position: relative; }
.card::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 2.5rem; height: 3px; background: var(--terracotta); border-radius: 0 0 3px 3px; }
.card p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Podcast ---------- */
.podcast { background: var(--navy-950); color: #E2DED4; padding: clamp(3rem, 7vw, 4.5rem) 0; }
.podcast__inner { display: grid; gap: 1.75rem; align-items: center; }
.podcast h2 { color: var(--ivory); font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.podcast p { margin: 0; max-width: 38rem; }
@media (min-width: 860px) { .podcast__inner { grid-template-columns: 1fr auto; gap: 3rem; } }

/* ---------- Connect ---------- */
.connect { text-align: center; }
.connect__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; justify-items: center; }
.connect__list li { display: grid; gap: .1rem; }
.connect__list span { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.connect__list a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #BDB8AD; padding: 2.25rem 0 2.5rem; font-size: .95rem; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__inner { display: grid; gap: .8rem; justify-items: center; text-align: center; }
.site-footer__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--ivory); margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; font-family: var(--font-ui); font-size: .82rem; font-weight: 600; }
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.site-footer__copy { margin: 0; font-size: .82rem; }

/* Book cover sizing: real covers keep their own shape */
.book__cover { aspect-ratio: auto; }
.book__cover img { height: auto; }

/* Phones: compact book rows (small cover beside the text) */
@media (max-width: 619px) {
  .books { gap: 2rem; }
  .book:not(.book--kids) { display: grid; grid-template-columns: 112px 1fr; column-gap: 1.1rem; align-items: start; }
  .book:not(.book--kids) > .book__cover, .book:not(.book--kids) > .cover-ph { grid-row: 1 / span 4; width: 100%; }
  .book h3 { margin-top: 0; font-size: 1.25rem; }
  .cover-ph { padding: .8rem .7rem; }
  .cover-ph span { font-size: 1rem; }
  .cover-ph small { font-size: .55rem; }
  .book p { font-size: .98rem; }
}

/* Children's books banner spans the full row */
@media (min-width: 620px) {
  .book--kids { grid-column: 1 / -1; }
  .kids-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.2rem 2.4rem; }
  .kids-card > div { max-width: 36rem; }
  .kids-card .btn { align-self: center; margin-top: 0; }
}

/* Expandable book description */
.more { margin: -.2rem 0 1rem; }
.more summary { cursor: pointer; font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--navy-700); list-style: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1.5px solid currentColor; font-size: .85rem; line-height: 1; }
.more[open] summary::before { content: "−"; }
.more[open] summary { margin-bottom: .6rem; }
.more p { font-size: .98rem; }
@media (max-width: 619px) {
  .book:not(.book--kids) > :not(.book__cover):not(.cover-ph) { grid-column: 2; }
  .book:not(.book--kids) > .book__cover, .book:not(.book--kids) > .cover-ph { grid-row: 1 / span 10; }
}
.weeks { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: .96rem; display: grid; gap: .45rem; }
.weeks strong { color: var(--navy-900); font-weight: 600; }
/* White covers get a hairline edge so they don't disappear on cream */
.book__cover--light img { outline: 1px solid var(--line); }

/* ---------- Contact form ---------- */
.contact-form { margin-top: 2.5rem; text-align: left; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow); scroll-margin-top: 6rem; }
.contact-form h3 { text-align: center; margin-bottom: 1.2rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--navy-900); }
.optional { font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #D9CBB6; border-radius: 10px; padding: .75rem .9rem; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(34, 53, 90, .18); }
.contact-form .btn { width: 100%; border: 0; cursor: pointer; margin-top: .4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.thanks p { color: var(--ink-soft); max-width: 30rem; margin-inline: auto; }
/* Cutout mockups (transparent background): shadow follows the book's shape */
.book__cover--cutout img { box-shadow: none; border-radius: 0; filter: drop-shadow(0 14px 18px rgba(20, 35, 59, .28)); }
