/* ==========================================
   CSS VARIABLES — global palette
========================================== */
:root {
    --navy:    #001f3f;
    --gold:    #C5A059;
    --white:   #ffffff;
    --dark:    #1a1a1a;
    --light-bg:#f8f6f2;
    --serif:   'Playfair Display', serif;
    --sans:    'Outfit', sans-serif;
    --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================
   HERO THEME PRESETS
   Switch via <body data-hero-theme="..."> or
   the `?theme=` URL param (handled in the view).

   Available themes:
     • navy      (default — current look)
     • ivory     (warm beige + dark text + gold)
     • graphite  (near-black + warm-off-white + gold)
     • mist      (cool light gray + dark text + gold)
     • paper     (off-white + dark text + gold)

   Tokens scoped to the hero + transparent-state navbar.
   The .rb-nav.scrolled state stays independent (its own
   navy-on-white treatment used past the hero).
========================================== */
/* DEFAULT — mist (promoted from preset to default) */
body,
body[data-hero-theme="mist"] {
    --hero-bg-base:   #edeff2;
    --hero-bg-grid:   #dfe3e8;
    --hero-vignette-rgb: 237, 239, 242;
    --hero-fg:        var(--navy);
    --hero-fg-rgb:    0, 31, 63;
    --hero-accent:    var(--gold);
    --hero-img-opacity: 0.88;
    --nav-fg:         var(--navy);
    --nav-cta-fg:     var(--gold);
    --nav-logo-light-display: none;
    --nav-logo-dark-display:  block;
}

body[data-hero-theme="navy"] {
    --hero-bg-base:   var(--white);
    --hero-bg-grid:   var(--light-bg);
    --hero-vignette-rgb: 0, 20, 40;
    --hero-fg:        var(--white);
    --hero-fg-rgb:    255, 255, 255;
    --hero-accent:    var(--gold);
    --hero-img-opacity: 0.82;
    --nav-fg:         var(--hero-fg);
    --nav-cta-fg:     var(--hero-accent);
    --nav-logo-light-display: block;
    --nav-logo-dark-display:  none;
}

body[data-hero-theme="ivory"] {
    --hero-bg-base:   #f5f1ea;
    --hero-bg-grid:   #ede8de;
    --hero-vignette-rgb: 245, 241, 234;
    --hero-fg:        var(--navy);
    --hero-fg-rgb:    0, 31, 63;
    --hero-accent:    var(--gold);
    --hero-img-opacity: 0.92;
    --nav-fg:         var(--navy);
    --nav-cta-fg:     var(--gold);
    --nav-logo-light-display: none;
    --nav-logo-dark-display:  block;
}

body[data-hero-theme="graphite"] {
    --hero-bg-base:   #14141a;
    --hero-bg-grid:   #1c1c24;
    --hero-vignette-rgb: 14, 14, 22;
    --hero-fg:        #f0ece4;
    --hero-fg-rgb:    240, 236, 228;
    --hero-accent:    var(--gold);
    --hero-img-opacity: 0.65;
    --nav-fg:         #f0ece4;
    --nav-cta-fg:     var(--gold);
    --nav-logo-light-display: block;
    --nav-logo-dark-display:  none;
}

body[data-hero-theme="paper"] {
    --hero-bg-base:   var(--white);
    --hero-bg-grid:   #fafaf7;
    --hero-vignette-rgb: 255, 255, 255;
    --hero-fg:        var(--navy);
    --hero-fg-rgb:    0, 31, 63;
    --hero-accent:    var(--gold);
    --hero-img-opacity: 0.92;
    --nav-fg:         var(--navy);
    --nav-cta-fg:     var(--gold);
    --nav-logo-light-display: none;
    --nav-logo-dark-display:  block;
}

/* ==========================================
   RESET & BASE
========================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Tier 3.1: only Bootstrap utility this page used */
.me-1 { margin-right: 0.25rem; }

html { overflow-x: hidden; scroll-behavior: auto; }
/* CSS scroll-snap removed — replaced with a JS snap driven through
   Lenis (see rebrand26cc.js). Browser-native snap can't compose
   smoothly with Lenis-eased scroll, which is why the previous
   attempt felt hard. */

/* Section divider — thin navy rule between content blocks */
.rb-section-divider {
    border: 0;
    border-top: 1px solid var(--navy);
    width: 100%;
    margin: 0;
    background: transparent;
}

body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--dark);
    /* `overflow-x: clip` is the modern equivalent of `hidden` —
       clips horizontal overflow WITHOUT making body a scroll container,
       so iOS momentum scroll (which lives on html) keeps working.
       Safari 16+, Chrome 90+, Firefox 81+. */
    overflow-x: clip;
}

