/* Blancmange Powder — modern-brand variant (cream, berry, chocolate accents) */

body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Berry accent (replaces template coral for dessert niche) */
.bg-coral-100 {
    background-color: #fceef2;
}
.bg-coral-200 {
    background-color: #f7d6df;
}
.bg-coral-500 {
    background-color: #c75b7a;
}
.bg-coral-600 {
    background-color: #a84562;
}
.text-coral-200 {
    color: #f7d6df;
}
.text-coral-500 {
    color: #c75b7a;
}
.text-coral-600 {
    color: #a84562;
}
.border-coral-500 {
    border-color: #c75b7a;
}
.border-coral-400 {
    border-color: #e08ba0;
}
.ring-coral-500 {
    --tw-ring-color: #c75b7a;
}

/* Inner page hero — image, scrims, glows (trimmed Tailwind build omits many arbitrary utilities) */
.inner-hero {
    position: relative;
    z-index: 0;
    overflow: hidden;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow:
        0 25px 50px -12px rgba(28, 25, 23, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .inner-hero {
        border-radius: 0 0 2.5rem 2.5rem;
    }
}

.inner-hero__visual {
    position: absolute;
    inset: 0;
    min-height: 360px;
}

@media (min-width: 768px) {
    .inner-hero__visual {
        min-height: 440px;
    }
}

@media (min-width: 1024px) {
    .inner-hero__visual {
        min-height: 460px;
    }
}

.inner-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

@media (min-width: 640px) {
    .inner-hero__img {
        transform: none;
    }
}

.inner-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.inner-hero__scrim--main {
    background: linear-gradient(
        135deg,
        rgba(12, 10, 9, 0.82) 0%,
        rgba(41, 37, 36, 0.55) 45%,
        rgba(28, 25, 23, 0.4) 100%
    );
}

.inner-hero[data-flavour="strawberry"] .inner-hero__scrim--main {
    background: linear-gradient(
        135deg,
        rgba(12, 10, 9, 0.8) 0%,
        rgba(41, 37, 36, 0.5) 50%,
        rgba(90, 20, 40, 0.35) 100%
    );
}

.inner-hero[data-flavour="chocolate"] .inner-hero__scrim--main {
    background: linear-gradient(
        135deg,
        rgba(12, 10, 9, 0.85) 0%,
        rgba(69, 26, 3, 0.45) 45%,
        rgba(41, 37, 36, 0.5) 100%
    );
}

.inner-hero[data-flavour="raspberry"] .inner-hero__scrim--main {
    background: linear-gradient(
        135deg,
        rgba(12, 10, 9, 0.8) 0%,
        rgba(88, 28, 70, 0.38) 50%,
        rgba(41, 37, 36, 0.55) 100%
    );
}

.inner-hero[data-flavour="vanilla"] .inner-hero__scrim--main {
    background: linear-gradient(
        135deg,
        rgba(12, 10, 9, 0.78) 0%,
        rgba(69, 45, 10, 0.28) 40%,
        rgba(41, 37, 36, 0.55) 100%
    );
}

.inner-hero[data-flavour="shops"] .inner-hero__scrim--main {
    background: linear-gradient(
        135deg,
        rgba(12, 10, 9, 0.82) 0%,
        rgba(41, 37, 36, 0.5) 50%,
        rgba(80, 25, 35, 0.32) 100%
    );
}

.inner-hero__scrim--bottom {
    background: linear-gradient(
        to top,
        #0c0a09 0%,
        rgba(12, 10, 9, 0.45) 45%,
        rgba(0, 0, 0, 0.52) 100%
    );
}

.inner-hero__glow {
    position: absolute;
    z-index: 1;
    border-radius: 9999px;
    filter: blur(64px);
    pointer-events: none;
}

.inner-hero__glow--tr {
    top: -5rem;
    right: -4rem;
    width: 18rem;
    height: 18rem;
}

.inner-hero__glow--bl {
    bottom: -8rem;
    left: -5rem;
    width: 20rem;
    height: 20rem;
}

@media (min-width: 768px) {
    .inner-hero__glow--tr {
        width: 24rem;
        height: 24rem;
    }
}

.inner-hero[data-flavour="strawberry"] .inner-hero__glow--tr {
    background: rgba(244, 114, 182, 0.32);
}

.inner-hero[data-flavour="strawberry"] .inner-hero__glow--bl {
    background: rgba(251, 207, 232, 0.22);
}

.inner-hero[data-flavour="chocolate"] .inner-hero__glow--tr {
    background: rgba(217, 119, 6, 0.28);
}

.inner-hero[data-flavour="chocolate"] .inner-hero__glow--bl {
    background: rgba(254, 215, 170, 0.18);
}

.inner-hero[data-flavour="raspberry"] .inner-hero__glow--tr {
    background: rgba(217, 70, 239, 0.28);
}

.inner-hero[data-flavour="raspberry"] .inner-hero__glow--bl {
    background: rgba(251, 207, 232, 0.2);
}

.inner-hero[data-flavour="vanilla"] .inner-hero__glow--tr {
    background: rgba(253, 230, 138, 0.35);
}

.inner-hero[data-flavour="vanilla"] .inner-hero__glow--bl {
    background: rgba(254, 249, 195, 0.22);
}

.inner-hero[data-flavour="shops"] .inner-hero__glow--tr {
    background: rgba(244, 114, 182, 0.24);
}

.inner-hero[data-flavour="shops"] .inner-hero__glow--bl {
    background: rgba(214, 211, 209, 0.2);
}

.inner-hero__body {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 7rem 1rem 4rem;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 640px) {
    .inner-hero__body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .inner-hero__body {
        padding-top: 8rem;
        padding-bottom: 5rem;
        min-height: 440px;
    }
}

@media (min-width: 1024px) {
    .inner-hero__body {
        padding: 9rem 2rem 6rem;
        min-height: 460px;
    }
}

.inner-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 1.25rem;
}

