/* Authors Story Publisher — cleaned stylesheet (duplicate selectors consolidated) */

:root {
    --purple: #46346F;
    --purple-dark: #2E214B;
    --purple-hover: #5A418C;
    --coral: #F85743;
    --coral-hover: #E74B38;
    --cream: #FFF8E8;
    --cream-original: #F9F3D6;
    --beige: #F6F1E9;
    --charcoal: #1F2937;
    --dark: #1A1A1A;
    --gray: #EAEAEA;
    --muted: #667085;
    --white: #FFFFFF;
    --heading: "Bebas Neue", "Arial Narrow", sans-serif;
    --body: "Manrope", Arial, sans-serif;
    --button: "Sora", Arial, sans-serif;
    --shadow-sm: 0 10px 30px rgba(31, 41, 55, .08);
    --shadow-md: 0 24px 70px rgba(31, 41, 55, .14);
    --radius: 20px;
    --radius-lg: 32px;
    --header-height: 88px;
}

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

body {
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

p {
    line-height: 1.75;
}

::selection {
    background: var(--coral);
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
}

.section-heading {
    font-family: var(--heading);
    text-transform: uppercase;
    font-size: clamp(3.3rem, 6vw, 6.7rem);
    line-height: .92;
    letter-spacing: .02em;
    margin: 0;
}

.section-heading-sm {
    font-family: var(--heading);
    text-transform: uppercase;
    font-size: clamp(2.7rem, 4.8vw, 5.3rem);
    line-height: .95;
    letter-spacing: .02em;
}

.section-copy {
    max-width: 680px;
    font-size: 1.06rem;
    color: var(--muted);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--purple);
    font-family: var(--button);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}

.section-label::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--coral);
}

.section-label-light {
    color: var(--cream);
}

.section-label-light::before {
    background: var(--coral);
}

.section-pad {
    padding: clamp(45px, 6vw, 60px) 0;
    position: relative;
}

.bg-cream {
    background: var(--cream);
}

.bg-purple {
    background: var(--purple);
    color: var(--white);
}

.bg-purple h1, .bg-purple h2, .bg-purple h3, .bg-purple h4 {
    color: var(--purple);
}

.bg-coral {
    background: var(--coral);
    color: var(--white);
}

.bg-coral h1, .bg-coral h2, .bg-coral h3, .bg-coral h4 {
    color: var(--white);
}

.bg-white {
    background: var(--white);
}

.bg-beige {
    background: var(--beige);
}

.icon {
    width: 1.35em;
    height: 1.35em;
    flex: 0 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 52px;
    border: 2px solid transparent;
    transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

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

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(248, 87, 67, .45);
    outline-offset: 3px;
}

.btn-purple {
    background: var(--purple);
    color: var(--white);
}

.btn-purple:hover, .btn-purple:focus {
    background: var(--purple-hover);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(70, 52, 111, .22);
}

.btn-coral {
    background: var(--coral);
    color: var(--white);
}

.btn-coral:hover, .btn-coral:focus {
    background: var(--coral-hover);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(248, 87, 67, .24);
}

.btn-outline-purple {
    border-color: var(--purple);
    color: var(--purple);
    background: transparent;
}

.btn-outline-purple:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-outline-light {
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--purple);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--button);
    font-weight: 700;
    color: var(--purple);
}

.text-link .icon {
    transition: transform .2s ease;
}

.text-link:hover .icon {
    transform: translateX(5px);
}

.bg-purple .text-link, .bg-coral .text-link {
    color: var(--white);
}

.site-header {
    background: transparent;
}

.site-header.is-scrolled {
    background: linear-gradient(135deg, rgb(121 97 174 / 92%) 0%, rgb(108 89 153 / 92%) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 35px rgba(31, 41, 55, .16);
}

.site-header .navbar {
    padding: 0;
}

.site-header .navbar-brand {
    padding: 0;
    max-width: 255px;
}

.site-header.is-scrolled .navbar-brand img {
    filter: brightness(0) invert(1);
}

.navbar-nav .nav-link::after {
    border: 0;
}

.navbar-nav .nav-link:hover::before, .navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

.site-header.is-scrolled .nav-link {
    color: var(--white);
}

.navbar-toggler {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--purple);
    border-radius: 50%;
    background: rgba(255,255,255,.75);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.mega-link:hover {
    background: var(--cream);
    transform: translateX(3px);
}

.offcanvas {
    --bs-offcanvas-width: min(92vw, 430px);
    background: var(--cream);
}

.offcanvas-header {
    padding: 1.4rem;
    border-bottom: 1px solid rgba(70,52,111,.12);
}

.btn-close-custom {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: var(--white);
    border: 0;
    border-radius: 50%;
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.5rem 1.8rem;
}

.mobile-nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgba(70,52,111,.14);
    background: transparent;
    color: var(--purple);
    font-family: var(--heading);
    font-size: 2.3rem;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
}

.mobile-services {
    padding: .55rem 0 1rem 1rem;
}

.mobile-services a {
    display: block;
    padding: .6rem 0;
    color: var(--charcoal);
    font-weight: 700;
    font-size: .9rem;
}

.mobile-nav-cta {
    margin-top: auto;
    padding-top: 2rem;
}

.mobile-nav-cta p {
    color: var(--muted);
    font-size: .88rem;
}

.hero-section::before, .hero-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-section::before {
    width: 38vw;
    height: 38vw;
    max-width: 560px;
    max-height: 560px;
    right: -12vw;
    top: -10vw;
    border: 2px solid rgba(70,52,111,.12);
    border-radius: 50%;
}

.hero-section::after {
    width: 160px;
    height: 160px;
    left: 4vw;
    bottom: -70px;
    background: var(--coral);
    transform: rotate(18deg);
    opacity: .9;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--purple);
    font-family: var(--button);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-kicker .icon {
    color: var(--coral);
}

.hero-title {
    margin: 1.2rem 0 1.6rem;
}

.hero-title span {
    display: block;
}

.hero-title .accent {
    color: var(--coral);
}

.hero-copy {
    max-width: 600px;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: #4B5563;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 1.8rem;
    margin-top: 2.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(70,52,111,.14);
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--charcoal);
    font-size: .83rem;
    font-weight: 700;
}

.hero-proof .icon {
    color: var(--coral);
    width: 18px;
}

.hero-visual {
    min-height: 540px;
    position: relative;
    display: grid;
    place-items: center;
    perspective: 1500px;
}

.hero-book-stage {
    width: min(420px, 82vw);
    height: 510px;
    position: relative;
    transform-style: preserve-3d;
    animation: floatBook 5s ease-in-out infinite;
}

.hero-book {
    width: 290px;
    height: 420px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) rotateY(-24deg) rotateX(5deg);
    transform-style: preserve-3d;
    filter: drop-shadow(0 32px 25px rgba(31,41,55,.24));
}

.hero-book-cover {
    position: absolute;
    inset: 0;
    border-radius: 6px 16px 16px 6px;
    background: var(--purple);
    transform: translateZ(24px);
    overflow: hidden;
    padding: 38px;
    color: var(--white);
}

.hero-book-cover::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--coral);
    right: -50px;
    top: 60px;
}

.hero-book-cover::after {
    content: "";
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 90px;
    height: 65px;
    background: var(--coral);
}

.hero-book-cover small, .hero-book-cover strong, .hero-book-cover em {
    position: relative;
    z-index: 2;
    display: block;
}

.hero-book-cover small {
    font-family: var(--button);
    letter-spacing: .16em;
    font-size: .68rem;
}

.hero-book-cover strong {
    margin-top: 115px;
    font-family: var(--heading);
    font-size: 4.2rem;
    line-height: .86;
    text-transform: uppercase;
}

.hero-book-cover em {
    margin-top: 1rem;
    font-style: normal;
    font-size: .78rem;
    opacity: .8;
}

.hero-book-spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -48px;
    width: 50px;
    background: var(--purple-dark);
    transform: rotateY(-90deg) translateZ(24px);
    transform-origin: right;
    border-radius: 6px 0 0 6px;
}

.hero-book-pages {
    position: absolute;
    inset: 6px -18px 6px 10px;
    background: repeating-linear-gradient(90deg,#fff 0 2px,#eee 2px 3px);
    transform: translateZ(-22px);
    border-radius: 4px 14px 14px 4px;
}

.floating-page {
    position: absolute;
    width: 115px;
    height: 150px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 18px;
}

.floating-page::before {
    content: "";
    display: block;
    height: 5px;
    background: var(--purple);
    box-shadow: 0 14px 0 var(--gray),0 28px 0 var(--gray),0 42px 0 var(--gray),0 56px 0 var(--gray),0 70px 0 var(--gray);
}

.floating-page.one {
    left: -15px;
    top: 75px;
    transform: rotate(-14deg);
    animation: driftOne 6s ease-in-out infinite;
}

.floating-page.two {
    right: -10px;
    bottom: 70px;
    transform: rotate(13deg);
    animation: driftTwo 6.5s ease-in-out infinite;
}

.bestseller-badge {
    position: absolute;
    right: 5px;
    top: 20px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--coral);
    color: var(--white);
    font-family: var(--button);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    transform: rotate(9deg);
    box-shadow: 0 18px 35px rgba(248,87,67,.28);
}

.bestseller-badge::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: inherit;
}

@keyframes floatBook { 0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)} }

@keyframes driftOne { 0%,100%{transform:rotate(-14deg) translateY(0)}50%{transform:rotate(-10deg) translateY(-13px)} }

@keyframes driftTwo { 0%,100%{transform:rotate(13deg) translateY(0)}50%{transform:rotate(9deg) translateY(14px)} }

.partner-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(1.2rem, 4vw, 1.2rem) 0;
    background: linear-gradient(
            135deg,
            rgba(248, 87, 67, 0.035),
            transparent 40%
        ),
        var(--white);
}

.partner-showcase-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.25rem;
}

.partner-showcase-heading h2 {
    max-width: 650px;
    margin: 0.75rem 0 0;
    color: var(--purple);
    font-family: var(--heading);
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.partner-showcase-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.partner-slider {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 0;
    border: 1px solid rgba(70, 52, 111, 0.1);
    border-radius: 24px;
    background: var(--cream);
    box-shadow: 0 20px 50px rgba(31, 41, 55, 0.07);
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 7%,
        black 93%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 7%,
        black 93%,
        transparent
    );
}

.partner-slider-track {
    display: flex;
    width: max-content;
    animation: partner-logo-scroll 32s linear infinite;
}

.partner-slider:hover .partner-slider-track, .partner-slider:focus-within .partner-slider-track {
    animation-play-state: paused;
}

.partner-logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
}

.partner-logo-card {
    width: clamp(175px, 15vw, 235px);
    height: 112px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(70, 52, 111, 0.08);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
    transition: transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.partner-logo-card::before {
    content: "";
    position: absolute;
    right: 20%;
    bottom: -6px;
    left: 20%;
    z-index: -1;
    height: 6px;
    border-radius: 999px;
    background: var(--coral);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.25s ease,
        transform 0.25s ease;
}

.partner-logo-card:hover {
    border-color: rgba(70, 52, 111, 0.22);
    box-shadow: 0 18px 35px rgba(70, 52, 111, 0.14);
    transform: translateY(-6px);
}

.partner-logo-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.partner-logo-card img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 72px;
    object-fit: contain;
    object-position: center;
    opacity: 0.72;
    transition: filter 0.28s ease,
        opacity 0.28s ease,
        transform 0.28s ease;
}

