/* ============================================
   BEBOUGIE - makeupbymario.com style
   Acumin Pro Condensed + Inter
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Content Protection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

:root {
    --black: #000;
    --white: #fff;
    --off-white: #f5f0eb;
    --beige: #f1f0ee;
    --gold: #b49664;
    --dark: #1a1a1a;
    --gray: #666;
    --light: #e5e5e5;
    --green: #00B67B;
    --red: #E7384D;
    --heading: "acumin-pro-condensed", "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--body); color: var(--black); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ---- Ticker ---- */
.ticker {
    background: var(--black); color: var(--white); height: 36px;
    display: flex; align-items: center; overflow: hidden; position: relative; z-index: 1001;
}
.ticker-track {
    display: flex; gap: 32px; white-space: nowrap;
    animation: ticker 30s linear infinite; will-change: transform;
    font-family: var(--heading); font-weight: 400; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.25em;
}
.ticker-track span { flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }

/* ---- Header ---- */
.header {
    position: fixed; top: 36px; left: 0; right: 0; z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 70%, transparent 100%);
    transition: background .35s, box-shadow .35s;
}
.header.nav-open { z-index: 10002; }
.header.scrolled {
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 24px;
    height: 60px; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
}
.logo {
    font-family: var(--heading); font-weight: 700; font-size: 26px;
    letter-spacing: .3em; color: var(--white); transition: color .3s;
}
.header.scrolled .logo { color: var(--black); }
.nav {
    display: flex; gap: 28px; justify-content: center;
}
.nav a {
    font-family: var(--heading); font-weight: 500; font-size: 12px;
    text-transform: uppercase; letter-spacing: .2em; color: var(--white);
    transition: color .3s; position: relative;
}
.nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
    background: currentColor; transition: width .3s;
}
.nav a:hover::after { width: 100%; }
.header.scrolled .nav a { color: var(--black); }
.header.scrolled .nav.open a { color: var(--white); }
.nav-particle, .nav-divider, .nav-brand { display: none; }
.header-icons { display: flex; gap: 14px; align-items: center; }
.header-icons button { background: none; border: none; cursor: pointer; font-size: 15px; color: var(--white); transition: color .3s; position: relative; }
.header.scrolled .header-icons button { color: var(--black); }
.badge {
    position: absolute; top: -5px; right: -7px; background: var(--white); color: var(--black);
    font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.header.scrolled .badge { background: var(--black); color: var(--white); }
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 24px; height: 18px; position: relative; }
.hamburger span {
    display: block; width: 100%; height: 1.5px; background: var(--white);
    position: absolute; left: 0; transition: .3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.header.scrolled .hamburger span { background: var(--black); }

/* ---- Hero Cube Slideshow ---- */
.hero-cube-wrapper {
    position: relative; width: 100%; height: 100vh; height: 100svh;
    min-height: 600px; overflow: hidden;
}

.cube {
    width: 100%; height: 100%;
    position: absolute; inset: 0;
    transform-style: preserve-3d;
    transition: transform 1.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.cube-face {
    position: absolute; inset: 0; width: 100%; height: 100%;
    backface-visibility: hidden;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

/* Face transforms set via JS for dynamic translateZ based on viewport width */

.cube-face .face-bg {
    position: absolute; inset: 0; background: transparent;
}
.cube-face .face-bg img {
    width: 100%; height: 100%; object-fit: contain; object-position: center center;
}
.cube-face .face-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
}
.cube-face .face-content {
    position: relative; z-index: 2; text-align: center; color: var(--white);
    padding: 0 24px; max-width: 900px;
}
.face-content .face-pre {
    font-family: var(--heading); font-weight: 500; font-size: 13px;
    text-transform: uppercase; letter-spacing: .35em; color: #d4b87a; margin-bottom: 16px;
    opacity: 0; transform: translateY(20px); transition: opacity .8s .3s, transform .8s .3s;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.face-content .face-title {
    font-family: var(--heading); font-weight: 700;
    font-size: clamp(44px, 9vw, 110px); text-transform: uppercase;
    letter-spacing: .04em; line-height: .92; margin-bottom: 20px;
    opacity: 0; transform: translateY(30px); transition: opacity .8s .5s, transform .8s .5s;
}
.face-content .face-sub {
    font-family: var(--heading); font-weight: 300;
    font-size: clamp(14px, 2vw, 20px); letter-spacing: .2em;
    text-transform: uppercase; margin-bottom: 36px;
    opacity: 0; transform: translateY(20px); transition: opacity .8s .7s, transform .8s .7s;
}
.face-content .face-btn {
    display: inline-block; font-family: var(--heading); font-weight: 600;
    font-size: 13px; text-transform: uppercase; letter-spacing: .2em;
    padding: 16px 48px; border: 1.5px solid var(--white); color: var(--white);
    background: transparent; cursor: pointer;
    opacity: 0; transform: translateY(20px);
    transition: opacity .8s .9s, transform .8s .9s, background .3s, color .3s;
}
.face-btn:hover { background: var(--white); color: var(--black); }

/* Active face - text animates in */
.cube-face.active .face-pre,
.cube-face.active .face-title,
.cube-face.active .face-sub,
.cube-face.active .face-btn {
    opacity: 1; transform: translateY(0);
}

/* Leaving face - text fades out immediately */
.cube-face:not(.active) .face-pre,
.cube-face:not(.active) .face-title,
.cube-face:not(.active) .face-sub,
.cube-face:not(.active) .face-btn {
    transition-delay: 0s;
}

/* Cube navigation */
.cube-nav {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; gap: 12px; align-items: center;
}
.cube-dot {
    width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--white);
    background: transparent; cursor: pointer; transition: background .3s, transform .3s;
    padding: 0;
}
.cube-dot.active { background: var(--white); transform: scale(1.3); }
.cube-arrows {
    position: absolute; top: 50%; left: 0; right: 0; z-index: 10;
    display: flex; justify-content: space-between; padding: 0 24px;
    transform: translateY(-50%); pointer-events: none;
}
.cube-arrow {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.2); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; pointer-events: all; font-size: 16px;
    transition: background .3s;
}
.cube-arrow:hover { background: rgba(255,255,255,.3); }

.hero-scroll {
    position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 10;
    pointer-events: none;
}
.scroll-line {
    width: 1px; height: 48px; background: rgba(255,255,255,.3); position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
    background: var(--white); animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; } }