.inner-hero__crumb {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.35rem;
}

.inner-hero__crumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inner-hero__crumb a:hover {
    color: #fff;
}

.inner-hero__crumb span[aria-hidden="true"] {
    color: rgba(255, 255, 255, 0.4);
    padding: 0 0.15rem;
}

.inner-hero__crumb .inner-hero__crumb-current {
    color: #fff;
    font-weight: 600;
}

.inner-hero__title {
    font-size: 2.25rem;
    line-height: 1.08;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) {
    .inner-hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .inner-hero__title {
        font-size: 3.75rem;
        line-height: 1;
    }
}

.inner-hero__lead {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: rgba(255, 255, 255, 0.92);
    max-width: 36rem;
    padding-left: 1.25rem;
    border-left: 4px solid #e08ba0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .inner-hero__lead {
        font-size: 1.25rem;
        line-height: 1.75rem;
        padding-left: 1.5rem;
    }
}

.inner-hero[data-flavour="chocolate"] .inner-hero__lead {
    border-left-color: #fbbf24;
}

.inner-hero[data-flavour="raspberry"] .inner-hero__lead {
    border-left-color: #e879f9;
}

.inner-hero[data-flavour="vanilla"] .inner-hero__lead {
    border-left-color: #fde68a;
}

.inner-hero[data-flavour="shops"] .inner-hero__lead {
    border-left-color: #e08ba0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#header.scrolled {
    background-color: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Inner pages: readable nav over bright hero imagery */
#header.header-inner {
    background-color: rgba(255, 251, 247, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
    border-bottom: 1px solid rgba(231, 229, 228, 0.8);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary {
    list-style: none;
}

.nav-details[open] summary {
    color: #a84562;
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open {
    display: block;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fffbf7;
}

::-webkit-scrollbar-thumb {
    background: #d6c4b8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a89588;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #c75b7a;
    outline-offset: 2px;
}

input::placeholder {
    color: #a8a29e;
}

input:focus {
    outline: none;
}

#testimonial-carousel {
    position: relative;
}

#testimonial-track {
    display: flex;
    transition: transform 0.3s ease;
}

#testimonial-track > div {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #d6d3d1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: #c75b7a;
}

@media (max-width: 640px) {
    .hero-stats .w-px {
        width: 100%;
        height: 1px;
    }
}

@media print {
    header,
    footer,
    #mobile-menu,
    button,
    .no-print {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    a {
        color: black;
        text-decoration: underline;
    }
}

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

::selection {
    background-color: #c75b7a;
    color: white;
}

::-moz-selection {
    background-color: #c75b7a;
    color: white;
}
