@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Outfit:wght@100..900&family=Mrs+Saint+Delafield&display=swap');

:root {
    --bg-primary: #FAF7F2;
    --accent: #D4A373;
    --accent-dark: #8D6E63;
    --text-main: #3E2723;
    --text-muted: #6D4C41;
    --white: #ffffff;
    --glass: rgba(255, 252, 247, 0.7);
    --border-light: rgba(93, 64, 55, 0.1);
    --transition-smooth: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-soft: 0 10px 40px rgba(93, 64, 55, 0.1);
    --headline-size: clamp(5rem, 15vw, 12rem);
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* GRAIN OVERLAY */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08; /* Doubled opacity for better visibility */
    pointer-events: none;
    z-index: 9999;
}

.signature {
    font-family: 'Mrs Saint Delafield', cursive;
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
}

/* ORGANIC BLOBS */
.bg-blob {
    position: absolute;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, rgba(250, 247, 242, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.blob-1 { width: 600px; height: 600px; top: -100px; right: -200px; }
.blob-2 { width: 400px; height: 400px; bottom: 20%; left: -100px; }
.blob-3 { width: 500px; height: 500px; top: 40%; right: 10%; }

/* FLOUR DUST MOTIF */
.flour-texture {
    position: absolute;
    width: 100%; height: 100%;
    background-image: url('../img/flour_dust.png');
    background-size: cover;
    /* Removed mix-blend-mode: multiply as assets are now true transparent */
    opacity: 0.2; /* Increased opacity */
    pointer-events: none;
    z-index: 1;
}

/* FLOATING ANIMATION */
@keyframes float {
    0% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-15px) rotate(17deg); }
    100% { transform: translateY(0px) rotate(15deg); }
}

.floating-sketch {
    animation: float 6s ease-in-out infinite;
}

@keyframes float-alt {
    0% { transform: translateY(0px) rotate(-20deg); }
    50% { transform: translateY(10px) rotate(-18deg); }
    100% { transform: translateY(0px) rotate(-20deg); }
}

.floating-sketch-alt {
    animation: float-alt 8s ease-in-out infinite;
}

/* ── HANGING FARM SIGN ── */
.talu-sign-hanging {
    position: absolute;
    top: 90%;
    left: 50%;
    width: 200px;
    z-index: 100;
    transform-origin: top center;
    animation: swingSign 4s ease-in-out infinite;
    transform: translateX(-50%);
}

.talu-sign-hanging .sign-outer {
    background: white;
    padding: 8px 8px 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 4px;
    border: 1px solid var(--border-light);
    transform: rotate(-2deg);
}

.talu-sign-hanging .sign-img-wrap {
    width: 100%;
    overflow: hidden;
    clip-path: polygon(1% 1%, 99% 2%, 98% 98%, 2% 97%);
}

.talu-sign-hanging img {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(0.05) brightness(1.05);
}

.talu-sign-hanging .sign-text {
    font-family: 'Mrs Saint Delafield', cursive;
    font-size: 1.2rem;
    text-align: center;
    color: var(--accent);
    margin-top: 5px;
}

/* Sign string/nail */
.talu-sign-hanging::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: var(--text-muted);
    opacity: 0.4;
}

@keyframes swingSign {
    0% { transform: translateX(-50%) rotate(2deg); }
    50% { transform: translateX(-50%) rotate(-2deg); }
    100% { transform: translateX(-50%) rotate(2deg); }
}

@media (max-width: 768px) {
    .talu-sign-hanging {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 30px auto 10px !important;
        width: 100% !important; /* Take full width to force wrap */
        animation: none !important; 
    }
    .talu-sign-hanging .sign-outer {
        transform: rotate(2deg);
        margin: 0 auto;
        display: block;
        max-width: 180px; /* Keep the sign itself reasonably sized */
    }
    .talu-sign-hanging::before { display: none; }
}

h1, h2, h3, .logo-main {
    font-family: 'Playfair Display', serif;
}

/* ARTISTIC HEADER */
/* ── ARTISTIC HEADER (Dynamic Island) ── */
/* Consolidated at the bottom of file for clarity and override-safety */

.artistic-header {
    /* Hardware acceleration to fix flickering */
    transform: translateZ(0);
    will-change: transform, backdrop-filter;
}

.site-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-main);
    line-height: 1;
    /* Hardware acceleration to fix flickering */
    transform: translateZ(0);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent);
    margin-top: 5px;
}

.menu-toggle {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    
    /* Hardware acceleration to fix flickering */
    transform: translateZ(0);
    will-change: transform;
}

.menu-toggle:hover {
    transform: translateY(-3px);
    background: var(--white);
    border-color: var(--accent);
}

.toggle-icon {
    width: 25px;
    height: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.toggle-icon .line {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-smooth);
}

.toggle-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
}

