:root {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --bg: #040812;
  --bg-soft: #0d1a2e;
  --paper: rgba(10, 24, 44, 0.55);
  --ink: #f4f7fc;
  --ink-soft: #e6edf8;
  --muted: #a8b8d4;
  --muted-2: #94a6c4;
  --gold: #ffea9c;
  --gold-soft: #dcc873;
  --gold-bright: #fff8dc;
  --gold-deep: #b89428;
  --line: rgba(166, 201, 255, 0.26);
  --line-fine: rgba(255, 255, 255, 0.06);
  --border-hairline: rgba(120, 155, 210, 0.12);
  --border-elevated: rgba(140, 175, 220, 0.2);
  --glow: rgba(120, 175, 255, 0.55);
  --shadow: 0 22px 56px rgba(0, 3, 12, 0.58);
  --shadow-soft: 0 28px 72px rgba(0, 4, 18, 0.48);
  --shadow-glow: 0 0 80px rgba(90, 140, 255, 0.14);
  --shadow-header: 0 1px 0 var(--border-hairline), 0 12px 40px rgba(0, 0, 0, 0.35);
  --surface-1: linear-gradient(
    155deg,
    rgba(14, 32, 58, 0.92) 0%,
    rgba(9, 24, 46, 0.86) 45%,
    rgba(6, 16, 32, 0.84) 100%
  );
  --surface-2: linear-gradient(180deg, rgba(10, 26, 48, 0.76) 0%, rgba(6, 16, 30, 0.7) 100%);
  --bloom-warm: rgba(255, 234, 156, 0.055);
  --bloom-rose: rgba(200, 150, 255, 0.06);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.2, 1);
  --shine-line: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 234, 156, 0.32) 50%,
    transparent 100%
  );
  --radius: 1rem;
  --radius-sm: 0.625rem;
  --prose: 60ch;
  --site-max: 1160px;
  --site-gutter: clamp(14px, 2.8vw, 24px);
  --space-section: clamp(2.75rem, 6vw, 4.75rem);
  --nav-font: 0.8125rem;
  --text-body: 1rem;
  --lh-body: 1.6;
  --focus-ring: 2px solid rgba(255, 234, 156, 0.92);
  --focus-offset: 3px;
  /* Card system — shared professional surface */
  --card-face: linear-gradient(175deg, rgba(11, 22, 44, 0.88) 0%, rgba(5, 12, 24, 0.94) 100%);
  --card-face-alt: linear-gradient(180deg, rgba(9, 20, 38, 0.78) 0%, rgba(5, 12, 24, 0.9) 100%);
  --card-edge: rgba(100, 138, 190, 0.22);
  --card-edge-hover: rgba(255, 234, 156, 0.4);
  --card-inset: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  --card-shade: 0 1px 2px rgba(0, 0, 0, 0.28), 0 10px 32px rgba(0, 3, 14, 0.36), var(--card-inset);
  --card-shade-hover: 0 4px 12px rgba(0, 2, 10, 0.38), 0 18px 44px rgba(0, 4, 16, 0.48), var(--card-inset);
  --card-lift: translateY(-3px);
  --gold-ink: #2b1d08;
  --divider-soft: linear-gradient(
    90deg,
    transparent 0%,
    rgba(140, 175, 220, 0.22) 28%,
    rgba(255, 234, 156, 0.32) 50%,
    rgba(140, 175, 220, 0.22) 72%,
    transparent 100%
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1, "cv05" 1;
  background:
    radial-gradient(ellipse 85% 55% at 12% 96%, var(--bloom-warm), transparent 48%),
    radial-gradient(ellipse 50% 40% at 92% 8%, var(--bloom-rose), transparent 42%),
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(56, 88, 170, 0.12), transparent 52%),
    radial-gradient(circle at 16% 18%, rgba(70, 108, 200, 0.14), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(130, 95, 180, 0.08), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(55, 85, 160, 0.1), transparent 34%),
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(2, 5, 12, 0.62) 100%),
    linear-gradient(180deg, #02050c 0%, #081420 42%, #0c1828 100%);
  font-size: var(--text-body);
  font-weight: 450;
  line-height: var(--lh-body);
  letter-spacing: 0.011em;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
  box-shadow:
    inset 0 0 min(140px, 20vw) rgba(0, 2, 10, 0.42),
    inset 0 -70px 100px -36px rgba(0, 4, 14, 0.28);
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

::selection {
  background: rgba(255, 234, 156, 0.42);
  color: #0a1422;
}

body {
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Nebula wash only — stars are drawn on #starfieldCanvas (script.js) */
body::before {
  opacity: 0.42;
  background-size: 125% 125%;
  background-position: 8% 22%;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse 55% 40% at 18% 24%, rgba(90, 130, 210, 0.055), transparent 72%),
    radial-gradient(ellipse 45% 38% at 82% 76%, rgba(160, 100, 200, 0.048), transparent 70%);
  animation:
    galaxyStarTwinkle 7s ease-in-out infinite alternate,
    galaxyParallaxA 220s ease-in-out infinite;
}

body::after {
  opacity: 0.34;
  background-size: 118% 118%;
  background-position: 62% 38%;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse 50% 42% at 70% 22%, rgba(255, 234, 156, 0.04), transparent 68%),
    radial-gradient(ellipse 38% 36% at 24% 70%, rgba(120, 170, 255, 0.045), transparent 65%);
  animation:
    galaxyDriftLayer 78s ease-in-out infinite alternate,
    galaxyPulseLayer 11s ease-in-out infinite alternate;
}

.site-starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 0;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 248, 230, 0.055) 0.4px, transparent 0.4px);
  background-size: 3.8px 3.8px;
  opacity: 0.062;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0.4) 100%);
  animation: galaxyDustShimmer 14s ease-in-out infinite alternate;
}

main > * {
  position: relative;
  z-index: 1;
}

/* Unified site canvas: same depth as home on every page with main.page-main */
body:has(main.page-main) {
  background:
    radial-gradient(ellipse 85% 55% at 12% 96%, rgba(255, 234, 156, 0.028), transparent 48%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(160, 100, 220, 0.032), transparent 42%),
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(36, 58, 140, 0.1), transparent 52%),
    radial-gradient(circle at 16% 18%, rgba(45, 68, 170, 0.12), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(95, 58, 155, 0.07), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(35, 55, 125, 0.08), transparent 34%),
    radial-gradient(ellipse at 50% 50%, transparent 38%, rgba(0, 1, 6, 0.78) 100%),
    linear-gradient(180deg, #020308 0%, #050a12 40%, #0a1420 100%);
  box-shadow:
    inset 0 0 min(170px, 24vw) rgba(0, 0, 0, 0.58),
    inset 0 -90px 120px -42px rgba(0, 0, 0, 0.38);
}

body:has(main.page-main)::before {
  opacity: 0.42;
}

body:has(main.page-main)::after {
  opacity: 0.34;
}

main.page-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(72, 110, 200, 0.09), transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 80%, rgba(140, 90, 200, 0.05), transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 105%, rgba(0, 0, 0, 0.22), transparent 58%);
}

.home-page .hero::before {
  opacity: 0.58;
}

.home-page .hero-content.glass-panel.home-hero-panel {
  position: relative;
  isolation: isolate;
  padding: clamp(1.45rem, 3vw, 1.85rem) clamp(1.15rem, 2.6vw, 1.65rem);
  border-radius: clamp(1.05rem, 1.8vw, 1.2rem);
  border: 1px solid rgba(100, 138, 188, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 234, 156, 0.2) 0%, rgba(255, 234, 156, 0) 3px),
    linear-gradient(168deg, rgba(10, 26, 50, 0.82) 0%, rgba(5, 14, 30, 0.76) 42%, rgba(3, 10, 22, 0.72) 100%);
  box-shadow:
    0 24px 64px rgba(0, 2, 12, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(1.1);
}

.home-page .hero-content.glass-panel.home-hero-panel::before {
  opacity: 0.42;
}

@keyframes heroFloat {
  0% {
    transform: translateY(0) rotate(-0.35deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.3deg);
  }
  100% {
    transform: translateY(0) rotate(-0.35deg);
  }
}

@keyframes heroAura {
  0% {
    opacity: 0.72;
    transform: translate(-50%, -48%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -51%) scale(1.06);
  }
}

@keyframes galaxyStarTwinkle {
  0% {
    opacity: 0.34;
    filter: brightness(0.94) saturate(1.02);
  }
  35% {
    opacity: 0.46;
    filter: brightness(1.08) saturate(1.1);
  }
  70% {
    opacity: 0.4;
    filter: brightness(1.02) saturate(1.06);
  }
  100% {
    opacity: 0.44;
    filter: brightness(1.12) saturate(1.14);
  }
}

@keyframes galaxyParallaxA {
  0% {
    background-position: 6% 20%;
  }
  25% {
    background-position: 14% 28%;
  }
  50% {
    background-position: 10% 18%;
  }
  75% {
    background-position: 18% 32%;
  }
  100% {
    background-position: 6% 20%;
  }
}

@keyframes galaxyDriftLayer {
  0% {
    transform: translate3d(0, 8px, 0) scale(1);
  }
  33% {
    transform: translate3d(14px, -18px, 0) scale(1.028);
  }
  66% {
    transform: translate3d(-10px, -32px, 0) scale(1.018);
  }
  100% {
    transform: translate3d(6px, -42px, 0) scale(1.024);
  }
}

