:root {
  --bg-0: #fbfcff;
  --bg-1: #f4f7ff;
  --bg-2: #eef3ff;
  --text: #192033;
  --muted: #51607b;
  --border: rgba(20, 35, 70, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 50px rgba(20, 35, 70, 0.12);
  --radius: 18px;
  --maxw: 1100px;

  /* stained-glass generated shadows (set by JS) */
  --sg-shadows-a: 0 0 2px hsla(200, 90%, 60%, 0.12);
  --sg-shadows-b: 0 0 2px hsla(260, 90%, 66%, 0.12);
  --sg-shadows-c: 0 0 2px hsla(40, 90%, 62%, 0.12);
  --sg-shadows-d: 0 0 2px hsla(120, 90%, 58%, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background: radial-gradient(1200px 700px at 10% 0%, #ffffff, transparent 60%),
    radial-gradient(900px 700px at 90% 10%, #ffffff, transparent 60%),
    linear-gradient(155deg, var(--bg-0), var(--bg-1) 60%, var(--bg-2));
  overflow-x: hidden;
}

/* Inner pages (Book, Author, Presale): dark canvas + stronger stained-glass read */
body:not(.home-page) {
  --bg-0: #0d1528;
  --bg-1: #111d33;
  --bg-2: #0a1628;
  --text: #e9eef9;
  --muted: #96a5c9;
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.38);

  color: var(--text);
  background: radial-gradient(ellipse 1000px 720px at 12% -8%, rgba(86, 113, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 880px 560px at 88% 18%, rgba(212, 175, 55, 0.07), transparent 52%),
    linear-gradient(162deg, var(--bg-0), var(--bg-1) 48%, var(--bg-2));
}

body:not(.home-page)::before,
body:not(.home-page)::after {
  opacity: 0.44;
  mix-blend-mode: screen;
}

body:not(.home-page) .stained-bg::before,
body:not(.home-page) .stained-bg::after {
  opacity: 0.4;
  mix-blend-mode: screen;
}

body:not(.home-page) .site-header {
  background: rgba(10, 20, 38, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body:not(.home-page) .nav-pill {
  background: rgba(255, 255, 255, 0.08);
}

body:not(.home-page) .brand-mark {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(86, 113, 255, 0.35), rgba(122, 223, 255, 0.22));
}

body:not(.home-page) .eyebrow {
  color: rgba(233, 238, 249, 0.82);
}

body:not(.home-page) .pill {
  color: rgba(233, 238, 249, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body:not(.home-page) .lead {
  color: rgba(233, 238, 249, 0.88);
}

body:not(.home-page) .button.primary {
  color: #0d1528;
  background: linear-gradient(145deg, rgba(122, 223, 255, 0.48), rgba(86, 113, 255, 0.36));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

body:not(.home-page) .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

body:not(.home-page) .button.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

body:not(.home-page) .button:focus-visible {
  outline-color: rgba(122, 223, 255, 0.45);
}

body:not(.home-page) .card {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

body:not(.home-page) .checklist {
  color: rgba(233, 238, 249, 0.9);
}

body:not(.home-page) .quote {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(233, 238, 249, 0.94);
}

body:not(.home-page) .meta-panel {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
}

body:not(.home-page) .field input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

body:not(.home-page) .field input:focus-visible {
  outline-color: rgba(122, 223, 255, 0.4);
}

body:not(.home-page) .cover img {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

body:not(.home-page) .divider {
  background: rgba(255, 255, 255, 0.1);
}

body:not(.home-page) .footer-row {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* 2 of 4 layers */
body::before,
body::after {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 3em;
  height: 3em;
  content: "V";
  transform-origin: center;
  font-size: clamp(44px, 7vmin, 62px);
  color: transparent;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.3;
  filter: saturate(1.3) contrast(1.05);
  animation: sg-move 48s -27s ease-in-out infinite alternate;
}

body::before {
  text-shadow: var(--sg-shadows-a);
  animation-duration: 46s;
  animation-delay: -29s;
}

body::after {
  text-shadow: var(--sg-shadows-b);
  animation-duration: 43s;
  animation-delay: -33s;
}

.stained-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 2 of 4 layers */
.stained-bg::before,
.stained-bg::after {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 3em;
  height: 3em;
  content: "V";
  transform-origin: center;
  font-size: clamp(44px, 7vmin, 62px);
  color: transparent;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.28;
  filter: saturate(1.25) contrast(1.04);
  animation: sg-move 44s -19s ease-in-out infinite alternate;
}

.stained-bg::before {
  text-shadow: var(--sg-shadows-c);
  animation-duration: 42s;
  animation-delay: -23s;
}

.stained-bg::after {
  text-shadow: var(--sg-shadows-d);
  animation-duration: 41s;
  animation-delay: -19s;
}

@keyframes sg-move {
  from {
    transform: rotate(0deg) scale(16) translateX(-24px);
  }
  to {
    transform: rotate(360deg) scale(24) translateX(24px);
  }
}

.sg-reduced-motion body::before,
.sg-reduced-motion body::after,
.sg-reduced-motion .stained-bg::before,
.sg-reduced-motion .stained-bg::after {
  animation: none !important;
  transform: translate(-50%, -50%) scale(14);
  opacity: 0.1;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .stained-bg::before,
  .stained-bg::after {
    animation: none !important;
    opacity: 0.14;
    mix-blend-mode: normal;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 10;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.container {
  width: min(var(--maxw), calc(100% - 2.2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(20, 35, 70, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 240px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, rgba(86, 113, 255, 0.22), rgba(122, 223, 255, 0.22));
  border: 1px solid rgba(20, 35, 70, 0.08);
}

.brand-text strong {
  display: block;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 0.98rem;
}
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
  border-radius: 10px;
}
.site-nav a:hover {
  color: var(--text);
}
.nav-pill {
  padding: 0.55rem 0.75rem !important;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
  display: block;
  opacity: 0.85;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  padding: 3.1rem 0 1.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.hero-copy {
  padding: 1.15rem 0.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: rgba(25, 32, 51, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.65rem;
}

h1,
h2,
h3 {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.35rem);
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(25, 32, 51, 0.84);
  max-width: 60ch;
  margin: 0 0 1.25rem;
}

.muted {
  color: var(--muted);
}

.micro {
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 35, 70, 0.1);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  font-size: 0.82rem;
  color: rgba(25, 32, 51, 0.78);
}

.hero-card {
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.1rem;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0.95rem 0 0.75rem;
}
.cta-row.compact {
  margin-top: 0.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.78rem 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  user-select: none;
}
.button:hover {
  transform: translateY(-1px);
}
.button:focus-visible {
  outline: 3px solid rgba(86, 113, 255, 0.25);
  outline-offset: 2px;
}

.button.primary {
  color: #132040;
  background: linear-gradient(145deg, rgba(86, 113, 255, 0.24), rgba(122, 223, 255, 0.28));
  border-color: rgba(20, 35, 70, 0.1);
  box-shadow: 0 12px 28px rgba(86, 113, 255, 0.14);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(20, 35, 70, 0.14);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(20, 35, 70, 0.12);
}

.button[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

.button.full {
  width: 100%;
}

.section {
  padding: 2.4rem 0;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid {
  margin: 0;
}

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(20, 35, 70, 0.08);
  padding: 1.25rem 1.25rem 1.15rem;
}

.checklist {
  margin: 0.8rem 0 0;
  padding-left: 1.05rem;
  color: rgba(25, 32, 51, 0.88);
}
.checklist li {
  margin: 0.35rem 0;
}

.stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.about-grid {
  gap: 1.2rem;
}

.quote {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 35, 70, 0.1);
  color: rgba(25, 32, 51, 0.9);
  font-weight: 700;
}

.meta-panel {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(20, 35, 70, 0.1);
  background: rgba(255, 255, 255, 0.52);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.meta-list strong {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 800;
}
.meta-list a {
  color: inherit;
}

.form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.field span {
  display: block;
  font-weight: 800;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.field input {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 35, 70, 0.18);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
}
.field input:focus-visible {
  outline: 3px solid rgba(86, 113, 255, 0.25);
  outline-offset: 2px;
}

.book-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.book-covers--spread {
  grid-template-columns: 1fr;
}

.cover--spread img {
  max-height: none;
  object-fit: contain;
}

.cover {
  margin: 0;
}

.cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(20, 35, 70, 0.12);
  box-shadow: 0 18px 40px rgba(20, 35, 70, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.cover figcaption {
  margin-top: 0.55rem;
}

.checklist strong {
  font-family: Montserrat, Inter, system-ui, sans-serif;
}

.divider {
  height: 1px;
  background: rgba(20, 35, 70, 0.12);
  margin: 1.1rem 0;
}

.site-footer {
  padding: 1.2rem 0 2.1rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(20, 35, 70, 0.08);
  padding-top: 1.15rem;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .book-covers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0.5rem 0 0.2rem;
  }

  .site-header.is-nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.65rem;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav a.is-active {
    border-color: rgba(122, 223, 255, 0.22);
    background: rgba(122, 223, 255, 0.09);
  }

  .nav-pill {
    text-align: center;
  }
}
/* ------------------------------------------------------------------
   Home showcase (motion-blur carousel)
   ------------------------------------------------------------------ */

.home-page::before,
.home-page::after {
  display: none;
}

.home-page .stained-bg {
  display: none;
}

.site-nav a.is-active {
  color: var(--text);
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link--showcase {
  z-index: 200;
}

.skip-link.skip-link--showcase:focus {
  z-index: 200;
}

/* Natural Blend–style custom cursor (hero only; JS toggles body class) */
.natural-blend-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10050;
}

.natural-blend-cursor-ring,
.natural-blend-cursor-dot {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}

.natural-blend-cursor-ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  opacity: 0.62;
}

.natural-blend-cursor-dot {
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

body.natural-blend-cursor-on .mainContainer.showcase,
body.natural-blend-cursor-on .mainContainer.showcase * {
  cursor: none !important;
}

/* Book jacket palette */
.home-page {
  padding-top: 0;
  --book-navy: #0a192f;
  --book-gold: #d4af37;
}

.showcase.mainContainer {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  color: #f5f8ff;
  background: var(--book-navy);
}

.showcase-stage {
  position: relative;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Clone-style top navigation */
.mainNavContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(14px, 2.5vw, 22px) clamp(16px, 3vw, 24px);
  z-index: 100;
  pointer-events: none;
}

.mainNavContainer nav {
  pointer-events: auto;
  max-width: min(1200px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.clone-nav-list {
  list-style: none;
  margin: 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.clone-nav-list li {
  margin: 0;
}

.clone-brand .clone-logo {
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.clone-logo:hover {
  color: var(--book-gold);
}

.clone-nav-gap {
  flex: 1;
  min-width: 0;
}

.clone-nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
}

.clone-nav-link:hover {
  color: #fff;
}

.clone-nav-link.is-active {
  color: var(--book-gold);
  font-weight: 800;
}

.clone-nav-ext {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.45rem 0.65rem !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.clone-nav-ext:hover {
  border-color: rgba(212, 175, 55, 0.55);
}

.showcase-slide.sliderItem {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.showcase-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.showcase-slide.is-leaving {
  z-index: 3;
  pointer-events: none;
}

.showcase-slide.is-entering {
  z-index: 2;
  pointer-events: none;
}

.showcase-slide.is-leaving.is-dir-next {
  animation: showcase-blur-leave-next 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.showcase-slide.is-leaving.is-dir-prev {
  animation: showcase-blur-leave-prev 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.showcase-slide.is-entering.is-dir-next {
  animation: showcase-blur-enter-next 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.showcase-slide.is-entering.is-dir-prev {
  animation: showcase-blur-enter-prev 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes showcase-blur-leave-next {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
  40% {
    filter: blur(10px);
    opacity: 0.88;
    transform: translate3d(-5%, 0, 0) scale(1.02);
  }
  100% {
    opacity: 0;
    filter: blur(22px);
    transform: translate3d(-12%, 0, 0) scale(1.05);
    visibility: hidden;
  }
}

@keyframes showcase-blur-enter-next {
  0% {
    opacity: 0;
    visibility: visible;
    filter: blur(22px);
    transform: translate3d(12%, 0, 0) scale(1.05);
  }
  45% {
    filter: blur(9px);
    opacity: 0.92;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
    visibility: visible;
  }
}

@keyframes showcase-blur-leave-prev {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
  40% {
    filter: blur(10px);
    opacity: 0.88;
    transform: translate3d(5%, 0, 0) scale(1.02);
  }
  100% {
    opacity: 0;
    filter: blur(22px);
    transform: translate3d(12%, 0, 0) scale(1.05);
    visibility: hidden;
  }
}

@keyframes showcase-blur-enter-prev {
  0% {
    opacity: 0;
    visibility: visible;
    filter: blur(22px);
    transform: translate3d(-12%, 0, 0) scale(1.05);
  }
  45% {
    filter: blur(9px);
    opacity: 0.92;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
    visibility: visible;
  }
}

.sg-reduced-motion .showcase-slide.is-leaving,
.sg-reduced-motion .showcase-slide.is-entering {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-slide.is-leaving,
  .showcase-slide.is-entering {
    animation: none !important;
  }
}

/* Full-bleed slide background (Slide Revolution Clone pattern) */
.sliderBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

img.slideBgImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slideBgTint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.topImgContainer {
  position: absolute;
  top: clamp(36px, 7vh, 72px);
  left: 50%;
  z-index: 2;
  width: min(92%, 980px);
  pointer-events: none;
  transform: translateX(-50%);
  will-change: transform;
}

/* Cloud PNG overlay (e.g. autumn slide) */
.topImgContainer--clouds {
  animation: cloudBandFloat 24s ease-in-out infinite alternate;
}

@keyframes cloudBandFloat {
  from {
    transform: translateX(-50%) translateY(-8px);
  }
  to {
    transform: translateX(-50%) translateY(14px);
  }
}

/* Spring beach — birds layer */
.topImgContainer--birds {
  animation: skyBandFloatBirds 26s ease-in-out infinite alternate;
  width: min(98%, 1120px);
  top: clamp(28px, 6vh, 60px);
}

@keyframes skyBandFloatBirds {
  from {
    transform: translateX(-50%) translateY(-5px);
  }
  to {
    transform: translateX(-50%) translateY(11px);
  }
}

/* Rainbow arc overlay (e.g. winter slide) */
.topImgContainer--rainbow {
  animation: skyBandFloatRainbow 30s ease-in-out infinite alternate;
  width: min(96%, 1000px);
  top: clamp(38px, 8vh, 84px);
}

@keyframes skyBandFloatRainbow {
  from {
    transform: translateX(-50%) translateY(-6px);
  }
  to {
    transform: translateX(-50%) translateY(14px);
  }
}

.topImgContainer img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

.topImgContainer--clouds img {
  opacity: 0.72;
  filter: saturate(0.92);
}

.parallax-clouds {
  animation: cloudDrift 42s ease-in-out infinite;
}

@keyframes cloudDrift {
  0% {
    transform: translate3d(-36px, 0, 0);
  }
  33% {
    transform: translate3d(28px, -12px, 0);
  }
  66% {
    transform: translate3d(-18px, 8px, 0);
  }
  100% {
    transform: translate3d(36px, -4px, 0);
  }
}

/* Black-keyed SR assets: screen blend so #000 drops out */
.overlay-birds-img {
  mix-blend-mode: screen;
  opacity: 0.78;
  filter: saturate(1.06);
  animation: birdsGlide 22s ease-in-out infinite alternate;
}

@keyframes birdsGlide {
  0% {
    transform: translate3d(-6vw, 3px, 0);
  }
  100% {
    transform: translate3d(6vw, -8px, 0);
  }
}

.overlay-rainbow-img {
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: rainbowLiving 20s ease-in-out infinite;
}

@keyframes rainbowLiving {
  0%,
  100% {
    opacity: 0.62;
    filter: brightness(1) saturate(1.08);
    transform: translate3d(-14px, 0, 0) scale(1);
  }
  25% {
    opacity: 0.82;
    filter: brightness(1.12) saturate(1.15);
    transform: translate3d(10px, -8px, 0) scale(1.02);
  }
  50% {
    opacity: 0.92;
    filter: brightness(1.2) saturate(1.18);
    transform: translate3d(18px, -12px, 0) scale(1.035);
  }
  75% {
    opacity: 0.76;
    filter: brightness(1.08) saturate(1.12);
    transform: translate3d(-8px, -6px, 0) scale(1.015);
  }
}

.sg-reduced-motion .parallax-clouds,
.sg-reduced-motion .overlay-birds-img,
.sg-reduced-motion .overlay-rainbow-img,
.sg-reduced-motion .topImgContainer--clouds,
.sg-reduced-motion .topImgContainer--birds,
.sg-reduced-motion .topImgContainer--rainbow {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-clouds,
  .overlay-birds-img,
  .overlay-rainbow-img,
  .topImgContainer--clouds,
  .topImgContainer--birds,
  .topImgContainer--rainbow {
    animation: none !important;
  }
}

.sliderItemContent {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 5;
  width: 100%;
  max-width: min(1200px, calc(100% - clamp(1.25rem, 4vw, 2.5rem)));
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(4.75rem, 12vh, 6rem) 0 clamp(5rem, 14vh, 6.75rem);
  margin-inline: auto;
}

.slideNormalTxt {
  width: 48%;
  max-width: 520px;
  padding-left: 1%;
  padding-right: 2%;
  align-self: center;
}

.slideNormalTxt .textHead {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  color: #fff;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  opacity: 0.45;
  margin: 0 0 0.15rem;
  font-weight: 800;
}

.season-name {
  margin: 0 0 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(212, 175, 55, 0.95);
}

.reflection {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.94rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  max-width: 42ch;
}

.gold-accent {
  color: var(--book-gold);
}

.slideMainHeading {
  width: 48%;
  max-width: 520px;
  padding-right: 1%;
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.slideMainHeading h1 {
  font-family: "Crimson Pro", Georgia, serif;
  color: #fff;
  font-size: clamp(3rem, 11vw, 5.6rem);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-align: right;
}

.slide-book-chip {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.slide-book-chip:hover {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(10, 25, 47, 0.6);
}

.slide-book-chip:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.45);
  outline-offset: 2px;
}

.slide-book-chip img {
  flex-shrink: 0;
  width: 72px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-book-chip--lg img {
  width: 96px;
}

.slide-book-chip-label {
  display: block;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--book-gold);
  max-width: 18ch;
  line-height: 1.3;
}

.slide-winter-foot {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1.1rem;
}

.slide-winter-foot .showcase-slide-cta--clone {
  margin-top: 0;
}

.showcase-slide-cta--clone {
  margin-top: 1rem;
  justify-content: flex-start;
}

.showcase-slide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-cta-primary {
  background: rgba(255, 255, 255, 0.94);
  color: #121826;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

.hero-cta-primary:focus-visible {
  outline-color: rgba(255, 255, 255, 0.6);
}

.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-cta-secondary:focus-visible {
  outline-color: rgba(255, 255, 255, 0.45);
}

.hero-cta-compact {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.showcase-hit {
  position: absolute;
  top: 0;
  bottom: clamp(72px, 12vh, 96px);
  width: clamp(52px, 9vw, 88px);
  z-index: 40;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.showcase-hit-left {
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.showcase-hit-right {
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.showcase-hit:hover {
  background: rgba(255, 255, 255, 0.04);
}

.showcase-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 2rem) clamp(1.25rem, 4vw, 1.85rem);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

.clone-copy-bar {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  justify-self: start;
}

.showcase-counter-pill {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 25, 47, 0.35);
  margin-right: 0.35rem;
}

.showcase-slide-cta-inline {
  justify-self: end;
}

.showcase-bar-mid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.showcase-arrow {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.showcase-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
}

.showcase-dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.showcase-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.showcase-dot[aria-current="true"] {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.15);
}

#intro:focus-visible {
  outline: 3px solid rgba(86, 113, 255, 0.35);
  outline-offset: 4px;
}

.home-after-showcase-wrap {
  position: relative;
  z-index: 2;
  background: radial-gradient(800px 400px at 10% 0%, #ffffff 0%, transparent 60%), linear-gradient(160deg, var(--bg-0), var(--bg-1));
  border-top: 1px solid rgba(20, 35, 70, 0.08);
}

.section--compact-top {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.eyebrow--dark {
  color: rgba(25, 32, 51, 0.72);
}

.home-intro-title {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.8vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.home-intro-title--serif {
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 700;
  color: var(--book-navy, #0a192f);
}

.lead--narrow {
  max-width: 55ch;
}

.site-footer--home {
  padding-top: 0;
}

.footer-row--home {
  border-top: none;
  padding-bottom: 2rem;
}

@media (max-width: 920px) {
  .clone-nav-list {
    justify-content: center;
  }

  .clone-nav-gap {
    flex-basis: 100%;
    height: 0;
  }

  .sliderItemContent {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-bottom: clamp(7.5rem, 22vh, 10rem);
    padding-top: clamp(4.5rem, 12vh, 5.5rem);
  }

  .slideMainHeading {
    width: 100%;
    padding: 0;
    justify-content: flex-start;
    order: 1;
  }

  .slideMainHeading h1 {
    text-align: left;
    font-size: clamp(2.35rem, 10vw, 3.75rem);
  }

  .slide-book-chip-label {
    max-width: none;
  }

  .slide-winter-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .slideNormalTxt {
    width: 100%;
    max-width: none;
    padding: 0;
    order: 2;
  }

  .reflection {
    max-width: none;
  }

  .topImgContainer {
    opacity: 1;
    width: min(96%, 720px);
  }

  .topImgContainer--clouds {
    opacity: 0.5;
  }

  .topImgContainer--birds .overlay-birds-img,
  .topImgContainer--rainbow .overlay-rainbow-img {
    opacity: 0.82;
  }

  .showcase-slide-cta {
    justify-content: flex-start;
  }

  .showcase-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .clone-copy-bar {
    justify-self: center;
    order: 3;
  }

  .showcase-slide-cta-inline {
    justify-self: center;
    order: 2;
    display: none;
  }

  .showcase-bar-mid {
    order: 1;
  }

  .showcase-counter-pill {
    margin-right: 0;
  }
}


