/* =====================================================================
   Wendy Boutilier — Artist · Author · Voice for ME
   Shared stylesheet (used by every page)
   ===================================================================== */

:root {
  --indigo: #2b2a52;
  --indigo-soft: #3b3a63;
  --violet: #6b4e9e;
  --violet-light: #8a6db8;
  --lavender: #b9a5d9;
  --lavender-pale: #e6ddf1;
  --slate: #7c8fb5;
  --slate-deep: #5f77a6;
  --sage: #93a892;
  --sage-deep: #6f8a6e;
  --cream: #faf7f2;
  --cream-2: #f3eee6;
  --ink: #33314f;
  --ink-soft: #5a5872;
  --amber: #e0913c;
  --white: #ffffff;
  --shadow-lg: 0 30px 60px -20px rgba(43, 42, 82, .35);
  --shadow-md: 0 18px 40px -18px rgba(43, 42, 82, .28);
  --shadow-sm: 0 8px 24px -12px rgba(43, 42, 82, .25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --script: 'Dancing Script', cursive;
  --script-2: 'Sacramento', cursive;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--indigo)
}

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

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

section {
  position: relative
}

section[id] {
  scroll-margin-top: 96px
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.25rem)
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: .8rem
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 1px;
  width: 34px;
  background: linear-gradient(90deg, transparent, var(--lavender), transparent);
  transition: width .55s var(--ease)
}

.eyebrow.left::before {
  display: none
}

.script-accent {
  font-family: var(--script);
  color: var(--violet);
  font-weight: 600
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  letter-spacing: .01em;
  transition: letter-spacing .55s var(--ease), color .5s var(--ease)
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 56ch
}

.btn {
  --bg: var(--violet);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-weight: 500 !important;
  font-size: .82rem !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  padding: .95rem 1.9rem !important;
  border-radius: 999px;
  border: 1.5px solid var(--bg);
  background: var(--bg);
  color: var(--fg) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease), background .4s var(--ease)
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--indigo), var(--violet));
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: -1
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.btn:hover::after {
  transform: translateY(0)
}

.btn .arw {
  transition: transform .4s var(--ease)
}

.btn:hover .arw {
  transform: translateX(5px)
}

.btn.ghost {
  --bg: transparent;
  --fg: var(--indigo);
  border-color: var(--lavender)
}

.btn.ghost::after {
  background: linear-gradient(120deg, var(--violet), var(--slate-deep))
}

.btn.ghost:hover {
  color: #fff
}

.btn.light {
  --bg: #fff;
  --fg: var(--indigo);
  border-color: #fff
}

.btn.light::after {
  background: linear-gradient(120deg, var(--lavender), var(--slate))
}

.btn.light:hover {
  color: var(--indigo)
}

body {
  zoom: 115%;
}

@media (-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 144dpi) {
  body {
    zoom: 76.5% !important;
  }
}

@media (-webkit-min-device-pixel-ratio: 1.25) and (-webkit-max-device-pixel-ratio: 1.49),
(min-resolution: 120dpi) and (max-resolution: 143dpi) {
  body {
    zoom: 92% !important;
  }
}



