*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy-deep: #050d1a;
  --navy: #0a1628;
  --navy-mid: #0f1f35;
  --star: rgba(220, 230, 255, 0.85);
  --text: #f2f4f8;
  --text-muted: rgba(242, 244, 248, 0.78);
  --border: rgba(210, 220, 240, 0.55);
  --blue: #1a6fd4;
  --blue-hover: #2a7fe8;
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-hero: "Italiana", "Playfair Display", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", "Cormorant Garamond", cursive;
  --section-max: 1300px;
  --header-h: 5.75rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--navy-deep);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* —— Fixed header over hero —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  box-shadow: none;
}

.site-header.header-ready {
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: #0f1b2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 1.15rem clamp(1rem, 3vw, 2.5rem);
  min-height: var(--header-h);
}

/* —— Brand —— */
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
}

/* —— Nav —— */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.nav a {
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  opacity: 0.75;
  outline: none;
}

/* —— Buy Now —— */
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.55rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  background: rgba(8, 18, 35, 0.65);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-buy:hover,
.btn-buy:focus-visible {
  background: rgba(20, 40, 70, 0.85);
  border-color: rgba(230, 240, 255, 0.85);
  color: #fff;
  outline: none;
}

/* —— Mobile toggle —— */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.95rem 1.15rem;
    min-height: 4.5rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .btn-buy {
    display: none;
  }

  .nav-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    justify-self: end;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0.35rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.7rem 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .site-header:has(.nav.is-open) {
    background: #0f1b2d;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #020810;
  background-image: url("hero-section.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: 100%;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(1.5rem, 4vh, 3rem)) clamp(1rem, 3vw, 2.5rem) clamp(3rem, 8vh, 5.5rem);
}

.hero-copy {
  max-width: none;
  min-width: 0;
  animation: hero-rise 0.9s ease-out both;
}

.hero-eyebrow {
  margin-bottom: 1rem;
  color: #93c5fd;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 0.65rem;
  color: #fff;
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
  white-space: normal;
  max-width: 18ch;
}

.hero-desc em {
  font-style: italic;
}

.hero-author {
  margin-bottom: 1.35rem;
  color: #e2e8f0;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}

.hero-desc {
  margin-bottom: 2rem;
  max-width: 32rem;
  color: #cbd5e1;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  border: 1px solid transparent;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-hover);
  outline: none;
  transform: translateY(-1px);
}

.btn-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(230, 238, 255, 0.7);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transform: translateY(-1px);
}

/* —— Hero book image —— */
.hero-book {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: hero-rise 1.05s 0.15s ease-out both;
}

.hero-book-img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(18px 28px 40px rgba(0, 0, 0, 0.65));
  animation: book-float-soft 5.5s ease-in-out infinite;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes book-float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: calc(var(--header-h) + 1.5rem) 1.25rem 3.5rem;
    gap: 2.25rem;
    text-align: left;
  }

  .hero-copy {
    max-width: none;
    order: 1;
  }

  .hero-title {
    white-space: normal;
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    max-width: none;
  }

  .hero-book {
    order: 2;
    justify-content: center;
    width: 100%;
  }

  .hero-book-img {
    width: min(88vw, 400px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-book-img,
  .hero-copy,
  .hero-book {
    animation: none;
  }
}

/* —— About —— */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #1a2433;
  background: #e8eef4;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("about-author-section.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: var(--section-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 2.5rem 0;
  min-height: clamp(520px, 72vh, 680px);
}

.about-portrait {
  margin: 0;
  justify-self: start;
  align-self: end;
  max-width: 420px;
  width: 100%;
  line-height: 0;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(640px, 85vh);
  object-fit: contain;
  object-position: bottom center;
  vertical-align: bottom;
  filter: drop-shadow(0 18px 36px rgba(20, 40, 70, 0.22));
}

.about-copy {
  max-width: 36rem;
  align-self: center;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.about-eyebrow {
  margin-bottom: 0.75rem;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--blue);
}

.about-title {
  margin-bottom: 1.35rem;
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #152033;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-body p {
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 160%;
  color: #3a4658;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 2rem;
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
  color: #061d50;
}

