:root {
  --bg: #fff9df;
  --surface: rgba(255, 248, 232, 0.84);
  --surface-strong: #fffdf2;
  --text: #4d2b3a;
  --muted: #7f5b68;
  --accent: #f27fa9;
  --accent-dark: #d85d89;
  --line: rgba(216, 93, 137, 0.18);
  --shadow: 0 20px 60px rgba(204, 120, 154, 0.16);
  --header-offset: 8.5rem;
  --img-radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(242, 127, 169, 0.2),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(251, 234, 154, 0.34),
      transparent 24%
    ),
    linear-gradient(180deg, #fffdf3 0%, var(--bg) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  border-radius: var(--img-radius);
}

body.modal-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 120;
  padding: 0.8rem 1rem;
  background: #fff7fb;
  color: var(--accent-dark);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(216, 93, 137, 0.18);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.header-reveal-zone {
  position: fixed;
  inset: 0 0 auto 0;
  height: 28px;
  z-index: 55;
}

.site-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 3rem;
}

.home-main-shell {
  padding-bottom: 0;
}

.site-shell main {
  padding-top: 1.5rem;
}

.site-shell > main#main-content {
  padding-top: 0;
}

.home-banner-shell {
  padding-top: var(--header-offset);
}

.home-banner {
  width: 100%;
  min-height: 100vh;
  --header-offset: 6.75rem;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(242, 127, 169, 0.32),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(251, 234, 154, 0.42),
      transparent 28%
    ),
    linear-gradient(135deg, #fff7d8 0%, #ffe8f1 52%, #fff2aa 100%);
}

.hero-about{
  padding-top: 200px;
}

.home-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #1c0f15;
}

.home-video__media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-banner-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: calc(1.35rem + 12.5px)
    max(1rem, calc((100vw - min(1120px, calc(100% - 2rem))) / 2))
    calc(1.1rem + 12.5px);
  margin-bottom: 2rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.34),
    rgba(255, 248, 226, 0.22)
  );
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 30px rgba(216, 93, 137, 0.1);
  transform: translateY(calc(-100% - 1rem));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

body.header-visible .site-header,
.header-reveal-zone:hover ~ .home-banner .site-header,
.header-reveal-zone:hover ~ .site-shell .site-header {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-shell > .site-header + main {
  padding-top: var(--header-offset);
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  position: relative;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-dark);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.hero,
.content-grid,
.video-section,
.purchase-grid {
  margin-top: 1.5rem;
}

.blueprint-section {
  position: relative;
  padding: 3.75rem 0;
  margin-top: 2rem;
}

.blueprint-section.section-bg {
  padding: 4.5rem 0;
}

.blueprint-section.section-bg::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 100vw;
  transform: translateX(-50%) skewY(-3deg);
  background: linear-gradient(
    135deg,
    rgba(255, 249, 223, 0.92),
    rgba(255, 232, 241, 0.82),
    rgba(255, 243, 170, 0.62)
  );
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(204, 120, 154, 0.12);
  z-index: 0;
}

.blueprint-section.section-bg > * {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-home-full {
  flex: 1;
  min-height: 0;
  margin-top: 0;
  padding-bottom: 1.5rem;
}

.hero-copy {
  background: transparent;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  box-shadow: none;
}

.profile-card,
.book-card,
.info-panel,
.video-card,
.purchase-card,
.story-card {
  background: var(--surface);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 18px 46px rgba(204, 120, 154, 0.16);
}

.hero-home .hero-copy {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-home-full .hero-copy,
.hero-home-full .hero-image-panel {
  min-height: 100%;
}

.hero-image-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 22px 40px rgba(216, 93, 137, 0.18));
  transform: translateY(0);
  transform-origin: center bottom;
  transition:
    transform 0.45s ease,
    filter 0.45s ease,
    opacity 0.45s ease;
  animation: hero-float 4.8s ease-in-out infinite;
}

.hero-portrait-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-image-panel:hover .hero-portrait-primary {
  opacity: 0;
  transform: translateY(-8px) scale(1.02);
}

.hero-image-panel:hover .hero-portrait-secondary {
  opacity: 1;
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 30px 48px rgba(216, 93, 137, 0.24));
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes caret-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-button-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes section-two-image-drift {
  0%,
  100% {
    transform: scale(1.02) translateX(0) translateY(0);
  }

  50% {
    transform: scale(1.05) translateX(6px) translateY(-6px);
  }
}

.hero-videos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 100px;
}

