/* ═══════════════════════════════════════════════════════
   HAMSTER SPIRITS — MOODY CINEMATIC DESIGN SYSTEM v3
═══════════════════════════════════════════════════════ */

/* ── Scroll reveal base ── */
.reveal-up    { opacity: 0; transform: translateY(40px); }
.reveal-left  { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.9); }
.reveal-fade  { opacity: 0; }

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade {
    transition:
        opacity  0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-scale.in-view,
.reveal-fade.in-view {
    opacity: 1 !important;
    transform: none !important;
}

/* ════════════════════════════════════════
   GRAIN UTILITY
════════════════════════════════════════ */
.grain { position: relative; isolation: isolate; }
.grain::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.038; mix-blend-mode: overlay;
}

/* ════════════════════════════════════════
   HOME PAGE — DARK CINEMATIC SECTIONS
════════════════════════════════════════ */

/* Brands section */
.brands-section {
    background: linear-gradient(170deg, #0c0806 0%, #130e07 60%, #0a0603 100%) !important;
    position: relative; isolation: isolate;
}
.brands-section::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04; mix-blend-mode: overlay; z-index: 0;
}
.brands-section > * { position: relative; z-index: 1; }
.brands-section .home-kicker  { color: #d4af37 !important; }
.brands-section .home-heading { color: #fff8e7 !important; }
.brands-section .home-desc    { color: rgba(255,248,231,0.58) !important; }
.brand-card {
    background: rgba(255,248,231,0.04) !important;
    border: 1px solid rgba(212,175,55,0.14) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important;
}
.brand-card:hover {
    transform: translateY(-14px) scale(1.025) !important;
    box-shadow: 0 28px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,55,0.35) !important;
    border-color: rgba(212,175,55,0.4) !important;
    background: rgba(255,248,231,0.07) !important;
}
.brand-card-name   { color: #fff8e7 !important; }
.brand-card-body>p { color: rgba(255,248,231,0.58) !important; }
.brand-card { overflow: hidden; }
.brand-card-img { transition: transform 0.65s cubic-bezier(0.16,1,0.3,1) !important; }
.brand-card:hover .brand-card-img { transform: scale(1.07) !important; }

/* White Leaf section */
.home-wl-section {
    background: linear-gradient(150deg, #060d07 0%, #0c1a0e 50%, #111f13 100%) !important;
}
.home-wl-section .home-kicker       { color: #d4af37 !important; }
.home-wl-section .home-heading      { color: #e8f2e8 !important; }
.home-wl-section .home-heading span { color: #d4af37 !important; }
.home-wl-section .home-desc         { color: rgba(232,242,232,0.62) !important; }
.home-wl-card {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(212,175,55,0.13) !important;
    box-shadow: 0 3px 16px rgba(0,0,0,0.35) !important;
}
.home-wl-card:hover {
    box-shadow: 0 14px 38px rgba(0,0,0,0.48), 0 0 0 1px rgba(212,175,55,0.3) !important;
    border-color: rgba(212,175,55,0.35) !important;
    background: rgba(255,255,255,0.09) !important;
    transform: translateX(8px) !important;
}
.home-wl-card-copy .card-name { color: #e8f2e8 !important; }
.home-wl-card-copy .card-sub  { color: #d4af37 !important; }

/* About section */
.home-about-section {
    background: linear-gradient(150deg, #0a0603 0%, #130e06 45%, #1c1008 100%) !important;
}
.home-about-section .home-kicker       { color: #d4af37 !important; }
.home-about-section .home-heading      { color: #fff8e7 !important; }
.home-about-section .home-heading span { color: #d4af37 !important; }
.home-about-section .home-about-copy p { color: rgba(255,248,231,0.68) !important; }
.home-about-img {
    box-shadow: 0 20px 60px rgba(0,0,0,0.55) !important;
    border: 1px solid rgba(212,175,55,0.12) !important;
}

/* ════════════════════════════════════════
   MARQUEE TICKER
════════════════════════════════════════ */
.brand-marquee {
    overflow: hidden;
    padding: 0.95rem 0;
    background: #d4af37;
    user-select: none;
}
.brand-marquee-track {
    display: flex; width: max-content;
    animation: mq-scroll 28s linear infinite;
}
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }
.brand-marquee-track .mq-item {
    display: inline-flex; align-items: center; gap: 0.9rem;
    padding: 0 0.9rem;
    font-family: 'Quicksand', sans-serif; font-size: 0.82rem;
    font-weight: 800; letter-spacing: 0.22em;
    text-transform: uppercase; color: #130e07; white-space: nowrap;
}
.brand-marquee-track .mq-sep {
    display: inline-block; width: 5px; height: 5px;
    background: rgba(19,14,7,0.4); border-radius: 50%; flex-shrink: 0;
}
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════ */
.home-stats-section {
    padding: 4.5rem 2rem;
    background: #080608;
    border-top: 1px solid rgba(212,175,55,0.1);
    border-bottom: 1px solid rgba(212,175,55,0.1);
    position: relative; isolation: isolate;
}
.home-stats-section::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04; mix-blend-mode: overlay;
}
.home-stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 2rem; max-width: 860px; margin: 0 auto; text-align: center;
    position: relative; z-index: 1;
}
.home-stats-grid .stat-item { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem,5vw,4rem); font-weight: 800;
    color: #d4af37; line-height: 1; margin: 0;
}
.stat-label {
    font-family: 'Quicksand', sans-serif; font-size: 0.78rem;
    font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,248,231,0.48); margin: 0;
}

/* Nav scroll glass */
header, .site-header {
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
header.scrolled, .site-header.scrolled {
    background: rgba(10,6,3,0.92) !important;
    backdrop-filter: blur(18px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
    box-shadow: 0 2px 24px rgba(0,0,0,0.5) !important;
}

/* ════════════════════════════════════════
   CINEMATIC FLAVOUR SHOWCASE (ALL BRANDS)
════════════════════════════════════════ */
.cin-showcase {
    padding: clamp(4rem,7vw,7rem) 0;
    background: #0d0d0d;
    overflow: hidden;
    position: relative;
}
.cin-showcase-header {
    max-width: 1280px;
    margin: 0 auto clamp(2.5rem,4vw,3.5rem);
    padding: 0 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}
.cin-showcase-header .cin-title { margin: 0; }
.cin-scroll-hint {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,248,231,0.38);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cin-scroll-hint::before {
    content: '';
    display: block;
    width: 28px; height: 1px;
    background: rgba(212,175,55,0.4);
}

.cin-track {
    display: flex;
    gap: 1rem;
    padding: 0 2rem 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}
.cin-track:active { cursor: grabbing; }
.cin-track::-webkit-scrollbar { display: none; }

.cin-card {
    flex: 0 0 clamp(200px,22vw,280px);
    height: clamp(320px,45vw,480px);
    border-radius: 0.8rem;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
    border: 1px solid rgba(212,175,55,0.1);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.cin-card:hover {
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 20px 55px rgba(0,0,0,0.6);
}
.cin-card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.cin-card:hover img { transform: scale(1.1); }
.cin-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 45%, rgba(0,0,0,0.88) 100%);
    transition: background 0.4s ease;
}
.cin-card:hover .cin-overlay {
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.92) 100%);
}
.cin-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1.2rem;
    transform: translateY(0);
}
.cin-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem,2vw,1.4rem);
    font-weight: 700;
    color: #fff8e7;
    margin: 0 0 0.25rem;
    line-height: 1.2;
}
.cin-sub {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d4af37;
    margin: 0 0 0.8rem;
    letter-spacing: 0.06em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}
.cin-card:hover .cin-sub {
    opacity: 1;
    transform: translateY(0);
}
.cin-btn {
    display: inline-block;
    padding: 0.42rem 1.1rem;
    border: 1px solid rgba(212,175,55,0.7);
    border-radius: 999px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s, background 0.2s, color 0.2s;
}
.cin-card:hover .cin-btn { opacity: 1; transform: translateY(0); }
.cin-card:hover .cin-btn:hover { background: #d4af37; color: #0d0d0d; }

/* Wide cards for fewer products (3 or fewer) */
.cin-track.cin-few .cin-card {
    flex: 0 0 clamp(260px,30vw,380px);
}

/* ════════════════════════════════════════
   BRAND PAGE HERO — CINEMATIC UPGRADE
════════════════════════════════════════ */
.soju-hero-copy .titleText,
.soju-motion-copy .titleText {
    font-size: clamp(3rem, 7vw, 6rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.04em !important;
}
.soju-hero-copy .with-underline { border-bottom-color: rgba(212,175,55,0.45) !important; }

/* ════════════════════════════════════════
   BRAND PAGE GALLERY — DARK CINEMATIC
════════════════════════════════════════ */
.hg2-section,
.wl-gallery-v2,
.di-gallery-v2,
.la-gallery-v2,
.soju-premium-gallery {
    background: linear-gradient(160deg, #0a0808 0%, #100d0c 100%) !important;
    position: relative; isolation: isolate;
}
.hg2-section::after, .wl-gallery-v2::after, .di-gallery-v2::after,
.la-gallery-v2::after, .soju-premium-gallery::after {
    content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity:0.04; mix-blend-mode:overlay;
}
.hg2-section > *, .wl-gallery-v2 > *, .di-gallery-v2 > *,
.la-gallery-v2 > *, .soju-premium-gallery > * { position:relative; z-index:2; }

/* Gallery text colors on dark */
.hg2-copy .titleText,
.wlg2-copy .titleText,
.soju-gallery-copy .titleText { color: #d4af37 !important; }
.hg2-copy p:last-child,
.wlg2-copy p:last-child,
.soju-gallery-copy p:last-child { color: rgba(255,248,231,0.62) !important; }
.hg2-copy .soju-kicker,
.wlg2-copy .soju-kicker { color: rgba(212,175,55,0.75) !important; }

/* White Leaf campaign → dark */
.wl-campaign-section {
    background: linear-gradient(160deg, #060a07 0%, #0a0f09 100%) !important;
    position: relative; isolation: isolate;
}
.wl-campaign-section .section-label .titleText { color: #d4af37 !important; }

/* ════════════════════════════════════════
   PROCESS SECTION — GLASSMORPHISM CARDS
════════════════════════════════════════ */
.process-card {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(212,175,55,0.14) !important;
    border-radius: 1.2rem !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.28) !important;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1) !important;
    overflow: hidden !important;
}
.process-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(212,175,55,0.42) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,0.48), 0 0 0 1px rgba(212,175,55,0.2) !important;
    background: rgba(255,255,255,0.08) !important;
}
.process-card .titleText      { color: #fff8e7 !important; font-size: 1.08rem !important; }
.process-card .product-process { color: rgba(255,248,231,0.65) !important; }
.process-card .with-underline  { border-bottom-color: rgba(212,175,55,0.35) !important; }

/* ════════════════════════════════════════
   RITUAL / EXPERIENCE SECTION
════════════════════════════════════════ */
.soju-ritual { position: relative; isolation: isolate; }
.soju-ritual::before {
    content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity:0.04; mix-blend-mode:overlay;
}
.soju-ritual > * { position: relative; z-index: 2; }
.soju-ritual-copy .titleText {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem) !important;
    letter-spacing: -0.03em !important;
}

/* ════════════════════════════════════════
   RELATED PRODUCTS — DARK
════════════════════════════════════════ */
.soju-related-products, .related-products {
    background: linear-gradient(160deg, #080606 0%, #100e08 100%) !important;
    position: relative; isolation: isolate;
}
.soju-related-products::after, .related-products::after {
    content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity:0.04; mix-blend-mode:overlay;
}
.soju-related-products > *, .related-products > * { position: relative; z-index: 2; }
.related-product-container {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(212,175,55,0.12) !important;
    border-radius: 1.2rem !important;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
}
.related-product-container:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(212,175,55,0.38) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,0.48) !important;
}
.product-title { color: #fff8e7 !important; }
.product-desc  { color: rgba(255,248,231,0.62) !important; }

/* ════════════════════════════════════════
   PROCESS SECTION GRAIN
════════════════════════════════════════ */
.hamster-process { position: relative; isolation: isolate; }
.hamster-process::before {
    content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity:0.04; mix-blend-mode:overlay;
}
.hamster-process > * { position: relative; z-index: 1; }

/* ════════════════════════════════════════
   GALLERY CARD HOVER POLISH
════════════════════════════════════════ */
.hg2-feature, .hg2-card,
.wlg2-feature, .wlg2-card {
    border: 1px solid rgba(212,175,55,0.08) !important;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.5s cubic-bezier(0.16,1,0.3,1) !important;
}
.hg2-feature:hover, .hg2-card:hover,
.wlg2-feature:hover, .wlg2-card:hover {
    border-color: rgba(212,175,55,0.35) !important;
    box-shadow: 0 16px 44px rgba(0,0,0,0.55) !important;
    transform: translateY(-5px) !important;
}

/* Campaign item hover */
.campaign-item {
    border: 1px solid rgba(212,175,55,0.08) !important;
    transition: all 0.45s cubic-bezier(0.16,1,0.3,1) !important;
}
.campaign-item:hover {
    transform: scale(1.03) translateY(-6px) !important;
    border-color: rgba(212,175,55,0.4) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
}

/* ════════════════════════════════════════
   GLOBAL TYPOGRAPHY POLISH
════════════════════════════════════════ */
.home-heading {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
}
.titleText { letter-spacing: -0.015em !important; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 768px) {
    .home-stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
    .cin-showcase-header { flex-direction: column; align-items: flex-start; }
    .soju-hero-copy .titleText { font-size: clamp(2.4rem, 8vw, 3.6rem) !important; }
}
@media (max-width: 480px) {
    .home-stats-grid { grid-template-columns: repeat(2,1fr); }
    .cin-card { flex: 0 0 200px; height: 300px; }
}
