/* =========================================================
   Le Clos du Paradis — Design System v2 (éditorial moderne)
   ========================================================= */

:root {
    /* ----- Palette ----- */
    --gold:           #B8924A;
    --gold-soft:      #CDA968;
    --gold-light:     #E3C896;
    --gold-deep:      #8B6F35;
    --gold-tint:      rgba(184, 146, 74, .12);

    --ink:            #14141a;
    --ink-soft:       #1f1f26;
    --ink-warm:       #2c2620;

    --paper:          #fafaf7;
    --cream:          #f5efe0;
    --cream-soft:     #faf6ec;
    --cream-dark:     #ebe2cc;

    --bordeaux:       #5b1b2a;
    --bordeaux-soft:  #7a2a3d;

    --text:           #2c2c33;
    --text-soft:      #56565e;
    --muted:          #8a8a92;
    --line:           rgba(20, 20, 26, .08);
    --line-strong:    rgba(20, 20, 26, .14);
    --line-gold:      rgba(184, 146, 74, .35);

    --shadow-xs:      0 1px 2px rgba(20, 20, 26, .04);
    --shadow-sm:      0 4px 14px rgba(20, 20, 26, .06);
    --shadow:         0 16px 40px rgba(20, 20, 26, .08);
    --shadow-lg:      0 32px 80px rgba(20, 20, 26, .14);
    --shadow-gold:    0 12px 32px rgba(184, 146, 74, .22);

    /* ----- Type ----- */
    --font-display:   'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-eyebrow:   'Inter', sans-serif;

    /* ----- Layout ----- */
    --container:      1280px;
    --container-narrow: 880px;
    --gutter:         clamp(1.25rem, 4vw, 2.5rem);
    --section-y:      clamp(5rem, 10vw, 9rem);
    --section-y-sm:   clamp(3.5rem, 6vw, 5.5rem);

    --radius-sm:      4px;
    --radius:         10px;
    --radius-lg:      20px;

    --ease:           cubic-bezier(.2, .8, .2, 1);
    --ease-soft:      cubic-bezier(.4, 0, .2, 1);
    --spring:         cubic-bezier(0.32, 0.72, 0, 1);
    --spring-pop:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Scroll progress bar */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: var(--scroll-progress, 0%);
    background: linear-gradient(90deg, var(--gold-soft), var(--gold));
    z-index: 1000;
    transition: width .1s linear;
    pointer-events: none;
}

/* Editorial film grain overlay (Editorial Luxury archetype) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 200px 200px;
}

/* =================== RESET =================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    color: var(--ink);
    letter-spacing: -0.015em;
    text-wrap: balance;
}
p { text-wrap: pretty; }

/* Focus rings (a11y) */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-tint); color: var(--ink); }

/* =================== LAYOUT =================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.section      { padding: var(--section-y) 0; }
.section-sm   { padding: var(--section-y-sm) 0; }
.section-cream{ background: var(--cream-soft); }
.section-dark { background: var(--ink); color: #d8d8de; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: #b6b6be; }

/* =================== TYPOGRAPHY =================== */
.display-1 {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;
}
.display-2 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}
.display-3 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.title-md { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.title-sm { font-size: 1.35rem; line-height: 1.2; }

.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.text-gold    { color: var(--gold) !important; }
.text-cream   { color: var(--cream) !important; }
.text-muted   { color: var(--muted); }
.center       { text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-eyebrow);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    line-height: 1;
}
.eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}
.eyebrow-light { color: var(--gold-light); }
/* Centered eyebrow: line on both sides */
.section-head .eyebrow,
.banner .eyebrow {
    margin-left: auto;
    margin-right: auto;
}
.section-head .eyebrow::after,
.banner .eyebrow::after {
    content: '';
    width: 34px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 58ch;
    text-wrap: pretty;
}
.lead p:first-of-type::first-letter {
    /* Subtle drop cap on the opening word — magazine feel without going overboard */
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5em;
    color: var(--gold);
    line-height: 1;
    padding-right: .04em;
}

.divider {
    display: block;
    width: 80px; height: 1px;
    background: var(--gold);
    border: 0;
    margin: 1.5rem 0;
}
.divider.center { margin-left: auto; margin-right: auto; }
.divider-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 2rem 0;
}
.divider-dot::before, .divider-dot::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line-gold);
    max-width: 80px;
}
.divider-dot svg { width: 18px; height: 18px; color: var(--gold); }

/* =================== BUTTONS =================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .95rem 1.4rem .95rem 2rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: transform .5s var(--spring), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--spring);
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
}
.btn:active { transform: scale(.97); }

/* Button-in-Button trailing icon (nested circle) */
.btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    margin-left: .25rem;
    transition: transform .5s var(--spring), background .35s var(--ease);
    flex-shrink: 0;
}
.btn .btn-icon svg {
    width: 12px; height: 12px;
    transition: transform .5s var(--spring);
}
.btn:hover .btn-icon {
    transform: translate(2px, -1px) scale(1.08);
    background: rgba(255, 255, 255, .28);
}

.btn.btn-outline .btn-icon,
.btn.btn-ghost .btn-icon {
    background: rgba(20, 20, 26, .06);
}
.btn.btn-outline:hover .btn-icon,
.btn.btn-ghost:hover .btn-icon {
    background: rgba(255, 255, 255, .18);
}

/* Pad differently when there's no nested icon */
.btn:not(:has(.btn-icon)) { padding: .95rem 2rem; }

.btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    border-color: var(--ink);
    color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-outline-light {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.btn-ghost { color: var(--ink); }
.btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1.5rem; right: 1.5rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(.3);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.btn-ghost:hover::after { transform: scaleX(1); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--gold);
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 3px;
}
.link-arrow::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform .4s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =================== INFO BANNER =================== */
.info-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 210;
    background: var(--gold-deep);
    color: #fff;
    text-align: center;
    padding: .7rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
    transition: transform .35s var(--ease);
}
.info-banner-inner {
    max-width: 1440px;
    margin: 0 auto;
}
.info-banner a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    padding-bottom: 1px;
    transition: border-color .25s var(--ease);
}
.info-banner a:hover { border-bottom-color: #fff; }

body.has-banner .site-header { top: 38px; }
body.has-banner .site-header.scrolled { top: 0; }
body.has-banner.scrolled-past-banner .info-banner { transform: translateY(-100%); }

@media (max-width: 720px) {
    .info-banner { font-size: .65rem; padding: .55rem .75rem; letter-spacing: .14em; }
    body.has-banner .site-header { top: 34px; }
}

/* =================== HEADER =================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(250, 250, 247, .82);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
}
.site-header.scrolled {
    background: rgba(250, 250, 247, .96);
    border-bottom-color: var(--line);
}
.site-header.hero-light {
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0));
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header.hero-light.scrolled {
    background: rgba(250, 250, 247, .96);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem var(--gutter);
    max-width: 1440px;
    margin: 0 auto;
    gap: 2rem;
    transition: padding .35s var(--ease);
}
.site-header.scrolled .nav { padding: .8rem var(--gutter); }

.nav-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--ink);
    transition: color .35s var(--ease);
}
.site-header.hero-light:not(.scrolled) .nav-logo { color: #fff; }
.nav-logo svg, .nav-logo img {
    height: 48px;
    width: auto;
    transition: height .35s var(--ease);
}
.site-header.scrolled .nav-logo svg { height: 42px; }
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.05;
    font-weight: 500;
}
.nav-logo-text small {
    display: block;
    font-family: var(--font-body);
    font-size: .58rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-links > li > a {
    font-family: var(--font-body);
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--ink);
    padding: .5rem 0;
    position: relative;
    transition: color .25s var(--ease);
}
.site-header.hero-light:not(.scrolled) .nav-links > li > a:not(.btn) { color: #fff; }
.nav-links > li > a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .35s var(--ease), left .35s var(--ease);
}
.nav-links > li > a:not(.btn):hover, .nav-links > li > a:not(.btn).active { color: var(--gold); }
.nav-links > li > a:not(.btn):hover::after, .nav-links > li > a:not(.btn).active::after { width: 100%; left: 0; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    color: inherit;
}
.nav-toggle .burger {
    width: 22px;
    height: 14px;
    position: relative;
}
.nav-toggle .burger span {
    position: absolute;
    left: 0; right: 0;
    height: 1.5px;
    background: currentColor;
    transition: transform .35s var(--ease), top .35s var(--ease), opacity .35s var(--ease);
}
.nav-toggle .burger span:nth-child(1) { top: 0; }
.nav-toggle .burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle .burger span:nth-child(3) { top: 100%; }
.nav-toggle.is-open .burger span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open .burger span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .burger span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(380px, 80vw);
        flex-direction: column;
        align-items: flex-start;
        background: var(--paper);
        padding: 6rem 2.5rem 2.5rem;
        gap: 1.75rem;
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform .5s var(--ease);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links > li > a { font-size: 1.05rem; letter-spacing: .12em; color: var(--ink) !important; }
    .nav-links .btn { width: 100%; }
    .nav-toggle { display: flex; }
    .site-header.hero-light:not(.scrolled) .nav-toggle { color: #fff; }
}

/* =================== HERO =================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 7rem var(--gutter) 5rem;
}
.hero-sm { min-height: 70vh; }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: hero-zoom 18s var(--ease) infinite alternate;
}
@keyframes hero-zoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

/* ===== Video backgrounds in hero ===== */
.hero-bg-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    /* Cinematic dark default for the very short window between page paint
       and the iframe/image being ready. Without this, the body off-white
       bleeds through and reads as a white "flash". The inline
       `background: url(...)` from image_path overrides this when set. */
    background-color: #14141a;
}
.hero-bg-video-native {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
}
/* Hide ALL native video controls/overlays across browsers */
.hero-bg-video-native::-webkit-media-controls,
.hero-bg-video-native::-webkit-media-controls-panel,
.hero-bg-video-native::-webkit-media-controls-play-button,
.hero-bg-video-native::-webkit-media-controls-start-playback-button,
.hero-bg-video-native::-webkit-media-controls-overlay-play-button,
.hero-bg-video-native::-webkit-media-controls-enclosure,
.hero-bg-video-native::-internal-media-controls-overlay-cast-button {
    display: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.hero-bg-video-wrap iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 177.78vh;        /* 16:9 → fit by height */
    min-width: 100%;
    height: 56.25vw;        /* 16:9 → fit by width */
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}
/* Priming gate: iframe stays invisible until JS confirms playback.
   No transition — the iframe snaps to visible the instant a real video
   frame is ready, so the user can't perceive a fade as "wait time". */
.hero-bg-video-wrap.needs-priming iframe {
    opacity: 0;
}
.hero-bg-video-wrap.needs-priming.is-playing iframe { opacity: 1; }
/* Poster covers the embed until JS confirms playback (then fades out) */
.hero-bg-poster {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    z-index: 2;
    opacity: 1;
    transition: opacity .9s ease;
    pointer-events: none;
}
.hero-bg-poster.is-ready { opacity: 0; }
/* Transparent shield absorbs any pointer interaction so the embed never
   reacts to hover/click (which is what triggers most "controls reappear"
   overlays in YouTube/native players). */