.about-tags span:not(:last-child)::after {
  content: "|";
  margin-left: 0.65rem;
  color: rgba(6, 29, 80, 0.35);
  font-weight: 400;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  background: rgba(26, 111, 212, 0.08);
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-about:hover,
.btn-about:focus-visible {
  background: rgba(26, 111, 212, 0.16);
  color: #0f5bb0;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 0;
    gap: 1.75rem;
    min-height: 0;
  }

  .about-copy {
    max-width: none;
    order: 1;
    padding-bottom: 0.5rem;
  }

  .about-portrait {
    max-width: min(280px, 70vw);
    justify-self: center;
    order: 2;
    width: 100%;
  }
}

/* —— Collection / The Book —— */
.collection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  background: #06101c;
}

.collection-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #06101c;
  background-image: url("excerpt-section.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.collection-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  max-width: var(--section-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 2.5rem;
}

.collection-copy {
  max-width: none;
  min-width: 0;
}

.collection-eyebrow {
  margin-bottom: 0.85rem;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  color: #93c5fd;
}

.collection-title {
  margin-bottom: 0.75rem;
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  white-space: normal;
}

.collection-hook {
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.87);
  font-family: Italiana, var(--font-hero), serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.collection-body {
  margin: 0 0 1.75rem;
  max-width: none;
  color: rgba(255, 255, 255, 0.93);
  font-family: "Instrument Serif", "EB Garamond", Georgia, serif;
  font-size: 31.348px;
  font-style: italic;
  font-weight: 400;
  line-height: 150%;
}

.collection-body em {
  font-style: italic;
}

.collection-note {
  margin: 0 0 2rem;
  max-width: 34rem;
}

.collection-note blockquote {
  margin: 0 0 0.45rem;
  padding: 0;
  border: none;
  color: rgba(255, 255, 255, 0.73);
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 22.788px;
  font-style: italic;
  font-weight: 400;
  line-height: 160%;
  white-space: normal;
}

.collection-note figcaption {
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(200, 215, 235, 0.65);
}

.btn-collection {
  box-shadow: 0 0 24px rgba(26, 111, 212, 0.45);
}

.collection-book {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.collection-book img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(16px 28px 40px rgba(0, 0, 0, 0.55));
  animation: book-float-soft 6s ease-in-out infinite;
}

@keyframes book-float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1024px) {
  .collection-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 3.5rem;
    gap: 2.25rem;
  }

  .collection-copy {
    order: 1;
    max-width: none;
  }

  .collection-book {
    order: 2;
    justify-content: center;
    width: 100%;
  }

  .collection-book img {
    width: min(88vw, 440px);
  }

  .collection-title {
    white-space: normal;
    font-size: clamp(1.85rem, 6vw, 2.6rem);
  }

  .collection-hook {
    font-size: clamp(1.15rem, 4vw, 1.75rem);
  }

  .collection-body {
    font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  }

  .collection-note blockquote {
    font-size: clamp(1rem, 3.8vw, 22.788px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-book img {
    animation: none;
  }
}

/* —— Themes —— */
.themes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  background: #040b16;
}

.themes-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #040b16;
  background-image: url("themes-section%20(1).png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.themes-inner {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 2.5rem;
}

.themes-intro {
  text-align: center;
  margin-bottom: clamp(2.25rem, 5vh, 3.25rem);
}

.themes-eyebrow {
  margin-bottom: 0.85rem;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #93c5fd;
}

.themes-title {
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

.themes-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 0;
  padding: 0;
}

.theme-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem 1.6rem 1.85rem;
  background: #fff;
  border-radius: 6px;
  color: #1a2433;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
}

.theme-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.theme-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  color: #152033;
}

.theme-card-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
  color: #4a5668;
}

@media (max-width: 900px) {
  .themes-inner {
    padding: 3rem 1.25rem 4rem;
  }

  .themes-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-card {
    transition: none;
  }

  .theme-card:hover {
    transform: none;
  }
}

/* —— Acclaim / Reader Reflections —— */
.acclaim {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #152033;
  background: #d8e2ec;
}