h1, h2, h3, h4 { font-family: var(--serif); }

/* ==========================================
   NAVBAR — floating, no background
========================================== */
.rb-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}

.rb-nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    padding: 1rem 2rem;
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.rb-nav__logo { line-height: 0; margin-left: 0.5rem; }
.rb-nav__logo img { height: 45px; width: auto; }
/* Logo variant chosen by hero theme tokens (transparent state) */
.rb-nav__logo .logo-white { display: var(--nav-logo-light-display, block); }
.rb-nav__logo .logo-dark  { display: var(--nav-logo-dark-display, none); }
/* Scrolled state always uses the dark logo regardless of theme */
.rb-nav.scrolled .logo-white { display: none; }
.rb-nav.scrolled .logo-dark  { display: block; }

.rb-nav__links {
    display: none;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    margin-right: 0.5rem;
}

@media (min-width: 992px) { .rb-nav__links { display: flex; } }

.rb-nav__links a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nav-fg);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.rb-nav.scrolled .rb-nav__links a { color: var(--navy); }

.rb-nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.rb-nav__links a:hover::after { width: 100%; }
.rb-nav__links a:hover { color: var(--gold) !important; }

.rb-nav__menu-btn {
    background: none; border: none;
    color: var(--nav-fg); font-size: 1.5rem;
    cursor: pointer; transition: color 0.3s;
    display: flex;
}
.rb-nav.scrolled .rb-nav__menu-btn { color: var(--navy); }
@media (min-width: 992px) { .rb-nav__menu-btn { display: none; } }

/* Votre Compte button — white in transparent state (over hero),
   gold when scrolled (on white navbar) */
.rb-nav__client {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--white); text-decoration: none;
    border: 1px solid var(--white);
    padding: 0.35rem 0.9rem;
    transition: all 0.3s; white-space: nowrap;
    margin-right: 0.5rem;
}
.rb-nav__client:hover { background: var(--white); color: var(--navy); }
.rb-nav.scrolled .rb-nav__client { color: var(--gold); border-color: var(--gold); }
.rb-nav.scrolled .rb-nav__client:hover { background: var(--gold); color: var(--navy); }
@media (max-width: 991px) { .rb-nav__client { display: none; } }

/* ==========================================
   OFFCANVAS MOBILE NAV
========================================== */
.rb-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s;
}
.rb-overlay.open { opacity: 1; pointer-events: all; }

.rb-offcanvas {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    background: var(--navy);
    z-index: 1001;
    padding: 2.5rem 2rem;
    transform: translateX(100%); /* slid out via transform, not negative right (avoids overflow) */
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
}
.rb-offcanvas.open { transform: translateX(0); }

.rb-offcanvas__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
}

.rb-offcanvas__close {
    background: none; border: none;
    color: var(--white); font-size: 1.8rem; cursor: pointer;
}

.rb-offcanvas__links { list-style: none; }
.rb-offcanvas__links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.rb-offcanvas__links a {
    display: block;
    padding: 1.1rem 0;
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}
.rb-offcanvas__links a:hover { color: var(--gold); }

/* ==========================================
   BUTTONS
========================================== */
.btn-luxury {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--gold);
    transition: all 0.35s var(--ease);
}
.btn-luxury:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

/* Hero-only outline button — themed via hero-fg tokens */
.btn-outline-lux {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--hero-fg);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(var(--hero-fg-rgb), 0.6);
    transition: all 0.35s var(--ease);
}
.btn-outline-lux:hover {
    background: rgba(var(--hero-fg-rgb), 0.12);
    border-color: var(--hero-fg);
    color: var(--hero-fg);
}

/* ==========================================
   SECTION 1: HERO (Pattern A)
     — pinned, image reveals bottom-to-top via clip-path
     — title stagger, label, CTAs animate on load
========================================== */
.rb-hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--hero-bg-base);
}

/* Grid layer — fades in after splash exits */
.rb-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: var(--hero-bg-grid);
    opacity: 0;
}

/* Gradient vignette — strong top (nav) + strong bottom (text) + light middle.
   Bottom ramp starts higher (deeper into the hero) and tops out gentler. */