@keyframes galaxyPulseLayer {
  0% {
    opacity: 0.26;
    filter: brightness(0.92) saturate(1.04);
  }
  50% {
    opacity: 0.38;
    filter: brightness(1.1) saturate(1.18);
  }
  100% {
    opacity: 0.3;
    filter: brightness(0.98) saturate(1.08);
  }
}

/* Legacy names kept for any older references */
@keyframes starfieldTwinkle {
  0% {
    opacity: 0.85;
    filter: brightness(0.98) saturate(1.05);
  }
  100% {
    opacity: 1;
    filter: brightness(1.08) saturate(1.12);
  }
}

@keyframes starfieldDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -20px, 0) scale(1.03);
  }
}

@keyframes starfieldPulse {
  0% {
    filter: brightness(0.99) saturate(1.04);
  }
  100% {
    filter: brightness(1.06) saturate(1.1);
  }
}

@keyframes galaxyDustShimmer {
  0% {
    opacity: 0.038;
    filter: brightness(0.94);
  }
  100% {
    opacity: 0.068;
    filter: brightness(1.1);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 180ms ease, opacity 180ms ease;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(150, 184, 220, 0.34) rgba(6, 14, 28, 0.45);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(6, 14, 28, 0.45);
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(6, 14, 28, 0.45);
  background: linear-gradient(180deg, rgba(124, 166, 214, 0.7), rgba(255, 234, 156, 0.65));
}

.container {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  padding-top: max(0px, env(safe-area-inset-top, 0px));
  backdrop-filter: blur(24px) saturate(1.08);
  background: linear-gradient(
    180deg,
    rgba(4, 10, 22, 0.92) 0%,
    rgba(3, 8, 18, 0.88) 55%,
    rgba(2, 6, 14, 0.86) 100%
  );
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-header);
  transition:
    background 320ms var(--ease-smooth),
    box-shadow 320ms var(--ease-smooth),
    backdrop-filter 320ms var(--ease-smooth);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--shine-line);
  opacity: 0.65;
  pointer-events: none;
}

.site-header.scrolled {
  background: linear-gradient(180deg, rgba(2, 6, 14, 0.96) 0%, rgba(2, 6, 14, 0.94) 100%);
  backdrop-filter: blur(26px) saturate(1.06);
  box-shadow:
    0 1px 0 rgba(255, 234, 156, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.48);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 25;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(127, 171, 255, 0.35) 0%,
    #ffea9c 42%,
    rgba(255, 234, 156, 0.85) 100%
  );
  box-shadow: 0 0 14px rgba(255, 234, 156, 0.35);
  transition: width 0.14s var(--ease-out);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-content: center;
  gap: 0.85rem;
  background: radial-gradient(circle at center, #0c1c32 0%, #050b15 75%);
  transition:
    opacity 520ms var(--ease-out-expo),
    visibility 520ms var(--ease-out-expo),
    transform 520ms var(--ease-out-expo),
    filter 420ms var(--ease-smooth);
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  filter: blur(10px);
  pointer-events: none;
}

.site-loader p {
  color: #d5e0ef;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.loader-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 234, 156, 0.24);
  border-top-color: #ffea9c;
  border-right-color: #7fabff;
  margin: 0 auto;
  animation:
    spin 0.95s linear infinite,
    loaderOrbGlow 2.2s ease-in-out infinite;
}

@keyframes loaderOrbGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 234, 156, 0);
    filter: drop-shadow(0 0 6px rgba(127, 171, 255, 0.25));
  }
  50% {
    box-shadow: 0 0 28px 1px rgba(255, 234, 156, 0.14);
    filter: drop-shadow(0 0 10px rgba(255, 234, 156, 0.2));
  }
}

@keyframes navPanelReveal {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.75rem);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 4, 14, 0.35);
  letter-spacing: -0.02em;
  transition:
    opacity 220ms ease,
    color 220ms ease,
    letter-spacing 320ms var(--ease-smooth);
}

.brand:hover {
  opacity: 0.94;
  color: var(--gold-bright);
  letter-spacing: -0.015em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  color: var(--muted);
  font-size: var(--nav-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 0.44rem 0.62rem 0.52rem;
  border-radius: 999px;
  transition:
    color 200ms var(--ease-smooth),
    background-color 200ms var(--ease-smooth),
    box-shadow 200ms var(--ease-smooth),
    transform 200ms var(--ease-smooth);
}

.nav-links a::after {
  display: none;
}

.nav-links a:hover {
  color: #f4f7ff;
  background: rgba(102, 138, 196, 0.12);
  box-shadow: inset 0 0 0 1px rgba(145, 176, 228, 0.2);
  text-shadow: none;
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  display: none;
}

.nav-links a.active {
  color: var(--gold-bright);
  background: rgba(255, 234, 156, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 234, 156, 0.32);
  text-shadow: none;
}

.nav-links a.active::after {
  display: none;
}

.menu-btn {
  display: none;
  border: 1px solid rgba(157, 197, 255, 0.28);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: var(--nav-font);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface-2);
  backdrop-filter: blur(14px) saturate(1.08);
  color: var(--ink);
  box-shadow:
    0 8px 22px rgba(0, 4, 14, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.menu-btn:hover {
  border-color: rgba(255, 234, 156, 0.35);
  box-shadow:
    0 10px 26px rgba(0, 4, 14, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.hero {
  padding: 4rem 0 3.25rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero.hero--grand {
  padding: 4.25rem 0 3.75rem;
}

@media (min-width: 900px) {
  .hero.hero--grand {
    padding: 4.75rem 0 4rem;
    min-height: clamp(560px, 84vh, 920px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero.hero--grand .hero-grid {
    align-items: stretch;
    gap: 1.35rem;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  }

  .hero.hero--grand .hero-content {
    max-width: min(46rem, 100%);
  }

  /* Text column same height as book column; center copy when shorter than image */
  .hero.hero--grand .hero-content.glass-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    height: 100%;
    align-self: stretch;
  }

  .hero.hero--grand .hero-image {
    display: flex;
    align-items: center;
    align-self: stretch;
    min-height: 0;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: -60px 0 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 24%, rgba(116, 147, 255, 0.36), transparent 33%),
    radial-gradient(circle at 18% 58%, rgba(194, 115, 255, 0.24), transparent 42%),
    radial-gradient(circle at 62% 76%, rgba(128, 215, 255, 0.16), transparent 38%);
  filter: blur(7px);
  mix-blend-mode: normal;
}

.hero::after {
  display: none;
}

.hero .container {
  position: relative;
}

.hero .container::before {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
}

.hero-content {
  animation: revealSoft 900ms ease both;
  position: relative;
  z-index: 1;
  max-width: 44rem;
  justify-self: end;
  width: 100%;
}

.glass-panel {
  border: 0;
  border-radius: 1rem;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  position: relative;
}

.glass-panel::before {
  content: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 234, 156, 0.12),
    rgba(255, 255, 255, 0) 35%,
    rgba(137, 184, 255, 0.1)
  );
}

.hero-content.glass-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.35rem, 3.2vw, 1.75rem) clamp(1.2rem, 2.8vw, 1.55rem);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(10, 26, 48, 0.58) 0%, rgba(5, 14, 28, 0.42) 100%);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow:
    0 20px 48px rgba(0, 2, 12, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.035);
}

.hero-content.glass-panel::before {
  content: "";
  opacity: 0.5;
}

.hero-kicker {
  display: block;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 234, 156, 0.28);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  color: rgba(247, 240, 215, 0.95);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: linear-gradient(145deg, rgba(28, 40, 58, 0.65) 0%, rgba(12, 22, 40, 0.55) 100%);
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 6px 20px rgba(0, 3, 14, 0.32);
}

.subtitle {
  color: #f2e6b8;
  font-weight: 600;
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.48;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 18px rgba(255, 234, 156, 0.2),
    0 0 36px rgba(110, 150, 255, 0.06);
}

.book-line {
  display: block;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 0.85rem;
  color: #efe0a8;
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: 0.05em;
}

