@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Great+Vibes&display=swap');

@font-face {
    font-family: 'Kenyan Coffee';
    src: url('../fonts/kenyan%20coffee%20rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #fdfdfc;
    --color-text: #1a1a1a;
    --color-accent: #000000;
    /* Black */
    --color-border: #e6e6e6;
    --color-nav-bg: rgba(253, 253, 252, 0.95);

    --font-sans: 'Jost', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
}

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

html,
body {
    overflow-x: clip;
    overscroll-behavior-x: none;
}

@supports not (overflow: clip) {
    html { overflow-x: hidden; }
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

/* =========================================
   NAVBAR
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    z-index: 1000;
    transition: background-color var(--transition-fast), padding var(--transition-fast), backdrop-filter var(--transition-fast);
    background-color: transparent;
    color: #fff;
    /* Initial transparent state might need white text if hero is dark */
}

.navbar.scrolled {
    background-color: var(--color-nav-bg);
    backdrop-filter: blur(10px);
    padding: 16px 5%;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

/* Update text color to dark when scrolled, if it was white initially */
.navbar.scrolled .nav-links > .nav-item > a,
.navbar.scrolled .nav-icons button,
.navbar.scrolled .nav-icons a,
.navbar.scrolled .logo {
    color: var(--color-text);
}

/* Navbar Dark Mode (for internal pages) */
.navbar.navbar-dark {
    background-color: var(--color-nav-bg);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.navbar.navbar-dark .nav-links > .nav-item > a,
.navbar.navbar-dark .nav-icons button,
.navbar.navbar-dark .nav-icons a,
.navbar.navbar-dark .logo {
    color: var(--color-text);
}

.logo {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   MEGA MENU & NAVBAR DROPDOWN
========================================= */
.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
        height: 100%;
        flex: 1;
        margin-left: 3rem; /* Push slightly right from logo */
        margin-right: 2rem; /* Keep gap from nav icons */
    }
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item>a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 30px 0;
}

/* Animated Underline */
.nav-item>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 25px;
    left: 0;
    background-color: currentColor;
    transition: width var(--transition-fast);
}

.nav-item>a:hover::after {
    width: 100%;
}

/* Navbar Hover Color Change using :has() */
.navbar {
    transition: background-color var(--transition-fast), padding var(--transition-fast), backdrop-filter var(--transition-fast);
}

.navbar:has(.nav-item.has-dropdown:is(:hover,:focus-within)) .logo a,
.navbar:has(.nav-item.has-dropdown:is(:hover,:focus-within)) .nav-links a,
.navbar:has(.nav-item.has-dropdown:is(:hover,:focus-within)) .nav-icons button {
    color: #1a1a1a !important;
}

/* Logo Sizing & Visibility Logic */
.navbar .logo img {
    height: 36px;
    /* Increased logo size */
}

/* Default state: white logo visible, black logo hidden */
.navbar .logo-white {
    display: block;
}

.navbar .logo-black {
    display: none;
}

/* When navbar is scrolled or on internal pages -> show black logo */
.navbar.scrolled .logo-white,
.navbar.navbar-dark .logo-white {
    display: none;
}

.navbar.scrolled .logo-black,
.navbar.navbar-dark .logo-black {
    display: block;
}

/* Left dropdown (mega menu) has white background -> show black logo */
.navbar:has(.nav-item.has-dropdown:is(:hover,:focus-within)) .logo-white {
    display: none !important;
}

.navbar:has(.nav-item.has-dropdown:is(:hover,:focus-within)) .logo-black {
    display: block !important;
}

/* We no longer change the logo color for the right dropdown 
   because it only covers the right half of the screen. 
   The left half (where the logo is) retains its original background. */

.mega-menu {
    position: fixed;
    top: 0;
    left: -50vw;
    /* Hidden to the left */
    width: 50vw;
    height: 100vh;
    background-color: #fdfdfc;
    /* Solid white background */
    color: #1a1a1a;
    transition: left 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    border: none;
    pointer-events: none;
    z-index: -1;
    /* Behind navbar content */
    display: flex;
    align-items: center;
}

.nav-item.has-dropdown:is(:hover,:focus-within) .mega-menu {
    left: 0;
    pointer-events: auto;
    opacity: 1;
    /* Override previous */
    visibility: visible;
}

.mega-menu-content {
    position: relative;
    display: flex;
    gap: 60px;
    padding: 0 10%;
    width: 100%;
    margin-top: 50px;
}

.mega-column {
    display: flex;
    flex-direction: column;
}

.mega-column h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #777;
}