/* ---- Marquee ---- */
.marquee-section {
    padding: 28px 0; background: var(--beige); overflow: hidden;
}
.marquee-track {
    display: flex; gap: 48px; animation: marqueeScroll 20s linear infinite; will-change: transform;
    font-family: var(--heading); font-weight: 700; font-size: clamp(32px, 5vw, 56px);
    text-transform: uppercase; letter-spacing: .08em; color: rgba(0,0,0,.07);
    white-space: nowrap;
}
.marquee-track span { flex-shrink: 0; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- Features Strip ---- */
.features-strip { padding: 48px 0; border-bottom: 1px solid var(--light); overflow: hidden; }
.features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat {
    display: flex; align-items: center; gap: 14px; justify-content: center;
}
.feat i { font-size: 20px; color: var(--gold); }
.feat strong { font-family: var(--heading); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; display: block; }
.feat span { font-size: 12px; color: var(--gray); }

/* ---- Section Head ---- */
.section-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.section-head h2 {
    font-family: var(--heading); font-weight: 700;
    font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; letter-spacing: .04em;
}
.section-head a {
    font-family: var(--heading); font-weight: 500; font-size: 12px;
    text-transform: uppercase; letter-spacing: .2em; color: var(--gray);
    display: flex; align-items: center; gap: 8px; transition: color .3s;
}
.section-head a:hover { color: var(--black); }
.section-head a i { transition: transform .3s; font-size: 11px; }
.section-head a:hover i { transform: translateX(4px); }
.section-sub { font-size: 15px; color: var(--gray); margin-top: 4px; }

/* ---- Collections ---- */
.collections-section { padding: 80px 0; overflow: hidden; }
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.collection-card { position: relative; display: block; overflow: hidden; aspect-ratio: 1/1; }
.card-img { width: 100%; height: 100%; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.collection-card:hover .card-img img { transform: scale(1.12); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 60%); transition: opacity .4s; }
.card-content {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 28px;
    color: var(--white); z-index: 2;
}
.card-label { font-family: var(--heading); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; display: block; margin-bottom: 6px; }
.card-content h3 { font-family: var(--heading); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.card-cta {
    font-family: var(--heading); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
    opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s;
    display: inline-flex; align-items: center; gap: 6px;
}
.collection-card:hover .card-cta { opacity: 1; transform: translateY(0); }

/* ---- Parallax Banner ---- */
.parallax-banner {
    position: relative; height: 50vh; min-height: 350px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.parallax-img {
    position: absolute; inset: 0; background-size: contain; background-position: center;
    background-repeat: no-repeat; background-color: transparent;
    will-change: transform;
}
.parallax-banner::after {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4);
}
.parallax-content { position: relative; z-index: 2; text-align: center; color: var(--white); }
.parallax-pre { font-family: var(--heading); font-size: 13px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.parallax-content h2 { font-family: var(--heading); font-weight: 700; font-size: clamp(36px, 7vw, 72px); text-transform: uppercase; letter-spacing: .06em; }

/* ---- Products ---- */
.products-section { padding: 80px 0; background: var(--beige); overflow: hidden; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { background: var(--white); overflow: hidden; }
.product-img { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.product-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity .6s; }
.product-img .hover-img { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .hover-img { opacity: 1; }
.product-card:hover .product-img > img:first-child { opacity: 0; }
.tag {
    position: absolute; top: 10px; left: 10px;
    font-family: var(--heading); font-weight: 600; font-size: 10px;
    text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px;
    background: var(--black); color: var(--white);
}
.tag.sale { background: var(--red); }
.tag.new { background: var(--gold); color: var(--black); }
.tag.sold-out { background: var(--gray); }
.quick-add {
    position: absolute; bottom: 10px; right: 10px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--white); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; opacity: 0; transform: translateY(8px);
    transition: opacity .3s, transform .3s; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-meta { padding: 16px; }
.product-meta h4 { font-family: var(--heading); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.product-meta p { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.product-meta .price { font-family: var(--heading); font-weight: 600; font-size: 14px; }
.product-meta del { color: var(--gray); font-weight: 400; margin-right: 6px; }

/* ---- Split Section ---- */
.split-section { padding: 0; overflow: hidden; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.split-media { overflow: hidden; background: var(--beige); display: flex; align-items: center; justify-content: center; }
.split-media img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }
.split-content {
    display: flex; flex-direction: column; justify-content: center;
    padding: 64px 72px; background: var(--off-white);
}
.split-label {
    font-family: var(--heading); font-size: 11px; text-transform: uppercase;
    letter-spacing: .4em; color: var(--gold); margin-bottom: 16px;
}
.split-content h2 {
    font-family: var(--heading); font-weight: 700;
    font-size: clamp(28px, 3.5vw, 44px); text-transform: uppercase;
    letter-spacing: .03em; line-height: 1; margin-bottom: 24px;
}
.split-content p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.split-list { margin: 12px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.split-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.split-list i { color: var(--gold); font-size: 14px; }
.link-btn {
    font-family: var(--heading); font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: .2em; color: var(--black);
    display: inline-flex; align-items: center; gap: 8px; position: relative;
    padding-bottom: 2px;
}
.link-btn::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--black); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.link-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.link-btn i { transition: transform .3s; font-size: 10px; }
.link-btn:hover i { transform: translateX(4px); }

/* ---- How to Apply ---- */
.howto-section { padding: 80px 0; background: var(--off-white); overflow: hidden; }
.howto-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    max-width: 960px; margin: 0 auto;
}
.howto-step {
    text-align: center; padding: 40px 28px;
    background: var(--white); position: relative;
    border: 1px solid var(--light);
    transition: box-shadow .4s, transform .4s;
}
.howto-step:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    transform: translateY(-4px);
}
.howto-number {
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--black); color: var(--white);
    font-family: var(--heading); font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.howto-icon {
    font-size: 28px; color: var(--gold); margin-bottom: 18px; margin-top: 8px;
}
.howto-step h3 {
    font-family: var(--heading); font-weight: 700; font-size: 20px;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.howto-step p {
    font-size: 14px; color: var(--gray); line-height: 1.7;
}

/* ---- Before/After ---- */
.ba-section { padding: 80px 0; overflow: hidden; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.ba-card { position: relative; overflow: hidden; border-radius: 6px; }
.ba-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center top; transition: transform .6s; }
.ba-card:hover img { transform: scale(1.04); }
.ba-tag {
    position: absolute; bottom: 14px; left: 14px;
    font-family: var(--heading); font-weight: 600; font-size: 11px;
    letter-spacing: .15em; text-transform: uppercase; color: var(--white);
    background: rgba(0,0,0,.5); padding: 6px 14px; border-radius: 3px;
}

/* ---- Reviews ---- */
.reviews-section { padding: 80px 0; background: var(--beige); overflow: hidden; }
.review-summary { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 8px; }
.review-summary .stars { color: var(--green); font-size: 20px; display: flex; gap: 3px; }
.review-summary span { font-family: var(--heading); font-size: 13px; color: var(--gray); letter-spacing: .1em; }
.reviews-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.review-card {
    background: var(--white); padding: 32px 28px 24px; display: flex; flex-direction: column;
    position: relative; border: 1px solid var(--light);
    transition: box-shadow .4s, transform .4s;
}
.review-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.r-quote {
    color: var(--gold); font-size: 24px; margin-bottom: 14px; line-height: 1;
}
.r-stars { color: var(--green); font-size: 14px; margin-bottom: 14px; display: flex; gap: 2px; }
.review-card h4 {
    font-family: var(--heading); font-weight: 700; font-size: 18px;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
}
.review-card p {
    font-size: 14px; color: var(--gray); line-height: 1.75; flex: 1; margin-bottom: 20px;
    font-style: italic;
}
.r-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px; border-top: 1px solid var(--light);
}
.r-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--black); color: var(--white);
    font-family: var(--heading); font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: .05em; flex-shrink: 0;
}
.r-info { display: flex; flex-direction: column; gap: 2px; }
.r-info strong {
    font-family: var(--heading); font-size: 13px;
    text-transform: uppercase; letter-spacing: .1em;
}
.r-info span { color: var(--green); display: flex; align-items: center; gap: 4px; font-size: 11px; }
.r-product {
    margin-top: 12px; font-size: 11px; color: var(--gray);
    font-family: var(--heading); text-transform: uppercase; letter-spacing: .08em;
}
.r-product i { color: var(--gold); margin-right: 4px; font-size: 10px; }

/* ---- Story ---- */
.story-section { padding: 0; overflow: hidden; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.story-img { position: relative; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.story-year {
    position: absolute; bottom: 28px; left: 28px;
    font-family: var(--heading); font-weight: 800; font-size: 64px;
    color: rgba(255,255,255,.12); line-height: 1; letter-spacing: .04em;
}
.story-content {
    display: flex; flex-direction: column; justify-content: center;
    padding: 64px 72px;
}
.story-label {
    font-family: var(--heading); font-size: 11px; text-transform: uppercase;
    letter-spacing: .4em; color: var(--gold); margin-bottom: 16px;
}
.story-content h2 {
    font-family: var(--heading); font-weight: 700;
    font-size: clamp(28px, 3.5vw, 44px); text-transform: uppercase;
    letter-spacing: .03em; line-height: 1; margin-bottom: 24px;
}
.story-content p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }

/* ---- Newsletter ---- */
.newsletter-section {
    position: relative; min-height: 380px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.newsletter-bg { position: absolute; inset: 0; }
.newsletter-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.newsletter-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.newsletter-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 48px 24px; max-width: 560px; width: 100%; }
.newsletter-content h2 {
    font-family: var(--heading); font-weight: 700;
    font-size: clamp(28px, 5vw, 42px); text-transform: uppercase;
    letter-spacing: .05em; margin-bottom: 12px;
}
.newsletter-content p { font-size: 15px; opacity: .85; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
    flex: 1; min-width: 0; padding: 14px 18px; border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08); color: var(--white); font-family: var(--body);
    font-size: 13px; outline: none; -webkit-appearance: none; border-radius: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
    font-family: var(--heading); font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: .15em; padding: 14px 28px;
    background: var(--white); color: var(--black); border: none; cursor: pointer;
    white-space: nowrap; transition: background .3s, color .3s;
    display: flex; align-items: center; gap: 6px;
}
.newsletter-form button:hover { background: var(--gold); color: var(--white); }

/* ---- Footer ---- */
.footer { background: var(--black); color: var(--white); padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 48px; padding-bottom: 40px; }
.footer-brand h3 { font-family: var(--heading); font-weight: 700; font-size: 22px; letter-spacing: .3em; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    color: var(--white); transition: background .3s, color .3s, border-color .3s;
}
.social-links a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fl-col h4 { font-family: var(--heading); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 16px; }
.fl-col a { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 8px; transition: color .3s; }
.fl-col a:hover { color: var(--white); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12px; color: rgba(255,255,255,.35);
}
.phantrium-credit { color: var(--gold); transition: color .3s; }
.phantrium-credit:hover { color: var(--white); }
.pay-icons { display: flex; gap: 10px; font-size: 22px; color: rgba(255,255,255,.35); }

/* ---- Animations ---- */
.animate-up { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94); }
.animate-up.in-view { opacity: 1; transform: translateY(0); }
.animate-slide-right { opacity: 0; transform: translateX(-60px); transition: opacity .9s, transform .9s cubic-bezier(.25,.46,.45,.94); }
.animate-slide-right.in-view { opacity: 1; transform: translateX(0); }
.animate-slide-left { opacity: 0; transform: translateX(60px); transition: opacity .9s, transform .9s cubic-bezier(.25,.46,.45,.94); }
.animate-slide-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-fade { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; }
.reveal-fade.in-view { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity 1s, transform 1s cubic-bezier(.25,.46,.45,.94); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: .15s !important; }
.delay-2 { transition-delay: .3s !important; }
.delay-3 { transition-delay: .45s !important; }

/* ---- 3D Tilt Hover Effect ---- */
.tilt-card {
    perspective: 800px;
    transform-style: preserve-3d;
}
.tilt-card > .tilt-inner {
    transition: transform .15s ease-out, box-shadow .3s ease;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    overflow: hidden;
}
.tilt-card > .tilt-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}
.tilt-card:hover > .tilt-inner::before {
    opacity: 1;
}
.tilt-card:hover > .tilt-inner {
    box-shadow: 0 25px 50px rgba(0,0,0,.2), 0 12px 24px rgba(0,0,0,.12);
}
/* Float-up for child content on tilt */
.tilt-card .tilt-float {
    transition: transform .3s ease;
}
.tilt-card:hover .tilt-float {
    transform: translateZ(30px);
}

/* Apply tilt to collection cards */
.collection-card { perspective: 800px; }
.collection-card .card-img {
    transition: transform .15s ease-out, box-shadow .3s ease;
    will-change: transform;
    position: relative;
}
.collection-card .card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.3) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .4s ease;
}
.collection-card:hover .card-img::after { opacity: 1; }
.collection-card:hover .card-img {
    box-shadow: 0 30px 60px rgba(0,0,0,.25), 0 15px 30px rgba(0,0,0,.15);
}
.collection-card .card-content {
    transform-style: preserve-3d;
    transition: transform .3s ease;
}
.collection-card:hover .card-content {
    transform: translateZ(40px);
}