.rb-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(
        to bottom,
        rgba(var(--hero-vignette-rgb), 0.72) 0%,
        rgba(var(--hero-vignette-rgb), 0.10) 18%,
        rgba(var(--hero-vignette-rgb), 0.06) 40%,
        rgba(var(--hero-vignette-rgb), 0.20) 55%,
        rgba(var(--hero-vignette-rgb), 0.55) 100%
    );
    pointer-events: none;
}
/* Rotated inner grid container */
.rb-hero-grid__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    width: 300vw;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 60px 0;
}

/* Each row is a flex tape — no wrapping */
.rb-hero-grid__row {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    will-change: transform;
}

/* Each set is duplicated for seamless loop */
.rb-hero-grid__set {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

/* Photo tiles */
.rb-hero-grid__img {
    width: clamp(380px, 38vw, 600px);
    height: clamp(260px, 26vh, 400px);
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    opacity: var(--hero-img-opacity);
}

@media (min-width: 1200px) {
    .rb-hero-grid__img {
        width: clamp(480px, 42vw, 720px);
        height: clamp(320px, 30vh, 480px);
    }
}

@media (min-width: 1600px) {
    .rb-hero-grid__img {
        width: clamp(560px, 46vw, 820px);
        height: clamp(370px, 34vh, 540px);
    }
}

/* Each row has a clearly distinct speed */
.rb-row-1 { animation: rbTickerLTR 22s  linear infinite; } /* medium        */
.rb-row-2 { animation: rbTickerRTL 38s  linear infinite; } /* slowest        */
.rb-row-3 { animation: rbTickerLTR 14s  linear infinite; } /* fastest        */
.rb-row-4 { animation: rbTickerRTL 30s  linear infinite; } /* medium-slow    */
.rb-row-5 { animation: rbTickerLTR 18s  linear infinite; } /* medium-fast    */

/* Tier 2.3: drop the bottom two rows on mobile to cut decode/composite load */
@media (max-width: 767px) {
    .rb-row-4, .rb-row-5 { display: none; }
}

@media (min-width: 1200px) {
    .rb-row-1 { animation-duration: 38s;  }
    .rb-row-2 { animation-duration: 65s;  }
    .rb-row-3 { animation-duration: 24s;  }
    .rb-row-4 { animation-duration: 52s;  }
    .rb-row-5 { animation-duration: 30s;  }
}

@media (min-width: 1600px) {
    .rb-row-1 { animation-duration: 52s;  }
    .rb-row-2 { animation-duration: 88s;  }
    .rb-row-3 { animation-duration: 32s;  }
    .rb-row-4 { animation-duration: 70s;  }
    .rb-row-5 { animation-duration: 42s;  }
}

@keyframes rbTickerLTR {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

@keyframes rbTickerRTL {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Overlay — removed, ::after handles full gradient now */
.rb-hero__overlay { display: none; }

/* Top-left label */
.rb-hero__label {
    position: absolute;
    top: calc(80px + 1rem);
    left: 2rem;
    z-index: 10;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--hero-accent);
    opacity: 0;
    transform: translateY(-8px);
}

@media (min-width: 992px) {
    .rb-hero__label { left: 5vw; }
}

/* Main content */
.rb-hero__content {
    position: relative;
    z-index: 10;
    padding: 0 2rem 3.5rem;
    width: 100%;
}

@media (min-width: 992px) {
    .rb-hero__content {
        padding: 0 5vw 5.5rem;
        max-width: 900px;
    }
}

/* Wide screens: reduce padding so content box is wider */
@media (min-width: 1600px) {
    .rb-hero__content {
        padding: 0 3vw 5.5rem;
        max-width: 1100px;
    }
}

/* Mobile: the hero video carries baked-in content along its bottom edge, which
   stays visible in portrait (full video height shows). Lift the hero content
   clear of it. Tune the clamp value if more/less clearance is needed. */
@media (max-width: 991px) {
    .rb-hero__content {
        padding-bottom: clamp(5rem, 15vh, 12rem);
    }
}

.rb-hero__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hero-accent);
    margin-bottom: 1.2rem;
    opacity: 0;
}

/* Title with word-split spans for stagger */
.rb-hero__title {
    font-size: clamp(1.3rem, 5.5vw, 2rem); /* mobile-first: scales with vw */
    line-height: 1.12;
    font-weight: 800;
    color: var(--hero-fg);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .rb-hero__title {
        font-size: clamp(2rem, 3.6vw, 3.5rem);
    }
}

.rb-hero__title .title-line {
    display: block;
}

.rb-hero__title .word {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.22em;
    vertical-align: bottom;
}

.rb-hero__title .word span {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
}

.rb-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    transform: translateY(18px);
}

