/* ============================================================
   AMS BAESHEN & CO. — Premium Dark Luxury Design System
   Inspired by Casper's Caviar aesthetic × Baeshen branding
   ============================================================ */

:root {
    /* === Core Dark Palette === */
    --c-void:    #0c1518;          /* Main background — deep navy-black */
    --c-surface: #162028;          /* Elevated surface */
    --c-navy:    #1A252C;          /* Brand navy */
    --c-sky:     #1b81ca;          /* Brand sky blue */
    --c-sky-lt:  #4aafe8;          /* Lighter sky for dark bg visibility */
    --c-gold:    #b89f6a;          /* Tea gold — premium accent */
    --c-gold-lt: #d4bc8a;          /* Light gold for hover states */

    /* === Text === */
    --c-text:    #f0ebe3;          /* Warm off-white — primary text */
    --c-muted:   rgba(240,235,227,0.45);
    --c-faint:   rgba(240,235,227,0.12);
    --c-border:  rgba(240,235,227,0.08);

    /* === Product Accent Colors — matched to actual logo palette === */
    --c-rabea:    #c0392b;         /* Rabea's triangle red */
    --c-abujabal: #1e6b3c;         /* Abu Jabal's mountain green */
    --c-alnahla:  #c9960a;         /* Al Nahla's badge gold */

    /* === Typography === */
    --font-head: 'Playfair Display', serif;
    --font-ui:   'Inter', sans-serif;

    /* === Easing === */
    --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-circ:  cubic-bezier(0.785, 0.135, 0.15, 0.86);
    --ease-in:    cubic-bezier(0.4, 0, 1, 1);
}

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

html {
    scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
    background-color: var(--c-void);
    color: var(--c-text);
    font-family: var(--font-ui);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

a, button, [role="button"] {
    cursor: none;
}

::selection {
    background-color: var(--c-sky);
    color: #fff;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-void); }
::-webkit-scrollbar-thumb { background: rgba(240,235,227,0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(240,235,227,0.3); }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--c-text);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-expo),
                height 0.3s var(--ease-expo),
                opacity 0.3s ease;
}

.cursor-ring {
    position: absolute;
    width: 36px; height: 36px;
    border: 1px solid rgba(240,235,227,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--ease-expo),
                height 0.5s var(--ease-expo),
                border-color 0.3s ease,
                opacity 0.3s ease;
}

.custom-cursor.is-hover .cursor-dot {
    width: 12px; height: 12px;
}
.custom-cursor.is-hover .cursor-ring {
    width: 64px; height: 64px;
    border-color: rgba(240,235,227,0.25);
}
.custom-cursor.is-link .cursor-dot {
    width: 48px; height: 48px;
    opacity: 0.15;
}
.custom-cursor.is-link .cursor-ring {
    width: 56px; height: 56px;
    opacity: 0;
}

/* ============================================================
   LOADER
   ============================================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--c-void);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loader-wordmark {
    opacity: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.loader-logo-img {
    height: 60px;
    width: auto;
    display: block;
    /* Same filter: preserves blue icon, turns dark text white */
    filter: invert(1) hue-rotate(180deg) brightness(1.15);
}

.loader-est {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--c-gold);
    text-transform: uppercase;
    opacity: 0;
}

.loader-bar-wrap {
    width: 180px;
    height: 1px;
    background: rgba(240,235,227,0.1);
    margin-top: 20px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--c-sky), var(--c-gold));
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 1.8rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.5s ease, border-color 0.5s ease, padding 0.4s ease;
    border-bottom: 1px solid transparent;
    opacity: 0;
    transform: translateY(-20px);
}

.site-header.scrolled {
    background: rgba(12, 21, 24, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--c-border);
    padding: 1.2rem 3.5rem;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0%; height: 1px;
    background: var(--c-gold);
    transition: width 0.4s var(--ease-expo);
}