.acclaim-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("testimonials-section%20(1).png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.acclaim-inner {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}

.acclaim-intro {
  text-align: center;
  margin-bottom: clamp(2rem, 4.5vh, 2.85rem);
  padding: 0 2.5rem;
}

.acclaim-eyebrow {
  margin-bottom: 0.75rem;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  color: var(--blue);
}

.acclaim-title {
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 400;
  line-height: 1.15;
  color: #152033;
}

.acclaim-marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 2.25rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.acclaim-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  padding: 0.35rem 1.25rem;
  will-change: transform;
}

.acclaim-track.is-ready {
  animation: acclaim-scroll 55s linear infinite;
}

.acclaim-marquee:hover .acclaim-track.is-ready,
.acclaim-marquee:focus-within .acclaim-track.is-ready {
  animation-play-state: paused;
}

.acclaim-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 0 0 min(340px, 78vw);
  width: min(340px, 78vw);
  padding: 1.6rem 1.45rem 1.7rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(30, 50, 80, 0.12);
}

.acclaim-stars {
  display: flex;
  gap: 0.2rem;
  color: #5b9cf0;
}

.acclaim-stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.acclaim-quote {
  margin: 0;
  flex: 1;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 160%;
  color: #243044;
}

.acclaim-cite {
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.35;
}

.acclaim-cta {
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
}

.btn-acclaim {
  padding: 0.95rem 1.75rem;
  box-shadow: 0 10px 28px rgba(26, 111, 212, 0.35);
}

@keyframes acclaim-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .acclaim-inner {
    padding: 3rem 0 4rem;
  }

  .acclaim-intro {
    padding: 0 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acclaim-track.is-ready {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .acclaim-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
    padding: 0 1.25rem;
  }
}

/* —— Contact —— */
.contact {
  background: #fff;
  color: #152033;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) 2.5rem;
}

.contact-eyebrow {
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: #152033;
}

.contact-desc {
  margin-bottom: 1.75rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4a5668;
}

.contact-links {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #243044;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--blue);
  outline: none;
}

.contact-link-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-link-icon svg {
  width: 100%;
  height: 100%;
}

.btn-contact-buy {
  display: inline-flex;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a4658;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.05rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.45;
  color: #152033;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  box-sizing: border-box;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a97a8;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.15);
}

.form-field textarea {
  min-height: 140px;
}

.btn-send {
  width: 100%;
  margin-top: 0.15rem;
  padding: 1.05rem 1.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(26, 111, 212, 0.28);
}

.btn-send:disabled {
  opacity: 0.72;
  cursor: wait;
  box-shadow: none;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.45;
  border-radius: 6px;
}

.form-status.is-pending {
  color: #2a3d55;
  background: #eef3f9;
  border: 1px solid #cfd8e3;
}

.form-status.is-success {
  color: #1c4d2e;
  background: #e8f6ec;
  border: 1px solid #b7dfc2;
}

.form-status.is-error {
  color: #7a1f1f;
  background: #fbeaea;
  border: 1px solid #e8bcbc;
}

/* —— Buy strip —— removed —— */

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 3.5rem;
    gap: 2.5rem;
  }
}

/* —— Footer —— */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  background: #040b16;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("footer.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 2.15rem 2.5rem;
  min-height: 110px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.footer-name {
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.footer-name:hover,
.footer-name:focus-visible {
  opacity: 0.85;
  outline: none;
}

.footer-copy {
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: rgba(226, 232, 240, 0.78);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.5vw, 2.15rem);
}

.footer-nav a {
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 0.7;
  outline: none;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  outline: none;
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.footer-buy {
  padding: 0.72rem 1.45rem;
  border-radius: 5px;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.25rem 2.5rem;
    gap: 1.5rem;
    min-height: 0;
  }

  .footer-brand-block {
    align-items: center;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 1.35rem;
    max-width: 360px;
  }

  .footer-nav a {
    font-size: 16px;
    padding: 0.15rem 0.1rem;
  }

  .footer-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-buy {
    min-width: 180px;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 1.75rem 1rem;
    gap: 0;
  }

  .footer-nav,
  .footer-actions {
    display: none;
  }

  .footer-copy {
    font-size: 12px;
    max-width: 280px;
  }
}

