/* ==========================================================================
   Hamsa — landing page styles
   Palette sourced directly from the real brand mark (logo + brand colors
   supplied 2026-07-15): ivory F9F6EF and oxblood maroon 470E15. Brass and
   sandalwood-rose are complementary accents chosen to sit alongside them.
   If the brand palette changes later, this :root block is the only place
   that needs to be touched to re-skin the whole page.
   ========================================================================== */

:root {
    --color-dark: #470E15;
    --color-dark-rgb: 71, 14, 21;
    --color-bg: #F9F6EF;
    --color-ivory: #F9F6EF;
    --color-accent: #A87C4F;
    --color-accent-rgb: 168, 124, 79;
    --color-accent-hover: #92693F;
    --color-accent-2: #8C6157;
    --color-accent-2-rgb: 140, 97, 87;
    --color-accent-2-hover: #79504A;
    --color-card-bg: #FFFFFF;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1180px;
    --nav-height: 78px;
    --space-section: clamp(4.5rem, 9vw, 8rem);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --shadow-sm: 0 2px 14px rgba(var(--color-dark-rgb), 0.08);
    --shadow-md: 0 20px 40px rgba(var(--color-dark-rgb), 0.14);
    --shadow-lg: 0 30px 70px rgba(var(--color-dark-rgb), 0.24);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 600; color: var(--color-dark); }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

::selection { background: var(--color-accent); color: var(--color-ivory); }

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Shop follows About, Contact follows Testimonials — both pairs share the
   same background, so their top padding is trimmed to avoid a dead-looking
   double gap where the two sections meet. */
#shop, #contact {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.section {
    padding: var(--space-section) 0;
    scroll-margin-top: var(--nav-height);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .18em;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}
.eyebrow--ivory { color: var(--color-accent-2); }

h2 {
    font-size: clamp(2rem, 2.4vw + 1.2rem, 3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 2rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .01em;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease),
                background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--color-accent); color: var(--color-dark); }