.tag {
  display: block;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
  color: rgba(255, 234, 156, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

.section-head .tag {
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #ffea9c;
  border: 1px solid rgba(247, 235, 200, 0.55);
  color: #1b1306;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 16px rgba(170, 120, 25, 0.3);
}

.hero-content h1,
.section-head h2,
.newsletter h2 {
  font-family: var(--font-display);
  line-height: 1.1;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  font-weight: 600;
  margin: 0.65rem 0 0.85rem;
  color: #fafcff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow:
    0 1px 3px rgba(0, 4, 14, 0.4),
    0 0 28px rgba(110, 150, 255, 0.14),
    0 0 48px rgba(120, 90, 200, 0.05);
  max-width: min(100%, 13em);
}

.hero-content.glass-panel h1 {
  margin-inline: auto;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-content h1 {
    background: linear-gradient(158deg, #ffffff 0%, #f2f6ff 38%, #ebe4d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 4, 14, 0.5)) drop-shadow(0 0 32px rgba(110, 150, 255, 0.12));
  }
}

.hero-content > p {
  color: #c5d4e8;
  max-width: 62ch;
  line-height: 1.72;
  font-size: 0.96rem;
}

.hero-content.glass-panel > p {
  margin-inline: auto;
}

.hero-content.glass-panel .subtitle {
  max-width: min(42ch, 100%);
  margin-inline: auto;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(0.45rem, 1.8vw, 0.85rem);
  width: 100%;
}

.hero-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0.72rem clamp(0.45rem, 1.6vw, 1.2rem);
  font-size: clamp(0.76rem, 1.85vw, 0.95rem);
  line-height: 1.25;
}

.hero-content.glass-panel .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.hero-content.glass-panel .hero-actions .btn {
  flex: 0 1 auto;
  min-width: min(100%, 9.5rem);
}

.hero-note {
  margin-top: 1.15rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  border-top: 2px solid rgba(255, 234, 156, 0.45);
  border-left-color: var(--card-edge);
  border-right-color: var(--card-edge);
  border-bottom-color: var(--card-edge);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-note:hover {
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.hero-note p {
  color: #e2eaf5;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.hero-metrics {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric-item {
  padding: 1rem 0.85rem;
  text-align: center;
  border-radius: var(--radius-sm);
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: rgba(255, 240, 200, 0.95);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.metric-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.btn {
  display: inline-block;
  padding: 0.88rem 1.45rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: 0.025em;
  transition:
    transform 280ms var(--ease-smooth),
    box-shadow 280ms var(--ease-smooth),
    filter 280ms var(--ease-smooth),
    border-color 280ms var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 234, 156, 0.75);
  outline-offset: 2px;
}

.btn-primary {
  background: #ffea9c;
  color: #0a1018;
  border: 1px solid rgba(247, 235, 200, 0.5);
  box-shadow:
    0 6px 20px rgba(90, 75, 30, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(120, 155, 200, 0.22);
  background: linear-gradient(180deg, rgba(12, 26, 48, 0.88), rgba(5, 12, 24, 0.82));
  backdrop-filter: blur(18px) saturate(1.04);
  color: var(--ink-soft);
  box-shadow:
    0 4px 16px rgba(0, 2, 10, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.06) brightness(1.02);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
  filter: saturate(1.03) brightness(1.01);
  transition-duration: 90ms;
}

.btn::after {
  display: none;
}

.btn-primary:hover {
  box-shadow:
    0 8px 26px rgba(90, 75, 30, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: #ffea9c;
  filter: brightness(1.04);
}

.btn-secondary:hover {
  border-color: rgba(255, 234, 156, 0.32);
  background: linear-gradient(180deg, rgba(14, 30, 52, 0.92), rgba(8, 18, 34, 0.86));
  box-shadow:
    0 8px 24px rgba(0, 2, 12, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-image {
  border-radius: var(--radius);
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  animation: revealSoft 1150ms ease both, heroFloat 8.5s ease-in-out infinite;
  transform-origin: center;
  position: relative;
  z-index: 1;
  transition: transform 280ms var(--ease-smooth);
  will-change: transform;
  justify-self: start;
  width: 100%;
}

.hero-image::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  height: 88%;
  transform: translate(-50%, -48%);
  background:
    radial-gradient(ellipse 70% 65% at 48% 42%, rgba(120, 165, 240, 0.32), transparent 72%),
    radial-gradient(ellipse 55% 50% at 72% 78%, rgba(255, 234, 156, 0.22), transparent 68%);
  pointer-events: none;
  z-index: -1;
  animation: heroAura 12s ease-in-out infinite alternate;
}

.hero-image img {
  width: 100%;
  display: block;
  object-fit: contain;
  min-height: 0;
  max-height: min(88vh, 900px);
  transform: scale(1);
  border: 0;
  border-radius: var(--radius);
  mix-blend-mode: normal;
  filter:
    drop-shadow(0 24px 48px rgba(0, 6, 20, 0.65))
    drop-shadow(0 0 60px rgba(70, 110, 200, 0.2));
}

.hero-image:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.hero-image::after {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 22% 18%, rgba(186, 219, 255, 0.2), transparent 44%);
}

/* Home hero: black PNG backdrop drops out; no glow panel or drop-shadows */
.home-page .hero-image.hero-image--book-cutout::before,
.home-page .hero-image.hero-image--book-cutout::after {
  display: none;
  content: none;
}

.home-page .hero-image.hero-image--book-cutout {
  /* Premium: clean/static book hero (no float/tilt) */
  animation: revealSoft 1150ms ease both;
  transition: none;
}

.home-page .hero-image.hero-image--book-cutout:hover {
  transform: none;
}

.home-page .hero-image.hero-image--book-cutout img {
  /* mockup-01 has solid black around book; screen removes it on dark hero */
  mix-blend-mode: screen;
  filter: none;
  border-radius: 0;
  box-shadow: none;
}

/* —— Home hero (editorial layout) —— */
.home-page .hero--home::before {
  background:
    radial-gradient(ellipse 55% 42% at 12% 38%, rgba(255, 234, 156, 0.14), transparent 58%),
    radial-gradient(circle at 82% 22%, rgba(116, 147, 255, 0.32), transparent 34%),
    radial-gradient(circle at 18% 62%, rgba(194, 115, 255, 0.2), transparent 44%),
    radial-gradient(circle at 62% 78%, rgba(128, 215, 255, 0.14), transparent 40%);
}

.hero-grid--home {
  align-items: center;
}

.home-hero-panel__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: inherit;
}

.home-hero-head {
  margin: 0 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.home-hero-head__sep {
  display: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 234, 156, 0.5);
  box-shadow: 0 0 10px rgba(255, 234, 156, 0.25);
  flex-shrink: 0;
}

.home-hero-kicker {
  margin-bottom: 0;
}

.home-hero-author {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.2vw, 1.38rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 248, 232, 0.97);
  text-shadow: 0 1px 18px rgba(255, 234, 156, 0.08);
}

.home-hero-lead {
  margin: 0 0 0.9rem;
  max-width: min(48ch, 100%);
  padding: 0.85rem 1rem 0.85rem 1.05rem;
  border-left: 2px solid rgba(255, 234, 156, 0.55);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(90deg, rgba(255, 234, 156, 0.07), transparent 62%);
  font-size: clamp(0.98rem, 1.65vw, 1.06rem);
  font-weight: 600;
  line-height: 1.52;
  letter-spacing: 0.01em;
  color: rgba(245, 234, 198, 0.98);
}

.home-hero-rule {
  display: block;
  width: min(100%, 11rem);
  height: 1px;
  margin: 0 0 1.05rem;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(140, 175, 220, 0.45), rgba(255, 234, 156, 0.35), transparent);
}

.home-hero-body {
  margin: 0;
  max-width: min(52ch, 100%);
  color: rgba(178, 196, 222, 0.95);
  font-size: 0.95rem;
  line-height: 1.7;
}

.home-hero-stats {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0.55rem;
  width: 100%;
  max-width: min(100%, 26.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(2, 8, 20, 0.35);
  border: 1px solid rgba(100, 138, 188, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  justify-content: stretch;
}

.home-hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.62rem 0.35rem;
  border-radius: calc(var(--radius-sm) - 2px);
  border: 1px solid rgba(120, 155, 200, 0.14);
  background: rgba(6, 16, 34, 0.65);
  backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 240, 200, 0.97);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.home-hero-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(156, 176, 206, 0.88);
  line-height: 1.25;
}

.home-hero-card__actions {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  width: 100%;
  border-top: 1px solid rgba(120, 160, 210, 0.16);
}

.home-hero-actions {
  margin-top: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 0.9rem;
}

.home-hero-actions .btn {
  flex: 0 1 auto;
  min-width: min(100%, 10.75rem);
  padding: 0.8rem 1.4rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

@media (max-width: 420px) {
  .home-hero-stats {
    grid-template-columns: 1fr;
    max-width: 12rem;
    margin-inline: auto;
  }

  .home-hero-lead {
    padding-left: 0.9rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 900px) {
  .hero--home.hero--grand .hero-grid--home {
    gap: clamp(1.25rem, 2.4vw, 2rem);
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.95fr);
  }

  .hero--home .home-hero-panel {
    position: relative;
    text-align: left;
    align-items: flex-start;
    padding: clamp(1.65rem, 2.8vw, 2.25rem) clamp(1.45rem, 2.7vw, 2.1rem);
    overflow: hidden;
  }

  .hero--home .home-hero-panel::after {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 3px;
    z-index: 0;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, rgba(255, 234, 156, 0.95), rgba(255, 234, 156, 0.12));
    opacity: 0.85;
    pointer-events: none;
  }

  .hero--home .home-hero-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
  }

  .hero--home .home-hero-head__sep {
    display: block;
  }

  .hero--home .home-hero-stats {
    max-width: none;
  }

  .hero--home .home-hero-card__actions {
    max-width: min(100%, 36rem);
  }

  .hero--home .hero-kicker.home-hero-kicker {
    margin-inline: 0;
  }

  .hero--home .home-hero-panel h1 {
    margin-inline: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    max-width: min(100%, 14em);
  }

  .hero--home .home-hero-lead,
  .hero--home .home-hero-body {
    margin-inline: 0;
  }

  .hero--home .home-hero-rule {
    margin-inline: 0;
  }

  .hero--home .hero-content.glass-panel .home-hero-actions {
    justify-content: flex-start;
  }

  .hero--home .home-hero-visual {
    justify-self: end;
  }
}

.home-page .home-mini-mockups .home-mini-mockups__link::before {
  opacity: 0.65;
}

.home-page .home-mini-mockups .home-mini-mockups__link {
  background: var(--card-face-alt);
  border-color: var(--card-edge);
  box-shadow: var(--card-shade);
  backdrop-filter: blur(14px) saturate(1.05);
}

.home-page .home-mini-mockups .home-mini-mockups__link:hover {
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.home-page .home-mini-mockups img {
  mix-blend-mode: screen;
  filter: none;
}

.hero-card {
  background: radial-gradient(circle at top, #1f1c19, #11100f);
  color: #f9f5ee;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.mini-tag {
  color: #ffea9c;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
}

.hero-card h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-top: 0.8rem;
}

.author,
.summary {
  color: #d2c6b8;
}

.summary {
  margin: 1rem 0 1.35rem;
}

.card-link {
  color: #fff;
  border-bottom: 1px solid #fff;
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section::after {
  content: none;
}

.section:nth-of-type(odd)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 68% 14%, rgba(132, 161, 255, 0.06), transparent 34%);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 92%, rgba(255, 234, 156, 0.045), transparent 32%),
    radial-gradient(circle at 12% 26%, rgba(104, 145, 255, 0.09), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(168, 112, 255, 0.075), transparent 32%);
}

.section-head {
  position: relative;
  margin-bottom: 1.1rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.text-center {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.head-divider {
  display: none;
}

.section-head h2 {
  font-size: clamp(1.95rem, 3.5vw, 2.75rem);
  font-weight: 600;
  margin-top: 0.45rem;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.028em;
  color: #f8faff;
  text-wrap: balance;
  text-shadow:
    0 1px 2px rgba(0, 6, 18, 0.35),
    0 0 28px rgba(125, 168, 255, 0.14),
    0 0 52px rgba(255, 234, 156, 0.07);
  position: relative;
  display: inline-block;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-head h2 {
    background: linear-gradient(142deg, #ffffff 0%, #eef3fc 42%, #e0d5b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 1px 2px rgba(0, 6, 18, 0.45)) drop-shadow(0 0 22px rgba(125, 168, 255, 0.12));
  }
}

.section-head h2::after {
  display: none;
  content: none;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.mockup-card {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 1.1rem 1rem 0.75rem;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card-face);
  backdrop-filter: blur(18px) saturate(1.06);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.mockup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
  opacity: 0.85;
}

.mockup-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(480px, 64vw, 720px);
  display: block;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  mix-blend-mode: normal;
  border-radius: calc(var(--radius-sm) - 2px);
  filter: drop-shadow(0 16px 36px rgba(0, 4, 16, 0.5));
}

.mockup-card figcaption {
  position: relative;
  z-index: 1;
  padding: 0.85rem 0 0.2rem;
  font-size: 0.75rem;
  color: rgba(200, 214, 232, 0.88);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.mockup-card:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.mockup-card::after {
  content: none;
}

.alt {
  background: linear-gradient(
    180deg,
    rgba(8, 20, 36, 0.56) 0%,
    rgba(10, 24, 43, 0.56) 100%
  );
  border-top: 1px solid rgba(181, 212, 255, 0.08);
  border-bottom: 1px solid rgba(181, 212, 255, 0.08);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.05rem;
}

.chapter-card {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem 1.15rem 1.35rem;
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.06);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    box-shadow 240ms ease,
    border-color 240ms ease;
  position: relative;
  overflow: hidden;
}

.chapter-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 234, 156, 0.65), rgba(255, 234, 156, 0.12));
  pointer-events: none;
}