.hero-videos::before {
  content: "";
  position: absolute;
  inset: -30% -10% -20%;
  background: url("Assets/WhatsApp%20Image%202026-03-21%20at%2017.28.38%20(2).jpeg")
    center/cover no-repeat;
  opacity: 0.18;
  filter: saturate(0.9);
  z-index: 0;
}

.hero-videos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 250, 228, 0.88),
    rgba(255, 236, 244, 0.78),
    rgba(255, 242, 186, 0.7)
  );
  z-index: 1;
}

.hero-videos > * {
  position: relative;
  z-index: 2;
}

.hero-videos .hero-copy {
  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 228, 0.97),
      rgba(255, 230, 239, 0.9)
    ),
    var(--surface);
}

.hero-videos h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.hero-book {
  padding-top: 100px;
}
.hero-book .hero-copy {
  background: transparent;
}

.eyebrow,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.hero-home h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(1.56rem, 3.6vw, 2.88rem);
  line-height: 1.02;
  max-width: 20ch;
  margin-right: -12%;
  min-height: 3.2em;
}

.hero-title::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.14em;
  vertical-align: -0.08em;
  background: var(--accent-dark);
  animation: caret-blink 0.8s step-end infinite;
}

.hero-title.typing-complete::after {
  opacity: 0;
  animation: none;
}

.hero-subtitle {
  min-height: 5.2em;
}

.hero-subtitle::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.14em;
  vertical-align: -0.08em;
  background: var(--accent-dark);
  opacity: 0;
}

.hero-subtitle.typing-complete::after {
  opacity: 0;
  animation: none;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.lede,
p,
li {
  line-height: 1.7;
  color: var(--muted);
}

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

.hero-home .hero-actions .button {
  animation: hero-button-float 3.8s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 12px 24px rgba(216, 93, 137, 0.16);
}

.hero-home .hero-actions .button:nth-child(2) {
  animation-delay: 0.35s;
}

.hero-home .hero-actions .button:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 34px rgba(216, 93, 137, 0.22);
}

.hero-home .hero-actions .button.button-secondary:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(216, 93, 137, 0.48);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 0.9rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
}

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid rgba(216, 93, 137, 0.32);
}

.detail-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.content-grid,
.purchase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: center;
}

.split-grid.split-reverse .split-media {
  order: 2;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.split-media {
  margin: 0;
}

.split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--img-radius);
  box-shadow: 0 20px 45px rgba(204, 120, 154, 0.16);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--img-radius);
  box-shadow: 0 20px 45px rgba(204, 120, 154, 0.16);
}

.inline-note,
.form-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.contact-form .button {
  justify-self: flex-start;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  border-radius: 16px;
  border: 1px solid rgba(216, 93, 137, 0.28);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(216, 93, 137, 0.35);
  border-color: rgba(216, 93, 137, 0.45);
}

.price-tag {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0 0 0.6rem;
  color: var(--text);
}

.home-content-full {
  min-height: 100vh;
  align-items: stretch;
  margin-top: 0;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.story-section .story-card {
  max-width: 900px;
  margin: 0 auto;
}

.story-card p {
  margin-top: 0;
}

.story-card p + p {
  margin-top: 1.2rem;
}

.home-content-full .info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-two-image-panel {
  height: 100vh;
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
  align-self: stretch;
}

.section-two-image-gallery {
  display: flex;
  width: 100%;
  height: 100%;
}

.section-two-image-card {
  flex: 1 1 0;
  margin: 0;
  overflow: hidden;
  transition: flex 0.45s ease;
}

.section-two-image-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.section-two-image-gallery:hover .section-two-image-card {
  flex: 0.85 1 0;
}

.section-two-image-gallery .section-two-image-card:hover {
  flex: 1.35 1 0;
}

.section-two-image {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  animation: section-two-image-drift 7s ease-in-out infinite;
}

.section-two-image-card:nth-child(2) .section-two-image {
  animation-delay: 0.6s;
}

.section-two-image-card:nth-child(3) .section-two-image {
  animation-delay: 1.2s;
}

.section-two-image-card:nth-child(4) .section-two-image {
  animation-delay: 1.8s;
}

.section-two-image-card:nth-child(5) .section-two-image {
  animation-delay: 2.4s;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-title {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-title h2 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(1.4rem, 2.8vw, 2.25rem);
}

.section-title h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--accent);
  margin-top: 0.75rem;
}

.section-title p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.book-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.book-spotlight-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.book-spotlight-content .section-heading {
  margin-bottom: 0;
}

.book-card-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.book-card-hero-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

.book-card-hero-centered .button-secondary {
  margin-top: 0.85rem;
}

.book-spotlight-media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-spotlight-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: var(--img-radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(204, 120, 154, 0.16);
}