/* Scroll hint — bottom right */
.rb-hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

/* Mobile: lift the "Défiler" scroll hint up so it clears the video's baked-in bottom strip. */
@media (max-width: 991px) {
    .rb-hero__scroll-hint {
        bottom: clamp(4.5rem, 14vh, 11rem);
    }
}

.rb-hero__scroll-hint span {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(var(--hero-fg-rgb), 0.5);
    writing-mode: vertical-rl;
}

.rb-hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(var(--hero-fg-rgb), 0.55), transparent);
    animation: rbScrollPulse 1.8s ease-in-out infinite;
}

@keyframes rbScrollPulse {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================
   SECTION 3: NOS PROJETS (Tier 1.2: normal flow)
========================================== */
.rb-projects {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    background: var(--light-bg);
    color: var(--dark);
    padding: 5rem 2rem 3rem;
}

@media (min-width: 992px) {
    .rb-projects { padding: 7rem 5vw 4rem; }
}

.rb-section-header { margin-bottom: 3.5rem; padding-top: 1.5rem; }

.rb-section-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
    opacity: 0;
    transform: translateY(14px);
}

.rb-section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(24px);
}

.rb-projects__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .rb-projects__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
    .rb-projects__grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* Blurry suspense card */
.rb-card--blurred .rb-card__img {
    filter: blur(14px);
    transform: scale(1.12);
}
.rb-card--blurred:hover .rb-card__img {
    filter: blur(14px);
    transform: scale(1.12);
}
.rb-card--blurred .rb-card__name {
    filter: blur(6px);
    user-select: none;
}
/* Named-but-blurred card (e.g. Signature): keep the photo blurred, reveal the name */
.rb-card--named .rb-card__name {
    filter: none;
    user-select: auto;
}
.rb-card--blurred .rb-card__location { opacity: 0; }
.rb-card--blurred .rb-card__arrow    { display: none; }
.rb-card--blurred .rb-card__badge {
    background: rgba(197,160,89,0.15);
}

.rb-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    opacity: 0;
    transform: translateY(55px);
}

.rb-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 0.8s var(--ease);
}

.rb-card:hover .rb-card__img { transform: scale(1); }

.rb-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(0,31,63,0.92) 0%,
        rgba(0,31,63,0.18) 50%,
        transparent 100%
    );
    transition: background 0.4s;
}

.rb-card:hover .rb-card__overlay {
    background: linear-gradient(to top,
        rgba(0,31,63,0.96) 0%,
        rgba(0,31,63,0.4) 60%,
        rgba(0,31,63,0.08) 100%
    );
}

.rb-card__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.8rem;
}

.rb-card__badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.rb-card__name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.rb-card__location {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
}

.rb-card__arrow {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 0.85rem;
    opacity: 0;
    transform: translate(6px, -6px);
    transition: all 0.35s var(--ease);
}

.rb-card:hover .rb-card__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================
   SECTION 2: NOTRE SAVOIR-FAIRE
     Desktop: text left (42%) | big image right (58%)
     Mobile:  image top (55vw) | text below
========================================== */
.rb-sf {
    background: var(--navy);
}

@media (min-width: 992px) {
    .rb-sf { min-height: 100dvh; }
}

