/* ═══════════════════════════════════════════════════════════════
   STRATUS — BRAND CSS
   Palette: Cloud · Linen · Ash Light · Ash Dark · Bark · Acrylic
   Type: Cormorant Garamond (display) · Jost (UI)
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

/* ── Design tokens ─────────────────────────────────────────── */
:root {
    --cloud:      #F5F2ED;
    --linen:      #E8E1D6;
    --ash-light:  #C49A6C;
    --ash-dark:   #8B6840;
    --bark:       #2C2420;
    --acrylic:    #D4CDC4;

    --text-primary:   var(--bark);
    --text-secondary: #5A4E48;
    --text-muted:     #8A7A72;

    --radius-sm:  10px;
    --radius-md:  18px;
    --radius-lg:  28px;
    --radius-xl:  36px;

    --shadow-soft: 0 4px 24px rgba(44,36,32,0.08);
    --shadow-card: 0 8px 32px rgba(44,36,32,0.10);
    --shadow-lift: 0 16px 48px rgba(44,36,32,0.13);

    --nav-h: 72px;
    --page-w: min(1180px, 92vw);
    --page-w-sm: min(94vw, 1180px);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--bark);
    background: var(--cloud);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.12;
    color: var(--bark);
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); }

/* ── Utility ───────────────────────────────────────────────── */
.eyebrow {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--bark);
    margin-bottom: 14px;
}

.section-heading { margin-bottom: 32px; }
.centered-heading { text-align: center; }
.centered-panel  { text-align: center; }
.centered-card   { align-items: center; text-align: center; }
.centered-pills  { justify-content: center; }

/* ── Surface cards ─────────────────────────────────────────── */
.glass-panel {
    background: #fff;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════ */
.site-header { pointer-events: none; }

.top-nav {
    pointer-events: all;
    position: fixed;
    top: 16px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(245, 242, 237, 0.88);
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease, top 0.35s ease, border-radius 0.35s ease;
}

.top-nav.is-scrolled {
    background: rgba(44, 36, 32, 0.96);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.top-nav.is-scrolled .nav-link,
.top-nav.is-scrolled .nav-toggle-label { color: var(--cloud); }
.top-nav.is-scrolled .nav-toggle { color: var(--cloud); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); }
.top-nav.is-scrolled .nav-link.active { background: rgba(255,255,255,0.14); }
.top-nav.is-scrolled .nav-cart-link { color: var(--cloud); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }

/* Mobile toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: calc(100% - 56px);
    border: 1px solid var(--acrylic);
    border-radius: 999px;
    padding: 10px 16px;
    background: transparent;
    color: var(--bark);
    font: inherit;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.nav-toggle:hover { background: var(--linen); }

.nav-toggle-label { font-family: 'Jost', sans-serif; font-weight: 200; }

.nav-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle-icon span {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.top-nav.is-open .nav-toggle-icon span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.top-nav.is-open .nav-toggle-icon span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.top-nav.is-open .nav-toggle-icon span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Nav links */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.48s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease, transform 0.38s ease;
}

.top-nav.is-open .nav-links {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.top-nav.is-open { border-radius: 24px; gap: 10px; }

.nav-link {
    text-decoration: none;
    color: var(--bark);
    width: 100%;
    text-align: center;
    padding: 12px;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    border-radius: 14px;
    transition: background 0.22s ease, color 0.22s ease;
}

.nav-link:hover { background: var(--linen); }

.nav-link.active {
    background: var(--bark);
    color: var(--cloud);
}

/* Cart icon */
.nav-cart-link {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--linen);
    border: 1px solid var(--acrylic);
    color: var(--bark);
    transition: transform 0.2s ease, background 0.22s ease;
}

.nav-cart-link:hover { background: var(--acrylic); transform: translateY(-1px); }

