/* =========================================================
   VAMM — CRED-accurate dark theme
   Near-black bg · Copper accent · Denton-like serif display
   Fonts: Fraunces (=Denton) / Manrope (=Gilroy) / Overpass labels
   ========================================================= */

:root {
    /* Core — pure near-black like cred.club */
    --bg:             #0A0807;   /* near-black with warm undertone */
    --bg-2:           #121010;   /* alt section */
    --bg-elev:        #1A1614;   /* elevated surface / cards */
    --bg-card:        #1A1614;
    --bg-deep:        #000000;   /* absolute black for cinematic bands */

    /* "Midnight" role re-mapped to near-black tones */
    --midnight:       #000000;
    --midnight-dark:  #000000;
    --midnight-light: #1F1A17;

    /* Accent — terracotta / warm copper (kept as user requested) */
    --gold:           #C07B52;
    --gold-light:     #D9946B;
    --gold-dark:      #9E5F3C;
    --gold-soft:      rgba(192, 123, 82, 0.10);

    --border:         rgba(255, 255, 255, 0.08);
    --border-strong:  rgba(255, 255, 255, 0.18);
    --border-gold:    rgba(192, 123, 82, 0.32);

    /* Text — cool white reads like CRED on pure black */
    --text:           #FFFFFF;
    --text-muted:     rgba(255, 255, 255, 0.62);
    --text-dim:       rgba(255, 255, 255, 0.35);

    /* Cream ramps — retained for legacy selectors */
    --cream:          #FFFFFF;
    --cream-muted:    rgba(255, 255, 255, 0.68);
    --cream-dim:      rgba(255, 255, 255, 0.42);

    /* CRED type stack — Fraunces stands in for Denton, Manrope for Gilroy */
    --ff-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --ff-sans:    'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff-label:   'Overpass', 'Manrope', sans-serif;
    --ff-mono:    'Overpass Mono', 'JetBrains Mono', monospace;

    /* Layout */
    --container: 1320px;
    --container-sm: 960px;
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-chunky: 28px;  /* CRED-chunk cards */
    --radius-full: 999px;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-neopop: cubic-bezier(0.2, 0.8, 0.2, 1);
    --t-fast: 0.25s var(--ease);
    --t-mid:  0.5s var(--ease);
    --t-slow: 0.9s var(--ease);

    /* Shadows & glows — dark theme, deeper & warmer */
    --glow-gold:      0 0 52px rgba(192, 123, 82, 0.28);
    --shadow-card:    0 24px 52px -18px rgba(0, 0, 0, 0.7);
    --shadow-soft:    0 6px 18px rgba(0, 0, 0, 0.4);

    /* NeoPOP — chunky solid offset, CRED-signature */
    --shadow-neopop:     6px 6px 0 0 rgba(0, 0, 0, 0.92);
    --shadow-neopop-lg:  10px 10px 0 0 rgba(0, 0, 0, 0.92);
    --shadow-neopop-gold: 6px 6px 0 0 #9E5F3C;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg);
}

body {
    font-family: var(--ff-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

img, svg, video { max-width: 100%; display: block; }
picture { display: block; }

a { color: var(--gold-light); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold); }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; }

::selection { background: var(--gold); color: var(--cream); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--midnight-light); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---------- Typography — CRED-accurate ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--ff-display);
    font-weight: 700;     /* CRED Denton-Bold = 700 */
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--text);
    font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
}

/* h1/h2 tuned so a 3-line hero fits in one viewport */
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.6vw, 3.75rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.06; }
h3 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); font-weight: 600; letter-spacing: -0.005em; }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; font-family: var(--ff-sans); letter-spacing: -0.005em; }

/* Serif body run — used for CRED-style word-by-word reveal paragraphs */
.serif-body {
    font-family: var(--ff-display);
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--text);
}

p { color: var(--text-muted); font-family: var(--ff-sans); }

/* Small UPPERCASE labels — CRED's signature Overpass 36px / 3.5px letter-spacing */
.eyebrow {
    font-family: var(--ff-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;   /* ~3.5px at 16px base scaled down */
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.eyebrow::before {
    content: '';
    width: 36px; height: 1px;
    background: var(--gold);
}

/* Large uppercase section label — the "A REFLECTION OF CLARITY" pattern */
.cred-label {
    font-family: var(--ff-label);
    font-weight: 600;
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text);
    display: block;
    margin-bottom: 1.75rem;
}

.italic-accent {
    font-style: italic;
    color: var(--gold);
    font-family: var(--ff-display);
    font-weight: 400;
}

.display-number {
    font-family: var(--ff-display);
    font-size: clamp(4rem, 11vw, 9rem);
    color: var(--gold);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}
.container-sm {
    width: 100%;
    max-width: var(--container-sm);
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 8rem 0; position: relative; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 12rem 0; }

.section-title { max-width: 860px; margin-bottom: 5rem; }
.section-title p { font-size: 1.1rem; margin-top: 1.5rem; max-width: 640px; line-height: 1.7; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Background ambient ---------- */
.ambient-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.ambient-glow::before,
.ambient-glow::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.22;
    animation: blobDrift 30s ease-in-out infinite;
}
.ambient-glow::before {
    width: 600px; height: 600px;
    background: var(--gold);
    top: -200px; right: -200px;
    opacity: 0.05;
}
.ambient-glow::after {
    width: 500px; height: 500px;
    background: var(--midnight-light);
    bottom: -150px; left: -150px;
    animation-delay: -10s;
    opacity: 0.08;
}
@keyframes blobDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(80px, 60px); }
}

/* ---------- Buttons — CRED NeoPOP (chunky offset shadow) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 2.2rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    border-radius: var(--radius-md);
    transition: transform 0.22s var(--ease-neopop), box-shadow 0.22s var(--ease-neopop), background 0.22s var(--ease-neopop), color 0.22s var(--ease-neopop);
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    font-family: var(--ff-sans);
    line-height: 1;
    white-space: nowrap;
    isolation: isolate;
}
.btn::after {
    /* subtle inner sheen (pseudomorphism) */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 38%);
    pointer-events: none;
    z-index: -1;
}

.btn-primary {
    background: var(--gold);
    color: #1C1712;
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-neopop);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: #1C1712;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.92);
}
.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.92);
}

.btn-gold {
    background: var(--gold);
    color: #1C1712;
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-neopop);
}
.btn-gold:hover {
    background: var(--gold-light);
    color: #1C1712;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.92);
}
.btn-gold:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.92);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-neopop);
}
.btn-outline:hover {
    background: var(--bg-elev);
    color: var(--gold-light);
    border-color: var(--gold);
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.92);
}
.btn-outline:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.92);
}

/* Ghost is used inside dark hero sections — keep light translucent */
.btn-ghost {
    background: rgba(237, 228, 211, 0.08);
    color: var(--cream);
    border-color: rgba(237, 228, 211, 0.28);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(237, 228, 211, 0.14); border-color: var(--cream); color: var(--cream); }

.btn .arrow {
    width: 14px; height: 10px;
    position: relative;
    transition: transform var(--t-fast);
}
.btn .arrow::after {
    content: '→';
    position: absolute;
    top: -4px; right: 0;
    font-size: 1.1em;
}
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--bg-deep);
    color: var(--cream-dim);
    font-size: 0.78rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(237, 228, 211, 0.08);
    position: relative;
    z-index: 50;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.topbar-left, .topbar-right { display: flex; gap: 1.75rem; align-items: center; }
.topbar a { color: var(--cream-dim); }
.topbar a:hover { color: var(--gold-light); }
.topbar-divider { width: 1px; height: 14px; background: rgba(237, 228, 211, 0.15); }

/* ---------- Nav — CRED-style, sits over video bg with blur ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border-bottom: 1px solid var(--border);
    transition: all var(--t-mid);
}
.nav.scrolled {
    background: rgba(0, 0, 0, 0.88);
    border-bottom-color: var(--border-strong);
    box-shadow: var(--shadow-soft);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;     /* keep horizontal breathing room — was 0 which collapsed inherited container padding */
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--text);
    text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-logo {
    height: 73px;
    width: auto;
    max-width: 182px;
    display: block;
    object-fit: contain;
    transition: transform var(--t-mid);
    flex-shrink: 0;
}
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.05); }

.brand-wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    gap: 6px;
    margin-left: 0.5rem;
}
.brand-wordmark .name {
    font-family: var(--ff-display);
    font-size: 1.55rem;
    color: var(--text);
    font-weight: 600;                     /* slightly softer than 700 */
    letter-spacing: -0.005em;             /* tighten serif display a touch */
    line-height: 1;
    white-space: nowrap;
    font-variation-settings: 'opsz' 72;
}
/* "MINES AND MINERALS" — clean editorial uppercase subtitle.
   Fixed tracking, light weight, letter-spacing tuned to read at small size
   without gap-stretching that justify-layout produced. */