.btn--primary:hover, .btn--primary:focus-visible {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn--ghost { background: transparent; color: var(--color-ivory); border-color: rgba(249, 246, 239, .55); }
.btn--ghost:hover, .btn--ghost:focus-visible {
    background: rgba(249, 246, 239, .12);
    border-color: var(--color-ivory);
    transform: translateY(-3px);
}

.btn--accent { background: var(--color-ivory); color: var(--color-dark); }
.btn--accent:hover, .btn--accent:focus-visible {
    background: var(--color-accent);
    color: var(--color-ivory);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn--ghost-dark { background: transparent; color: var(--color-dark); border-color: rgba(var(--color-dark-rgb), .3); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible {
    background: rgba(var(--color-dark-rgb), .06);
    border-color: var(--color-dark);
    transform: translateY(-3px);
}

/* ============ Scroll reveal ============ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.stats [data-reveal]:nth-child(1) { transition-delay: 0s; }
.product-grid .product-card:nth-child(1) { transition-delay: 0s; }
.product-grid .product-card:nth-child(2) { transition-delay: .08s; }
.product-grid .product-card:nth-child(3) { transition-delay: .16s; }
.product-grid .product-card:nth-child(4) { transition-delay: .24s; }
.product-grid .product-card:nth-child(5) { transition-delay: .32s; }
.product-grid .product-card:nth-child(6) { transition-delay: .4s; }
.offers__grid .offer-card:nth-child(2) { transition-delay: .1s; }
.testimonial-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonial-grid .testimonial-card:nth-child(2) { transition-delay: .1s; }
.testimonial-grid .testimonial-card:nth-child(3) { transition-delay: .2s; }

/* ============ Wisp motif ============ */
.wisp-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; perspective: 900px; }

.wisp {
    position: absolute;
    border-radius: 42% 58% 63% 37% / 47% 41% 59% 53%;
    filter: blur(60px);
    opacity: .7;
    transform-style: preserve-3d;
    animation: wispDrift 24s ease-in-out infinite;
}

.wisp--a {
    width: 32vw; height: 32vw; max-width: 460px; max-height: 460px;
    top: -10%; left: 6%;
    --depth: -90px;
    background: radial-gradient(circle at 35% 35%, rgba(249, 246, 239, .9), rgba(249, 246, 239, 0) 70%);
    animation-duration: 26s;
}
.wisp--b {
    width: 24vw; height: 24vw; max-width: 360px; max-height: 360px;
    top: 18%; right: 2%;
    --depth: 50px;
    background: radial-gradient(circle at 60% 40%, rgba(var(--color-accent-rgb), .85), rgba(var(--color-accent-rgb), 0) 70%);
    animation-duration: 20s; animation-delay: -7s;
}
.wisp--c {
    width: 20vw; height: 20vw; max-width: 300px; max-height: 300px;
    bottom: -8%; left: 38%;
    --depth: -30px;
    background: radial-gradient(circle, rgba(var(--color-accent-2-rgb), .8), rgba(var(--color-accent-2-rgb), 0) 72%);
    animation-duration: 30s; animation-delay: -15s;
}
.wisp--j {
    width: 14vw; height: 14vw; max-width: 200px; max-height: 200px;
    top: 40%; left: 48%;
    --depth: 80px;
    background: radial-gradient(circle, rgba(249, 246, 239, .8), rgba(249, 246, 239, 0) 70%);
    animation-duration: 23s; animation-delay: -4s;
}

.wisp-wrap--quiet .wisp { opacity: .42; filter: blur(50px); }
.wisp--d {
    width: 18vw; height: 18vw; max-width: 260px; max-height: 260px;
    top: 8%; right: 8%;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), .8), rgba(var(--color-accent-rgb), 0) 70%);
    animation-duration: 28s;
}
.wisp--e {
    width: 16vw; height: 16vw; max-width: 220px; max-height: 220px;
    bottom: -4%; left: 8%;
    background: radial-gradient(circle, rgba(var(--color-accent-2-rgb), .8), rgba(var(--color-accent-2-rgb), 0) 70%);
    animation-duration: 24s; animation-delay: -9s;
}
.wisp--f {
    width: 20vw; height: 20vw; max-width: 280px; max-height: 280px;
    top: -6%; right: 12%;
    background: radial-gradient(circle, rgba(var(--color-accent-2-rgb), .8), rgba(var(--color-accent-2-rgb), 0) 70%);
    animation-duration: 32s;
}
.wisp--g {
    width: 17vw; height: 17vw; max-width: 240px; max-height: 240px;
    bottom: -6%; right: 6%;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), .8), rgba(var(--color-accent-rgb), 0) 70%);
    animation-duration: 27s; animation-delay: -12s;
}
.wisp--h {
    width: 15vw; height: 15vw; max-width: 210px; max-height: 210px;
    top: -8%; left: 10%;
    background: radial-gradient(circle, rgba(249, 246, 239, .5), rgba(249, 246, 239, 0) 70%);
    animation-duration: 25s;
}
.wisp--i {
    width: 15vw; height: 15vw; max-width: 210px; max-height: 210px;
    bottom: -10%; left: -4%;
    background: radial-gradient(circle, rgba(var(--color-accent-2-rgb), .8), rgba(var(--color-accent-2-rgb), 0) 70%);
    animation-duration: 29s; animation-delay: -10s;
}

@keyframes wispDrift {
    0%   { transform: translate(0, 0) translateZ(var(--depth, 0px)) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1); }
    33%  { transform: translate(3%, -4%) translateZ(var(--depth, 0px)) rotateX(18deg) rotateY(24deg) rotateZ(6deg) scale(1.1); }
    66%  { transform: translate(-4%, 3%) translateZ(var(--depth, 0px)) rotateX(-14deg) rotateY(-20deg) rotateZ(-5deg) scale(.94); }
    100% { transform: translate(0, 0) translateZ(var(--depth, 0px)) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1); }
}

