:root {
    --color-bg: #f6f5f3;
    --color-surface: #ffffff;
    --color-border: #e1ddd6;
    --color-text: #211d1a;
    --color-text-muted: #6b625a;

    /* Matches the EXPLONAT logo: black wordmark, green + gold X. */
    --color-primary: #14140f;
    --color-primary-dark: #0d0d0d;
    --color-copper: #1c8a44;
    --color-copper-dark: #106830;
    --color-bronze: #d4a017;

    --color-danger: #b3261e;
    --color-success: #2e6b4f;
}


/* An author `display` rule beats the UA stylesheet's [hidden] rule, which silently
   breaks the hidden attribute. This makes hidden mean hidden, everywhere. */
[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--color-copper-dark); text-decoration: none; transition: color 0.15s ease; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Fraunces", "Segoe UI", system-ui, serif; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--color-copper); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-primary); color: #fff; padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.utility-bar { background: var(--color-primary); color: rgba(255,255,255,0.85); font-size: 0.82rem; }
.utility-bar-inner { max-width: 1200px; margin: 0 auto; padding: 7px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.utility-actions { display: flex; gap: 18px; }
.utility-actions a { color: rgba(255,255,255,0.9); font-weight: 500; }
.utility-actions a:hover { color: #fff; text-decoration: none; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 var(--color-border); }
.site-header-stripe { height: 4px; display: flex; }
.site-header-stripe span { flex: 1; }
.site-header-stripe span:nth-child(1) { background: var(--color-copper); }
.site-header-stripe span:nth-child(2) { background: var(--color-bronze); }
.site-header-stripe span:nth-child(3) { background: var(--color-primary); }
.site-header-inner { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 64px; width: auto; filter: contrast(1.15) saturate(1.1); image-rendering: -webkit-optimize-contrast; }
.nav-toggle { display: none; background: none; border: none; color: var(--color-primary); font-size: 1.4rem; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { position: relative; color: var(--color-text); font-weight: 600; font-size: 0.94rem; padding-bottom: 4px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--color-copper); transition: right 0.2s ease; }
.site-nav a:hover { color: var(--color-copper-dark); text-decoration: none; }
.site-nav a:hover::after { right: 0; }
.nav-trade-actions { display: flex; gap: 8px; }
.btn-buy { background: var(--color-copper); color: #fff !important; padding: 8px 16px; border-radius: 6px; font-weight: 700; }
.btn-buy:hover { background: var(--color-copper-dark); text-decoration: none; }
.btn-sell { background: var(--color-bronze); color: var(--color-primary) !important; padding: 8px 16px; border-radius: 6px; font-weight: 700; }
.btn-sell:hover { background: #b98c14; text-decoration: none; }
.nav-cta { background: var(--color-primary); color: #fff !important; padding: 8px 16px; border-radius: 6px; }
.nav-cta:hover { background: #000; }

/* Overlay the topbar/nav directly onto the hero, merged into one visual block. */
.site-topbar--overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 6; }
.site-topbar--overlay .utility-bar { background: rgba(13,13,13,0.35); }
.site-topbar--overlay .site-header { background: transparent; box-shadow: none; position: static; }
.site-topbar--overlay .site-header-stripe { display: none; }
.site-topbar--overlay .site-nav a { color: #fff; }
.site-topbar--overlay .site-nav a:hover { color: var(--color-bronze); }
.site-topbar--overlay .nav-toggle { color: #fff; }
.site-topbar--overlay .brand { background: rgba(255,255,255,0.96); padding: 6px 14px; border-radius: 14px; }
.site-topbar--overlay .utility-note,
.site-topbar--overlay .utility-actions a { color: rgba(255,255,255,0.92); }

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    padding: 190px 24px 150px;
}
.hero-bg-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-slider img { width: 100%; height: 100%; object-fit: cover; display: block; animation: heroZoom 22s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-bg-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero [data-tilt] { transition: transform 0.2s ease-out; will-change: transform; }
.hero-carousel .slider-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(5,5,3,0.45) 0%, rgba(20,20,15,0.35) 100%); }
.hero-bottom-fade { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: clamp(90px, 16vw, 220px); background: linear-gradient(to bottom, rgba(13,13,13,0) 0%, var(--color-primary-dark) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.hero-tagline-2 { display: block; color: var(--color-bronze); font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.04em; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.6rem); font-weight: 800; margin: 0 0 20px; line-height: 1.12; letter-spacing: -0.02em; max-width: 900px; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.hero h1 span { color: var(--color-copper); }
.hero p { color: rgba(255,255,255,0.92); font-size: 1.08rem; max-width: 620px; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; max-width: 900px; }
.hero-stat { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 18px; backdrop-filter: blur(2px); }
.hero-stat strong { display: block; font-size: 1.6rem; color: var(--color-bronze); }
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

.btn { display: inline-block; padding: 11px 22px; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; font-size: 0.95rem; transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-copper); color: #fff; box-shadow: 0 4px 14px rgba(28,138,68,0.28); }
.btn-primary:hover { background: var(--color-copper-dark); text-decoration: none; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(28,138,68,0.32); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; color: #fff; border-color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--color-primary); color: #fff; box-shadow: 0 4px 14px rgba(5,5,3,0.25); }
.btn-dark:hover { background: var(--color-primary-dark); text-decoration: none; color: #fff; transform: translateY(-1px); }

.section { max-width: 1200px; margin: 0 auto; padding: 130px 24px; }
.section-narrow { max-width: 860px; }
.section-title { font-size: 1.8rem; margin-bottom: 14px; }
.section-kicker { color: var(--color-copper-dark); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; display: block; }
.section-lead { color: var(--color-text-muted); max-width: 640px; margin-bottom: 64px; }

.section--commodities-teaser { max-width: 100%; padding-left: 0; padding-right: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.section--commodities-teaser-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section--commodities-teaser .section-kicker { color: #c9a227; }

.section--values { max-width: 100%; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.section--values-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section--values .section-kicker { color: #c9a227; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 38px; box-shadow: 0 2px 10px rgba(19,27,34,0.04); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.card:hover { box-shadow: 0 10px 24px rgba(19,27,34,0.08); transform: translateY(-2px); }
.card-icon { width: 46px; height: 46px; border-radius: 8px; background: #f1e6d8; color: var(--color-copper-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; transition: transform 0.2s ease; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

.commodity-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(19,27,34,0.04); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.commodity-card:hover { box-shadow: 0 14px 32px rgba(19,27,34,0.12); transform: translateY(-3px); }
.commodity-card:hover .commodity-card-media img { transform: scale(1.05); }
.commodity-card-media img { transition: transform 0.4s ease; }
.commodity-card-media { height: 140px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); font-size: 0.8rem; overflow: hidden; position: relative; }
.commodity-card-media img { width: 100%; height: 100%; object-fit: cover; }
.commodity-detail-image { width: 100%; max-height: 380px; object-fit: cover; border-radius: 14px; margin: 18px 0; }
.news-article-image { width: 100%; max-height: 380px; object-fit: cover; border-radius: 14px; margin: 18px 0; }

.listing-board { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.listing-board-title { font-size: 1.2rem; margin: 0 0 4px; }
.listing-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.listing-card h3 { margin: 0 0 6px; font-size: 1rem; }
.listing-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0 0 10px; }
.listing-meta { font-weight: 600; color: var(--color-copper-dark) !important; }
.listing-card a { font-weight: 600; font-size: 0.88rem; }
@media (max-width: 760px) {
    .listing-board { grid-template-columns: 1fr; }
}
.commodity-detail-slider { width: 100%; height: 380px; border-radius: 14px; overflow: hidden; margin: 18px 0; }

.commodity-description { color: var(--color-text-muted); font-size: 1.05rem; }
.commodity-description h2 { font-size: 1.5rem; color: var(--color-text); margin: 0 0 14px; letter-spacing: -0.01em; }
.commodity-description h3 { font-size: 1.15rem; color: var(--color-text); margin: 36px 0 12px; }
.commodity-description p { margin: 0 0 16px; }
.commodity-description ol, .commodity-description ul { margin: 0 0 16px; padding-left: 22px; }
.commodity-description li { margin-bottom: 10px; }
.commodity-description li strong { color: var(--color-text); }
.commodity-description table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.94rem; }
.commodity-description th, .commodity-description td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--color-border); }
.commodity-description th { color: var(--color-text); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; background: var(--color-bg); }
.commodity-description tr:last-child td { border-bottom: none; }

.consent-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--color-text-muted); margin-top: 18px; }
.consent-check input { width: auto; margin-top: 3px; }
.consent-check a { color: var(--color-copper-dark); }

/* Bottom-left card, deliberately out of the way of the chat launcher on the right. */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 200; width: min(400px, calc(100vw - 40px)); background: var(--color-primary-dark); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,0.38); animation: cookieRise 0.32s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.cookie-banner[hidden] { display: none; }
@keyframes cookieRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cookie-banner.is-leaving { opacity: 0; transform: translateY(10px); transition: opacity 0.2s ease, transform 0.2s ease; }
.cookie-banner-body { display: flex; gap: 12px; align-items: flex-start; }
.cookie-banner-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(212,160,23,0.16); color: var(--color-bronze); }
.cookie-banner strong { display: block; margin-bottom: 3px; font-size: 0.94rem; color: #fff; }
.cookie-banner p { margin: 0; font-size: 0.84rem; line-height: 1.55; }
.cookie-banner a { color: var(--color-bronze); }
.cookie-banner-actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-banner-actions button { flex: 1; padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; cursor: pointer; border: none; transition: background 0.15s ease; font-family: inherit; }
.cookie-banner-actions [data-cookie-choice="declined"] { background: rgba(255,255,255,0.1); color: #fff; }
.cookie-banner-actions [data-cookie-choice="declined"]:hover { background: rgba(255,255,255,0.18); }
.cookie-banner-actions [data-cookie-choice="accepted"] { background: var(--color-copper); color: #fff; }
.cookie-banner-actions [data-cookie-choice="accepted"]:hover { background: var(--color-copper-dark); }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } .cookie-banner.is-leaving { transition: none; } }
@media (max-width: 600px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

.slider { height: 100%; overflow: hidden; }
.slider-track { display: flex; height: 100%; transition: transform 0.8s ease; }
.slider-slide { flex: 0 0 100%; height: 100%; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.commodity-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.commodity-category { color: var(--color-copper-dark); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 6px; }
.commodity-card h3 { margin: 0 0 8px; }
.commodity-card p { color: var(--color-text-muted); font-size: 0.9rem; flex: 1; }
.featured-badge { display: inline-block; background: #f1e6d8; color: var(--color-copper-dark); font-size: 0.72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-bottom: 8px; width: fit-content; }

.pillars { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.pillars--photo {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-top: none;
    border-bottom: none;
}
.pillars-bg, .pillars-overlay {
    position: absolute;
    inset: 0;
}
.pillars-bg { z-index: 0; }
.pillars-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillars-overlay { z-index: 1; background: linear-gradient(to bottom, rgba(13,13,13,0.8) 0%, rgba(13,13,13,0.72) 12%, rgba(13,13,13,0.68) 100%); }
.pillars-inner { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 90px 24px 110px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.pillar { text-align: center; padding: 10px 14px; border-radius: 18px; transition: background 0.2s ease, transform 0.2s ease; }
.pillar:hover { background: var(--color-bg); transform: translateY(-3px); }
.pillars--photo .pillar { background: radial-gradient(ellipse 75% 90% at center, rgba(13,13,13,0.5) 0%, rgba(13,13,13,0.22) 55%, rgba(13,13,13,0) 90%); }
.pillars--photo .pillar:hover { background: rgba(255,255,255,0.08); }
.pillar-num { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: var(--color-bronze); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px; font-size: 0.9rem; box-shadow: 0 0 0 4px rgba(212,160,23,0.12); transition: box-shadow 0.2s ease; }
.pillar:hover .pillar-num { box-shadow: 0 0 0 6px rgba(212,160,23,0.2); }
.pillar h3 { margin: 0 0 8px; font-size: 1.05rem; }
.pillar p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }
.pillars--photo .pillar h3 { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.pillars--photo .pillar p { color: rgba(255,255,255,0.82); text-shadow: 0 1px 6px rgba(0,0,0,0.4); }

.value-add { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.value-add-block { background: var(--color-primary-dark); color: #fff; border-radius: 18px; padding: 48px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.value-add-block:hover { box-shadow: 0 16px 34px rgba(5,5,3,0.22); transform: translateY(-3px); }
.value-add-block:nth-child(2) { background: var(--color-copper-dark); }
.value-add-block h3 { margin: 0 0 10px; font-size: 1.2rem; }
.value-add-block p { color: rgba(255,255,255,0.82); font-size: 0.92rem; margin: 0 0 16px; }
.value-add-block ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.value-add-block li { margin-bottom: 6px; }

.cta-band { background: var(--color-primary-dark); color: #fff; text-align: center; padding: 110px 24px; }
.cta-band h2 { margin: 0 0 12px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 26px; }

.site-footer { position: relative; background: var(--color-primary-dark); color: #b8b8b8; margin-top: 40px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #c9a227, transparent); }
.site-footer-inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer strong { color: #c9a227; font-size: 1.05rem; }
.site-footer h4 { color: #fff; font-size: 0.9rem; margin: 0 0 12px; }
.site-footer p { color: #b8b8b8; }
.site-footer a, .site-footer span { display: block; color: #b8b8b8; font-size: 0.9rem; margin-bottom: 8px; transition: color 0.18s ease; }
.site-footer a:hover { color: #c9a227; }
.site-footer .social-links a { color: #b8b8b8; transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease; }
.site-footer .social-links a:hover { background: rgba(201,162,39,0.14); color: #c9a227; box-shadow: 0 0 0 1px rgba(201,162,39,0.4), 0 0 14px rgba(201,162,39,0.35); }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.site-footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; text-align: left; font-size: 0.8rem; color: rgba(184,184,184,0.65); }
.site-watermark { overflow: hidden; text-align: center; font-size: clamp(1.3rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: 0.02em; line-height: 1.1; color: rgba(212,160,23,0.12); padding: 10px 16px 26px; user-select: none; }
.staff-login-link { color: rgba(184,184,184,0.5) !important; margin-left: 14px; font-size: 0.78rem; border-left: 1px solid rgba(184,184,184,0.25); padding-left: 14px; }
.staff-login-link:hover { color: rgba(255,255,255,0.85) !important; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 46px; align-items: start; }
.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 46px; box-shadow: 0 10px 30px rgba(19,27,34,0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row > div > label:first-child, .form-row > label:first-child { margin-top: 14px; }
.contact-info-card { background: var(--color-primary-dark); color: #fff; border-radius: 18px; padding: 42px; }
.contact-info-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.contact-info-card > p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0 0 22px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-info-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item div strong { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.contact-info-item div a, .contact-info-item div span { color: #fff; font-weight: 600; font-size: 0.95rem; }
.contact-info-divider { border-top: 1px solid rgba(255,255,255,0.15); margin: 24px 0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info-card ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.8); font-size: 0.88rem; }
.contact-info-card ul li { margin-bottom: 8px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.2s ease; }
.social-links a:hover { background: var(--color-bronze); color: var(--color-primary-dark); }
.intent-toggle { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.intent-option { display: flex; align-items: center; gap: 7px; border: 1px solid var(--color-border); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.88rem; cursor: pointer; margin: 0; transition: border-color 0.15s ease, background 0.15s ease; }
.intent-option input { width: auto; margin: 0; }
.intent-option:has(input:checked) { border-color: var(--color-copper); background: #eaf6ee; color: var(--color-copper-dark); }
label { display: block; font-weight: 600; margin: 14px 0 5px; font-size: 0.9rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 6px; font: inherit; background: #fff; color: var(--color-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--color-copper); box-shadow: 0 0 0 3px rgba(28,138,68,0.14);
}
textarea { resize: vertical; }
.field-hint { font-size: 0.8rem; color: var(--color-text-muted); }
.flash { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.92rem; }
.flash-success { background: #e8f3ee; color: var(--color-success); border: 1px solid #b8dcc9; }
.flash-error { background: #fbeae9; color: var(--color-danger); border: 1px solid #f0bcb8; }

.team-card { text-align: center; }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: var(--color-bronze); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 14px; box-shadow: 0 0 0 4px rgba(212,160,23,0.12); transition: box-shadow 0.2s ease; }
.team-card:hover .team-avatar { box-shadow: 0 0 0 6px rgba(212,160,23,0.2); }
.team-avatar-slider { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; box-shadow: 0 0 0 4px rgba(212,160,23,0.12); transition: box-shadow 0.2s ease; }
.team-card:hover .team-avatar-slider { box-shadow: 0 0 0 6px rgba(212,160,23,0.2); }
.team-avatar-slider img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-card h3 { margin: 0 0 4px; }
.team-card .team-role { color: var(--color-copper-dark); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin: 0; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about-media { background: linear-gradient(135deg, var(--color-primary), var(--color-copper-dark)); border-radius: 18px; height: 320px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media:has(.company-gallery) { height: auto; background: none; align-items: stretch; }

/* "About Explonat Minerals" homepage section: warm cream bg + faint topographic texture + gold accents. */
.section--about-intro {
    position: relative;
    background: #f7f5f0;
    overflow: hidden;
}
.section--about-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.045;
    pointer-events: none;
    background-repeat: repeat;
    background-size: 220px 220px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cpath d='M0 40 Q 55 10 110 40 T 220 40' fill='none' stroke='%2314140f' stroke-width='1.5'/%3E%3Cpath d='M0 90 Q 55 60 110 90 T 220 90' fill='none' stroke='%2314140f' stroke-width='1.5'/%3E%3Cpath d='M0 140 Q 55 110 110 140 T 220 140' fill='none' stroke='%2314140f' stroke-width='1.5'/%3E%3Cpath d='M0 190 Q 55 160 110 190 T 220 190' fill='none' stroke='%2314140f' stroke-width='1.5'/%3E%3C/svg%3E");
}
.section--about-intro .about-grid { position: relative; z-index: 1; }
.section--about-intro .section-kicker { color: #c9a227; }
.section--about-intro .about-media {
    margin-left: -24px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 18px 34px rgba(13,13,13,0.18);
    border-bottom: 3px solid #c9a227;
}
@media (max-width: 860px) {
    .section--about-intro .about-media { margin-left: -24px; margin-right: -24px; border-radius: 0; }
}

.company-gallery { border-radius: 18px; overflow: hidden; background: #0d0d0d; width: 100%; aspect-ratio: 16 / 10; }
.company-gallery .slider-slide video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0d0d0d; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; }
.news-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(19,27,34,0.04); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.news-card:hover { box-shadow: 0 14px 32px rgba(19,27,34,0.12); transform: translateY(-3px); }
.news-card-media { height: 160px; background: linear-gradient(135deg, var(--color-copper), var(--color-primary)); overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-media img { transform: scale(1.05); }
.news-card h3 { transition: color 0.15s ease; }
.news-card:hover h3 { color: var(--color-copper-dark); }
.news-card-body { padding: 20px; }
.news-date { font-size: 0.75rem; color: var(--color-copper-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.news-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.news-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0 0 10px; }

@media (max-width: 860px) {
    .about-grid, .value-add { grid-template-columns: 1fr; }
    .pillars-inner { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-grid, .form-row { grid-template-columns: 1fr; }
    .utility-bar-inner { justify-content: center; text-align: center; }
    .site-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .site-footer .social-links { justify-content: center; }
    .site-footer .social-links a { width: 46px; height: 46px; }
    .site-footer-bottom-inner { text-align: center; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-primary-dark); flex-direction: column; align-items: flex-start; padding: 10px 24px; gap: 4px; display: none; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 10px 0; width: 100%; color: #fff; }
    .site-nav a:hover { color: var(--color-bronze); }
}

/* ---- Live chat widget ------------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; font-family: inherit; }

.chat-launcher {
    display: grid; place-items: center;
    width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--color-primary); color: #fff;
    box-shadow: 0 10px 28px rgba(20, 20, 15, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.chat-launcher > * { grid-area: 1 / 1; }
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20, 20, 15, 0.34); background: var(--color-copper-dark); }
.chat-launcher svg { width: 22px; height: 22px; display: block; }
.chat-launcher-close { display: none; }
.chat-widget.is-open .chat-launcher-icon { display: none; }
.chat-widget.is-open .chat-launcher-close { display: block; }

/* Sits on the rim of the bubble rather than inline, now that there is no label beside it. */
.chat-unread {
    position: absolute; top: -2px; right: -2px;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
    background: var(--color-bronze); color: #211d1a;
    font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
    box-shadow: 0 0 0 2px var(--color-bg);
}
.chat-unread[hidden] { display: none; }
.chat-widget.has-unread .chat-launcher { animation: chat-nudge 1.6s ease-in-out infinite; }
@keyframes chat-nudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateY(-4px); } 96% { transform: translateY(-1px); } }

/* An author `display` rule beats the UA stylesheet's [hidden] { display: none }, so without
   this the panel below would sit open on every page no matter what the markup or JS said. */
.chat-panel[hidden] { display: none; }
.chat-panel {
    position: absolute; right: 0; bottom: 66px;
    width: min(370px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px));
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px;
    box-shadow: 0 24px 60px rgba(20, 20, 15, 0.24);
    animation: chat-pop 0.2s ease-out;
}
@keyframes chat-pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.chat-header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--color-primary); color: #fff; }
.chat-header-avatar {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
    object-fit: cover; background: #fff; display: block;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.chat-header-text { flex: 1; min-width: 0; }
.chat-header-text strong { display: block; font-size: 15px; letter-spacing: 0.01em; }
/* One line, always — a wrapping status line is the fastest way to look unfinished. */
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #9a938c; flex: 0 0 7px; }
.chat-dot.is-online { background: #35c46a; box-shadow: 0 0 0 3px rgba(53, 196, 106, 0.22); }
.chat-close { background: none; border: 0; color: rgba(255, 255, 255, 0.75); cursor: pointer; padding: 4px; border-radius: 6px; }
.chat-close:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--color-bg); min-height: 260px; }
/* Centred system line — the opening prompt and the away notice, never a chat bubble. */
.chat-note { margin: 2px 0; padding: 0 6px; font-size: 13px; line-height: 1.5; color: var(--color-text-muted); text-align: center; }
.chat-msg { display: flex; flex-direction: column; max-width: 84%; }
.chat-msg-visitor { align-self: flex-end; align-items: flex-end; }
.chat-msg-staff { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg-visitor .chat-bubble { background: var(--color-copper-dark); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-staff .chat-bubble { background: var(--color-surface); border: 1px solid var(--color-border); border-bottom-left-radius: 4px; }
.chat-meta { margin-top: 4px; font-size: 11.5px; color: var(--color-text-muted); }

.chat-typing[hidden] { display: none; }
.chat-typing { display: flex; gap: 4px; padding: 0 18px 10px; background: var(--color-bg); }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--color-text-muted); animation: chat-blink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chat-blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.chat-composer { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--color-border); background: var(--color-surface); }
.chat-composer textarea {
    flex: 1; resize: none; max-height: 120px; padding: 10px 12px; font: inherit; font-size: 14.5px; line-height: 1.45;
    border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-bg);
}
.chat-composer textarea:focus { outline: 2px solid var(--color-copper); outline-offset: 1px; border-color: transparent; }
.chat-send {
    flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; background: var(--color-copper-dark); color: #fff;
}
.chat-send:hover { background: var(--color-copper); }

.chat-error { margin: 0; padding: 8px 16px; font-size: 13px; color: #fff; background: var(--color-danger); }
.chat-footnote { margin: 0; padding: 8px 16px 10px; font-size: 11.5px; color: var(--color-text-muted); background: var(--color-surface); border-top: 1px solid var(--color-border); }

@media (max-width: 480px) {
    .chat-widget { right: 14px; bottom: 14px; }
    .chat-launcher { width: 52px; height: 52px; }
    .chat-panel { bottom: 60px; max-height: calc(100vh - 96px); }
}
@media (prefers-reduced-motion: reduce) {
    .chat-panel { animation: none; }
    .chat-widget.has-unread .chat-launcher { animation: none; }
}
