:root {
    --ink: #28214f;
    --muted: #756f8a;
    --pink: #ff7897;
    --pink-dark: #ef5f84;
    --sky: #39ace6;
    --yellow: #ffd74b;
    --cream: #fff8e8;
    --warm: #fff0d8;
    --blue-band: #c9f1ff;
    --lavender: #eadcf5;
    --mint: #eaf6ef;
    --navy: #271e4d;
    --shadow: 0 20px 44px rgba(74, 47, 97, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
.brand-mark {
    font-family: "Baloo 2", "Inter", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
    overflow-wrap: break-word;
}

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

.site-nav {
    background: rgba(255, 249, 235, 0.95);
    border-bottom: 1px solid rgba(255, 214, 173, 0.65);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 66px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 1rem;
    text-decoration: none;
}

.brand-dot {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #ff9d8d, var(--pink));
    border-radius: 50%;
    font-size: 0.78rem;
}

.nav-link {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--pink-dark);
}

.btn {
    border: 0;
    font-weight: 800;
    box-shadow: none;
}

.btn-pink {
    color: #fff;
    background: var(--pink);
}

.btn-pink:hover,
.btn-pink:focus {
    color: #fff;
    background: var(--pink-dark);
}

.btn-yellow {
    color: var(--ink);
    background: var(--yellow);
}

.btn-yellow:hover,
.btn-yellow:focus {
    color: var(--ink);
    background: #ffc72f;
}

.btn-sky {
    color: #fff;
    background: var(--sky);
}

.btn-sky:hover,
.btn-sky:focus {
    color: #fff;
    background: #229bd5;
}

.btn-navy {
    color: #fff;
    background: var(--navy);
}

.btn-navy:hover,
.btn-navy:focus {
    color: #fff;
    background: #171135;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    padding: 5px 12px;
    color: #71a7cf;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.section-label.light {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
}

.section-pad {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
}

.section-pad > .container {
    position: relative;
    z-index: 1;
}

.section-heading {
    max-width: 660px;
    margin: 0 auto 42px;
}

.section-heading .section-label {
    margin-bottom: 12px;
}

.section-heading h1,
.section-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 3.7vw, 3.3rem);
    line-height: 0.95;
}

.hero-section {
    position: relative;
    min-height: 720px;
    padding: 128px 0 96px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.95) 0 38px, transparent 39px),
        radial-gradient(circle at 85% 60%, rgba(255, 215, 75, 0.8) 0 5px, transparent 6px),
        linear-gradient(180deg, #bfeeff 0%, #eaf9f3 100%);
}

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

.hero-section::before,
.hero-section::after,
.cream-band::before,
.review-band::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 215, 75, 0.14);
    z-index: 0;
}

.hero-section::before {
    left: 10%;
    bottom: 26%;
}

.hero-section::after {
    right: 26%;
    top: 18%;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 72px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(3.1rem, 6.6vw, 6.3rem);
    line-height: 0.84;
}

.hero-copy,
.book-card,
.character-card,
.value-card,
.corner-card {
    min-width: 0;
}

.hero-copy h1 span {
    display: block;
    color: #66dccd;
    text-shadow: 3px 3px 0 rgba(255, 120, 151, 0.45);
}

.hero-copy p {
    max-width: 560px;
    margin-bottom: 22px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.reader-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.reader-chip > span:last-child {
    min-width: 0;
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 32px;
    height: 32px;
    margin-right: -9px;
    object-fit: cover;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
}

.hero-art {
    min-width: 0;
}

.hero-image-card {
    position: relative;
    max-width: 600px;
    margin-left: auto;
    padding: 0;
}

.hero-image-card img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 28px 56px rgba(255, 120, 151, 0.38);
}

.hero-star {
    position: absolute;
    top: -22px;
    right: -22px;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    color: #fff;
    background: var(--yellow);
    border: 8px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    font-size: 1.25rem;
}