.hero-bg-shield {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    pointer-events: auto;
    cursor: default;
}
/* Soft contrast vignette over the bg image/video so hero text stays
   readable. Always visible — the wrap image masking the iframe load
   state means there's no longer a "loading window" where this would
   tint the body color into a grey wash. */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .65) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding-top: 2rem;
    animation: hero-fade-in 1.4s var(--ease) both;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
    color: #fff;
    margin-bottom: 0;
}
.hero .hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--gold-light);
    margin-bottom: 1rem;
    letter-spacing: .01em;
}
.hero-subtitle {
    margin-top: 1.75rem;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: #e4e2d6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: .01em;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, .7);
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.hero-scroll::after {
    content: '';
    width: 1px; height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,.6), transparent);
    animation: scroll-pulse 2s var(--ease) infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: .3; transform: scaleY(.6); }
    50%      { opacity: 1; transform: scaleY(1); }
}

/* =================== SECTION HEADER =================== */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4.5rem;
}
.section-head .lead { margin: 1.25rem auto 0; }

/* =================== EDITORIAL TWO-COL =================== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}
.two-col.offset { grid-template-columns: 1.1fr .9fr; }
.two-col.offset.reverse { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 880px) {
    .two-col, .two-col.offset, .two-col.offset.reverse { grid-template-columns: 1fr; gap: 3rem; }
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    background: var(--cream-dark);
}
.image-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.image-frame:hover img { transform: scale(1.04); }
.image-frame--portrait  { aspect-ratio: 3/4; }
.image-frame--landscape { aspect-ratio: 4/3; }
.image-frame--square    { aspect-ratio: 1; }

/* Image with a circular bubble overlapping the top-right corner */
.image-frame-with-bubble {
    position: relative;
}
.image-bubble {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: clamp(110px, 18vw, 180px);
    height: clamp(110px, 18vw, 180px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--paper);
    box-shadow: var(--shadow);
    z-index: 2;
    background: var(--cream-dark);
}
.image-bubble img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.image-frame-with-bubble:hover .image-bubble img { transform: scale(1.08); }
@media (max-width: 600px) {
    .image-bubble {
        top: -1rem;
        right: -.5rem;
        width: clamp(86px, 26vw, 130px);
        height: clamp(86px, 26vw, 130px);
        border-width: 4px;
    }
}

.image-stack {
    position: relative;
    aspect-ratio: 1;
}
.image-stack .image-frame { position: absolute; }
.image-stack .image-frame:first-child {
    width: 70%; height: 70%;
    top: 0; left: 0;
    z-index: 2;
}
.image-stack .image-frame:last-child {
    width: 60%; height: 60%;
    bottom: 0; right: 0;
    z-index: 1;
    aspect-ratio: 4/5;
}

/* Decorative side marker */
.side-marker {
    position: absolute;
    left: -3.5rem;
    top: 1rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: .68rem;
    letter-spacing: .35em;
    text-transform: uppercase;
}
@media (max-width: 1280px) { .side-marker { display: none; } }

/* =================== STATS =================== */
.stats-section {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(184, 146, 74, .05) 0%, transparent 65%),
        var(--paper);
}
.stats-section .section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(2px);
}
.stat {
    position: relative;
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem);
    transition: background .35s var(--ease);
}
.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0; top: 22%; bottom: 22%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line-gold), transparent);
}
.stat:hover { background: rgba(184, 146, 74, .04); }
.stat-ornament {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    opacity: .8;
}
.stat-value {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    color: var(--ink);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.02em;
    display: block;
    transition: color .35s var(--ease);
}
.stat:hover .stat-value { color: var(--gold-deep); }
.stat-rule {
    display: block;
    width: 36px;
    height: 1px;
    margin: 1.1rem auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stat-label {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}
@media (max-width: 720px) {
    .stats {
        grid-template-columns: 1fr;
        border: 0;
        background: transparent;
    }
    .stat {
        border-bottom: 1px solid var(--line-gold);
        padding: 2.25rem 1rem;
    }
    .stat:last-child { border-bottom: 0; }
    .stat + .stat::before { display: none; }
}

/* =================== DOMAINES SECTION (home — "Nos terroirs") =================== */
.domaines-section {
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(184, 146, 74, .06) 0%, transparent 60%),
        var(--cream-soft);
}
.domaines-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.domaines-ornament {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    opacity: .85;
    color: var(--gold);
}
.domaines-head .eyebrow {
    display: inline-block;
    margin-bottom: 1.1rem;
}
.domaines-title {
    margin: 0;
    line-height: 1.04;
}
.domaines-sub {
    margin: 1.25rem auto 0;
    color: var(--text-soft);
    max-width: 52ch;
    font-size: 1.02rem;
    line-height: 1.7;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}
.domaines-rule {
    display: block;
    width: 56px;
    height: 1px;
    margin: 1.5rem auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* Card-num pinned on the image like an editorial plate marker */
.domaines-card { position: relative; }
.domaines-card .card-img { position: relative; }
.domaines-card-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--cream);
    background: rgba(20, 20, 26, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: .3rem .65rem;
    border: 1px solid rgba(227, 200, 150, .35);
    border-radius: 999px;
    letter-spacing: .04em;
    line-height: 1;
}

/* =================== CARDS =================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
}
/* Two-up grid used for paired formulas etc. — stacks on tablet/mobile. */
.cards-2up { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) {
    .cards-2up { grid-template-columns: 1fr; }
}
/* Double-Bezel card: outer cream tray + inner white core with concentric radii */
.card {
    background: rgba(184, 146, 74, .07);
    border: 1px solid rgba(184, 146, 74, .14);
    border-radius: calc(var(--radius-lg) + 6px);
    padding: 6px;
    overflow: hidden;
    transition: transform .7s var(--spring), box-shadow .7s var(--spring), border-color .35s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}
/* Spotlight following cursor (set --x/--y by JS) */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        320px circle at var(--mx, 50%) var(--my, 50%),
        rgba(184, 146, 74, .14),
        transparent 60%
    );
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 2; }
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(184, 146, 74, .38);
}
.card .card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cream-dark);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card .card-body {
    background: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    flex: 1;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 2rem 1.75rem 1.75rem; }