/* GLASSMORPHIC EXPANDING BUBBLE MENU */
.glass-dropdown-menu {
    position: fixed;
    top: 90px; /* Offset to sit below floating island */
    right: 5vw;
    width: 400px;
    max-width: 92vw; /* Ensures it doesn't break mobile */
    height: auto;
    max-height: 85vh; /* Keep it grounded / localized */
    background: rgba(250, 247, 242, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(93, 64, 55, 0.15);
    z-index: 2147483647;
    
    /* The Magic: Grows out of the button area */
    clip-path: circle(0px at calc(100% - 70px) 40px);
    transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
}
.glass-dropdown-menu::-webkit-scrollbar { display: none; }

.glass-dropdown-menu.active {
    clip-path: circle(150% at calc(100% - 70px) 40px);
}

.glass-content {
    width: 100%;
    padding: 80px 50px 50px; /* Give room for toggle button to sit above it contextually */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
    height: 100%;
}

.glass-dropdown-menu.active .glass-content {
    opacity: 1;
}

.glass-links {
    list-style: none;
    margin: 0; padding: 0;
    margin-bottom: 40px;
}

.glass-links li {
    margin-bottom: 25px;
    overflow: hidden;
}

.glass-links a {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 8vw, 2.8rem); /* Responsive font size to prevent clipping */
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: clamp(10px, 3vw, 20px);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s;
}

.glass-dropdown-menu.active .glass-links a {
    transform: translateY(0);
}

/* Staggered text reveal */
.glass-dropdown-menu.active li:nth-child(1) a { transition-delay: 0.2s; }
.glass-dropdown-menu.active li:nth-child(2) a { transition-delay: 0.3s; }
.glass-dropdown-menu.active li:nth-child(3) a { transition-delay: 0.4s; }
.glass-dropdown-menu.active li:nth-child(4) a { transition-delay: 0.5s; }

.g-num {
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    color: var(--accent);
    margin-bottom: 6px;
}

.glass-links a:hover {
    color: var(--accent);
}

.glass-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 25px;
}

/* ASYMMETRICAL LAYOUT */
.main-content-flow {
    padding-top: 0; /* Integrated: allows hero to sit behind header */
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 180px 5% 100px; /* Increased from 100px top */
    position: relative;
}

.asymmetric-hero {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: center;
    min-height: 80vh;
}

.hero-text-block {
    grid-column: 1 / 7;
    z-index: 10;
}

.hero-image-block {
    grid-column: 5 / 13;
    position: relative;
}

.hero-image-block img {
    width: 100%;
    height: auto;
    border-radius: 40px 0 40px 0;
    box-shadow: var(--shadow-soft);
}

.floating-box {
    position: absolute;
    bottom: -40px; left: -100px;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border-left: 10px solid var(--accent);
    max-width: 400px;
}

.motto-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
}

/* SOLID GROUNDED HERO */
.hero-solid {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically again */
    padding: 180px 5% 100px 5%;
    background: #faf7f2;
    overflow: hidden;
}

.hero-solid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-solid-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85) contrast(1.1); /* Darker brightness to hide scaling artifacts and pop text */
}

/* Add a subtle vignette overlay to hide edges and scaling softness */
.hero-solid-bg::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(20, 10, 5, 0.2) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-solid-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(93, 64, 55, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-solid h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 25px;
}

.hero-solid p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* MARQUEE AS FALLBACK/SECONDARY */
.hero-immersive {
    display: none; /* We switch to solid by default now */
}

.immersive-content-layer {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.massive-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--headline-size);
    font-weight: 900;
    line-height: 0.85;
    color: var(--text-main);
    margin-bottom: 40px;
    /* Removed mix-blend-mode */
}

.massive-title span {
    display: block;
}

.massive-title .outline {
    -webkit-text-stroke: 1px var(--accent);
    color: transparent;
}

.hero-cta-airy {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
}

.hero-cta-airy .circle-btn {
    width: 80px;
    height: 80px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    background: var(--white);
}

.hero-cta-airy:hover .circle-btn {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

/* IMAGE LAYERS */
.image-layer {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.layer-main {
    top: 15%;
    right: 5%;
    width: 40%;
    max-height: 70vh;
    border-radius: 100px 0 100px 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.layer-floating-1 {
    bottom: 10%;
    left: 10%;
    width: 250px;
    border-radius: 50%;
    aspect-ratio: 1;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    z-index: 15;
}

.layer-floating-2 {
    top: 10%;
    left: 40%;
    width: 150px;
    z-index: 1;
    opacity: 0.3;
}

.image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DISCOVERY GRID (ASYMMETRICAL) */
.discovery-grid {
    padding: 15vh 5%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--white);
}

.grid-item {
    position: relative;
    margin-bottom: 10vh;
}

.grid-item-large { grid-column: 1 / 8; }
.grid-item-small { grid-column: 8 / 13; align-self: center; }
.grid-item-full { grid-column: 2 / 12; display: flex; align-items: center; gap: 80px; }

.organic-shape {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

/* "Dough" Masks */
.mask-1 { clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%); }
.mask-2 { clip-path: ellipse(50% 45% at 50% 50%); }
.mask-3 { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.grid-item:hover img {
    transform: scale(1.08);
}

.grid-caption {
    margin-top: 25px;
}

.grid-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

/* ASYMMETRIC OVERLAYS */
.overlay-text-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    padding: 30px;
    color: var(--text-main);
    z-index: 5;
    box-shadow: var(--shadow-soft);
}

/* MOUSE TRAIL PARTICLES */
.flour-particle {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    filter: blur(2px);
}

/* CATEGORY SLIDER */
.category-slider-section {
    padding: 10vh 5%;
    overflow: hidden;
    background: var(--white);
}

.category-slider-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 20px 0 60px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.category-slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* SLIDER ARROWS */
.slider-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}
.slider-arrow {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.slider-arrow:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212,163,115,0.2);
}
@media (max-width: 768px) {
    .slider-controls { margin-bottom: 20px; }
    .slider-arrow { width: 40px; height: 40px; }
}