.nav-link:hover { color: var(--c-text); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    color: var(--c-text);
    border: 1px solid var(--c-border);
    padding: 0.45rem 1.1rem;
    border-radius: 2px;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.nav-cta:hover {
    background: var(--c-text);
    color: var(--c-void);
    border-color: var(--c-text);
}

.nav-cta::after { display: none; }

.logo-mark {
    display: flex;
    align-items: center;
    transition: opacity 0.35s ease;
    flex-shrink: 0;
}

.logo-mark:hover { opacity: 0.75; }

/*
   Filter breakdown:
   invert(1)           → flips colors (blue #1b81ca → orange, dark text → light)
   hue-rotate(180deg)  → rotates hue back (orange → blue restored, light text stays light)
   brightness(1.12)    → slight boost so the white text pops on dark bg
   The net effect: blue icon stays brand-blue, dark Arabic/English text becomes white
*/
.logo-img {
    height: 38px;
    width: auto;
    display: block;
    filter: invert(1) hue-rotate(180deg) brightness(1.12);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-mark:hover .logo-img {
    filter: invert(1) hue-rotate(180deg) brightness(1.3);
}

/* ============================================================
   SHARED: SECTION LABEL + BUTTON
   ============================================================ */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 2rem;
    border: 1px solid rgba(240,235,227,0.25);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text);
    transition: background 0.4s var(--ease-expo),
                border-color 0.4s ease,
                color 0.4s ease,
                gap 0.3s ease;
    border-radius: 1px;
}

.btn-primary:hover {
    background: var(--c-text);
    color: var(--c-void);
    border-color: var(--c-text);
    gap: 1rem;
}

.btn-gold {
    border-color: rgba(184,159,106,0.35);
    color: var(--c-gold);
}

.btn-gold:hover {
    background: var(--c-gold);
    color: var(--c-void);
    border-color: var(--c-gold);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Fade particles at top (near nav) and at very bottom edge */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.4) 12%,
        black 28%,
        black 85%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.4) 12%,
        black 28%,
        black 85%,
        transparent 100%
    );
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    /* Shift content above wave center so text floats over particle horizon */
    margin-top: -10vh;
}

/* Soft dark radial vignette behind text — preserves readability on any particle density */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(
        ellipse at center,
        rgba(12, 21, 24, 0.55) 0%,
        rgba(12, 21, 24, 0.25) 45%,
        transparent 75%
    );
    z-index: -1;
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1.8rem;
    overflow: hidden;
}

.hero-eyebrow span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3.5rem, 9vw, 9.5rem);
    line-height: 1.05;
    font-weight: 400;
    color: var(--c-text);
    margin-bottom: 2rem;
    /* Crisp white glow — lifts text above particle layer */
    text-shadow: 0 2px 40px rgba(12, 21, 24, 0.6);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-inner {
    display: block;
    transform: translateY(110%);
}

.hero-title .italic {
    font-style: italic;
    color: var(--c-sky-lt);
    /* Subtle glow so italic line pops off the particle layer */
    text-shadow:
        0 0 60px rgba(74, 175, 232, 0.35),
        0 0 120px rgba(74, 175, 232, 0.15);
}

.hero-sub {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    margin-bottom: 2.8rem;
    opacity: 0;
    transform: translateY(12px);
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta-wrap {
    opacity: 0;
    transform: translateY(12px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--c-gold), transparent);
    animation: scrollPulse 2s infinite ease-in-out;
    transform-origin: top;
}

@keyframes scrollPulse {
    0%   { transform: scaleY(0); opacity: 0; }
    40%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; transform: translateY(40px) scaleY(1); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 0;
    background: var(--c-surface);
}

.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-muted);
    padding: 0 1rem;
    white-space: nowrap;
}

.marquee-sep {
    color: var(--c-gold);
    font-size: 0.72rem;
    padding: 0 0.5rem;
}

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

.marquee-strip:hover .marquee-track {
    animation-play-state: paused;
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 8vw;
    position: relative;
}

.manifesto::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 80px;
    background: linear-gradient(to bottom, transparent, var(--c-border));
}

.manifesto-inner {
    max-width: 900px;
    text-align: center;
}

.manifesto-text {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4.5vw, 5rem);
    line-height: 1.25;
    font-weight: 400;
    color: var(--c-text);
    margin-bottom: 3rem;
}

.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin: 0 0.12em;
}

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

.manifesto-text .italic .word-inner { font-style: italic; }
.manifesto-text .gold .word-inner   { color: var(--c-gold); }

.manifesto-body {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--c-muted);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(16px);
}

/* ============================================================
   PRODUCTS CHAPTER
   ============================================================ */