.card h3 {
    margin-bottom: .5rem;
    font-size: 1.5rem;
    color: var(--ink);
}
.card-num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: .35rem;
    display: block;
}
.card-body p { color: var(--text-soft); font-size: .95rem; line-height: 1.65; }
.card-meta {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin: 1.25rem 0 1rem;
}
.card-meta svg { width: 13px; height: 13px; }
.card-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gold);
    margin: .5rem 0 .75rem;
    line-height: 1;
}

.card-formula {
    background: rgba(184, 146, 74, .07);
    border: 1px solid rgba(184, 146, 74, .14);
    border-radius: calc(var(--radius-lg) + 6px);
    padding: 6px;
    overflow: hidden;
    transition: transform .7s var(--spring), box-shadow .7s var(--spring), border-color .35s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
}
.card-formula::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        360px circle at var(--mx, 50%) var(--my, 50%),
        rgba(184, 146, 74, .12),
        transparent 60%
    );
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}
.card-formula:hover::before { opacity: 1; }
.card-formula > * { position: relative; z-index: 2; }
.card-formula:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(184, 146, 74, .38);
}
.card-formula .card-img {
    aspect-ratio: 5/4;
    position: relative;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}
.card-formula .card-body {
    background: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-formula .card-cta { margin-top: auto; padding-top: 1.5rem; }
.card-formula .badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--ink);
    color: #fff;
    padding: .45rem 1rem;
    border-radius: 999px;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.card-formula .card-body { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.card-formula .card-cta { margin-top: auto; padding-top: 1.5rem; }

/* Pillars (Experience page) — editorial 3-up section */
.pillars-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: end;
    margin-bottom: 4rem;
}
@media (max-width: 800px) {
    .pillars-head { grid-template-columns: 1fr; gap: 1.5rem; }
}
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: rgba(184, 146, 74, .2);
    border: 1px solid rgba(184, 146, 74, .2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.pillar {
    background: #fff;
    padding: 2.5rem 2rem;
    transition: background .35s var(--ease);
}
.pillar:hover { background: var(--cream-soft); }
.pillar-num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: .5rem;
    display: block;
}
.pillar p { color: var(--text-soft); }

/* =================== BANNER =================== */
.banner {
    position: relative;
    padding: clamp(5rem, 10vw, 8rem) 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.banner-bg { position: absolute; inset: 0; z-index: 0; }
.banner-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.08);
}
.banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 20, 26, .8) 0%, rgba(20, 20, 26, .5) 100%);
}
.banner-content { position: relative; z-index: 1; }
.banner h2 {
    color: #fff;
    max-width: 16ch;
    margin: 0 auto 2.5rem;
}
.banner-ornament {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gold-light);
}

/* =================== DOMAIN CAROUSEL (gallery, auto-scroll) =================== */
.domain-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 3rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.domain-carousel-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: domain-carousel-scroll 50s linear infinite;
}
.domain-carousel:hover .domain-carousel-track { animation-play-state: paused; }
.domain-carousel-item {
    position: relative;
    flex: 0 0 auto;
    width: clamp(260px, 26vw, 380px);
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 2px;
    background: var(--cream-soft);
}
.domain-carousel-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.92);
    transition: transform .8s var(--ease), filter .5s var(--ease);
}
.domain-carousel-item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.domain-carousel-caption {
    position: absolute;
    left: 1rem; bottom: 1rem; right: 1rem;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: .01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
@keyframes domain-carousel-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 720px) {
    .domain-carousel-track { gap: .75rem; animation-duration: 40s; }
    .domain-carousel-item { width: 70vw; }
    .domain-carousel-caption { font-size: 1rem; }
}

/* =================== FAQ =================== */
.faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; gap: 0; } }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink);
    font-size: 1.15rem;
    transition: color .25s var(--ease);
}
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    width: 10px; height: 10px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .35s var(--ease);
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p {
    margin-top: 1rem;
    color: var(--text-soft);
    font-size: .95rem;
    line-height: 1.7;
    max-width: 56ch;
}

/* =================== CUSTOM VIDEO PLAYER =================== */
.cp-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}
.cp-player-poster {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat #1a1a1f;
    transition: opacity .5s ease;
    z-index: 1;
}
.cp-player-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    opacity: 0;
    transition: opacity .35s ease;
}
.cp-player.is-playing .cp-player-poster { opacity: 0; pointer-events: none; }
.cp-player.is-playing .cp-player-media   { opacity: 1; }
.cp-player.is-playing .cp-player-play    { opacity: 0; pointer-events: none; }

.cp-player-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: clamp(64px, 9vw, 96px);
    height: clamp(64px, 9vw, 96px);
    background: transparent;
    border: 0;
    color: var(--gold-light);
    cursor: pointer;
    padding: 0;
    transition: transform .35s var(--ease), color .35s var(--ease), opacity .35s var(--ease);
}
.cp-player-play svg { width: 100%; height: 100%; display: block; }
.cp-player:hover .cp-player-play {
    transform: translate(-50%, -50%) scale(1.08);
    color: #fff;
}
.cp-player-play:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 50%; }

/* =================== VIDEO =================== */
.video-section,
.ripaille-gallery-section {
    background: var(--bordeaux);
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6.5rem);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Layered bordeaux background with a warm gold haze top-right */
.ripaille-gallery-section {
    background:
        radial-gradient(70% 50% at 100% 0%, rgba(227, 200, 150, .12) 0%, transparent 60%),
        radial-gradient(60% 50% at 0% 100%, rgba(227, 200, 150, .07) 0%, transparent 65%),
        var(--bordeaux);
}
.ripaille-gallery-section .section-head h2 { color: var(--cream); }