.partner-logo-card:hover img {
    transform: scale(1.04);
}

@keyframes partner-logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.partner-slider-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-family: var(--button);
    font-size: 0.72rem;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .partner-showcase-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .partner-showcase-heading p {
        max-width: 650px;
    }

    .partner-slider {
        border-radius: 20px;
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            black 4%,
            black 96%,
            transparent
        );
        mask-image: linear-gradient(
            to right,
            transparent,
            black 4%,
            black 96%,
            transparent
        );
    }

    .partner-slider-track {
        animation-duration: 25s;
    }

    .partner-logo-card {
        width: 180px;
        height: 100px;
        padding: 1rem 1.25rem;
    }

    .partner-logo-card img {
        max-width: 155px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-slider {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .partner-slider-track {
        animation: none;
    }

    .partner-logo-group[aria-hidden="true"] {
        display: none;
    }

    .partner-logo-card, .partner-logo-card img {
        transition: none;
    }

    .partner-slider-note {
        display: none;
    }
}

.service-grid {
    margin-top: 3.5rem;
}

.service-card {
    height: 100%;
    position: relative;
    background: var(--white);
    color: var(--charcoal);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow-md);
}

.service-number {
    position: absolute;
    right: 1.5rem;
    top: .9rem;
    font-family: var(--heading);
    font-size: 4.2rem;
    color: rgba(70,52,111,.08);
}

.service-icon {
    width: 58px;
    height: 58px;
    border: 1px solid var(--gray);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--purple);
    margin-bottom: 1.5rem;
}

.service-icon .icon {
    width: 25px;
}

.service-card h3 {
    font-family: var(--heading);
    font-size: 2.3rem;
    line-height: .95;
    text-transform: uppercase;
}

.service-card p {
    color: var(--muted);
    font-size: .92rem;
}

.service-card .text-link {
    margin-top: .4rem;
    font-size: .82rem;
}

.process-list {
    counter-reset: process;
    margin-top: 3.5rem;
}

.process-step {
    counter-increment: process;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1.4rem;
    align-items: center;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(255,255,255,.35);
}

.process-step:last-child {
    border-bottom: 1px solid rgba(255,255,255,.35);
}

.process-step::before {
    content: "0" counter(process);
    font-family: var(--heading);
    font-size: 3.5rem;
    color: var(--purple);
}

.process-step h3 {
    margin: 0;
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(2rem,3.8vw,3.6rem);
    text-transform: uppercase;
}

.process-step p {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.82);
    max-width: 640px;
}

.process-step .icon {
    width: 36px;
    color: var(--purple);
    transform: rotate(-45deg);
}

.editorial-block {
    position: relative;
    min-height: 510px;
    background: var(--purple);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--white);
    padding: clamp(2rem,5vw,4.2rem);
}

.editorial-block::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--coral);
    right: -90px;
    top: -80px;
}

.editorial-block::after {
    content: "STORY";
    position: absolute;
    right: -20px;
    bottom: -40px;
    color: rgba(255,255,255,.08);
    font-family: var(--heading);
    font-size: 12rem;
    line-height: 1;
}

.editorial-block > * {
    position: relative;
    z-index: 2;
}

.editorial-block h3 {
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(3.5rem,6vw,6rem);
    text-transform: uppercase;
    line-height: .9;
}

.editorial-block p {
    color: rgba(255,255,255,.8);
    max-width: 540px;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--gray);
    border-radius: 18px;
    background: var(--white);
    transition: transform .2s ease, border-color .2s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    border-color: rgba(70,52,111,.35);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cream);
    color: var(--purple);
}

.feature-item h4 {
    font-family: var(--heading);
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0 0 .25rem;
}

.feature-item p {
    color: var(--muted);
    font-size: .88rem;
    margin: 0;
}

.pricing-card {
    height: 100%;
    border-radius: var(--radius);
    padding: 2rem;
    background: var(--white);
    color: var(--charcoal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.pricing-card.is-featured {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-12px);
}

.pricing-card.is-featured h3, .pricing-card.is-featured .price {
    color: var(--white);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    width: 155px;
    text-align: center;
    transform: rotate(40deg);
    background: var(--coral);
    color: var(--white);
    font-size: .62rem;
    font-weight: 800;
    padding: .4rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pricing-card h3 {
    font-family: var(--heading);
    font-size: 2.7rem;
    text-transform: uppercase;
}

.price {
    font-family: var(--heading);
    color: var(--purple);
    font-size: 3.8rem;
    line-height: 1;
}

.price small {
    font-family: var(--body);
    font-size: .74rem;
    color: var(--muted);
}

.pricing-card.is-featured .price small {
    color: rgba(255,255,255,.65);
}

.pricing-card > p {
    color: var(--muted);
    font-size: .9rem;
}

.pricing-card.is-featured > p {
    color: rgba(255,255,255,.72);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: .75rem;
}

.check-list li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    font-size: .87rem;
}

.check-list .icon {
    width: 18px;
    color: var(--coral);
    margin-top: .15rem;
}

.accordion-editorial .accordion-item {
    border: 0;
    border-bottom: 1px solid rgba(70,52,111,.18);
    background: transparent;
}

.accordion-editorial .accordion-button {
    padding: 1.5rem 0;
    background: transparent;
    color: var(--charcoal);
    font-family: var(--button);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: none;
}

.accordion-editorial .accordion-button:not(.collapsed) {
    color: var(--purple);
}

.accordion-editorial .accordion-button::after {
    width: 34px;
    height: 34px;
    background-image: none;
    border: 1px solid rgba(70,52,111,.25);
    border-radius: 50%;
    content: "+";
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    transform: none;
}

.accordion-editorial .accordion-button:not(.collapsed)::after {
    content: "–";
    transform: none;
    background: var(--purple);
    color: var(--white);
}

.accordion-editorial .accordion-body {
    padding: 0 3.5rem 1.5rem 0;
    color: var(--muted);
    line-height: 1.75;
}

.blog-card {
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--beige);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.04);
}

.blog-content {
    padding: 1.5rem;
}

.blog-kicker {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--coral);
    font-family: var(--button);
    font-size: .67rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    font-weight: 700;
}

.blog-content h3 {
    margin: .9rem 0 .6rem;
    font-family: var(--heading);
    font-size: 2.2rem;
    line-height: .98;
    text-transform: uppercase;
}

.blog-content p {
    color: var(--muted);
    font-size: .88rem;
}

.page-hero {
    position: relative;
    padding: 175px 0 105px;
    background: var(--cream);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--coral);
    right: -180px;
    bottom: -180px;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border: 2px solid rgba(70,52,111,.16);
    left: 4vw;
    top: 115px;
    transform: rotate(12deg);
}

.breadcrumbs {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
    margin-bottom: 1.6rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted);
}

.breadcrumbs a {
    color: var(--purple);
}

.page-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 900px;
    font-family: var(--heading);
    font-size: clamp(4.2rem,8vw,8.3rem);
    text-transform: uppercase;
    line-height: .86;
}

.page-hero p {
    position: relative;
    z-index: 2;
    max-width: 700px;
    font-size: 1.08rem;
    color: var(--muted);
}

.page-hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.service-intro-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(2rem,5vw,4.5rem);
    margin-top: -55px;
    position: relative;
    z-index: 4;
}

.service-intro-card .lead {
    font-size: clamp(1.15rem,2vw,1.45rem);
    line-height: 1.7;
    color: var(--charcoal);
}

.benefit-card {
    height: 100%;
    padding: 1.7rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--gray);
}

.benefit-card .number {
    font-family: var(--heading);
    font-size: 3rem;
    color: var(--coral);
}

.benefit-card h3 {
    font-family: var(--heading);
    font-size: 2rem;
    text-transform: uppercase;
}

.service-process {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: service-process;
}

.service-process li {
    counter-increment: service-process;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255,255,255,.24);
}

.service-process li::before {
    content: "0" counter(service-process);
    font-family: var(--heading);
    font-size: 2.8rem;
    color: var(--coral);
}

.service-process strong {
    display: block;
    font-family: var(--heading);
    font-size: 2rem;
    color: var(--white);
    text-transform: uppercase;
}

.service-process p {
    color: rgba(255,255,255,.72);
    margin: .25rem 0 0;
}

.form-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem,4vw,3.2rem);
    box-shadow: var(--shadow-md);
}

.form-label {
    font-family: var(--button);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.form-control, .form-select {
    min-height: 54px;
    border: 1px solid #D8DCE3;
    border-radius: 12px;
    padding: .8rem 1rem;
    font-size: .92rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-control:focus, .form-select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 .25rem rgba(70,52,111,.12);
}

.form-check-input:checked {
    background-color: var(--purple);
    border-color: var(--purple);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-detail {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
}

.contact-detail .icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--coral);
    display: grid;
    place-items: center;
}

.contact-detail h3 {
    font-family: var(--button);
    font-size: .78rem;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 .25rem;
}

.contact-detail p, .contact-detail a {
    margin: 0;
    color: var(--white);
    font-size: .9rem;
}

.alert-editorial {
    border: 0;
    border-radius: 14px;
    padding: 1rem 1.2rem;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 2.4rem;
}

.filter-btn {
    border: 1px solid rgba(70,52,111,.25);
    background: var(--white);
    color: var(--purple);
    border-radius: 999px;
    padding: .65rem 1rem;
    font-family: var(--button);
    font-size: .72rem;
    font-weight: 700;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--purple);
    color: var(--white);
}

[data-filter-item].is-hidden {
    display: none !important;
}

.article-layout {
    max-width: 860px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.4rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    margin: 1.5rem 0 2rem;
}

.article-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--beige);
    margin-bottom: 3rem;
}

.article-body {
    font-size: 1.04rem;
}

.article-body h2 {
    font-family: var(--heading);
    font-size: clamp(2.4rem,4vw,4rem);
    text-transform: uppercase;
    margin: 3.2rem 0 1rem;
}

.article-body h3 {
    font-family: var(--heading);
    font-size: 2rem;
    text-transform: uppercase;
    margin: 2rem 0 .7rem;
}

.article-body p, .article-body li {
    color: #4B5563;
    line-height: 1.9;
}

.article-body a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content {
    max-width: 900px;
}

.legal-content h2 {
    font-family: var(--heading);
    font-size: 2.7rem;
    text-transform: uppercase;
    margin-top: 2.7rem;
}

.legal-content p, .legal-content li {
    color: var(--muted);
    line-height: 1.8;
}