.mega-column a {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    margin-bottom: 15px;
    transform: translateX(-15px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: none;
}

.nav-item.has-dropdown:is(:hover,:focus-within) .mega-column a {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered delay for sliding links */
.nav-item.has-dropdown:is(:hover,:focus-within) .mega-column a:nth-child(2) {
    transition-delay: 0.1s;
}

.nav-item.has-dropdown:is(:hover,:focus-within) .mega-column a:nth-child(3) {
    transition-delay: 0.15s;
}

.nav-item.has-dropdown:is(:hover,:focus-within) .mega-column a:nth-child(4) {
    transition-delay: 0.2s;
}

.nav-item.has-dropdown:is(:hover,:focus-within) .mega-column a:nth-child(5) {
    transition-delay: 0.25s;
}

.mega-column a:hover {
    color: #8b8076;
    padding-left: 5px;
}

/* MEGA MENU HOVER PREVIEW */
.mega-hover-preview {
    position: absolute;
    right: 5%;
    top: 10%;
    width: 120px;
    height: 120px;
    pointer-events: none;
    /* Ignore hover on the image itself */
}

.hover-preview-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show the whole isolated object */
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.05);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.hover-preview-img.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* Right Side Mega Menu */
.mega-menu-right {
    position: fixed;
    top: 0;
    right: -50vw;
    /* Hidden to the right */
    width: 50vw;
    height: 100vh;
    background-color: #171717;
    /* Solid dark background */
    color: #fff;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    border: none;
    pointer-events: none;
    z-index: -1;
    /* Behind navbar content */
    display: flex;
    align-items: center;
}

.nav-item.has-dropdown-right:is(:hover,:focus-within) .mega-menu-right {
    right: 0;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

/* Navbar Hover Color Change for Right Side Menu */
.navbar:has(.nav-item.has-dropdown-right:is(:hover,:focus-within)) .nav-item.has-dropdown-right > a,
.navbar:has(.nav-item.has-dropdown-right:is(:hover,:focus-within)) .nav-item:last-child > a,
.navbar:has(.nav-item.has-dropdown-right:is(:hover,:focus-within)) .nav-icons button,
.navbar:has(.nav-item.has-dropdown-right:is(:hover,:focus-within)) .nav-icons a {
    color: #fff !important;
}

/* Specific styling for right mega menu links */
.mega-menu-right .mega-menu-content {
    justify-content: flex-start;
}

.mega-menu-right .mega-column a {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    margin-bottom: 15px;
    transform: translateX(15px);
    /* From the right instead of left */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: none;
}

.nav-item.has-dropdown-right:is(:hover,:focus-within) .mega-column a {
    transform: translateX(0);
    opacity: 1;
}

.mega-menu-right .mega-column a:hover {
    color: #fff;
    padding-left: 5px;
}

.nav-item.has-dropdown-right:is(:hover,:focus-within) .mega-column a:nth-child(1) {
    transition-delay: 0.05s;
}

.nav-item.has-dropdown-right:is(:hover,:focus-within) .mega-column a:nth-child(2) {
    transition-delay: 0.1s;
}

.nav-item.has-dropdown-right:is(:hover,:focus-within) .mega-column a:nth-child(3) {
    transition-delay: 0.15s;
}

.nav-item.has-dropdown-right:is(:hover,:focus-within) .mega-column a:nth-child(4) {
    transition-delay: 0.2s;
}

/* =========================================
   PAGE TRANSITION
========================================= */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fdfdfc;
    /* White transition cover */
    z-index: 9999;
    pointer-events: none;

    /* Default state: covering screen (for initial load) */
    transform: translateX(0);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Slide out to the right */
.page-transition.is-leaving {
    transform: translateX(100%);
}

/* Snap instantly to the left to prepare for entrance */
.page-transition.is-entering-start {
    transition: none;
    transform: translateX(-100%);
}

/* Slide in from left to center */
.page-transition.is-active {
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(0);
}

/* =========================================
   MOBILE MENU & RESPONSIVENESS
========================================= */
.mobile-menu-btn {
    display: none;
}

.mobile-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #171717;
    color: #fff;
    z-index: 2000;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.mobile-offcanvas.open {
    transform: translateY(0);
}

.mobile-offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.mobile-offcanvas-header .logo {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.mobile-offcanvas-links {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
}

.mobile-offcanvas-links a {
    color: #fff;
    font-size: 2rem;
    font-family: var(--font-serif);
}

.mobile-offcanvas-footer {
    margin-top: auto;
    padding: 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #333;
}

.mobile-offcanvas-footer a {
    color: #777;
    transition: color 0.3s;
}

.mobile-offcanvas-footer a.active,
.mobile-offcanvas-footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .mobile-menu-btn {
        display: inline-block;
    }

    .hero-brand {
        font-size: 1.5rem;
        /*letter-spacing: 0.5rem;*/
        margin-right: -0.5rem;
    }

    .split-banners {
        flex-direction: column;
        height: auto;
    }

    .split-banner {
        height: 60vh;
        padding: 10% 5%;
    }

    .grid-asymmetric {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 0 !important;
    }

    .product-card {
        margin-top: 0 !important;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .newsletter-form {
        width: 100%;
    }

    .footer-huge-text {
        font-size: 20vw;
    }
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
}

.nav-icons button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.nav-icons button:hover {
    color: var(--color-accent);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    background-color: #333;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* slightly darker for the text */
    z-index: -1;
}

.hero-content {
    color: #fff;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-text-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-brand {
    font-family: 'Kenyan Coffee', var(--font-sans);
    font-size: clamp(2rem, 5vw, 4rem);
    /*letter-spacing: clamp(0.5rem, 2vw, 1.5rem);*/
    font-weight: 300;
    text-transform: uppercase;
    white-space: nowrap;
    /*margin-right: calc(clamp(0.5rem, 2vw, 1.5rem) * -1);*/
    user-select: none !important;
}

/* Inner-page titles and subtitles must occupy separate rows. */
.hero-text-group:has(> p) {
    flex-direction: column;
}

.hero-text-group:has(> p) > .hero-brand {
    max-width: 100%;
    margin-right: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.hero-text-group > p {
    max-width: min(100%, 52rem);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.hero-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 400;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    white-space: nowrap;
    z-index: 2;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-discover {
    display: inline-block;
    padding: 14px 45px;
    background-color: #fff;
    color: #111;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    text-decoration: none;
    margin-top: 80px;
    position: relative;
    z-index: 3;
}

.btn-discover:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

/* =========================================
   SECTIONS & LAYOUT
========================================= */
.section {
    padding: 100px 5%;
}

.text-center {
    text-align: center;
}

/* =========================================
   SPLIT BANNERS SECTION
========================================= */
.split-banners {
    display: flex;
    width: 100%;
    height: 75vh;
    min-height: 600px;
}

.split-banner {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8%;
}

.split-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 1s ease;
}

.split-banner:hover .banner-bg {
    transform: scale(1.03);
}

.split-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.split-banner .banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 450px;
}

.banner-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.banner-logos .divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.4);
}

.banner-logos .brand-text {
    font-family: var(--font-sans);
    letter-spacing: 4px;
    font-size: 1rem;
    text-transform: uppercase;
}




.split-banner p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.split-banners-framed {
    padding: clamp(20px, 3vw, 48px);
    gap: clamp(20px, 3vw, 48px);
    background-color: #1a1a1a;
}

.split-banners-framed .split-banner {
    min-width: 0;
    padding: clamp(24px, 4vw, 64px);
}

@media (max-width: 768px) {
    .split-banners-framed {
        height: auto;
        min-height: 0;
    }

    .split-banners-framed .split-banner {
        flex: none;
        min-height: 420px;
    }

    .split-banners-framed .banner-logos {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Asymmetrical Grid */
.grid-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
}

@media (min-width: 992px) {
    .grid-asymmetric {
        grid-template-columns: 5fr 7fr;
        align-items: center;
        gap: 60px;
    }

    .grid-asymmetric.reverse {
        grid-template-columns: 7fr 5fr;
    }
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #f0eee9;
    /* Soft placeholder */
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px 0;
}

.product-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-price {
    color: #777;
    font-size: 0.95rem;
}

/* =========================================
   ANIMATIONS (Scroll Reveal)
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: #171717;
    /* Very dark gray, almost black */
    color: #e0e0e0;
    padding: 100px 5% 0px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-serif);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col a {
    color: #b0b0b0;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.payment-icons {
    display: flex;
    gap: 20px;
    color: #e0e0e0;
}

.payment-icons svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-top: 80px;
    width: 350px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    flex: 1;
}