/* Chapter tag pinned top-left */
.ripaille-gallery-tag {
    position: absolute;
    top: clamp(1.5rem, 3vw, 2.25rem);
    left: clamp(1.75rem, 5vw, 4rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    pointer-events: none;
    color: rgba(227, 200, 150, .85);
}
.ripaille-gallery-tag-num {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
}
.ripaille-gallery-tag-line { width: 2rem; height: 1px; background: rgba(227, 200, 150, .55); }
.ripaille-gallery-tag-label {
    font-family: 'Inter', sans-serif;
    font-size: .66rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(227, 200, 150, .7);
}

/* Centered head with ornament + tapered rule */
.ripaille-gallery-head {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.ripaille-gallery-ornament {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    opacity: .85;
}
.ripaille-gallery-head .eyebrow {
    display: inline-block;
    margin-bottom: 1.1rem;
}
.ripaille-gallery-title {
    margin: 0;
    line-height: 1.05;
}
.ripaille-gallery-rule {
    display: block;
    width: 56px;
    height: 1px;
    margin: 1.5rem auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ripaille-gallery-sub {
    margin: 1.5rem auto 0;
    color: #e0d8c8;
    max-width: 56ch;
    font-size: 1rem;
    line-height: 1.7;
}

/* Decorative frame around the video */
.video-frame {
    max-width: 880px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(227, 200, 150, .12);
    background: #000;
}
.video-frame iframe,
.video-frame video { width: 100%; height: 100%; border: 0; display: block; }

.ripaille-video-eyebrow { margin-bottom: 1.25rem; color: #fff; }
.ripaille-video-frame {
    position: relative;
}
.ripaille-video-corner {
    position: absolute;
    width: 30px; height: 30px;
    border: 1px solid var(--gold-light);
    pointer-events: none;
    opacity: .8;
    z-index: 2;
}
.ripaille-video-corner--tl { top: -10px; left: -10px;    border-right: 0; border-bottom: 0; }
.ripaille-video-corner--tr { top: -10px; right: -10px;   border-left:  0; border-bottom: 0; }
.ripaille-video-corner--bl { bottom: -10px; left: -10px; border-right: 0; border-top:    0; }
.ripaille-video-corner--br { bottom: -10px; right: -10px;border-left:  0; border-top:    0; }
@media (max-width: 720px) {
    .ripaille-gallery-tag { top: 1rem; left: 1.25rem; }
    .ripaille-gallery-tag-line { width: 1.25rem; }
    .ripaille-video-corner { width: 20px; height: 20px; }
    .ripaille-video-corner--tl, .ripaille-video-corner--tr,
    .ripaille-video-corner--bl, .ripaille-video-corner--br { top: -6px; left: -6px; right: auto; bottom: auto; }
    .ripaille-video-corner--tr { right: -6px; left: auto; }
    .ripaille-video-corner--bl { bottom: -6px; top: auto; left: -6px; }
    .ripaille-video-corner--br { bottom: -6px; right: -6px; top: auto; left: auto; }
}

/* =================== MARQUEE (defilement horizontal) =================== */
.marquee {
    overflow: hidden;
    padding: clamp(1rem, 1.6vw, 1.5rem) 0;
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
    background: var(--paper);
    position: relative;
    user-select: none;
}
.marquee-track {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    animation: marquee 38s linear infinite;
    width: max-content;
    will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1rem, 1.7vw, 1.4rem);
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}
.marquee-item-dot {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    font-style: normal;
    flex-shrink: 0;
}
.marquee-item-dot svg { width: 9px; height: 9px; }
.marquee-dark {
    background: var(--ink);
    border-color: rgba(184, 146, 74, .25);
}
.marquee-dark .marquee-item { color: var(--cream); }
@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* =================== PRESSE =================== */
.press-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
@media (max-width: 880px) { .press-grid { grid-template-columns: 1fr; gap: 3rem; } }
.press-quote {
    position: relative;
    padding: 2rem 0 2rem 3rem;
}
.press-quote::before {
    content: '“';
    position: absolute;
    top: -2.5rem; left: -.5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 9rem;
    color: var(--gold);
    line-height: 1;
}
.press-quote blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.press-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-style: normal;
    font-family: var(--font-body);
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}
.press-quote cite span { color: var(--gold); font-style: italic; text-transform: none; letter-spacing: 0; font-size: .85rem; }

.press-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(184, 146, 74, .22);
    border: 1px solid rgba(184, 146, 74, .22);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.press-badge {
    background: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background .35s var(--ease);
}
.press-badge:hover { background: var(--cream-soft); }
.press-badge-year {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
    font-size: 1rem;
    display: block;
    margin-bottom: .35rem;
}
.press-badge-name {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: .5rem;
}
.press-badge-tag {
    display: block;
    font-size: .68rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--muted);
}

/* =================== CONTACT =================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.contact-form .field { margin-bottom: 1.25rem; }
.contact-form .field > span,
.contact-form .field-check > span {
    display: block;
    font-size: .72rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.contact-form .field > span small { text-transform: none; color: var(--muted); font-weight: 400; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line-strong);
    background: #fff;
    border-radius: 12px;
    font: inherit;
    color: var(--ink);
    transition: border-color .25s var(--ease), box-shadow .35s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314141a' stroke-width='1.5'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(184, 146, 74, .12);
}
.contact-form .field-check {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin: 1.25rem 0 0;
    font-size: .88rem;
    color: var(--text-soft);
    line-height: 1.5;
    cursor: pointer;
}
.contact-form .field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.contact-form .field-error {
    display: block;
    margin-top: .35rem;
    color: #b91c1c;
    font-size: .78rem;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
}
.contact-form .form-actions { padding-top: 0; border: 0; }

.contact-flash {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: .92rem;
    line-height: 1.5;
}
.contact-flash-ok    { background: #ecf6ee; color: #1a5b2b; border: 1px solid #c6e3cd; }
.contact-flash-error { background: #fbeded; color: #871f1f; border: 1px solid #ebcfcf; }
.contact-flash-error a { color: #871f1f; text-decoration: underline; }

.contact-side { position: sticky; top: 7rem; }
.contact-card {
    background: rgba(184, 146, 74, .07);
    border: 1px solid rgba(184, 146, 74, .18);
    border-radius: calc(var(--radius-lg) + 6px);
    padding: 6px;
    overflow: hidden;
}
.contact-card > * { background: #fff; }
.contact-card h3 {
    padding: 2rem 2rem 0;
    color: var(--ink);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.contact-card .divider { margin-left: 2rem; }
.contact-list { list-style: none; padding: .5rem 2rem 0; margin: 0; }
.contact-list li { color: var(--text); font-size: .95rem; padding: .25rem 0; }
.contact-detail {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--line);
}
.contact-detail:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.contact-label {
    display: block;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .5rem;
}
.contact-link {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    transition: color .25s var(--ease);
}
.contact-link:hover { color: var(--gold); }
.contact-detail p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* =================== MAP =================== */
.map-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.map-head .lead { max-width: 50ch; }
.map-actions { flex-shrink: 0; }
@media (max-width: 600px) {
    .map-head { align-items: flex-start; }
    .map-actions .btn { width: 100%; }
}

.map-wrap {
    position: relative;
    background: rgba(184, 146, 74, .12);
    border: 1px solid rgba(184, 146, 74, .25);
    border-radius: calc(var(--radius-lg) + 8px);
    padding: 8px;
    overflow: hidden;
    margin: 0 var(--gutter);
    box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
    display: block;
    border-radius: var(--radius-lg);
    filter: saturate(.9) contrast(1.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    background: var(--cream-soft);
}
.map-credit {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    z-index: 3;
    background: rgba(20, 20, 26, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: .75rem;
    letter-spacing: .04em;
    padding: .55rem 1rem;
    border-radius: 999px;
    transition: background .25s var(--ease), transform .35s var(--spring);
}
.map-credit:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

/* =================== PARTNERS =================== */
.partners {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem 4rem;
    padding: 1rem 0;
}
.partners img {
    max-height: 70px;
    width: auto;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .35s var(--ease), filter .35s var(--ease);
}
.partners img:hover { opacity: 1; filter: grayscale(0); }

/* =================== RIPAILLE HERO LOGO =================== */
.ripaille-hero-logo {
    display: block;
    margin: 0 auto 1.5rem;
    height: 100px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}
@media (max-width: 720px) {
    .ripaille-hero-logo { height: 80px; max-width: 180px; }
}

/* =================== LEGAL PAGES (generic single-column layout) =================== */
.legal-content { padding-top: clamp(2rem, 5vw, 4rem); }
.legal-head { text-align: center; margin-bottom: 3rem; }
.legal-head .divider { margin: 1.5rem auto 0; width: 60px; }
.legal-block { margin-bottom: 2.5rem; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block .eyebrow { display: inline-block; margin-bottom: .75rem; }
.legal-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--ink);
    margin: 0 0 1rem;
}
.legal-body {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.75;
}
.legal-body p { margin: 0 0 1rem; }
.legal-body p:last-child { margin-bottom: 0; }

/* =================== PRESENTATION (domaine — "Le Clos du Paradis") =================== */
.presentation-section {
    position: relative;
    background:
        radial-gradient(140% 90% at 100% 0%, rgba(184, 146, 74, .07) 0%, transparent 55%),
        linear-gradient(160deg, #0f0f17 0%, var(--ink) 55%, #16161e 100%);
    color: #fff;
    padding: clamp(5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
    overflow: hidden;
    isolation: isolate;
}
.presentation-tag {
    position: absolute;
    top: clamp(1.5rem, 3vw, 2.25rem);
    left: clamp(1.75rem, 5vw, 4rem);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    pointer-events: none;
    color: rgba(227, 200, 150, .82);
}
.presentation-tag-num {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
}
.presentation-tag-line { width: 2rem; height: 1px; background: rgba(227, 200, 150, .55); }
.presentation-tag-label {
    font-family: 'Inter', sans-serif;
    font-size: .66rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(227, 200, 150, .7);
}
.presentation-head {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.presentation-head .eyebrow { display: inline-block; margin-bottom: 1.25rem; }
.presentation-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.012em;
    color: var(--cream);
    margin: 0;
}
.presentation-title em,
.presentation-title .italic {
    font-style: italic;
    color: var(--gold-light);
}
.presentation-rule {
    display: block;
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto 0;
}
.presentation-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.presentation-media {
    position: relative;
}
.presentation-image-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 50px 90px -32px rgba(0, 0, 0, .65);
    background: #1a1a22;
}
.presentation-image-frame img,
.presentation-image-frame video,
.presentation-image-frame iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}
.presentation-section:hover .presentation-image-frame img {
    transform: scale(1.04);
}
.presentation-corner {
    position: absolute;
    width: 32px; height: 32px;
    border: 1px solid var(--gold);
    pointer-events: none;
}
.presentation-corner--tl {
    top: -10px; left: -10px;
    border-right: 0; border-bottom: 0;
}
.presentation-corner--br {
    bottom: -10px; right: -10px;
    border-left: 0; border-top: 0;
}
.presentation-body {
    position: relative;
    padding: 1rem 0 1rem 1.25rem;
    border-left: 1px solid rgba(184, 146, 74, .28);
}
.presentation-body-text {
    color: rgba(232, 232, 238, .82);
    font-size: 1rem;
    line-height: 1.8;
}
.presentation-body-text p { margin: 0 0 1.25rem; }
.presentation-body-text p:last-child { margin-bottom: 0; }
.presentation-body-text p:first-child::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.6em;
    line-height: .85;
    color: var(--gold);
    float: left;
    padding: .15em .15em 0 0;
}
@media (max-width: 880px) {
    .presentation-tag { top: 1rem; left: 1.25rem; }
    .presentation-tag-line { width: 1.25rem; }
    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .presentation-body {
        padding: 0;
        border-left: 0;
        border-top: 1px solid rgba(184, 146, 74, .28);
        padding-top: 1.5rem;
    }
    .presentation-corner { width: 22px; height: 22px; }
    .presentation-corner--tl { top: -6px; left: -6px; }
    .presentation-corner--br { bottom: -6px; right: -6px; }
}

/* =================== HISTORY SECTION (domaine, image overlap left) =================== */
.history-section {
    position: relative;
    background: #4a4a52;
    color: #e8e8ee;
    padding: clamp(5rem, 10vw, 7rem) 0;
    overflow: hidden;
    isolation: isolate;
}
.history-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .18;
}
.history-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.history-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.history-section:not(.has-overlay) .history-inner {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.history-overlay {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .55);
    margin-left: clamp(-1rem, -3vw, -3rem);
}
.history-overlay::before {
    content: '';
    position: absolute;
    top: 18px; left: 18px; right: -18px; bottom: -18px;
    border: 1px solid rgba(227, 200, 150, .35);
    pointer-events: none;
    z-index: -1;
}
.history-overlay img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.history-text { max-width: 56ch; }
.history-body { margin-top: 1.25rem; color: #e0e0e6; }
@media (max-width: 880px) {
    .history-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .history-overlay { margin-left: 0; max-width: 360px; }
    .history-overlay::before { display: none; }
    .history-text { max-width: 100%; }
}

/* =================== CEPAGES SECTION BG (home) =================== */
.cepages-section { position: relative; overflow: hidden; isolation: isolate; }
.cepages-section.has-bg { background: #0e0e14; }
.cepages-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cepages-bg img,
.cepages-bg video,
.cepages-bg iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
}
.cepages-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 20, .65) 0%, rgba(14, 14, 20, .85) 100%);
}
.cepages-section > .container-narrow { position: relative; z-index: 1; }