/* ---------- Hero (homepage) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 3.5rem;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 85% 8%, #efe7f6 0%, transparent 55%),
    radial-gradient(90% 80% at 8% 90%, #e4ecf4 0%, transparent 55%),
    radial-gradient(70% 60% at 60% 100%, #eaf0e8 0%, transparent 60%),
    linear-gradient(180deg, #fbf9f5, #f4eee7)
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?q=80&w=1400&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: .09;
  mix-blend-mode: multiply
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  z-index: -1;
  animation: drift 18s ease-in-out infinite
}

.blob.b1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #c9b6e6, transparent 70%);
  top: -80px;
  right: -60px
}

.blob.b2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #a9bfe0, transparent 70%);
  bottom: -100px;
  left: -40px;
  animation-delay: -6s
}

.blob.b3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #bcd0ba, transparent 70%);
  top: 40%;
  left: 45%;
  animation-delay: -11s
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(30px, -24px) scale(1.06)
  }

  66% {
    transform: translate(-22px, 18px) scale(.96)
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  width: 100%
}

.hero-copy {
  max-width: 37rem
}

.hero-copy .kicker {
  margin-bottom: 1.4rem
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: .01em;
  margin-bottom: .4rem
}

.hero h1 .fn {
  display: block;
  color: var(--indigo)
}

.hero h1 .ln {
  display: block;
  background: linear-gradient(100deg, var(--violet), var(--slate-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin: 1.1rem 0 1.4rem;
  font-family: var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--ink-soft)
}

.roles .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lavender)
}

.roles .me {
  color: var(--violet);
  font-weight: 600;
  transition: text-shadow .4s ease
}

.roles .me:hover {
  text-shadow: 0 0 16px rgba(107, 78, 158, .55)
}

.hero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--indigo);
  margin-bottom: 2rem
}

.hero-tag em {
  font-family: var(--script);
  font-style: normal;
  color: var(--violet);
  font-size: 1.9rem;
  display: inline-block;
  transition: transform .5s var(--ease)
}

.hero-tag:hover em {
  transform: translateY(-3px) rotate(-4deg)
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
  justify-self: center
}

.orbit {
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1.5px dashed rgba(124, 143, 181, .4);
  border-radius: 50%;
  animation: spin 60s linear infinite
}

.orbit.inner {
  width: 520px;
  height: 520px;
  border-color: rgba(147, 168, 146, .4);
  animation-duration: 44s;
  animation-direction: reverse
}

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

.hero-photo {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  z-index: 1
}

.hero-photo .ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--lavender), var(--slate), var(--sage), var(--lavender));
  opacity: .9;
  filter: blur(.4px)
}

.hero-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .8s var(--ease);
  z-index: 2
}

.hero-photo:hover img {
  transform: scale(1.04)
}

.hero-photo .crest-badge {
  position: absolute;
  bottom: -18px;
  right: -8px;
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  transition: transform .6s var(--ease);
  z-index: 3
}

.hero-photo:hover .crest-badge {
  transform: rotate(-8deg) scale(1.06)
}

.hero-photo .crest-badge svg {
  width: 78px;
  height: 78px
}

.float-butterfly {
  position: absolute;
  width: 120px;
  animation: flutter 7s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(107, 78, 158, .28));
  z-index: 2
}

.fb1 {
  top: 4%;
  left: 0;
  animation-delay: 0s
}

.fb2 {
  bottom: 6%;
  right: 2%;
  width: 78px;
  animation-delay: -3.5s
}

@keyframes flutter {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg)
  }

  50% {
    transform: translateY(-26px) rotate(4deg)
  }
}

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--ink-soft);
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase
}

.scroll-hint .mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--lavender);
  border-radius: 12px;
  position: relative
}

.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--violet);
  animation: wheel 1.6s infinite
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0)
  }

  40% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 12px)
  }
}

/* ---------- Inner page hero / header ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(120% 90% at 85% 0%, #efe7f6 0%, transparent 55%),
    radial-gradient(90% 80% at 8% 100%, #e4ecf4 0%, transparent 55%),
    linear-gradient(180deg, #fbf9f5, #f4eef8)
}

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

.page-hero .eyebrow {
  justify-content: center
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  letter-spacing: .01em;
  margin: .7rem 0 .5rem
}

.page-hero .lead {
  margin: .5rem auto 0;
  text-align: center
}

.page-hero .blob {
  opacity: .4
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1.8rem
}

.breadcrumb a {
  color: var(--violet);
  transition: color .3s var(--ease)
}

.breadcrumb a:hover {
  color: var(--indigo)
}

.breadcrumb .sep {
  color: var(--lavender)
}

/* ---------- Section frame ---------- */
.band {
  padding: clamp(4.5rem, 9vw, 5rem) 0
}