.nav-cart-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Desktop nav */
@media (min-width: 768px) {
    .top-nav {
        top: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: fit-content;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
    }

    .nav-toggle { display: none; }

    .nav-cart-link {
        position: relative;
        top: auto;
        right: auto;
        flex: 0 0 auto;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2px;
        width: auto;
        max-height: none;
        opacity: 1;
        transform: none;
        visibility: visible;
        pointer-events: auto;
        overflow: visible;
        transition: none;
    }

    .nav-link {
        width: auto;
        padding: 8px 20px;
        border-radius: 999px;
        white-space: nowrap;
    }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.buy-button,
.checkout-next-btn,
.bi-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.buy-button {
    padding: 14px 32px;
    background: var(--bark);
    color: var(--cloud);
    border: 1px solid var(--bark);
    border-radius: var(--radius-sm);
    transition: background 0.25s ease, transform 0.2s ease;
}

.buy-button:hover {
    background: #1a1512;
    transform: translateY(-1px);
}

.continue-shopping {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.continue-shopping:hover { color: var(--bark); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL / RENDER SLIDER
═══════════════════════════════════════════════════════════════ */
.render-slider {
    margin: calc(var(--nav-h) + 60px) auto 0;
    width: var(--page-w);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.render-track {
    position: relative;
    width: min(760px, 76vw);
    height: clamp(220px, 35vw, 400px);
    touch-action: pan-y;
}

.render-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(560px, 62vw);
    height: 100%;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-lift);
    transition: transform 0.45s ease, opacity 0.45s ease;
    pointer-events: none;
}

.render-card img { width: 100%; height: 100%; object-fit: cover; }

.render-card.is-active  { transform: translate(-50%, -50%) scale(1);    opacity: 1;    z-index: 3; pointer-events: auto; }
.render-card.is-left    { transform: translate(-84%, -48%) scale(0.88); opacity: 0.55; z-index: 2; }
.render-card.is-right   { transform: translate(-16%, -48%) scale(0.88); opacity: 0.55; z-index: 2; }
.render-card.is-hidden  { transform: translate(-50%, -50%) scale(0.82); opacity: 0;    z-index: 1; }

.slider-control {
    position: relative;
    z-index: 20;
    width: 50px;
    height: 50px;
    border: 1px solid var(--acrylic);
    border-radius: 999px;
    background: #fff;
    color: var(--bark);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-control:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* ═══════════════════════════════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════════════════════════════ */
.home-page { background: var(--cloud); }

.home-sections {
    width: var(--page-w);
    margin: 40px auto 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content-section {
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.5vw, 44px);
}

.feature-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.contact-card {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: var(--cloud);
    border: 1px solid var(--acrylic);
}

.feature-card h3,
.contact-card h3 { margin-bottom: 10px; }

.photo-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 16px;
}

.photo-card {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 240px;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-soft);
}

.photo-large { grid-row: span 2; min-height: 100%; }

.photo-card img { width: 100%; height: 100%; object-fit: cover; }

.split-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.text-panel {
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.5vw, 44px);
}

.cta-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--bark);
    border-color: var(--bark);
}

.cta-panel .eyebrow { color: var(--ash-light); }
.cta-panel h2,
.cta-panel p { color: var(--cloud); }
.cta-panel .buy-button { background: var(--cloud); color: var(--bark); border-color: var(--cloud); }
.cta-panel .buy-button:hover { background: var(--linen); }