/* Apply tilt to product cards */
.product-card { perspective: 800px; }
.product-card .product-img {
    transition: transform .15s ease-out;
    will-change: transform;
    position: relative;
}
.product-card .product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.2) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .4s ease;
}
.product-card:hover .product-img::after { opacity: 1; }
.product-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,.15), 0 10px 20px rgba(0,0,0,.1);
}

/* Apply to before/after cards */
.ba-card { perspective: 800px; overflow: visible !important; }
.ba-card img {
    transition: transform .15s ease-out, box-shadow .3s ease;
    will-change: transform;
    border-radius: 6px;
}
.ba-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: 6px;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.25) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .4s ease;
}
.ba-card:hover::after { opacity: 1; }
.ba-card:hover img {
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .nav { gap: 14px; }
    .nav a { font-size: 11px; letter-spacing: .12em; }
}

/* Switch to hamburger nav at 960px to prevent overlap */
@media (max-width: 960px) {
    .header-inner { height: 52px; }
    .logo { font-size: 22px; letter-spacing: .22em; text-align: center; grid-column: 2; }
    .hamburger { display: block; grid-column: 1; z-index: 10003; pointer-events: auto; position: relative; }
    .header-icons { grid-column: 3; gap: 10px; }
    .header.scrolled .hamburger span { background: var(--black); }

    /* Hamburger animation */
    .hamburger.active span, .header.scrolled .hamburger.active span { background: var(--white); }
    .hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .hamburger.active span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

    /* Explosive fullscreen nav */
    .nav {
        position: fixed; inset: 0; z-index: 10001;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
        background: var(--black);
        clip-path: circle(0% at 36px 44px);
        transition: clip-path .7s cubic-bezier(.77,0,.18,1), visibility 0s .7s;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
    }
    .nav::before {
        content: ''; position: absolute; inset: 0;
        background:
            radial-gradient(circle at 20% 30%, rgba(180,120,80,.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(180,120,80,.1) 0%, transparent 50%);
        pointer-events: none;
    }
    .nav::after {
        content: ''; position: absolute; inset: 0;
        background: repeating-linear-gradient(
            0deg, transparent, transparent 120px,
            rgba(255,255,255,.02) 120px, rgba(255,255,255,.02) 121px
        );
        pointer-events: none;
    }
    .nav.open {
        visibility: visible;
        pointer-events: auto;
        transition: clip-path .7s cubic-bezier(.77,0,.18,1), visibility 0s 0s;
    }

    /* Nav brand inside mobile menu */
    .nav-brand {
        font-family: var(--heading); font-weight: 700; font-size: 14px;
        letter-spacing: .4em; color: rgba(255,255,255,.2);
        position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    }

    /* Nav links - staggered explosion */
    .nav a {
        color: var(--white); font-size: 32px; font-family: var(--heading);
        font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
        padding: 16px 0; position: relative;
        opacity: 0; transform: translateY(40px) scale(.8);
        transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1), color .3s;
    }
    .nav.open a {
        opacity: 1; transform: translateY(0) scale(1);
    }
    .nav.open a:nth-of-type(1) { transition-delay: .08s; }
    .nav.open a:nth-of-type(2) { transition-delay: .16s; }
    .nav.open a:nth-of-type(3) { transition-delay: .24s; }
    .nav.open a:nth-of-type(4) { transition-delay: .32s; }

    /* Hover line burst */
    .nav a::after {
        content: ''; position: absolute; bottom: 8px; left: 50%; width: 0; height: 1.5px;
        background: linear-gradient(90deg, transparent, var(--white), transparent);
        transform: translateX(-50%); transition: width .4s cubic-bezier(.22,1,.36,1);
        display: block;
    }
    .nav a:hover::after, .nav a:focus::after { width: 100%; }

    /* Hover glow effect */
    .nav a::before {
        content: ''; position: absolute; inset: 0;
        background: radial-gradient(ellipse at center, rgba(255,255,255,.06) 0%, transparent 70%);
        border-radius: 8px; opacity: 0; transition: opacity .3s; pointer-events: none;
    }
    .nav a:hover::before { opacity: 1; }
    .nav a:hover { color: rgba(180,140,100,1); }


    /* Show mobile-only nav elements */
    .nav-particle, .nav-divider, .nav-brand { display: block; }

    /* Floating particles in nav */
    .nav-particle {
        position: absolute; border-radius: 50%; pointer-events: none;
        background: rgba(180,140,100,.15);
        animation: navFloat 6s ease-in-out infinite;
    }
    .nav-particle:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 5%; animation-delay: 0s; }
    .nav-particle:nth-child(2) { width: 40px; height: 40px; top: 60%; right: 10%; animation-delay: -2s; }
    .nav-particle:nth-child(3) { width: 60px; height: 60px; bottom: 20%; left: 15%; animation-delay: -4s; }
    @keyframes navFloat {
        0%, 100% { transform: translateY(0) scale(1); opacity: .15; }
        50% { transform: translateY(-20px) scale(1.1); opacity: .3; }
    }

    /* Divider lines between links */
    .nav-divider {
        width: 40px; height: 1px; background: rgba(255,255,255,.1); margin: 4px 0;
        opacity: 0; transform: scaleX(0);
        transition: opacity .4s, transform .5s cubic-bezier(.22,1,.36,1);
    }
    .nav.open .nav-divider { opacity: 1; transform: scaleX(1); }
    .nav.open .nav-divider:nth-of-type(1) { transition-delay: .12s; }
    .nav.open .nav-divider:nth-of-type(2) { transition-delay: .2s; }
    .nav.open .nav-divider:nth-of-type(3) { transition-delay: .28s; }
}

