/* =========================================================
   BRAND PALETTE
   ========================================================= */
form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 640px;
  margin: 1.5rem auto 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(51, 51, 51, 0.16);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(51, 51, 51, 0.12);
  font-family: var(--font);
}

form label {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333333;
}

form input,
form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
  background: #ffffff;
  border: 1px solid rgba(51, 51, 51, 0.18);
  border-radius: 12px;
  box-sizing: border-box;
}

form textarea {
  min-height: 140px;
  resize: vertical;
}

form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 14px;
  background: #d38e65;
  color: #ffffff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

#contact h2 {
  text-align: center;
}

form {
  margin-bottom: 2rem;
}

#contact h2 {
  text-align: center;
}
:root {
  --cream-blush: #fbe2dd;
  --cream-paper: #f8f2dc;
  --rose: #e59f9a;
  --tan: #d3c1aa;
  --gold: #fed972;
  --caramel: #d38e65;
  --ink: #333333;

  --bg: var(--cream-paper);
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: var(--ink);
  --muted: #4a4a4a;
  --border: rgba(51, 51, 51, 0.16);
  --primary: var(--caramel);

  --radius: 18px;
  --shadow: 0 14px 36px rgba(51, 51, 51, 0.14);
  --max-width: 1120px;

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================
   RESET / GLOBAL
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  word-wrap: break-word;
}

html,
body {
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(229, 159, 154, 0.22), transparent 55%),
    radial-gradient(900px 700px at 90% 10%, rgba(254, 217, 114, 0.18), transparent 60%),
    linear-gradient(180deg, var(--cream-blush), var(--cream-paper));
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0.75rem 0;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li {
  margin: 0.35rem 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.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;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -999px;
  background: #ffffff;
  color: #000000;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  background: rgba(248, 242, 220, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand__text {
  display: inline-block;
}

.nav nav {
  min-width: 0;
}

.nav__list {
  list-style: none;
  display: none;
  gap: 0.75rem;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav__list a {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--text);
  background: rgba(229, 159, 154, 0.22);
  outline: none;
}

@media (min-width: 880px) {
  .nav__list {
    display: flex;
  }
}

@media (max-width: 879px) {
  .site-header .container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav {
    gap: 0.75rem;
  }

  .brand {
    flex: 1 1 auto;
  }

  .btn--small {
    flex: 0 0 auto;
  }
}

/* =========================================================
   BUTTONS / LINKS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #c57f5a;
  outline: none;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--tan);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(211, 193, 170, 0.28);
  border-color: var(--tan);
}

.btn--small {
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(51, 51, 51, 0.35);
  text-underline-offset: 3px;
}

.text-link:hover,
.text-link:focus-visible {
  color: #000000;
  outline: none;
}

/* =========================================================
   TYPOGRAPHY / SECTIONS
   ========================================================= */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: rgba(211, 193, 170, 0.22);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  margin-bottom: 1.6rem;
  text-align: center;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0.4rem 0 0.6rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.05rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.08rem;
}

.muted {
  color: var(--muted);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 4.5rem 0 3.25rem;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__grid--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero__copy {
  max-width: 60ch;
}

.hero__copy--centered {
  max-width: 42rem;
  margin: 0 auto;
}

.hero__subheading {
  margin-top: 0.25rem;
  color: #4a4a4a;
  text-transform: none;
}

.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.3rem 0 0;
}

.hero__cta--centered {
  justify-content: center;
}

.hero__media {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}

.cover {
  width: 100%;
  border-radius: var(--radius);
  border: 6px solid var(--surface-strong);
  box-shadow: var(--shadow);
  background: transparent;
}

/* =========================================================
   CARDS / BOOK DETAILS
   ========================================================= */
.card,
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card {
  padding: 1.2rem;
}

.book-details-stack {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.details {
  margin: 0.5rem 0 0;
}

.details div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(51, 51, 51, 0.22);
}

.details div:last-child {
  border-bottom: none;
}

dt {
  color: #4a4a4a;
  font-weight: 600;
}

dd {
  margin: 0;
  text-align: right;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.about__media {
  width: 100%;
}

.author {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 999px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid var(--surface-strong);
  box-shadow: var(--shadow);
}

.about__copy {
  max-width: 60ch;
}

.about__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .section__header {
    text-align: left;
  }

  #reviews .section__header,
  #book .section__header {
    text-align: center;
  }
}

/* =========================================================
   REVIEWS
   ========================================================= */
.quotes {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.quote {
  margin: 0;
  padding: 1.2rem;
}

blockquote {
  margin: 0;
  font-size: 1.05rem;
}

figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   BLOG SECTION
   ========================================================= */
.newsletter {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.newsletter__copy {
  max-width: 42rem;
}

.newsletter__form {
  display: grid;
  gap: 0.75rem;
  max-width: 420px;
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 900px) {
  .newsletter {
    grid-template-columns: 1fr auto;
    justify-content: space-between;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--cream-paper);
   color: #4a4a4a;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================================
   SMALL SCREEN TUNING
   ========================================================= */
@media (max-width: 599px) {
  .section {
    padding: 3.75rem 0;
  }

  .hero {
    padding: 3.5rem 0 2.75rem;
  }

  .hero__media {
    max-width: 280px;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__cta .btn {
    min-width: 140px;
  }

  .details div {
    flex-direction: column;
    gap: 0.2rem;
  }

  dd {
    text-align: left;
  }

  .footer__grid {
    align-items: flex-start;
  }

 
}