.site-footer {
    background: var(--purple);
    color: var(--white);
    padding-top: 5rem;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 4.5rem;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.footer-cta h2 {
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(3.2rem,5vw,5.8rem);
    line-height: .92;
    text-transform: uppercase;
    max-width: 760px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-summary {
    color: rgba(255,255,255,.68);
    max-width: 430px;
    margin-top: 1.4rem;
    font-size: .9rem;
}

.footer-contact-list {
    display: grid;
    gap: .65rem;
    margin-top: 1.4rem;
}

.footer-contact-list > * {
    display: flex;
    gap: .65rem;
    align-items: center;
    color: var(--cream);
    font-size: .83rem;
}

.footer-contact-list .icon {
    width: 18px;
    color: var(--coral);
}

.footer-heading {
    color: var(--white);
    font-family: var(--button);
    font-size: .78rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .7rem;
}

.footer-links a {
    color: var(--cream);
    font-size: .85rem;
    opacity: .82;
}

.footer-links a:hover {
    color: var(--white);
    opacity: 1;
}

.footer-newsletter-copy {
    color: rgba(255,255,255,.68);
    font-size: .85rem;
}

.newsletter-control {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,.45);
}

.newsletter-control input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    padding: .85rem 0;
    outline: 0;
}

.newsletter-control input::placeholder {
    color: rgba(255,255,255,.5);
}

.newsletter-control button {
    width: 48px;
    border: 0;
    background: transparent;
    color: var(--coral);
}

.privacy-note {
    color: rgba(255,255,255,.5);
    font-size: .68rem;
    margin-top: .7rem;
}

.privacy-note a {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.58);
    font-size: .72rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.scroll-top {
    position: fixed;
    right: 26px;
    bottom: 90px;
    z-index: 1005;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.scroll-top .icon {
    transform: rotate(-90deg);
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: var(--purple);
    transform: translateY(-100%);
}

.page-transition.is-leaving {
    animation: pageLeave .5s ease forwards;
}

@keyframes pageLeave { to { transform: translateY(0); } }

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: none;
}

.reveal-stagger.is-visible > *:nth-child(2) {
    transition-delay: .08s;
}

.reveal-stagger.is-visible > *:nth-child(3) {
    transition-delay: .16s;
}

.reveal-stagger.is-visible > *:nth-child(4) {
    transition-delay: .24s;
}

.reveal-stagger.is-visible > *:nth-child(5) {
    transition-delay: .32s;
}

.reveal-stagger.is-visible > *:nth-child(6) {
    transition-delay: .4s;
}

.paper-texture {
    position: relative;
}

.paper-texture::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.stat-item {
    padding: 1.7rem;
    text-align: center;
    border-right: 1px solid var(--gray);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-value {
    display: block;
    font-family: var(--heading);
    color: var(--purple);
    font-size: 3.8rem;
    line-height: .9;
}

.stat-label {
    color: var(--muted);
    font-size: .73rem;
    font-weight: 700;
}

.note-box {
    border-left: 5px solid var(--coral);
    background: var(--cream);
    padding: 1.2rem 1.4rem;
    border-radius: 0 14px 14px 0;
}

.error-code {
    font-family: var(--heading);
    font-size: clamp(9rem,25vw,22rem);
    line-height: .7;
    color: var(--purple);
}

@media (max-width: 1199.98px) {
    :root {
        --header-height: 78px;
    }

    .site-header .navbar {
        min-height: 78px;
    }

    .site-header .navbar-brand {
        max-width: 225px;
    }

    .site-header {
        background: rgba(255,248,232,.94);
        backdrop-filter: blur(16px);
    }

    .site-header.is-scrolled {
        background: linear-gradient(135deg, rgba(101, 80, 148, 0.92) 0%, rgba(75, 59, 114, 0.92) 100%);
    }

    .site-header.is-scrolled .navbar-toggler {
        color: var(--purple);
    }

    .hero-section {
        padding-top: 135px;
    }

    .hero-visual {
        margin-top: 2.4rem;
    }
}

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

    .hero-section {
        min-height: auto;
    }

    .hero-visual {
        min-height: 470px;
    }

    .hero-book-stage {
        transform: scale(.9);
    }

    .trust-items {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .process-step {
        grid-template-columns: 70px 1fr;
    }

    .process-step .icon {
        display: none;
    }

    .pricing-card.is-featured {
        transform: none;
    }

    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero {
        padding-top: 145px;
    }

    .service-intro-card {
        margin-top: -35px;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 66px;
    }

    .display-heading {
        font-size: clamp(4.1rem,21vw,6.3rem);
    }

    .hero-section {
        padding: 125px 0 72px;
    }

    .hero-section::after {
        width: 95px;
        height: 95px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        display: grid;
        gap: .8rem;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-book-stage {
        transform: scale(.74);
    }

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

    .section-heading {
        font-size: clamp(3.5rem,17vw,5.2rem);
    }

    .section-heading-sm {
        font-size: clamp(3rem,14vw,4.5rem);
    }

    .process-step {
        grid-template-columns: 55px 1fr;
        gap: .8rem;
    }

    .process-step::before {
        font-size: 2.7rem;
    }

    .process-step h3 {
        font-size: 2.4rem;
    }

    .editorial-block {
        min-height: 430px;
    }

    .feature-item {
        grid-template-columns: 48px 1fr;
        padding: 1rem;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
    }

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

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid var(--gray);
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .page-hero {
        padding: 125px 0 75px;
    }

    .page-hero h1 {
        font-size: clamp(4rem,19vw,6.4rem);
    }

    .page-hero-actions .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .service-intro-card {
        margin-top: -24px;
        padding: 1.6rem;
    }

    .book-cover-wrap {
        padding: 1.5rem;
    }
}

@media (max-width: 420px) {
    .navbar-brand img {
        width: 205px;
    }

    .hero-book-stage {
        transform: scale(.66);
    }

    .hero-visual {
        min-height: 365px;
    }

    .bestseller-badge {
        right: 18px;
    }
}

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

    .reveal-up, .reveal-stagger > * {
        opacity: 1;
        transform: none;
    }
}

.navbar-nav .nav-link::before {
    left: .8rem;
    right: .8rem;
    bottom: .8rem;
    height: 2px;
    transform-origin: left;
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--purple);
    opacity: 0;
    transform: scale(0.72);
    transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.2s ease;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible, .navbar-nav .nav-link.active, .navbar-nav .dropdown.show > .nav-link {
    color: #f85743;
    border-color: rgba(70, 52, 111, 0.12);
    box-shadow: 0 10px 24px rgba(70, 52, 111, 0.18);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before, .navbar-nav .nav-link:focus-visible::before, .navbar-nav .nav-link.active::before, .navbar-nav .dropdown.show > .nav-link::before {
    opacity: 1;
    transform: scale(1);
}

.navbar-nav .dropdown.show > .dropdown-toggle::after, .navbar-nav .mega-dropdown:hover > .dropdown-toggle::after, .navbar-nav .mega-dropdown:focus-within > .dropdown-toggle::after {
    transform: translateY(3px) rotate(225deg);
}

.site-header.is-scrolled .navbar-nav .nav-link::before {
    background: var(--cream);
}

.site-header.is-scrolled .navbar-nav .nav-link:hover, .site-header.is-scrolled .navbar-nav .nav-link:focus-visible, .site-header.is-scrolled .navbar-nav .nav-link.active, .site-header.is-scrolled .navbar-nav .dropdown.show > .nav-link {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 24px rgba(20, 15, 38, 0.2);
}

.mega-dropdown {
    position: static;
}

.mega-menu {
    transform: translateX(-50%);
    width: min(1000px, calc(100vw - 40px));
    left: 50% !important;
    top: 74px !important;
    padding: 2rem;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 28px 65px rgba(31, 41, 55, 0.19) !important;
    transform-origin: 50% 0;
}

.mega-kicker {
    margin-bottom: 0.8rem;
    color: var(--coral);
    font-family: var(--button);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 76px;
    padding: 0.8rem 0.9rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(70, 52, 111, 0.1);
    border-radius: 15px;
    background: var(--cream);
    transition: color 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        transform 0.24s ease;
}

.mega-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--purple);
    transform: translateX(-102%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mega-link:hover, .mega-link:focus-visible {
    border-color: var(--purple);
    box-shadow: 0 14px 28px rgba(70, 52, 111, 0.18);
    transform: translateY(-3px);
}

.mega-link:hover::before, .mega-link:focus-visible::before {
    transform: translateX(0);
}

.mega-link strong {
    display: block;
    color: var(--charcoal);
    font-size: 0.88rem;
    transition: color 0.22s ease;
}

.mega-link small {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.72rem;
    transition: color 0.22s ease;
}

.mega-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(70, 52, 111, 0.14);
    border-radius: 50%;
    color: var(--purple);
    background: var(--white);
    transition: color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.mega-icon .icon {
    width: 19px;
}

.mega-arrow {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    margin-left: auto;
    color: var(--purple);
    transition: color 0.22s ease,
        transform 0.22s ease;
}

.mega-arrow .icon {
    width: 17px;
}

.mega-link:hover strong, .mega-link:focus-visible strong {
    color: var(--white);
}

.mega-link:hover small, .mega-link:focus-visible small {
    color: rgba(255, 255, 255, 0.72);
}

.mega-link:hover .mega-icon, .mega-link:focus-visible .mega-icon {
    color: var(--white);
    background: var(--coral);
    border-color: var(--coral);
    transform: rotate(-7deg) scale(1.05);
}

.mega-link:hover .mega-arrow, .mega-link:focus-visible .mega-arrow {
    color: var(--white);
    transform: translateX(4px);
}

.mega-feature {
    height: 100%;
    padding: 1.8rem;
    border-radius: 18px;
    color: var(--white);
    background: var(--purple);
}

.mega-feature h3 {
    color: var(--white);
    font-family: var(--heading);
    font-size: 2.4rem;
    line-height: 0.95;
    text-transform: uppercase;
}

.mega-feature p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
}

.mega-feature .text-link {
    color: var(--cream);
    font-size: 0.82rem;
}

@media (min-width: 1200px) {
    .mega-dropdown .mega-menu {
        display: block;
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        transform: translateX(-50%)
            translateY(12px)
            scale(0.985);
        transition: opacity 0.2s ease,
            transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
            visibility 0s linear 0.28s;
    }

    .mega-dropdown:hover > .mega-menu, .mega-dropdown .mega-menu.show {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        transform: translateX(-50%)
            translateY(0)
            scale(1);
        transition-delay: 0s;
    }

    .mega-menu .mega-link {
        opacity: 0;
        transform: translateY(9px)
            scale(0.985);
    }

    .mega-dropdown:hover .mega-link, .mega-dropdown .mega-menu.show .mega-link {
        opacity: 1;
        transform: translateY(0)
            scale(1);
    }

    .mega-links-grid > div:nth-child(1) .mega-link {
        transition-delay: 0.04s;
    }

    .mega-links-grid > div:nth-child(2) .mega-link {
        transition-delay: 0.08s;
    }

    .mega-links-grid > div:nth-child(3) .mega-link {
        transition-delay: 0.12s;
    }

    .mega-links-grid > div:nth-child(4) .mega-link {
        transition-delay: 0.16s;
    }

    .mega-links-grid > div:nth-child(5) .mega-link {
        transition-delay: 0.20s;
    }

    .mega-links-grid > div:nth-child(6) .mega-link {
        transition-delay: 0.24s;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .navbar-brand {
        max-width: 215px;
    }

    .site-header .navbar-brand img {
        width: 215px;
        height: auto;
    }

    .navbar-nav .nav-link {
        padding-inline: 0.5rem !important;
        font-size: 0.66rem;
    }

    .nav-button-list {
        gap: 0.08rem;
    }
}

.mobile-nav-toggle .icon {
    width: 24px;
    transition: transform 0.22s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .navbar-nav .nav-link, .navbar-nav .nav-link::before, .mega-menu, .mega-link, .mega-link::before, .mega-icon, .mega-arrow {
        transition: none !important;
    }
}

.nav-button-list {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.navbar-nav .nav-link {
    overflow: hidden;
    isolation: isolate;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.78rem 1rem !important;
    position: relative;
    border: 1px solid rgba(70, 52, 111, 0.08);
    border-radius: 999px;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 28px rgba(70, 52, 111, 0.10);
    font-family: var(--button);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible {
    color: var(--coral);
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(70, 52, 111, 0.08);
    box-shadow: 0 12px 28px rgba(70, 52, 111, 0.10);
    transform: none;
}

.navbar-nav .nav-link.active {
    color: var(--coral);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(70, 52, 111, 0.10);
}

.navbar-nav .dropdown.show > .nav-link, .navbar-nav .mega-dropdown:hover > .nav-link {
    color: var(--coral);
    background: rgba(255, 255, 255, 0.72);
    transform: none;
}

.navbar-nav .dropdown-toggle::after {
    margin: -3px 0 0 0.1rem;
    width: 7px;
    height: 7px;
    margin-left: 0.3rem;
    border: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}

.navbar-nav .dropdown.show > .dropdown-toggle::after, .navbar-nav .mega-dropdown:hover > .dropdown-toggle::after {
    transform: translateY(2px) rotate(225deg);
}

.site-header.is-scrolled .navbar-nav .nav-link {
    color: var(--purple);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 24px rgba(20, 15, 38, 0.20);
}

.site-header.is-scrolled .navbar-nav .nav-link:hover, .site-header.is-scrolled .navbar-nav .nav-link:focus-visible, .site-header.is-scrolled .navbar-nav .nav-link.active, .site-header.is-scrolled .navbar-nav .dropdown.show > .nav-link, .site-header.is-scrolled .navbar-nav .mega-dropdown:hover > .nav-link {
    color: var(--coral);
    background: rgba(255, 255, 255, 0.96);
    transform: none;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .nav-button-list {
        gap: 0.2rem;
    }

    .navbar-nav .nav-link {
        min-height: 43px;
        padding: 0.68rem 0.68rem !important;
        font-size: 0.68rem;
    }
}

/* =========================================================
   NAVBAR — GET IN TOUCH CTA
========================================================= */

.site-header .nav-cta-item {
    margin-left: 0.35rem;
}


/* Main CTA */

.site-header .nav-get-in-touch {
    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding:
        0.55rem
        0.6rem
        0.55rem
        1.35rem;

    border:
        1px solid
        rgba(70, 52, 111, 0.12);

    border-radius: 999px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--purple) 0%,
            #59438b 100%
        );

    box-shadow:
        0 12px 30px
        rgba(70, 52, 111, 0.2);

    font-family: var(--button);
    font-size: 0.78rem;
    font-weight: 800;

    text-decoration: none !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;

    animation:
        navCtaPulse
        3.2s
        ease-in-out
        infinite;
}


/* Shine sweep */

.site-header .nav-get-in-touch::before {
    content: "";

    width: 60px;
    height: 180%;

    position: absolute;
    z-index: 0;

    top: -40%;
    left: -90px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );

    transform:
        rotate(18deg);

    transition:
        left 0.55s ease;
}


/* Coral glow */

.site-header .nav-get-in-touch::after {
    content: "";

    width: 75px;
    height: 75px;

    position: absolute;
    z-index: -1;

    top: 50%;
    right: -32px;

    border-radius: 50%;

    background:
        rgba(248, 87, 67, 0.8);

    filter: blur(16px);

    transform:
        translateY(-50%);

    transition:
        width 0.35s ease,
        height 0.35s ease,
        right 0.35s ease;
}


/* Text */

.site-header .nav-get-in-touch-text {
    position: relative;
    z-index: 2;

    white-space: nowrap;
}


/* Arrow circle */

.site-header .nav-get-in-touch-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    border-radius: 50%;

    color: var(--purple);
    background: var(--white);

    box-shadow:
        0 5px 15px
        rgba(20, 15, 35, 0.14);

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s
        cubic-bezier(
            0.2,
            0.8,
            0.2,
            1
        );
}