.detail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-list span {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(245,242,237,0.14);
    border: 1px solid rgba(245,242,237,0.22);
    color: var(--linen);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.details-grid {
    margin: 16px 0 0;
    padding-left: 20px;
    line-height: 1.75;
}

.details-grid strong { color: var(--bark); }

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

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════════ */
.about-page { background: var(--cloud); }

.about-shell {
    width: var(--page-w);
    margin: calc(var(--nav-h) + 60px) auto 80px;
    display: grid;
    gap: 20px;
}

.about-hero {
    border-radius: var(--radius-xl);
    padding: clamp(36px, 5vw, 64px);
    background: var(--bark);
    border-color: var(--bark);
}

.about-hero .eyebrow { color: var(--ash-light); }
.about-hero h1 { color: var(--cloud); margin-bottom: 16px; }
.about-hero > p  { color: rgba(245,242,237,0.78); max-width: 680px; margin: 0 auto; }

.about-pills {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.about-pills span {
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(245,242,237,0.1);
    border: 1px solid rgba(245,242,237,0.2);
    color: rgba(245,242,237,0.85);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.team-section {
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 48px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius-md);
    background: var(--cloud);
    border: 1px solid var(--acrylic);
}

.profile-mark {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: var(--linen);
    border: 1px solid var(--acrylic);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    flex-shrink: 0;
}

.team-copy h3 { margin-bottom: 4px; }
.team-role { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash-light); margin-bottom: 10px; }
.team-bio  { font-size: 0.95rem; color: var(--text-secondary); }

/* Behind the Scenes */
.behind-the-scenes { padding-top: 32px; border-top: 1px solid var(--acrylic); }

.small-heading { margin-bottom: 20px; }

.bts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bts-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--cloud);
    border: 1px solid var(--acrylic);
}

.bts-image-placeholder {
    height: 180px;
    background: var(--linen);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.bts-card h4 { padding: 16px 18px 6px; }
.bts-card p  { padding: 0 18px 18px; font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════════
   PURCHASE / PRODUCT PAGE
═══════════════════════════════════════════════════════════════ */
.product-page { background: var(--cloud); }

.product-shell {
    width: var(--page-w);
    margin: calc(var(--nav-h) + 60px) auto 80px;
    display: grid;
    gap: 20px;
}

.product-overview {
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3.5vw, 44px);
}

.breadcrumb {
    margin-bottom: 18px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.retail-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.product-gallery-card,
.product-details-card {
    background: var(--cloud);
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.gallery-main {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--acrylic);
}

.gallery-main img {
    width: 100%;
    height: clamp(240px, 33vw, 420px);
    object-fit: cover;
}

.gallery-thumbs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--acrylic);
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.gallery-thumbs img:hover { opacity: 0.8; border-color: var(--ash-light); }

.product-details-card h1 { margin-bottom: 8px; }

.star-rating { margin: 10px 0; color: var(--ash-light); font-size: 1rem; }
.star-rating span { color: var(--text-muted); margin-left: 6px; font-size: 0.9rem; }

.product-price {
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
    color: var(--bark);
    margin: 10px 0;
    line-height: 1;
}

.price-note { font-size: 0.9rem; color: var(--text-muted); margin-left: 8px; font-family: 'Jost', sans-serif; }

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    padding: 22px;
    border-radius: var(--radius-md);
    background: var(--cloud);
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-soft);
}