.chapter-card h3 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  line-height: 1.35;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.75rem;
  position: relative;
  z-index: 1;
}

a.chapter-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.chapter-card h3 span {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-top: 0;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid rgba(255, 234, 156, 0.4);
  color: rgba(247, 238, 200, 0.95);
  background: rgba(8, 16, 32, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.chapter-card p {
  color: var(--muted);
  margin-top: 0.28rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.chapter-card:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.resource-card {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.2rem;
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    box-shadow 240ms ease,
    border-color 240ms ease;
  position: relative;
  overflow: hidden;
}

.resource-card:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, transparent 50%);
}

.resource-card h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.45rem;
  position: relative;
  z-index: 1;
}

.resource-card p {
  margin-top: 0.35rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.quote-section {
  padding-top: 2.25rem;
}

.quote-wrap {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.65rem 1.5rem;
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.quote-wrap:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.quote-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.principles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.principles span {
  border: 1px solid var(--card-edge);
  color: rgba(240, 244, 252, 0.92);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: var(--card-face-alt);
  backdrop-filter: blur(12px) saturate(1.04);
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--card-shade);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--ease-smooth);
}

.principles span:hover {
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
  transform: translateY(-2px);
}

.newsletter {
  padding: 3rem 0;
}

.newsletter-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  padding: 1.5rem 1.45rem;
  transition:
    transform 240ms var(--ease-smooth),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.newsletter-wrap:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

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

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  background: rgba(4, 13, 24, 0.62);
  color: var(--ink);
  backdrop-filter: blur(8px);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 234, 156, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 234, 156, 0.12);
}

.newsletter-form button {
  border: 0;
  padding: 0.85rem 1.15rem;
  border-radius: 0.6rem;
  background: #ffea9c;
  color: #101827;
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  position: relative;
  border-top: 1px solid transparent;
  padding: 0;
  margin-top: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(90, 130, 220, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(5, 14, 28, 0.96) 0%, rgba(2, 6, 14, 0.99) 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 -16px 48px rgba(0, 4, 14, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--shine-line);
  opacity: 0.55;
  pointer-events: none;
}

.cta-section {
  padding-top: 0;
}

.cta-wrap {
  text-align: center;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  padding: 1.85rem 1.35rem;
  transition:
    transform 240ms var(--ease-smooth),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.cta-wrap:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.cta-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-top: 0.35rem;
}

.cta-wrap p {
  color: var(--muted);
  margin: 0.7rem auto 1.2rem;
  max-width: 62ch;
}

.cta-wrap .btn-primary {
  min-width: 170px;
}

/* Unified card chrome (metrics + chapter/resource/quote blocks share tokens above) */
.metric-item,
.chapter-card,
.resource-card,
.quote-wrap,
.newsletter-wrap,
.cta-wrap {
  border: 1px solid var(--card-edge);
  background: var(--card-face);
  box-shadow: var(--card-shade);
  backdrop-filter: blur(16px) saturate(1.06);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 240ms var(--ease-smooth),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.metric-item::before,
.chapter-card::before,
.resource-card::before,
.quote-wrap::before,
.newsletter-wrap::before,
.cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, transparent 45%);
}

.metric-item::after,
.chapter-card::after,
.resource-card::after,
.quote-wrap::after,
.newsletter-wrap::after,
.cta-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0.85;
}

.metric-item:hover,
.chapter-card:hover,
.resource-card:hover,
.quote-wrap:hover,
.newsletter-wrap:hover,
.cta-wrap:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.metric-item,
.chapter-card,
.resource-card {
  border-radius: var(--radius-sm);
}

.metric-item strong,
.chapter-card h3,
.resource-card h3 {
  text-shadow: none;
}

