:root {
  color-scheme: light;
  --ink: #201a29;
  --muted: #6d6676;
  --purple: #7040a6;
  --purple-dark: #4b2874;
  --purple-soft: #f2ecfa;
  --lavender: #e9def6;
  --line: #e9e3ef;
  --white: #fff;
  --container: 1160px;
  --radius-lg: 28px;
  --shadow: 0 20px 55px rgba(56, 33, 82, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 12px; padding: 10px 14px; z-index: 1000; background: #fff; border: 2px solid var(--purple); border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(233,227,239,.82); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; width: 142px; }
.brand img { width: 100%; height: 68px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 54px); }
.nav-link { position: relative; text-decoration: none; color: #50485a; font-size: .96rem; font-weight: 600; padding: 10px 0; transition: color .2s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: var(--purple); }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; border-radius: 2px; background: var(--purple); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; color: var(--ink); cursor: pointer; }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(112deg, #f8f5fc 0%, #f0e8f9 54%, #e9def6 100%); }
.hero-grid { min-height: 490px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 0; padding-block: 82px 90px; }
.hero-copy { position: relative; z-index: 2; max-width: 900px; margin-inline: auto; padding-block: 8px; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--purple); font-size: .76rem; font-weight: 800; letter-spacing: .16em; line-height: 1.4; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
.hero h1 { max-width: 900px; margin: 0 auto 22px; font-size: clamp(3rem, 5.5vw, 4.8rem); line-height: 1.04; }
.hero h1 span { color: var(--purple); }
.hero-description { max-width: 780px; margin: 0 auto 30px; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 0 23px; border-radius: 999px; text-decoration: none; font-size: .94rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .nav-link:focus-visible, .menu-toggle:focus-visible { outline: 3px solid #a985d1; outline-offset: 4px; }
.button-primary { color: #fff; background: var(--purple); box-shadow: 0 10px 24px rgba(112,64,166,.2); }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 13px 28px rgba(112,64,166,.25); }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.3); }
.hero-orb-one { width: 420px; height: 420px; right: -120px; top: -190px; }
.hero-orb-two { width: 220px; height: 220px; left: 43%; bottom: -150px; }

.hero-showcase { min-height: 410px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.showcase-glow { position: absolute; z-index: -1; width: min(420px, 88%); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.48); filter: blur(2px); }
.book { position: absolute; width: clamp(155px, 18vw, 218px); aspect-ratio: 3 / 4; background: #fff; border: 7px solid #fff; border-radius: 9px; box-shadow: var(--shadow); overflow: hidden; }
.book img { width: 100%; height: 100%; object-fit: cover; }
.book-front { z-index: 3; transform: translateY(5px) rotate(-3deg); }
.book-back { z-index: 2; opacity: .98; }
.book-back-left { transform: translate(-128px, 18px) rotate(-13deg) scale(.91); }
.book-back-right { transform: translate(128px, 22px) rotate(12deg) scale(.91); }
.series-books .book { transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.series-books:hover .book-front { transform: translateY(-3px) rotate(-3deg) scale(1.025); }
.series-books:hover .book-back-left { transform: translate(-140px, 10px) rotate(-15deg) scale(.94); }
.series-books:hover .book-back-right { transform: translate(140px, 14px) rotate(14deg) scale(.94); }
.sparkle { position: absolute; color: var(--purple); font-size: 2rem; }
.sparkle-one { right: 8%; top: 15%; }
.sparkle-two { left: 8%; bottom: 20%; font-size: 2.4rem; }
.showcase-caption { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); width: max-content; color: #6e5b80; font-family: Georgia, serif; font-style: italic; font-size: 1rem; }

.section { padding-block: 100px; }
.section-heading { max-width: 710px; margin: 0 auto 48px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2, .about-copy h2 { margin-bottom: 16px; font-size: clamp(2.3rem, 4vw, 3.35rem); line-height: 1.12; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }
.series-card { display: grid; grid-template-columns: .83fr 1.4fr; align-items: center; gap: 46px; padding: clamp(28px, 4.5vw, 54px); border: 1px solid #eee7f5; border-radius: var(--radius-lg); background: linear-gradient(115deg, #f8f5fc 0%, #f2ebfa 100%); box-shadow: 0 12px 38px rgba(58,35,86,.06); }
.series-card-copy { max-width: 390px; }
.series-kicker { display: inline-block; margin-bottom: 11px; color: var(--purple); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.series-card h3 { margin-bottom: 12px; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.series-card-copy p { margin-bottom: 24px; color: var(--muted); }
.series-books { min-height: 380px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; }

.about { padding-top: 82px; background: #f3ebfa; }
.about-inner { display: block; max-width: 900px; margin-inline: auto; }
.about-copy { text-align: center; }
.about-copy h2 { max-width: none; margin-inline: auto; text-align: center; }
.about-copy > p:not(.eyebrow) { max-width: 780px; margin: 0 auto; color: var(--muted); line-height: 1.85; text-align: center; }
.about-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px 22px; margin-top: 28px; }
.value-item { display: inline-flex; align-items: center; gap: 9px; color: #51465c; font-size: .9rem; font-weight: 700; }
.value-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #eee5f7; color: var(--purple); font-size: 1.1rem; }

.site-footer { padding-block: 34px 26px; background: #332044; color: rgba(255,255,255,.83); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.social-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; }
.social-link { display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.social-link:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.social-link:focus-visible { outline: 3px solid #d5b9ef; outline-offset: 4px; }
.social-icon { display: block; width: 20px; height: 20px; flex: none; }
.copyright { width: 100%; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.62); font-size: .8rem; text-align: center; }

@media (max-width: 850px) {
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding-block: 66px 70px; }
  .hero-copy { max-width: 850px; margin-inline: auto; text-align: center; }
  .hero-description { margin-inline: auto; }
  .hero-showcase { min-height: 360px; }
  .book { width: clamp(145px, 27vw, 205px); }
  .series-card { grid-template-columns: 1fr; gap: 35px; }
  .series-card-copy { max-width: 620px; text-align: center; margin-inline: auto; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 34px, var(--container)); }
  .header-inner { min-height: 74px; }
  .brand { width: 120px; }
  .brand img { height: 58px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 14px 24px 20px; flex-direction: column; align-items: stretch; gap: 5px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 24px rgba(40,25,55,.08); }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 12px 4px; }
  .nav-link.active::after { right: auto; width: 30px; bottom: 4px; }
  .hero-grid { padding-block: 55px 58px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .hero-description { font-size: 1rem; }
  .hero-showcase { min-height: 300px; }
  .book { width: clamp(118px, 34vw, 160px); border-width: 5px; }
  .book-back-left { transform: translate(-82px, 16px) rotate(-13deg) scale(.9); }
  .book-back-right { transform: translate(82px, 18px) rotate(12deg) scale(.9); }
  .series-books { min-height: 300px; }
  .series-books .book { width: clamp(112px, 31vw, 150px); }
  .series-books:hover .book-back-left { transform: translate(-78px, 12px) rotate(-15deg) scale(.92); }
  .series-books:hover .book-back-right { transform: translate(78px, 14px) rotate(14deg) scale(.92); }
  .sparkle-one { right: 2%; top: 9%; }
  .sparkle-two { left: 2%; bottom: 20%; }
  .showcase-caption { bottom: -5px; font-size: .9rem; }
  .section { padding-block: 70px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .about-copy h2 { font-size: 2.35rem; }
  .series-card { padding: 27px 20px 30px; gap: 27px; }
        .about { padding-top: 55px; }
  .about-copy { text-align: center; }
  .about-values { justify-content: center; gap: 12px; }
  .value-item { font-size: .82rem; }
  .footer-inner { text-align: center; }
  .social-links { gap: 10px; }
  .social-link { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.footer-title { margin: 0; color: #fff; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; text-align: center; }