.products-chapter {
    width: 100%;
    position: relative;
}

/* ---- Stacked card panels ---- */
.product-panel {
    width: 100%;
    height: 100vh;           /* exact viewport — enables sticky stacking */
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    overflow: hidden;
    transform-origin: top center;   /* scale collapses toward the top */
    will-change: transform, filter;
    /* Rounded top edge so cards "peek" under each other like a stack */
    border-radius: 18px 18px 0 0;
}

/* Z-stacking: later panels sit on top */
[data-product="rabea"]    { z-index: 10; }
[data-product="abujabal"] { z-index: 20; }
[data-product="alnahla"]  { z-index: 30; }

/* Product color backgrounds — deep, dramatic, each brand-tinted */
[data-product="rabea"] {
    background: radial-gradient(ellipse at 30% 50%, #1c0402 0%, #0e0201 60%, #080101 100%);
}
[data-product="abujabal"] {
    background: radial-gradient(ellipse at 70% 50%, #021108 0%, #010a04 60%, #000602 100%);
}
[data-product="alnahla"] {
    background: radial-gradient(ellipse at 30% 50%, #160e01 0%, #0d0800 60%, #070500 100%);
}

.product-panel-inner {
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4vh 6vw;          /* viewport-relative padding fits any screen */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: center;
}

.product-panel.reverse .product-panel-inner {
    direction: rtl;
}

.product-panel.reverse .product-panel-inner > * {
    direction: ltr;
}

/* ---- Logo Display System ---- */
.product-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Outer container — centers logo and positions glow */
.logo-display {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(420px, 42vw);
    aspect-ratio: 1;
}

/* Large blurred color orb behind the logo — the "light source" */
.logo-glow-orb {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.8s var(--ease-expo);
    will-change: opacity, transform;
}

[data-product="rabea"]    .logo-glow-orb {
    background: radial-gradient(circle, #c0392b 0%, #7b1c13 50%, transparent 75%);
}
[data-product="abujabal"] .logo-glow-orb {
    background: radial-gradient(circle, #27ae60 0%, #1a6b3c 50%, transparent 75%);
}
[data-product="alnahla"]  .logo-glow-orb {
    background: radial-gradient(circle, #e6b800 0%, #9a7a00 50%, transparent 75%);
}

/* Intensify on hover */
.product-panel:hover .logo-glow-orb {
    opacity: 0.75;
    transform: scale(1.15);
}

/* Brand-tinted frame — clean rim glow, no pseudo-element */
.logo-frame {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.6s ease, transform 0.7s var(--ease-expo);
}

/* Resting rim glow: barely visible, hints at brand color */
[data-product="rabea"]    .logo-frame { box-shadow: 0 0 0 1px rgba(192,57,43,0.25), 0 0 40px rgba(192,57,43,0.18); }
[data-product="abujabal"] .logo-frame { box-shadow: 0 0 0 1px rgba(39,174,96,0.22),  0 0 40px rgba(39,174,96,0.14);  }
[data-product="alnahla"]  .logo-frame { box-shadow: 0 0 0 1px rgba(230,184,0,0.25),  0 0 40px rgba(230,184,0,0.18);  }

/* Hover: rim glows brighter and wider */
[data-product="rabea"]:hover    .logo-frame { box-shadow: 0 0 0 1.5px rgba(192,57,43,0.55),  0 0 80px rgba(192,57,43,0.32); }
[data-product="abujabal"]:hover .logo-frame { box-shadow: 0 0 0 1.5px rgba(39,174,96,0.5),   0 0 80px rgba(39,174,96,0.28);  }
[data-product="alnahla"]:hover  .logo-frame { box-shadow: 0 0 0 1.5px rgba(230,184,0,0.55),  0 0 80px rgba(230,184,0,0.32);  }

/* The actual logo image */
.brand-logo {
    display: block;
    width: clamp(180px, 22vw, 340px);
    height: auto;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    /* Layered shadows: sharp depth shadow + soft brand glow */
    filter:
        drop-shadow(0 8px 24px rgba(0,0,0,0.55))
        drop-shadow(0 2px 6px  rgba(0,0,0,0.4));
    transition:
        transform 0.7s var(--ease-expo),
        filter 0.6s ease;
    will-change: transform, filter;
}

/* On panel hover: logo rises, shadow deepens */
.product-panel:hover .brand-logo {
    filter:
        drop-shadow(0 20px 50px rgba(0,0,0,0.65))
        drop-shadow(0 6px 14px rgba(0,0,0,0.45));
}

/* Brand-specific glow on the logo shadow */
[data-product="rabea"]:hover    .brand-logo { filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(192,57,43,0.35)); }
[data-product="abujabal"]:hover .brand-logo { filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(39,174,96,0.30)); }
[data-product="alnahla"]:hover  .brand-logo { filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(230,184,0,0.35)); }

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    overflow: hidden;
}

.product-num {
    font-family: var(--font-head);
    font-size: 0.75rem;
    color: var(--c-gold);
    letter-spacing: 0.15em;
}

.product-since {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.product-name {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--c-text);
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Product accent color on name */
[data-product="rabea"]    .product-name { color: var(--c-text); }
[data-product="abujabal"] .product-name { color: var(--c-text); }
[data-product="alnahla"]  .product-name { color: var(--c-text); }

.product-tagline {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1rem;
    color: var(--c-muted);
    margin-bottom: 1.8rem;
}

/* Accent underline below tagline */
.product-tagline::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 1.2rem;
}

[data-product="rabea"]    .product-tagline::after { background: var(--c-rabea); }
[data-product="abujabal"] .product-tagline::after { background: var(--c-abujabal); }
[data-product="alnahla"]  .product-tagline::after { background: var(--c-alnahla); }

.product-desc {
    font-size: 0.88rem;
    line-height: 1.9;
    color: var(--c-muted);
    margin-bottom: 2rem;
    max-width: 480px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.product-tags span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--c-border);
    border-radius: 1px;
    color: var(--c-muted);
    transition: border-color 0.3s ease, color 0.3s ease;
}

[data-product="rabea"]:hover    .product-tags span { border-color: rgba(192,57,43,0.45);  color: var(--c-text); }
[data-product="abujabal"]:hover .product-tags span { border-color: rgba(39,174,96,0.4);   color: var(--c-text); }
[data-product="alnahla"]:hover  .product-tags span { border-color: rgba(230,184,0,0.45);  color: var(--c-text); }

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-text);
    position: relative;
    padding-bottom: 4px;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.product-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 1px;
    transition: width 0.5s var(--ease-expo);
}