.book-spotlight-cover {
  display: block;
  width: min(280px, 100%);
  height: auto;
  border-radius: var(--img-radius);
  filter: drop-shadow(0 24px 44px rgba(204, 120, 154, 0.22));
  animation: book-bob 5.8s ease-in-out infinite;
}

.story-section .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.story-section .section-title h2::after {
  margin-left: auto;
  margin-right: auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-thumb {
  min-height: 180px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--img-radius);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(242, 127, 169, 0.2),
    rgba(255, 243, 170, 0.84)
  );
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--accent-dark);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.paypal-placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 2px dashed rgba(216, 93, 137, 0.42);
  border-radius: 18px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(242, 127, 169, 0.95),
    rgba(216, 93, 137, 0.92)
  );
  color: #fff;
  box-shadow: 0 14px 28px rgba(216, 93, 137, 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(216, 93, 137, 0.3);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(52, 28, 38, 0.72);
  backdrop-filter: blur(8px);
}

.gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 720px);
  margin: 5vh auto;
  padding: 1rem 1rem 1.25rem;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 244, 0.96),
    rgba(255, 244, 230, 0.92)
  );
  box-shadow: 0 24px 60px rgba(52, 28, 38, 0.28);
}

.gallery-modal__title {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--text);
}

.gallery-modal__close,
.gallery-modal__nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-dark);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(216, 93, 137, 0.15);
}

.gallery-modal__close {
  top: 0.9rem;
  right: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
}

.gallery-modal__nav {
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.gallery-modal__nav--prev {
  left: 0.9rem;
}

.gallery-modal__nav--next {
  right: 0.9rem;
}

.gallery-modal__viewport {
  overflow: auto;
  max-height: 72vh;
  border-radius: var(--img-radius);
}

.gallery-modal__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--img-radius);
}

.gallery-modal__count {
  margin: 0.85rem 0 0;
  text-align: center;
  font-weight: 700;
  color: var(--accent-dark);
}

.preorder-trigger {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.read-more-trigger {
  border-width: 1px;
  font: inherit;
}

.coming-soon-modal[hidden] {
  display: none;
}

.coming-soon-modal {
  position: fixed;
  inset: 0;
  z-index: 137;
}

.coming-soon-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(52, 28, 38, 0.72);
  backdrop-filter: blur(8px);
}

.coming-soon-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 860px);
  margin: 7vh auto;
  padding: 2rem;
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 244, 0.98),
      rgba(255, 242, 225, 0.94),
      rgba(255, 236, 244, 0.9)
    ),
    var(--surface);
  border: 1px solid rgba(216, 93, 137, 0.18);
  box-shadow: 0 30px 84px rgba(52, 28, 38, 0.3);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
}

.coming-soon-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-dark);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(216, 93, 137, 0.15);
  font-size: 1.5rem;
}

.coming-soon-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.75rem;
  align-items: center;
}

.coming-soon-modal__media {
  margin: 0;
  display: flex;
  justify-content: center;
}

.coming-soon-modal__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  border-radius: var(--img-radius);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(204, 120, 154, 0.16);
}

.coming-soon-modal__image {
  display: block;
  width: min(250px, 100%);
  height: auto;
  border-radius: var(--img-radius);
  filter: drop-shadow(0 24px 44px rgba(204, 120, 154, 0.22));
}

.coming-soon-modal__content {
  display: flex;
  flex-direction: column;
}

.coming-soon-modal__eyebrow {
  margin-bottom: 0.75rem;
}

.coming-soon-modal__title {
  margin-bottom: 0.85rem;
}

.coming-soon-modal__description,
.coming-soon-modal__synopsis {
  margin-top: 0;
  color: var(--muted);
}

.coming-soon-modal__synopsis {
  margin-top: 0.85rem;
}

.coming-soon-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.book-intro-modal[hidden] {
  display: none;
}

.book-intro-modal {
  position: fixed;
  inset: 0;
  z-index: 138;
}

.book-intro-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(52, 28, 38, 0.72);
  backdrop-filter: blur(8px);
}

.book-intro-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  max-height: 84vh;
  overflow: auto;
  margin: 6vh auto;
  padding: 2rem;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 250, 244, 0.97),
      rgba(255, 244, 230, 0.92)
    ),
    var(--surface);
  border: 1px solid rgba(216, 93, 137, 0.18);
  box-shadow: 0 28px 80px rgba(52, 28, 38, 0.28);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
}

.book-intro-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-dark);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(216, 93, 137, 0.15);
  font-size: 1.5rem;
}

.book-intro-modal__eyebrow {
  margin-bottom: 0.75rem;
}

