/* ============================================================
   CAFFÈ RINALDI — Design System
   Elegant Italian caffè with warm espresso tones
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors */
    --ri-primary: #3B2314;
    --ri-secondary: #934A00;
    --ri-accent: #C8956D;
    --ri-espresso: #5C3D2E;
    --ri-crema: #F5EDE4;
    --ri-latte: #FAF6F1;
    --ri-gold: #D4A843;
    --ri-text: #2B2B2B;
    --ri-text-light: #4A3F36;
    --ri-text-muted: #6B5E54;

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-heavy: rgba(245, 237, 228, 0.82);
    --glass-bg-light: rgba(255, 255, 255, 0.35);
    --glass-bg-dark: rgba(59, 35, 20, 0.75);
    --glass-border: rgba(200, 149, 109, 0.25);
    --glass-border-light: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(20px) saturate(180%);
    --glass-shadow: 0 8px 32px rgba(59, 35, 20, 0.08);
    --glass-shadow-hover: 0 12px 48px rgba(59, 35, 20, 0.14);

    /* Spacing */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --transition-spring: all 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-elegant: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ---- Base / Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    color: var(--ri-text);
    background: var(--ri-crema);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: rgba(147, 74, 0, 0.15);
    color: var(--ri-primary);
}

img { max-width: 100%; height: auto; }

/* ---- Typography ---- */
.text-display {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.text-body { line-height: 1.7; color: var(--ri-text); }
.text-body-light { line-height: 1.7; color: var(--ri-text-light); }
.text-body-muted { line-height: 1.7; color: var(--ri-text-muted); }
.text-mono {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-size: 0.85em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-script {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 300;
}

/* ---- Glass Components ---- */
.glass-panel {
    background: var(--glass-bg-heavy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.glass-panel-solid {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.glass-panel-light {
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-md);
}

.glass-panel-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(200, 149, 109, 0.15);
    border-radius: var(--radius-md);
    color: #fff;
}

.glass-card {
    background: #fff;
    border: 1px solid rgba(200, 149, 109, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(59, 35, 20, 0.04);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.glass-card:hover {
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-4px);
    border-color: var(--glass-border);
}

/* ---- Buttons ---- */
.glass-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--ri-secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.glass-btn-primary:hover {
    background: var(--ri-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(147, 74, 0, 0.3);
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--ri-secondary);
    border: 1.5px solid var(--ri-secondary);
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.glass-btn:hover {
    background: var(--ri-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(147, 74, 0, 0.2);
}

.glass-btn-sm {
    padding: 10px 22px;
    font-size: 0.8rem;
}

.glass-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.glass-btn-light:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--glass-bg-heavy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ri-text-light);
    transition: var(--transition-fast);
}

/* ---- Navigation ---- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

body[data-transparent-nav] .glass-nav {
    background: transparent;
}

body[data-transparent-nav] .glass-nav a,
body[data-transparent-nav] .glass-nav button {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.3);
}

body[data-transparent-nav] .glass-nav a:hover,
body[data-transparent-nav] .glass-nav button:hover {
    color: var(--ri-accent);
}

body[data-transparent-nav] .glass-nav.scrolled a,
body[data-transparent-nav] .glass-nav.scrolled button {
    color: var(--ri-primary);
    text-shadow: none;
}

body[data-transparent-nav] .glass-nav.scrolled a:hover,
body[data-transparent-nav] .glass-nav.scrolled button:hover {
    color: var(--ri-secondary);
}

/* Navbar link base styling */
.glass-nav a,
.glass-nav button {
    color: var(--ri-primary);
}

.glass-nav a:hover,
.glass-nav button:hover {
    color: var(--ri-secondary);
}

body:not([data-transparent-nav]) .glass-nav,
.glass-nav.scrolled {
    background: rgba(245, 237, 228, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(200, 149, 109, 0.2);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(59, 35, 20, 0.08);
}

.glass-nav .nav-logo {
    transition: var(--transition-smooth);
}

.glass-nav.scrolled .nav-logo {
    height: 40px;
}

/* ---- Forms ---- */
.glass-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(200, 149, 109, 0.2);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--ri-text);
    transition: var(--transition-fast);
    outline: none;
}

.glass-input:focus {
    border-color: var(--ri-secondary);
    box-shadow: 0 0 0 3px rgba(147, 74, 0, 0.08);
    background: #fff;
}

.glass-input::placeholder {
    color: var(--ri-text-muted);
}

textarea.glass-input {
    resize: vertical;
    min-height: 120px;
}

/* ---- Image Containers ---- */
.glass-image-container {
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
}

.glass-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-image-container:hover img {
    transform: scale(1.06);
}

/* ---- Text-on-image contrast system ---- */
.text-on-image,
.hero-content,
.cta-overlay-content {
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.25);
}

.text-on-image h1, .text-on-image h2, .text-on-image h3,
.hero-content h1, .hero-content h2,
.cta-overlay-content h1, .cta-overlay-content h2 {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.3);
}

.text-on-image p, .text-on-image span, .text-on-image a,
.hero-content p, .hero-content span,
.cta-overlay-content p, .cta-overlay-content span {
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.6),
        0 3px 10px rgba(0, 0, 0, 0.3);
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: slowZoom 25s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 10, 5, 0.55) 0%,
        rgba(20, 10, 5, 0.65) 40%,
        rgba(20, 10, 5, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 24px;
}