.brand-wordmark .tag {
    font-family: var(--ff-label);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--gold-light);
    letter-spacing: 0.32em;               /* generous, even tracking */
    padding-left: 0.16em;                 /* visual optical-adjust after letter-spacing */
    line-height: 1.1;
    white-space: nowrap;
}

/* Logo is already gold-on-transparent — no filter needed.
   Just sit it cleanly on the dark nav/footer backgrounds. */
.brand-logo { filter: none; opacity: 1; }
.footer-brand .brand-logo { filter: none; opacity: 1; }
.footer-brand .brand-wordmark .name { color: var(--cream); }
.footer-brand .brand-wordmark .tag { color: var(--gold-light); }
.mobile-menu .brand-logo { filter: none; }

/* Legacy elements (kept so nothing breaks if JS hasn't run yet) */
.brand-mark, .brand-text { display: none; }

@media (max-width: 1024px) {
    .brand-logo { height: 62px; max-width: 143px; }
    .brand-wordmark .name { font-size: 1.35rem; }
    .brand-wordmark .tag { font-size: 0.6rem; letter-spacing: 0.16em; }
}
@media (max-width: 640px) {
    .brand { gap: 0.45rem; }
    .brand-logo { height: 52px; max-width: 120px; }
    .brand-wordmark { gap: 2px; }
    .brand-wordmark .name { font-size: 1rem; }
    .brand-wordmark .tag { font-size: 0.5rem; letter-spacing: 0.12em; }
}
@media (max-width: 380px) {
    .brand-logo { height: 47px; max-width: 104px; }
    .brand-wordmark .name { font-size: 0.9rem; }
    .brand-wordmark .tag { font-size: 0.46rem; }
}

.nav-menu {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all var(--t-mid);
    transform: translateX(-50%);
}
.nav-menu > li:hover > a { color: var(--text); }
.nav-menu > li:hover > a::after,
.nav-menu > li > a.active::after { width: 100%; }
.nav-menu > li > a.active { color: var(--gold); }

.caret { font-size: 0.5rem; opacity: 0.5; transition: transform var(--t-fast); }
.has-dropdown:hover .caret { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    left: -1.5rem;
    min-width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--t-mid);
    box-shadow: var(--shadow-card);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text-muted);
    font-size: 0.87rem;
    border-radius: 6px;
    transition: all var(--t-fast);
}
.dropdown li a:hover {
    background: var(--gold-soft);
    color: var(--gold);
    padding-left: 1.5rem;
}

.nav-cta { display: flex; gap: 0.75rem; align-items: center; }
.menu-toggle { display: none; }

/* ---------- Mega menu ---------- */
.has-mega { position: static; }
.has-mega > a { display: inline-flex; align-items: center; gap: 0.3rem; }

.mega-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: min(860px, calc(100vw - 2rem));
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-mid), transform var(--t-mid), visibility var(--t-mid);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(192,123,82,0.06);
    z-index: 101;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
}
.mega-item {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    transition: background var(--t-fast);
    align-items: flex-start;
    color: var(--text);
    text-decoration: none;
}
.mega-item:hover {
    background: var(--bg-elev);
    color: var(--text);
}
.mega-icon {
    width: 44px; height: 44px;
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.mega-item:hover .mega-icon {
    background: rgba(192, 123, 82, 0.18);
    border-color: var(--gold);
    transform: scale(1.05);
}
.mega-icon svg { width: 22px; height: 22px; }
.mega-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.mega-title {
    font-family: var(--ff-sans);
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.mega-desc {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mega-all {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--gold);
    font-family: var(--ff-sans);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color var(--t-fast), letter-spacing var(--t-fast);
}
.mega-all:hover { color: var(--gold-light); letter-spacing: 0.24em; }

@media (max-width: 1200px) {
    .mega-menu { width: min(760px, calc(100vw - 2rem)); padding: 1.25rem; }
    .mega-title { font-size: 0.9rem; }
    .mega-desc { font-size: 0.75rem; }
}
@media (max-width: 1024px) {
    /* Mobile uses flat list; hide mega on nav entirely (nav is hidden anyway) */
    .mega-menu { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 88%;
    max-width: 420px;
    height: 100vh;
    background: var(--bg-deep);
    color: var(--cream);
    padding: 6rem 2rem 2rem;
    transition: right var(--t-mid);
    overflow-y: auto;
    z-index: 99;
    border-left: 1px solid rgba(237, 228, 211, 0.12);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.25);
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu ul li a {
    display: block;
    padding: 1rem 0;
    color: var(--cream);
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(237, 228, 211, 0.1);
    font-family: var(--ff-display);
}
.mobile-menu ul li a:hover { color: var(--gold-light); padding-left: 0.5rem; }

/* ---------- Mobile menu accordion (native <details> - no JS needed) ---------- */
.mobile-menu li.has-sub { list-style: none; }
.mobile-menu li.has-sub details { width: 100%; }
.mobile-menu li.has-sub summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--cream);
    font-size: 1.2rem;
    font-family: var(--ff-display);
    border-bottom: 1px solid rgba(237, 228, 211, 0.1);
    -webkit-tap-highlight-color: transparent;
}
.mobile-menu li.has-sub summary::-webkit-details-marker { display: none; }
.mobile-menu li.has-sub summary::marker { display: none; content: ''; }
.mobile-menu li.has-sub summary .caret {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1;
    background: rgba(192, 123, 82, 0.12);
    border: 1px solid rgba(192, 123, 82, 0.4);
    border-radius: 50%;
    transition: transform 0.25s ease;
    margin-left: 1rem;
}
.mobile-menu li.has-sub details[open] summary .caret { transform: rotate(180deg); }
.mobile-menu li.has-sub .sub-list {
    list-style: none;
    padding: 0.4rem 0 0.6rem 0.5rem;
    margin: 0;
    border-bottom: 1px solid rgba(237, 228, 211, 0.1);
    background: rgba(192, 123, 82, 0.04);
    border-left: 2px solid rgba(192, 123, 82, 0.35);
    margin-left: 0.25rem;
    display: flex; flex-direction: column;
}
.mobile-menu li.has-sub .sub-list li { list-style: none; }
.mobile-menu li.has-sub .sub-list li a {
    display: block;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    font-family: var(--ff-sans);
    color: var(--cream-muted);
    border-bottom: none;
    letter-spacing: 0.01em;
}
.mobile-menu li.has-sub .sub-list li.parent-link a { color: var(--gold-light); font-weight: 600; }
.mobile-menu li.has-sub .sub-list li a:hover { color: var(--gold); padding-left: 1.4rem; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 3rem;
    overflow: hidden;
    isolation: isolate;
    color: var(--cream);
}
.hero h1, .hero h2 { color: var(--cream); }
.hero p { color: var(--cream-muted); }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--bg-deep);
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    filter: grayscale(0.25) contrast(1.02);
    animation: slowZoom 20s ease-in-out infinite alternate;
}
.hero-bg img.loaded { opacity: 0.55; }
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28,23,18,0.45) 0%, rgba(28,23,18,0.70) 50%, rgba(28,23,18,0.96) 100%),
        linear-gradient(90deg, rgba(28,23,18,0.78) 0%, transparent 62%);
    z-index: 1;
}
@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text { max-width: 880px; }
.hero-text h1 {
    font-size: clamp(2.25rem, 5.4vw, 4.75rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.02;
    margin-bottom: 1.5rem;
    color: var(--cream);
}
.hero-text h1 em, .hero-text h1 .italic-accent {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
}
.hero-text .italic-accent { color: var(--gold-light); }
.hero-eyebrow { color: var(--gold-light); }
.hero-eyebrow::before { background: var(--gold-light); }
.hero-text h1 .line { display: block; overflow: hidden; }
.hero-text h1 .line-inner {
    display: inline-block;
    transform: translateY(105%);
    opacity: 0;
    animation: heroLineReveal 1.3s var(--ease) forwards;
}
.hero-text h1 .line:nth-child(1) .line-inner { animation-delay: 0.2s; }
.hero-text h1 .line:nth-child(2) .line-inner { animation-delay: 0.35s; }
.hero-text h1 .line:nth-child(3) .line-inner { animation-delay: 0.5s; }
@keyframes heroLineReveal {
    to { transform: translateY(0); opacity: 1; }
}

.hero-eyebrow {
    opacity: 0;
    animation: heroFade 1s var(--ease) 0.1s forwards;
}
.hero-lede {
    font-size: 1.05rem;
    color: var(--cream-muted);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0;
    animation: heroFade 1s var(--ease) 0.85s forwards;
}
.hero-lede strong { color: var(--cream); font-weight: 500; }
.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0;
    animation: heroFade 1s var(--ease) 1.05s forwards;
}
@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    opacity: 0;
    animation: heroFade 1s var(--ease) 1.2s forwards;
}
.hero-side-stat {
    padding: 1.5rem;
    background: rgba(237, 228, 211, 0.06);
    border: 1px solid rgba(237, 228, 211, 0.18);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--t-mid);
}
.hero-side-stat:hover {
    background: rgba(237, 228, 211, 0.12);
    border-color: var(--gold-light);
    transform: translateX(-4px);
}
.hero-side-stat .stat-num {
    font-family: var(--ff-display);
    font-size: 2.5rem;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 0.25rem;
    font-weight: 400;
}
.hero-side-stat .stat-num::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold-light);
    margin-top: 0.5rem;
    opacity: 0.6;
}
.hero-side-stat .stat-lbl {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream-dim);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    font-weight: 500;
    opacity: 0;
    animation: heroFade 1s var(--ease) 1.4s forwards;
}
.hero-scroll::after {
    content: '';
    width: 1px; height: 40px;
    background: linear-gradient(var(--gold-light), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.2); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Marquee tagline ---------- */
.marquee {
    background: var(--bg-deep);
    color: var(--cream);
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(237, 228, 211, 0.1);
    border-bottom: 1px solid rgba(237, 228, 211, 0.1);
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 45s linear infinite;
    white-space: nowrap;
    font-family: var(--ff-display);
    font-size: 1.65rem;
    font-style: italic;
    color: var(--gold-light);
    opacity: 0.85;
}
.marquee-track > span {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
}
.marquee-track > span::after {
    content: '✦';
    color: var(--gold-light);
    font-size: 0.7em;
    font-style: normal;
}
@keyframes marqueeScroll {
    to { transform: translateX(-50%); }
}

/* ---------- Pillars (CRED-style bold cards) ---------- */
.pillars {
    padding: 7rem 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.pillars.has-video > .container { position: relative; z-index: 2; }
.pillars-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    transition: opacity 1.4s ease;
    filter: grayscale(0.15) contrast(1.08) saturate(1.05);
}
.pillars-video.loaded { opacity: 0.85; }
.pillars-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        /* warm copper glow — adds cinematic depth without blocking video */
        radial-gradient(ellipse at 30% 30%, rgba(192, 123, 82, 0.18) 0%, transparent 55%),
        /* top-darker gradient just for h2 legibility; mid-section stays open so video shows */
        linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}