[data-product="rabea"]    .product-link::after { background: var(--c-rabea); }
[data-product="abujabal"] .product-link::after { background: var(--c-abujabal); }
[data-product="alnahla"]  .product-link::after { background: var(--c-alnahla); }

.product-link:hover { gap: 1rem; }
.product-link:hover::after { width: 100%; }

/* Al Nahla sugar cube visual */
.sugar-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 3rem;
}

.sugar-row {
    display: flex;
    gap: 8px;
}

.sugar-row.offset {
    transform: translateX(28px);
}

.sugar-cube {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(74,122,155,0.4);
    border-radius: 3px;
    background: linear-gradient(135deg, rgba(74,122,155,0.12), rgba(74,122,155,0.04));
    box-shadow: inset 0 1px 0 rgba(240,235,227,0.05);
    transition: transform 0.4s var(--ease-expo), border-color 0.4s ease;
}

.sugar-visual:hover .sugar-cube {
    border-color: rgba(74,122,155,0.7);
    transform: translateY(-2px);
}

.sugar-visual:hover .sugar-cube:nth-child(2) { transition-delay: 0.05s; }
.sugar-visual:hover .sugar-cube:nth-child(3) { transition-delay: 0.10s; }

/* ============================================================
   HERITAGE TIMELINE
   ============================================================ */
.heritage {
    padding: 10rem 6vw 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.heritage-intro {
    text-align: center;
    margin-bottom: 7rem;
}

.heritage-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--c-text);
    margin-bottom: 1.5rem;
}

.heritage-title em {
    font-style: italic;
    color: var(--c-gold);
}

.heritage-sub {
    font-size: 0.88rem;
    color: var(--c-muted);
    line-height: 1.8;
    max-width: 440px;
    margin: 0 auto;
}

/* Timeline */
.heritage-timeline {
    position: relative;
}