/* ---- Dividers ---- */
.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 48px 0;
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.5;
}

.divider-ornament .ornament {
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.5;
}

/* ---- Section Spacing ---- */
.section-padding {
    padding: 100px 0;
    position: relative;
    background-color: var(--ri-crema);
}

.section-padding-sm {
    padding: 60px 0;
    position: relative;
}

/* ---- Marquee ---- */
.marquee-container {
    overflow: hidden;
    background: var(--ri-primary);
    padding: 16px 0;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;
    animation: marqueeScroll 30s linear infinite;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ri-accent);
    letter-spacing: 0.08em;
}

.marquee-text span {
    padding: 0 48px;
}

/* ---- Gallery Grid ---- */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
}

.gallery-mosaic .span-2 {
    grid-column: span 2;
}

.gallery-mosaic .tall {
    grid-row: span 2;
}

@media (max-width: 768px) {
    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }
    .gallery-mosaic .span-2 {
        grid-column: span 1;
    }
}

/* ---- Hours Table ---- */
.hours-table {
    width: 100%;
}

.hours-table tr {
    border-bottom: 1px solid rgba(200, 149, 109, 0.12);
}

.hours-table td {
    padding: 14px 0;
    font-size: 0.95rem;
}

.hours-table .day {
    font-weight: 500;
    color: var(--ri-text);
}

.hours-table .time {
    text-align: right;
    color: var(--ri-text-light);
    font-variant-numeric: tabular-nums;
}

.hours-table .closed {
    color: var(--ri-text-muted);
    font-style: italic;
}

/* ---- Map Container ---- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--ri-primary);
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
    color: var(--ri-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

.site-footer a:hover {
    color: #fff;
}

.footer-divider {
    border-top: 1px solid rgba(200, 149, 109, 0.15);
}

/* ---- CodLab Glass Badge ---- */
.codlab-glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.codlab-glass-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 149, 109, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