/* Section title gets a subtle shadow so it stays crisp over any video frame */
.pillars.has-video .section-title h2,
.pillars.has-video .section-title .eyebrow {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}
/* Pillar cards — glassy frosted tiles keep body text perfectly readable */
.pillars.has-video .pillar {
    background: rgba(26, 22, 20, 0.58);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.pillars-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.pillar {
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--t-mid);
    cursor: default;
    box-shadow: var(--shadow-soft);
}
.pillar::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--t-mid);
}
.pillar:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}
.pillar:hover::before { opacity: 1; }
.pillar-label {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.pillar h3 { font-size: 1.8rem; margin-bottom: 1rem; line-height: 1.15; }
.pillar p { font-size: 0.95rem; line-height: 1.7; }

/* ---------- Stats strip ---------- */
.stats-strip {
    padding: 6rem 0;
    background: var(--bg-deep);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(192, 123, 82, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(61, 52, 44, 0.45) 0%, transparent 40%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.stat-item {
    padding: 0 1.5rem;
    position: relative;
    border-left: 1px solid rgba(237, 228, 211, 0.15);
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-number {
    font-family: var(--ff-display);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    color: var(--cream);
    line-height: 1;
    margin-bottom: 0.85rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    opacity: 0.95;
}
.stat-number .unit { color: var(--gold-light); font-size: 0.5em; font-weight: 300; margin-left: 6px; letter-spacing: 0; }
.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-dim);
    font-weight: 500;
}

/* ---------- Image sections (full bleed with overlay) ---------- */
.image-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.image-section-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.image-section-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease, transform 20s linear;
    filter: grayscale(0.15);
}
.image-section-bg img.loaded { opacity: 0.35; }
.image-section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28,23,18,0.65), rgba(28,23,18,0.85)),
        linear-gradient(90deg, rgba(28,23,18,0.7) 0%, transparent 60%);
}

/* ---------- Sticky storytelling section ---------- */
.story-section { background: var(--bg); padding: 4rem 0 8rem; }
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}
.story-content { position: relative; }
.story-media {
    position: sticky;
    top: 10vh;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}
.story-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.6s ease, transform 0.6s ease;
    filter: grayscale(0.15);
}
.story-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(28, 23, 18, 0.65));
}

.story-step {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.story-step:last-child { border-bottom: none; }
.story-step-num {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 500;
}
.story-step h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.story-step p { font-size: 1.02rem; line-height: 1.7; max-width: 440px; }

/* ---------- About / split section ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-deep);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}
.about-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease, transform 1.2s ease;
    filter: grayscale(0.2) contrast(1.05);
}
.about-image img.loaded { opacity: 0.9; }
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(28, 23, 18, 0.55));
    pointer-events: none;
}
.about-image-tag {
    position: absolute;
    bottom: 2rem; left: 2rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    background: rgba(28, 23, 18, 0.82);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border: 1px solid rgba(217, 148, 107, 0.45);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    z-index: 2;
}

.about-copy .body {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.08rem;
    line-height: 1.75;
}
.about-copy .body strong { color: var(--text); font-weight: 500; }

.badge-row { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.badge-item { display: flex; gap: 1rem; align-items: center; }
.badge-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    color: var(--gold);
    flex-shrink: 0;
}
.badge-item-text .label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.badge-item-text .value {
    color: var(--text);
    font-weight: 500;
    margin-top: 2px;
}

/* ---------- Vertical / Feature cards ---------- */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.vertical-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--t-mid);
    position: relative;
    overflow: hidden;
}
.vertical-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-mid);
}
.vertical-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    background: var(--bg-elev);
    box-shadow: var(--shadow-card);
}
.vertical-card:hover::before { transform: scaleX(1); }
.vertical-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    margin-bottom: 2rem;
    transition: transform var(--t-mid);
}
.vertical-card:hover .vertical-icon { transform: scale(1.1); }
.vertical-num {
    position: absolute;
    top: 2rem; right: 2rem;
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.18em;
}
.vertical-card h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: var(--ff-display);
    font-weight: 500;
    color: var(--text);
}
.vertical-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ---------- Products ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t-mid);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}
.product-thumb {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: var(--midnight);
}
.product-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease, transform 0.6s ease;
    filter: grayscale(0.1);
}
.product-thumb img.loaded { opacity: 0.6; }
.product-card:hover .product-thumb img { transform: scale(1.08); }
.product-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 23, 18, 0.3) 0%, rgba(28, 23, 18, 0.8) 100%);
}
.product-tag {
    position: absolute;
    top: 1rem; left: 1rem;
    font-family: var(--ff-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(28, 23, 18, 0.78);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(217, 148, 107, 0.45);
    z-index: 2;
    font-weight: 500;
}
.product-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.product-body h4 {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.product-body p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.product-origin {
    display: flex;
    gap: 0.4rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.origin-chip {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(237, 228, 211, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-weight: 500;
}

/* ---------- Reach ---------- */
.reach-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}
.reach-section .section-title { text-align: center; margin-inline: auto; }
.reach-section .section-title .eyebrow { justify-content: center; }

.reach-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.reach-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.reach-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.reach-image img.loaded { opacity: 0.4; }
.reach-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(28, 23, 18, 0.72));
}
.reach-image svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 2;
}