.rb-sf__inner {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

@media (min-width: 992px) {
    .rb-sf__inner {
        flex-direction: row;
        min-height: 100dvh;
    }
}

/* TEXT column — bottom on mobile, left on desktop */
.rb-sf__text {
    width: 100%;
    padding: 3.5rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
}

@media (min-width: 992px) {
    .rb-sf__text {
        width: 42%;
        padding: 5rem 5vw 5rem 6vw;
        order: 1;
    }
}

/* IMAGE column — top on mobile (full width), right on desktop (58%) */
.rb-sf__img-col {
    width: 100%;
    height: 60vw;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    order: 1;
}

@media (min-width: 992px) {
    .rb-sf__img-col {
        width: 58%;
        height: auto;
        order: 2;
    }
}

.rb-sf__img-col img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* SF container (Tier 1.2: normal flow, was fixed) */
.rb-sf {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    background: transparent;
}

/* Text column carries the navy bg and reveals L→R */
.rb-sf__text {
    background: var(--navy);
    clip-path: inset(0 100% 0 0);
}

/* Image column reveals B→T independently */
.rb-sf__img-col { clip-path: inset(100% 0 0 0); }

/* MOBILE: tweaks for the stacked layout */
@media (max-width: 991px) {
    .rb-sf__inner {
        height: 100%; /* fill the padded SF container */
    }
    .rb-sf__text {
        clip-path: none;
        background: var(--navy);
        padding: 1.8rem 1.5rem 2rem;
        flex: 1; /* take all remaining height after image */
        justify-content: flex-start;
    }
    .rb-sf__img-col {
        clip-path: none;
        height: 40vw;
        min-height: 180px;
        flex-shrink: 0; /* don't let image compress */
    }
    /* Show more of the top so the standing subject's head isn't cropped on mobile */
    .rb-sf__img-col img {
        object-position: center 22%;
    }
    .rb-sf__title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    .rb-sf__eyebrow {
        margin-bottom: 0.8rem;
    }
    .rb-sf__item {
        padding: 0.65rem 0;
    }
    .rb-sf__item-desc {
        display: none; /* hide descriptions on mobile to save space */
    }
}

.rb-sf__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

.rb-sf__title {
    font-family: var(--sans);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 2.5rem;
}

.rb-sf__items { list-style: none; }

.rb-sf__item {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.rb-sf__item:first-child { border-top: 1px solid rgba(255,255,255,0.09); }

.rb-sf__item-icon {
    width: 34px; height: 34px;
    flex-shrink: 0;
    border: 1px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.rb-sf__item-title {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.rb-sf__item-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}

/* ==========================================
   SECTION 5: TÉMOIGNAGES — vertical video carousel (Tier 1.2: normal flow)
========================================== */
.rb-temo {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 0 2rem;
    overflow: hidden;
}

.rb-temo__header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.rb-temo__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.rb-temo__title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

/* Carousel track */
.rb-temo__track-wrap {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.rb-temo__track {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 0 1rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* On desktop the 3 cards fit and never need to slide — center them. */
@media (min-width: 992px) {
    .rb-temo__track {
        justify-content: center;
    }
}

/* Vertical video card — 9:16 ratio.
   Explicit viewport-based height (was 100% — broke when .rb-temo
   switched from fixed height to min-height in Tier 1.2). */
.rb-temo__card {
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    height: clamp(420px, 70dvh, 720px);
    aspect-ratio: 9 / 16;
    cursor: pointer;
}

.rb-temo__card video,
.rb-temo__card__placeholder {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom play overlay — gold circle with navy play icon.
   Hides itself while video is playing (.is-playing on parent). */
.rb-temo__card__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    background: rgba(0,0,0,0.28);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, background 0.3s;
}
.rb-temo__card__play::before {
    content: '';
    position: absolute;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: rgba(237, 239, 242, 0.95); /* light gray (mist) */
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, background 0.3s;
}
.rb-temo__card__play i {
    position: relative;
    z-index: 1;
    color: var(--navy);
    font-size: 1.5rem;
    /* No margin offset — triangle sits at geometric center (visually a touch left). */
}
.rb-temo__card__play:hover { background: rgba(0,0,0,0.10); }
.rb-temo__card__play:hover::before { transform: scale(1.08); background: var(--white); }
.rb-temo__card.is-playing .rb-temo__card__play {
    opacity: 0;
    pointer-events: none;
}

/* Placeholder when no video */
.rb-temo__card__placeholder {
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-temo__card__placeholder i {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.2);
}

/* Info overlay at bottom of each card */
.rb-temo__card__info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1.2rem 1.2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.rb-temo__card__name {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}

.rb-temo__card__project {
    font-size: 0.72rem;
    color: var(--gold);
    margin-top: 0.2rem;
}

/* Nav arrows */
.rb-temo__nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rb-temo__btn {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-radius: 50%;
}

.rb-temo__btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ==========================================
   SECTION 6: QUI SOMMES-NOUS (Tier 1.2: normal flow)
========================================== */
.rb-about {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .rb-about { flex-direction: row; }
}

/* LEFT: light-gray panel — clips in L→R (Pattern B sweep) */
.rb-about__left {
    width: 100%;
    flex-shrink: 0;
    background: #edeff2; /* cool light gray with a navy undertone */
    clip-path: inset(0 100% 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 82px 2rem 3rem;
    order: 2;
}

@media (min-width: 992px) {
    .rb-about__left {
        width: 50%;
        min-height: 100dvh;
        padding: 82px 5vw 3rem;
        order: 1;
    }
}

.rb-about__left-content {
    opacity: 0;
    transform: translateY(40px);
    max-width: 480px;
}

.rb-about__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.rb-about__title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.rb-about__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(26,26,26,0.72);
    margin-bottom: 2.5rem;
}

/* RIGHT: image — rises up with zoom-out */
.rb-about__right {
    width: 100%;
    height: 45vw;
    min-height: 240px;
    flex-shrink: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(1.06);
    order: 1;
}

@media (min-width: 992px) {
    .rb-about__right {
        width: 50%;
        height: auto;
        min-height: 100dvh;
        order: 2;
    }
}

.rb-about__right img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   SECTION 9: POURQUOI KIBBOUA (Tier 1.2: normal flow)
========================================== */
.rb-why {
    position: relative;
    width: 100%; min-height: 100dvh;
    background: var(--white); /* white (was navy) */
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 82px 2rem 3rem;
}
@media (min-width: 992px) { .rb-why { padding: 82px 6vw 3rem; } }
.rb-why__header { text-align: center; margin-bottom: 3rem; width: 100%; }
.rb-why__eyebrow { display: block; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.rb-why__title { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 700; color: var(--navy); line-height: 1.1; }
.rb-why__lede { font-size: 1.3rem; line-height: 1.7;
    color: rgba(26,26,26,0.75); margin: 1.6rem auto 0;
    max-width: 860px; }
.rb-why__lede strong { color: var(--navy); font-weight: 700; }
.rb-why__grid { display: grid; grid-template-columns: 1fr;
    gap: 1.5rem; width: 100%; max-width: 1440px; }
@media (min-width: 480px) { .rb-why__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 768px) { .rb-why__grid { grid-template-columns: repeat(4, 1fr); gap: 2.8rem; } }
.rb-why__card {
    background: rgba(0,31,63,0.03); border: 1px solid rgba(197,160,89,0.35);
    padding: 3.2rem 2.4rem; text-align: center;
    opacity: 0; transform: translateY(30px);
    transition: background 0.3s;
}
@media (max-width: 767px) { .rb-why__card { padding: 2.4rem 1.6rem; } }
.rb-why__card:hover { background: rgba(197,160,89,0.10); }
.rb-why__icon { font-size: 3.4rem; color: var(--gold); margin-bottom: 1.4rem; }
.rb-why__card-title { font-family: var(--sans); font-size: 1.4rem;
    font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; }
.rb-why__card-desc { font-size: 1.1rem; color: rgba(26,26,26,0.65); line-height: 1.6; }
/* ==========================================
   SECTION 9b: TROPHÉES / RECONNAISSANCES (Tier 1.2: normal flow)
========================================== */
.rb-trophies {
    position: relative;
    width: 100%;
    background: #f3f4f6; /* neutral light gray */
    color: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 82px 2rem 6rem;
}
.rb-trophies__header {
    text-align: center;
    margin-bottom: 3.5rem;
    width: 100%;
}
.rb-trophies__eyebrow {
    display: block;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}
.rb-trophies__title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}
.rb-trophies__lede {
    font-size: 0.95rem; line-height: 1.7;
    color: rgba(26,26,26,0.65);
    margin: 1.2rem auto 0;
    max-width: 620px;
}
.rb-trophies__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%; max-width: 1100px;
}
@media (min-width: 576px) { .rb-trophies__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
    .rb-trophies { padding: 100px 6vw 7rem; }
    .rb-trophies__title { font-size: clamp(2.4rem, 3.4vw, 3.4rem); }
    .rb-trophies__lede { font-size: 1.02rem; max-width: 720px; }
    .rb-trophies__grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; max-width: 1400px; }
    .rb-trophies__body { padding: 1.8rem 1.6rem 1.9rem; }
    .rb-trophies__year { font-size: 0.72rem; padding: 0.3rem 0.75rem; margin-bottom: 1rem; }
    .rb-trophies__name { font-size: 1.35rem; margin-bottom: 0.7rem; }
    .rb-trophies__desc { font-size: 0.9rem; line-height: 1.6; }
}
@media (min-width: 1400px) {
    .rb-trophies__grid { max-width: 1560px; gap: 2.75rem; }
    .rb-trophies__title { font-size: clamp(2.8rem, 3.2vw, 3.8rem); }
}
.rb-trophies__card {
    background: var(--white);
    border: 1px solid rgba(0, 31, 63, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.rb-trophies__card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 89, 0.45);
    box-shadow: 0 12px 24px rgba(0, 31, 63, 0.10);
}
.rb-trophies__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e5e7eb;
}
.rb-trophies__img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}
.rb-trophies__card:hover .rb-trophies__img {
    transform: scale(1.04);
}
.rb-trophies__body {
    padding: 1.4rem 1.3rem 1.5rem;
    text-align: left;
}
.rb-trophies__year {
    display: inline-block;
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold);
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(197,160,89,0.5);
    margin-bottom: 0.8rem;
}
.rb-trophies__name {
    font-family: var(--serif);
    font-size: 1.1rem; font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.rb-trophies__desc {
    font-size: 0.82rem;
    color: rgba(26, 26, 26, 0.62);
    line-height: 1.55;
    margin: 0;
}
/* ==========================================
   SECTION 10: NOS PARTENAIRES (Tier 1.2: normal flow)
========================================== */
.rb-partners {
    position: relative;
    width: 100%; min-height: 100dvh;
    background: var(--navy); /* navy bg — white brand logos pop on it */
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 82px 0 3rem; overflow: hidden;
}
.rb-partners__header { text-align: center; margin-bottom: 3rem; padding: 0 2rem; }
.rb-partners__eyebrow { display: block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.rb-partners__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700; color: var(--white); line-height: 1.1; }
/* Tile grid — edge-to-edge, touching cells, hairline dividers */
.rb-partners__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-left: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 576px) { .rb-partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .rb-partners__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .rb-partners__grid { grid-template-columns: repeat(7, 1fr); } }
.rb-partners__tile {
    aspect-ratio: 1.6 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-right: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.25s;
    overflow: hidden;
}
.rb-partners__tile:hover {
    background: rgba(197, 160, 89, 0.06);
}
.rb-partners__tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.25s, transform 0.25s;
}
.rb-partners__tile:hover img {
    opacity: 1;
    transform: scale(1.05);
}
/* ==========================================
   SECTION 11: ACTUALITÉS / BLOG (Tier 1.2: normal flow)
========================================== */
.rb-blog {
    position: relative;
    width: 100%; min-height: 100dvh;
    background: var(--white);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 82px 2rem 3rem;
}
@media (min-width: 992px) { .rb-blog { padding: 82px 5vw 3rem; } }
.rb-blog__header { text-align: center; margin-bottom: 3rem; width: 100%; }
.rb-blog__eyebrow { display: block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.rb-blog__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700; color: var(--navy); line-height: 1.1; }
.rb-blog__grid { display: grid; grid-template-columns: 1fr;
    gap: 2rem; width: 100%; max-width: 1280px; }