/* ---- Navbar Cart Badge ---- */
.nav-cart-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ri-primary);
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}
.nav-cart-badge:hover { color: var(--ri-secondary); }
.nav-cart-badge .badge-count {
    position: absolute;
    top: 2px;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ri-secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-cart-badge .badge-count.visible {
    transform: scale(1);
}

/* ---- Scroll indicator ---- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section { min-height: 100svh; }
    .section-padding { padding: 60px 0; }
    .section-padding-sm { padding: 40px 0; }
    .text-display { font-size: 2.2rem !important; }
    .glass-btn-primary, .glass-btn, .glass-btn-light { padding: 12px 24px; }
}

/* ---- Print ---- */
@media print {
    .glass-nav, .site-footer, #cookie-consent, #riservati-widget, #booking-chat-close { display: none !important; }
    body { background: #fff; }
}

/* === UX-Audit Fix 2026-07-14 (Fable) === */
/* #1 — stop allo scroll orizzontale (~37px) su mobile: clip a livello root.
   Il nav è position:fixed, quindi non viene tagliato dall'overflow del root. */
html { overflow-x: clip; }
/* #4 — il CTA primario "Reservieren" nel nav deve restare BIANCO su arancione
   in OGNI stato: i selettori generici `.glass-nav[.scrolled] button` lo forzavano
   a marrone scuro (var(--ri-primary)) = 2,24:1, sotto WCAG. */
.glass-nav .glass-btn-primary,
.glass-nav.scrolled .glass-btn-primary,
body[data-transparent-nav] .glass-nav .glass-btn-primary,
body[data-transparent-nav] .glass-nav.scrolled .glass-btn-primary { color: #fff; }
/* #3 — nav SCROLLATA leggibile: quando data-transparent-nav è attivo, la regola
   `body[data-transparent-nav] .glass-nav{background:transparent}` (0,2,1) vinceva su
   `.glass-nav.scrolled{background:cream}` (0,2,0) → link scuri su bg trasparente =
   invisibili sulle sezioni scure. Ripristino il fondo crema quando scrollata. */
body[data-transparent-nav] .glass-nav.scrolled {
    background: rgba(245, 237, 228, 0.97);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(200, 149, 109, 0.2);
    box-shadow: 0 4px 20px rgba(59, 35, 20, 0.08);
}


/* ==========================================================================
   animations.css — UNITO QUI il 2026-07-25.
   Perché: erano 5 fogli di stile bloccanti in <head> per soli ~31KB totali.
   Il costo non era il peso ma i round-trip: 2224ms di render-blocking
   misurati su piccoloamore. Differirli non era possibile (contengono stati
   iniziali `opacity:0`: si sarebbe visto un flash), quindi si concatena.
   L'ordine della cascata è preservato: animations.css veniva caricato
   subito DOPO questo file, quindi il suo contenuto va in coda.
   ========================================================================== */
/* ============================================================
   CAFFÈ RINALDI — Animations
   Cinematic scroll-reveal and interaction animations
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes clipReveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

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

@keyframes revealLine {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes gentlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-8deg) scale(0.9); }
    to { opacity: 1; transform: rotate(0deg) scale(1); }
}

@keyframes drawBorder {
    from { border-color: transparent; }
    to { border-color: var(--ri-accent); }
}

/* ---- Scroll-Reveal Classes ---- */
.fade-in-up,
.fade-in,
.slide-in-left,
.slide-in-right,
.scale-in,
.clip-reveal,
.rotate-in {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-in-up.visible {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in.visible {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in-left.visible {
    animation: slideInLeft 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right.visible {
    animation: slideInRight 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scale-in.visible {
    animation: scaleIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.clip-reveal.visible {
    animation: clipReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.rotate-in.visible {
    animation: rotateIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ---- Stagger Delays ---- */
.delay-1 { animation-delay: 0.1s !important; }
.delay-2 { animation-delay: 0.2s !important; }
.delay-3 { animation-delay: 0.3s !important; }
.delay-4 { animation-delay: 0.4s !important; }
.delay-5 { animation-delay: 0.5s !important; }
.delay-6 { animation-delay: 0.6s !important; }
.delay-7 { animation-delay: 0.7s !important; }
.delay-8 { animation-delay: 0.8s !important; }

/* ---- Feature Strip ---- */
.feature-strip {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.feature-strip.visible {
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ---- Parallax helper ---- */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ---- Hover micro-interactions ---- */
.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-6px);
}

.hover-glow {
    transition: var(--transition-smooth);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(200, 149, 109, 0.2);
}

/* ---- Line Reveal ---- */
.line-reveal {
    position: relative;
    overflow: hidden;
}

.line-reveal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ri-accent);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.line-reveal.visible::after,
.line-reveal:hover::after {
    width: 100%;
}

/* ---- Counter animation ---- */
.counter-number {
    font-variant-numeric: tabular-nums;
    font-family: 'Playfair Display', serif;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up, .fade-in, .slide-in-left, .slide-in-right,
    .scale-in, .clip-reveal, .feature-strip, .rotate-in {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .hero-bg { animation: none !important; }
    .marquee-text { animation: none !important; }
    .scroll-indicator { animation: none !important; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