.reach-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.region-card {
    padding: 1.75rem;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    transition: all var(--t-mid);
}
.region-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-elev);
    transform: translateY(-3px);
}
.region-card h5 {
    font-family: var(--ff-sans);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.region-card p { font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-2); }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.testi-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--t-mid);
}
.testi-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem; left: 1.25rem;
    font-family: var(--ff-display);
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}
.testi-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-elev);
    transform: translateY(-4px);
}
.testi-quote {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    font-weight: 400;
}
.testi-meta { display: flex; align-items: center; gap: 1rem; }
.testi-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testi-who .name { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.testi-who .role { color: var(--text-dim); font-size: 0.8rem; margin-top: 2px; }

/* ---------- Clients ticker ---------- */
.clients-section { background: var(--bg); }
.clients-ticker {
    overflow: hidden;
    padding: 3rem 0;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.clients-track {
    display: flex;
    gap: 5rem;
    animation: marqueeScroll 50s linear infinite;
    white-space: nowrap;
    align-items: center;
}
.clients-track:hover { animation-play-state: paused; }
.clients-track span {
    font-family: var(--ff-display);
    font-size: 1.85rem;
    color: var(--text);
    opacity: 0.5;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all var(--t-fast);
    cursor: default;
}
.clients-track span:hover { opacity: 1; color: var(--gold); }

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}
.client-cell {
    aspect-ratio: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    transition: all var(--t-mid);
    font-family: var(--ff-display);
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: transparent;
}
.client-cell:hover {
    background: var(--gold-soft);
    color: var(--gold);
    transform: scale(1.03);
    z-index: 1;
    border-color: var(--border-gold);
}

/* ---------- Final CTA (full-bleed image) ---------- */
.cta-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.cta-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.cta-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.cta-hero-bg img.loaded { opacity: 0.32; }
.cta-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28, 23, 18, 0.65), rgba(28, 23, 18, 0.92)),
        linear-gradient(90deg, rgba(28, 23, 18, 0.78) 0%, transparent 60%);
}
.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.cta-inner h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    color: var(--cream);
}
.cta-hero .italic-accent { color: var(--gold-light); }
.cta-hero .eyebrow { color: var(--gold-light); }
.cta-hero .eyebrow::before { background: var(--gold-light); }

/* Forest strip CTA for interior pages */
.cta-strip {
    background: linear-gradient(135deg, var(--midnight), var(--midnight-dark));
    color: var(--cream);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 L95 85 L5 85 Z' fill='none' stroke='%238B6F3E' stroke-width='0.4' opacity='0.45'/%3E%3C/svg%3E");
    background-size: 60px;
    opacity: 0.4;
}
.cta-strip .cta-inner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    max-width: none;
}
.cta-strip .cta-inner-row h2 { color: var(--cream); max-width: 720px; font-size: clamp(1.8rem, 3.5vw, 2.75rem); margin-bottom: 0; }
.cta-strip .eyebrow { color: var(--gold-light); }
.cta-strip .eyebrow::before { background: var(--gold-light); }
.cta-strip .italic-accent { color: var(--gold-light); }

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-deep);
    color: var(--cream-muted);
    padding: 6rem 0 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    opacity: 0.5;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand:hover { color: var(--cream); }
.footer-brand .brand-text .name { color: var(--cream); }
.footer-brand .brand-text .sub { color: var(--gold-light); }
.footer-brand .brand-mark { color: var(--gold-light); }
.footer-brand p {
    color: var(--cream-muted);
    margin-top: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 340px;
}
.footer-col h5 {
    font-family: var(--ff-sans);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a {
    color: var(--cream-muted);
    font-size: 0.9rem;
    transition: all var(--t-fast);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact p { color: var(--cream-muted); font-size: 0.88rem; margin-bottom: 0.5rem; line-height: 1.65; }
.footer-contact a { color: var(--gold-light); }
.footer-contact a:hover { color: var(--cream); }

.socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social-btn {
    width: 40px; height: 40px;
    border: 1px solid rgba(237, 228, 211, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--cream-muted);
    border-radius: 50%;
    transition: all var(--t-fast);
}
.social-btn:hover {
    background: var(--gold-light);
    color: var(--bg-deep);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}
.social-btn svg { width: 15px; height: 15px; }

.footer-bottom {
    border-top: 1px solid rgba(237, 228, 211, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--cream-dim);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom a { color: var(--cream-dim); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Page header (interior pages — dark forest hero) ---------- */
.page-header {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
    color: var(--cream);
    isolation: isolate;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.page-header-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
    filter: grayscale(0.35) contrast(1.02);
}
.page-header-bg img.loaded { opacity: 0.42; }
.page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,23,18,0.55), rgba(28,23,18,0.95));
}
.breadcrumb {
    font-size: 0.8rem;
    color: var(--cream-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--cream-dim); }
.page-header h1 {
    position: relative;
    z-index: 1;
    max-width: 900px;
    font-size: clamp(2.75rem, 6.5vw, 5.5rem);
    font-weight: 400;
    color: var(--cream);
}
.page-header .eyebrow { color: var(--gold-light); }
.page-header .eyebrow::before { background: var(--gold-light); }
.page-header .italic-accent { color: var(--gold-light); }
.page-header .subtitle {
    color: var(--cream-muted);
    margin-top: 1.5rem;
    max-width: 760px;
    font-size: 1.15rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ---------- Feature list ---------- */
.feature-list { display: grid; gap: 1rem; }
.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-mid);
}
.feature-item:hover {
    transform: translateX(6px);
    border-color: var(--border-gold);
    background: var(--bg-elev);
}
.feature-item-num {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
    font-weight: 500;
}
.feature-item h4 { margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--text); }
.feature-item p { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); }

/* ---------- Forms ---------- */
.form-wrap {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0.95rem 1.1rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-elev);
    box-shadow: 0 0 0 4px rgba(192, 123, 82, 0.14);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 9px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(var(--gold), transparent);
}
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem; top: 0.4rem;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--gold);
    transition: all var(--t-mid);
}
.timeline-item:hover::before {
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(192, 123, 82, 0.18);
}
.timeline-item h4 { margin-bottom: 0.5rem; color: var(--text); }
.timeline-item p { font-size: 0.95rem; color: var(--text-muted); }

/* ---------- Accordion ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 0;
    font-family: var(--ff-display);
    font-size: 1.35rem;
    color: var(--text);
    text-align: left;
    transition: color var(--t-fast);
    font-weight: 500;
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-trigger .plus {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all var(--t-fast);
    border-radius: 50%;
}
.accordion-item.open .plus {
    transform: rotate(45deg);
    background: var(--gold);
    color: var(--bg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-mid);
}
.accordion-content-inner {
    padding: 0 0 1.75rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 1.02rem;
}
.accordion-item.open .accordion-content { max-height: 400px; }

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t-mid);
}
.blog-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}
.blog-thumb {
    aspect-ratio: 16/10;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}
.blog-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease, transform 0.6s ease;
    filter: grayscale(0.15);
}
.blog-thumb img.loaded { opacity: 0.65; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 23, 18, 0.2) 0%, rgba(28, 23, 18, 0.75));
}
.blog-body { padding: 2rem; }
.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}
.blog-card h4 { margin-bottom: 0.75rem; line-height: 1.3; font-family: var(--ff-display); font-weight: 500; }
.blog-card p { font-size: 0.92rem; line-height: 1.65; }
.blog-card .read-more {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* ---------- Product detail (products.html) ---------- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.92rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.spec-table th, .spec-table td {
    padding: 0.95rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.spec-table thead th {
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    background: var(--bg-2);
}
.spec-table td { color: var(--text-muted); }
.spec-table td:first-child { color: var(--text); font-weight: 500; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--gold-soft); }

.product-detail { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.product-detail:last-child { border-bottom: none; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.product-hero-img {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.product-hero-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.product-hero-img img.loaded { opacity: 0.75; }
.product-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(28,23,18,0.7));
}
.product-hero-tag {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    padding: 6px 14px;
    border: 1px solid rgba(217, 148, 107, 0.45);
    color: var(--gold-light);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 2;
    background: rgba(28,23,18,0.78);
    backdrop-filter: blur(8px);
    font-weight: 500;
    border-radius: var(--radius-full);
}
.product-hero-label {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    z-index: 2;
    font-weight: 500;
}

/* ---------- Group companies ---------- */
.group-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    transition: all var(--t-mid);
    border-radius: var(--radius-lg);
}
.group-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.group-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--gold);
}
.group-mono {
    aspect-ratio: 1;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-2);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.group-mono::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(192, 123, 82, 0.1) 0%, transparent 60%);
}
.group-mono-letter {
    font-family: var(--ff-display);
    font-size: 9rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    font-weight: 400;
}
.group-mono-name {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    text-align: center;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    font-weight: 500;
}

