@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════════════ */
.rch-2657-hero {
    --gold:    #DCA54A;
    --gold-lt: #F0E6C5;
    --dark:    #080604;
    --dark-2:  #141004;
    --cream:   #FAF5E5;
    --navy:    #0F172A;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Montserrat', sans-serif;
    --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══════════════════════════════════════════════════════
   BASE HERO — pointer-events MUST be auto
═══════════════════════════════════════════════════════ */
.rch-2657-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--dark);
    font-family: var(--font-sans);
    isolation: isolate;
    /* CRITICAL: never block pointer events on the root */
    pointer-events: auto !important;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.rch-2657-hero:active {
    cursor: grabbing;
}

/* ═══════════════════════════════════════════════════════
   LAYER 1 — TRACK & SLIDES
═══════════════════════════════════════════════════════ */
.rch-2657-track {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* CRITICAL: track must never block events */
    pointer-events: none;
}

.rch-2657-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.4s var(--ease-luxury);
    will-change: opacity;
}

.rch-2657-slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════
   LAYER 1 — BACKGROUND MEDIA
═══════════════════════════════════════════════════════ */
.rch-2657-media-wrap {
    position: absolute;
    inset: -5%;
    z-index: 1;
    overflow: hidden;
    will-change: transform;
    pointer-events: none;
}

.rch-2657-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.1);
    transition: transform 10s var(--ease-luxury);
    will-change: transform;
    pointer-events: none;
}

.rch-2657-slide--active .rch-2657-media {
    transform: scale(1.0);
}

.rch-2657-media--image {
    background-size: cover;
    background-repeat: no-repeat;
    animation: rch2657Pan 18s ease-in-out infinite alternate;
}

@keyframes rch2657Pan {
    0%   { background-position-x: calc(var(--pos-x, 50%) - 3%); }
    100% { background-position-x: calc(var(--pos-x, 50%) + 3%); }
}

.rch-2657-media--placeholder {
    background: linear-gradient(135deg, #0a0804 0%, #1c1208 40%, #2a1a08 70%, #0a0804 100%);
}

/* ═══════════════════════════════════════════════════════
   LAYER 2 — OVERLAYS (pointer-events: none ALWAYS)
═══════════════════════════════════════════════════════ */
.rch-2657-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: radial-gradient(ellipse at 25% 55%, rgba(28,16,6,0.9) 0%, #080604 65%);
    opacity: 0.62;
    pointer-events: none !important;
    animation: rch2657OverlayDrift 14s ease-in-out infinite alternate;
}

@keyframes rch2657OverlayDrift {
    0%   { background-position: 25% 55%; opacity: 0.58; }
    100% { background-position: 55% 40%; opacity: 0.66; }
}

.rch-2657-overlay-vignette {
    position: absolute;
    inset: 0;
    z-index: 4;
    background:
        linear-gradient(180deg, rgba(8,6,4,0.6) 0%, transparent 30%, transparent 65%, rgba(8,6,4,0.8) 100%),
        linear-gradient(90deg,  rgba(8,6,4,0.55) 0%, transparent 45%, transparent 55%, rgba(8,6,4,0.35) 100%);
    pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════
   LAYER 3 — DECORATIVE (pointer-events: none ALWAYS)
═══════════════════════════════════════════════════════ */
.rch-2657-deco {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none !important;
    overflow: hidden;
}

.rch-2657-deco * {
    pointer-events: none !important;
}

/* Glowing orbs */
.rch-2657-deco-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    animation: rch2657OrbFloat 10s ease-in-out infinite;
}

.rch-2657-deco-orb--1 {
    width: 380px;
    height: 380px;
    right: -60px;
    top: -60px;
    background: radial-gradient(circle, rgba(220,165,74,0.12) 0%, transparent 70%);
    animation-duration: 11s;
    animation-delay: 0s;
}

.rch-2657-deco-orb--2 {
    width: 260px;
    height: 260px;
    left: 5%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(220,165,74,0.08) 0%, transparent 70%);
    animation-duration: 8s;
    animation-delay: -4s;
}