/* ---- Floating particles (hero) — scent lifting into the air ---- */
.particle-field { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.particle {
    position: absolute;
    bottom: 8%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 246, 239, .95), rgba(249, 246, 239, 0) 72%);
    opacity: 0;
    animation: particleRise 9s ease-in infinite;
}
.particle:nth-child(1) { left: 12%; width: 5px; height: 5px; animation-duration: 8s; animation-delay: 0s; }
.particle:nth-child(2) { left: 22%; width: 7px; height: 7px; animation-duration: 11s; animation-delay: -2s;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), .95), rgba(var(--color-accent-rgb), 0) 72%); }
.particle:nth-child(3) { left: 38%; width: 4px; height: 4px; animation-duration: 7.5s; animation-delay: -5s; }
.particle:nth-child(4) { left: 55%; width: 6px; height: 6px; animation-duration: 10s; animation-delay: -1s;
    background: radial-gradient(circle, rgba(var(--color-accent-2-rgb), .95), rgba(var(--color-accent-2-rgb), 0) 72%); }
.particle:nth-child(5) { left: 68%; width: 5px; height: 5px; animation-duration: 8.5s; animation-delay: -6s; }
.particle:nth-child(6) { left: 82%; width: 7px; height: 7px; animation-duration: 12s; animation-delay: -3s;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), .95), rgba(var(--color-accent-rgb), 0) 72%); }
.particle:nth-child(7) { left: 92%; width: 4px; height: 4px; animation-duration: 9.5s; animation-delay: -7s; }

@keyframes particleRise {
    0%   { transform: translateY(0) translateX(0) scale(.6); opacity: 0; }
    12%  { opacity: .75; }
    50%  { transform: translateY(-38vh) translateX(12px) scale(1); opacity: .5; }
    88%  { opacity: 0; }
    100% { transform: translateY(-62vh) translateX(-8px) scale(.4); opacity: 0; }
}

/* ---- Brand ring — a slow echo of the logo's circular seal ---- */
.brand-ring {
    position: absolute;
    width: 320px; height: 320px;
    color: var(--color-accent-2);
    opacity: .34;
    transform-style: preserve-3d;
    animation: ringSpin3D 50s linear infinite;
    pointer-events: none;
}
.brand-ring--offers { top: -60px; right: -60px; color: var(--color-ivory); opacity: .22; }
.brand-ring--shop { bottom: -90px; left: -90px; width: 260px; height: 260px; }

/* ============ Navbar ============ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 22px 0;
    background: transparent;
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.navbar.is-scrolled {
    background: var(--color-bg);
    box-shadow: 0 4px 24px rgba(var(--color-dark-rgb), .1);
    padding: 14px 0;
}

.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.navbar__brand {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
    color: var(--color-ivory);
    transition: color .4s ease;
}
.navbar.is-scrolled .navbar__brand { color: var(--color-dark); }
.navbar__brand img {
    height: 40px; width: auto;
    animation: logoWobble 7s ease-in-out infinite;
}
@keyframes logoWobble {
    0%, 100% { transform: perspective(300px) rotateY(0deg) rotateZ(0deg); }
    25%      { transform: perspective(300px) rotateY(10deg) rotateZ(-2deg); }
    75%      { transform: perspective(300px) rotateY(-10deg) rotateZ(2deg); }
}

.navbar__nav { display: flex; gap: 2rem; perspective: 400px; }
.navbar__link {
    font-family: var(--font-body); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
    color: var(--color-ivory);
    position: relative; padding: .2rem 0;
    transition: color .3s ease;
}
.navbar__link::after {
    content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0); transform-origin: left center;
    transition: transform .35s var(--ease);
}
.navbar__link:hover::after, .navbar__link:focus-visible::after { transform: scaleX(1); }
.navbar.is-scrolled .navbar__link { color: var(--color-dark); }

.navbar__toggle {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 34px; height: 34px;
    background: none; border: none; cursor: pointer; padding: 0;
}
.navbar__toggle span {
    display: block; width: 100%; height: 2px; border-radius: 2px;
    background: var(--color-ivory);
    transition: transform .35s var(--ease), opacity .3s var(--ease), background-color .3s ease;
}
.navbar.is-scrolled .navbar__toggle span { background: var(--color-dark); }
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    scroll-margin-top: var(--nav-height);
    perspective: 1200px;
}

/* Scene wrapper — tilts as a whole group on mousemove (desktop only; JS
   never attaches the listener on touch devices, so it just sits still and
   lets the individual wisp/ring/particle animations carry the motion). */