/* =================== EVENT BOOKING BANNER (home, full-bleed) =================== */
.event-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(184, 146, 74, .08) 0%, transparent 55%),
        linear-gradient(135deg, #11111a 0%, var(--ink) 60%, #1a1a22 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

/* Top-left number tag */
.event-banner-tag {
    position: absolute;
    top: clamp(1.5rem, 3vw, 2.25rem);
    left: clamp(1.75rem, 5vw, 4rem);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: rgba(227, 200, 150, .82);
    pointer-events: none;
}
.event-banner-tag-num {
    font-size: 1.05rem;
    letter-spacing: .04em;
}
.event-banner-tag-line {
    width: 2rem; height: 1px;
    background: rgba(227, 200, 150, .55);
}
.event-banner-tag-label {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: .66rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(227, 200, 150, .7);
}

.event-banner-text {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(4.5rem, 9vw, 7rem) clamp(1.75rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem);
    position: relative;
}
/* Subtle vertical gold thread along the inside edge of the text panel */
.event-banner-text::after {
    content: '';
    position: absolute;
    top: 18%; bottom: 18%; right: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(184, 146, 74, .35), transparent);
    pointer-events: none;
}
.event-banner-inner {
    max-width: 520px;
    width: 100%;
    position: relative;
}
.event-banner-eyebrow-row {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.25rem;
}
.event-banner-ornament {
    display: inline-flex;
    align-items: center;
    color: var(--gold-light);
    opacity: .9;
    line-height: 0;
}
.event-banner-eyebrow-row .event-card-eyebrow {
    margin-bottom: 0;
}
.event-banner-media {
    position: relative;
    min-height: 480px;
    overflow: hidden;
}
.event-banner-media img,
.event-banner-media video,
.event-banner-media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}
.event-banner:hover .event-banner-media img {
    transform: scale(1.04);
}
/* Subtle inner frame on the photo */
.event-banner-frame {
    position: absolute;
    top: clamp(1.25rem, 2vw, 2rem);
    right: clamp(1.25rem, 2vw, 2rem);
    bottom: clamp(1.25rem, 2vw, 2rem);
    left: clamp(1.25rem, 2vw, 2rem);
    border: 1px solid rgba(255, 255, 255, .18);
    pointer-events: none;
    z-index: 1;
}
/* Soft gradient bridging the text panel into the photo */
.event-banner-bridge {
    position: absolute;
    inset: 0 auto 0 0;
    width: 32%;
    background: linear-gradient(90deg, var(--ink) 0%, rgba(20, 20, 26, .55) 35%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.event-card-eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: .68rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.event-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.04;
    letter-spacing: -.012em;
    color: #fff;
    margin: 0 0 .8rem;
    max-width: 18ch;
}
.event-card-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.45;
    color: var(--gold-light);
    margin: 0 0 1.5rem;
    max-width: 38ch;
}
.event-banner .divider-gold {
    width: 72px;
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(184, 146, 74, 0) 100%);
    margin: 0 0 1.5rem;
}
.event-card-body {
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 48ch;
}
.event-card-body p { margin: 0 0 .75rem; }
.event-card-body p:last-child { margin-bottom: 0; }