.category-card {
    flex: 0 0 450px;
    scroll-snap-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: var(--white);
    z-index: 5;
}

.category-card h3 {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

@media (max-width: 768px) {
    .category-card {
        flex: 0 0 85vw;
        height: 450px;
    }
    .category-card h3 {
        font-size: 1.8rem;
    }
    .category-card-info {
        padding: 30px 25px;
    }
}

/* LOGO STYLES */
.main-logo-img {
    height: 100px; /* Larger artistic size */
    width: auto;
    /* Removed mix-blend-mode */
    filter: brightness(1.05) contrast(1.4);
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    position: relative;
    top: 15px; /* Overlap effect */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* Increased pop/contrast */
    transition: var(--transition-smooth);
}

.footer-logo-img {
    height: 160px;
    width: auto;
    /* Removed mix-blend-mode */
    filter: brightness(0.85) contrast(1.2);
    margin-bottom: 20px;
}

.site-logo:hover .main-logo-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .main-logo-img {
        height: 70px;
        top: 10px;
    }
    .artistic-header {
        top: 10px;
        width: 95%;
    }
    .header-inner {
        padding: 5px 20px;
    }
    .glass-dropdown-menu {
        top: 75px;
    }
}

/* ARTISTIC GALLERY GRID */
.artistic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    padding-bottom: 100px;
}

.gallery-item {
    position: relative;
    grid-column: span 6;
    margin-bottom: 60px;
}

.gallery-item:nth-child(even) {
    margin-top: 100px;
}

.gallery-item.large {
    grid-column: span 8;
}

.gallery-item.small {
    grid-column: span 4;
}

/* LAYERED ACCENTS */
.layered-accent {
    position: absolute;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    transition: transform 0.8s ease-out;
}

.gallery-item:hover .layered-accent {
    transform: scale(1.1) rotate(5deg);
}

/* GLASS HOVER EFFECT */
.glass-info-overlay {
    position: absolute;
    top: 20px; left: 20px; right: 20px; bottom: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    color: var(--text-main);
    text-align: center;
    z-index: 10;
}

.gallery-item:hover .glass-info-overlay {
    opacity: 1;
    transform: translateY(0);
}

.glass-info-overlay h4 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.glass-info-overlay p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* FLOATING ANIMATION */
@keyframes floatArt {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.floating-sketch {
    animation: floatArt 6s ease-in-out infinite;
}

@media (max-width: 992px) {
    .gallery-item, .gallery-item.large, .gallery-item.small {
        grid-column: span 12;
        margin-top: 0 !important;
    }
}
/* EDITORIAL SPREAD CONTACT PAGE */
.editorial-wrapper.hero-solid {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 220px 5% 100px 5%; /* Increased from 180px for extra clearance */
    overflow: hidden;
}
.editorial-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 220px 5% 100px 5%; /* Increased from 180px for extra clearance */
    overflow: hidden;
}

.editorial-image-pane {
    position: absolute;
    top: -5vh; /* Bleed top */
    bottom: -5vh; /* Bleed bottom */
    left: -5vw; /* Bleed left */
    width: 60vw; /* Much wider to ensure deep overlap into center */
    z-index: 1;
    /* Massive organic wavy right edge */
    border-radius: 0 45vw 60vw 0 / 0 45vh 55vh 0;
    overflow: hidden;
    box-shadow: 20px 0 50px rgba(93, 64, 55, 0.1);
}

.editorial-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 1.5s ease;
}
.editorial-wrapper:hover .editorial-image-pane img {
    transform: scale(1.03);
}

.editorial-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; /* Align card to the right */
}

.editorial-card {
    width: 70%; /* Expanded to give form more room */
    background: var(--white);
    padding: 80px;
    border-radius: 40px;
    box-shadow: -30px 30px 80px rgba(93, 64, 55, 0.12); /* Heavy shadow to pop off image */
    position: relative;
    z-index: 10;
}

.editorial-header {
    margin-bottom: 50px;
}

.editorial-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
}

.editorial-info-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.editorial-info-item {
    display: flex;
    flex-direction: column;
}

.editorial-info-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 700;
}

.editorial-info-item strong {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.editorial-sig-block {
    margin-top: 20px;
    /* Removed position: relative so whisk anchors to the entire card */
}
@keyframes floatWhisk {
    0% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-30px) rotate(-18deg); }
    100% { transform: translateY(0) rotate(-15deg); }
}