.hero__scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transform-style: preserve-3d;
    transition: transform .4s ease-out;
    will-change: transform;
}

/* Large auto-rotating bottle centerpiece, echoing the preloader bottle */
.hero__bottle-wrap {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(150px, 17vw, 250px);
    perspective: 1200px;
    pointer-events: none;
    transition: transform .4s ease-out;
    will-change: transform;
}
.hero__bottle-spin {
    width: 100%;
    transform-style: preserve-3d;
    animation: bottleAutoSpin 16s linear infinite;
    color: var(--color-ivory);
    opacity: .55;
}
.hero__bottle-spin .bottle__cap { opacity: .9; }
@keyframes bottleAutoSpin {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
}

.hero__ambient-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__media { position: absolute; top: -10%; left: 0; right: 0; height: 120%; z-index: 0; will-change: transform; }
.hero__image { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(var(--color-dark-rgb), .55) 0%,
        rgba(var(--color-dark-rgb), .72) 55%,
        rgba(var(--color-dark-rgb), .9) 100%);
}
.hero__wisp { z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: 720px; padding: 6rem 0 4rem; }

.hero__eyebrow { color: var(--color-accent); }
.hero__title {
    font-size: clamp(2.6rem, 5vw + 1.2rem, 5.2rem);
    line-height: 1.06;
    color: var(--color-ivory);
    margin-bottom: 1.25rem;
    perspective: 700px;
}
.word-flip {
    display: inline-block;
    transform-origin: 50% 100%;
    opacity: 0;
    animation: wordFlipUp .7s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: var(--wdelay, 0s);
    animation-play-state: paused;
}
html.hero-ready .word-flip { animation-play-state: running; }
@keyframes wordFlipUp {
    from { opacity: 0; transform: rotateX(-90deg); }
    to   { opacity: 1; transform: rotateX(0deg); }
}
.hero__subtitle {
    font-size: clamp(1rem, 1.2vw + .8rem, 1.25rem);
    color: var(--color-ivory);
    opacity: .88;
    max-width: 52ch;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__fade {
    opacity: 0;
    animation: fadeUp .9s var(--ease) forwards;
    animation-delay: var(--delay, 0s);
    animation-play-state: paused;
}
html.hero-ready .hero__fade { animation-play-state: running; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Hero watermark — large background wordmark, real text (not baked
   into the photo) so it survives whatever hero image is used later ---- */
.hero__watermark {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    overflow: hidden;
}
.hero__watermark-word {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(6rem, 19vw, 15.5rem);
    line-height: 1;
    letter-spacing: .03em;
    color: rgba(249, 246, 239, .16);
    white-space: nowrap;
}
.hero__watermark-tag {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.6rem);
    letter-spacing: .02em;
    color: rgba(249, 246, 239, .22);
    margin-top: .5rem;
    white-space: nowrap;
}

/* ---- Hero 3D rings — large, clearly-visible echo of the logo seal ---- */
.hero__rings { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; perspective: 1000px; }
.ring3d {
    position: absolute;
    width: 380px; height: 380px;
    transform-style: preserve-3d;
}
.ring3d--1 {
    top: 6%; left: -100px;
    color: var(--color-accent);
    opacity: .32;
    animation: ringSpin3D 22s linear infinite;
}
.ring3d--2 {
    bottom: -110px; right: -60px;
    width: 300px; height: 300px;
    color: var(--color-ivory);
    opacity: .24;
    animation: ringSpin3D 30s linear infinite reverse;
}
@keyframes ringSpin3D {
    from { transform: rotateX(18deg) rotateY(0deg); }
    to   { transform: rotateX(18deg) rotateY(360deg); }
}

/* ============ About ============ */
.about { background: var(--color-bg); position: relative; overflow: hidden; }

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.about__media { perspective: 1200px; }
.about__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transform-style: preserve-3d;
    will-change: transform;
}
.about__content p {
    line-height: 1.75;
    color: rgba(var(--color-dark-rgb), .85);
    max-width: 56ch;
    margin-bottom: 1.1rem;
}

.stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; perspective: 700px; }
.stat { display: flex; flex-direction: column; gap: .35rem; }
.stat[data-reveal] {
    transform: rotateY(80deg);
    transform-origin: left center;
    backface-visibility: hidden;
}
.stat[data-reveal].is-visible { transform: rotateY(0deg); }
.stat__number {
    font-family: var(--font-display); font-weight: 600;
    font-size: 2.6rem; line-height: 1;
    color: var(--color-accent);
}
.stat__number--text { font-size: 1.4rem; }
.stat__label { font-size: .85rem; color: rgba(var(--color-dark-rgb), .7); max-width: 16ch; }

/* ============ Shop ============ */
.shop { background: var(--color-bg); position: relative; overflow: hidden; perspective: 900px; }
.shop .container { position: relative; z-index: 2; }

.section__intro {
    color: rgba(var(--color-dark-rgb), .75);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 3rem;
}
.product-card { perspective: 1200px; }

.product-card__flip {
    position: relative;
    min-height: 460px;
    transition: transform .8s var(--ease);
    transform-style: preserve-3d;
    animation: cardFloat 6s ease-in-out infinite;
}
.product-card:hover .product-card__flip,
.product-card:focus-within .product-card__flip,
.product-card.is-flipped .product-card__flip { transform: rotateY(180deg); }

@keyframes cardFloat {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -13px; }
}
.product-grid .product-card:nth-child(1) .product-card__flip { animation-delay: 0s; }
.product-grid .product-card:nth-child(2) .product-card__flip { animation-delay: -1s; }
.product-grid .product-card:nth-child(3) .product-card__flip { animation-delay: -2s; }
.product-grid .product-card:nth-child(4) .product-card__flip { animation-delay: -3s; }
.product-grid .product-card:nth-child(5) .product-card__flip { animation-delay: -4s; }
.product-grid .product-card:nth-child(6) .product-card__flip { animation-delay: -5s; }

.product-card__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}
.product-card__face--back {
    transform: rotateY(180deg);
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2.25rem 1.75rem;
    justify-content: center;
    text-align: center;
}

.product-card__frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .4s var(--ease);
}
.product-card:hover .product-card__frame { box-shadow: var(--shadow-md); }
.product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__image { transform: scale(1.06); }

.product-card__category {
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .14em;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: .5rem;
}
.product-card__name { font-size: 1.35rem; margin-bottom: .5rem; }
.product-card__desc {
    font-size: .92rem; line-height: 1.6;
    color: rgba(var(--color-dark-rgb), .72);
    margin-bottom: .75rem;
}
.product-card__face--back .product-card__desc {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(var(--color-dark-rgb), .82);
    margin-bottom: 1.25rem;
}
.product-card__price { font-weight: 700; letter-spacing: .02em; }

/* ============ Offers ============ */
.offers { background: var(--color-dark); color: var(--color-ivory); position: relative; overflow: hidden; perspective: 900px; }
.offers .container { position: relative; z-index: 2; }
.offers h2 { color: var(--color-ivory); }

.offers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.offer-card {
    background: rgba(249, 246, 239, .05);
    border: 1px solid rgba(249, 246, 239, .14);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: transform .4s var(--ease), border-color .4s ease;
    animation: cardFloat 7s ease-in-out infinite;
}
.offer-card:hover { transform: translateY(-6px); border-color: rgba(249, 246, 239, .32); }
.offers__grid .offer-card:nth-child(1) { animation-delay: 0s; }
.offers__grid .offer-card:nth-child(2) { animation-delay: -3.5s; }
.offer-card h3 { font-size: 1.6rem; color: var(--color-ivory); margin: 1.25rem 0 .75rem; }
.offer-card p { color: rgba(249, 246, 239, .8); line-height: 1.7; margin-bottom: 1.5rem; }
.offer-card__price { font-weight: 700; font-size: 1.3rem; margin-bottom: 1.5rem; }
.offer-card__was { font-weight: 400; font-size: .95rem; text-decoration: line-through; opacity: .5; margin-left: .6rem; }