/* Editorial CTA: text + animated circular arrow */
.event-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 500;
    flex-wrap: wrap;
}
.event-cta-label {
    position: relative;
    padding-bottom: 3px;
    transition: color .35s var(--ease);
    white-space: nowrap;
}
.event-cta-label::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold);
    transform-origin: left;
    transition: transform .45s var(--ease);
}
.event-cta-circle {
    width: 44px; height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}
.event-cta-circle svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.event-cta:hover .event-cta-label { color: var(--gold-light); }
.event-cta:hover .event-cta-circle { background: var(--gold); color: var(--ink); transform: rotate(-12deg); }
.event-cta:hover .event-cta-circle svg { transform: translateX(2px); }

@media (max-width: 880px) {
    .event-banner { grid-template-columns: 1fr; }
    .event-banner-tag { top: 1rem; left: 1.25rem; }
    .event-banner-tag-line { width: 1.25rem; }
    .event-banner-text {
        justify-content: flex-start;
        padding: 3.5rem 1.5rem 3rem;
    }
    .event-banner-text::after { display: none; }
    .event-banner-inner { max-width: 100%; }
    .event-banner-media {
        min-height: auto;
        aspect-ratio: 16/10;
    }
    .event-banner-bridge { display: none; }
    .event-banner-frame { top: .75rem; right: .75rem; bottom: .75rem; left: .75rem; }
    .event-card-title { font-size: 1.95rem; }
    .event-card-sub { font-size: 1rem; }
    .event-card-body { font-size: .92rem; }
    .event-cta-circle { width: 38px; height: 38px; flex: 0 0 38px; }
}