.book-intro-modal__title {
  margin-bottom: 1rem;
}

.book-intro-modal__content {
  color: var(--muted);
}

.book-intro-modal__content p {
  margin-top: 0;
}

.book-intro-modal__content p + p {
  margin-top: 1rem;
}

.book-intro-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.policy-modal[hidden] {
  display: none;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 139;
}

.policy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(52, 28, 38, 0.72);
  backdrop-filter: blur(8px);
}

.policy-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  max-height: 84vh;
  overflow: auto;
  margin: 6vh auto;
  padding: 2rem;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 250, 244, 0.97),
      rgba(255, 244, 230, 0.92)
    ),
    var(--surface);
  border: 1px solid rgba(216, 93, 137, 0.18);
  box-shadow: 0 28px 80px rgba(52, 28, 38, 0.28);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
}

.policy-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-dark);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(216, 93, 137, 0.15);
  font-size: 1.5rem;
}

.policy-modal__eyebrow {
  margin-bottom: 0.75rem;
}

.policy-modal__title {
  margin-bottom: 0.5rem;
}

.policy-modal__description {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.policy-modal__content p {
  margin-top: 0;
}

.policy-modal__content p + p,
.policy-modal__content p + ul,
.policy-modal__content ul + p {
  margin-top: 1rem;
}

.policy-modal__content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policy-modal__content li + li {
  margin-top: 0.5rem;
}

.policy-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.preorder-modal[hidden] {
  display: none;
}

.preorder-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
}

.preorder-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(52, 28, 38, 0.72);
  backdrop-filter: blur(8px);
}

.preorder-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 540px);
  margin: 8vh auto;
  padding: 2rem;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 250, 244, 0.97),
      rgba(255, 244, 230, 0.92)
    ),
    var(--surface);
  border: 1px solid rgba(216, 93, 137, 0.18);
  box-shadow: 0 28px 80px rgba(52, 28, 38, 0.28);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
}

.preorder-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-dark);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(216, 93, 137, 0.15);
  font-size: 1.5rem;
}

.preorder-modal__eyebrow {
  margin-bottom: 0.75rem;
}

.preorder-modal__title {
  margin-bottom: 0.5rem;
}

.preorder-modal__price {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--text);
}

.preorder-modal__bonus {
  margin: 0.75rem 0 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.preorder-modal__description {
  margin: 1rem 0 0;
}

.preorder-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.preorder-modal__paypal {
  min-width: 220px;
}

.preorder-modal__note {
  margin-top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(242, 127, 169, 0.24),
      transparent 38%
    ),
    radial-gradient(
      circle at 88% 0%,
      rgba(251, 234, 154, 0.42),
      transparent 35%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 248, 226, 0.32));
}

.footer-shell {
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.8fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-title {
  font-family: "Fraunces", serif;
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: var(--text);
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin: 0 0 0.85rem;
}

.footer-link {
  display: inline-flex;
  justify-content: flex-start;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(216, 93, 137, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.tilt {
  --rx: 0deg;
  --ry: 0deg;
  --tz: 10px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry))
    translateZ(var(--tz));
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  will-change: transform;
}

.tilt:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 4px;
  border-radius: 22px;
}

.video-card,
.purchase-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.video-card:hover,
.purchase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 93, 137, 0.38);
  box-shadow: 0 26px 70px rgba(204, 120, 154, 0.18);
}

.purchase-card-wide {
  grid-column: 1 / -1;
}

/* Ajoke's Corner (videos) hero enhancements */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.9;
  filter: blur(0.2px);
  background: radial-gradient(
    circle at top left,
    rgba(242, 127, 169, 0.42),
    rgba(251, 234, 154, 0.18) 55%,
    transparent 70%
  );
  animation: orb-float 6s ease-in-out infinite;
}

.orb-1 {
  width: 150px;
  height: 150px;
  top: 12%;
  left: -10%;
  animation-delay: 0.1s;
}

.orb-2 {
  width: 95px;
  height: 95px;
  top: 45%;
  right: -8%;
  animation-delay: 0.35s;
}

.orb-3 {
  width: 130px;
  height: 130px;
  bottom: -12%;
  left: 12%;
  animation-delay: 0.7s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.hero-widget {
  width: min(380px, 100%);
  padding: 1.35rem 1.3rem;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 244, 0.96),
    rgba(255, 244, 230, 0.9)
  );
  border: 1px solid rgba(216, 93, 137, 0.2);
  box-shadow: 0 28px 80px rgba(204, 120, 154, 0.18);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
  animation: widget-float 5.4s ease-in-out infinite;
}

