:root {
  --ink: #10232a;
  --muted: #5c6c70;
  --paper: #f6fbf9;
  --soft: #eef7f3;
  --teal: #0f7f8d;
  --teal-dark: #064f5f;
  --aqua: #12a8bd;
  --gold: #c99b4e;
  --wine: #9b0e36;
  --wine-dark: #640722;
  --line: rgba(16, 35, 42, 0.12);
  --shadow: 0 26px 70px rgba(7, 55, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(18, 168, 189, 0.13), transparent 30rem),
    radial-gradient(circle at 86% 16%, rgba(201, 155, 78, 0.14), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 48%, #ffffff 100%);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(16, 35, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 36px rgba(7, 55, 68, 0.06);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 168px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #15343c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(15, 127, 141, 0.13);
  border-radius: 999px;
  background: rgba(18, 168, 189, 0.06);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 10px 26px rgba(6, 79, 95, 0.18);
  transform: translateY(-1px);
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-social-links a,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(15, 127, 141, 0.16);
  border-radius: 50%;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 180ms ease, background 180ms ease;
}

.header-social-links a:hover,
.header-social-links a:focus-visible {
  background: rgba(18, 168, 189, 0.11);
  transform: translateY(-1px);
}

.header-social-links svg,
.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-social-links a:nth-child(2) svg,
.social-links a:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.header-social-links a:nth-child(3) svg rect,
.social-links a:nth-child(3) svg rect {
  fill: currentColor;
  stroke: none;
}

.header-social-links a:nth-child(3) svg path,
.social-links a:nth-child(3) svg path {
  fill: #fff;
  stroke: none;
}

.menu-toggle {
  display: none;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  color: var(--teal-dark);
  font-size: clamp(2.35rem, 5.2vw, 5.1rem);
  line-height: 1.02;
}

h2 {
  color: var(--teal-dark);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.subtitle {
  margin: 1rem 0 0;
  color: #23464d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
}

.intro,
.prose {
  color: var(--muted);
  font-size: 1.03rem;
}

.intro {
  max-width: 620px;
  margin: 1.3rem 0 0;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 16px 34px rgba(6, 79, 95, 0.22);
}

.button.secondary {
  color: var(--teal-dark);
  border-color: rgba(15, 127, 141, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

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

.home-slider {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(6, 79, 95, 0.94), rgba(15, 127, 141, 0.78)),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.16), transparent 22rem);
}

.home-slider-track {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.home-slide,
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 7rem) clamp(1.1rem, 6vw, 6.5rem) clamp(3rem, 6vw, 6rem);
}

.home-slide {
  flex: 0 0 100%;
  min-height: calc(100vh - 86px);
  scroll-snap-align: start;
}

.home-slide,
.home-slide h1,
.home-slide .subtitle,
.home-slide .intro,
.home-slide .eyebrow {
  color: #fff;
}

.home-slide .intro {
  color: rgba(255, 255, 255, 0.82);
}

.home-slide .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.slider-arrow,
.carousel-arrow {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 127, 141, 0.16);
  border-radius: 50%;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(7, 55, 68, 0.14);
  font-size: 2rem;
  line-height: 1;
}

.slider-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.slider-prev {
  left: clamp(0.75rem, 2vw, 1.25rem);
}

.slider-next {
  right: clamp(0.75rem, 2vw, 1.25rem);
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 1.3rem;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.slider-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.slider-dots span.active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.ministry-hero-photo,
.book-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
}

.ministry-hero-photo::before,
.book-stage::before {
  position: absolute;
  inset: 9% -5% -5% 12%;
  z-index: -1;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(18, 168, 189, 0.28), rgba(201, 155, 78, 0.22));
  content: "";
}

.ministry-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% 34%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.book-stage {
  perspective: 1400px;
}

.real-book {
  position: relative;
  width: min(100%, 370px);
  aspect-ratio: 0.68;
  margin-inline: auto;
  transform: rotateY(-18deg) rotateX(3deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 32px 34px rgba(39, 20, 22, 0.24));
}

.real-book-front,
.real-book-spine,
.real-book-pages {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  backface-visibility: hidden;
}

.real-book-front {
  z-index: 3;
  overflow: hidden;
  background-image: url("assets/bookcover-spread.png");
  background-position: right center;
  background-size: 200% 100%;
  box-shadow: inset -18px 0 26px rgba(28, 16, 16, 0.12), inset 1px 0 0 rgba(255, 255, 255, 0.75);
}