.product-specs,
.product-features {
    margin: 10px 0 0;
    padding-left: 18px;
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.short-description { color: var(--text-secondary); font-size: 0.95rem; margin: 10px 0 14px; }

.retail-highlights {
    list-style: none;
    margin: 14px 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.retail-highlights li {
    background: var(--linen);
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.purchase-row {
    display: grid;
    grid-template-columns: auto 84px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.purchase-row label { color: var(--text-secondary); font-size: 0.95rem; }

.purchase-row select {
    height: 44px;
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-sm);
    padding: 0 10px;
    font: inherit;
    color: var(--bark);
    background: #fff;
}

.retail-buy-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 12px 22px;
    background: var(--bark);
    color: var(--cloud);
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.2s ease;
}

.retail-buy-button:hover { background: #1a1512; transform: translateY(-1px); }

/* Reviews marquee */
.reviews-marquee {
    width: 100%;
    overflow: hidden;
    padding: 4px 0 40px;
}

.reviews-track {
    display: flex;
    width: max-content;
    gap: 14px;
    animation: reviewsScroll 55s linear infinite;
    padding-left: 14px;
}

.review-card {
    width: min(300px, 76vw);
    padding: 18px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-soft);
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.review-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--cloud);
    background: var(--bark);
    border: 1px solid var(--acrylic);
    flex-shrink: 0;
}

.review-name { color: var(--bark); font-size: 0.9rem; }
.review-stars { color: var(--ash-light); font-size: 0.85rem; white-space: nowrap; }
.review-card p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

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

/* ═══════════════════════════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════════════════════════ */
.cart-page { background: var(--cloud); }

.cart-shell {
    width: var(--page-w);
    margin: calc(var(--nav-h) + 60px) auto 80px;
    display: grid;
    gap: 20px;
}

.cart-header {
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    background: var(--bark);
    border-color: var(--bark);
}

.cart-header .eyebrow { color: var(--ash-light); }
.cart-header h1 { color: var(--cloud); margin-bottom: 6px; }
.cart-header p  { color: rgba(245,242,237,0.72); margin: 0; }

.cart-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 20px;
    align-items: start;
}

.cart-items,
.order-summary {
    border-radius: var(--radius-lg);
    padding: 28px;
    background: #fff;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-card);
}

.cart-items h2,
.order-summary h2 { margin-bottom: 18px; }

.cart-item-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    background: var(--cloud);
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-md);
    padding: 16px;
}

.cart-item-card[hidden] { display: none !important; }

.cart-item-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--acrylic);
}

.item-category {
    margin: 0 0 4px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ash-light);
}

.cart-item-copy h3 { margin: 2px 0 8px; font-size: 1.2rem; }
.item-meta,
.item-stock { margin: 0 0 6px; font-size: 0.9rem; color: var(--text-secondary); }

.item-actions {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.item-actions label { color: var(--text-secondary); font-size: 0.9rem; }

.item-actions select {
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--acrylic);
    padding: 0 10px;
    font: inherit;
    font-size: 0.9rem;
    color: var(--bark);
    background: #fff;
}

.item-actions a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.item-actions a:hover { color: var(--bark); text-decoration: underline; }

.item-price { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--bark); font-weight: 400; }

.empty-cart-state {
    text-align: center;
    background: var(--cloud);
    border: 1px dashed var(--acrylic);
    border-radius: var(--radius-md);
    padding: 36px 24px;
}

.empty-cart-state h3 { margin-bottom: 10px; }
.empty-cart-state p  { margin: 0 auto 18px; max-width: 44ch; }

.order-summary { position: sticky; top: calc(var(--nav-h) + 20px); }

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--acrylic);
}

.summary-line strong { color: var(--bark); font-weight: 400; }

.summary-line.total-line {
    border-bottom: none;
    padding-top: 14px;
    margin-top: 4px;
    font-size: 1.05rem;
    font-weight: 400;
}

.summary-line.total-line strong { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; }

.checkout-button {
    margin-top: 16px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    background: var(--bark);
    color: var(--cloud);
    padding: 14px 18px;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.2s ease;
}