@media (max-width: 1024px) {
    .features-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .split-inner, .story-inner { grid-template-columns: 1fr; }
    .split-media, .story-img { height: 380px; }
    .split-content, .story-content { padding: 48px 32px; }
    .footer-top { grid-template-columns: 1fr; }
    .ba-grid { max-width: 100%; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ticker { height: 32px; }
    .ticker-track { font-size: 10px; }
    .header { top: 32px; }
    .header-inner { height: 52px; }
    .logo { font-size: 20px; }
    .header-icons button { font-size: 14px; }

    .hero-cube-wrapper { min-height: 100svh; }
    .cube-arrows { display: none; }
    .cube-nav { bottom: 24px; }

    .marquee-section { padding: 20px 0; }
    .features-strip { padding: 32px 0; }
    .features-row { grid-template-columns: 1fr 1fr; gap: 20px; }
    .feat { flex-direction: column; text-align: center; gap: 8px; }

    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
    .collections-section, .products-section, .ba-section, .reviews-section { padding: 56px 0; }
    .collections-grid { grid-template-columns: 1fr; gap: 12px; }
    .collection-card { aspect-ratio: 4/3; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-meta { padding: 12px; }
    .product-meta h4 { font-size: 14px; }
    .product-meta p { font-size: 11px; }

    .split-media, .story-img { height: 360px; }
    .split-content, .story-content { padding: 36px 24px; }
    .howto-grid { grid-template-columns: 1fr; gap: 28px; max-width: 400px; }
    .howto-section { padding: 56px 0; }
    .ba-grid { grid-template-columns: 1fr 1fr; }

    .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form input, .newsletter-form button { width: 100%; justify-content: center; }

    .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .features-row { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ba-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
}

/* ---- Cookie Consent ---- */
.cookie-consent {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
    background: var(--white); box-shadow: 0 -4px 24px rgba(0,0,0,.12);
    transform: translateY(100%); transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    font-family: var(--body);
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-consent.hidden { transform: translateY(100%); }
.cookie-inner {
    max-width: 1320px; margin: 0 auto; padding: 20px 24px;
    display: flex; align-items: center; gap: 24px;
}
.cookie-text { flex: 1; }
.cookie-text p { font-size: 13px; color: var(--gray); line-height: 1.6; margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
    font-family: var(--heading); font-weight: 600; font-size: 11px;
    text-transform: uppercase; letter-spacing: .12em;
    padding: 10px 20px; border: 1.5px solid var(--black); cursor: pointer;
    transition: background .3s, color .3s; white-space: nowrap;
}
.cookie-btn-accept { background: var(--black); color: var(--white); }
.cookie-btn-accept:hover { background: var(--gold); border-color: var(--gold); }
.cookie-btn-reject { background: var(--white); color: var(--black); }
.cookie-btn-reject:hover { background: var(--beige); }
.cookie-btn-settings { background: transparent; color: var(--gray); border-color: var(--light); }
.cookie-btn-settings:hover { border-color: var(--black); color: var(--black); }

.cookie-details {
    max-width: 1320px; margin: 0 auto; padding: 0 24px;
    max-height: 0; overflow: hidden; transition: max-height .4s, padding .4s;
}
.cookie-details.open { max-height: 300px; padding: 0 24px 20px; }
.cookie-category { padding: 8px 0; border-top: 1px solid var(--light); }
.cookie-category label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dark); cursor: pointer; }
.cookie-category input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--black); cursor: pointer; }
.cookie-category strong { font-family: var(--heading); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.cookie-detail-actions { padding-top: 12px; display: flex; justify-content: flex-end; }

@media (max-width: 768px) {
    .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px; }
    .cookie-actions { justify-content: stretch; }
    .cookie-btn { flex: 1; text-align: center; padding: 10px 12px; font-size: 10px; }
    .cookie-details { padding: 0 20px; }
    .cookie-details.open { padding: 0 20px 16px; }
}