@media (min-width: 640px) { .rb-blog__grid { grid-template-columns: repeat(3, 1fr); } }
.rb-blog__card { position: relative; overflow: hidden;
    opacity: 0; transform: translateY(25px); }
.rb-blog__card-img { width: 100%; height: clamp(220px, 28vh, 320px); object-fit: cover; display: block;
    transition: transform 0.5s ease; }
.rb-blog__card:hover .rb-blog__card-img { transform: scale(1.04); }
.rb-blog__card-body { padding: 1.5rem 0.25rem; }
.rb-blog__card-date { font-size: 0.78rem; color: var(--gold); margin-bottom: 0.6rem; }
.rb-blog__card-title { font-family: var(--serif); font-size: 1.2rem;
    font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.3; }
.rb-blog__card-excerpt { font-size: 0.9rem; color: #666; line-height: 1.65; }
/* ==========================================
   SECTION 12: CONTACT / CTA (Tier 1.2: normal flow)
========================================== */
.rb-contact {
    position: relative;
    width: 100%; min-height: 100dvh;
    background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 82px 2rem 3rem;
}
@media (min-width: 992px) { .rb-contact { padding: 82px 6vw 3rem; } }
.rb-contact__inner {
    display: flex; flex-direction: column; gap: 3rem;
    width: 100%; max-width: 1000px;
}
@media (min-width: 768px) { .rb-contact__inner { flex-direction: row; align-items: flex-start; gap: 5rem; } }
.rb-contact__info { flex: 1; }
.rb-contact__eyebrow { display: block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.rb-contact__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 1.8rem; }
.rb-contact__detail { display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.rb-contact__detail i { color: var(--gold); width: 16px; }
.rb-contact__detail a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.3s; }
.rb-contact__detail a:hover { color: var(--gold); }
.rb-contact__form { flex: 1; }
.rb-contact__form input,
.rb-contact__form select {
    width: 100%; padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); font-family: var(--sans); font-size: 0.9rem;
    margin-bottom: 1rem; outline: none;
    transition: border-color 0.3s;
}
.rb-contact__form input::placeholder { color: rgba(255,255,255,0.4); }
.rb-contact__form select option { background: var(--navy); color: var(--white); }
.rb-contact__form input:focus,
.rb-contact__form select:focus { border-color: var(--gold); }
/* ==========================================
   FOOTER (section 14) (Tier 1.2: normal flow)
========================================== */
.rb-footer {
    position: relative;
    width: 100%;
    background: #0a0f1a;
    display: flex; flex-direction: column;
    justify-content: space-between;
    padding: 82px 2rem 0;
}
@media (min-width: 992px) { .rb-footer { padding: 82px 6vw 0; } }
.rb-footer__grid {
    display: grid; grid-template-columns: 1fr;
    gap: 2.5rem; padding-bottom: 3rem;
}
@media (min-width: 768px) {
    .rb-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
}
.rb-footer__logo { height: 44px; width: auto; margin-bottom: 1.2rem; display: block; }
.rb-footer__desc { font-size: 0.85rem; line-height: 1.7;
    color: rgba(255,255,255,0.5); max-width: 340px; }