.checkout-button:hover { background: #1a1512; transform: translateY(-1px); }

.checkout-button.is-disabled,
.checkout-button.is-disabled:hover {
    background: var(--acrylic);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

.summary-points {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT PAGES
═══════════════════════════════════════════════════════════════ */
.checkout-page { background: var(--cloud); }

.checkout-shell {
    width: var(--page-w);
    margin: calc(var(--nav-h) + 50px) auto 80px;
    display: grid;
    gap: 20px;
}

/* Progress steps */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: var(--radius-lg);
    padding: 20px 36px;
    background: #fff;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-soft);
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.step.active   { opacity: 1; }
.step.completed { opacity: 0.7; }

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--bark);
    color: var(--cloud);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    flex-shrink: 0;
}

.step.completed .step-num { background: var(--ash-dark); }

.step-label {
    color: var(--bark);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    white-space: nowrap;
}

.step-divider {
    flex: 1;
    max-width: 64px;
    height: 1px;
    background: var(--acrylic);
    margin: 0 14px;
}

/* Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: start;
}

.checkout-forms { display: grid; gap: 20px; }

.checkout-card {
    border-radius: var(--radius-lg);
    padding: 30px;
    background: #fff;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-card);
}

.checkout-card h2 {
    margin-bottom: 22px;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.locked-section { opacity: 0.4; pointer-events: none; user-select: none; }

/* Forms */
.checkout-form { display: grid; gap: 14px; }

.form-row { display: grid; gap: 14px; }
.form-row.two-col   { grid-template-columns: 1fr 1fr; }
.form-row.three-col { grid-template-columns: 1fr 72px 110px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
    height: 46px;
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    font: inherit;
    font-size: 0.95rem;
    color: var(--bark);
    background: var(--cloud);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--ash-dark);
    box-shadow: 0 0 0 3px rgba(139,104,64,0.1);
    background: #fff;
}

.form-group input.invalid {
    border-color: #b94040;
    box-shadow: 0 0 0 3px rgba(185,64,64,0.1);
}

.optional { color: var(--text-muted); font-size: 0.82rem; }