.editorial-whisk {
    position: absolute;
    bottom: -200px; 
    right: -300px; /* Bleeds massively out of the right side and bottom */
    width: 800px; /* VEEL SUUREM - central design element */
    top: auto;
    /* Advanced blending to remove the fake PNG checkerboard */
    /* Removed mix-blend-mode */
    filter: grayscale(100%) contrast(2000%) brightness(1.5);
    opacity: 0.12; /* Softer transparency for the huge size */
    pointer-events: none; /* Crucial so users can click the inputs under it */
    animation: floatWhisk 10s ease-in-out infinite;
    z-index: 20;
    will-change: mix-blend-mode, filter;
    transform: translateZ(0);
    isolation: isolate;
    background: transparent !important;
}

.editorial-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1200px) {
    .editorial-image-pane { width: 50vw; border-radius: 0 20% 30% 0 / 0 10% 20% 0; }
    .editorial-card { width: 75%; padding: 60px; }
    .editorial-body { grid-template-columns: 1fr; gap: 40px; }
    .editorial-info-side { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 992px) {
    .editorial-wrapper { flex-direction: column; padding: 120px 5% 50px; }
    .editorial-container { 
        display: flex;
        flex-direction: column; 
        align-items: center;
    }
    .editorial-image-pane {
        position: relative;
        top: 0; left: 0; bottom: 0;
        width: 100%; height: 350px;
        border-radius: 30px;
        margin-bottom: -40px; /* pull card up over it */
        z-index: 1;
        box-shadow: 0 20px 40px rgba(93, 64, 55, 0.1);
    }
    .editorial-image-pane img {
        border-radius: 30px;
    }
    .editorial-card { 
        width: 100%; 
        padding: 40px 30px; 
        box-shadow: 0 -10px 40px rgba(93, 64, 55, 0.08); 
        border-top: 5px solid var(--accent);
    }
    .editorial-header h1.massive-title { font-size: 2.8rem !important; }
    .editorial-whisk { right: -150px; bottom: -100px; width: 500px; }
}

@media (max-width: 768px) {
    .editorial-header h1.massive-title { font-size: 2.5rem !important; }
    .editorial-card { padding: 30px; }
    .editorial-contact-row { grid-template-columns: 1fr; }
    .editorial-info-side { flex-direction: column; }
    .editorial-whisk { 
        right: -30px; 
        bottom: -20px; 
        width: 300px; 
        /* Removed mix-blend-mode */
        filter: contrast(2000%) brightness(1.5) grayscale(1);
        opacity: 0.35; /* Subtle but visible watermark */
        z-index: 0;
        pointer-events: none;
    }
}

/* ── PAGE-SPECIFIC ARTISTIC WATERMARKS ───────────── */
@keyframes floatScale {
    0% { transform: translateY(0) rotate(var(--rot)); }
    50% { transform: translateY(-40px) rotate(calc(var(--rot) + 5deg)); }
    100% { transform: translateY(0) rotate(var(--rot)); }
}

.editorial-whisk, .art-watermark, .watermark-mixer {
    /* Removed mix-blend-mode */
    filter: grayscale(100%) contrast(2000%) brightness(1.5);
    isolation: isolate;
    background: transparent !important;
    will-change: mix-blend-mode, filter;
    transform: translateZ(0); /* Force hardware acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.art-watermark {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    --rot: 0deg;
    animation: floatScale 12s ease-in-out infinite;
}

.watermark-wheat {
    bottom: 5%;
    right: -150px;
    width: 600px;
    --rot: 15deg;
}

.watermark-mixer {
    top: 10%;
    left: -180px;
    width: 600px;
    --rot: -10deg;
    filter: grayscale(100%) contrast(2000%) brightness(1.5); /* Ultra high contrast to kill any off-white bg */
}

@media (max-width: 1400px) {
    .art-watermark { width: 450px; }
}
@media (max-width: 1024px) {
    .art-watermark { display: none; }
}

/* ── ADVANCED MOBILE RESPONSIVENESS OVERRIDES ───────────── */
.story-grid {
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 80px; 
    align-items: start; 
    max-width: 1400px; 
    margin: 0 auto;
}

.portrait-accent-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 30px;
    z-index: 1;
}

.about-text-card {
    max-width: 800px; 
    margin: 0 auto; 
    background: var(--white); 
    padding: 80px; 
    box-shadow: var(--shadow-soft); 
    border-radius: 40px; 
    position: relative; 
    z-index: 20;
}

.story-stats {
    display: flex; 
    gap: 25px; 
    margin-top: 40px;
}
.story-stat-capsule {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent); /* Premium accent border */
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.story-stat-capsule:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212,163,115,0.15);
}
.stat-icon {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.8;
}
.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0;
}
.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}
@media (max-width: 768px) {
    .story-stats { flex-direction: column; gap: 20px; }
    .story-stat-capsule { 
        padding: 25px; 
        flex-direction: row; 
        text-align: left; 
        flex-wrap: wrap; /* Allow sign to wrap below text */
    }
    .stat-value { font-size: 1.8rem; }
}