.band.tint {
  background: linear-gradient(180deg, #f6f1ea, #fbf8f3)
}

.band.lav {
  background: linear-gradient(180deg, #f4eefa, #faf7f2)
}

.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.4rem
}

.center .lead {
  margin-inline: auto;
  text-align: center
}

/* ---------- Scroll reveal (bidirectional) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(.985);
  filter: blur(5px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform, filter
}

body.scroll-up .reveal {
  transform: translateY(-48px) scale(.985)
}

.reveal.in {
  opacity: 1;
  transform: none;
  filter: none
}

.reveal.from-left {
  transform: translateX(-56px) scale(.985)
}

.reveal.from-right {
  transform: translateX(56px) scale(.985)
}

body.scroll-up .reveal.from-left {
  transform: translateX(-56px) translateY(-16px) scale(.985)
}

body.scroll-up .reveal.from-right {
  transform: translateX(56px) translateY(-16px) scale(.985)
}

.reveal.from-left.in,
.reveal.from-right.in {
  transform: none
}

.reveal.zoom {
  transform: scale(.88)
}

body.scroll-up .reveal.zoom {
  transform: scale(.88) translateY(-14px)
}

.reveal.zoom.in {
  transform: none
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  color: var(--lavender)
}

.divider .heart {
  color: var(--violet);
  transition: transform .5s var(--ease)
}

section:hover .divider .heart {
  transform: scale(1.28)
}

.divider .ln {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--lavender))
}

.divider .ln.r {
  background: linear-gradient(90deg, var(--lavender), transparent)
}

.center:hover .eyebrow::before,
.center:hover .eyebrow::after {
  width: 54px
}

/* ---------- Quote band ---------- */
.quoteband {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center
}

.quoteband .qb-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(150deg, rgba(43, 42, 82, .9), rgba(60, 55, 104, .82)), url("https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-attachment: fixed;
  background-position: center
}

.quoteband .wrap {
  position: relative;
  z-index: 1
}

.quoteband .mark {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--lavender);
  line-height: .4;
  display: block;
  margin-bottom: 1rem
}

.quoteband blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  color: #fff;
  max-width: 40ch;
  margin: 0 auto 1.4rem;
  line-height: 1.35
}

.quoteband cite {
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .76rem;
  color: var(--lavender)
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center
}

.portrait {
  position: relative
}

.portrait .frame {
  position: relative;
  border-radius: 200px 200px 12px 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #e9e0f2, #d7e0ee 55%, #dfe8dc);
  transition: transform .7s var(--ease)
}

.portrait:hover .frame {
  transform: translateY(-6px)
}

.portrait .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .9s var(--ease)
}

.portrait:hover .frame img {
  transform: scale(1.05)
}

.portrait .tagchip {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: .6rem 1.4rem;
  font-family: var(--script);
  font-size: 1.35rem;
  color: var(--violet);
  white-space: nowrap;
  transition: transform .5s var(--ease)
}

.portrait:hover .tagchip {
  transform: translateX(-50%) translateY(-4px) rotate(-2deg)
}

.portrait .sprig {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 120px;
  opacity: .9
}

.about-copy h2 {
  margin-bottom: 1.2rem
}

.about-copy p {
  margin-bottom: 1.1rem;
  color: var(--ink-soft)
}

.about-copy p strong {
  color: var(--indigo);
  font-weight: 600
}

.signature {
  font-family: var(--script);
  font-size: 2.4rem;
  color: var(--violet);
  margin-top: .6rem;
  display: inline-block;
  transition: transform .55s var(--ease)
}

.signature:hover {
  transform: rotate(-2deg) scale(1.04)
}

.facts {
  display: flex;
  gap: 2.4rem;
  margin-top: 1.8rem;
  flex-wrap: wrap
}

.facts .f {
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease)
}

.facts .f:hover {
  transform: translateY(-6px)
}

.facts .f b {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--indigo);
  line-height: 1;
  transition: color .4s var(--ease)
}

.facts .f:hover b {
  color: var(--violet)
}

.facts .f span {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

/* ---------- The Book (3D mockup) ---------- */
.book-feature {
  background:
    radial-gradient(60% 55% at 62% 42%, #efe7f6 0%, transparent 60%),
    linear-gradient(180deg, #f6f1ea, #efe8f4)
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.4rem, 6vw, 5rem);
  align-items: center
}

.book-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px
}

.book-stage::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 165, 217, .55), transparent 68%);
  filter: blur(10px);
  z-index: 0
}