.quote-wrap {
  border-left: 3px solid rgba(255, 234, 156, 0.45);
  padding-left: 1.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(3px);
  transition:
    opacity 780ms var(--ease-out-expo),
    transform 780ms var(--ease-out-expo),
    filter 680ms var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered children inside a revealed section (--i set in script; reduced motion → 0) */
.motion-stagger > * {
  --i: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.58s var(--ease-out-expo),
    transform 0.58s var(--ease-out-expo);
  transition-delay: calc(var(--i) * 52ms);
}

.motion-stagger.motion-stagger--on > * {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  opacity: 0.9;
  transition: opacity 200ms ease, transform 200ms ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Multi-page layout (author-site style: clear sections, strong hierarchy) */
.page-main {
  padding-top: 0;
}

section[id],
main [id].section {
  scroll-margin-top: 5rem;
}

.page-hero {
  padding: clamp(2.35rem, 6vw, 3.25rem) 0 clamp(2rem, 4vw, 2.4rem);
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 85% at 50% -30%, rgba(88, 130, 220, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 45% at 80% 60%, rgba(180, 120, 255, 0.07), transparent 50%),
    linear-gradient(180deg, rgba(6, 14, 28, 0.4) 0%, transparent 100%);
}

.page-hero::after {
  content: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 28%,
    transparent 72%,
    rgba(0, 4, 12, 0.2) 100%
  );
  opacity: 0.9;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero .tag {
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: min(38ch, 100%);
  margin: 0 auto 0.75rem;
  color: #fafcff;
  text-shadow:
    0 1px 2px rgba(0, 4, 14, 0.35),
    0 0 24px rgba(100, 140, 200, 0.1);
}

.page-lead {
  color: var(--muted);
  max-width: min(68ch, 100%);
  margin: 0 auto;
  line-height: 1.72;
  font-size: 1.035rem;
  letter-spacing: 0.008em;
  font-weight: 450;
  text-wrap: pretty;
}

.home-band {
  padding: var(--space-section) 0;
  position: relative;
}

.home-band::after {
  content: none;
}

.home-hero-cards .section-head {
  margin-bottom: 1.15rem;
}

.home-floating-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.home-floating-cards .hero-note {
  margin-top: 0;
}

.home-floating-cards .hero-metrics {
  margin-top: 0;
}

.home-band--spacious {
  padding: clamp(2.35rem, 6vw, 4rem) 0;
}

@media (min-width: 900px) {
  .home-band--spacious {
    padding: clamp(2.75rem, 6.5vw, 4.25rem) 0;
  }
}

.home-band.alt-band {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(100, 150, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(200, 160, 255, 0.05), transparent 45%),
    linear-gradient(180deg, rgba(7, 18, 34, 0.65) 0%, rgba(9, 22, 40, 0.58) 50%, rgba(7, 18, 34, 0.65) 100%);
  border-top: 1px solid rgba(130, 170, 230, 0.1);
  border-bottom: 1px solid rgba(130, 170, 230, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-band.alt-band::after {
  opacity: 0.26;
}

.home-band.alt-band.constitution-gold-band {
  background: #ffea9c;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  box-shadow: none;
}

.home-band.alt-band.constitution-gold-band .section-head h2 {
  color: var(--gold-ink);
  text-shadow: none;
}

.home-band.alt-band.constitution-gold-band .section-head .section-intro {
  color: rgba(40, 26, 8, 0.9);
}

.home-band.alt-band.constitution-gold-band .section-head .tag {
  background: linear-gradient(165deg, #2e6ccf 0%, #245bb4 55%, #1b468f 100%);
  border-color: #0f2f66;
  color: #f4f9ff;
}

.home-band.alt-band.constitution-gold-band .checklist-bar {
  border-color: rgba(92, 146, 226, 0.72);
  background: linear-gradient(170deg, rgba(10, 22, 46, 0.95), rgba(6, 14, 30, 0.96));
  box-shadow:
    0 10px 30px rgba(2, 8, 20, 0.48),
    inset 0 1px 0 rgba(205, 226, 255, 0.12);
}

.home-band.alt-band.constitution-gold-band .resource-card {
  border-color: rgba(92, 146, 226, 0.72);
  background: linear-gradient(172deg, rgba(10, 24, 48, 0.94), rgba(6, 14, 30, 0.96));
  box-shadow:
    0 12px 34px rgba(1, 8, 22, 0.5),
    inset 0 1px 0 rgba(205, 226, 255, 0.11);
}

.home-band.alt-band.constitution-gold-band .resource-card h3 {
  color: #edf4ff;
}

.home-band.alt-band.constitution-gold-band .resource-card p {
  color: rgba(197, 214, 238, 0.9);
}

/* Author quote band: flat pure gold — no gradients, shine, or animated sweep */
.home-band.alt-band.author-quote-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  background: #ffea9c;
  box-shadow: none;
}

.home-band.alt-band.author-quote-band::before {
  display: none;
}

.home-band.alt-band.author-quote-band .container {
  position: relative;
  z-index: 1;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.05rem;
  margin-top: 1.25rem;
}

.pillar-card {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.3rem;
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.06);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.pillar-card:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.pillar-card h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.section-head .section-intro {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 62ch;
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-editorial {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(157, 197, 255, 0.14);
  border-bottom: 1px solid rgba(157, 197, 255, 0.14);
  background: linear-gradient(90deg, rgba(4, 12, 24, 0.55) 0%, rgba(8, 20, 40, 0.42) 50%, rgba(4, 12, 24, 0.55) 100%);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.editorial-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 214, 232, 0.88);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 16, 32, 0.55);
  border: 1px solid rgba(120, 160, 210, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.editorial-strip li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffea9c;
  box-shadow: 0 0 12px rgba(255, 234, 156, 0.45);
}

.page-home > section[id] {
  scroll-margin-top: 5rem;
}

.page-hero--book .page-lead {
  max-width: min(68ch, 100%);
}

.page-book > section[id] {
  scroll-margin-top: 5rem;
}

.page-hero--chapters .page-lead {
  max-width: min(62ch, 100%);
}

.page-chapters > section[id] {
  scroll-margin-top: 5rem;
}

.page-chapters .chapters-paths-grid {
  margin-top: 1.2rem;
}

.page-hero--resources .page-lead {
  max-width: min(66ch, 100%);
}

.page-resources > section[id] {
  scroll-margin-top: 5rem;
}

.page-resources .resources-overview-grid,
.page-resources .resources-workflow-bar {
  margin-top: 1.2rem;
}

.author-message {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  padding: 1.55rem 1.4rem 1.65rem;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  background: var(--card-face);
  backdrop-filter: blur(18px) saturate(1.06);
  box-shadow: var(--card-shade);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.home-band.alt-band.author-quote-band .author-message > * {
  position: relative;
  z-index: 1;
}

/* Inner card matches site dark glass; outer band stays flat gold */
.home-band.alt-band.author-quote-band .author-message {
  border: 1px solid var(--card-edge);
  background: var(--card-face);
  backdrop-filter: blur(18px) saturate(1.06);
  box-shadow: var(--card-shade);
}

.author-message::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(255, 234, 156, 0.38);
  pointer-events: none;
  z-index: 2;
}

.featured-chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.95rem;
  margin-top: 1.35rem;
}

.home-chapter-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 1.3rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-edge);
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.06);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
  position: relative;
  overflow: hidden;
}

.home-chapter-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
  transition: opacity 240ms ease;
}

.home-chapter-tile:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.home-chapter-tile:hover::after {
  opacity: 1;
}

.home-chapter-tile .ch-num {
  display: inline-grid;
  place-items: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 236, 205, 0.95);
  border: 1px solid rgba(255, 234, 156, 0.38);
  background: rgba(6, 14, 28, 0.75);
  margin-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-chapter-tile h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--gold);
  line-height: 1.25;
  margin: 0;
  position: relative;
  z-index: 1;
}

.home-chapter-tile .ch-meta {
  margin-top: 0.5rem;
  grid-column: 2;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(180, 198, 228, 0.85);
  position: relative;
  z-index: 1;
}

.home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.4rem 2rem;
  align-items: center;
  margin-top: 1.35rem;
}

.home-showcase-copy .lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.74;
  margin: 0.8rem 0 1rem;
}

.home-showcase-copy ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.home-showcase-copy li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.56rem;
  color: #d4deee;
  font-size: 1.01rem;
}

.home-showcase-copy li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.48em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: #ffea9c;
  box-shadow: 0 0 10px rgba(255, 234, 156, 0.35);
  opacity: 0.95;
}

.section.alt.author-cta-gold {
  background: #ffea9c;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  box-shadow: none;
}

.home-mini-mockups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  justify-items: center;
  width: min(440px, 100%);
  max-width: min(440px, 100%);
  margin-left: auto;
  margin-right: 0;
  justify-self: end;
}

@media (min-width: 640px) {
  .home-mini-mockups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(860px, 100%);
    gap: 1.15rem;
  }
}

.home-mini-mockups a {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0.75rem 0.65rem 0.45rem;
  border: 1px solid var(--card-edge);
  background: var(--card-face-alt);
  backdrop-filter: blur(14px) saturate(1.05);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.home-mini-mockups a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  opacity: 0.9;
}

.home-mini-mockups a:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.home-mini-mockups img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  height: clamp(250px, 35vw, 390px);
  object-fit: contain;
  object-position: center bottom;
  border-radius: var(--radius-sm);
  filter:
    drop-shadow(0 18px 40px rgba(0, 6, 20, 0.6))
    drop-shadow(0 0 44px rgba(70, 110, 200, 0.18));
}

/* Official Editions (homepage): clean two-column, full-view mockup */
.official-editions-pro .home-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(0.65rem, 1.8vw, 1.15rem);
  align-items: center;
  justify-items: stretch;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.official-editions-pro .home-showcase-copy {
  max-width: none;
  width: 100%;
  text-align: left;
}

.official-editions-pro .home-showcase-copy .lead {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: min(62ch, 100%);
  margin-inline: 0;
}

.official-editions-pro .home-showcase-copy ul {
  list-style: none;
  width: 100%;
  max-width: min(52ch, 100%);
  margin: 0.8rem 0 0.9rem;
  padding: 0;
}

.official-editions-pro .home-showcase-copy li {
  text-align: left;
  padding-left: 0;
  margin-bottom: 0.46rem;
}

.official-editions-pro .home-showcase-copy li::before {
  display: none;
}

.official-editions-pro .section-head {
  text-align: center;
}

.official-editions-pro .section-head .tag {
  margin-inline: auto;
  text-align: center;
}

.official-editions-pro .section-head h2,
.official-editions-pro .section-head .section-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.official-editions-pro .home-mini-mockups {
  grid-template-columns: 1fr;
  width: min(450px, 100%);
  max-width: 100%;
  justify-self: center;
  margin-inline: auto;
}

.official-editions-pro .home-mini-mockups a {
  padding: 0.45rem 0.5rem 0.25rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(90, 138, 210, 0.28);
  background: linear-gradient(180deg, rgba(9, 20, 38, 0.66) 0%, rgba(4, 10, 20, 0.72) 100%);
  box-shadow:
    0 12px 34px rgba(0, 3, 14, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.official-editions-pro .home-mini-mockups img {
  width: 100%;
  max-width: 450px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  border-radius: 0.6rem;
  filter: none;
}

.official-editions-center .home-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  gap: 0;
  justify-content: center;
  align-items: stretch;
}

.official-editions-center .home-showcase-copy {
  text-align: center;
  margin: 0;
}

.official-editions-center .home-showcase-copy ul {
  width: fit-content;
  margin: 0.8rem auto 0.9rem;
}

.official-editions-center .home-showcase-copy li {
  text-align: left;
}

.official-editions-center .home-mini-mockups {
  justify-self: center;
  margin-inline: auto;
  width: min(560px, 100%);
  height: 100%;
}

.official-editions-center .home-mini-mockups a {
  display: grid;
  place-items: end center;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.official-editions-center .home-mini-mockups a::before {
  display: none;
}

.official-editions-center .home-mini-mockups img {
  height: clamp(380px, 48vw, 620px);
  max-height: 100%;
  width: auto;
  border-radius: 0;
}

.home-resources-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1.35rem;
}

.readers-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.05rem;
  margin-top: 1.35rem;
}