/* ---- Cart Drawer ---- */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10010;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }

.cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%;
    background: var(--white); z-index: 10011;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    display: flex; flex-direction: column; font-family: var(--body);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.cart-drawer-header h3 {
    font-family: var(--heading); font-size: 18px; font-weight: 600;
    letter-spacing: .15em; text-transform: uppercase;
}
.cart-drawer-close {
    background: none; border: none; font-size: 18px; cursor: pointer;
    color: var(--black); padding: 4px;
}

.cart-shipping-bar { padding: 12px 24px; border-bottom: 1px solid rgba(0,0,0,.05); }
.shipping-progress {
    width: 100%; height: 3px; background: rgba(0,0,0,.08); border-radius: 3px;
    margin-bottom: 6px; overflow: hidden;
}
.shipping-progress-fill {
    height: 100%; background: var(--black); border-radius: 3px;
    transition: width .4s ease; width: 0%;
}
.shipping-message { font-size: 11px; color: var(--gray); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
    text-align: center; padding: 60px 0; color: var(--gray);
}
.cart-empty i { font-size: 36px; margin-bottom: 12px; display: block; opacity: .3; }
.cart-empty p { font-size: 14px; margin-bottom: 16px; }
.cart-shop-link {
    font-family: var(--heading); font-size: 12px; letter-spacing: .15em;
    text-transform: uppercase; color: var(--black); border-bottom: 1px solid;
}