@media (max-width: 1200px) {
    .hero-solid h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
    .massive-title { font-size: clamp(3rem, 5vw, var(--headline-size)) !important; }
}

@media (max-width: 992px) {
    .section-container {
        padding: 60px 5%;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .portrait-accent-bg {
        width: 110% !important;
        height: 80% !important;
        bottom: 0 !important;
        right: -5% !important;
        left: -5% !important;
        display: block !important;
    }

    .asymmetric-hero {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-top: 50px;
    }
    .hero-text-block, .hero-image-block {
        width: 100%;
        grid-column: unset !important;
    }
    .about-text-card {
        padding: 40px;
        border-radius: 24px;
    }
    .floating-box {
        position: relative !important;
        bottom: 0 !important; right: 0 !important; left: 0 !important; top: 0 !important;
        margin-top: -30px;
        width: 100%;
        max-width: 100%;
        padding: 30px;
        z-index: 5;
    }
    .hero-solid-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .hero-solid h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .menu-item {
        flex-direction: column;
        gap: 20px;
    }
    .menu-item-img {
        width: 100%;
        height: 250px;
    }
    .menu-item-top {
        flex-wrap: wrap;
    }
    .menu-item-price {
        order: -1;
    }
    .story-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }
}

/* ── DYNAMIC ISLAND ANIMATIONS ───────── */
@keyframes islandPop {
    0% { transform: translate(-50%, 0) scale(1); }
    15% { transform: translate(-50%, 2px) scale(1.03); }
    40% { transform: translate(-50%, -10px) scale(0.98); }
    70% { transform: translate(-50%, 2px) scale(1.01); }
    100% { transform: translate(-50%, 0) scale(1); }
}

.artistic-header {
    position: fixed;
    top: 25px;
    left: 50%;
    /* Consistently combined transform for centering + hardware acceleration */
    transform: translateX(-50%) translateZ(0);
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    z-index: 2147483647;
    width: auto;
    min-width: 400px;
    max-width: 95vw;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    box-shadow: 0 20px 50px rgba(93, 64, 55, 0.1);
    /* Focused transitions to avoid all-property overhead */
    transition: background 0.6s, box-shadow 0.6s, width 0.6s, min-width 0.6s, padding 0.6s, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, backdrop-filter, background, box-shadow;
}

@media (max-width: 768px) {
    .artistic-header {
        top: 15px;
        min-width: 0;
        width: 92vw;
    }
}

.artistic-header.island-expanded {
    min-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 30px 70px rgba(93, 64, 55, 0.15);
}

@media (max-width: 768px) {
    .artistic-header.island-expanded {
        min-width: 0;
        width: 95vw;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 30px;
    gap: 20px;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 6px 10px;
        gap: 8px;
    }
    .desktop-only {
        display: none !important;
    }
    .menu-toggle {
        padding: 10px 15px;
    }
}

/* ── NAV SCROLLER (inside island) ───── */
.header-nav-scroller {
    flex: 1;
    overflow: hidden;
    position: relative;
    max-width: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    /* Fading Gradient only on the right to show more content exists, left side is fully opaque */
    mask-image: linear-gradient(to right, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent);
}

.artistic-header.island-expanded .header-nav-scroller {
    max-width: 600px;
    opacity: 1;
    pointer-events: auto;
    margin-left: 60px !important; /* Balanced distance from logo */
}

@media (max-width: 768px) {
    .artistic-header.island-expanded .header-nav-scroller {
        display: none; /* Hide horizontal scroll on mobile in favor of the 'explosion' */
    }
    .island-mobile-selector {
        display: none;
        align-items: center;
        gap: 8px;
        background: rgba(0,0,0,0.05);
        padding: 6px 15px;
        border-radius: 100px;
        cursor: pointer;
        transition: all 0.3s;
    }
    .artistic-header.island-expanded .island-mobile-selector {
        display: flex;
        flex: 1;
        justify-content: space-between;
        margin: 0 5px;
        min-width: 0;
        max-width: 160px; /* Prevent it from pushing common items out */
        flex: 1;
    }
    .island-mobile-selector .active-cat-name {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .island-mobile-selector i {
        font-size: 0.7rem;
        color: var(--accent);
        transition: transform 0.4s;
    }

    /* EXPLOSION STATE */
    .artistic-header.full-menu-active {
        border-radius: 40px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 40px 100px rgba(0,0,0,0.2) !important;
        width: 95vw !important;
    }
    .artistic-header.full-menu-active .header-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 15px;
    }
    .artistic-header.full-menu-active .site-logo,
    .artistic-header.full-menu-active .header-controls {
        display: none !important;
    }
    .artistic-header.full-menu-active .island-mobile-selector {
        margin: 0 0 15px 0 !important;
        background: rgba(0,0,0,0.03);
    }
    .artistic-header.full-menu-active .island-mobile-selector i {
        transform: rotate(180deg);
    }
    .artistic-header.full-menu-active .header-nav-scroller {
        display: block !important;
        max-width: 100% !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        margin-top: 20px;
        padding-bottom: 20px;
    }
    .artistic-header.full-menu-active .nav-scroller-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 15px;
    }
    .artistic-header.full-menu-active .nav-island-link {
        background: rgba(212, 163, 115, 0.08); /* Light accent background */
        border: 1px solid rgba(212, 163, 115, 0.15);
        text-align: center;
        padding: 15px 10px;
        font-size: 0.7rem;
        border-radius: 15px;
        color: var(--text-main);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .artistic-header.full-menu-active .nav-island-link.active {
        background: var(--text-main);
        color: var(--white);
    }
}