.badge {
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: var(--color-accent-2);
    color: var(--color-ivory);
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
}
.badge--pulse { position: relative; }
.badge--pulse::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 999px;
    animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--color-accent-2-rgb), .55); }
    70%  { box-shadow: 0 0 0 14px rgba(var(--color-accent-2-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--color-accent-2-rgb), 0); }
}

/* ============ Testimonials ============ */
.testimonials { background: var(--color-bg); position: relative; overflow: hidden; }
.testimonials .container { position: relative; z-index: 2; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.testimonial-card[data-reveal] {
    transform: rotateY(90deg);
    transform-origin: left center;
    backface-visibility: hidden;
}
.testimonial-card[data-reveal].is-visible { transform: rotateY(0deg); }

.testimonial-card {
    margin: 0;
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    padding: 2.5rem 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    animation: cardFloat 6.5s ease-in-out infinite;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-grid .testimonial-card:nth-child(1) { animation-delay: 0s; }
.testimonial-grid .testimonial-card:nth-child(2) { animation-delay: -2.2s; }
.testimonial-grid .testimonial-card:nth-child(3) { animation-delay: -4.4s; }
.testimonial-card::before {
    content: "\201C";
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-accent);
    margin-bottom: .25rem;
}
.testimonial-card__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}
.testimonial-card__attribution {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-accent);
}
.testimonial-card__attribution span {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(var(--color-dark-rgb), .6);
}

/* ============ Contact ============ */
.contact { background: var(--color-bg); position: relative; overflow: hidden; text-align: center; }
.contact__inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }
.contact p {
    color: rgba(var(--color-dark-rgb), .78);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}
.contact__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ Footer ============ */
.footer { background: var(--color-dark); color: var(--color-ivory); padding: 3rem 0 2rem; position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 2; }
.footer__inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(249, 246, 239, .14);
}
.footer__brand {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--font-display); font-size: 1.15rem; color: var(--color-ivory);
}
.footer__brand img { height: 32px; width: auto; }
.footer__links { display: flex; gap: 1.75rem; }
.footer__links a { color: rgba(249, 246, 239, .8); font-size: .9rem; transition: color .3s ease; }
.footer__links a:hover { color: var(--color-ivory); }
.footer__social a { color: var(--color-ivory); display: inline-flex; }
.footer__social svg { width: 20px; height: 20px; }
.footer__copyright { text-align: center; font-size: .82rem; color: rgba(249, 246, 239, .6); }

/* ============ Bottle silhouette (shared: preloader + hero) ============ */
.bottle { overflow: visible; color: var(--color-accent); }
.bottle__body, .bottle__cap { fill: none; }

/* ============ Preloader / opening sequence ============ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s var(--ease);
}
.preloader.is-hidden { opacity: 0; pointer-events: none; }

.preloader__canvas { position: absolute; inset: 0; pointer-events: none; }

.preloader__bottle {
    position: relative;
    width: 140px;
    z-index: 1;
    opacity: 0;
    transform: scale(.7);
    animation: preloaderBottleIn 1s var(--ease) forwards;
}
@keyframes preloaderBottleIn {
    to { opacity: 1; transform: scale(1); }
}
.preloader__bottle .bottle__cap {
    transform-origin: 50% 100%;
    transition: transform 1s var(--ease), opacity .8s ease;
}
.preloader__bottle.is-uncapped .bottle__cap {
    transform: translateY(-46px) rotate(55deg);
    opacity: 0;
}

.preloader__skip {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: rgba(249, 246, 239, .5);
    font-family: var(--font-body);
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: opacity .5s ease, color .3s ease;
    pointer-events: none;
}
.preloader__skip.is-visible { opacity: 1; pointer-events: auto; }
.preloader__skip:hover, .preloader__skip:focus-visible { color: var(--color-ivory); }

/* ============ Offers medallion (3D cylinder) ============ */
.offer-medallion {
    display: inline-block;
    position: relative;
    width: 30px; height: 30px;
    margin-right: .6rem;
    vertical-align: middle;
    perspective: 240px;
}
.offer-medallion__ring {
    position: absolute; inset: 0;
    transform-style: preserve-3d;
    animation: medallionSpin 6s linear infinite;
}
.offer-medallion__face {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    color: var(--color-ivory);
    opacity: .8;
    transform: rotateY(calc(var(--i, 0) * 22.5deg)) translateZ(7px);
}
@keyframes medallionSpin {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
}