/* ─── Cinematic image variant — used on sister-companies.html ─────── */
.group-card.has-image {
    padding: 0;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
}
.group-card.has-image .group-card-image {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.group-card.has-image .group-card-image::before {
    /* slow ken-burns */
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 1.4s var(--ease);
    z-index: 0;
}
.group-card.has-image:hover .group-card-image::before { transform: scale(1.1); }
.group-card-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10,8,7,0.45) 0%, rgba(10,8,7,0.78) 100%),
        radial-gradient(circle at 30% 30%, rgba(192,123,82,0.15) 0%, transparent 60%);
    z-index: 1;
}
.group-card-image-mark {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    pointer-events: none;
}
.group-card.has-image .group-mono-letter {
    font-size: 11rem;
    color: var(--gold);
    opacity: 0.32;
    text-shadow: 0 4px 36px rgba(0, 0, 0, 0.5);
    line-height: 0.85;
    font-weight: 500;
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.group-card.has-image:hover .group-mono-letter {
    opacity: 0.5;
    transform: scale(1.04);
}
.group-card.has-image .group-mono-name {
    position: static;
    bottom: auto; left: auto; right: auto;
    color: var(--gold-light);
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.group-card.has-image .group-card-body {
    padding: 3rem 3.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 900px) {
    .group-card.has-image { grid-template-columns: 1fr; }
    .group-card.has-image .group-card-image { min-height: 240px; }
    .group-card.has-image .group-mono-letter { font-size: 7rem; }
    .group-card.has-image .group-card-body { padding: 2rem 1.75rem; }
}

.group-tag {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* ---------- Featured blog ---------- */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border);
    margin-bottom: 4rem;
    align-items: center;
    border-radius: var(--radius-lg);
}
.featured-thumb {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--midnight);
}
.featured-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.featured-thumb img.loaded { opacity: 0.75; }
.featured-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(28, 23, 18, 0.65));
}
.featured-tag {
    position: absolute;
    top: 1.25rem; left: 1.25rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--gold-light);
    background: rgba(28,23,18,0.78);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border: 1px solid rgba(217, 148, 107, 0.45);
    border-radius: var(--radius-full);
    font-weight: 500;
    z-index: 2;
}

/* ---------- Clients sectors ---------- */
.sector-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.sector-row:last-child { border-bottom: none; }
.sector-label h3 { margin-bottom: 0.75rem; }
.sector-label .count {
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.22em;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.sector-clients {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.sector-client {
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    font-family: var(--ff-display);
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all var(--t-mid);
    font-weight: 500;
    border-radius: var(--radius-md);
}
.sector-client:hover {
    background: var(--bg-elev);
    border-color: var(--border-gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-block {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
    transition: all var(--t-mid);
}
.info-block:hover { background: var(--bg-elev); border-color: var(--border-gold); border-left-color: var(--gold); transform: translateY(-2px); }
.info-block h5 {
    font-family: var(--ff-sans);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1rem;
}
.info-block p { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); }
.info-block a { color: var(--text); font-weight: 500; }
.info-block a:hover { color: var(--gold); }
.info-block h4 { color: var(--text); margin-bottom: 0.5rem; }

.office-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--t-mid);
    border-radius: var(--radius-md);
}
.office-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-elev);
    transform: translateY(-4px);
}
.office-tag {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}
.office-card h4 { margin-bottom: 0.75rem; color: var(--text); }
.office-card p { font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }

.map-wrapper {
    aspect-ratio: 16/8;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.map-wrapper svg { width: 100%; height: 100%; display: block; }

/* ---------- Video hero ---------- */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    transition: opacity 1.6s ease;
    filter: grayscale(0.2) contrast(1.05) brightness(0.82);
}
.hero-video.loaded { opacity: 0.72; }
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.95) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.75) 0%, transparent 55%, rgba(0,0,0,0.55) 100%);
}
.hero-video-overlay::after {
    /* subtle copper ambient rim-light — the CRED hall-of-pillars signature */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 50%, rgba(192, 123, 82, 0.18) 0%, transparent 28%),
        radial-gradient(circle at 100% 50%, rgba(192, 123, 82, 0.18) 0%, transparent 28%);
    pointer-events: none;
}

/* ---------- Product page: hero (dark forest) ---------- */
.product-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    padding: 10rem 0 5rem;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-deep);
    color: var(--cream);
}
.product-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.product-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.3s ease, transform 20s ease;
    filter: grayscale(0.25) contrast(1.02);
    animation: slowZoom 24s ease-in-out infinite alternate;
}
.product-hero-bg img.loaded { opacity: 0.55; }

/* Video backgrounds on product hero — hide the fallback img once video is present */
.product-hero-bg:has(.product-hero-video) .product-hero-fallback-img { display: none; }
.product-hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
    filter: grayscale(0.25) contrast(1.05) brightness(0.85);
}
.product-hero-video.loaded,
.product-hero-video[data-loaded] { opacity: 0.55; }
.product-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28,23,18,0.45), rgba(28,23,18,0.95)),
        linear-gradient(90deg, rgba(28,23,18,0.78) 0%, transparent 55%);
    z-index: 1;
}
.product-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.product-hero-category {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(217, 148, 107, 0.15);
    border: 1px solid rgba(217, 148, 107, 0.45);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 1.75rem;
    font-weight: 500;
}
.product-hero-category::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold-light);
    border-radius: 50%;
}
.product-hero h1 {
    font-size: clamp(3rem, 7.5vw, 6rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    color: var(--cream);
}
.product-hero .italic-accent { color: var(--gold-light); }
.product-hero .tagline {
    font-size: 1.2rem;
    color: var(--cream-muted);
    max-width: 600px;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}
.product-hero .breadcrumb { color: var(--cream-muted); }
.product-hero .breadcrumb a { color: var(--gold-light); }

/* ---------- Product: overview ---------- */
.product-overview {
    padding: 7rem 0;
    background: var(--bg);
}
.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}
.overview-copy .body {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.overview-copy .body strong { color: var(--text); font-weight: 500; }

.overview-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.overview-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
    filter: grayscale(0.1);
}
.overview-image img.loaded { opacity: 0.9; }
.overview-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(28,23,18,0.5));
}

/* ---------- Product: applications ---------- */
.applications { background: var(--bg-2); padding: 7rem 0; }
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.app-card {
    padding: 2.25rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-mid);
    position: relative;
    overflow: hidden;
}
.app-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-elev);
    transform: translateY(-4px);
}
.app-card-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    margin-bottom: 1.25rem;
    background: var(--gold-soft);
    border-radius: 50%;
    border: 1px solid var(--border-gold);
}
.app-card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--text); }
.app-card p { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); }

/* ---------- Product: variants ---------- */
.variants-section { padding: 7rem 0; background: var(--bg); }
.variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.variant-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-mid);
    position: relative;
    overflow: hidden;
}
.variant-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--t-mid);
}
.variant-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-elev);
    transform: translateY(-3px);
}
.variant-card:hover::before { transform: scaleY(1); }
.variant-code {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.variant-card h4 { font-size: 1.3rem; margin-bottom: 0.75rem; font-weight: 500; }
.variant-card p { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); margin-bottom: 1rem; }
.variant-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.variant-chip {
    font-size: 0.72rem;
    padding: 4px 12px;
    background: rgba(237, 228, 211, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-weight: 500;
}

/* ---------- Product: quality & certifications ---------- */
.quality-section {
    padding: 7rem 0;
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.quality-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(192, 123, 82, 0.08), transparent 60%);
}
.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
    align-items: center;
}
.cert-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.cert-badge {
    padding: 1.75rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--t-mid);
}
.cert-badge:hover {
    border-color: var(--border-gold);
    background: var(--bg-elev);
    transform: translateY(-3px);
}
.cert-badge-icon {
    width: 56px; height: 56px;
    margin: 0 auto 0.75rem;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 600;
}
.cert-badge-name { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.cert-badge-desc { color: var(--text-dim); font-size: 0.78rem; margin-top: 4px; }

/* ---------- Product: why-choose ---------- */
.why-section { padding: 7rem 0; background: var(--bg); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.why-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-mid);
}
.why-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-elev);
}
.why-card-icon {
    width: 48px; height: 48px;
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border-radius: 12px;
    flex-shrink: 0;
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-weight: 500;
}
.why-card-body h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.why-card-body p { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); }