.site-header .nav-get-in-touch-icon svg {
    width: 18px;
    height: 18px;

    transition:
        transform 0.3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.site-header .nav-get-in-touch:hover {
    color: var(--white);

    box-shadow:
        0 18px 38px
        rgba(70, 52, 111, 0.27),
        0 7px 18px
        rgba(248, 87, 67, 0.16);

    transform:
        translateY(-3px);

    animation-play-state: paused;
}


/* Move shine across */

.site-header
.nav-get-in-touch:hover::before {
    left: calc(100% + 40px);
}


/* Expand coral glow */

.site-header
.nav-get-in-touch:hover::after {
    width: 150px;
    height: 150px;

    right: -55px;
}


/* Arrow becomes coral */

.site-header
.nav-get-in-touch:hover
.nav-get-in-touch-icon {
    color: var(--white);
    background: var(--coral);

    transform:
        rotate(-7deg)
        scale(1.06);
}


/* Arrow travels slightly */

.site-header
.nav-get-in-touch:hover
.nav-get-in-touch-icon svg {
    transform:
        translateX(3px);
}


/* Click */

.site-header
.nav-get-in-touch:active {
    transform:
        translateY(-1px)
        scale(0.98);
}


/* Keyboard */

.site-header
.nav-get-in-touch:focus-visible {
    outline:
        3px solid
        rgba(248, 87, 67, 0.28);

    outline-offset: 4px;
}


/* =========================================================
   SUBTLE IDLE ANIMATION
========================================================= */

@keyframes navCtaPulse {

    0%,
    100% {
        box-shadow:
            0 12px 30px
            rgba(70, 52, 111, 0.2);
    }

    50% {
        box-shadow:
            0 15px 34px
            rgba(70, 52, 111, 0.28),
            0 0 0 5px
            rgba(248, 87, 67, 0.045);
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .site-header .nav-get-in-touch {
        animation: none;
    }

    .site-header .nav-get-in-touch,
    .site-header .nav-get-in-touch::before,
    .site-header .nav-get-in-touch::after,
    .site-header .nav-get-in-touch-icon,
    .site-header .nav-get-in-touch-icon svg {
        transition: none;
    }
}

.large-book-showcase {
    position: relative;
    overflow: hidden;
    padding-bottom: clamp(45px, 6vw, 65px);
}

.large-book-showcase-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.large-book-showcase-heading > div {
    max-width: 860px;
}

.large-book-showcase-heading h2 {
    max-width: 850px;
    margin-bottom: 1.3rem;
}

.large-book-showcase-heading p {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.large-book-portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
    margin-bottom: 0.4rem;
    color: var(--purple);
    font-family: var(--button);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.25s ease,
        transform 0.25s ease;
}

.large-book-portfolio-link:hover {
    color: var(--coral);
    transform: translateX(4px);
}

.large-book-carousel {
    width: 100%;
    position: relative;
    margin-top: 4rem;
}

.large-book-slider-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.9rem
        max(65px, calc((100vw - 1320px) / 2))
        2rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.large-book-slider-viewport::-webkit-scrollbar {
    display: none;
}

.large-book-slider-viewport:focus-visible {
    outline: 2px solid rgba(70, 52, 111, 0.25);
    outline-offset: -2px;
}

.large-book-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.large-book-card-visual {
    min-height: 500px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 2.5rem;
    border: 1px solid rgba(70, 52, 111, 0.1);
    border-radius: 30px;
    background: linear-gradient(
            145deg,
            #f8f3e9 0%,
            var(--cream) 100%
        );
    box-shadow: 0 18px 42px rgba(46, 33, 75, 0.08);
    transition: transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.large-book-card-shape {
    width: 165px;
    height: 165px;
    position: absolute;
    right: -58px;
    bottom: -58px;
    z-index: -1;
    border-radius: 50% 50% 0 50%;
    background: var(--coral);
    transition: width 0.4s ease,
        height 0.4s ease,
        transform 0.4s ease;
}

.large-book-card-visual img {
    width: auto;
    max-width: 82%;
    height: 385px;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 22px 18px rgba(25, 17, 43, 0.22));
    transition: transform 0.4s cubic-bezier(.2, .75, .3, 1),
        filter 0.4s ease;
}

.large-book-card-genre {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--coral);
    font-family: var(--button);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.large-book-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--purple);
    font-family: var(--button);
    font-size: 0.7rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(6px);
    transition: color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.large-book-card-link:hover .large-book-card-visual img, .large-book-card-link:focus-visible .large-book-card-visual img {
    filter: drop-shadow(0 28px 22px rgba(25, 17, 43, 0.28));
    transform: translateY(-7px)
        scale(1.04);
}

.large-book-card-link:hover .large-book-card-shape, .large-book-card-link:focus-visible .large-book-card-shape {
    width: 195px;
    height: 195px;
    transform: rotate(10deg);
}

.large-book-card-link:hover h3, .large-book-card-link:focus-visible h3 {
    color: var(--purple);
}

.large-book-card-link:hover .large-book-card-action, .large-book-card-link:focus-visible .large-book-card-action {
    opacity: 1;
    transform: translateY(0);
}

.large-book-card-link:focus-visible {
    outline: none;
}

.large-book-carousel-arrow {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 235px;
    z-index: 5;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--white);
    background: var(--purple);
    box-shadow: 0 16px 36px rgba(38, 25, 67, 0.26);
    cursor: pointer;
    transition: color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.large-book-carousel-prev {
    left: 20px;
}

.large-book-carousel-next {
    right: 20px;
}

.large-book-carousel-arrow svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.large-book-carousel-arrow:hover, .large-book-carousel-arrow:focus-visible {
    color: var(--white);
    background: var(--coral);
    transform: scale(1.08);
}

.large-book-carousel-arrow:focus-visible {
    outline: 3px solid rgba(248, 87, 67, 0.3);
    outline-offset: 3px;
}

.large-book-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.large-book-carousel.is-static .large-book-carousel-arrow {
    display: none;
}

@media (max-width: 991.98px) {
    .large-book-showcase-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .large-book-carousel {
        margin-top: 3rem;
    }

    .large-book-slider-viewport {
        padding-inline: 58px;
    }

    .large-book-card {
        width: 360px;
    }

    .large-book-card-visual {
        min-height: 455px;
    }

    .large-book-card-visual img {
        height: 345px;
    }

    .large-book-carousel-arrow {
        top: 212px;
        width: 52px;
        height: 52px;
    }

    .large-book-carousel-prev {
        left: 12px;
    }

    .large-book-carousel-next {
        right: 12px;
    }
}

@media (max-width: 575.98px) {
    .large-book-slider-viewport {
        padding: 0.8rem
            45px
            1.5rem;
    }

    .large-book-slider-track {
        gap: 1rem;
    }

    .large-book-card {
        width: min(78vw, 315px);
    }

    .large-book-card-visual {
        min-height: 390px;
        padding: 1.5rem;
        border-radius: 24px;
    }

    .large-book-card-visual img {
        max-width: 86%;
        height: 295px;
    }

    .large-book-card-content h3 {
        font-size: 2.2rem;
    }

    .large-book-card-action {
        opacity: 1;
        transform: none;
    }

    .large-book-carousel-arrow {
        top: 180px;
        width: 44px;
        height: 44px;
    }

    .large-book-carousel-arrow svg {
        width: 19px;
        height: 19px;
    }

    .large-book-carousel-prev {
        left: 5px;
    }

    .large-book-carousel-next {
        right: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .large-book-slider-viewport {
        scroll-behavior: auto;
    }

    .large-book-card-visual, .large-book-card-visual img, .large-book-card-shape, .large-book-card-action, .large-book-carousel-arrow {
        transition: none;
    }
}

.asp-review-widget {
    position: relative;
    z-index: 9999;
}

/* =========================================================
   REVIEW LAUNCHER — COLLAPSIBLE FLOATING BUTTON
========================================================= */

.asp-review-launcher {
    width: 62px;
    height: 62px;

    position: fixed;
    left: 10px;
    bottom: 22px;
    z-index: 9998;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 0;

    border: 0;
    border-radius: 999px;

    color: var(--white);

    background: var(--purple);

    box-shadow:
        0 14px 34px
        rgba(34, 23, 59, 0.24);

    cursor: pointer;

    transition:
        width 0.42s cubic-bezier(.2, .8, .2, 1),
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}


/* =========================================================
   ROUND STAR ICON
========================================================= */

.asp-review-launcher-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    flex: 0 0 62px;

    position: relative;
    z-index: 2;

    border-radius: 50%;

    color: var(--white);

    background: var(--coral);

    box-shadow:
        0 8px 20px
        rgba(248, 87, 67, 0.26);

    font-size: 1.35rem;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   HIDDEN TEXT
========================================================= */

.asp-review-launcher-copy {
    min-width: 175px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding:
        0
        1.2rem
        0
        0.85rem;

    opacity: 0;
    visibility: hidden;

    text-align: left;
    white-space: nowrap;

    transform: translateX(-14px);

    transition:
        opacity 0.25s ease,
        transform 0.36s ease,
        visibility 0.25s ease;
}


.asp-review-launcher-copy strong,
.asp-review-launcher-copy small {
    display: block;
}


.asp-review-launcher-copy strong {
    color: var(--white);

    font-family: var(--button);
    font-size: 0.82rem;
    font-weight: 800;

    line-height: 1.15;
}


.asp-review-launcher-copy small {
    margin-top: 0.18rem;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.65rem;
    line-height: 1.2;
}


/* =========================================================
   HOVER — SLIDE OPEN
========================================================= */

.asp-review-launcher:hover {
    width: 245px;

    color: var(--white);

    background: #554081;

    box-shadow:
        0 20px 48px
        rgba(34, 23, 59, 0.34);

    transform: translateY(-3px);
}


.asp-review-launcher:hover
.asp-review-launcher-copy {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


.asp-review-launcher:hover
.asp-review-launcher-icon {
    transform:
        rotate(-7deg)
        scale(1.04);

    box-shadow:
        0 10px 24px
        rgba(248, 87, 67, 0.34);
}


/* =========================================================
   SUBTLE PULSE AROUND STAR
========================================================= */

.asp-review-launcher::before {
    content: "";

    width: 54px;
    height: 54px;

    position: absolute;

    left: 4px;
    top: 4px;

    border-radius: 50%;

    pointer-events: none;

    animation:
        aspReviewPulse
        2.8s
        ease-out
        infinite;
}


@keyframes aspReviewPulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(248, 87, 67, 0.28);
    }

    70% {
        box-shadow:
            0 0 0 11px
            rgba(248, 87, 67, 0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(248, 87, 67, 0);
    }
}


/* =========================================================
   FOCUS / CLICK
========================================================= */

.asp-review-launcher:focus-visible {
    width: 245px;

    outline:
        3px solid
        rgba(248, 87, 67, 0.42);

    outline-offset: 4px;
}


.asp-review-launcher:focus-visible
.asp-review-launcher-copy {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


.asp-review-launcher:active {
    transform:
        translateY(-1px)
        scale(0.98);
}

.asp-review-dialog {
    width: min(440px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 120px);
    position: fixed;
    inset: auto 22px 92px auto;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(70, 52, 111, 0.12);
    border-radius: 28px;
    color: var(--charcoal);
    background: var(--white);
    box-shadow: 0 35px 90px rgba(24, 16, 47, 0.32);
}

.asp-review-dialog[open] {
    animation: aspReviewDialogIn 0.28s ease both;
}

.asp-review-dialog::backdrop {
    background: rgba(22, 16, 34, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

@keyframes aspReviewDialogIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

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

.asp-review-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 1rem 1.6rem 1.2rem;
    border-bottom: 1px solid rgba(70, 52, 111, 0.1);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.asp-review-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--coral);
    font-family: var(--button);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.asp-review-dialog-header h2 {
    margin: 0;
    color: var(--purple);
    font-family: var(--heading);
    font-size: clamp(2.5rem, 7vw, 3.7rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.asp-review-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: var(--purple);
    cursor: pointer;
    font-size: 1.65rem;
    line-height: 1;
    transition: background-color 0.2s ease,
        transform 0.2s ease;
}

.asp-review-close:hover {
    background: var(--coral);
    transform: rotate(5deg);
}

.asp-review-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.4rem 1.4rem 0;
    padding: 1.15rem;
    border-radius: 18px;
    background: var(--cream);
}

.asp-review-summary-stars {
    flex: 0 0 auto;
    color: var(--coral);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.asp-review-summary strong, .asp-review-summary span {
    display: block;
}

.asp-review-summary strong {
    color: var(--purple);
    font-family: var(--button);
    font-size: 0.78rem;
}

.asp-review-summary div > span {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.45;
}

.asp-review-list {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
}

/* =========================================================
   REVIEW CARD SLIDER
========================================================= */

.asp-review-slider {
    display: block;

    padding:
        1.2rem
        1.2rem
        0.8rem;
}


.asp-review-slider-viewport {
    width: 100%;

    overflow: hidden;

    border-radius: 18px;
}


.asp-review-slider-track {
    display: flex;

    width: 100%;

    transition:
        transform
        0.5s
        cubic-bezier(.2, .8, .2, 1);

    will-change: transform;
}


.asp-review-slide {
    width: 100%;
    min-width: 100%;

    flex: 0 0 100%;

    margin: 0;
}


/* Keep cards consistent */

.asp-review-slider .asp-review-card {
    min-height: 195px;
}


/* =========================================================
   DOTS
========================================================= */

.asp-review-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.45rem;

    margin-top: 0.9rem;
}


.asp-review-slider-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background:
        rgba(70, 52, 111, 0.22);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


.asp-review-slider-dot:hover {
    background:
        rgba(70, 52, 111, 0.5);

    transform: scale(1.15);
}


.asp-review-slider-dot.is-active {
    width: 24px;

    background: var(--coral);
}

.asp-review-card {
    padding: 0.8rem;
    border: 1px solid rgba(70, 52, 111, 0.11);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(46, 33, 75, 0.06);
}

.asp-review-stars {
    color: var(--coral);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.asp-review-card blockquote {
    margin: 0.8rem 0 1rem;
    color: var(--charcoal);
    font-size: 0.82rem;
    line-height: 1.7;
}

.asp-review-meta strong, .asp-review-meta span {
    display: block;
}

.asp-review-meta strong {
    color: var(--purple);
    font-family: var(--button);
    font-size: 0.75rem;
}

.asp-review-meta span {
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.66rem;
}

.asp-review-actions {
    display: grid;
    gap: 0.75rem;
    padding: 0 1.2rem 1rem;
}

.asp-review-actions-label {
    margin-bottom: 0.1rem;
    color: var(--purple);
    font-family: var(--button);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.asp-review-platform {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    padding: 0.9rem;
    border: 1px solid rgba(70, 52, 111, 0.13);
    border-radius: 16px;
    color: var(--charcoal);
    background: var(--white);
    text-decoration: none;
    transition: transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.asp-review-platform::before {
    content: "";
    width: 4px;
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--purple);
}

.asp-review-platform.is-google::before {
    background: #4285f4;
}

.asp-review-platform.is-trustpilot::before {
    background: #00b67a;
}

.asp-review-platform:hover {
    color: var(--charcoal);
    border-color: rgba(70, 52, 111, 0.28);
    box-shadow: 0 12px 28px rgba(46, 33, 75, 0.1);
    transform: translateY(-3px);
}

.asp-review-platform-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--coral);
    background: var(--cream);
}

.asp-review-platform-copy {
    flex: 1;
    min-width: 0;
}

.asp-review-platform-copy strong, .asp-review-platform-copy small {
    display: block;
}

.asp-review-platform-copy strong {
    color: var(--purple);
    font-family: var(--button);
    font-size: 0.75rem;
}

.asp-review-platform-copy small {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.65rem;
}

.asp-review-platform-arrow {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--white);
    background: var(--purple);
    transition: background-color 0.22s ease,
        transform 0.22s ease;
}

.asp-review-platform:hover .asp-review-platform-arrow {
    background: var(--coral);
    transform: translateX(3px);
}

.asp-review-disclaimer {
    margin: 0;
    padding: 0 1.2rem 0.5rem;
    color: var(--muted);
    font-size: 0.6rem;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 575.98px) {

    .asp-review-widget {
        display: none;
    }

    .asp-review-launcher {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .asp-review-dialog[open] {
        animation: none;
    }

    .asp-review-launcher::before {
        animation: none;
    }

    .asp-review-launcher,
    .asp-review-launcher-icon,
    .asp-review-launcher-copy,
    .asp-review-platform,
    .asp-review-close,
    .asp-review-platform-arrow {
        transition: none;
    }
}

.asp-side-contact {
    position: fixed;
    top: 46%;
    left: 0;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transform: translateY(-50%);
}

.asp-side-contact-button {
    width: 220px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    border-radius: 0 999px 999px 0;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(42, 29, 70, 0.16);
    transform: translateX(calc(-100% + 56px));
    transition: transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.asp-side-contact-button:hover, .asp-side-contact-button:focus-visible {
    color: var(--white);
    transform: translateX(0);
    box-shadow: 0 14px 28px rgba(42, 29, 70, 0.22);
}

.asp-side-contact-button:focus-visible {
    outline: 3px solid rgba(248, 87, 67, 0.22);
    outline-offset: 2px;
}

.asp-side-contact-text {
    flex: 1;
    padding: 0 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--button);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.asp-side-contact-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.asp-side-phone {
    background: var(--coral);
}

.asp-side-phone .asp-side-contact-icon {
    color: var(--white);
    background: var(--coral);
    border: 1px solid var(--white);
}

.asp-side-phone:hover, .asp-side-phone:focus-visible {
    background: var(--purple);
}

.asp-side-phone svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asp-side-whatsapp {
    background: var(--purple);
}

.asp-side-whatsapp .asp-side-contact-icon {
    color: var(--white);
    background: var(--purple);
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.asp-side-whatsapp:hover, .asp-side-whatsapp:focus-visible {
    background: var(--coral);
}

.asp-side-whatsapp svg {
    fill: currentColor;
    stroke: none;
}

.asp-side-contact-icon svg {
    width: 23px;
    height: 23px;
    display: block;
    transition: transform 0.25s ease;
}

.asp-side-contact-button:hover .asp-side-contact-icon svg {
    transform: scale(1.06);
}

@media (max-width: 767.98px) {
    .asp-side-contact {
        top: auto;
        bottom: 90px;
        gap: 8px;
        transform: none;
    }

    .asp-side-contact-button {
        width: 190px;
        height: 48px;
        transform: translateX(calc(-100% + 48px));
    }

    .asp-side-contact-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .asp-side-contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .asp-side-contact-text {
        font-size: 0.78rem;
        padding: 0 10px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .asp-side-contact-button:hover {
        transform: translateX(calc(-100% + 48px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .asp-side-contact-button, .asp-side-contact-icon svg {
        transition: none;
    }
}

.large-book-card-visual-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.large-book-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.large-book-title-link:hover, .large-book-title-link:focus-visible {
    color: var(--purple);
}

.large-book-title-link:focus-visible {
    outline: 2px solid rgba(70, 52, 111, 0.25);
    outline-offset: 4px;
}

.large-book-purchase {
    margin-top: auto;
    padding-top: 1.3rem;
}

.large-book-purchase-label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--muted);
    font-family: var(--button);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.large-book-store-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.large-book-store-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(70, 52, 111, 0.16);
    border-radius: 999px;
    color: var(--purple);
    background: var(--white);
    font-family: var(--button);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(46, 33, 75, 0.06);
    transition: color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.large-book-store-link svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.large-book-store-link:hover, .large-book-store-link:focus-visible {
    color: var(--white);
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 12px 25px rgba(46, 33, 75, 0.16);
    transform: translateY(-3px);
}

.large-book-store-link:focus-visible {
    outline: 3px solid rgba(248, 87, 67, 0.25);
    outline-offset: 2px;
}

.large-book-store-link.amazon:hover, .large-book-store-link.amazon:focus-visible {
    color: #111;
    border-color: #ffb000;
    background: #ffb000;
}

.large-book-store-link.barnes:hover, .large-book-store-link.barnes:focus-visible {
    border-color: #34734a;
    background: #34734a;
}

.large-book-store-link.ingram:hover, .large-book-store-link.ingram:focus-visible {
    color: var(--white);
    border-color: var(--coral);
    background: var(--coral);
}

.large-book-project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--purple);
    font-family: var(--button);
    font-size: 0.7rem;
    font-weight: 800;
    text-decoration: none;
}

.large-book-project-link:hover {
    color: var(--coral);
}

.large-book-card:hover .large-book-card-visual {
    border-color: rgba(70, 52, 111, 0.22);
    box-shadow: 0 28px 60px rgba(46, 33, 75, 0.15);
    transform: translateY(-8px);
}

.large-book-card:hover .large-book-card-visual img {
    filter: drop-shadow(0 28px 22px rgba(25, 17, 43, 0.28));
    transform: translateY(-7px)
        scale(1.04);
}

.large-book-card:hover .large-book-card-shape {
    width: 195px;
    height: 195px;
    transform: rotate(10deg);
}

@media (max-width: 575.98px) {
    .large-book-store-link {
        min-height: 38px;
        padding: 0.6rem 0.75rem;
        font-size: 0.63rem;
    }
}

.large-book-slider-track {
    display: flex;
    gap: 1.8rem;
    width: max-content;
    align-items: flex-start;
}

.large-book-card {
    width: clamp(350px, 29vw, 430px);
    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: flex-start;
    overflow: visible;
}

.large-book-card-content {
    flex: 1;
    flex-direction: column;
    padding: 1.4rem 0.25rem 0;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.large-book-card-content h3 {
    margin: 0;
    color: var(--dark);
    font-family: var(--heading);
    font-size: clamp(2.3rem, 3vw, 3.25rem);
    line-height: 0.93;
    text-transform: uppercase;
    transition: color 0.25s ease;
    min-height: 2.05em;
}

.large-book-buy-dropdown {
    width: 100%;
    position: relative;
    margin-top: 1.25rem;
    padding: 0;
}

.large-book-buy-trigger {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 14px;
    color: var(--white);
    background: var(--purple);
    font-family: var(--button);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 10px 25px rgba(46, 33, 75, 0.13);
    transition: color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.large-book-buy-trigger::-webkit-details-marker {
    display: none;
}

.large-book-buy-trigger::marker {
    content: "";
}

.large-book-buy-trigger svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.large-book-buy-trigger:hover, .large-book-buy-trigger:focus-visible {
    color: var(--white);
    background: var(--coral);
    box-shadow: 0 14px 30px rgba(248, 87, 67, 0.2);
    transform: translateY(-2px);
}

.large-book-buy-trigger:focus-visible {
    outline: 3px solid rgba(248, 87, 67, 0.22);
    outline-offset: 3px;
}

.large-book-buy-dropdown[open] .large-book-buy-trigger svg {
    transform: rotate(180deg);
}

.large-book-buy-menu {
    width: 100%;
    display: grid;
    gap: 0.45rem;
    position: static;
    margin: 0.55rem 0 0;
    padding: 0.55rem;
    border: 1px solid rgba(70, 52, 111, 0.13);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(46, 33, 75, 0.14);
    animation: largeBookBuyMenuIn 0.2s ease both;
}

@keyframes largeBookBuyMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.large-book-buy-option {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    color: var(--purple);
    background: var(--cream);
    font-family: var(--button);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.large-book-buy-option svg {
    width: 15px;
    height: 15px;
    display: block;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.large-book-buy-option:hover, .large-book-buy-option:focus-visible {
    color: var(--white);
    background: var(--purple);
    transform: translateX(3px);
}

.large-book-buy-option:focus-visible {
    outline: 2px solid rgba(70, 52, 111, 0.25);
    outline-offset: 2px;
}

.large-book-buy-option.amazon:hover, .large-book-buy-option.amazon:focus-visible {
    color: #111111;
    background: #ffb000;
}

.large-book-buy-option.barnes:hover, .large-book-buy-option.barnes:focus-visible {
    color: #ffffff;
    background: #34734a;
}

.large-book-buy-option.ingram:hover, .large-book-buy-option.ingram:focus-visible {
    color: var(--white);
    background: var(--coral);
}

@media (max-width: 575.98px) {
    .large-book-card-content h3 {
        min-height: 1.9em;
    }

    .large-book-buy-dropdown {
        margin-top: 1rem;
    }

    .large-book-buy-trigger {
        min-height: 44px;
        padding: 0.7rem 0.85rem;
        font-size: 0.68rem;
    }

    .large-book-buy-option {
        min-height: 42px;
        padding: 0.65rem 0.75rem;
        font-size: 0.66rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .large-book-buy-menu {
        animation: none;
    }

    .large-book-buy-trigger, .large-book-buy-trigger svg, .large-book-buy-option {
        transition: none;
    }
}

.testimonial-fade-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--purple);
}

.testimonial-fade-section::before {
    content: "";
    width: 360px;
    height: 360px;
    position: absolute;
    top: -190px;
    right: -130px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.testimonial-fade-section::after {
    content: "";
    width: 220px;
    height: 220px;
    position: absolute;
    left: -110px;
    bottom: -120px;
    border-radius: 50%;
    background: var(--coral);
    opacity: 0.12;
}

.testimonial-fade-section .container-xl {
    position: relative;
    z-index: 2;
}

.testimonial-fade-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-fade-heading .section-heading {
    max-width: 820px;
    margin: 0.8rem auto 0;
}

.testimonial-section-copy {
    max-width: 680px;
    margin: 1.4rem auto 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
}

.testimonial-fade-slider {
    max-width: 980px;
    position: relative;
    margin: clamp(3rem, 6vw, 5rem) auto 0;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 28px 70px rgba(24, 16, 47, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}

.testimonial-reviewer-image {
    width: 104px;
    height: 104px;
    position: relative;
    margin: 0 auto 1.7rem;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(24, 16, 47, 0.24);
}

.testimonial-reviewer-image::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: 4px;
    width: 27px;
    height: 27px;
    border: 4px solid var(--purple);
    border-radius: 50%;
    background: var(--coral);
}

.testimonial-reviewer-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.testimonial-fade-slide .testimonial-reviewer-image {
    transform: scale(0.92);
    transition: transform 0.65s ease;
}

.testimonial-fade-slide.is-active .testimonial-reviewer-image {
    transform: scale(1);
}

@media (max-width: 575.98px) {
    .testimonial-reviewer-image {
        width: 82px;
        height: 82px;
        margin-bottom: 1.3rem;
        padding: 4px;
    }

    .testimonial-reviewer-image::after {
        width: 22px;
        height: 22px;
        right: -4px;
        bottom: 2px;
        border-width: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-fade-slide .testimonial-reviewer-image {
        transition: none;
    }
}

.testimonial-fade-stage {
    display: grid;
    align-items: center;
    position: relative;
}

.testimonial-fade-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.65s ease,
        transform 0.65s ease,
        visibility 0s linear 0.65s;
}

.testimonial-fade-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.65s ease,
        transform 0.65s ease,
        visibility 0s linear 0s;
}

.testimonial-fade-slide blockquote {
    max-width: 850px;
    margin: 0 auto;
    color: var(--white);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.65;
}

.testimonial-fade-meta {
    margin-top: 2rem;
}

.testimonial-fade-meta strong {
    display: block;
    color: var(--white);
    font-family: var(--button);
    font-size: 0.95rem;
    font-weight: 800;
}

.testimonial-fade-meta span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    line-height: 1.5;
}

.testimonial-fade-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2.5rem;
}

.testimonial-fade-dot {
    width: 11px;
    height: 11px;
    display: block;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: width 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.testimonial-fade-dot:hover, .testimonial-fade-dot:focus-visible {
    border-color: var(--coral);
    transform: scale(1.2);
}

.testimonial-fade-dot.is-active {
    width: 30px;
    border-color: var(--coral);
    border-radius: 999px;
    background: var(--coral);
}

.testimonial-fade-dot:focus-visible {
    outline: 3px solid rgba(248, 87, 67, 0.25);
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    .testimonial-fade-slider {
        max-width: 820px;
    }

    .testimonial-fade-slide blockquote {
        font-size: clamp(1.15rem, 2.8vw, 1.55rem);
    }
}

@media (max-width: 575.98px) {
    .testimonial-fade-slider {
        margin-top: 2.5rem;
        padding: 1.8rem 1.2rem;
        border-radius: 22px;
    }

    .testimonial-fade-quote-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 1.2rem;
    }

    .testimonial-fade-quote-icon .quote-icon {
        width: 28px;
        height: 28px;
    }

    .testimonial-fade-slide blockquote {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .testimonial-fade-meta {
        margin-top: 1.5rem;
    }

    .testimonial-fade-dots {
        gap: 0.55rem;
        margin-top: 2rem;
    }

    .testimonial-fade-dot {
        width: 10px;
        height: 10px;
    }

    .testimonial-fade-dot.is-active {
        width: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-fade-slide, .testimonial-fade-dot {
        transition: none;
    }
}

.portfolio-showcase-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(
            circle at 10% 15%,
            rgba(248, 87, 67, 0.05),
            transparent 26%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(70, 52, 111, 0.05),
            transparent 25%
        ),
        var(--white);
}

.portfolio-showcase-header {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.portfolio-showcase-header .section-label {
    justify-content: center;
}

.portfolio-showcase-header .section-heading {
    max-width: 850px;
    margin: 0.8rem auto 0;
}

.portfolio-showcase-header p {
    max-width: 730px;
    margin: 1.3rem auto 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2.7rem;
}

.portfolio-filter-button {
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(70, 52, 111, 0.22);
    border-radius: 10px;
    color: var(--purple);
    background: var(--white);
    font-family: var(--button);
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(46, 33, 75, 0.04);
    transition: color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.portfolio-filter-button:hover, .portfolio-filter-button:focus-visible {
    color: var(--white);
    border-color: var(--coral);
    background: var(--coral);
    transform: translateY(-2px);
}

.portfolio-filter-button.is-active {
    color: var(--white);
    border-color: var(--purple);
    background: var(--purple);
    box-shadow: 0 10px 25px rgba(70, 52, 111, 0.2);
}

.portfolio-filter-button:focus-visible {
    outline: 3px solid rgba(248, 87, 67, 0.22);
    outline-offset: 3px;
}

.portfolio-project-grid {
    --hex-columns: 10;
    width: 100%;
    max-width: 1500px;
    display: grid;
    grid-template-columns: repeat(
            var(--hex-columns),
            minmax(0, 1fr)
        );
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
    margin: clamp(3.5rem, 6vw, 5rem)
        auto
        2rem;
    padding-inline: 10px;
}

.portfolio-project-card {
    min-width: 0;
    position: relative;
    transition: opacity 0.3s ease;
}

.portfolio-project-card.is-hidden {
    display: none;
}

.portfolio-project-lightbox-trigger {
    width: 100%;
    display: block;
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: inherit;
    cursor: zoom-in;
    filter: drop-shadow(
            0 12px 20px rgba(46, 33, 75, 0.11)
        );
    transition: transform 0.3s ease,
        filter 0.3s ease;
}

.portfolio-project-visual {
    width: 100%;
    aspect-ratio: 0.91 / 1;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--cream);
    box-shadow: none !important;
    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );
}

.portfolio-hex-image {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 0.45s cubic-bezier(.2,.8,.25,1),
        filter 0.4s ease;
}

.portfolio-project-card[data-portfolio-item="illustration"] .portfolio-hex-image {
    object-fit: cover;
    object-position: center;
}

.portfolio-project-card[data-portfolio-item="cover"] .portfolio-hex-image {
    object-fit: cover;
    object-position: center;
}

.portfolio-project-card[data-portfolio-item="website"] .portfolio-hex-image {
    object-fit: cover;
    object-position: top center;
}

.portfolio-hex-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
            to top,
            rgba(46, 33, 75, 0.95) 0%,
            rgba(70, 52, 111, 0.55) 48%,
            rgba(70, 52, 111, 0.08) 100%
        );
    transition: opacity 0.3s ease;
}

.portfolio-hex-caption {
    width: 76%;
    position: absolute;
    left: 50%;
    bottom: 14%;
    z-index: 4;
    color: var(--white);
    text-align: center;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 0.3s ease,
        transform 0.3s ease;
}

.portfolio-hex-caption small {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--coral);
    font-family: var(--button);
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.portfolio-hex-caption strong {
    display: block;
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(
            1.1rem,
            1.45vw,
            1.75rem
        );
    line-height: 1;
    text-transform: uppercase;
}

.portfolio-hex-caption > span {
    display: block;
    margin-top: 0.55rem;
    color: rgba(
            255,
            255,
            255,
            0.78
        );
    font-family: var(--button);
    font-size: 0.54rem;
    font-weight: 700;
}

.portfolio-project-expand {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 24%;
    right: 10%;
    z-index: 5;
    border-radius: 50%;
    color: var(--white);
    background: var(--coral);
    box-shadow: 0 10px 24px rgba(31, 21, 52, 0.2);
    opacity: 0;
    transform: translateY(-5px)
        scale(0.88);
    transition: opacity 0.25s ease,
        transform 0.25s ease;
}

.portfolio-project-expand svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portfolio-project-lightbox-trigger:hover, .portfolio-project-lightbox-trigger:focus-visible {
    transform: translateY(-5px);
    filter: drop-shadow(
            0 22px 28px rgba(46, 33, 75, 0.19)
        );
}

.portfolio-project-lightbox-trigger:hover .portfolio-hex-image, .portfolio-project-lightbox-trigger:focus-visible .portfolio-hex-image {
    transform: scale(1.075);
    filter: brightness(0.82)
        saturate(1.05);
}

.portfolio-project-lightbox-trigger:hover .portfolio-hex-overlay, .portfolio-project-lightbox-trigger:focus-visible .portfolio-hex-overlay {
    opacity: 1;
}

.portfolio-project-lightbox-trigger:hover .portfolio-hex-caption, .portfolio-project-lightbox-trigger:focus-visible .portfolio-hex-caption {
    opacity: 1;
    transform: translate(-50%, 0);
}

.portfolio-project-lightbox-trigger:hover .portfolio-project-expand, .portfolio-project-lightbox-trigger:focus-visible .portfolio-project-expand {
    opacity: 1;
    transform: translateY(0)
        scale(1);
}

.portfolio-project-lightbox-trigger:focus-visible {
    outline: none;
}

.portfolio-project-card.is-filter-entering {
    animation: portfolioHoneycombFade
        0.38s ease both;
}

@keyframes portfolioHoneycombFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 767.98px) {
    .portfolio-project-grid {
        column-gap: 7px;
        row-gap: 7px;
        margin-top: 2.8rem;
        padding-inline: 2px;
    }

    .portfolio-hex-caption {
        display: none;
    }

    .portfolio-project-expand {
        width: 31px;
        height: 31px;
        top: 23%;
        right: 8%;
        opacity: 1;
        transform: none;
    }

    .portfolio-project-expand svg {
        width: 14px;
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-project-card, .portfolio-project-lightbox-trigger, .portfolio-hex-image, .portfolio-hex-overlay, .portfolio-hex-caption, .portfolio-project-expand {
        animation: none;
        transition: none;
    }
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    overflow: auto;
    padding: 90px
        60px
        70px;
    overscroll-behavior: contain;
}

.portfolio-lightbox.is-open {
    display: block;
}

.portfolio-lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(15, 13, 19, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.portfolio-lightbox-close {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 25;
    padding: 0;
    border: 1px solid
        rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--white);
    background: var(--purple);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: background-color 0.25s ease,
        transform 0.25s ease;
}

.portfolio-lightbox-close:hover, .portfolio-lightbox-close:focus-visible {
    background: var(--coral);
    transform: rotate(5deg)
        scale(1.05);
}

.portfolio-lightbox-close:focus-visible {
    outline: 3px solid
        rgba(248, 87, 67, 0.3);
    outline-offset: 3px;
}

.portfolio-lightbox-content {
    width: max-content;
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
}

.portfolio-lightbox-image {
    width: auto;
    height: auto;
    max-width: calc(100vw - 140px);
    max-height: calc(100vh - 150px);
    display: none;
    object-fit: contain;
    background: var(--white);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    transform-origin: top center;
    animation: portfolioLightboxImageIn
        0.3s ease both;
}

.portfolio-lightbox-image.is-loaded {
    display: block;
}

@keyframes portfolioLightboxImageIn {
    from {
        opacity: 0;

        transform:
            translateY(10px)
            scale(0.99);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

.portfolio-lightbox-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 30;
    padding: 6px;
    border: 1px solid
        rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(34, 25, 50, 0.92);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(-50%);
}

.portfolio-lightbox-control {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease,
        transform 0.2s ease;
}

.portfolio-lightbox-control:hover, .portfolio-lightbox-control:focus-visible {
    color: var(--white);
    background: var(--coral);
    transform: scale(1.06);
}

.portfolio-lightbox-control:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.portfolio-lightbox-zoom-value {
    min-width: 58px;
    color: var(--white);
    font-family: var(--button);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
}

.portfolio-lightbox-fit {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--purple);
    font-family: var(--button);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease,
        transform 0.2s ease;
}

.portfolio-lightbox-fit:hover, .portfolio-lightbox-fit:focus-visible {
    background: var(--coral);
    transform: translateY(-1px);
}

.portfolio-lightbox-loader {
    display: block;
    padding: 4rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--button);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-lightbox-loader.is-hidden {
    display: none;
}

body.portfolio-lightbox-open {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .portfolio-lightbox {
        padding: 70px
            10px
            45px;
    }

    .portfolio-lightbox-image {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 120px);
    }

    .portfolio-lightbox-controls {
        top: 10px;
    }

    .portfolio-lightbox-control {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .portfolio-lightbox-zoom-value {
        min-width: 45px;
        font-size: 0.62rem;
    }

    .portfolio-lightbox-fit {
        min-height: 34px;
        padding: 0
            10px;
        font-size: 0.6rem;
    }

    .portfolio-lightbox-close {
        width: 42px;
        height: 42px;
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-project-card, .portfolio-project-lightbox-trigger, .portfolio-hex-image, .portfolio-hex-overlay, .portfolio-hex-caption, .portfolio-project-expand, .portfolio-lightbox-image, .portfolio-lightbox-close, .portfolio-lightbox-control, .portfolio-lightbox-fit {
        animation: none;
        transition: none;
    }
}
/* =========================================================
   PORTFOLIO SECTION — PREMIUM THEME BACKGROUND
========================================================= */

.portfolio-showcase-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 14%,
            rgba(248, 87, 67, 0.12) 0%,
            rgba(248, 87, 67, 0.06) 16%,
            transparent 34%
        ),
        radial-gradient(
            circle at 91% 27%,
            rgba(70, 52, 111, 0.14) 0%,
            rgba(70, 52, 111, 0.06) 20%,
            transparent 38%
        ),
        radial-gradient(
            circle at 72% 92%,
            rgba(248, 87, 67, 0.07) 0%,
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #fffaf0 0%,
            #ffffff 39%,
            #fbf8ff 72%,
            #f7f2fb 100%
        );
}


/* Keep actual content above decorative layers */

.portfolio-showcase-section > .container-xl {
    position: relative;
    z-index: 3;
}


/* =========================================================
   LARGE DECORATIVE PURPLE RING
========================================================= */

.portfolio-showcase-section::before {
    content: "";

    width: clamp(330px, 36vw, 620px);
    height: clamp(330px, 36vw, 620px);

    position: absolute;
    z-index: 0;

    top: -210px;
    right: -190px;

    border:
        2px solid
        rgba(70, 52, 111, 0.08);

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 55px
        rgba(70, 52, 111, 0.018);

    pointer-events: none;
}


/* =========================================================
   CORAL ABSTRACT SHAPE
========================================================= */

.portfolio-showcase-section::after {
    content: "";

    width: clamp(180px, 18vw, 320px);
    height: clamp(180px, 18vw, 320px);

    position: absolute;
    z-index: 0;

    left: -135px;
    bottom: -120px;

    border-radius:
        42% 58% 66% 34%
        / 53% 38% 62% 47%;

    background:
        linear-gradient(
            145deg,
            rgba(248, 87, 67, 0.16),
            rgba(248, 87, 67, 0.05)
        );

    transform: rotate(27deg);

    pointer-events: none;
}


/* =========================================================
   PORTFOLIO HEADING AREA
========================================================= */

.portfolio-showcase-header {
    max-width: 850px;

    position: relative;

    margin:
        0
        auto
        2.8rem;

    text-align: center;
}

.portfolio-showcase-header::before {
    content: "";

    width: 62px;
    height: 4px;

    position: absolute;
    left: 50%;
    bottom: -18px;

    border-radius: 999px;

    background: var(--coral);

    transform: translateX(-50%);
}

.portfolio-showcase-header .section-label {
    color: var(--coral);
}

.portfolio-showcase-header
.section-heading {
    color: var(--purple);
}

.portfolio-showcase-header p {
    max-width: 680px;

    margin:
        1rem
        auto
        0;

    color: var(--muted);

    line-height: 1.8;
}


/* =========================================================
   FILTER BAR — GLASS / PREMIUM
========================================================= */

.portfolio-filter-bar {
    width: fit-content;
    max-width: 100%;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;

    position: relative;
    z-index: 4;

    margin:
        2.6rem
        auto
        1.5rem;

    padding: 0.55rem;

    border:
        1px solid
        rgba(70, 52, 111, 0.1);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.72);

    box-shadow:
        0 18px 45px
        rgba(46, 33, 75, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* Filter buttons */

.portfolio-filter-button {
    min-height: 44px;

    padding:
        0.72rem
        1.35rem;

    border:
        1px solid
        transparent;

    border-radius: 999px;

    color: var(--purple);
    background: transparent;

    font-family: var(--button);
    font-size: 0.72rem;
    font-weight: 750;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.portfolio-filter-button:hover {
    color: var(--purple);

    background:
        rgba(70, 52, 111, 0.07);

    transform: translateY(-1px);
}


/* Active filter */

.portfolio-filter-button.is-active {
    color: var(--white);

    border-color: var(--purple);

    background: var(--purple);

    box-shadow:
        0 10px 25px
        rgba(70, 52, 111, 0.22);
}


/* =========================================================
   SUBTLE LIGHT BEHIND HONEYCOMB
========================================================= */

.portfolio-project-grid {
    position: relative;
    z-index: 2;
}

.portfolio-project-grid::before {
    content: "";

    width: 72%;
    height: 72%;

    position: absolute;
    z-index: -1;

    top: 12%;
    left: 50%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.52) 43%,
            transparent 72%
        );

    filter: blur(25px);

    transform: translateX(-50%);

    pointer-events: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .portfolio-showcase-section {
        padding-top: 65px;
        padding-bottom: 75px;
    }

    .portfolio-showcase-section::before {
        width: 320px;
        height: 320px;

        top: -160px;
        right: -185px;
    }

    .portfolio-showcase-section::after {
        width: 190px;
        height: 190px;

        left: -105px;
        bottom: -95px;
    }

    .portfolio-filter-bar {
        width: 100%;

        border-radius: 22px;

        padding: 0.45rem;
    }

    .portfolio-filter-button {
        flex: 1 1 100%;

        width: 100%;

        text-align: center;
    }
}
/* =========================================================
   GLOBAL CONTACT MODAL
========================================================= */

.global-contact-modal {
    --bs-modal-width: 760px;
}


/* Backdrop */

.global-contact-modal + .modal-backdrop,
.modal-backdrop.show {
    opacity: 0.6;
}


/* Dialog */

.global-contact-modal .modal-dialog {
    width: calc(100% - 28px);
    max-width: 760px;

    margin-inline: auto;
}


/* Main panel */

.global-contact-modal .modal-content {
    position: relative;
    overflow: hidden;

    border: 1px solid
        rgba(70, 52, 111, 0.12);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #fffdf8 0%,
            #ffffff 58%,
            #faf6ff 100%
        );

    box-shadow:
        0 35px 100px
        rgba(26, 18, 46, 0.34);
}


/* Coral accent */

.global-contact-accent {
    width: 180px;
    height: 180px;

    position: absolute;
    z-index: 0;

    top: -105px;
    right: -65px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(248, 87, 67, 0.28),
            rgba(248, 87, 67, 0.08) 55%,
            transparent 72%
        );

    pointer-events: none;
}


/* =========================================================
   HEADER
========================================================= */

.global-contact-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;

    position: relative;
    z-index: 2;

    padding:
        2.2rem
        2.2rem
        1.5rem;

    border-bottom:
        1px solid
        rgba(70, 52, 111, 0.09);
}


.global-contact-header h2 {
    margin:
        0.5rem
        0
        0.65rem;

    color: var(--purple);

    font-family: var(--heading);

    font-size:
        clamp(
            3rem,
            6vw,
            5rem
        );

    line-height: 0.88;

    text-transform: uppercase;
}


.global-contact-header p {
    max-width: 560px;

    margin: 0;

    color: var(--muted);

    font-size: 0.88rem;
    line-height: 1.7;
}


/* Close */

.global-contact-close {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    flex: 0 0 46px;

    position: relative;
    z-index: 3;

    padding: 0;

    border: 0;
    border-radius: 50%;

    color: var(--white);
    background: var(--purple);

    font-size: 1.65rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.global-contact-close:hover {
    background: var(--coral);

    box-shadow:
        0 10px 25px
        rgba(248, 87, 67, 0.25);

    transform:
        rotate(8deg)
        scale(1.05);
}


/* =========================================================
   BODY
========================================================= */

.global-contact-body {
    position: relative;
    z-index: 2;

    padding: 1.8rem 2.2rem 2rem;
}


.global-contact-form .form-label {
    margin-bottom: 0.45rem;

    color: var(--purple);

    font-family: var(--button);
    font-size: 0.7rem;
    font-weight: 800;
}


.global-contact-form .form-control,
.global-contact-form .form-select {
    min-height: 54px;

    padding:
        0.8rem
        1rem;

    border:
        1px solid
        rgba(70, 52, 111, 0.13);

    border-radius: 14px;

    color: var(--charcoal);
    background: var(--white);

    box-shadow: none;

    font-size: 0.82rem;

    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}


.global-contact-form textarea.form-control {
    min-height: 135px;

    resize: vertical;
}


.global-contact-form .form-control:focus,
.global-contact-form .form-select:focus {
    border-color: var(--purple);

    box-shadow:
        0 0 0 4px
        rgba(70, 52, 111, 0.08);

    transform: translateY(-1px);
}


/* Submit */

.global-contact-submit {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;

    margin-top: 0.4rem;

    border-radius: 999px;
}


.global-contact-submit svg {
    width: 18px;
    height: 18px;

    transition:
        transform 0.25s ease;
}


.global-contact-submit:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   FOOTER
========================================================= */

.global-contact-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    position: relative;
    z-index: 2;

    padding:
        1rem
        2.2rem;

    color: rgba(255, 255, 255, 0.72);

    background: var(--purple);

    font-size: 0.65rem;
}


/* =========================================================
   OPEN ANIMATION
========================================================= */

.global-contact-modal.show .modal-dialog {
    animation:
        globalContactModalIn
        0.35s
        cubic-bezier(
            .2,
            .8,
            .2,
            1
        )
        both;
}


@keyframes globalContactModalIn {

    from {
        opacity: 0;

        transform:
            translateY(24px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .global-contact-modal .modal-dialog {
        width: calc(100% - 18px);
    }

    .global-contact-modal .modal-content {
        border-radius: 22px;
    }

    .global-contact-header {
        padding:
            1.5rem
            1.2rem
            1.1rem;
    }

    .global-contact-header h2 {
        font-size:
            clamp(
                2.8rem,
                13vw,
                4rem
            );
    }

    .global-contact-body {
        padding:
            1.3rem
            1.2rem
            1.5rem;
    }

    .global-contact-footer {
        flex-direction: column;

        padding:
            0.9rem
            1.2rem;
    }
}


@media (prefers-reduced-motion: reduce) {

    .global-contact-modal.show .modal-dialog {
        animation: none;
    }
}
/* =========================================================
   GLOBAL CONTACT MODAL — HEIGHT / SCROLL FIX
========================================================= */

.global-contact-modal .modal-dialog {
    width: calc(100% - 28px);
    max-width: 760px;

    margin: 1rem auto;

    height: auto;
    max-height: calc(100vh - 2rem);
}


.global-contact-modal .modal-content {
    max-height: calc(100vh - 2rem);

    display: flex;
    flex-direction: column;

    overflow: hidden;
}


/* Header should stay visible */

.global-contact-header {
    flex: 0 0 auto;
}


/* Actual scroll area */

.global-contact-body {
    flex: 1 1 auto;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding:
        1.5rem
        2.2rem
        1.7rem;
}


/* Footer stays at bottom */

.global-contact-footer {
    flex: 0 0 auto;
}


/* Better scrollbar */

.global-contact-body {
    scrollbar-width: thin;

    scrollbar-color:
        var(--coral)
        rgba(70, 52, 111, 0.08);
}


.global-contact-body::-webkit-scrollbar {
    width: 5px;
}


.global-contact-body::-webkit-scrollbar-track {
    background:
        rgba(70, 52, 111, 0.06);
}


.global-contact-body::-webkit-scrollbar-thumb {
    border-radius: 999px;

    background: var(--coral);
}
/* =========================================================
   FOOTER SOCIAL MEDIA
========================================================= */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    margin-top: 1.4rem;
}


.footer-social-link {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    position: relative;
    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 50%;

    color: var(--white);

    background:
        rgba(255, 255, 255, 0.08);

    text-decoration: none;

    transition:
        transform 0.28s ease,
        background-color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}


.footer-social-link svg {
    width: 19px;
    height: 19px;

    position: relative;
    z-index: 2;
}


/* Facebook */

.footer-social-link.is-facebook:hover {
    color: #fff;

    border-color: #1877f2;

    background: #1877f2;

    box-shadow:
        0 10px 24px
        rgba(24, 119, 242, 0.28);

    transform:
        translateY(-4px)
        rotate(-4deg);
}


/* Instagram */

.footer-social-link.is-instagram:hover {
    color: #fff;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );

    box-shadow:
        0 10px 24px
        rgba(225, 48, 108, 0.28);

    transform:
        translateY(-4px)
        rotate(4deg);
}


/* Keyboard focus */

.footer-social-link:focus-visible {
    outline:
        3px solid
        rgba(248, 87, 67, 0.4);

    outline-offset: 4px;
}


@media (prefers-reduced-motion: reduce) {

    .footer-social-link {
        transition: none;
    }
}