/* ============ Shimmer sweep (offer card headings) ============ */
.shimmer-text {
    background: linear-gradient(100deg, var(--color-ivory) 35%, #fff 50%, var(--color-ivory) 65%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmerSweep 3.5s ease-in-out infinite;
}
@keyframes shimmerSweep {
    0%   { background-position: 220% 0; }
    100% { background-position: -120% 0; }
}

/* ============ Icon coin-flip (footer + contact) ============ */
.icon-flip {
    position: relative;
    display: inline-flex;
    perspective: 200px;
    flex-shrink: 0;
}
.icon-flip__face {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    transition: transform .6s var(--ease);
    display: flex; align-items: center; justify-content: center;
}
.icon-flip__face svg { width: 100%; height: 100%; }
.icon-flip__face--back { transform: rotateY(180deg); }
.icon-flip:hover .icon-flip__face--front,
.icon-flip:focus-visible .icon-flip__face--front { transform: rotateY(180deg); }
.icon-flip:hover .icon-flip__face--back,
.icon-flip:focus-visible .icon-flip__face--back { transform: rotateY(360deg); }
.btn .icon-flip { width: 18px; height: 18px; }
.footer__social .icon-flip { width: 20px; height: 20px; }

/* ============ Global cursor mist canvas ============ */
.mist-canvas {
    position: fixed;
    inset: 0;
    z-index: 15;
    pointer-events: none;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar__nav {
        position: fixed;
        top: var(--nav-height); left: 0; right: 0;
        flex-direction: column;
        background: var(--color-bg);
        padding: 1.5rem 1.5rem 2rem;
        gap: 1.25rem;
        box-shadow: 0 16px 30px rgba(var(--color-dark-rgb), .14);
        transform-origin: left top;
        transform: perspective(800px) rotateY(85deg);
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s var(--ease), transform .5s var(--ease);
    }
    .navbar__nav.is-open { opacity: 1; transform: perspective(800px) rotateY(0deg); pointer-events: auto; }
    #navbarNav .navbar__link { color: var(--color-dark); }
    .navbar__link::after { display: none; }
    .navbar__toggle { display: flex; }
    .hero__bottle-wrap { display: none; }

    .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about__media { order: -1; }

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

    .testimonial-grid { grid-template-columns: 1fr; gap: 2rem; }

    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { justify-content: center; }

    .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .stats { flex-direction: column; gap: 1.5rem; }
    .container { padding: 0 1.25rem; }
    .offer-card { padding: 2rem 1.5rem; }
    .contact__actions { width: 100%; }
    .contact__actions .btn { width: 100%; justify-content: center; }
}

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

    /* One-shot reveal transforms settle instantly rather than rotate in —
       simple presence, no motion, but content stays reachable. */
    .word-flip, .stat[data-reveal], .testimonial-card[data-reveal] {
        transform: none !important;
    }

    /* Continuously-spinning decoration is fully removed rather than just
       sped up, per the "particle systems and idle loops disabled" rule.
       The flip-card hover/tap interaction itself is left alone (only its
       duration is squashed above) since the back face holds real content
       that still needs to stay reachable. */
    .hero__bottle-spin, .ring3d, .brand-ring, .offer-medallion__ring,
    .product-card__flip, .navbar__brand img {
        animation: none !important;
    }
    .preloader__canvas, .hero__ambient-canvas, .mist-canvas { display: none; }
    .shimmer-text {
        animation: none !important;
        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        color: var(--color-ivory) !important;
        -webkit-text-fill-color: var(--color-ivory) !important;
    }
}