.book-stage::after {
  content: "";
  position: absolute;
  bottom: 60px;
  width: 210px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 18, 44, .4), transparent 72%);
  filter: blur(12px);
  z-index: 0;
  animation: groundshadow 6.5s ease-in-out infinite
}

@keyframes groundshadow {

  0%,
  100% {
    transform: scale(1);
    opacity: .5
  }

  50% {
    transform: scale(.86);
    opacity: .34
  }
}

.book-mock {
  position: relative;
  z-index: 1;
  width: 290px;
  animation: bookfloat 6.5s ease-in-out infinite;
  transition: transform .9s var(--ease)
}

@keyframes bookfloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-18px)
  }
}

.book-stage:hover .book-mock {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.03)
}

.book-mock img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 36px rgba(20, 18, 44, .42))
}

.book-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--lavender-pale);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1.3rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease)
}

.book-copy .badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md)
}

.book-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: .4rem
}

.book-copy .subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--amber);
  margin-bottom: 1.2rem
}

.book-copy p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem
}

.pull {
  border-left: 3px solid var(--lavender);
  padding: .4rem 0 .4rem 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
  color: var(--indigo);
  margin: 1.4rem 0;
  transition: border-color .45s var(--ease), padding-left .45s var(--ease)
}

.pull:hover {
  border-color: var(--violet);
  padding-left: 1.6rem
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem
}

.stars {
  color: var(--amber);
  letter-spacing: .15em;
  font-size: 1rem;
  display: inline-block;
  transition: transform .4s var(--ease)
}

.stars:hover {
  transform: scale(1.06)
}

.buy-row {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  align-items: center
}

.buy-row .where {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.buy-row .logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--indigo);
  opacity: .8
}

.buy-row .logos span,
.buy-row .logos a {
  transition: color .3s var(--ease)
}

.buy-row .logos span:hover,
.buy-row .logos a:hover {
  color: var(--violet)
}

/* ---------- Inside the Book ---------- */
.inside-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center
}

.inside-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
  background: linear-gradient(150deg, #d7e0ee, #8a6db8)
}

.inside-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.inside-img:hover img {
  transform: scale(1.05)
}

.inside-img .cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: .5rem .9rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--indigo);
  font-size: .95rem
}

.themes {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .9rem
}

.themes li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  color: var(--ink-soft);
  transition: transform .4s var(--ease)
}

.themes li:hover {
  transform: translateX(6px)
}

.themes .tk {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--slate-deep));
  color: #fff;
  margin-top: 2px
}

.themes b {
  color: var(--indigo);
  font-weight: 600;
  font-family: var(--serif);
  font-size: 1.15rem
}

/* ---------- Praise ---------- */
/* .praise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch
} */

.praise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 1.5rem;
    align-items: center;
    /* width: 45%; */
    margin-inline: auto;
}

.tcard {
  background: #fff;
  border: 1px solid var(--lavender-pale);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.tcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg)
}

.tcard.reveal {
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease), box-shadow .5s var(--ease);
  transition-delay: var(--rd, 0ms), var(--rd, 0ms), var(--rd, 0ms), 0ms
}

.tcard .qm {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: .2;
  color: var(--lavender);
  height: 1rem
}

.tcard p {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5
}

.tcard .who {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: auto
}

.tcard .who img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lavender-pale)
}

.tcard .who .nm {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--indigo);
  font-size: 1.05rem;
  line-height: 1.1
}

.tcard .who .rl {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet)
}

/* ---------- Art ---------- */
section#art {
  padding: 0 0 80px
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem
}

.art {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1.15;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  isolation: isolate;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease)
}

.art:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg)
}

.art.reveal {
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease), box-shadow .55s var(--ease)
}

.art .canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .9s var(--ease)
}

.art:hover .canvas {
  transform: scale(1.08)
}

.art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: soft-light;
  background: radial-gradient(60% 50% at 30% 25%, #fff, transparent 60%), radial-gradient(50% 40% at 75% 80%, #000, transparent 60%)
}

.art .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(43, 42, 82, .82), rgba(43, 42, 82, .05) 55%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem
}