.real-book-front::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 24%, rgba(50, 27, 30, 0.08));
  content: "";
}

.real-book-spine {
  left: -12.5%;
  width: 13%;
  transform: rotateY(-90deg);
  transform-origin: right center;
  background-image: url("assets/bookcover-spread.png");
  background-position: center center;
  background-size: 1120% 100%;
  box-shadow: inset -8px 0 10px rgba(0, 0, 0, 0.28);
}

.real-book-pages {
  left: 92%;
  z-index: 1;
  width: 17%;
  transform: rotateY(86deg);
  transform-origin: left center;
  border-radius: 0 5px 5px 0;
  background:
    repeating-linear-gradient(90deg, #f7f5ee 0 4px, #dfddd5 4px 5px),
    linear-gradient(90deg, #ffffff, #d8d4cb);
  box-shadow: inset 10px 0 14px rgba(0, 0, 0, 0.12);
}

.hero,
.ministry-intro-section,
.content-section,
.author-gallery-section,
.banner-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.ministry-summary,
.ministry-intro-section,
.author-gallery-section,
.banner-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 249, 0.96));
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 4rem);
  max-width: 1080px;
}

.ministry-intro-section,
.content-section,
.author-gallery-section,
.banner-section,
.video-section,
.blog-section,
.ministry-pillars,
.book-launch-section,
.launch-strip,
.waitlist-section,
.about-section,
.author-section,
.closing-section {
  padding-inline: clamp(1.1rem, 6vw, 6.5rem);
}

.video-section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, rgba(246, 251, 249, 0.96), rgba(255, 255, 255, 0.92));
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 127, 141, 0.14);
  border-radius: 18px;
  background: #082f39;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  margin: 1rem 0 0;
  text-align: center;
}

.video-fallback a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.blog-section {
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 243, 0.92));
}

.blog-marquee {
  --blog-gap: 1rem;
  overflow: hidden;
  padding: 0.5rem 0 2.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.blog-track {
  display: flex;
  gap: var(--blog-gap);
  width: max-content;
  animation: blog-scroll-right 34s linear infinite;
  will-change: transform;
}

.blog-marquee:hover .blog-track,
.blog-marquee:focus-within .blog-track {
  animation-play-state: paused;
}

.blog-card {
  flex: 0 0 calc((100vw - clamp(2.2rem, 12vw, 13rem) - var(--blog-gap) - var(--blog-gap)) / 3);
  min-width: 280px;
  overflow: hidden;
  border: 1px solid rgba(15, 127, 141, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 55, 68, 0.1);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.blog-card:hover,
.blog-card:focus-within {
  box-shadow: 0 24px 54px rgba(7, 55, 68, 0.17);
  transform: translateY(-5px);
}

.blog-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card:nth-child(3n) > img {
  object-position: center 28%;
}

.blog-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 290px;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.blog-card-copy h2 {
  margin-bottom: 0.8rem;
}

.blog-card-copy > p:not(.blog-meta) {
  flex: 1;
  margin: 0 0 1.3rem;
  color: var(--muted);
}

.blog-meta {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card .button {
  min-height: 44px;
  padding: 0.68rem 1rem;
  font-size: 0.86rem;
}

@keyframes blog-scroll-right {
  from {
    transform: translateX(calc(-50% - (var(--blog-gap) / 2)));
  }
  to {
    transform: translateX(0);
  }
}

.blog-article {
  width: min(100% - 2.2rem, 920px);
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.blog-back {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--teal-dark);
  font-weight: 850;
}

.blog-back::before {
  margin-right: 0.45rem;
  content: "<";
}

.blog-article-status {
  color: var(--muted);
}

.blog-article-status.error {
  color: var(--wine);
  font-weight: 750;
}

.blog-article-image,
.blog-article-content {
  display: none;
}

.blog-article.loaded .blog-article-image {
  display: block;
  width: 100%;
  max-height: 580px;
  margin: clamp(2rem, 5vw, 3rem) 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.blog-article.loaded .blog-article-content {
  display: block;
  max-width: 760px;
  font-size: 1.08rem;
}

.blog-article-content h2,
.blog-article-content h3 {
  margin: 2rem 0 0.7rem;
}

.blog-article-content blockquote {
  margin-block: 2rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1.28fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 86px);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.1rem, 6vw, 6.5rem);
  background:
    radial-gradient(circle at 8% 12%, rgba(18, 168, 189, 0.12), transparent 24rem),
    linear-gradient(135deg, #ffffff, var(--paper));
}

.contact-intro {
  align-self: center;
  max-width: 620px;
}

.contact-details {
  display: grid;
  gap: 0.8rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 127, 141, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(7, 55, 68, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: rgba(15, 127, 141, 0.38);
  box-shadow: 0 18px 40px rgba(7, 55, 68, 0.12);
  transform: translateY(-2px);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-item strong {
  overflow-wrap: anywhere;
  color: var(--teal-dark);
  font-size: 0.98rem;
}

.contact-map {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(15, 127, 141, 0.14);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
}

.ministry-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.ministry-pillars article,
.waitlist-form,
.cover-spread {
  border: 1px solid rgba(15, 127, 141, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(7, 55, 68, 0.09);
}

.ministry-pillars article {
  min-height: 220px;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.ministry-pillars span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--aqua);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
}

.ministry-pillars p,
.book-launch-copy p:not(.eyebrow),
.waitlist-copy p:not(.eyebrow),
.author-gallery figcaption {
  color: var(--muted);
}

.book-launch-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(4rem, 8vw, 8rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 70, 83, 0.94), rgba(15, 127, 141, 0.88)),
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.18), transparent 20rem);
  scroll-margin-top: 96px;
}

.book-launch-section h2,
.book-launch-section .eyebrow {
  color: #fff;
}

.book-launch-copy {
  max-width: 720px;
}

.book-launch-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.launch-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: 2rem;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  color: #fffaf3;
  background: #092d37;
}