/* Vertical line */
.heritage-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--c-border) 10%, var(--c-border) 90%, transparent);
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0 3rem;
    padding: 0 0 5rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 1.5rem;
    position: relative;
}

.timeline-year {
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--c-gold);
    margin-bottom: 0.3rem;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    right: -5px;
    top: 0.6rem;
    width: 9px;
    height: 9px;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    background: var(--c-void);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.timeline-dot.active {
    background: var(--c-gold);
    border-color: var(--c-gold);
    box-shadow: 0 0 16px rgba(184,159,106,0.4);
}

.timeline-item:hover .timeline-dot {
    border-color: var(--c-gold);
    background: rgba(184,159,106,0.2);
}

.timeline-right {
    padding-top: 0.3rem;
}

.timeline-right h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--c-text);
    margin-bottom: 0.75rem;
}

.timeline-right p {
    font-size: 0.85rem;
    line-height: 1.85;
    color: var(--c-muted);
    max-width: 560px;
}

/* ============================================================
   THE CRAFT
   ============================================================ */
.craft {
    padding: 10rem 6vw;
    border-top: 1px solid var(--c-border);
    background: var(--c-surface);
}

.craft-header {
    text-align: center;
    margin-bottom: 6rem;
}

.craft-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--c-text);
}

.craft-title em {
    font-style: italic;
    color: var(--c-sky-lt);
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid var(--c-border);
    max-width: 1100px;
    margin: 0 auto;
}

.craft-item {
    padding: 3.5rem;
    border: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.craft-item:hover {
    background: rgba(240,235,227,0.02);
}

.craft-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 1px;
    background: var(--c-sky);
    transition: width 0.6s var(--ease-expo);
}

.craft-item:hover::after { width: 100%; }

.craft-icon {
    width: 50px;
    height: 50px;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.craft-item:hover .craft-icon { opacity: 1; }

.craft-num {
    position: absolute;
    top: 2rem; right: 2.5rem;
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--c-faint);
}

.craft-item h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--c-text);
    margin-bottom: 0.9rem;
}

.craft-item p {
    font-size: 0.83rem;
    line-height: 1.9;
    color: var(--c-muted);
}

/* ============================================================
   FOOTER / CONTACT
   ============================================================ */
.site-footer {
    background: var(--c-void);
    border-top: 1px solid var(--c-border);
}

.footer-cta-section {
    padding: 10rem 6vw 8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.footer-cta-section::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(27,129,202,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--c-text);
    margin-bottom: 3rem;
}

.footer-cta-title em {
    font-style: italic;
    color: var(--c-gold);
}

.footer-divider {
    height: 1px;
    background: var(--c-border);
    margin: 0 6vw;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    padding: 5rem 6vw 4rem;
    align-items: start;
}

.footer-logo {
    margin-bottom: 0.9rem;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    filter: invert(1) hue-rotate(180deg) brightness(1.08);
    opacity: 0.88;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover { opacity: 1; }

.footer-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--c-muted);
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--c-gold);
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: var(--c-muted);
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--c-text); }

.footer-copy {
    padding: 2rem 6vw;
    border-top: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy p {
    font-size: 0.72rem;
    color: var(--c-faint);
    letter-spacing: 0.05em;
}

/* ============================================================
   RESPONSIVE — TABLET / MOBILE
   ============================================================ */
@media (max-width: 1024px) {
    /* On tablet, drop sticky stacking — just stack vertically */
    .product-panel {
        position: relative;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
    }

    .product-panel-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 5rem 6vw;
    }

    .product-panel.reverse .product-panel-inner {
        direction: ltr;
    }

    .product-img-wrap {
        max-width: 360px;
        max-height: none;
        margin: 0 auto;
    }

    .product-img {
        max-height: none;
    }

    .craft-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-copy {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1.4rem 1.5rem;
    }

    .site-header.scrolled {
        padding: 1.1rem 1.5rem;
    }

    .nav-left { display: none; }

    .nav-right .nav-link:not(.nav-cta) { display: none; }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
    }

    .manifesto {
        padding: 8rem 6vw;
    }

    .manifesto-text {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .heritage-timeline::before { left: 80px; }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 0 1.5rem;
    }

    .heritage-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .craft-item {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    .product-name {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .marquee-strip { display: none; }
}