/* ---------- Category landing pages ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}
.category-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    transition: all var(--t-mid);
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    text-decoration: none;
    color: var(--cream);
}
.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    color: var(--cream);
    box-shadow: var(--shadow-card);
}
.category-card-img {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.category-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease, transform 0.7s ease;
    filter: grayscale(0.2);
}
.category-card-img img.loaded { opacity: 0.65; }
.category-card:hover .category-card-img img { transform: scale(1.08); opacity: 0.8; }
.category-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,23,18,0.3) 0%, rgba(28,23,18,0.72) 55%, rgba(28,23,18,0.96) 100%);
    z-index: 1;
}
.category-card-num {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    color: var(--gold-light);
    letter-spacing: 0.18em;
    z-index: 2;
    background: rgba(28,23,18,0.7);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(217, 148, 107, 0.5);
    font-weight: 500;
}
.category-card-tag {
    font-family: var(--ff-mono);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    z-index: 2;
    position: relative;
}
.category-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--cream);
    z-index: 2;
    position: relative;
}
.category-card p {
    font-size: 0.88rem;
    color: var(--cream-muted);
    line-height: 1.55;
    z-index: 2;
    margin-bottom: 1.25rem;
    position: relative;
}
.category-card .view-more {
    font-family: var(--ff-sans);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    position: relative;
    transition: gap var(--t-fast), color var(--t-fast);
}
.category-card:hover .view-more { gap: 0.85rem; color: var(--gold); }

@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .overview-grid { grid-template-columns: 1fr; gap: 3rem; }
    .apps-grid { grid-template-columns: 1fr 1fr; }
    .quality-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .category-grid,
    .category-grid[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
    .apps-grid { grid-template-columns: 1fr; }
    .cert-badges { grid-template-columns: 1fr; }
}

/* ---------- Team page ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t-mid);
}
.team-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}
.team-photo {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    background: var(--midnight);
}
.team-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease, transform 0.6s ease;
    filter: grayscale(0.4) contrast(1.05);
}
.team-photo img.loaded { opacity: 0.85; }
.team-card:hover .team-photo img { transform: scale(1.05); filter: grayscale(0); }
.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(28,23,18,0.7));
}
.team-body { padding: 2rem; }
.team-role {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.team-card h4 { font-size: 1.4rem; margin-bottom: 0.75rem; font-family: var(--ff-display); font-weight: 500; }
.team-card p { font-size: 0.9rem; line-height: 1.65; color: var(--text-muted); }

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Products showcase (dual marquee of all lines) ---------- */
.products-showcase {
    padding: 6rem 0 5rem;
    background: var(--bg-2);
    overflow: hidden;
    position: relative;
}
.showcase-row {
    overflow: hidden;
    padding: 0.75rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.showcase-row + .showcase-row {
    margin-top: 1rem;
}
.showcase-track {
    display: flex;
    gap: 1.25rem;
    animation: showcaseScroll 55s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.showcase-row.reverse .showcase-track {
    animation-direction: reverse;
    animation-duration: 60s;
}
.showcase-track:hover { animation-play-state: paused; }
@keyframes showcaseScroll {
    to { transform: translateX(-50%); }
}

/* (Previously pinned the showcase for horizontal scroll — now we just let the
   native CSS marquee carry the visual; no JS hijack of the scroll.) */

.showcase-item {
    flex: 0 0 auto;
    width: 230px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: block;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
    text-decoration: none;
    isolation: isolate;
}
.showcase-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 14px 30px -12px rgba(28, 23, 18, 0.35);
}
.showcase-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.showcase-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease, transform 0.8s ease;
    filter: grayscale(0.08);
}
.showcase-img img.loaded { opacity: 0.9; }
.showcase-item:hover .showcase-img img { transform: scale(1.08); opacity: 1; filter: grayscale(0); }
.showcase-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,23,18,0.15) 0%, rgba(28,23,18,0.55) 55%, rgba(28,23,18,0.95) 100%);
    z-index: 1;
}
.showcase-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--ff-mono);
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    background: rgba(28,23,18,0.7);
    backdrop-filter: blur(6px);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(217, 148, 107, 0.4);
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}
.showcase-name {
    position: absolute;
    left: 1.25rem;
    bottom: 1.15rem;
    right: 1.25rem;
    color: var(--cream);
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 500;
    z-index: 2;
    line-height: 1.1;
    letter-spacing: 0.005em;
    white-space: normal;
}
.showcase-item::after {
    content: '→';
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    color: var(--gold-light);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s, transform 0.4s;
    z-index: 3;
}
.showcase-item:hover::after {
    opacity: 0.9;
    transform: translateX(0);
}

@media (max-width: 640px) {
    .products-showcase { padding: 4rem 0 3.5rem; }
    .showcase-item { width: 170px; }
    .showcase-name { font-size: 1.15rem; bottom: 1rem; left: 1rem; right: 1rem; }
    .showcase-category { font-size: 0.56rem; padding: 2px 8px; }
    .showcase-track { animation-duration: 40s; gap: 0.75rem; }
    .showcase-row.reverse .showcase-track { animation-duration: 45s; }
}

/* ---------- Chain section (six disciplines) ---------- */
.chain-section {
    padding: 7rem 0 6rem;
    background: var(--bg);
    position: relative;
}
.chain-section .section-title p {
    max-width: 640px;
    margin-top: 1.25rem;
}
.chain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    position: relative;
}
@media (max-width: 1024px) {
    .chain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .chain-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
}

.chain-step {
    padding: 2.5rem 2rem 2.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.45s var(--ease);
    cursor: default;
}

/* Left gold accent bar — grows on reveal */
.chain-step::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(var(--gold), var(--gold-dark));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1s var(--ease) 0.15s;
}

/* Gold-sweep highlight on reveal */
.chain-step::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        transparent 30%,
        rgba(192, 123, 82, 0.12) 50%,
        transparent 70%);
    transform: translateX(-110%);
    transition: transform 1.4s var(--ease);
    pointer-events: none;
}

/* When the parent .stagger.visible reveals this card, run both animations */
.stagger.visible .chain-step::before { transform: scaleY(1); }
.stagger.visible .chain-step::after  { transform: translateX(110%); }

.chain-step:hover {
    background: var(--bg-elev);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-card);
}

/* Big serif number — hidden, kept in DOM for semantics / screen readers */
.chain-num { display: none; }

/* Chain-tag becomes the hero of each card — big uppercase label with
   terracotta color, soft glow, and a short underline accent. */
.chain-tag {
    font-family: var(--ff-label);
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 24px rgba(192, 123, 82, 0.25);
    transition: transform 0.4s var(--ease), color 0.3s;
}
.chain-tag::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.6rem;
    opacity: 0.7;
    transition: width 0.4s var(--ease), opacity 0.3s;
}
.chain-step:hover .chain-tag {
    color: var(--gold-light);
    transform: translateY(-2px);
}
.chain-step:hover .chain-tag::after {
    width: 56px;
    opacity: 1;
}

.chain-step h3 {
    font-family: var(--ff-display);
    font-size: 1.7rem;
    color: var(--text);
    margin-bottom: 0.85rem;
    line-height: 1.15;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.chain-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .chain-section { padding: 4rem 0 3.5rem; }
    .chain-step { padding: 2rem 1.5rem; }
    .chain-num { font-size: 3.5rem; }
    .chain-step h3 { font-size: 1.35rem; }
}

/* ---------- Extra home-page animations ---------- */

/* Gold particles in hero */
.hero-particle {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--gold-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 6px rgba(217, 148, 107, 0.8);
    animation: particleFloat linear infinite;
    opacity: 0;
}
@keyframes particleFloat {
    0%   { transform: translate3d(0, 100vh, 0); opacity: 0; }
    10%  { opacity: 0.55; }
    90%  { opacity: 0.55; }
    100% { transform: translate3d(30px, -20vh, 0); opacity: 0; }
}

/* Logo breathing — subtle copper glow pulse on the gold logo */
.brand-logo { animation: logoBreath 4s ease-in-out infinite; }
@keyframes logoBreath {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(192, 123, 82, 0)); }
    50%      { filter: drop-shadow(0 0 10px rgba(217, 148, 107, 0.45)); }
}
.footer-brand .brand-logo,
.mobile-menu .brand-logo { animation: none; filter: none; }

/* Split-word reveal for section titles */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; line-height: 1.15; }
.word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s var(--ease);
    will-change: transform;
}
.fade-up.visible .word,
.section-title.visible .word,
.visible > .word,
.visible .word { transform: translateY(0); }
.word:nth-child(1)  { transition-delay: 0.02s; }
.word:nth-child(2)  { transition-delay: 0.08s; }
.word:nth-child(3)  { transition-delay: 0.14s; }
.word:nth-child(4)  { transition-delay: 0.20s; }
.word:nth-child(5)  { transition-delay: 0.26s; }
.word:nth-child(6)  { transition-delay: 0.32s; }
.word:nth-child(7)  { transition-delay: 0.38s; }
.word:nth-child(8)  { transition-delay: 0.44s; }
.word:nth-child(9)  { transition-delay: 0.50s; }
.word:nth-child(10) { transition-delay: 0.56s; }

/* 3D tilt prep for cards */
.category-card, .vertical-card, .pillar {
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--t-mid), border-color var(--t-mid), background var(--t-mid);
}
/* Override the default hover transform so tilt JS wins */
.category-card:hover, .vertical-card:hover, .pillar:hover { transform: none; }

/* Hero ambient aurora shift */
.hero::after {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 70%;
    background: radial-gradient(ellipse at 30% 50%, rgba(192, 123, 82, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 40%, rgba(61, 52, 44, 0.18) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    animation: auroraShift 18s ease-in-out infinite alternate;
}
@keyframes auroraShift {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-40px, 20px); }
    100% { transform: translate(30px, -30px); }
}

/* Stat number pulse on count completion */
.stat-number.counted {
    animation: statPulse 0.6s var(--ease);
}
@keyframes statPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    z-index: 200;
    width: 0;
    transition: width 0.05s linear;
}