.readers-tier {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-edge);
  background: var(--card-face-alt);
  backdrop-filter: blur(14px) saturate(1.05);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.readers-tier:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.readers-tier h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.22rem;
  margin-bottom: 0.85rem;
}

.readers-tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.readers-tier li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.readers-tier li::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 0.52em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #a8c8ff, #ffea9c);
  box-shadow: 0 0 8px rgba(130, 170, 255, 0.35);
}

.closing-cta.closing-cta--lux {
  position: relative;
  padding: 2.75rem 1rem 3rem;
  overflow: visible;
  box-shadow: none;
  filter: none;
}

.closing-cta.closing-cta--lux::before {
  content: none;
  display: none;
}

.closing-cta.closing-cta--lux .container {
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.section-head.text-center {
  text-align: center;
}

.section-head.text-center .head-divider {
  margin-left: auto;
  margin-right: auto;
}

.author-message .label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.author-message blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  color: #e8eef8;
  font-style: italic;
}

.author-message blockquote p {
  margin: 0;
}

.author-message figcaption {
  margin: 0;
}

.author-message cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.home-band.alt-band.author-quote-band .author-message .label {
  color: var(--gold);
  text-shadow: none;
}

.home-band.alt-band.author-quote-band .author-message cite {
  color: var(--muted);
}

.home-band.alt-band.author-quote-band .author-message::before {
  color: rgba(255, 234, 156, 0.22);
}

.split-insight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.split-panel {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.45rem 1.3rem;
  background: var(--card-face-alt);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.split-panel:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.split-panel .eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.split-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #f0f4fc;
  margin-bottom: 0.65rem;
}

.split-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.25rem;
}

.cred-card {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.15rem;
  background: var(--card-face-alt);
  backdrop-filter: blur(12px) saturate(1.04);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.cred-card:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.cred-card h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.cred-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.checklist-bar {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.45rem 1.35rem;
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.checklist-bar:hover {
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: #dce4f2;
  font-size: 0.95rem;
}

.checklist li {
  padding-left: 1.35rem;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: #ffea9c;
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.closing-cta {
  text-align: center;
  padding: 2.5rem 1rem 2.75rem;
}

.closing-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  margin: 0.5rem 0 0.75rem;
}

.closing-cta > .container > p {
  color: var(--muted);
  max-width: min(62ch, 100%);
  margin: 0 auto 1.1rem;
  line-height: 1.65;
}

.closing-cta .hero-actions {
  justify-content: center;
}

.chapter-inline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.chapter-inline-nav a {
  color: var(--gold);
  font-weight: 600;
  transition: opacity 180ms ease;
}

.chapter-inline-nav a:hover {
  opacity: 0.85;
}

.chapter-inline-nav a.muted,
.chapter-inline-nav span.muted {
  color: var(--muted);
  font-weight: 500;
  pointer-events: none;
}

.prose-block {
  max-width: var(--prose);
  margin: 0 auto;
}

.book-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 420px);
  gap: 1.25rem 1.8rem;
  align-items: center;
}

.book-why-copy.prose-block {
  max-width: none;
  margin: 0;
}

.book-why-head {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.book-why-head .tag {
  margin-inline: 0;
  text-align: left;
}

.book-why-head h2 {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.core-principles-gold {
  background: #ffea9c;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}

.core-principles-gold .section-head h2 {
  color: var(--gold-ink);
  text-shadow: none;
}

.core-principles-card-gold {
  background: #ffea9c;
  border-color: var(--gold-deep);
  box-shadow: none;
  backdrop-filter: none;
}

.core-principles-card-gold::before {
  content: none;
}

.core-principles-card-gold h2 {
  color: #edf4ff;
  text-shadow: none;
}

.core-principles-card-gold .principles span {
  border-color: rgba(92, 146, 226, 0.62);
  color: rgba(230, 240, 255, 0.96);
  background: rgba(12, 28, 56, 0.78);
  backdrop-filter: blur(10px) saturate(1.03);
}

/* Golden section cleanup: remove text-shadow + add blue border accents */
.btn-primary,
.newsletter-form button,
.contact-form button {
  text-shadow: none;
}

.home-band.alt-band.constitution-gold-band :is(h1, h2, h3, p, a, span, li, strong),
.core-principles-gold :is(h1, h2, h3, p, a, span, li, strong),
.core-principles-card-gold :is(h1, h2, h3, p, a, span, li, strong),
.section.alt.author-cta-gold :is(h1, h2, h3, p, a, span, li, strong) {
  text-shadow: none !important;
  filter: none !important;
}

/* Golden sections: keep flat black text without dark shade (tag on core-principles uses blue pill below) */
.home-band.alt-band.constitution-gold-band .section-head :is(h2, .section-intro, .tag),
.core-principles-gold .section-head h2,
.core-principles-card-gold h2,
.section.alt.author-cta-gold :is(h2, p, a, span) {
  color: #111 !important;
  background: none !important;
  -webkit-text-fill-color: #111 !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
}

.core-principles-gold .section-head .tag {
  color: #e8f0ff !important;
  -webkit-text-fill-color: #e8f0ff !important;
  background: linear-gradient(
    165deg,
    rgba(22, 52, 108, 0.98) 0%,
    rgba(14, 32, 58, 0.98) 45%,
    rgba(10, 26, 48, 1) 100%
  ) !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  border: 1px solid rgba(120, 165, 220, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 6px 20px rgba(4, 12, 28, 0.35) !important;
  text-shadow: none !important;
  filter: none !important;
}

.home-band.alt-band.constitution-gold-band .btn,
.core-principles-gold .btn,
.core-principles-card-gold .btn,
.section.alt.author-cta-gold .btn {
  border: 1px solid rgba(72, 132, 222, 0.78) !important;
}

.home-band.alt-band.constitution-gold-band :is(.resource-card, .checklist-bar, .quote-wrap, .newsletter-wrap, .cta-wrap, .chapter-card),
.core-principles-card-gold,
.core-principles-card-gold .principles span,
.core-principles-gold .principles span,
.section.alt.author-cta-gold :is(.checklist-bar, .quote-wrap, .newsletter-wrap, .cta-wrap) {
  border-color: rgba(72, 132, 222, 0.78) !important;
}

.book-why-mockup {
  margin: 0;
  justify-self: end;
  width: min(100%, 420px);
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.book-why-mockup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}

/* ========== Author page (.page-author) ========== */
.page-hero--author .page-lead {
  max-width: min(56ch, 100%);
}

.page-author .author-bio {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 400px);
  gap: 1.35rem 2rem;
  align-items: center;
  margin-top: 0.35rem;
}

.page-author .author-bio__copy.prose-block {
  max-width: none;
  margin: 0;
}

.page-author .author-bio .book-why-head {
  margin-bottom: 1.05rem;
}

.page-author .author-bio__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-elevated);
  background: var(--card-face);
  box-shadow: var(--card-shade);
  justify-self: end;
  width: min(100%, 360px);
}

.page-author .author-bio__photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-author .author-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 400px);
  gap: 1.35rem 2rem;
  align-items: center;
  margin-top: 1.2rem;
}

.page-author .author-spotlight__copy {
  min-width: 0;
  text-align: left;
}

.page-author .author-spotlight__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.page-author .author-spotlight__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 600;
  color: #f0f4fc;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.page-author .author-spotlight__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0 0 0.95rem;
  max-width: min(60ch, 100%);
}

.page-author .author-spotlight__list {
  list-style: none;
  margin: 0 0 1.05rem;
  padding: 0;
}

.page-author .author-spotlight__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: #d4deee;
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-author .author-spotlight__list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 234, 156, 0.35);
}

.page-author .author-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.page-author .author-spotlight__media {
  justify-self: center;
  width: 100%;
  max-width: min(340px, 100%);
}

.page-author .author-spotlight__media-link {
  display: block;
  line-height: 0;
  border-radius: var(--radius-sm);
  transition:
    transform 240ms var(--ease-smooth),
    filter 240ms ease;
}

.page-author .author-spotlight__media-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.page-author .author-spotlight__media img {
  width: 100%;
  height: auto;
  max-height: clamp(300px, 50vh, 500px);
  object-fit: contain;
  object-position: center bottom;
  border-radius: var(--radius-sm);
  filter:
    drop-shadow(0 16px 36px rgba(0, 6, 20, 0.55))
    drop-shadow(0 0 32px rgba(70, 110, 200, 0.12));
}

.page-author .author-themes-grid {
  margin-top: 1.2rem;
}

.page-author .author-cta-gold__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 0.15rem 0;
}

.page-author .author-cta-gold__note {
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 1.15rem;
  color: rgba(20, 14, 6, 0.88);
  font-weight: 450;
}

.page-author .author-cta-gold__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .page-author .author-bio,
  .page-author .author-spotlight {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .page-author .author-bio__photo {
    order: -1;
    justify-self: center;
    width: min(280px, 86vw);
  }

  .page-author .author-spotlight__media {
    order: -1;
    max-width: min(300px, 88vw);
  }

  .page-author .author-spotlight__lead {
    max-width: none;
  }
}

.prose-block p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