.nav-scroller-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 10px 10px 50px !important; /* Large left padding to clear logo and clip zone */
    margin: 0;
    justify-content: flex-start; /* Ensure items don't center-clip */
}
.nav-scroller-inner::-webkit-scrollbar { display: none; }

.nav-island-link {
    white-space: nowrap;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.3s;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nav-island-link:hover {
    color: var(--text-main);
    background: rgba(0,0,0,0.03);
}
.nav-island-link.active {
    color: var(--white);
    background: var(--text-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.artistic-header.island-pop {
    animation: islandPop 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(212, 163, 115, 0.2);
}

.header-cart-pill {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.header-cart-pill:hover {
    background: rgba(212, 163, 115, 0.1) !important;
    border-color: var(--accent) !important;
    transform: translateY(-1px);
}

@media (max-width: 580px) {
    #header-cart-count { display: none; }
    #header-cart-total { font-size: 0.75rem; }
    .header-cart-pill { padding: 5px 10px; }
}

/* ── ADD TO CART BUTTON ──────────────── */
.add-to-cart-btn {
    background: var(--white);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.add-to-cart-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212,163,115,0.3);
}
@media (max-width: 480px) {
    .add-to-cart-btn .desktop-only { display: none; }
    .add-to-cart-btn { padding: 8px; border-radius: 50%; }
}

/* ── CART DRAWER (Off-canvas) ────────── */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 2147483646; /* Just below drawer */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; right: -550px;
    width: 100%; max-width: 500px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2147483647; /* Match highest nav z-index */
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Enable secondary scrolling if flex fails */
}
.cart-drawer.active { right: 0; }
@media (max-width: 500px) { 
    .cart-drawer { 
        max-width: 100%; 
        right: -100%; 
        height: 100dvh; /* Use dynamic viewport height for mobile */
    } 
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-light);
}
.cart-drawer-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-main);
    margin: 0;
}
.cart-close {
    background: none; border: none; font-size: 1.5rem;
    color: var(--text-muted); cursor: pointer; transition: color 0.3s;
}
.cart-close:hover { color: var(--text-main); }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--border-light);
}
.cart-item-title { font-weight: 700; color: var(--text-main); margin-bottom: 10px; font-size: 1.1rem; }
.cart-item-controls { display: flex; align-items: center; gap: 15px; }
.qty-btn {
    background: var(--bg-primary); border: 1px solid var(--border-light);
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    font-weight: bold; color: var(--text-main); transition: all 0.2s;
}
.qty-btn:hover { background: var(--text-main); color: white; }
.qty-val { font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: #ff5252; cursor: pointer; padding: 5px; transition: transform 0.2s; }
.cart-item-remove:hover { transform: scale(1.1); }

.cart-drawer-footer {
    padding: 30px;
    padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 80px); /* Massive padding for mobile safety */
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}
.cart-input {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border-light);
    border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    background: var(--white);
    box-sizing: border-box;
}
.cart-input:focus { outline: none; border-color: var(--accent); }
.cart-submit-btn {
    width: 100%; background: var(--text-main); color: var(--white);
    border: none; padding: 18px; font-size: 1rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; border-radius: 12px;
    cursor: pointer; transition: background 0.3s, transform 0.2s;
    display: flex; justify-content: center; align-items: center; gap: 10px;
}
.cart-submit-btn:hover { background: var(--accent); transform: translateY(-2px); }
.cart-submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* ── DYNAMIC ISLAND ANIMATIONS ───────── */
@keyframes islandPop {
    0% { transform: translate(-50%, 0) scale(1); }
    15% { transform: translate(-50%, 2px) scale(1.03); }
    40% { transform: translate(-50%, -10px) scale(0.98); }
    70% { transform: translate(-50%, 2px) scale(1.01); }
    100% { transform: translate(-50%, 0) scale(1); }
}

.artistic-header.island-pop {
    animation: islandPop 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(212, 163, 115, 0.2);
}

.header-cart-pill {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.header-cart-pill:hover {
    background: rgba(212, 163, 115, 0.1) !important;
    border-color: var(--accent) !important;
    transform: translateY(-1px);
}

@media (max-width: 580px) {
    #header-cart-count { display: none; }
    #header-cart-total { font-size: 0.75rem; }
    .header-cart-pill { padding: 5px 10px; }
}


/* ==========================================================================
   SAFARI-SPECIFIC FIXES (Hide broken sketches)
   ========================================================================== */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .floating-sketch, 
        .art-watermark, 
        .editorial-whisk, 
        .menu-rolling-pin, 
        .menu-bottom-sketch, 
        .art-watermark-home,
        .watermark-mixer {
            display: none !important;
        }
    }
}