/* ---------- Cursor glow (desktop only) ---------- */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 420px; height: 420px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(192, 123, 82, 0.10) 0%, transparent 65%);
    transition: opacity 0.3s;
    mix-blend-mode: multiply;
    opacity: 0;
}
@media (hover: hover) and (min-width: 1024px) {
    .cursor-glow { opacity: 1; }
}

/* ---------- Reveal animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in { opacity: 0; transition: opacity 1.2s ease; }
.fade-in.visible { opacity: 1; }

.stagger > * { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease); }
/* Visible fallback for every child, so items beyond item 16 still show */
.stagger.visible > * { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.stagger.visible > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6)  { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(7)  { transition-delay: 0.47s; }
.stagger.visible > *:nth-child(8)  { transition-delay: 0.54s; }
.stagger.visible > *:nth-child(9)  { transition-delay: 0.61s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.68s; }
.stagger.visible > *:nth-child(11) { transition-delay: 0.75s; }
.stagger.visible > *:nth-child(12) { transition-delay: 0.82s; }
.stagger.visible > *:nth-child(13) { transition-delay: 0.89s; }
.stagger.visible > *:nth-child(14) { transition-delay: 0.96s; }
.stagger.visible > *:nth-child(15) { transition-delay: 1.03s; }
.stagger.visible > *:nth-child(16) { transition-delay: 1.10s; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .nav-menu { gap: 1.2rem; }
    .nav-menu > li > a { font-size: 0.8rem; }
}
@media (max-width: 1024px) {
    h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
    h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
    .section { padding: 5rem 0; }

    .nav-menu { display: none; }
    .nav-cta .btn:not(.menu-toggle) { display: none; }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 32px; padding: 4px;
    }
    .menu-toggle span {
        display: block; height: 2px; width: 24px;
        background: var(--text);
        transition: all var(--t-fast);
    }
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-side { flex-direction: row; flex-wrap: wrap; }
    .hero-side-stat { flex: 1; min-width: 140px; }
    .pillars-inner { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
    .stat-item { border-left: none; padding-left: 0; padding-right: 0; }
    .two-col, .about-split { grid-template-columns: 1fr; gap: 3rem; }
    .three-col, .four-col { grid-template-columns: 1fr 1fr; }
    .verticals-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .reach-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .group-card { grid-template-columns: 1fr; padding: 2rem; }
    .group-mono { max-width: 280px; }
    .featured-post { grid-template-columns: 1fr; padding: 1.5rem; }
    .sector-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .sector-clients { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .story-media { position: relative; top: 0; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .container, .container-sm { padding: 0 1.5rem; }
    .section { padding: 3.75rem 0; }
    .section-title { margin-bottom: 3rem; }

    /* Topbar simpler on phone */
    .topbar { font-size: 0.72rem; padding: 0.5rem 0; }
    .topbar-inner { flex-direction: column; gap: 0.4rem; text-align: center; }
    .topbar-left, .topbar-right { flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.75rem; }
    .topbar-divider { display: none; }

    /* Nav */
    .nav-inner { padding: 0.75rem 1.5rem; gap: 0.75rem; }

    /* Hero */
    .hero { min-height: auto; padding: 4rem 0 3.5rem; }
    .hero-content { gap: 2rem; }
    h1 { font-size: clamp(2.1rem, 9.5vw, 3.25rem); }
    .hero-text { max-width: 100%; }
    .hero-text h1 { margin-bottom: 1.25rem; line-height: 1.05; }
    .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.22em; margin-bottom: 1rem; }
    .hero-lede { font-size: 0.98rem; line-height: 1.65; margin-bottom: 1.75rem; }
    .hero-actions { width: 100%; gap: 0.6rem; }
    .hero-actions .btn { flex: 1; min-width: 0; text-align: center; justify-content: center; padding: 0.9rem 0.75rem; font-size: 0.74rem; letter-spacing: 0.04em; }
    .hero-side { flex-direction: row; gap: 0.65rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem; }
    .hero-side::-webkit-scrollbar { display: none; }
    .hero-side-stat { flex: 0 0 auto; min-width: 128px; padding: 0.9rem 1.1rem; }
    .hero-side-stat .stat-num { font-size: 1.7rem; }
    .hero-side-stat .stat-lbl { font-size: 0.6rem; letter-spacing: 0.16em; }
    .hero-scroll { display: none; }

    /* Sections */
    .three-col, .four-col, .verticals-grid, .blog-grid { grid-template-columns: 1fr; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; margin-bottom: 3rem; }
    .footer-brand { text-align: left; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; font-size: 0.75rem; padding: 1.5rem 0; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .sector-clients { grid-template-columns: repeat(2, 1fr); }

    /* Stats */
    .stats-strip { padding: 3.5rem 0; }
    .stats-grid { gap: 1.75rem 1rem; }
    .stat-item { padding: 0; border-left: none; text-align: left; }
    .stat-number { font-size: 2.4rem; }
    .stat-label { font-size: 0.68rem; }

    /* Cards */
    .pillars-inner { gap: 1rem; }
    .pillar { padding: 1.75rem 1.5rem; }
    .pillar h3 { font-size: 1.4rem; }
    .vertical-card { padding: 1.75rem 1.5rem; }
    .vertical-card h4 { font-size: 1.25rem; }
    .testi-card { padding: 2rem 1.5rem; }
    .testi-quote { font-size: 1.05rem; }
    .app-card { padding: 1.75rem 1.5rem; }
    .variant-card { padding: 1.5rem 1.25rem; }

    /* CTA */
    .cta-strip { padding: 3.5rem 0; }
    .cta-strip .cta-inner-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .cta-strip .cta-inner-row h2 { font-size: 1.5rem; }
    .cta-hero { min-height: 50vh; padding: 4rem 0; }
    .cta-hero h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }

    /* Form */
    .form-wrap { padding: 1.75rem 1.25rem; }

    /* Product page hero */
    .product-hero { min-height: 60vh; padding: 6rem 0 3.5rem; }
    .product-hero h1 { font-size: clamp(2.2rem, 11vw, 3.25rem); }
    .product-hero .tagline { font-size: 1rem; }
    .product-hero-category { font-size: 0.64rem; letter-spacing: 0.2em; padding: 6px 12px; }
    .overview-grid { gap: 2.5rem; }
    .overview-copy .body { font-size: 1rem; }
    .applications, .variants-section, .quality-section, .why-section, .product-overview { padding: 4rem 0; }

    /* Variant subheads */
    .variants-section h3 { font-size: 1.3rem !important; margin: 2.5rem 0 1.5rem !important; }

    /* Buttons across mobile */
    .btn { padding: 0.95rem 1.35rem; font-size: 0.78rem; }

    /* Page header */
    .page-header { padding: 5rem 0 3rem; }
    .page-header h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
    .page-header .subtitle { font-size: 1rem; }
    .breadcrumb { font-size: 0.72rem; margin-bottom: 1rem; }

    /* Group cards */
    .group-card { padding: 1.75rem 1.25rem; gap: 1.5rem; }
    .group-mono-letter { font-size: 6rem; }

    /* Team */
    .team-body { padding: 1.5rem 1.25rem; }

    /* Featured blog */
    .featured-post { padding: 1.25rem; gap: 1.5rem; }
    .featured-post h2 { font-size: 1.4rem !important; }

    /* Map/contact */
    .contact-grid { gap: 1.5rem; }
    .info-block { padding: 1.5rem 1.25rem; }
    .map-wrapper { aspect-ratio: 4/3; }

    /* Tickers */
    .marquee { padding: 1rem 0; }
    .marquee-track { font-size: 1.1rem; gap: 2rem; }
    .marquee-track > span { gap: 2rem; }
    .clients-ticker { padding: 2rem 0; }
    .clients-track span { font-size: 1.3rem; }
    .clients-track { gap: 3rem; }

    /* Dropdown caret hidden on mobile */
    .caret { display: none; }

    /* Category cards — force taller aspect ratio on mobile (inline style 16/10 is too short for phones) */
    .category-card,
    .category-card[style*="16/10"],
    .category-card[style*="4/5"] { aspect-ratio: 4/5 !important; padding: 1.5rem; }
    .category-card h3 { font-size: 1.2rem; line-height: 1.2; }
    .category-card-tag { padding-right: 5.5rem; }
    .category-card p { font-size: 0.82rem; }
    .category-card-num { font-size: 0.62rem; padding: 3px 8px; letter-spacing: 0.14em; top: 1rem; right: 1rem; }
    .category-grid { gap: 1rem; }

    /* Reduce scroll progress prominence */
    .scroll-progress { height: 1.5px; }
}

@media (max-width: 420px) {
    .hero { min-height: 82vh; }
    .hero-side-stat { min-width: 130px; }
    .btn .arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Slow-connection fallback: if main.js detects save-data / 2g / 3g, it
   adds this class and we treat the <video> like a static backdrop showing
   its poster image. Zero bandwidth for the actual video. */
video.skipped-slow-network {
    opacity: 1 !important;
    filter: none !important;
}

/* ─── HOME — Group Companies grid (cinematic image tiles) ────────── */
.group-companies-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}
.group-companies-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(192, 123, 82, 0.08), transparent 60%);
    pointer-events: none;
}
.group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Each tile is a card with a full-bleed dark-tinted image background +
   icon, tag, title, copy stacked at bottom-left. CRED-style. */