@media (max-width: 680px) {
  .book-why-layout {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .book-why-mockup {
    justify-self: center;
    width: min(100%, 360px);
  }

}

.prose-block a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.prose-block a:hover {
  opacity: 0.9;
}

.page-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.page-actions.page-actions--tight-top {
  margin-top: 1.15rem;
}

.home-showcase-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.home-showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #f0f4fc;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.resource-card .resource-card-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 0;
  padding-bottom: 0;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.resource-card .resource-card-link:hover {
  opacity: 0.95;
  border-bottom-color: transparent;
}

.principles-wrap {
  width: 100%;
  max-width: none;
  margin: 1.1rem 0 0;
}

.principles.principles--center {
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.1rem;
}

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

.contact-card {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.45rem 1.4rem;
  background: var(--card-face);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: var(--card-shade);
  transition:
    transform 240ms var(--ease-smooth),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.contact-card:hover {
  transform: var(--card-lift);
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.contact-card h2 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-card p,
.contact-card label {
  color: var(--muted);
  font-size: 0.95rem;
}

.row-actions-center {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contact-newsletter-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #f0f4fc;
  margin-bottom: 0.5rem;
}

.contact-lead {
  margin-bottom: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: -0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(157, 197, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.78rem 0.9rem;
  background: rgba(5, 14, 28, 0.72);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 234, 156, 0.48);
  background: rgba(6, 18, 34, 0.82);
  box-shadow:
    0 0 0 3px rgba(255, 234, 156, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact-form button {
  justify-self: start;
  border: 0;
  padding: 0.88rem 1.45rem;
  border-radius: 999px;
  background: #ffea9c;
  color: #101827;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 10px 26px rgba(160, 110, 50, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 220ms var(--ease-smooth),
    box-shadow 220ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(160, 110, 50, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========== Contact page (.page-contact) ========== */
.page-hero--contact .page-lead {
  max-width: min(58ch, 100%);
}

.page-contact .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 380px);
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 0.35rem;
}

.page-contact .contact-panel {
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.25rem, 2.8vw, 1.65rem);
  background: var(--card-face);
  backdrop-filter: blur(18px) saturate(1.06);
  box-shadow: var(--card-shade);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.page-contact .contact-panel:hover {
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shade-hover);
}

.page-contact .contact-panel__head {
  margin-bottom: 1.15rem;
}

.page-contact .contact-panel__head .tag {
  margin-bottom: 0.45rem;
}

.page-contact .contact-panel__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: #f2f6ff;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  line-height: 1.2;
}

.page-contact .contact-panel__lead {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
  max-width: min(52ch, 100%);
}

.page-contact .contact-aside {
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem;
  background: linear-gradient(175deg, rgba(11, 24, 46, 0.72) 0%, rgba(5, 12, 24, 0.88) 100%);
  backdrop-filter: blur(14px) saturate(1.04);
  box-shadow: var(--card-shade);
}

.page-contact .contact-aside__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.page-contact .contact-aside__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.page-contact .contact-aside__list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.page-contact .contact-aside__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--gold);
  opacity: 0.85;
}

.page-contact .contact-aside__hint {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(168, 184, 212, 0.82);
  margin: 0 0 1.1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(120, 160, 210, 0.12);
}

.page-contact .contact-aside__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.page-contact .contact-aside__links .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.page-contact .contact-subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
  gap: 1.35rem 1.75rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 1.75rem) clamp(1.25rem, 2.8vw, 1.65rem);
  border: 1px solid var(--border-elevated);
  border-radius: var(--radius);
  background: var(--card-face);
  backdrop-filter: blur(18px) saturate(1.06);
  box-shadow: var(--card-shade);
  margin-top: 0.25rem;
}

.page-contact .contact-subscribe__intro {
  text-align: left;
}

.page-contact .contact-subscribe__intro .tag {
  margin-bottom: 0.4rem;
  margin-inline: 0;
  text-align: left;
}

.page-contact .contact-subscribe__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 600;
  color: #f0f4fc;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.page-contact .contact-subscribe__text {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
  margin-inline: 0;
  max-width: 42ch;
}