/* =================== PARTNERS MARQUEE (bottom of page) =================== */
.partners-marquee {
    background: var(--paper);
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
    padding: 2.5rem 0 2.25rem;
    overflow: hidden;
    position: relative;
}
.partners-marquee-head {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 var(--gutter);
}
.partners-marquee-head .eyebrow {
    justify-content: center;
}
.partners-marquee-head .eyebrow::after {
    content: '';
    width: 34px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}
.partners-marquee-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: var(--ink);
    margin: 0;
    letter-spacing: -.005em;
}
/* Fade out edges so logos drift smoothly in/out */
.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.partners-marquee::before { left: 0;   background: linear-gradient(90deg, var(--paper) 0%, transparent 100%); }
.partners-marquee::after  { right: 0;  background: linear-gradient(-90deg, var(--paper) 0%, transparent 100%); }

.partners-marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: max-content;
    animation: partners-scroll 45s linear infinite;
    will-change: transform;
}
.partners-marquee:hover .partners-marquee-track { animation-play-state: paused; }

.partners-marquee-item {
    flex: 0 0 calc((100vw - 14rem) / 5);  /* viewport / 5 visible */
    max-width: 220px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}
.partners-marquee-item a,
.partners-marquee-item img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .35s var(--ease), filter .35s var(--ease);
}
.partners-marquee-item:hover img { opacity: 1; filter: grayscale(0); }

@keyframes partners-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 880px) {
    .partners-marquee-item {
        flex: 0 0 calc((100vw - 6rem) / 3);  /* 3 visible on mobile */
        max-width: 150px;
        height: 60px;
    }
    .partners-marquee::before,
    .partners-marquee::after { width: 40px; }
}

/* =================== FOOTER =================== */
.site-footer {
    background: var(--ink);
    color: #9d9da4;
    padding: 3rem 0 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--gold);
    z-index: 3;
}
.footer-watermark {
    position: absolute;
    bottom: -20%;
    right: -6%;
    width: 360px;
    height: 360px;
    opacity: .035;
    pointer-events: none;
    z-index: 1;
}
.footer-watermark svg { width: 100%; height: 100%; }
.site-footer > .container,
.site-footer > .footer-legal { position: relative; z-index: 2; }

.footer-newsletter {
    margin: 1.75rem 0 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
}
@media (max-width: 800px) { .footer-newsletter { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-newsletter h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: .25rem;
}
.footer-newsletter p { color: #82828a; font-size: .9rem; }

.newsletter-form {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    padding: 4px;
    transition: border-color .3s var(--ease);
}
.newsletter-form:focus-within { border-color: var(--gold); }
.newsletter-form input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: .85rem 1.25rem;
    color: #fff;
    font: inherit;
    font-size: .92rem;
    outline: none;
}
.newsletter-form input::placeholder { color: #62626a; }
.newsletter-form button {
    background: var(--gold);
    color: #fff;
    border: 0;
    padding: 0 1.5rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s var(--ease), transform .35s var(--spring);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.newsletter-form button:hover { background: var(--gold-deep); }
.newsletter-form button:active { transform: scale(.97); }

.footer-socials {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
}
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9d9da4;
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .35s var(--spring);
}
.footer-socials a:hover {
    color: var(--ink);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .9rem;
    color: #fff;
}
.footer-brand .footer-logo svg { height: 42px; width: auto; }
.footer-brand .footer-logo-text {
    font-family: var(--font-display);
    font-size: .95rem;
    color: #fff;
    line-height: 1.05;
}
.footer-brand .footer-logo-text small {
    display: block;
    font-family: var(--font-body);
    font-size: .55rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 2px;
}
.footer-brand p { font-size: .85rem; max-width: 32ch; line-height: 1.6; color: #82828a; }

.footer-col h4 {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .45rem; font-size: .85rem; }
.footer-col a { color: #9d9da4; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 0;
    font-size: .75rem;
    color: #62626a;
}

.footer-legal {
    text-align: center;
    background: var(--gold);
    color: #fff;
    padding: .85rem;
    font-size: .76rem;
    letter-spacing: .04em;
}

.admin-link {
    color: #62626a;
    font-size: .78rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: color .25s var(--ease);
}
.admin-link:hover { color: var(--gold); }

/* =================== REVEAL ANIMATIONS =================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-stagger.visible > *           { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .48s; }

/* Word-by-word headline reveal */
.split-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.split-word > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 1s var(--spring);
    will-change: transform;
}
.split-ready .split-word > span {
    transition-delay: calc(var(--w, 0) * 0.08s);
}
.split-revealed .split-word > span {
    transform: translateY(0);
}

/* =================== UTILITIES =================== */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