@keyframes rch2657OrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    33%       { transform: translate(-15px, 20px) scale(1.05); opacity: 1; }
    66%       { transform: translate(10px, -12px) scale(0.95); opacity: 0.8; }
}

/* Rings */
.rch-2657-deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(220,165,74,0.20);
    pointer-events: none;
    animation: rch2657RingRotate 20s linear infinite;
}

.rch-2657-deco-ring--1 {
    width: 500px;
    height: 500px;
    right: -120px;
    top: -120px;
    animation-duration: 22s;
}

.rch-2657-deco-ring--2 {
    width: 320px;
    height: 320px;
    right: -20px;
    top: -20px;
    animation-duration: 16s;
    animation-direction: reverse;
    border-color: rgba(220,165,74,0.12);
}

@keyframes rch2657RingRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Horizontal accent line */
.rch-2657-deco-line {
    position: absolute;
    bottom: 32%;
    right: 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,165,74,0.45), transparent);
    pointer-events: none;
    animation: rch2657LinePulse 5s ease-in-out infinite;
}

@keyframes rch2657LinePulse {
    0%, 100% { opacity: 0.25; transform: scaleX(0.7); }
    50%       { opacity: 0.6;  transform: scaleX(1); }
}

/* Ambient particles */
.rch-2657-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.rch-2657-particle {
    position: absolute;
    bottom: -10px;
    left: var(--x, 50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(220,165,74,0.7);
    animation: rch2657ParticleRise var(--dur, 5s) var(--delay, 0s) ease-in infinite;
    pointer-events: none;
}

@keyframes rch2657ParticleRise {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    10%  { opacity: 0.8; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-110vh) scale(0.3); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════
   LAYER 4 — CONTENT
   pointer-events: none on wrapper, auto on glass panel
═══════════════════════════════════════════════════════ */
.rch-2657-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 7vw;
    /* wrapper itself passes events through */
    pointer-events: none;
    will-change: transform;
}

.rch-2657-content--left   { justify-content: flex-start; }
.rch-2657-content--center { justify-content: center; }
.rch-2657-content--right  { justify-content: flex-end; }

/* ═══════════════════════════════════════════════════════
   GLASS PANEL — pointer-events: auto so buttons work
═══════════════════════════════════════════════════════ */
.rch-2657-glass {
    position: relative;
    background: rgba(8, 6, 4, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(220, 165, 74, 0.25);
    border-radius: 4px;
    padding: 58px 62px;
    max-width: 660px;
    width: 100%;
    overflow: hidden;
    pointer-events: auto;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 32px 80px rgba(0,0,0,0.5),
        0 0 60px rgba(220,165,74,0.04);
}

/* Shimmer sweep */
.rch-2657-glass-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,165,74,0.8), transparent);
    pointer-events: none;
    animation: rch2657Shimmer 4s ease-in-out infinite;
}

@keyframes rch2657Shimmer {
    0%   { left: -60%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 160%; opacity: 0; }
}

/* Glass reflection */
.rch-2657-glass-reflection {
    position: absolute;
    top: 0;
    left: -80%;
    width: 40%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
    pointer-events: none;
    animation: rch2657Reflection 8s ease-in-out infinite;
}

@keyframes rch2657Reflection {
    0%   { left: -80%; }
    100% { left: 180%; }
}

/* ═══════════════════════════════════════════════════════
   TEXT ELEMENTS — STAGGERED REVEAL
═══════════════════════════════════════════════════════ */
.rch-2657-eyebrow,
.rch-2657-sub,
.rch-2657-headline,
.rch-2657-desc,
.rch-2657-divider,
.rch-2657-ctas {
    opacity: 0;
    transform: translateY(32px);
    will-change: opacity, transform;
}