.rb-footer__col-title { font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem; }
.rb-footer__links { list-style: none; }
.rb-footer__links li { margin-bottom: 0.55rem; }
.rb-footer__links a { font-size: 0.85rem; color: rgba(255,255,255,0.6);
    text-decoration: none; transition: color 0.3s; }
.rb-footer__links a:hover { color: var(--gold); }
.rb-footer__contact-item { display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.7rem; }
.rb-footer__contact-item i { color: var(--gold); flex-shrink: 0; width: 14px; }
.rb-footer__contact-item a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s; }
.rb-footer__contact-item a:hover { color: var(--gold); }
.rb-footer__social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.rb-footer__social a {
    width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 0.9rem; text-decoration: none;
    transition: all 0.3s; border-radius: 50%;
}
.rb-footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.rb-footer__bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem 0;
    display: flex; flex-direction: column; gap: 0.3rem;
    align-items: center; text-align: center;
}
@media (min-width: 768px) {
    .rb-footer__bar { flex-direction: row; justify-content: space-between; }
}
.rb-footer__copy, .rb-footer__craft {
    font-size: 0.72rem; color: rgba(255,255,255,0.3);
}
.rb-footer__craft a { color: rgba(255,255,255,0.3); text-decoration: none; }
.rb-footer__craft a:hover { color: var(--gold); }