/* JS-BASED SAFARI SUPPRESSION */
.is-safari .floating-sketch, 
.is-safari .art-watermark, 
.is-safari .editorial-whisk, 
.is-safari .menu-rolling-pin, 
.is-safari .menu-bottom-sketch, 
.is-safari .art-watermark-home,
.is-safari .watermark-mixer {
    display: none !important;
}

/* ==========================================================================
   ABOUT PAGE ENHANCEMENTS (REFINED)
   ========================================================================== */
.about-portrait-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}



/* ── ABOUT PAGE: EDITORIAL COLLAGE ── */
.about-collage-wrapper {
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: var(--white);
}

/* Remove paper texture if user finds it "dark/empty" */
.about-collage-wrapper::after {
    display: none;
}

.huge-bg-text {
    display: none; /* User specifically asked to remove this 'element' */
}

.bg-text-top { top: 5%; left: -5%; }
.bg-text-bottom { bottom: 10%; right: -5%; }

.collage-section {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Collage - Centered & Focused */
.hero-collage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 5% 150px;
    gap: 60px;
}

.collage-media-main {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.about-portrait-editorial {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px; /* Simpler, cleaner than clip-path if they want "focus" */
    box-shadow: var(--shadow-soft);
    z-index: 2;
    position: relative;
}

.floating-sketch {
    position: absolute;
    width: 120px;
    opacity: 0.4;
    z-index: 3;
    pointer-events: none;
    filter: sepia(0.5);
}

.sketch-1 { top: -40px; right: -40px; transform: rotate(15deg); }
.sketch-2 { bottom: -30px; left: -50px; transform: rotate(-10deg); width: 150px; }

.hero-text-editorial {
    padding-left: 20px;
}

.hero-text-editorial .big-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 40px;
    color: var(--text-main);
}

.hero-text-editorial .highlight-serif {
    display: block;
    font-size: 0.4em;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 5px;
    margin-bottom: 15px;
}

/* Philosophy Section: Scattered */
.philosophy-scattered {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 150px;
}

.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 800px;
}

.philosophy-item.reverse {
    align-self: flex-end;
    flex-direction: row-reverse;
    text-align: right;
}

.phi-num {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.phi-content h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.phi-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Integrated Social Sidebar */
.social-vertical-bar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 100;
}

.social-vertical-bar::after {
    content: "";
    width: 1px;
    height: 100px;
    background: var(--accent);
    opacity: 0.3;
    margin: 10px auto 0;
}

.social-vertical-bar .social-link {
    font-size: 1.4rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.social-vertical-bar .social-link:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
}

/* Responsive Editorial */
@media (max-width: 1024px) {
    .social-vertical-bar {
        display: none !important;
    }
    
    .hero-collage {
        padding: 60px 5%;
    }
    
    .about-portrait-editorial {
        max-width: 100%;
    }
}

/* ── FLOATING TIPS IN HERO ── */
.floating-tip {
    position: absolute;
    background: var(--white);
    padding: 35px;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    max-width: 350px; /* Increased from 280px */
    z-index: 5;
    text-align: left;
    transition: var(--transition-smooth);
    border: 1px solid var(--accent-light);
}

.floating-tip:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-large);
}

.floating-tip p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem; /* Increased from 1rem */
    line-height: 1.7;
    margin: 0;
    color: var(--text-main);
}

.floating-tip .tip-icon {
    width: 50px; /* Increased from 40px */
    margin-bottom: 15px;
    opacity: 0.6;
}

/* Specific Positions - Moved closer (reduced negative values) */
.tip-top-left {
    top: 30px;
    left: -100px; /* Closer from -150px */
}

.tip-mid-right {
    top: 25%;
    right: -120px; /* Closer from -180px */
}

.tip-bottom-left {
    bottom: 30px;
    left: -80px; /* Closer from -120px */
}

/* Responsive: Hide floating tips on mobile */
@media (max-width: 1100px) {
    .floating-tip {
        display: none !important;
    }
}

/* ── MOBILE TIPS SLIDER (Option 1) ── */
.mobile-tips-section {
    display: none;
    padding: 60px 5%;
    background: var(--bg-soft);
    margin-top: 50px;
    border-radius: 40px 40px 0 0;
}

@media (max-width: 1100px) {
    .mobile-tips-section {
        display: block;
    }
}

/* ── CATEGORY GRID (NEW) ── */
.category-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* ── LELLO SPELLING GRID ── */
.lello-spelling-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 50px 0;
}

.letter-card {
    height: 450px !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
}

.boutique-card {
    height: 380px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-soft);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-image-wrap {
    width: 100%;
    height: 100%;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.boutique-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(93, 64, 55, 0.1);
}

.boutique-card:hover .card-image-wrap img {
    transform: scale(1.08);
}

.card-info-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
    z-index: 2;
}

.boutique-card h3 {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: white !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    margin: 8px auto 0;
    opacity: 0;
    transition: 0.3s;
}