.subsection-title {
    margin: 4px 0;
    color: var(--bark);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Delivery options */
.delivery-options { display: grid; gap: 10px; }

.delivery-option {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    cursor: pointer;
    background: var(--cloud);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.delivery-option input[type="radio"] {
    accent-color: var(--bark);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.delivery-option.selected {
    border-color: var(--bark);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.delivery-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.delivery-name { color: var(--bark); font-size: 0.95rem; }
.delivery-eta  { color: var(--text-muted); font-size: 0.85rem; }
.delivery-price { color: var(--bark); font-weight: 400; font-size: 0.95rem; white-space: nowrap; }

/* Payment */
.card-number-group { position: relative; }

.card-icon {
    position: absolute;
    right: 14px;
    bottom: 13px;
    font-size: 1.1rem;
    pointer-events: none;
}

.secure-note {
    color: var(--ash-dark);
    font-size: 0.88rem;
    margin: 0;
}

/* Checkout buttons */
.checkout-next-btn {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 22px;
    background: var(--bark);
    color: var(--cloud);
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.2s ease;
}

.checkout-next-btn:hover { background: #1a1512; transform: translateY(-1px); }

.place-order-btn { background: var(--ash-dark); }
.place-order-btn:hover { background: #6b5030; }

/* Review section */
.review-item-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    align-items: center;
    background: var(--cloud);
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.review-item-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--acrylic);
}

.review-item-card h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.review-summary-lines { margin-bottom: 20px; }

/* Sidebar */
.checkout-sidebar {
    display: grid;
    gap: 12px;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
}

.checkout-back-card { padding: 16px 22px; }

.checkout-back-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.checkout-back-link:hover { color: var(--bark); text-decoration: underline; }

.sidebar-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.sidebar-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--acrylic);
}

.sidebar-item-name  { margin: 0 0 3px; color: var(--bark); font-size: 0.9rem; }
.sidebar-item-meta  { margin: 0; color: var(--text-muted); font-size: 0.82rem; }
.sidebar-item-price { margin: 0; color: var(--bark); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; }

/* Order confirmation modal */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44,36,32,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.order-modal-overlay[hidden] { display: none !important; }

.order-modal {
    max-width: 460px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    background: #fff;
    border: 1px solid var(--acrylic);
    box-shadow: 0 40px 80px rgba(44,36,32,0.25);
    text-align: center;
}

.order-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: var(--ash-dark);
    color: var(--cloud);
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.order-modal h2 { margin-bottom: 12px; }
.order-modal p  { color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; }
.order-number   { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 26px !important; }

/* ═══════════════════════════════════════════════════════════════
   BUSINESS INSIGHTS PAGE
═══════════════════════════════════════════════════════════════ */
.bi-page { background: var(--cloud); }

.bi-shell {
    width: var(--page-w);
    margin: calc(var(--nav-h) + 60px) auto 80px;
    display: grid;
    gap: 20px;
}

.bi-exec-summary {
    border-radius: var(--radius-xl);
    padding: clamp(36px, 5vw, 64px);
    text-align: center;
    background: var(--bark);
    border: 1px solid var(--bark);
}

.bi-exec-summary .eyebrow { color: var(--ash-light); }
.bi-exec-summary h1 { color: var(--cloud); font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 14px; }
.bi-exec-summary p  { color: rgba(245,242,237,0.75); max-width: 760px; margin: 0 auto 22px; }
.bi-exec-summary .about-pills span { border-color: rgba(245,242,237,0.2); color: rgba(245,242,237,0.85); background: rgba(245,242,237,0.08); }

.bi-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.bi-card {
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3vw, 36px);
    background: #fff;
    border: 1px solid var(--acrylic);
    box-shadow: var(--shadow-card);
}

.bi-card-heading { margin-bottom: 18px; }
.bi-card-heading h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

.bi-chart-note { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.bi-chart-wrap { position: relative; height: 240px; margin-bottom: 18px; }
.bi-chart-wrap canvas { width: 100% !important; height: 100% !important; }

.bi-proj-milestones { display: flex; gap: 8px; justify-content: space-between; }

.bi-milestone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: var(--cloud);
    border: 1px solid var(--acrylic);
    border-radius: var(--radius-sm);
    padding: 12px 6px;
}

.bi-milestone-year { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.bi-milestone-val  { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--bark); font-weight: 400; }

.bi-revenue-inner { display: flex; gap: 24px; align-items: center; flex: 1; }
.bi-donut-wrap { flex: 0 0 180px; height: 180px; }
.bi-donut-wrap canvas { width: 100% !important; height: 100% !important; }

.bi-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bi-legend li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.bi-legend li strong { margin-left: auto; color: var(--bark); font-weight: 400; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.bi-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.bi-right-col { display: flex; flex-direction: column; gap: 20px; }

.bi-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.bi-kpi-card {
    border-radius: var(--radius-md);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    background: var(--cloud);
    border: 1px solid var(--acrylic);
}

.bi-kpi-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.bi-kpi-value { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; color: var(--bark); line-height: 1; }
.bi-kpi-sub   { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* BMC */
.bmc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr 1fr 1fr;
    gap: 3px;
    background: var(--acrylic);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--acrylic);
}

.bmc-cell {
    background: var(--cloud);
    padding: 12px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.bmc-cell:hover { background: #fff; }

.bmc-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ash-dark);
    font-weight: 400;
    margin-bottom: 7px;
}

.bmc-cell ul { margin: 0; padding-left: 13px; color: var(--text-secondary); font-size: 0.8rem; }
.bmc-cell ul li { margin-bottom: 3px; }

.bmc-partners    { grid-column: 1/2; grid-row: 1/3; }
.bmc-activities  { grid-column: 2/3; grid-row: 1/2; }
.bmc-resources   { grid-column: 2/3; grid-row: 2/3; }
.bmc-value       { grid-column: 3/4; grid-row: 1/3; background: var(--linen); }
.bmc-cr          { grid-column: 4/5; grid-row: 1/2; }
.bmc-channels    { grid-column: 4/5; grid-row: 2/3; }
.bmc-segments    { grid-column: 5/6; grid-row: 1/3; }
.bmc-cost        { grid-column: 1/3; grid-row: 3/4; background: var(--linen); }
.bmc-revenue-row { grid-column: 3/6; grid-row: 3/4; background: var(--linen); }

.bi-cta-section {
    border-radius: var(--radius-xl);
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
    text-align: center;
    background: var(--bark);
    border: 1px solid var(--bark);
}

.bi-cta-inner { max-width: 600px; margin: 0 auto; }
.bi-cta-inner .eyebrow { color: var(--ash-light); }
.bi-cta-inner h2 { color: var(--cloud); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.bi-cta-inner p  { color: rgba(245,242,237,0.72); margin-bottom: 28px; }

.bi-cta-btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 40px;
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    background: var(--cloud);
    color: var(--bark);
    transition: background 0.22s ease, transform 0.2s ease;
}

.bi-cta-btn:hover { background: var(--linen); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .purchase-row { grid-template-columns: auto 84px; row-gap: 12px; }
    .retail-buy-button { grid-column: 1 / -1; width: 100%; }
    .bi-two-col { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-sidebar { position: static; order: -1; }
}

@media (max-width: 900px) {
    .feature-grid,
    .contact-grid,
    .split-section,
    .photo-grid,
    .team-grid,
    .bts-grid { grid-template-columns: 1fr; }

    .photo-large { grid-row: auto; }
    .retail-layout,
    .product-meta-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }

    .bmc-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
    }
    .bmc-partners    { grid-column: 1/2; grid-row: 1/3; }
    .bmc-activities  { grid-column: 2/3; grid-row: 1/2; }
    .bmc-resources   { grid-column: 2/3; grid-row: 2/3; }
    .bmc-value       { grid-column: 3/4; grid-row: 1/3; }
    .bmc-cr          { grid-column: 1/2; grid-row: 3/4; }
    .bmc-channels    { grid-column: 2/3; grid-row: 3/4; }
    .bmc-segments    { grid-column: 3/4; grid-row: 3/4; }
    .bmc-cost        { grid-column: 1/3; grid-row: 4/5; }
    .bmc-revenue-row { grid-column: 3/4; grid-row: 4/5; }
}