.newsletter-form input::placeholder {
    color: #777;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.newsletter-form button:hover {
    color: #fff;
}

.footer-huge-text {
    font-family: var(--font-sans);
    font-size: clamp(6rem, 21vw, 25rem);
    font-weight: 300;
    line-height: 0.75;
    text-transform: uppercase;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    letter-spacing: -2px;
    width: 100%;
    margin-top: 60px;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}

/* =========================================
   PARALLAX SECTION
========================================= */
.parallax-section {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: 100px;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    z-index: -2;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.parallax-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.parallax-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    position: absolute;
    top: 60px;
    left: 5%;
    will-change: transform;
}

.parallax-center-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 700px;
}

.parallax-elem {
    will-change: transform;
}

.parallax-center-wrapper p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

.explore-link:hover {
    border-bottom: 1px solid #fff;
}

/* =========================================
   PRODUCTS LISTING PAGE
========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-item {
    text-align: center;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 20px;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-image-container .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-link:hover .main-img {
    opacity: 0;
}

.product-link:hover .hover-img {
    opacity: 1;
    transform: scale(1.03);
}

.product-meta .product-name {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.product-meta .product-price {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #666;
}

/* =========================================
   PRODUCT DETAIL PAGE
========================================= */
/* A quiet, edge-to-edge catalog with space around each product. */
.catalog-page { background:#fff; }
.catalog-page .navbar,
.catalog-page .navbar.scrolled { padding:8px 1.2%; background:#fff; border-bottom:0; }
.catalog-page .nav-links { margin-left:clamp(32px,8vw,160px); gap:26px; }
.catalog-page .nav-item>a { font-family:Georgia,'Times New Roman',serif; font-size:clamp(14px,1.1vw,22px); text-transform:none; letter-spacing:0; padding:8px 0; }
.catalog-page .nav-item>a::after { bottom:4px; }
.catalog-header { padding:80px 20px 64px; text-align:center; }
.catalog-header h1 { font-family:'Times New Roman',Times,serif; font-size:clamp(64px,12vw,250px); line-height:.95; letter-spacing:-.045em; text-transform:uppercase; overflow-wrap:anywhere; }
.catalog-content { padding:0 1.2% 80px; }
.catalog-page:has(.catalog-lead) .navbar { position:sticky; }
.catalog-lead { padding:clamp(64px,4.5vw,100px) 1.2% clamp(80px,6.4vw,130px); font-family:'Times New Roman',Times,serif; font-size:clamp(30px,2.6vw,88px); line-height:1.18; }
.catalog-lead p + p { margin-top:1em; }
@media(max-width:768px) { .catalog-lead { padding:48px 24px 64px; font-size:clamp(26px,5vw,38px); } }
.catalog-page .products-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:40px 20px; }
.catalog-page .product-item { position:relative; min-width:0; }
.catalog-page .product-image-container { aspect-ratio:1/1.08; margin-bottom:0; background:#fff; }
.catalog-page .product-image-container img { object-fit:contain; padding:8%; }
.catalog-page .product-meta { min-height:56px; padding:8px 4px 0; opacity:0; transition:opacity .2s ease; }
.catalog-page .product-name { font-size:14px; letter-spacing:0; margin-bottom:2px; }
.catalog-page .product-meta p { font-size:12px; color:#666; }
.catalog-page .product-link:is(:hover,:focus-visible) .product-meta { opacity:1; }
@media(max-width:1400px) {
    .catalog-page .nav-links { margin-left:32px; gap:20px; }
}
@media(max-width:1100px) {
    .catalog-page .products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .catalog-header { padding-top:100px; padding-bottom:48px; }
}
@media(max-width:768px) {
    .catalog-page .navbar,.catalog-page .navbar.scrolled { padding:12px 16px; }
    .catalog-header { padding:116px 16px 40px; }
    .catalog-header h1 { font-size:clamp(48px,12vw,92px); }
    .catalog-content { padding:0 12px 48px; }
    .catalog-page .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 12px; }
    .catalog-page .product-meta { opacity:1; }
}
@media(hover:none) { .catalog-page .product-meta { opacity:1; } }
.catalog-intro { max-width:1060px; margin:100px auto 150px; padding:0 24px; font-family:Georgia,'Times New Roman',serif; font-size:clamp(14px,0.80vw,24px); line-height:1.3; }
.catalog-intro h2 { font:inherit; margin-bottom:70px; }
.catalog-prose p + p { margin-top:24px; }
.catalog-feature { position:relative; isolation:isolate; overflow:hidden; min-height:700px; min-height:max(700px,90svh); color:#fff; font-family:Georgia,'Times New Roman',serif; }
.catalog-feature-bg { position:absolute; inset:-18% 0; z-index:-2; }
.catalog-feature-bg img { width:100%; height:100%; object-fit:cover; }
.catalog-feature-shade { position:absolute; inset:0; z-index:-1; background:rgba(0,0,0,.35); }
.catalog-feature-content { min-height:inherit; display:flex; flex-direction:column; padding:50px 1.2% 100px; }
.catalog-feature h2 { font-family:inherit; font-size:clamp(30px,2.7vw,60px); line-height:1.18; font-weight:400; }
.catalog-feature-copy { width:min(100%,1060px); margin:clamp(100px,16vh,220px) auto 0; padding:0 24px; font-size:clamp(17px,1.05vw,22px); line-height:1.35; }
.catalog-feature-link { display:inline-flex; gap:14px; align-items:center; margin-top:28px; text-decoration:underline; text-underline-offset:3px; }
.catalog-feature-link:hover { color:#fff; }
@media(max-width:768px) {
    .catalog-intro { margin:56px auto 72px; padding:0 24px; }
    .catalog-intro h2 { margin-bottom:32px; }
    .catalog-feature { min-height:600px; }
    .catalog-feature-content { padding:36px 24px 60px; }
    .catalog-feature-copy { padding:0; margin-top:100px; }
}

.product-page .navbar,
.product-page .navbar.scrolled {
    position: relative;
    padding: 24px 5%;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.product-detail-section { padding: 40px 5% 80px; background: var(--color-bg); }
.product-detail-container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); max-width: 1500px; margin: 0 auto; align-items: start; }
.product-gallery { min-width: 0; }
.product-gallery-stage { position: relative; background: #f2f0ec; }
.product-gallery-track { display: flex; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 1 / 1; scroll-snap-align: start; scroll-snap-stop: always; }
.product-gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 50%; background: #fff; color: #222; font-size: 30px; cursor: pointer; display: grid; place-items: center; line-height: 1; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-arrow:disabled { opacity: .35; cursor: default; }
.product-gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; }
.product-gallery-thumbnails button { width: 72px; height: 72px; padding: 3px; border: 1px solid #ddd; background: #f2f0ec; cursor: pointer; }
.product-gallery-thumbnails button[aria-pressed="true"] { border: 2px solid #222; }
.product-gallery-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-info-panel { min-width: 0; padding: 12px 0 0; position: static; height: auto; overflow: visible; }
.pd-collection { color: #777; font-size: .9rem; margin: 0 0 24px; }
.product-info-panel .btn-discover { border-radius: 0; padding: 18px 24px; }
.product-info-panel > .product-info-content > p { margin-bottom: 16px; }

.breadcrumbs {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #999;
}

.pd-title {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.pd-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 40px;
}

.pd-description {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    font-weight: 300;
    margin-bottom: 40px;
}

.pd-details-accordion details {
    border-top: 1px solid #eee;
    padding: 20px 0;
}

.pd-details-accordion details:last-child {
    border-bottom: 1px solid #eee;
}

.pd-details-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    list-style: none;
}

.pd-details-accordion summary::-webkit-details-marker {
    display: none;
}

.pd-details-accordion p {
    margin-top: 20px;
    font-family: var(--font-serif);
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .product-detail-container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .product-detail-section { padding-top: 24px; }
    .product-info-panel { padding: 0; }
    .pd-title { font-size: 2rem; }
}

/* =========================================
   SEARCH OVERLAY
========================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.search-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.search-close-btn {
    position: absolute;
    top: 40px;
    right: 5%;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

.search-close-btn svg {
    width: 32px;
    height: 32px;
}

.search-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 0 20px;
}

.search-title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.search-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.search-input-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 60px auto;
    border-bottom: 1px solid var(--color-border);
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 15px 0;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    text-align: center;
    color: var(--color-text);
    outline: none;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    width: 100%;
}

.search-result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text);
}

.search-result-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    /* Like Norr11 transparent BG look */
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.search-result-item:hover img {
    transform: scale(1.05);
}

.search-result-item span {
    font-family: var(--font-sans);
    font-size: 0.9rem;
}/* Functional pages keep the existing palette, typography and product grid. */
.page-transition { transform:translateX(100%); }
.reveal { opacity:1; transform:none; }
.reveal.will-reveal { opacity:0; transform:translateY(24px); }
.reveal.will-reveal.active { opacity:1; transform:none; }
.content-page { padding-top:150px; min-height:65vh; }
.content-page h1 { font-size:clamp(2rem,5vw,4rem); margin-bottom:24px; }
.content-page h2 { margin:24px 0 16px; }
.form-page { max-width:800px; margin:auto; }
.form-page>p { margin:16px 0; }
.request-form { display:grid; gap:20px; margin-top:28px; }
.request-form label,.catalog-filters label { display:grid; gap:8px; }
.request-form input,.request-form select,.request-form textarea,.catalog-filters input,.catalog-filters select,.admin-page select { width:100%; min-width:0; padding:14px; border:1px solid #aaa; background:#fff; color:#1a1a1a; font:inherit; border-radius:0; }
.request-form textarea { resize:vertical; }
.request-form .consent { display:flex; gap:12px; align-items:flex-start; }
.consent input { width:20px; height:20px; flex-shrink:0; margin-top:4px; }
.consent a { text-decoration:underline; }
.action-button { border:1px solid #1a1a1a; background:#1a1a1a; color:#fff; padding:14px 28px; cursor:pointer; font:inherit; min-height:44px; }
.action-button:hover { background:#333; color:#fff; }
.action-button:disabled { opacity:.6; cursor:wait; }
.catalog-filters { display:flex; flex-wrap:wrap; align-items:end; gap:20px; margin:0 0 24px; }
.catalog-filters label { flex:1; min-width:160px; }
.result-count { margin:20px 0; }
.empty-state { text-align:center; padding:60px 20px; }
.empty-state p { margin-top:16px; }
.contact-layout { max-width:1200px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.form-card { padding:40px; background:#fff; border:1px solid #eee; }
.form-errors { background:#fff2ee; padding:20px; border-left:3px solid #973e26; margin:20px 0; }
.form-errors ul { padding-left:20px; }
.notice { padding:16px; background:#eef5ed; }
.reference { font-size:1.5rem; letter-spacing:2px; }
.honeypot { position:absolute; left:-10000px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.skip-link { position:fixed; left:16px; top:-100px; z-index:10000; background:#fff; color:#111; padding:12px; }
.skip-link:focus { top:16px; }
:focus-visible { outline:2px solid #a06f36; outline-offset:4px; }
button,a,input,select,textarea { touch-action:manipulation; }
.search-overlay { overflow-y:auto; padding-bottom:40px; height:100dvh; }
.mobile-offcanvas { height:100dvh; overflow-y:auto; }
.mobile-offcanvas-links { gap:16px; }
.mobile-offcanvas-links a { font-size:1.7rem; }
.nav-icons button,.mobile-close-btn,.search-close-btn { min-width:44px; min-height:44px; }
.mobile-close-btn { background:none; color:#fff; border:0; }
.nav-item:focus-within .mega-menu,.nav-item:focus-within .mega-menu-right { opacity:1; visibility:visible; pointer-events:auto; transform:none; }
.nav-item:focus-within .mega-column a { opacity:1; transform:none; }
.admin-nav { display:flex; gap:20px; flex-wrap:wrap; margin:24px 0; }
.admin-nav a,.admin-page a { text-decoration:underline; }
.admin-page { max-width:1400px; margin:auto; }
.admin-page details { padding:20px; border:1px solid #ddd; margin:24px 0; }
.admin-page summary { cursor:pointer; }
.admin-page code { overflow-wrap:anywhere; }
.data-table { width:100%; border-collapse:collapse; text-align:left; }
.data-table th,.data-table td { padding:16px 10px; border-bottom:1px solid #ddd; }
.table-scroll { overflow-x:auto; }
.resource-list { max-width:1000px; margin:auto; }
.resource-row { display:flex; justify-content:space-between; gap:24px; padding:24px 0; border-bottom:1px solid #ddd; align-items:center; }
.option-preview { width:100%; max-height:650px; object-fit:contain; }
.hero,.split-banner,.parallax-section { isolation:isolate; }
@media(max-width:1100px) { .nav-links { display:none!important; } .mobile-menu-btn { display:inline-block; } }
@media(max-width:768px) {
    .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; }
    .product-meta .product-name { font-size:1rem; }
    .contact-layout { grid-template-columns:1fr; gap:32px; }
    .form-card { padding:24px 16px; }
    .footer-links { gap:24px; }
    .footer-right { align-items:flex-start; }
    .footer { padding-top:50px; }
    .search-results { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
    .search-title { font-size:3rem; }
    .search-input-wrapper { margin-bottom:24px; }
    .resource-row { flex-wrap:wrap; }
    .section [style*="min-width: 300px"],.section [style*="min-width: 350px"] { min-width:0!important; }
    .hero-brand[style] { font-size:clamp(1.8rem,8vw,3rem)!important; white-space:normal; }
    .section [style*="minmax(350px"],.section [style*="minmax(300px"] { grid-template-columns:1fr!important; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } .parallax-elem { transform:none!important; } }
@media print { .navbar,.footer,.search-overlay,.mobile-offcanvas,.page-transition,.skip-link,.request-form button { display:none!important; } .hero { height:auto!important; padding:24px; background:white!important; } .hero-content { color:black; } .contact-layout { display:block; } .option-preview { height:300px; } }

.mega-menu,.mega-menu-right { visibility:hidden; overflow-y:auto; }
.nav-item:focus-within .mega-menu { left:0; }
.nav-item:focus-within .mega-menu-right { right:0; }
/* Original materials page: preserve filter links and circular swatches. */
.mat-filter { border:0; background:transparent; padding:0; font-size:1rem; cursor:pointer; min-height:44px; }
#material-filters { flex-wrap:wrap; }
.material-item[hidden] { display:none!important; }
@media(max-width:480px) { #materials-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:24px 20px!important; } }
#filter-buttons { flex-wrap:wrap; }
@media(max-width:768px) { #masonry-grid { column-count:2!important; } #file-search { max-width:100%; } }
@media(max-width:480px) { #masonry-grid { column-count:1!important; } }
.file-library-heading { flex-wrap:wrap; gap:20px; }
@media(max-width:768px) { .hero>div>h1[style*="4rem"],.hero>div>h1[style*="3.5rem"] { font-size:clamp(2rem,8vw,3rem)!important; } }

/* Page management */
.cms-editor{margin:24px 0 64px;border:1px solid #dedbd6;background:#faf9f6;padding:18px}.cms-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.cms-toolbar button,.cms-controls button{border:1px solid #cfc8be;padding:10px 14px;background:#fff;cursor:pointer}.cms-toolbar button:disabled{opacity:.4;cursor:wait}.cms-layout{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:18px}.cms-controls{height:780px;overflow:auto;padding:12px;background:white}.cms-controls label{display:block;margin-bottom:14px;font-size:13px}.cms-controls input:not([type=checkbox]),.cms-controls textarea{display:block;width:100%;border:1px solid #d3cfc7;padding:10px;margin-top:5px;font:inherit}.cms-controls summary{padding:14px 0;font-weight:600;cursor:pointer}.cms-controls [hidden]{display:none}.cms-section-row{display:flex;align-items:center;gap:4px;border-bottom:1px solid #eee;padding:10px 0}.cms-section-row label{flex:1;margin:0}.cms-section-row input[type=checkbox]{margin-right:8px}.cms-field{border-bottom:1px solid #eee;padding-bottom:12px}.cms-block{padding:12px;border:1px solid #ddd;margin-bottom:14px}#cms-preview{width:100%;height:780px;border:1px solid #ddd;background:#fff}.cms-custom-section p{white-space:pre-line}@media(max-width:900px){.cms-layout{grid-template-columns:1fr}.cms-controls{height:500px}#cms-preview{height:600px}}
.cms-toolbar button.action-button{background:#1a1a1a;color:#fff}.admin-page [id]{scroll-margin-top:110px}.cms-controls button{font-size:12px;margin-top:4px}.cms-controls h3{font-size:18px}.cms-controls input[type=color]{height:42px;padding:4px}

/* Keep the home page image sections connected. */
#main-content[data-page="home"] > .parallax-section { margin-top: 0; }
 .mobile-menu-group summary { color:#fff; font-size:1.2rem; cursor:pointer; padding:8px 0; }
 .mobile-menu-group div { display:flex; flex-direction:column; gap:14px; padding:14px 0 8px 16px; }
 .mobile-offcanvas-links .mobile-menu-group a { font-size:1.2rem; }

/* Product introduction and fixed-frame editorial gallery. */
.product-page .product-detail-section { padding: 40px 0 90px; background: #fff; }
.product-heading { text-align: center; padding-bottom: 50px; }
.product-display-title { width: 100%; margin: 0; overflow: hidden; font-family: 'Times New Roman', Times, serif; font-size: 11.8vw; font-weight: 400; line-height: .9; text-transform: uppercase; letter-spacing: -.055em; padding: 0 0 30px; }
.product-title-track { display: flex; width: max-content; min-width: 100%; justify-content: center; }
.product-title-track > span { flex-shrink: 0; white-space: nowrap; padding-inline: .035em; }
.product-title-track > span + span { display: none; }
.is-marquee .product-title-track { justify-content: start; gap: 80px; animation: product-name-scroll var(--title-duration, 30s) linear infinite; }
.is-marquee .product-title-track > span + span { display: block; }
@keyframes product-name-scroll { to { transform: translateX(calc(-50% - 40px)); } }
.product-cutout { display: block; width: calc((100vw - 180px) / 8); height: auto; aspect-ratio: 1; margin: 20px auto 0; object-fit: contain; }
.product-page .product-gallery { --gallery-column: calc((100vw - 20px) / 12); overflow: hidden; position: relative; }
.product-page .product-gallery-stage { background: #fff; }
.product-page .product-gallery-track { display: flex; justify-content: center; align-items: flex-start; gap: 20px; overflow: visible; scroll-snap-type: none; touch-action: pan-y; width: 100%; }
.product-page .product-gallery-slide { position: relative; overflow: hidden; flex: 0 0 calc(var(--gallery-column) * 3 - 20px); min-width: 0; aspect-ratio: 4 / 5; }
.product-page .product-gallery-slide:nth-child(3) { flex-basis: calc(var(--gallery-column) * 4 - 20px); }
.product-page .product-gallery-slide:first-child, .product-page .product-gallery-slide:last-child { flex-basis: calc(var(--gallery-column) * 2 - 20px); margin-top: calc(var(--gallery-column) * 1.25); }
.product-page .product-gallery-slide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transform: translateX(100%); }
.product-page .product-gallery-slide img.is-current { transform: translateX(0); }
.product-page .product-gallery-track:not(.is-enhanced) .product-gallery-slide img { transform: none; }
.product-page .product-detail-container { display: block; max-width: 850px; padding: 90px 6% 0; }
.product-page .product-gallery-track.is-single .product-gallery-slide { flex-basis: calc(var(--gallery-column) * 4 - 20px); margin-top: 0; }
@media (max-width: 900px) {
    .product-page .product-detail-section { padding-top: 50px; }
    .product-cutout { width: 33vw; max-width: 200px; }
    .product-page .product-gallery-slide, .product-page .product-gallery-slide:nth-child(3) { flex-basis: calc(66.6667vw - 33.3333px); margin-top: 0; }
    .product-page .product-gallery-slide:first-child, .product-page .product-gallery-slide:last-child { display: none; }
    .product-page .product-gallery-track.is-single .product-gallery-slide { display: block; flex-basis: 66.6667vw; }
}
@media (prefers-reduced-motion: reduce) {
    .is-marquee .product-title-track { animation: none; }
    .product-display-title.is-marquee { overflow-x: auto; }
    .is-marquee .product-title-track > span + span { display: none; }
}

/* Home product selection */
.home-showcase {
    background: #fff;
    color: #242424;
    padding: clamp(40px, 5vw, 80px) 0 clamp(44px, 5vw, 80px);
    overflow: hidden;
}
.home-showcase h2 {
    margin: 0;
    padding: 0 clamp(24px, 3vw, 48px);
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.025em;
    max-width: 1800px;
}
.home-showcase-viewport { margin-top: clamp(44px, 6vw, 100px); }
.home-showcase-track {
    display: flex;
    width: max-content;
    animation: home-showcase-scroll var(--showcase-duration, 64s) linear infinite;
}
.home-showcase-group { display: flex; flex: none; align-items: center; }
.home-showcase-group img {
    display: block;
    flex: none;
    width: clamp(240px, 24vw, 400px);
    height: clamp(180px, 18vw, 300px);
    margin-right: clamp(24px, 3vw, 48px);
    object-fit: contain;
}
.home-showcase-viewport:hover .home-showcase-track,
.home-showcase-viewport:focus-within .home-showcase-track { animation-play-state: paused; }
.home-showcase-viewport:focus-visible { outline: 2px solid #555; outline-offset: -2px; }
@keyframes home-showcase-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .home-showcase-viewport { overflow-x: auto; }
    .home-showcase-track { animation: none; }
    .home-showcase-group[aria-hidden="true"] { display: none; }
}

/* Editorial projects — shared anthracite with furniture and lighting. */
.projects-section { background:#1a1a1a; color:#f4f1e9; padding:70px clamp(20px, 2.2vw, 40px); }
.projects-heading { font-family:var(--font-serif); font-size:clamp(52px, 13.5vw, 240px); font-weight:400; line-height:1; letter-spacing:-.055em; text-align:center; margin:20px 0 80px; }
.projects-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.project-card { display:block; color:inherit; min-width:0; }
.project-card-image { overflow:hidden; background:#242424; }
.project-card img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; transition:transform .7s ease; }
.home-projects .project-card img { aspect-ratio:3/2; max-height:460px; }
.project-card:hover img { transform:scale(1.025); }
.project-card:focus-visible { outline:2px solid #f4f1e9; outline-offset:6px; }
.project-card-caption { display:flex; justify-content:space-between; align-items:baseline; gap:20px; padding:24px 0 30px; }
.project-card-caption h3 { font-family:var(--font-serif); font-weight:400; font-size:clamp(24px,2.2vw,38px); line-height:1.2; overflow-wrap:anywhere; }
.project-card-caption>span { font-size:12px; flex-shrink:0; }
.projects-all { text-align:center; margin:40px 0 10px; }
.projects-all a,.project-back { display:inline-block; border-bottom:1px solid currentColor; padding:10px 0; }
.projects-empty { text-align:center; padding:0 20px 70px; color:#c7c4bd; }
.projects-index { padding-top:160px; min-height:75vh; }
.project-detail { background:#f4f1e9; color:#242424; padding-top:145px; }
.project-intro { text-align:center; padding:25px 24px 70px; }
.project-back { font-size:13px; }
.project-intro h1 { font-family:var(--font-serif); font-weight:400; font-size:clamp(44px,7.5vw,120px); line-height:1.06; max-width:1200px; margin:36px auto 24px; overflow-wrap:anywhere; }
.project-intro p { font-size:13px; letter-spacing:.08em; }
.project-hero { display:block; width:100%; max-height:1000px; aspect-ratio:16/10; object-fit:cover; }
.project-editorial { display:grid; grid-template-columns:1.2fr 1fr; gap:10%; padding:100px 7%; }
.project-editorial h2 { font-family:var(--font-serif); font-weight:400; font-size:clamp(28px,3.3vw,52px); line-height:1.22; overflow-wrap:anywhere; }
.project-body { line-height:1.9; font-size:16px; overflow-wrap:anywhere; }
.project-facts { margin-top:40px; border-top:1px solid #ccc8c0; }
.project-facts div { display:grid; grid-template-columns:120px 1fr; gap:16px; padding:13px 0; border-bottom:1px solid #ccc8c0; font-size:13px; }
.project-facts dt { color:#6b665f; } .project-facts dd { margin:0; overflow-wrap:anywhere; }
.project-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; padding:0 24px 80px; }
.project-gallery figure { margin:0; } .project-gallery img { width:100%; height:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.project-gallery figure:nth-child(3n+1) { grid-column:1/-1; } .project-gallery figure:nth-child(3n+1) img { aspect-ratio:16/10; }
.projects-section-top { display:flex; justify-content:space-between; align-items:baseline; gap:24px; margin-bottom:45px; }
.projects-section-top h2 { font-family:var(--font-serif); font-size:clamp(32px,4vw,64px); font-weight:400; }
@media(max-width:768px) {
    .projects-section { padding:45px 18px; } .projects-heading { margin:15px 0 45px; }
    .projects-index { padding-top:130px; } .projects-grid { grid-template-columns:1fr; gap:25px; }
    .project-card-caption { padding:18px 0; gap:12px; } .project-card-caption>span { font-size:11px; }
    .project-detail { padding-top:110px; } .project-intro { padding-bottom:40px; }
    .project-editorial { grid-template-columns:1fr; gap:32px; padding:55px 24px; }
    .project-gallery { gap:16px; padding:0 16px 50px; grid-template-columns:1fr; }
    .project-gallery figure:nth-child(3n+1) { grid-column:auto; }
    .projects-section-top { align-items:center; } .projects-section-top>a { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .project-card img { transition:none; } }

/* Product name always loops, including short names. */
.product-display-title.is-marquee .product-title-track > span { min-width:100vw; text-align:center; }
.product-cutout,.product-gallery-slide img { cursor:zoom-in; }
.product-cutout:focus-visible { outline:2px solid #333; outline-offset:5px; }
.product-lightbox { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; border:0; padding:60px 24px 24px; background:transparent; }
.product-lightbox[open] { display:flex; align-items:center; justify-content:center; }
.product-lightbox::backdrop { background:rgba(15,15,15,.65); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.product-lightbox>img { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.product-lightbox-close { position:absolute; top:16px; right:20px; width:44px; height:44px; border:1px solid #aaa; border-radius:50%; background:#222; color:#fff; font-size:30px; cursor:pointer; }
.recommended-products { padding:65px 0 80px; overflow:hidden; background:#fff; }
.recommended-products>h2 { font-family:var(--font-serif); font-size:clamp(30px,4vw,56px); font-weight:400; padding:0 5%; margin:0 0 45px; }
.recommended-viewport { overflow:hidden; }
.recommended-track { display:flex; width:max-content; animation:recommended-scroll var(--recommendation-duration,80s) linear infinite; }
.recommended-group { display:flex; flex:none; gap:32px; padding-right:32px; }
.recommended-card { display:block; width:clamp(220px,25vw,360px); flex:none; color:inherit; }
.recommended-card img { display:block; width:100%; height:280px; object-fit:contain; }
.recommended-card h3 { font-size:16px; font-weight:400; padding:20px 12px; text-align:center; }
.recommended-viewport:hover .recommended-track,.recommended-viewport:focus-within .recommended-track { animation-play-state:paused; }
.recommended-card:focus-visible { outline:2px solid #333; outline-offset:-3px; }
@keyframes recommended-scroll { from { transform:translateX(-50%); } to { transform:translateX(0); } }
@media(prefers-reduced-motion:reduce) {
    .recommended-track { animation:none; }
    .recommended-group[aria-hidden="true"] { display:none; }
    .recommended-viewport { overflow-x:auto; }
}

/* Mobile submenu headings open in place; native details supports touch and keyboard. */
.mobile-offcanvas-header,.mobile-offcanvas-links,.mobile-offcanvas-footer { flex-shrink:0; }
.mobile-menu-group > summary { display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;min-height:44px;padding:6px 0;color:#fff;font:1.7rem var(--font-serif);cursor:pointer; }
.mobile-menu-group > summary::-webkit-details-marker { display:none; }
.mobile-menu-group > summary::after { content:'+';font:24px sans-serif;flex-shrink:0; }
.mobile-menu-group[open] > summary::after { content:'−'; }
.mobile-menu-group:not([open]) > div { display:none; }
.mobile-menu-group > div { border-left:1px solid #555;margin:8px 0 12px; }
.mobile-offcanvas-links .mobile-menu-group a { display:flex;align-items:center;min-height:44px;font-size:1.15rem;overflow-wrap:anywhere; }

/* Essential-cookie information, separate from form acknowledgement. */
.cookie-notice[hidden] { display: none; }
.cookie-notice { position: fixed; z-index: 10020; bottom: 20px; left: 20px; width: min(580px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px; background: #f6f4ef; color: #171717; border: 1px solid #d0ccc3; box-shadow: 0 8px 40px #0003; font-size: 14px; line-height: 1.6; }
.cookie-notice h2 { font: inherit; font-size: 19px; font-weight: 500; margin: 0 0 10px; }
.cookie-notice p { margin: 0 0 18px; }
.cookie-notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cookie-notice-actions a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions button { background: #171717; color: #fff; border: 1px solid #171717; padding: 10px 22px; cursor: pointer; font: inherit; }
.cookie-notice :focus-visible, .cookie-info-button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.cookie-info-button { background: none; color: inherit; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
@media (max-width: 600px) { .cookie-notice { padding: 18px; bottom: 12px; left: 12px; width: calc(100% - 24px); } }