.page-contact .contact-subscribe .newsletter-form {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .page-contact .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .page-contact .contact-aside__links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-contact .contact-aside__links .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: min(100%, 11rem);
  }

  .page-contact .contact-subscribe {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .page-contact .contact-subscribe .newsletter-form {
    justify-content: stretch;
  }

  .page-contact .contact-subscribe .newsletter-form input {
    min-width: 0;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .newsletter-wrap {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    max-height: min(62vh, 560px);
  }

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

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 1.25rem;
  }

  .hero-content {
    max-width: none;
    justify-self: stretch;
  }

  .hero-image {
    justify-self: center;
  }

  .pillar-grid,
  .cred-grid {
    grid-template-columns: 1fr;
  }

  .split-insight {
    grid-template-columns: 1fr;
  }

  .checklist-bar {
    flex-direction: column;
    align-items: stretch;
  }

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

  .featured-chapters-grid,
  .home-resources-row {
    grid-template-columns: 1fr;
  }

  .home-showcase {
    grid-template-columns: 1fr;
  }

  .home-mini-mockups {
    margin-right: auto;
    justify-self: center;
  }

  .readers-tiers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero,
  .hero.hero--grand {
    padding-top: 1.15rem;
  }

  .hero-kicker {
    margin-top: 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  .page-hero h1,
  .section-head h2,
  .hero-content h1,
  .home-showcase-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .tag,
  .section-head .tag,
  .hero-kicker,
  .home-showcase-eyebrow,
  .book-why-head .tag {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .book-why-head {
    text-align: center;
  }

  /* Ensure homepage "Official Editions" text centers on mobile */
  .official-editions-pro .section-head {
    text-align: center;
  }

  .official-editions-pro .section-head h2,
  .official-editions-pro .section-head .section-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .official-editions-pro .section-head .tag {
    margin-inline: auto;
    text-align: center;
  }

  .hero-actions,
  .checklist-actions,
  .page-actions,
  .row-actions-center,
  .newsletter-form {
    justify-content: center;
  }

  .btn,
  .contact-form button,
  .newsletter-form button {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form button {
    justify-self: center;
  }

  .page-contact .contact-subscribe .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .page-contact .contact-subscribe .newsletter-form button {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .page-contact .contact-subscribe__intro {
    text-align: left;
  }

  .page-contact .contact-subscribe__intro .tag,
  .page-contact .contact-subscribe__text {
    margin-left: 0;
    margin-right: 0;
  }

  .page-contact .contact-subscribe__intro .tag {
    text-align: left;
  }

  .container {
    width: min(100%, calc(100% - 2 * max(var(--site-gutter), 16px)));
  }

  .site-header {
    backdrop-filter: blur(16px) saturate(1.05);
  }

  .nav-wrap {
    height: 64px;
  }

  .menu-btn {
    display: block;
    width: 44px;
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    border-radius: 0.62rem;
    border: 1px solid rgba(180, 205, 240, 0.34);
    background: linear-gradient(165deg, rgba(14, 32, 58, 0.92) 0%, rgba(6, 16, 30, 0.9) 100%);
    box-shadow:
      0 8px 22px rgba(0, 5, 18, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .menu-btn::before,
  .menu-btn::after {
    content: "";
    position: absolute;
    left: 13px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #e8eef8;
    transition: transform 220ms ease, top 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
  }

  .menu-btn::before {
    top: 14px;
    box-shadow: 0 6px 0 #e8eef8;
  }

  .menu-btn::after {
    top: 26px;
    opacity: 0;
  }

  .menu-btn:hover {
    border-color: rgba(255, 234, 156, 0.45);
    box-shadow:
      0 10px 24px rgba(0, 5, 18, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .menu-btn[aria-expanded="true"]::before {
    top: 21px;
    transform: rotate(45deg);
    box-shadow: none;
  }

  .menu-btn[aria-expanded="true"]::after {
    top: 21px;
    opacity: 1;
    transform: rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 3%;
    background: linear-gradient(170deg, rgba(8, 22, 42, 0.97) 0%, rgba(4, 12, 24, 0.96) 100%);
    border: 1px solid rgba(170, 205, 245, 0.24);
    border-radius: 0.72rem;
    padding: 0.34rem 0.38rem 0.28rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.08rem;
    min-width: min(180px, 58vw);
    box-shadow:
      0 16px 36px rgba(0, 4, 14, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(1.08);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.52rem 0.72rem;
    border-radius: 0.5rem;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    line-height: 1.25;
    text-align: left;
    border-bottom: 0;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    background: rgba(255, 234, 156, 0.14);
    color: var(--gold-bright);
  }

  .nav-links.open {
    display: flex;
    animation: navPanelReveal 280ms var(--ease-out-expo) both;
  }

  .hero {
    padding: 3rem 0 2.3rem;
  }

  .hero-content h1 {
    font-size: clamp(1.7rem, 9vw, 2.15rem);
    line-height: 1.12;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: clamp(1.55rem, 8.5vw, 2rem);
    line-height: 1.14;
  }

  .subtitle,
  .page-lead,
  .section-head .section-intro {
    font-size: 0.96rem;
    line-height: 1.64;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .btn,
  .checklist-actions .btn,
  .page-actions .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .checklist-bar,
  .contact-card,
  .split-panel,
  .resource-card,
  .chapter-card,
  .home-chapter-tile,
  .pillar-card {
    padding: 1.05rem 1rem;
  }

  .home-mini-mockups img {
    height: clamp(190px, 52vw, 260px);
  }

  .tag,
  .section-head .tag {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }

  .mockup-grid,
  .chapter-grid,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: clamp(1.55rem, 9.5vw, 1.9rem);
  }

  .section-head h2,
  .page-hero h1 {
    font-size: clamp(1.4rem, 8.8vw, 1.75rem);
  }

  .nav-links {
    min-width: 158px;
    right: 3%;
  }
}

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

  .scroll-progress {
    transition: none;
  }

  .site-loader,
  .site-loader.hidden {
    transition-duration: 0.28s;
    filter: none;
    transform: none;
  }

  .loader-orb {
    animation: none;
    border-top-color: #ffea9c;
    border-right-color: #7fabff;
  }

  .hero-image::before {
    animation: none;
  }

  body::before,
  body::after {
    animation: none;
    opacity: 0.72;
    transform: none;
    background-size: 100% 100%;
    background-position: 50% 50%;
    filter: none;
  }

  main::before {
    animation: none;
    opacity: 0.07;
    filter: none;
  }

  .reveal {
    filter: none;
    transition-duration: 0.35s;
  }

  .motion-stagger > * {
    transition-duration: 0.28s;
    transition-delay: 0ms !important;
  }

  .nav-links.open {
    animation: none;
  }

  .nav-links a:hover {
    transform: none;
  }

  .footer-pro-list a:hover {
    transform: none;
  }

  .brand:hover {
    letter-spacing: -0.02em;
  }
}

/* Client-ready: skip link, focus, professional footer */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.85rem;
  z-index: 200;
  padding: 0.65rem 1.15rem;
    background: #ffea9c;
  color: #0a1422;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(0, 4, 14, 0.4);
  transition: left 200ms var(--ease-smooth), box-shadow 200ms ease;
}

.skip-link:focus {
  left: 1rem;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: 3px;
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: var(--focus-offset);
}

.nav-links a:focus-visible {
  border-radius: 4px;
}

.footer-pro-top {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  gap: 2rem 2.2rem;
  padding: 2.15rem 0 1.65rem;
  align-items: start;
}

.footer-pro-brand .footer-pro-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #f6f8ff;
  display: inline-block;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
  text-shadow: 0 0 20px rgba(125, 168, 255, 0.12);
}

.footer-pro-brand .footer-pro-title:hover {
  color: var(--gold-bright);
}

.footer-pro-tagline {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
  max-width: 28ch;
}

.footer-pro-desc {
  margin-top: 0.55rem;
  color: rgba(196, 212, 236, 0.88);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 44ch;
}

.footer-pro-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.6rem;
}

.footer-pro-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer-pro-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-pro-list li {
  margin-bottom: 0.5rem;
}

.footer-pro-list a {
  display: inline-block;
  color: #c5d4e8;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition:
    color 200ms var(--ease-smooth),
    text-decoration-color 200ms ease,
    transform 220ms var(--ease-smooth);
}

.footer-pro-list a:hover {
  color: #fff;
  text-decoration: none;
  text-decoration-color: transparent;
  transform: translateX(3px);
}

.footer-pro-bottom {
  border-top: 1px solid rgba(120, 160, 220, 0.12);
  background: rgba(2, 6, 12, 0.5);
}

.footer-pro-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.2rem 0 1.4rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-pro-note {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(180, 198, 220, 0.75);
}

@media (max-width: 680px) {
  .official-editions-pro .home-showcase {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .official-editions-pro .home-showcase-copy {
    max-width: none;
    text-align: left;
  }

  .official-editions-pro .home-showcase-copy ul {
    width: 100%;
    max-width: min(100%, 48ch);
    margin-left: 0;
    margin-right: 0;
  }

  .official-editions-pro .home-showcase-copy li {
    text-align: left;
  }

  .official-editions-pro .home-showcase-copy > .btn {
    margin-left: 0;
    margin-right: 0;
  }

  .official-editions-pro .home-mini-mockups {
    width: min(100%, 390px);
    max-width: 390px;
    justify-self: center;
    margin-inline: auto;
  }

  .official-editions-pro .home-mini-mockups img {
    width: 100%;
    max-width: 100%;
  }

  .hero-content,
  .hero-content.glass-panel {
    text-align: center;
    align-items: center;
  }

  .hero--home .home-hero-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .hero--home .home-hero-panel__inner > p.home-hero-lead,
  .hero--home .home-hero-panel__inner > p.home-hero-body {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero--home .home-hero-card__actions {
    text-align: center;
  }

  .hero-content > p,
  .hero .subtitle,
  .hero .book-line,
  .hero .tag,
  .hero .hero-kicker {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero,
  .hero.hero--grand {
    padding: 2rem 0 1.9rem;
  }

  .hero-grid,
  .home-showcase,
  .split-insight,
  .contact-grid,
  .featured-chapters-grid,
  .home-resources-row,
  .readers-tiers,
  .chapter-grid,
  .mockup-grid,
  .resource-list {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .section,
  .home-band,
  .home-band--spacious {
    padding: clamp(2rem, 6.2vw, 2.45rem) 0;
  }

  .section-head {
    margin-bottom: 0.9rem;
  }

  .section-head .section-intro,
  .page-lead,
  .subtitle {
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.58;
  }

  .hero-content.glass-panel,
  .chapter-card,
  .resource-card,
  .split-panel,
  .contact-card,
  .newsletter-wrap,
  .pillar-card,
  .readers-tier,
  .quote-wrap {
    padding: 1rem 0.95rem;
    border-radius: 0.8rem;
  }

  .home-mini-mockups,
  .official-editions-center .home-mini-mockups {
    width: min(100%, 340px);
    justify-self: center;
    margin-inline: auto;
    height: auto;
  }

  .home-mini-mockups img,
  .official-editions-center .home-mini-mockups img {
    height: auto;
    width: min(100%, 320px);
    max-height: none;
    margin-inline: auto;
  }

  .nav-links {
    right: max(12px, env(safe-area-inset-right, 0px));
    left: auto;
    width: min(200px, calc(100vw - 24px));
    min-width: min(180px, 88vw);
    border-radius: 0.62rem;
    padding: 0.32rem 0.36rem 0.28rem;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.72rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.42rem;
  }

  .hero-actions .btn,
  .checklist-actions .btn,
  .page-actions .btn,
  .home-showcase-copy > .btn {
    width: min(100%, 320px);
    flex: 0 1 auto;
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    justify-content: center;
  }

  .home-showcase-copy {
    text-align: center;
  }

  .home-showcase-copy ul {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-pro-top {
    grid-template-columns: 1fr;
    padding: 1.65rem 0 1.35rem;
    gap: 1.5rem;
    text-align: left;
  }

  .footer-pro-brand {
    max-width: 100%;
  }

  .footer-pro-brand .footer-pro-title {
    font-size: clamp(1.28rem, 5.2vw, 1.52rem);
  }

  .footer-pro-tagline,
  .footer-pro-desc {
    max-width: 100%;
  }

  .footer-pro-cols {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    text-align: left;
  }

  .footer-pro-heading {
    margin-bottom: 0.55rem;
  }

  .footer-pro-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.65rem;
  }

  .page-author .author-spotlight__actions .btn {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 420px) {
  .hero,
  .hero.hero--grand {
    padding-top: 1.6rem;
  }

  .container {
    width: min(100%, calc(100% - 2 * max(var(--site-gutter), 14px)));
  }

  .hero-content h1 {
    font-size: clamp(1.45rem, 9.2vw, 1.82rem);
  }
}

/* Sitewide mobile polish: rhythm, type scale, touch targets (overrides narrower breakpoints above) */
@media (max-width: 768px) {
  :root {
    --site-gutter: max(16px, min(5.25vw, 24px));
    --space-section: clamp(2.1rem, 7.2vw, 3.45rem);
  }

  html {
    scroll-padding-top: 72px;
  }

  .brand {
    font-size: clamp(1.15rem, 4.8vw, 1.58rem);
    line-height: 1.18;
  }

  .page-hero {
    padding-top: clamp(1.55rem, 4.8vw, 2.35rem);
    padding-bottom: clamp(1.35rem, 3.8vw, 1.95rem);
  }

  .page-lead {
    font-size: 0.97rem;
    line-height: 1.7;
  }

  .section-head .section-intro {
    max-width: min(46ch, 100%);
  }

  .editorial-strip {
    flex-direction: column;
    align-items: center;
    gap: 0.62rem;
    width: 100%;
  }

  .editorial-strip li {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
    box-sizing: border-box;
  }

  .contact-form input {
    min-height: 48px;
  }

  .contact-form textarea {
    min-height: 7.5rem;
  }

  .contact-form button {
    min-height: 48px;
    width: 100%;
    justify-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-contact .newsletter-form input,
  .newsletter-form input {
    min-height: 48px;
  }

  .page-contact .newsletter-form button,
  .newsletter-form button {
    min-height: 48px;
  }

  .chapter-card h3 {
    font-size: clamp(1rem, 4.2vw, 1.24rem);
    line-height: 1.28;
  }

  .home-chapter-tile h3 {
    font-size: clamp(1.02rem, 4vw, 1.2rem);
  }

  .cred-card h3,
  .pillar-card h3 {
    font-size: clamp(1.04rem, 4vw, 1.22rem);
  }

  .resource-card h3 {
    font-size: clamp(1.05rem, 3.8vw, 1.2rem);
  }

  .split-panel h3 {
    font-size: clamp(1.12rem, 4.2vw, 1.28rem);
  }

  .btn {
    min-height: 46px;
    box-sizing: border-box;
  }
}

/* Display type — editorial restraint */
.hero-content h1,
.section-head h2,
.page-hero h1,
.pillar-card h3,
.home-chapter-tile h3,
.footer-pro-title {
  font-feature-settings: "kern" 1, "liga" 1;
}

@media print {
  .site-header,
  .scroll-progress,
  .site-loader,
  .site-starfield,
  .skip-link,
  .menu-btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}