.art:hover .veil {
  opacity: 1
}

.art .veil h4 {
  color: #fff;
  transform: translateY(14px);
  transition: transform .5s var(--ease);
  font-size: 1.25rem
}

.art .veil p {
  color: var(--lavender-pale);
  font-size: .82rem;
  transform: translateY(14px);
  transition: transform .5s var(--ease) .05s;
  letter-spacing: .04em
}

.art:hover .veil h4,
.art:hover .veil p {
  transform: none
}

.art .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: .25rem .8rem;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 500;
  transition: transform .5s var(--ease)
}

.art:hover .tag {
  transform: translateY(-3px)
}

.g1 {
  background: linear-gradient(150deg, #c8b6e6, #8a6db8 55%, #5f77a6)
}

.g2 {
  background: linear-gradient(150deg, #a9c3e0, #7c8fb5 55%, #93a892)
}

.g3 {
  background: linear-gradient(150deg, #bcd0ba, #93a892 50%, #6f8a6e)
}

.g4 {
  background: linear-gradient(150deg, #e6ddf1, #b9a5d9 55%, #6b4e9e)
}

.g5 {
  background: linear-gradient(150deg, #f0dfc8, #e0913c 60%, #a9542a)
}

.g6 {
  background: linear-gradient(150deg, #d7e0ee, #8a6db8 60%, #2b2a52)
}

.gallery-note {
  text-align: center;
  margin-top: 2.4rem
}

/* ---------- Journey timeline ---------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 1rem
}

.timeline::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--lavender), var(--sage))
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 0 0 2.4rem 0
}

.tl-item:last-child {
  padding-bottom: 0
}

.tl-dot {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px #faf7f2, var(--shadow-sm);
  background: linear-gradient(135deg, var(--lavender), var(--slate))
}

.tl-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tl-card {
  background: #fff;
  border: 1px solid var(--lavender-pale);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease)
}

.tl-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md)
}

.tl-card .yr {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600
}

.tl-card h4 {
  font-size: 1.35rem;
  margin: .15rem 0 .4rem
}

.tl-card p {
  color: var(--ink-soft);
  font-size: .98rem
}

/* ---------- Voice for ME ---------- */
.voice {
  position: relative;
  overflow: hidden
}

.voice .band-inner {
  position: relative;
  z-index: 1
}

.voice-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(140deg, #2b2a52, #3c3768 55%, #4a4a86)
}

.voice-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background:
    radial-gradient(30% 40% at 15% 20%, var(--lavender), transparent 60%),
    radial-gradient(30% 40% at 85% 80%, var(--slate), transparent 60%),
    radial-gradient(24% 30% at 60% 30%, var(--sage), transparent 60%)
}

.voice .center h2,
.voice .center .eyebrow {
  color: #fff
}

.voice .center .eyebrow {
  color: var(--lavender)
}

.voice .lead {
  color: #e7e2f2;
  margin-inline: auto
}

.me-band {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: 1.4rem;
  backdrop-filter: blur(4px)
}

.me-band .mb-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #4a4a86, #2b2a52)
}

.me-band .mb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.me-band:hover .mb-img img {
  transform: scale(1.05)
}

.me-band h3 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .7rem
}

.me-band p {
  color: #d9d4ea;
  margin-bottom: 1.2rem
}

.me-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap
}

.me-stats .s {
  display: flex;
  flex-direction: column;
  gap: .15rem
}

.me-stats .s b {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: #fff;
  line-height: 1
}

.me-stats .s span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lavender)
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch
}

.pillar {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 2rem 1.7rem;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease)
}

.pillar:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .12);
  border-color: var(--lavender)
}

.pillar.reveal {
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease), background .5s var(--ease), border-color .5s var(--ease)
}

.pillar .ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--slate-deep));
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
  transition: transform .5s var(--ease)
}

.pillar:hover .ic {
  transform: translateY(-3px) rotate(-6deg) scale(1.06)
}

.pillar h4 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: .5rem
}

.pillar p {
  color: #d9d4ea;
  font-size: .94rem
}

.voice-quote {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: #fff;
  max-width: 44ch;
  margin-inline: auto
}