.rch-2657-slide--active .rch-2657-eyebrow  { animation: rch2657TextReveal 0.85s 0.10s var(--ease-spring) forwards; }
.rch-2657-slide--active .rch-2657-sub      { animation: rch2657TextReveal 0.85s 0.25s var(--ease-spring) forwards; }
.rch-2657-slide--active .rch-2657-headline { animation: rch2657TextReveal 0.95s 0.40s var(--ease-spring) forwards; }
.rch-2657-slide--active .rch-2657-desc     { animation: rch2657TextReveal 0.85s 0.58s var(--ease-spring) forwards; }
.rch-2657-slide--active .rch-2657-divider  { animation: rch2657TextReveal 0.75s 0.72s var(--ease-spring) forwards; }
.rch-2657-slide--active .rch-2657-ctas     { animation: rch2657TextReveal 0.85s 0.85s var(--ease-spring) forwards; }

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

/* Eyebrow */
.rch-2657-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.rch-2657-eyebrow-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
}

/* Sub-headline */
.rch-2657-sub {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.1em;
    color: rgba(220, 165, 74, 0.82);
    margin-bottom: 10px;
}

/* Headline */
.rch-2657-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.2vw, 5rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin: 0 0 20px;
    text-shadow: 0 4px 48px rgba(0,0,0,0.6);
}

/* Description */
.rch-2657-desc {
    font-size: clamp(0.82rem, 1vw, 0.96rem);
    font-weight: 300;
    line-height: 1.9;
    color: rgba(250, 245, 229, 0.75);
    margin: 0 0 28px;
    max-width: 430px;
    letter-spacing: 0.025em;
}

/* Divider */
.rch-2657-divider {
    height: 1px;
    width: 72px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 34px;
    border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════
   CTA BUTTONS
═══════════════════════════════════════════════════════ */
.rch-2657-ctas {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.rch-2657-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 17px 36px;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.38s var(--ease-spring), box-shadow 0.38s ease, background 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
}

.rch-2657-cta-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%);
    transform: translateX(-120%) skewX(-15deg);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.rch-2657-cta-primary:hover .rch-2657-cta-shine {
    transform: translateX(120%) skewX(-15deg);
}

.rch-2657-cta-primary:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 12px 40px rgba(220,165,74,0.5),
        0 0 0 1px rgba(220,165,74,0.4),
        0 0 80px rgba(220,165,74,0.15);
}

.rch-2657-cta-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.rch-2657-cta-arrow svg {
    width: 16px;
    height: 16px;
}

.rch-2657-cta-primary:hover .rch-2657-cta-arrow {
    transform: translateX(5px);
}

.rch-2657-cta-secondary {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cream);
    border-bottom: 1px solid rgba(250,245,229,0.35);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease, letter-spacing 0.4s ease;
    cursor: pointer;
    pointer-events: auto;
}

.rch-2657-cta-secondary:hover {
    color: var(--gold);
    border-color: var(--gold);
    letter-spacing: 0.28em;
}

/* ═══════════════════════════════════════════════════════
   LAYER 5 — UI CONTROLS (z-index above everything)
═══════════════════════════════════════════════════════ */

/* Arrows */
.rch-2657-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(8,6,4,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(220,165,74,0.2);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    pointer-events: auto;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease-spring), box-shadow 0.3s ease;
}

.rch-2657-arrow svg { width: 22px; height: 22px; }

.rch-2657-arrow:hover {
    background: rgba(220,165,74,0.18);
    border-color: rgba(220,165,74,0.55);
    box-shadow: 0 0 24px rgba(220,165,74,0.22);
    transform: translateY(-50%) scale(1.1);
}

.rch-2657-arrow--prev { left: 36px; }
.rch-2657-arrow--next { right: 36px; }

/* Dots */
.rch-2657-dots {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 10px;
    align-items: center;
    pointer-events: auto;
}

.rch-2657-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(250,245,229,0.28);
    border: 1px solid rgba(250,245,229,0.35);
    cursor: pointer;
    padding: 0;
    pointer-events: auto;
    transition: background 0.4s ease, width 0.4s ease, border-radius 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.rch-2657-dot--active {
    background: var(--gold);
    border-color: var(--gold);
    width: 32px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(220,165,74,0.55);
}

/* Counter */
.rch-2657-counter {
    position: absolute;
    right: 42px;
    bottom: 46px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(250,245,229,0.45);
    pointer-events: none;
}