.group-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    color: inherit;
    isolation: isolate;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
    text-decoration: none;
}

.group-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.04);
    transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
    filter: grayscale(0.32) brightness(0.55) contrast(1.05);
}

/* Dark gradient overlay for text legibility */
.group-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10,8,7,0.35) 0%, rgba(10,8,7,0.62) 50%, rgba(10,8,7,0.92) 100%),
        radial-gradient(circle at 20% 80%, rgba(192,123,82,0.18) 0%, transparent 55%);
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}

/* Top accent line that draws on hover (CRED-flavoured) */
.group-tile::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
    z-index: 2;
}

.group-tile:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 28px 48px -20px rgba(0, 0, 0, 0.85);
}
.group-tile:hover::after { transform: scaleX(1); }
.group-tile:hover .group-tile-bg {
    transform: scale(1.1);
    filter: grayscale(0.18) brightness(0.62) contrast(1.08);
}

/* Foreground content stack */
.group-tile-content {
    position: relative;
    z-index: 1;
}

.group-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(192, 123, 82, 0.45);
    border-radius: 14px;
    background: rgba(10, 8, 7, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.group-tile-icon svg { width: 30px; height: 30px; }
.group-tile:hover .group-tile-icon {
    transform: translateY(-3px) rotate(-2deg);
    border-color: var(--gold);
    background: rgba(192, 123, 82, 0.12);
    color: #ffe9d4;
}

.group-tile-tag {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.group-tile h4 {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.group-tile p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.group-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--ff-label);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold-light);
    transition: color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}
.group-tile-cta .arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}
.group-tile:hover .group-tile-cta {
    color: #fff;
    letter-spacing: 0.22em;
}
.group-tile:hover .group-tile-cta .arrow { transform: translateX(5px); }

@media (max-width: 768px) {
    .group-grid { grid-template-columns: 1fr; }
    .group-tile { min-height: 340px; padding: 1.75rem 1.5rem; }
    .group-tile-icon { width: 52px; height: 52px; margin-bottom: 1.1rem; }
    .group-tile-icon svg { width: 26px; height: 26px; }
    .group-tile h4 { font-size: 1.3rem; }
}

/* =========================================================
   CRED-inspired polish layer
   NeoPOP chunk offsets, pseudomorphism, oversized numerals
   ========================================================= */

/* Section titles — CRED-accurate tracking */
.section-title,
.section-head h2,
section h2 {
    letter-spacing: -0.01em;
}

/* Video backgrounds on page-headers + cta-hero */
.page-header.has-video .page-header-bg img,
.page-header .page-header-video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
    filter: grayscale(0.3) contrast(1.05) brightness(0.88);
}
.page-header .page-header-video.loaded,
.page-header .page-header-video[data-loaded] { opacity: 0.55; }
.page-header .page-header-video { position: absolute; inset: 0; }

.cta-hero .cta-hero-video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
    filter: grayscale(0.25) contrast(1.04) brightness(0.86);
}
.cta-hero .cta-hero-video.loaded,
.cta-hero .cta-hero-video[data-loaded] { opacity: 0.45; }

/* Ken-burns slow zoom on plain image backgrounds (food-products, etc.) */
.page-header.has-kenburns .page-header-bg img {
    animation: slowZoom 26s ease-in-out infinite alternate;
}
/* slowZoom keyframe already defined elsewhere in this file */

/* CRED word-by-word serif reveal — applied to .serif-reveal paragraphs */
.cred-reveal-section {
    background: var(--bg-deep);
    padding: 12rem 0 14rem;
    position: relative;
    overflow: hidden;
}
.cred-reveal-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 85%, rgba(192, 123, 82, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(192, 123, 82, 0.08) 0%, transparent 55%);
    pointer-events: none;
}
.cred-reveal-section > .container { position: relative; z-index: 1; }

.serif-reveal {
    font-family: var(--ff-display);
    font-weight: 300;
    font-size: clamp(1.8rem, 4.2vw, 3.6rem);
    line-height: 1.18;
    letter-spacing: 0.005em;
    color: var(--text);
    max-width: 1100px;
    font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 0;
}
.serif-reveal .word {
    display: inline-block;
    margin-right: 0.2em;
    color: rgba(255, 255, 255, 0.18);
    transition: color 0.45s var(--ease);
}
.serif-reveal .word.on { color: rgba(255, 255, 255, 0.97); }

/* Hero lede already has .hero-lede — keep consistent */

/* Stat numbers — add a faint terracotta drop-glow on dark backgrounds */
.stats-strip .stat-number { text-shadow: 0 0 42px rgba(192, 123, 82, 0.18); }
.stats-strip .stat-number::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.75rem;
}

/* NeoPOP vertical-card — swap the lift hover for a chunky offset shadow */
.vertical-card {
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 1px 0 rgba(237, 228, 211, 0.04) inset, 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.28s var(--ease-neopop),
                box-shadow 0.28s var(--ease-neopop),
                border-color 0.28s var(--ease-neopop),
                background 0.28s var(--ease-neopop);
}
.vertical-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(0, 0, 0, 0.85),
                0 1px 0 rgba(237, 228, 211, 0.06) inset;
    border-color: var(--gold);
    background: var(--bg-elev);
}

/* NeoPOP product-card — same treatment for the main showcase grid */
.product-card {
    transition: transform 0.28s var(--ease-neopop),
                box-shadow 0.28s var(--ease-neopop),
                border-color 0.28s var(--ease-neopop);
}
.product-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.85);
    border-color: var(--gold);
}

/* Pseudomorphic cert / why cards — soft dual shadow for neumorphic depth */
.cert-badge,
.why-card,
.hero-side-stat {
    box-shadow:
        0 1px 0 rgba(237, 228, 211, 0.05) inset,
        0 18px 34px -22px rgba(0, 0, 0, 0.8);
}

/* Terracotta underline on nav link hover (already there) — chunkier */
.nav-menu > li > a::after { height: 2px; background: var(--gold); }

/* Selection — cream on terracotta */
::selection { background: var(--gold); color: #1C1712; }

/* Brand wordmark reads on dark — bump weight and open tracking slightly */
.brand-wordmark .name { color: var(--text); font-weight: 500; }
.brand-wordmark .tag { color: var(--gold-light); }

/* Hero lede — crisper cream on video */
.hero-lede strong { color: var(--cream); }

/* "VAMM" token highlight — wherever VAMM appears in a heading or body,
   paint it in warm terracotta with a soft copper glow so the brand name
   always pops from its surrounding text. Injected by main.js at load. */
.vamm-highlight {
    color: var(--gold);
    font-weight: inherit;
    letter-spacing: 0.01em;
    text-shadow: 0 0 22px rgba(192, 123, 82, 0.35);
    background: linear-gradient(180deg, transparent 62%, rgba(192, 123, 82, 0.22) 62%, rgba(192, 123, 82, 0.22) 88%, transparent 88%);
    padding: 0 0.08em;
    border-radius: 2px;
    transition: text-shadow 0.3s var(--ease);
}
h1 .vamm-highlight, h2 .vamm-highlight {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 500;
}

/* Footer is deepest charcoal — reaffirm for safety */
.footer, footer { background: var(--bg-deep); color: var(--cream-muted); }

/* Ghost button lives inside hero-bg sections — keep readable */
.btn-ghost { color: var(--cream); border-color: rgba(237, 228, 211, 0.32); }
.btn-ghost:hover {
    background: rgba(237, 228, 211, 0.08);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.6);
}

/* Category cards on home — ensure terracotta tag pill pops on dark imagery */
.category-card-num {
    background: rgba(192, 123, 82, 0.18);
    border: 1px solid rgba(217, 148, 107, 0.55);
    color: var(--gold-light);
}

/* Mobile — shrink NeoPOP offsets so they don't spill off viewport */
@media (max-width: 640px) {
    .btn-primary, .btn-gold, .btn-outline, .btn-ghost {
        box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.85);
    }
    .btn-primary:hover, .btn-gold:hover, .btn-outline:hover, .btn-ghost:hover {
        box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 0.85);
    }
    .vertical-card:hover,
    .product-card:hover {
        transform: translate(-2px, -2px);
        box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 0.85);
    }
}