/* —— Global responsive polish —— */
@media (max-width: 1100px) {
  .hero-title {
    white-space: normal;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    max-width: 22ch;
  }

  .collection-title {
    white-space: normal;
  }

  .collection-note blockquote {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 4.75rem;
  }

  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .hero-author {
    font-size: 18px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .about-title,
  .themes-title,
  .acclaim-title,
  .contact-title,
  .collection-title {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .collection-note blockquote {
    font-size: clamp(0.95rem, 3.6vw, 1.1rem);
    white-space: normal;
  }

  .themes-grid {
    max-width: 480px;
  }

  .contact-links a {
    word-break: break-word;
  }

  .btn-primary,
  .btn-ghost,
  .btn-about,
  .btn-send {
    width: auto;
    max-width: 100%;
  }

  .btn-send {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 0.85rem 1rem;
    min-height: 4.25rem;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .hero-inner,
  .about-inner,
  .collection-inner,
  .themes-inner,
  .contact-inner,
  .article-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-inner {
    padding-top: calc(var(--header-h) + 1.25rem);
  }

  .hero-book-img {
    width: min(88vw, 360px);
  }

  .collection-book img {
    width: min(88vw, 380px);
  }

  .acclaim-card {
    flex-basis: min(300px, 86vw);
    width: min(300px, 86vw);
  }

  .footer-copy {
    font-size: 12px;
  }
}

/* —— Scroll reveal (subtle) —— */
/* Hidden state only after JS marks in-view items — avoids reload flash/jerk */
.reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

html.reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  html.reveal-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— News & Insights cards —— */
.insights-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  color: #152033;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-card:hover,
.insight-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  outline: none;
}

.insight-card img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.insight-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1rem 1rem 1.15rem;
}

.insight-date {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.insight-card-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.28;
  color: #152033;
}

.insight-card-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.55;
  color: #4a5668;
}

.insight-more {
  margin-top: auto;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

@media (max-width: 1100px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-card img {
    height: 200px;
  }

  .insight-card-title {
    font-size: 1.25rem;
  }

  .insight-card-text {
    font-size: 0.92rem;
  }
}

@media (max-width: 700px) {
  .insights-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-card {
    transition: none;
  }

  .insight-card:hover {
    transform: none;
  }
}

/* —— Blog articles —— */
body.page-article {
  background: #07111e;
}

body.page-article .site-header {
  background: #0f1b2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article {
  padding: calc(var(--header-h) + 2.75rem) 0 4.5rem;
}

.article-inner {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.article-back {
  display: inline-flex;
  margin-bottom: 1.35rem;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  text-decoration: none;
}

.article-back:hover,
.article-back:focus-visible {
  color: #fff;
  outline: none;
}

.article-kicker {
  margin-bottom: 0.7rem;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
}

.article-title {
  margin-bottom: 1rem;
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(2.15rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
}

.article-byline {
  margin-bottom: 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.72);
}

.article-figure {
  max-width: 720px;
  margin: 0 0 1.75rem;
}

.article-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.article-body p,
.article-body li {
  font-family: var(--font-body);
  font-size: 1.28rem;
  line-height: 1.7;
  color: rgba(242, 244, 248, 0.92);
}

.article-body p {
  margin-bottom: 1.05rem;
}

.article-body a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: #fff;
  outline: none;
}

.article-body h2 {
  margin: 2.15rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.article-body ul {
  margin: 0 0 1.15rem 1.25rem;
}

.article-body li + li {
  margin-top: 0.35rem;
}

.article-related {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.article-related h2 {
  margin-bottom: 1.15rem;
  font-family: Italiana, var(--font-hero), serif;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #fff;
}

.article-related ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  list-style: none;
}

.article-related a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: #152033;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-related a:hover,
.article-related a:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  outline: none;
}

.article-related img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
}

.article-related a span {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.95rem 1rem 1.15rem;
}

.related-date {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.related-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  color: #152033;
}

@media (max-width: 800px) {
  .article-related ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-related a {
    transition: none;
  }

  .article-related a:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .article-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