.rch-2657-counter-cur {
    font-size: 24px;
    font-weight: 200;
    color: var(--gold);
    line-height: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rch-2657-counter-sep {
    display: inline-block;
    width: 22px;
    height: 1px;
    background: rgba(250,245,229,0.25);
}

/* Progress bar */
.rch-2657-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(250,245,229,0.07);
    z-index: 30;
    overflow: hidden;
    pointer-events: none;
}

.rch-2657-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--gold));
    background-size: 200% 100%;
    animation: rch2657ProgressShimmer 2.5s linear infinite;
    transition: width linear;
}

@keyframes rch2657ProgressShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scroll hint */
.rch-2657-scroll-hint {
    position: absolute;
    left: 42px;
    bottom: 42px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(250,245,229,0.38);
    pointer-events: none;
    animation: rch2657ScrollBreathe 2.5s ease-in-out infinite alternate;
}

.rch-2657-scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1px solid rgba(250,245,229,0.28);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.rch-2657-scroll-wheel {
    width: 3px;
    height: 6px;
    background: rgba(220,165,74,0.75);
    border-radius: 2px;
    animation: rch2657ScrollWheel 2s ease-in-out infinite;
}

@keyframes rch2657ScrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

@keyframes rch2657ScrollBreathe {
    from { opacity: 0.38; }
    to   { opacity: 0.75; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .rch-2657-hero { height: 85vh; }
    .rch-2657-glass { padding: 44px 44px; max-width: 560px; }
    .rch-2657-headline { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
    .rch-2657-arrow--prev { left: 20px; }
    .rch-2657-arrow--next { right: 20px; }
    .rch-2657-deco-ring--1 { width: 340px; height: 340px; }
    .rch-2657-deco-ring--2 { width: 220px; height: 220px; }
    .rch-2657-scroll-hint { display: none; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .rch-2657-hero {
        height: 75vh;
        /* ensure touch events work on mobile */
        touch-action: pan-y;
    }
    .rch-2657-content {
        padding: 0 5vw;
        align-items: flex-end;
        padding-bottom: 90px;
    }
    .rch-2657-content--left,
    .rch-2657-content--center,
    .rch-2657-content--right { justify-content: center; }
    .rch-2657-glass { padding: 32px 28px; max-width: 100%; }
    .rch-2657-headline { font-size: clamp(1.9rem, 7vw, 2.8rem); }
    .rch-2657-desc { font-size: 0.82rem; margin-bottom: 22px; }
    .rch-2657-arrow { width: 44px; height: 44px; }
    .rch-2657-arrow svg { width: 18px; height: 18px; }
    .rch-2657-counter { display: none; }
    .rch-2657-deco-ring { display: none; }
    .rch-2657-deco-orb--2 { display: none; }
    .rch-2657-overlay-vignette {
        background: linear-gradient(180deg, rgba(8,6,4,0.45) 0%, transparent 30%, transparent 55%, rgba(8,6,4,0.85) 100%);
    }
}

@media (max-width: 480px) {
    .rch-2657-hero { height: 75vh; }
    .rch-2657-glass { padding: 26px 22px; }
    .rch-2657-headline { font-size: clamp(1.65rem, 8vw, 2.2rem); }
    .rch-2657-cta-primary { padding: 14px 28px; font-size: 10px; }
    .rch-2657-arrow { display: none; }
    .rch-2657-ctas { gap: 16px; }
    .rch-2657-deco { display: none; }
    .rch-2657-particles { display: none; }
}

/* ═══════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .rch-2657-media,
    .rch-2657-media--image,
    .rch-2657-deco-orb,
    .rch-2657-deco-ring,
    .rch-2657-deco-line,
    .rch-2657-particle,
    .rch-2657-overlay,
    .rch-2657-glass-shimmer,
    .rch-2657-glass-reflection { animation: none !important; }
    .rch-2657-slide { transition-duration: 0.5s !important; }
    .rch-2657-media { transform: scale(1) !important; }
}