.voice-quote span {
  color: var(--lavender);
  transition: color .45s ease, text-shadow .45s ease
}

.voice-quote:hover span {
  color: #fff;
  text-shadow: 0 0 20px rgba(185, 165, 217, .6)
}

/* ---------- Events ---------- */
.events {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto
}

.event {
  display: grid;
  grid-template-columns: 96px 1fr 120px;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--lavender-pale);
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease)
}

.event:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md)
}

.event.reveal {
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease), box-shadow .5s var(--ease)
}

.event .date {
  text-align: center;
  border-radius: 14px;
  padding: .7rem .4rem;
  background: linear-gradient(150deg, var(--lavender-pale), #fff);
  border: 1px solid var(--lavender-pale)
}

.event .date .d {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--indigo);
  line-height: 1;
  font-weight: 600
}

.event .date .m {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet)
}

.event .info h4 {
  font-size: 1.3rem;
  margin-bottom: .2rem
}

.event .info .meta {
  font-size: .86rem;
  color: var(--ink-soft);
  letter-spacing: .02em
}

.event .info .meta b {
  color: var(--violet);
  font-weight: 600
}

.event .thumb {
  width: 120px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, #d7e0ee, #8a6db8);
  opacity: 0;
}

.event .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
  /* opacity: 0; */
}

.event:hover .thumb img {
  transform: scale(1.08)
}

/* ---------- Journal ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch
}

.post {
  background: #fff;
  border: 1px solid var(--lavender-pale);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex;
  flex-direction: column
}

.post:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg)
}

.post.reveal {
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease), box-shadow .5s var(--ease)
}

.post .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(150deg, #c8b6e6, #5f77a6)
}

.post .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.post:hover .thumb img {
  transform: scale(1.08)
}

.post .body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1
}

.post .cat {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600
}

.post h4 {
  font-size: 1.35rem;
  line-height: 1.25
}

.post p {
  color: var(--ink-soft);
  font-size: .95rem
}

.post .rm {
  margin-top: auto;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 500;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  transition: color .3s var(--ease)
}

.post .rm .arw {
  transition: transform .4s var(--ease)
}

.post:hover .rm .arw {
  transform: translateX(5px)
}

.post:hover .rm {
  color: var(--violet)
}

/* ---------- Newsletter ---------- */
.signup {
  background: linear-gradient(160deg, #fff, #f6f0ff);
  border: 1px solid var(--lavender-pale);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease)
}

.signup:hover {
  transform: translateY(-4px)
}

.signup.reveal {
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease), box-shadow .55s var(--ease)
}

.signup .sprig-c {
  position: absolute;
  width: 150px;
  opacity: .5
}

.signup .sprig-c.tl {
  top: -30px;
  left: -30px;
  transform: rotate(20deg)
}

.signup .sprig-c.br {
  bottom: -30px;
  right: -30px;
  transform: rotate(200deg)
}

.signup h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem)
}

.signup p {
  color: var(--ink-soft);
  max-width: 48ch;
  margin: .6rem auto 1.8rem
}

.form {
  display: flex;
  gap: .8rem;
  max-width: 480px;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center
}

.form input {
  flex: 1 1 220px;
  padding: .95rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--lavender);
  background: #fff;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease)
}

.form input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(107, 78, 158, .14)
}

.form .btn {
  flex: 0 0 auto
}

.signup .fineprint {
  font-size: .76rem;
  color: var(--ink-soft);
  margin-top: 1rem
}

.msg {
  margin-top: 1rem;
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--sage-deep);
  min-height: 1.6rem
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start
}

.contact-card {
  background: #fff;
  border: 1px solid var(--lavender-pale);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.contact-card h3 {
  font-size: 1.5rem
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.contact-list li {
  display: flex;
  gap: .9rem;
  align-items: center;
  color: var(--ink-soft)
}

.contact-list .ic {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--slate-deep));
  color: #fff
}

.contact-list b {
  display: block;
  color: var(--indigo);
  font-family: var(--serif);
  font-size: 1.1rem
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-align: left;
  margin-bottom: 1rem
}