@media (max-width: 767px) {
    :root { --nav-h: 62px; }

    .home-sections,
    .about-shell,
    .product-shell,
    .cart-shell,
    .checkout-shell,
    .bi-shell { width: var(--page-w-sm); }

    .render-slider { margin-top: calc(var(--nav-h) + 30px); gap: 8px; }
    .render-track { width: min(92vw, 560px); height: 240px; }
    .slider-control { width: 44px; height: 44px; font-size: 1.2rem; }

    .content-section,
    .text-panel,
    .about-hero,
    .team-section,
    .bi-exec-summary,
    .bi-cta-section { padding: 24px; border-radius: var(--radius-lg); }

    .cart-item-card { grid-template-columns: 1fr; }
    .cart-item-card img { width: 100%; height: 200px; }

    .checkout-card { padding: 20px; border-radius: var(--radius-md); }
    .form-row.two-col,
    .form-row.three-col { grid-template-columns: 1fr; }

    .checkout-steps { padding: 16px 18px; }
    .step-label { display: none; }
    .step-divider { max-width: 28px; margin: 0 8px; }

    .review-item-card { grid-template-columns: 60px 1fr; }
    .review-item-card .item-price { grid-column: 1 / -1; }

    .bi-revenue-inner { flex-direction: column; align-items: center; }
    .bi-donut-wrap { flex: 0 0 150px; height: 150px; }
    .bi-legend { width: 100%; }

    .bmc-grid { grid-template-columns: 1fr 1fr; }
    .bmc-partners,.bmc-activities,.bmc-resources,.bmc-value,
    .bmc-cr,.bmc-channels,.bmc-segments,.bmc-cost,.bmc-revenue-row {
        grid-column: auto; grid-row: auto;
    }

    .section-heading,
    .centered-heading,
    .contact-section { text-align: center; }

    .about-pills,
    .detail-list { justify-content: center; }

    .purchase-row { grid-template-columns: 1fr; }
    .purchase-row select,
    .retail-buy-button { width: 100%; }
}