.boutique-card:hover .card-dot {
    opacity: 1;
}

@media (max-width: 1024px) {
    .lello-spelling-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}

@media (max-width: 600px) {
    .lello-spelling-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns is better for small boxes than 1 */
        gap: 10px;
        padding: 10px 5%;
    }
    
    .boutique-card {
        height: 160px; /* Small boxes as requested */
        border-radius: 12px;
    }
    
    .card-info-wrap {
        padding: 12px 8px;
    }
    
    .boutique-card h3 {
        font-size: 0.8rem !important;
    }
}

/* ── MOBILE TIPS STACK (Converted from slider) ── */
.mobile-tips-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0 40px;
}

.m-tip-card {
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--border-light);
}

/* ── GRID CTA ── */
.grid-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-bottom: 60px;
}

.grid-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--white);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%; /* Full width on mobile */
    max-width: 400px; /* Cap it for desktop */
}

.grid-cta-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212,163,115,0.25);
}

.grid-cta-btn i {
    transition: transform 0.3s;
}

.grid-cta-btn:hover i {
    transform: translateX(5px);
}

.m-tip-icon {
    width: 60px;
    margin-bottom: 20px;
}

.slider-hint {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.5;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .philosophy-item, .philosophy-item.reverse {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ── FAQ PAGE ────────────────────────── */
.faq-page-wrapper {
    padding-top: 120px;
}

.faq-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 5%;
}

.faq-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.7;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 5% 100px;
}

.faq-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}

.faq-q-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

.faq-icon {
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
}

.faq-a-content {
    padding: 0 40px 40px 40px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-a-content p {
    margin-bottom: 15px;
}

.faq-cta {
    max-width: 850px;
    margin: 0 auto 150px;
    padding: 0 5%;
}

.faq-cta-box {
    background: var(--bg-primary);
    padding: 60px;
    border-radius: 40px;
    text-align: center;
    position: relative;
    border: 1px solid var(--accent-dark);
}

.faq-cta-sketch {
    position: absolute;
    top: -40px;
    right: 40px;
    width: 100px;
    opacity: 0.15;
    transform: rotate(15deg);
}

.faq-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.btn-artisanal {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--text-main);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 30px;
    transition: all 0.3s;
}

.btn-artisanal:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 163, 115, 0.3);
}

/* Hide bottom nav on desktop */
@media (min-width: 993px) {
    .mobile-bottom-nav { display: none !important; }
}

/* ==========================================================================
   UNIVERSAL MOBILE OVERRIDES (ABSOLUTE PRIORITY)
   ========================================================================== */
@media (max-width: 992px) {
    /* Completely hide the top floating island header */
    #main-header, .artistic-header { 
        display: none !important; 
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Reposition and style the glass dropdown menu to sit at the top correctly */
    .glass-dropdown-menu {
        top: 15px !important;
        right: 4% !important;
        transform-origin: top right !important;
        z-index: 20000 !important;
    }
    
    .glass-dropdown-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) translateY(0) !important;
    }

    /* Grounded Bottom Navigation Bar */
    .mobile-bottom-nav {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important; 
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border-top: 1px solid rgba(212, 163, 115, 0.2) !important;
        z-index: 2147483647 !important;
        padding: 10px 0 calc(env(safe-area-inset-bottom, 15px) + 5px) 0 !important;
        box-shadow: 0 -5px 40px rgba(0,0,0,0.15) !important;
        border-radius: 0 !important;
    }

    .bottom-nav-inner {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }

    .nav-item.nav-logo-item { flex: 1.5 !important; }
    .nav-logo-img { height: 42px !important; object-fit: contain !important; }

    .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-decoration: none !important;
        color: var(--text-muted) !important;
        flex: 1 !important;
        gap: 4px !important;
        position: relative !important; /* Critical for badge alignment */
    }

    .nav-item i { font-size: 1.3rem !important; }
    .nav-item span { font-size: 0.6rem !important; font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; }
    .nav-item.active { color: var(--accent) !important; }

    .trigger-circle {
        background: var(--text-main) !important;
        color: white !important;
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: -30px !important; 
        box-shadow: 0 8px 25px rgba(0,0,0,0.25) !important;
        border: 4px solid var(--white) !important;
    }

    .main-content-flow {
        padding-bottom: 140px !important;
    }

    /* Cart Badge Alignment Fix */
    .cart-icon-wrap {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cart-badge-bottom {
        position: absolute !important;
        top: -6px !important;
        right: -8px !important;
        background: var(--accent) !important;
        color: white !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid white !important;
        z-index: 10 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    }

    /* Universal Page Top Spacing (since header is hidden) */
    .hero-solid, .faq-page-wrapper, .about-hero, .book-hero, #contact {
        padding-top: 50px !important;
    }

    .lang-toggle-bottom {
        font-weight: 900 !important;
        font-size: 0.9rem !important;
        color: var(--text-main) !important;
        text-decoration: none !important;
    }

    /* Unified Dock for Works Page: Hide main nav background so category nav can provide it */
    .page-works .mobile-bottom-nav {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border-top: none !important;
    }
}