.field label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 500
}

.field input,
.field textarea {
  padding: .85rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid var(--lavender);
  background: #fff;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease)
}

.field textarea {
  min-height: 140px;
  resize: vertical
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(107, 78, 158, .14)
}



/* ---------- Responsive ---------- */
@media(max-width:960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero-copy {
    margin-inline: auto
  }

  .hero-copy .lead {
    margin-inline: auto
  }

  .roles,
  .hero-actions {
    justify-content: center
  }

  .hero-visual {
    order: -1;
    min-height: 360px;
    margin-bottom: 1rem
  }

  .hero-photo {
    width: 240px;
    height: 240px
  }

  .hero-photo .crest-badge {
    width: 76px;
    height: 76px
  }

  .hero-photo .crest-badge svg {
    width: 60px;
    height: 60px
  }

  .orbit {
    width: 330px;
    height: 330px
  }

  .orbit.inner {
    width: 270px;
    height: 270px
  }

  .about-grid,
  .book-grid,
  .inside-grid,
  .me-band,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem
  }

  .me-band {
    text-align: center
  }

  .me-stats {
    justify-content: center
  }

  .portrait {
    max-width: 380px;
    margin-inline: auto
  }

  .praise-grid,
  .posts {
    grid-template-columns: 1fr 1fr
  }

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

  .pillars {
    grid-template-columns: 1fr
  }


  .book-stage {
    min-height: 480px
  }

  .event {
    grid-template-columns: 76px 1fr;
    gap: 1rem
  }

  .event .thumb {
    display: none
  }

  .reveal.from-left,
  .reveal.from-right {
    transform: translateY(48px) scale(.985)
  }

  body.scroll-up .reveal.from-left,
  body.scroll-up .reveal.from-right {
    transform: translateY(-48px) scale(.985)
  }
}

@media(max-width:600px) {
  section[id] {
    scroll-margin-top: 80px
  }

  .praise-grid,
  .posts,
  .gallery {
    grid-template-columns: 1fr
  }

  .roles {
    font-size: .7rem
  }

  .facts {
    justify-content: center
  }

  .book-stage {
    min-height: 430px
  }

  .book-mock {
    width: 230px
  }

  .book-stage::before {
    width: 270px;
    height: 270px
  }

  .hero-photo {
    width: 210px;
    height: 210px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important
  }

  html {
    scroll-behavior: auto
  }

  .bfly-follow,
  .bfly-p {
    display: none !important
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important
  }
}

/* ---------- Text selection ---------- */
::selection {
  background: rgba(185, 165, 217, .55);
  color: var(--indigo);
  text-shadow: none
}

::-moz-selection {
  background: rgba(185, 165, 217, .55);
  color: var(--indigo)
}

/* ---------- Butterfly cursor + trail ---------- */
@media (pointer:fine) {

  html,
  body,
  body * {
    cursor: none !important
  }
}

.cbfly {
  position: fixed;
  left: 0;
  top: 0;
  width: 46px;
  height: 40px;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity .35s ease;
  will-change: transform;
  filter: drop-shadow(0 5px 10px rgba(107, 78, 158, .4))
}

.cbfly.on {
  opacity: .95
}

.cbfly .fl {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: wingflap .3s ease-in-out infinite
}

.cbfly svg {
  width: 100%;
  height: 100%;
  display: block
}

.bfly-p {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 18px;
  margin: -9px 0 0 -10px;
  pointer-events: none;
  z-index: 9998;
  will-change: transform, opacity;
  animation: bflyfade var(--life, 1200ms) ease-out forwards
}

.bfly-p .flap {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: wingflap .3s ease-in-out infinite
}

@keyframes wingflap {

  0%,
  100% {
    transform: scaleX(1)
  }

  50% {
    transform: scaleX(.55)
  }
}

@keyframes bflyfade {
  0% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(.25) rotate(var(--r))
  }

  14% {
    opacity: .85
  }

  100% {
    opacity: 0;
    transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy))) scale(.85) rotate(calc(var(--r) + var(--rr)))
  }
}



.book3d img {
    width: 100% !important;
    height: 100% !important;
}