/* ==========================================
   SPLASH / PRELOADER
========================================== */
#rb-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: all;
}

#rb-splash.done {
    pointer-events: none;
}

.rb-splash__logo {
    height: clamp(70px, 12vw, 120px);
    width: auto;
    opacity: 0;
    transform: scale(0.88);
}

.rb-splash__rule {
    width: 0;
    height: 1px;
    background: var(--gold);
    margin: 2rem auto;
}

.rb-splash__tagline {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
}

/* ==========================================
   FOOTER HINT (prototype label)
========================================== */
.rb-footer-hint {
    background: #111;
    text-align: center;
    padding: 2.5rem 2rem;
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ==========================================
   REDUCED MOTION (Tier 2.4)
   Honor the OS-level "Reduce motion" preference.
   Kills marquees, hides splash, and forces all
   initial-hidden elements visible so they never
   flash through their fade-in state.
========================================== */
@media (prefers-reduced-motion: reduce) {
    .rb-hero-grid__row {
        animation: none !important;
    }
    #rb-splash { display: none !important; }

    /* Force visibility on every element JS would have animated in */
    .rb-hero__content,
    .rb-hero__eyebrow,
    .rb-hero__ctas,
    .rb-hero__scroll-hint,
    #rb-hero-bg,
    #rb-hero-label,
    .rb-hero__title .word span,
    .rb-section-eyebrow,
    .rb-section-title,
    .rb-card,
    .rb-blog__card,
    .rb-why__card,
    #rb-about-content,
    #rb-about-right,
    #rb-about-left,
    .rb-sf__text,
    .rb-sf__img-col,
    [data-why-card],
    [data-rb-fade],
    [data-rb-card] {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
}

/* ==========================================
   TEMP — video hero preview
   Hides the inclined sliding marquee.
   Keeps the gradient overlay for title legibility.
   Delete this block (and the <video> tag in the view)
   to restore the original hero.
========================================== */
.rb-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
/* Hide just the marquee tiles (keep .rb-hero__bg so its
   ::after gradient still applies on top of the video). */
.rb-hero-grid__inner { display: none !important; }
/* Make the bg layer transparent so the video shows through;
   the ::after gradient still renders on top. */
.rb-hero__bg { background: transparent !important; opacity: 1 !important; }