.cart-item {
    display: flex; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,.06); position: relative;
}
.cart-item-img { width: 72px; height: 90px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f5f5f5; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: auto; }
.cart-item-details { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item-details h4 { font-family: var(--heading); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cart-item-variant { font-size: 11px; color: var(--gray); }
.cart-item-price { font-size: 13px; font-weight: 500; }

.cart-item-qty {
    display: flex; align-items: center; gap: 0; margin-top: 4px;
    border: 1px solid rgba(0,0,0,.12); border-radius: 4px; width: fit-content;
}
.qty-btn {
    background: none; border: none; cursor: pointer; padding: 4px 10px;
    font-size: 10px; color: var(--black);
}
.cart-item-qty span { font-size: 12px; padding: 0 6px; font-weight: 500; }

.cart-item-remove {
    position: absolute; top: 14px; right: 0;
    background: none; border: none; cursor: pointer; font-size: 12px;
    color: var(--gray); padding: 2px;
}
.cart-item-remove:hover { color: var(--black); }

.cart-drawer-footer {
    padding: 16px 24px 24px; border-top: 1px solid rgba(0,0,0,.08);
}
.cart-subtotal {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px; font-family: var(--heading);
    font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.cart-checkout-btn {
    display: block; width: 100%; padding: 14px; background: var(--black);
    color: var(--white); text-align: center; font-family: var(--heading);
    font-size: 13px; font-weight: 600; letter-spacing: .2em;
    text-transform: uppercase; border: none; cursor: pointer;
    transition: opacity .3s;
}
.cart-checkout-btn:hover { opacity: .85; }
.cart-checkout-btn i { margin-left: 8px; font-size: 11px; }
.cart-footer-note {
    text-align: center; font-size: 10px; color: var(--gray); margin-top: 10px;
}

/* Cart Toast */
.cart-toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--black); color: var(--white); padding: 12px 24px;
    border-radius: 6px; font-size: 13px; font-family: var(--body);
    z-index: 10020; opacity: 0; transition: opacity .3s, transform .3s;
    pointer-events: none;
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.cart-toast i { color: #4caf50; margin-right: 8px; }

/* Product card link */
.product-link { display: block; }
.product-card { position: relative; }
.product-card .quick-add {
    position: absolute; bottom: 80px; right: 12px;
}