.read-chip {
    position: absolute;
    left: -18px;
    bottom: -18px;
    padding: 13px 18px;
    color: var(--ink);
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.float-pill {
    position: absolute;
    z-index: 0;
    width: 110px;
    height: 38px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(112, 168, 202, 0.18);
}

.pill-one {
    left: 5%;
    top: 17%;
}

.pill-two {
    right: 10%;
    top: 27%;
}

.warm-band {
    background: linear-gradient(180deg, #fff0d5 0%, #fff7ed 100%);
}

.cream-band,
.values-band {
    background: linear-gradient(180deg, #fff8e8 0%, #fffdf5 100%);
}

.review-band {
    background: linear-gradient(180deg, #bfeeff 0%, #fdf6e9 100%);
}

.author-band {
    background: linear-gradient(100deg, #e8dcf4 0%, #f2e6f8 100%);
}

.contact-band {
    background: linear-gradient(120deg, #eef8f1 0%, #f4edf4 100%);
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
    max-width: 940px;
    margin: 0 auto;
}

.book-card {
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(255, 176, 195, 0.6);
    border-radius: 16px;
    box-shadow: 0 22px 42px rgba(255, 120, 151, 0.23);
}

.book-cover-wrap {
    position: relative;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 12px;
}

.book-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.sparkle-pin {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--yellow);
    background: #fff;
    border-radius: 50%;
}

.tiny-kicker {
    color: var(--pink);
    font-size: 0.72rem;
    font-weight: 800;
}

.book-card h3,
.character-card h3,
.value-card h3,
.corner-card h3 {
    margin-bottom: 6px;
    font-size: 1.35rem;
    line-height: 1.05;
}

.book-card p,
.character-card p,
.value-card p,
.corner-card p {
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.badge-row span {
    padding: 5px 10px;
    color: #8c8195;
    background: #fff7ef;
    border: 1px solid #f1dfce;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.character-card {
    padding: 14px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.character-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 11px;
}

.character-card img.judy-photo,
.avatar-stack img.judy-photo,
.author-photo img.judy-photo {
    object-fit: contain;
    object-position: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 239, 246, 0.82));
}

.character-card.peach {
    background: linear-gradient(180deg, #ff89a1 0%, #ffc26d 100%);
}

.character-card.aqua {
    background: linear-gradient(180deg, #c6fff3 0%, #8ee8f4 100%);
}

.character-card.pink {
    background: linear-gradient(180deg, #d8a7ff 0%, #ff7fa2 100%);
}

.character-card h3,
.character-card p,
.corner-card h3,
.corner-card p {
    color: var(--ink);
}

.character-card .role {
    margin-bottom: 3px;
    font-weight: 800;
}

.value-card {
    height: 100%;
    padding: 26px;
    background: #fff;
    border: 1px solid rgba(229, 222, 210, 0.85);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(65, 48, 43, 0.08);
}

.value-card span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 18px;
    color: var(--pink);
    background: #fff0f4;
    border-radius: 12px;
    font-size: 1.2rem;
}

.testimonial-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
    margin: 0 auto;
    background: #fff9e8;
    border-radius: 16px;
    box-shadow: 0 22px 44px rgba(90, 56, 137, 0.18);
}

.quote-side,
.rating-side {
    min-height: 230px;
    padding: 42px;
}

.quote-side {
    border-right: 2px solid rgba(255, 120, 151, 0.25);
}

.quote-side p {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

.quote-side strong,
.quote-side span {
    display: block;
}

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

.stars {
    color: #ffd02d;
    font-size: 1.25rem;
    letter-spacing: 0;
}

.rating-side h3 {
    color: var(--pink);
}

.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.dots span {
    width: 9px;
    height: 9px;
    background: #f8b5c7;
    border-radius: 50%;
}

.round-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: #ff8ca8;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

.round-arrow.left {
    left: -17px;
}

.round-arrow.right {
    right: -17px;
}

.corner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.corner-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.corner-card i {
    display: block;
    margin-bottom: 20px;
    font-size: 1.45rem;
}

.corner-card.yellow {
    background: #ffd83f;
}

.corner-card.blue {
    background: #35aee9;
}

.corner-card.rose {
    background: #ff7e9b;
}

.corner-card.mint {
    background: #98e7c9;
}

.corner-card.blue h3,
.corner-card.blue p,
.corner-card.rose h3,
.corner-card.rose p {
    color: #fff;
}

.club-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 30px;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 42px;
    color: #fff;
    background: linear-gradient(135deg, #ff7897 0%, #ffc66f 100%);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(255, 120, 151, 0.32);
}

.club-card h2,
.club-card p {
    color: #fff;
}

.club-card h2 {
    margin: 12px 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.95;
}

.club-form {
    display: flex;
    max-width: 500px;
    gap: 10px;
}

.club-form .form-control {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
}

.club-icon {
    display: grid;
    width: 140px;
    height: 140px;
    place-items: center;
    justify-self: end;
    color: var(--pink);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 50%;
    font-size: 4rem;
}

.author-panel {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 58px;
    align-items: center;
}

.author-photo {
    position: relative;
}

.author-photo img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    background: #fff;
    border: 12px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.author-photo span {
    position: absolute;
    right: 0;
    bottom: 16px;
    padding: 10px 16px;
    color: var(--pink);
    background: #fff;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.author-copy h1,
.author-copy h2 {
    margin: 14px 0 14px;
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    line-height: 0.95;
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.author-stats span {
    padding: 18px;
    text-align: center;
    color: var(--muted);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(87, 58, 115, 0.08);
    font-size: 0.85rem;
    font-weight: 800;
}

.author-stats strong {
    display: block;
    color: var(--pink);
    font-size: 1.35rem;
}

.contact-card,
.contact-alert {
    max-width: 720px;
    margin: 0 auto;
}

.contact-card {
    padding: 34px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-label {
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
}

.form-control {
    border-color: #f1ddc5;
    background: #fffaf0;
    border-radius: 10px;
}

.form-control:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 0.2rem rgba(255, 120, 151, 0.18);
}

.subpage-hero {
    padding: 150px 0 70px;
}

.subpage-hero h1,
.contact-page h1,
.reviews-page h1 {
    margin: 14px auto;
    max-width: 760px;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 0.95;
}

.subpage-author {
    padding-top: 150px;
}

.site-footer {
    position: relative;
    color: #fff;
    background: var(--navy);
}

.footer-wave {
    position: absolute;
    top: -34px;
    left: 0;
    width: 100%;
    height: 52px;
    background: var(--navy);
    clip-path: polygon(0 42%, 13% 30%, 28% 52%, 44% 35%, 62% 48%, 81% 24%, 100% 40%, 100% 100%, 0 100%);
}

.footer-inner {
    padding: 72px 0 28px;
}

.footer-brand {
    color: #fff;
    margin-bottom: 18px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1rem;
}

.site-footer a:not(.btn) {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .row {
    --bs-gutter-x: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 54px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
}

@media (max-width: 1199.98px) {
    .section-pad {
        padding: 88px 0;
    }

    .hero-section {
        min-height: 620px;
        padding: 112px 0 78px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
        gap: 38px;
    }

    .hero-copy h1 {
        max-width: 500px;
        font-size: clamp(3.2rem, 5.4vw, 4.8rem);
        line-height: 0.9;
    }

    .hero-copy p {
        max-width: 500px;
    }

    .hero-image-card {
        max-width: 520px;
    }

    .hero-image-card img {
        min-height: 285px;
    }

    .book-grid {
        max-width: 860px;
        gap: 30px;
    }

    .character-grid,
    .corner-grid {
        gap: 20px;
    }

    .corner-card {
        padding: 20px;
    }
}

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        padding: 18px 0;
    }

    .hero-section {
        min-height: auto;
        padding: 116px 0 82px;
        background:
            radial-gradient(circle at 86% 26%, rgba(255, 255, 255, 0.92) 0 38px, transparent 39px),
            linear-gradient(180deg, #bfeeff 0%, #eaf9f3 100%);
    }

    .pill-one {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-copy,
    .hero-art {
        width: 100%;
    }

    .hero-copy h1 {
        max-width: 520px;
        font-size: clamp(3.6rem, 10vw, 5.5rem);
    }

    .hero-image-card {
        max-width: 100%;
        margin-right: auto;
    }

    .book-grid {
        gap: 24px;
    }

    .character-grid,
    .corner-grid {
        gap: 18px;
    }

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

    .author-panel {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 34px;
    }

    .author-photo img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        min-height: 56px;
    }

    .section-pad {
        padding: 64px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .hero-section {
        padding: 90px 0 56px;
        background: linear-gradient(180deg, #bfeeff 0%, #eaf9f3 100%);
    }

    .hero-section::before,
    .hero-section::after {
        display: none;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2rem, 8.3vw, 2.65rem);
        line-height: 0.98;
    }

    .hero-copy p {
        font-size: 0.92rem;
    }

    .hero-actions,
    .club-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .reader-chip {
        align-items: flex-start;
        max-width: 100%;
    }

    .hero-image-card img {
        aspect-ratio: 16 / 11;
        min-height: 210px;
        border-radius: 18px;
    }

    .hero-star {
        width: 52px;
        height: 52px;
        right: -8px;
        top: -16px;
    }

    .read-chip {
        left: 12px;
        bottom: -17px;
    }

    .float-pill {
        display: none;
    }

    .book-grid,
    .character-grid,
    .corner-grid,
    .testimonial-card,
    .author-panel {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .book-card {
        padding: 14px;
        border-radius: 14px;
    }

    .book-cover {
        max-height: 430px;
    }

    .character-card {
        padding: 12px;
    }

    .value-card,
    .corner-card,
    .quote-side,
    .rating-side,
    .contact-card {
        padding: 22px;
    }

    .quote-side {
        border-right: 0;
        border-bottom: 2px solid rgba(255, 120, 151, 0.25);
    }

    .round-arrow {
        display: none;
    }

    .club-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .club-icon {
        width: 96px;
        height: 96px;
        justify-self: start;
        font-size: 2.75rem;
    }

    .author-photo {
        justify-self: center;
    }

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

    .author-stats {
        grid-template-columns: 1fr;
    }

    .subpage-hero,
    .subpage-author,
    .contact-page,
    .reviews-page {
        padding-top: 98px;
    }

    .footer-bottom {
        display: grid;
    }
}

@media (max-width: 420px) {
    .container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(1.7rem, 7.35vw, 1.95rem);
    }

    .section-heading h1,
    .section-heading h2,
    .club-card h2,
    .author-copy h1,
    .author-copy h2 {
        max-width: 320px;
        margin-right: auto;
        margin-left: auto;
        font-size: 1.62rem;
        line-height: 1;
    }

    .hero-copy p,
    .section-heading p,
    .book-card p {
        font-size: 0.86rem;
    }

    .book-card h3,
    .character-card h3,
    .value-card h3,
    .corner-card h3 {
        font-size: 1.15rem;
    }

    .author-photo img {
        width: 220px;
        height: 220px;
    }
}

@keyframes storyFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes storyFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes storyFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes storyTwinkle {
    0%,
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.12) rotate(9deg);
    }
}

.site-nav {
    animation: storyFadeIn 0.55s ease both;
}

.hero-copy .section-label,
.hero-copy h1,
.hero-copy p,
.hero-actions,
.reader-chip,
.section-heading,
.book-card,
.character-card,
.value-card,
.testimonial-card,
.corner-card,
.club-card,
.author-panel,
.contact-card {
    animation: storyFadeUp 0.75s ease both;
}

.hero-copy h1 {
    animation-delay: 0.08s;
}

.hero-copy p {
    animation-delay: 0.16s;
}

.hero-actions {
    animation-delay: 0.24s;
}

.reader-chip {
    animation-delay: 0.32s;
}

.hero-image-card {
    animation: storyFadeUp 0.85s 0.18s ease both, storyFloat 6.5s 1.1s ease-in-out infinite;
}

.float-pill {
    animation: storyFloat 7s ease-in-out infinite;
}

.pill-two {
    animation-delay: 1.4s;
}

.hero-star,
.sparkle-pin {
    animation: storyTwinkle 2.8s ease-in-out infinite;
}

.scroll-reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
    animation: none !important;
}

.scroll-reveal {
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.32s ease, background-color 0.28s ease, color 0.28s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;
}

.scroll-reveal.reveal-soft {
    transition-duration: 0.7s;
}

.book-card:nth-child(2),
.character-card:nth-child(2),
.value-card:nth-child(2),
.corner-card:nth-child(2) {
    animation-delay: 0.12s;
}

.character-card:nth-child(3),
.value-card:nth-child(3),
.corner-card:nth-child(3) {
    animation-delay: 0.2s;
}

.value-card:nth-child(4),
.corner-card:nth-child(4) {
    animation-delay: 0.28s;
}

.value-card:nth-child(5) {
    animation-delay: 0.36s;
}

.value-card:nth-child(6) {
    animation-delay: 0.44s;
}

.btn,
.book-card,
.character-card,
.value-card,
.corner-card,
.club-card,
.testimonial-card,
.author-photo img,
.contact-card,
.read-chip {
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, background-color 0.28s ease, color 0.28s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.book-card:hover,
.character-card:hover,
.value-card:hover,
.corner-card:hover,
.testimonial-card:hover,
.club-card:hover,
.contact-card:hover {
    transform: translateY(-8px);
}

.book-card:hover {
    box-shadow: 0 28px 58px rgba(255, 120, 151, 0.32);
}

.book-cover,
.character-card img,
.hero-image-card img,
.author-photo img {
    backface-visibility: hidden;
    transition: transform 0.42s ease, filter 0.42s ease;
}

.book-card:hover .book-cover,
.character-card:hover img,
.hero-image-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.author-panel:hover .author-photo img {
    transform: scale(1.035) rotate(-1deg);
}

.read-chip:hover,
.read-chip:focus-visible {
    color: var(--ink);
    transform: translateY(-3px);
}

.avatar-stack img {
    transition: transform 0.25s ease;
}

.reader-chip:hover .avatar-stack img {
    transform: translateY(-3px);
}

.reader-chip:hover .avatar-stack img:nth-child(2) {
    transition-delay: 0.04s;
}

.reader-chip:hover .avatar-stack img:nth-child(3) {
    transition-delay: 0.08s;
}

.section-label i,
.corner-card i,
.value-card span i,
.club-icon i {
    transition: transform 0.3s ease;
}

.section-label:hover i,
.corner-card:hover i,
.value-card:hover span i,
.club-card:hover .club-icon i {
    transform: rotate(-8deg) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal,
    .scroll-reveal:not(.is-visible) {
        opacity: 1 !important;
        transform: none !important;
    }
}