@keyframes widget-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 93, 137, 0.24);
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.widget-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.widget-title {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
  line-height: 1.05;
}

.widget-text {
  margin: 0 0 1rem;
}

/* Theme tabs section */
.theme-section {
  margin-top: 2.2rem;
}

.theme-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.theme-tab {
  appearance: none;
  border: 1px solid rgba(216, 93, 137, 0.22);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.theme-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 93, 137, 0.34);
}

.theme-tab.is-active {
  background: linear-gradient(
    135deg,
    rgba(242, 127, 169, 0.95),
    rgba(216, 93, 137, 0.88)
  );
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 40px rgba(216, 93, 137, 0.22);
}

.theme-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.theme-card {
  border-radius: 22px;
  padding: 1.2rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.theme-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 93, 137, 0.38);
  box-shadow: 0 26px 70px rgba(204, 120, 154, 0.18);
}

.theme-card h3 {
  margin: 0 0 0.5rem;
}

/* Book page hero: book image beside copy */
.hero-book {
  position: relative;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.55fr 0.9fr;
}

.book-hero-art {
  display: grid;
  place-items: center;
  padding: 0.75rem 0;
}

.book-hero-art__img {
  width: min(240px, 100%);
  height: auto;
  border-radius: var(--img-radius);
  filter: drop-shadow(0 26px 50px rgba(204, 120, 154, 0.22));
  animation: book-bob 5.8s ease-in-out infinite;
}

@keyframes book-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

/* Region switcher + accordion */
.region-switch {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.region-btn {
  appearance: none;
  border: 1px solid rgba(216, 93, 137, 0.22);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.region-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 93, 137, 0.34);
}

.region-btn.is-active {
  background: linear-gradient(
    135deg,
    rgba(242, 127, 169, 0.95),
    rgba(216, 93, 137, 0.88)
  );
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 40px rgba(216, 93, 137, 0.22);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.accordion-item {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 1.05rem 1.2rem;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.accordion-button::after {
  content: "+";
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 1.15rem;
}

.accordion-button[aria-expanded="true"]::after {
  content: "–";
}

.accordion-panel {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .content-grid,
  .purchase-grid,
  .video-grid,
  .split-grid,
  .photo-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .blueprint-section {
    padding: 3rem 0;
  }

  .blueprint-section.section-bg {
    padding: 3.5rem 0;
  }

  .blueprint-section.section-bg::before {
    top: 1rem;
    bottom: 1rem;
    transform: translateX(-50%) skewY(-2deg);
  }

  .site-header {
    justify-content: start;
    width: calc(100vw - 0px);
    padding: calc(1rem + 12.5px) 1rem;
  }

  .site-nav {
    margin-top: 0.25rem;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-home h1 {
    max-width: none;
    margin-right: 0;
    min-height: auto;
  }

  .section-two-image-panel {
    height: 70vh;
    margin-right: 0;
  }

  .section-two-image-gallery {
    flex-direction: column;
  }

  .section-two-image-card,
  .section-two-image-gallery:hover .section-two-image-card,
  .section-two-image-gallery .section-two-image-card:hover {
    flex: 1 1 0;
  }

  .section-two-image {
    height: 70vh;
  }

  .book-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .book-spotlight-media {
    order: -1;
  }

  .gallery-modal__dialog {
    width: min(94vw, 560px);
    margin: 4vh auto;
    padding-inline: 0.85rem;
  }

  .gallery-modal__viewport {
    max-height: 68vh;
  }

  .preorder-modal__dialog {
    width: min(94vw, 520px);
    margin: 6vh auto;
    padding: 1.5rem;
  }

  .book-intro-modal__dialog {
    width: min(94vw, 680px);
    margin: 5vh auto;
    padding: 1.5rem;
  }

  .coming-soon-modal__dialog {
    width: min(94vw, 680px);
    margin: 5vh auto;
    padding: 1.5rem;
  }

  .coming-soon-modal__grid {
    grid-template-columns: 1fr;
  }

  .home-banner,
  .home-banner-shell {
    min-height: auto;
  }

  .hero-home-full {
    padding-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-bottom {
    justify-content: flex-start;
  }

  .theme-card-grid {
    grid-template-columns: 1fr;
  }

  .book-hero-art__img {
    width: min(220px, 92%);
    animation-duration: 6.4s;
  }

  .split-grid.split-reverse .split-media {
    order: 0;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 1rem, 1120px);
  }

  .hero-copy,
  .profile-card,
  .book-card,
  .info-panel,
  .video-card,
  .purchase-card,
  .story-card {
    padding: 1.4rem;
    border-radius: 22px;
  }

  h1 {
    line-height: 1.02;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
