:root {
  --ink: #132033;
  --muted: #5c6472;
  --navy: #0e2438;
  --navy2: #14385a;
  --cream: #fff8e8;
  --soft: #f8f1df;
  --gold: #c89b3c;
  --gold2: #f2d48a;
  --rose: #b96f7d;
  --sage: #789174;
  --white: #fff;
  --shadow: 0 22px 60px rgba(15, 29, 45, 0.16);
  --radius: 24px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf0, #f7efdf 55%, #fff);
}
h1,
h2,
h3,
.brand strong {
  font-family: Georgia, 'Times New Roman', serif;
}
a {
  color: inherit;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 155, 60, 0.28);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.8rem;
}
.brand-mark {
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(20, 56, 90, 0.18);
}
.brand span {
  display: grid;
  line-height: 1.1;
}
.brand small {
  font-size: 0.76rem;
  color: var(--muted);
  max-width: 290px;
  margin-top: 0.2rem;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-link,
.dropdown-menu a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
  color: #243246;
}
.nav-link:hover,
.nav-link.is-active,
.dropdown-menu a:hover {
  background: rgba(200, 155, 60, 0.13);
  color: #0e2438;
}
.menu-toggle {
  display: none;
}
.nav-dropdown {
  position: relative;
}
.dropdown-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 240px;
  background: #fffaf0;
  border: 1px solid rgba(200, 155, 60, 0.22);
  border-radius: 20px;
  padding: 0.6rem;
  box-shadow: var(--shadow);
  display: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: grid;
}
.site-section {
  padding: 76px 0;
}
.section-hero {
  background:
    radial-gradient(
      circle at 15% 0,
      rgba(242, 212, 138, 0.38),
      transparent 32%
    ),
    linear-gradient(135deg, #fff8e8, #f4ead3);
}
.section-soft {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.52),
    rgba(241, 225, 194, 0.55)
  );
}
.section-inner {
  position: relative;
}
.section-heading {
  max-width: 860px;
  margin: 0 auto 2.3rem;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #8d6421;
  font-weight: 800;
  font-size: 0.78rem;
  margin: 0 0 0.8rem;
}
.section-title {
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1.05;
  margin: 0.15rem 0;
  color: var(--navy);
}
.section-lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #445064;
  line-height: 1.7;
  margin: 0.9rem auto 0;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy {
  background: rgba(255, 255, 255, 0.62);
  padding: 2.2rem;
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-kicker {
  color: #8d6421;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.hero-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  margin: 0.2rem 0 1rem;
  color: var(--navy);
}
.hero-copy p {
  font-size: 1.12rem;
  line-height: 1.75;
}
.hero-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
}
.hero-showcase img,
.book-cover {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #eee;
}
.hero-showcase img:nth-child(2) {
  transform: translateY(-22px);
  z-index: 2;
}
.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.button-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 36, 56, 0.2);
}
.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--navy);
  border-color: rgba(200, 155, 60, 0.48);
}
.section-divider {
  display: block;
  width: min(620px, 70vw);
  height: auto;
  margin: -28px auto -28px;
  position: relative;
  z-index: 3;
}
.card-grid,
.book-grid,
.team-grid {
  display: grid;
  gap: 1.35rem;
}
.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.book-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card,
.book-card,
.team-card,
.mini-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 155, 60, 0.24);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 16px 45px rgba(15, 29, 45, 0.09);
}
.card h2,
.book-info h2,
.team-card h2,
.mini-card h2 {
  color: var(--navy);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.15;
}
.card p,
.book-info p,
.team-card p,
.mini-card p {
  color: #4e5968;
  line-height: 1.62;
}
.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #91651f;
  font-weight: 900;
  margin: 0 0 0.35rem;
}
.text-link {
  font-weight: 900;
  color: #835a18;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.book-card {
  display: grid;
  grid-template-rows: auto 1fr;
}
.book-cover-link {
  display: block;
}
.book-cover {
  aspect-ratio: 2/3;
  object-fit: cover;
}
.book-cover.large {
  max-width: 360px;
}
.book-cover.gift {
  max-width: 360px;
}
.book-hook {
  font-family: Georgia, serif;
  font-size: 1.08rem;
  color: #8d6421 !important;
}
.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(200, 155, 60, 0.24);
  border-radius: 30px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.split-panel.reverse {
  grid-template-columns: 1fr 1fr;
}
.portrait {
  width: 100%;
  max-width: 360px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  justify-self: center;
}
.portrait.large {
  max-width: 420px;
}
.team-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
}
.team-strip img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 29, 45, 0.14);
}
.center-note {
  text-align: center;
  color: var(--muted);
  margin: 1.2rem 0;
}
.team-card {
  text-align: center;
}
.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 0.75rem;
}
.mini-card {
  text-align: center;
}
.mini-card img {
  width: 100%;
  max-width: 150px;
  margin: 0 auto 1rem;
  display: block;
}
.coming-soon {
  display: inline-flex !important;
  background: rgba(200, 155, 60, 0.16);
  color: #805b19 !important;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 900;
}
.signup-form,
.contact-form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 155, 60, 0.22);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
label {
  display: grid;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--navy);
}
input,
select,
textarea {
  font: inherit;
  border: 1px solid rgba(19, 32, 51, 0.18);
  border-radius: 14px;
  padding: 0.85rem;
  background: #fff;
}
textarea {
  resize: vertical;
}
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer {
  background: #0e2438;
  color: #f7ead0;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid a {
  display: block;
  color: #f7ead0;
  text-decoration: none;
  margin: 0.55rem 0;
}
.footer-grid a:hover {
  text-decoration: underline;
}
.footer-grid p {
  color: #d9cba9;
  line-height: 1.6;
}
.footer-mark {
  border-radius: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
  margin-top: 2rem;
  color: #d9cba9;
}
[hidden],
.hidden,
.is-hidden,
.wp-section-hidden,
.hide-section,
.wpconvert-hide,
.wpconvert-hidden {
  display: none !important;
}
.wp-hide-compatible {
  display: none !important;
}
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
    border: 1px solid rgba(200, 155, 60, 0.34);
    background: #fff8e8;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 900;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: #fffaf0;
    border: 1px solid rgba(200, 155, 60, 0.24);
    border-radius: 22px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    align-items: stretch;
  }
  .primary-nav.is-open {
    display: grid;
  }
  .nav-link {
    justify-content: flex-start;
  }
  .dropdown-menu {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  .hero-layout,
  .split-panel,
  .split-panel.reverse {
    grid-template-columns: 1fr;
  }
  .card-grid,
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .team-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }
  .site-section {
    padding: 54px 0;
  }
  .card-grid,
  .book-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .hero-showcase {
    grid-template-columns: repeat(3, 32%);
    gap: 0.55rem;
  }
  .brand small {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2.2rem;
  }
}

/* Premium refinements added after review */
.card-grid.two-card,
.card-grid.centered-cards {
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  align-items: stretch;
}
.card-grid.three-card {
  grid-template-columns: repeat(3, minmax(260px, 360px));
  justify-content: center;
}
.content-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 155, 60, 0.24);
  border-radius: 30px;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  line-height: 1.72;
  color: #3f4a59;
}
.content-panel h2,
.content-panel h3 {
  color: var(--navy);
  margin-top: 0;
}
.content-panel p {
  line-height: 1.72;
}
.feature-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}
.feature-list li {
  line-height: 1.55;
}
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 940px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(200, 155, 60, 0.24);
  border-radius: 22px;
  padding: 1.2rem 1.35rem;
  box-shadow: 0 14px 38px rgba(15, 29, 45, 0.08);
}
.faq-item h2 {
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
  color: var(--navy);
}
.faq-item p {
  margin: 0.25rem 0 0;
  color: #4e5968;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .card-grid.two-card,
  .card-grid.centered-cards,
  .card-grid.three-card {
    grid-template-columns: 1fr;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