.launch-strip h1,
.launch-strip h2 {
  color: #fffaf3;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.countdown div {
  min-width: 0;
  padding: clamp(0.85rem, 2vw, 1.2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.countdown strong {
  display: block;
  color: #f4c66f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.countdown span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 250, 243, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.banner-section img,
.cover-spread img,
.author-photo img,
.about-photo img,
.book-page-feature img,
.author-gallery img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.banner-section img {
  width: min(100%, 900px);
  margin: 0 auto;
}

.about-section,
.author-section,
.waitlist-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(4rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 10% 12%, rgba(18, 168, 189, 0.1), transparent 24rem),
    linear-gradient(135deg, #ffffff, var(--paper));
}

.about-photo {
  position: sticky;
  top: 116px;
}

.about-photo img,
.author-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-photo img {
  object-position: 52% 38%;
}

.author-photo img {
  object-position: 50% 18%;
}

.about-copy,
.author-copy {
  max-width: 880px;
}

.about-copy h1 {
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

blockquote {
  max-width: 900px;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 4px solid var(--aqua);
  border-radius: 0 18px 18px 0;
  color: #183139;
  background: linear-gradient(90deg, rgba(18, 168, 189, 0.11), transparent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-weight: 650;
  line-height: 1.2;
}

blockquote span {
  display: block;
  margin-top: 0.6rem;
  color: var(--teal);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-page-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(240px, 0.45fr);
  align-items: stretch;
  gap: 1rem;
  max-width: 900px;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
}

.book-page-feature img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 18%;
}

.cover-spread {
  max-width: 1120px;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  padding: clamp(0.65rem, 2vw, 1rem);
}

.cover-spread img {
  width: 100%;
}

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

.author-gallery figure {
  margin: 0;
}

.author-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.author-gallery figure:nth-child(1) img {
  object-position: 48% 22%;
}

.author-gallery figure:nth-child(2) img,
.author-gallery figure:nth-child(3) img {
  object-position: 50% 18%;
}

.author-gallery figcaption {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  font-weight: 650;
}

.gallery-carousel {
  position: relative;
}

.waitlist-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  color: #24474f;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(16, 35, 42, 0.18);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
}

.form-field input:focus,
.form-field select:focus {
  border-color: rgba(15, 127, 141, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 168, 189, 0.1);
}

.waitlist-form .button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 750;
}

.waitlist-dialog {
  width: min(92vw, 460px);
  padding: 1.6rem;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(16, 35, 42, 0.32);
}

.waitlist-dialog::backdrop {
  background: rgba(16, 35, 42, 0.52);
}

.closing-section {
  padding-block: clamp(4rem, 9vw, 8rem);
  color: #fff;
  background:
    linear-gradient(rgba(5, 48, 58, 0.88), rgba(6, 79, 95, 0.9)),
    url("assets/about-founders.jpeg") center 35% / cover no-repeat;
  text-align: center;
}

.closing-section h2 {
  max-width: 900px;
  margin-inline: auto;
  color: #fff;
}

.closing-section p {
  max-width: 720px;
  margin: 1rem auto 2rem;
  color: rgba(255, 255, 255, 0.82);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.1rem, 6vw, 6.5rem);
  border-top: 1px solid rgba(16, 35, 42, 0.08);
  background: #062b35;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

footer img {
  width: 138px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.social-links a {
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: #fff;
  background: #18bf66;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.32);
}

.whatsapp-float svg {
  width: 100%;
  height: 100%;
}

.whatsapp-ring {
  fill: rgba(255, 255, 255, 0.12);
}

.whatsapp-text {
  fill: #fff;
  font-size: 8.6px;
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp-mark {
  fill: #fff;
}

@media (max-width: 900px) {
  .home-slide,
  .hero,
  .two-column,
  .ministry-pillars,
  .book-launch-section,
  .launch-strip,
  .about-section,
  .author-section,
  .waitlist-section,
  .book-page-feature {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    max-width: none;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 440px;
  }

  .blog-card {
    flex-basis: min(46vw, 390px);
  }

  .home-slide {
    min-height: 0;
  }

  .about-photo {
    position: static;
    max-width: 520px;
  }

  .author-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .author-gallery::-webkit-scrollbar {
    display: none;
  }

  .author-gallery figure {
    flex: 0 0 min(82vw, 360px);
    min-width: 0;
    scroll-snap-align: center;
  }

  .carousel-arrow {
    top: 45%;
  }

  .carousel-prev {
    left: 0.55rem;
  }

  .carousel-next {
    right: 0.55rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .brand img {
    width: 132px;
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(15, 127, 141, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--teal-dark);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-actions {
    display: none;
    flex: 1 0 100%;
    align-items: stretch;
    padding: 0.65rem 0 0.25rem;
  }

  .header-actions.open {
    display: block;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .nav-links a {
    width: 100%;
    padding: 0.7rem 0.85rem;
  }

  .header-social-links a {
    width: 32px;
    height: 32px;
  }

  .header-social-links svg {
    width: 16px;
    height: 16px;
  }

  .home-slide,
  .hero {
    padding: 2rem 1rem 4.5rem;
  }

  .home-slide {
    position: relative;
    gap: 1.4rem;
    align-content: end;
    min-height: 560px;
    overflow: hidden;
  }

  .home-slide .hero-copy {
    position: absolute;
    right: 1rem;
    bottom: 0;
    left: 1rem;
    z-index: 2;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 40%;
    overflow: auto;
    padding: 1.25rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(6, 79, 95, 0.24), rgba(6, 39, 48, 0.76));
    backdrop-filter: blur(2px);
  }

  .home-slide .ministry-hero-photo,
  .home-slide .book-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    order: 1;
    width: 100%;
  }

  .home-slide .ministry-hero-photo::before,
  .home-slide .book-stage::before {
    display: none;
  }

  .home-slide .ministry-hero-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    object-position: 50% 32%;
    filter: brightness(0.68);
  }

  .home-slide .book-stage {
    display: grid;
    place-items: center;
    background:
      linear-gradient(rgba(6, 79, 95, 0.52), rgba(6, 39, 48, 0.78)),
      radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.2), transparent 18rem);
  }

  .home-slide .real-book {
    width: min(70vw, 240px);
    opacity: 0.95;
  }

  .home-slide .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
  }

  .home-slide .subtitle {
    margin-top: 0.7rem;
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .home-slide .intro {
    margin-top: 0.85rem;
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }

  .slider-arrow {
    top: 31%;
    width: 34px;
    height: 34px;
    font-size: 1.55rem;
  }

  .slider-prev {
    left: 0.5rem;
  }

  .slider-next {
    right: 0.5rem;
  }

  .slider-dots {
    bottom: 1.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .home-slide .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .home-slide .hero-actions .button {
    width: auto;
    min-height: 44px;
    padding: 0.7rem 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .video-frame {
    border-radius: 14px;
  }

  .contact-section {
    min-height: 0;
    padding-block: 3rem;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 360px;
  }

  .blog-marquee {
    margin-inline: -1.1rem;
    padding-inline: 1.1rem;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .blog-card {
    flex-basis: min(82vw, 340px);
  }

  .blog-card-copy {
    min-height: 270px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatsapp-float {
    width: 68px;
    height: 68px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-track {
    animation: none;
    transform: none;
  }

  .blog-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }
}
