:root {
    --a8-jet-black: #0B0B0D;
    --a8-espresso: #1C140F;
    --a8-antique-gold: #C9A86A;
    --a8-champagne: #E2D3B0;
    --a8-warm-ivory: #F5EFE6;
    --a8-emerald: #0B5B46;
    --a8-burgundy: #6B0D1A;
}

.a8-brand-patch-active {
    --e-global-color-primary: var(--a8-antique-gold);
    --e-global-color-secondary: var(--a8-champagne);
    --e-global-color-text: var(--a8-warm-ivory);
    --e-global-color-accent: var(--a8-antique-gold);
}

.a8-brand-patch-active ::selection { background: var(--a8-antique-gold); color: var(--a8-jet-black); }
.a8-brand-patch-active h1,
.a8-brand-patch-active h2,
.a8-brand-patch-active h3,
.a8-brand-patch-active h4,
.a8-brand-patch-active h5,
.a8-brand-patch-active h6 { letter-spacing: 0.015em; }
.a8-brand-patch-active .elementor-button,
.a8-brand-patch-active button:not(.menu-toggle):not(.sub-menu-toggle),
.a8-brand-patch-active input[type="submit"],
.a8-brand-patch-active .wp-block-button__link { border-radius: 2px; }
.a8-brand-patch-active .elementor-button:focus-visible,
.a8-brand-patch-active button:focus-visible,
.a8-brand-patch-active a:focus-visible,
.a8-brand-patch-active select:focus-visible,
.a8-brand-patch-active input:focus-visible,
.a8-brand-patch-active textarea:focus-visible { outline: 2px solid var(--a8-antique-gold); outline-offset: 3px; }

/* Country and currency */
.a8-country-currency { font-family: Arial, Helvetica, sans-serif; color: var(--a8-warm-ivory); z-index: 9990; }
.a8-country-currency--floating { position: fixed; right: 18px; bottom: 18px; width: min(370px, calc(100vw - 36px)); }
.a8-country-currency__inner { display: grid; gap: 8px; padding: 11px 13px; border: 1px solid rgba(201,168,106,.68); background: rgba(11,11,13,.96); box-shadow: 0 8px 30px rgba(0,0,0,.35); backdrop-filter: blur(8px); }
.a8-country-currency--inline .a8-country-currency__inner { box-shadow: none; background: transparent; padding: 0; border: 0; }
.a8-country-currency__label { color: var(--a8-champagne); font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.a8-country-currency__row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; }
.a8-country-currency__select { min-width: 0; width: 100%; min-height: 42px; border: 1px solid rgba(201,168,106,.52); border-radius: 2px; background: var(--a8-espresso); color: var(--a8-warm-ivory); padding: 8px 34px 8px 10px; font-size: 14px; line-height: 1.2; }
.a8-country-currency__select option { background: var(--a8-jet-black); color: var(--a8-warm-ivory); }
.a8-country-currency__badge { min-width: 82px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(201,168,106,.52); padding: 0 10px; color: var(--a8-antique-gold); background: rgba(201,168,106,.06); font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.a8-country-currency__status { min-height: 14px; color: rgba(245,239,230,.7); font-size: 10px; line-height: 1.35; }
.a8-country-currency__status[data-status="error"] { color: #f2b8b5; }
.a8-country-currency__status[data-status="stale"] { color: var(--a8-champagne); }
.a8-price { white-space: nowrap; }
.a8-price[title] { cursor: help; text-decoration: underline dotted rgba(201,168,106,.55) 1px; text-underline-offset: .16em; }
.a8-price-label { margin-right: .35em; }
.a8-currency-disclaimer { color: inherit; opacity: .76; font-size: .86em; line-height: 1.55; display: inline-block; margin-top: .5em; }
html[data-a8-currency]:not([data-a8-currency="ZAR"]) .a8-price { font-variant-numeric: tabular-nums; }

/* Rapid Group navigation */
.a8-group-nav { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) minmax(230px,330px); align-items: center; gap: 22px; padding: 12px 22px; background: rgba(11,11,13,.98); border-bottom: 1px solid rgba(201,168,106,.35); color: var(--a8-warm-ivory); }
.a8-group-nav__brand { display: inline-flex; align-items: center; }
.a8-group-nav__brand img { display: block; width: 76px; height: 76px; object-fit: contain; }
.a8-group-nav__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.a8-group-nav__links a { color: var(--a8-warm-ivory); text-decoration: none; font: 600 12px/1.4 Arial,Helvetica,sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.a8-group-nav__links a:hover { color: var(--a8-antique-gold); }
.a8-group-nav .a8-country-currency__status { display: none; }

/* SEO page renderer */
.a8-blueprint-page { background: var(--a8-jet-black); color: var(--a8-warm-ivory); font-family: Arial, Helvetica, sans-serif; line-height: 1.72; }
.a8-blueprint-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.a8-blueprint-hero { position: relative; padding: clamp(76px, 9vw, 150px) 0 clamp(64px, 7vw, 110px); background: radial-gradient(circle at 72% 15%, rgba(201,168,106,.12), transparent 33%), linear-gradient(145deg, #0B0B0D 0%, #1C140F 58%, #0B0B0D 100%); border-bottom: 1px solid rgba(201,168,106,.3); overflow: hidden; }
.a8-blueprint-hero::after { content: "A8"; position: absolute; right: clamp(20px,6vw,110px); top: 50%; transform: translateY(-50%); font: 700 clamp(120px,22vw,330px)/.8 Georgia,"Times New Roman",serif; color: rgba(201,168,106,.035); pointer-events: none; }
.a8-blueprint-eyebrow { margin: 0 0 18px; color: var(--a8-antique-gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.a8-blueprint-page h1,
.a8-blueprint-page h2,
.a8-blueprint-page h3 { font-family: Georgia, "Times New Roman", serif; color: var(--a8-warm-ivory); font-weight: 500; }
.a8-blueprint-page h1 { max-width: 980px; margin: 0 0 24px; font-size: clamp(42px, 6vw, 78px); line-height: 1.04; }
.a8-blueprint-page h2 { margin: 0 0 20px; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12; }
.a8-blueprint-page h3 { font-size: 24px; }
.a8-blueprint-lead { max-width: 820px; margin: 0; font-size: clamp(18px, 2vw, 22px); color: rgba(245,239,230,.84); }
.a8-blueprint-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.a8-blueprint-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid var(--a8-antique-gold); text-decoration: none !important; font-weight: 800; font-size: 12px; line-height: 1.2; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.a8-blueprint-button--primary { background: var(--a8-antique-gold); color: var(--a8-jet-black) !important; }
.a8-blueprint-button--secondary { background: transparent; color: var(--a8-champagne) !important; }
.a8-blueprint-content { padding: 24px 0 90px; }
.a8-blueprint-section { max-width: 960px; padding: clamp(48px, 6vw, 84px) 0; border-bottom: 1px solid rgba(201,168,106,.18); }
.a8-blueprint-copy { max-width: 850px; color: rgba(245,239,230,.8); font-size: 17px; }
.a8-blueprint-copy p:last-child { margin-bottom: 0; }
.a8-blueprint-list { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; }
.a8-blueprint-list li { position: relative; padding: 18px 18px 18px 48px; background: rgba(255,255,255,.025); border: 1px solid rgba(201,168,106,.16); }
.a8-blueprint-list li::before { content: "◆"; position: absolute; left: 19px; top: 18px; color: var(--a8-antique-gold); font-size: 10px; }
.a8-blueprint-link-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.a8-blueprint-link-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 18px; border: 1px solid rgba(201,168,106,.25); color: var(--a8-champagne); text-decoration: none; font-weight: 700; }
.a8-blueprint-link-grid a:hover { border-color: var(--a8-antique-gold); background: rgba(201,168,106,.06); }
.a8-blueprint-faqs details { max-width: 850px; border-top: 1px solid rgba(201,168,106,.2); padding: 18px 0; }
.a8-blueprint-faqs details:last-child { border-bottom: 1px solid rgba(201,168,106,.2); }
.a8-blueprint-faqs summary { cursor: pointer; color: var(--a8-champagne); font-weight: 800; font-size: 17px; }
.a8-blueprint-faqs details p { color: rgba(245,239,230,.78); }
.a8-blueprint-final-cta { margin-top: 70px; padding: clamp(40px,6vw,72px); border: 1px solid rgba(201,168,106,.42); background: linear-gradient(135deg, rgba(201,168,106,.08), rgba(107,13,26,.08)); text-align: center; }
.a8-blueprint-final-cta h2 { max-width: 720px; margin-inline: auto; }
.a8-blueprint-final-cta p:not(.a8-blueprint-eyebrow) { max-width: 700px; margin: 0 auto 28px; color: rgba(245,239,230,.8); }
.a8-brand-asset { display: block; max-width: 100%; height: auto; }

/* Enquiry gateway */
.a8-enquiry-gateway { background: var(--a8-jet-black); color: var(--a8-warm-ivory); padding: clamp(28px,5vw,64px); border: 1px solid rgba(201,168,106,.32); }
.a8-enquiry-form { max-width: 980px; margin-inline: auto; }
.a8-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.a8-form-field { min-width: 0; display: grid; gap: 8px; color: var(--a8-champagne); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.a8-form-field--wide { grid-column: 1 / -1; }
.a8-form-field input,
.a8-form-field select,
.a8-form-field textarea { width: 100%; min-width: 0; border: 1px solid rgba(201,168,106,.4); border-radius: 0; background: #151113; color: var(--a8-warm-ivory); padding: 12px 13px; font: 400 16px/1.4 Arial,Helvetica,sans-serif; text-transform: none; letter-spacing: normal; }
.a8-form-field input,
.a8-form-field select { min-height: 48px; }
.a8-form-field textarea { resize: vertical; }
.a8-form-field input[readonly] { color: var(--a8-antique-gold); background: rgba(201,168,106,.05); }
.a8-form-field[hidden], .a8-interest-grid[hidden] { display: none !important; }
.a8-interest-grid { border: 1px solid rgba(201,168,106,.28); padding: 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.a8-interest-grid legend { padding: 0 8px; color: var(--a8-antique-gold); }
.a8-interest-grid label { display: flex; align-items: center; gap: 8px; color: var(--a8-warm-ivory); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: normal; }
.a8-interest-grid input { width: auto; min-height: 0; }
.a8-form-consent { display: flex; gap: 10px; align-items: flex-start; color: rgba(245,239,230,.78); font-size: 14px; line-height: 1.45; }
.a8-form-consent input { margin-top: 4px; }
.a8-form-consent a { color: var(--a8-antique-gold); }
.a8-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.a8-form-notice { max-width: 980px; margin: 0 auto 22px; padding: 14px 16px; border: 1px solid; }
.a8-form-notice--success { border-color: rgba(11,91,70,.8); background: rgba(11,91,70,.14); }
.a8-form-notice--error { border-color: rgba(107,13,26,.8); background: rgba(107,13,26,.14); }

/* Group footer */
.a8-group-footer { background: #070708; color: rgba(245,239,230,.75); border-top: 1px solid rgba(201,168,106,.28); font-family: Arial,Helvetica,sans-serif; }
.a8-group-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 34px; padding: 54px 0 34px; }
.a8-group-footer__logo { width: 160px; height: auto; object-fit: contain; margin-bottom: 16px; }
.a8-group-footer h2 { margin: 0 0 14px; color: var(--a8-antique-gold); font: 700 12px/1.4 Arial,Helvetica,sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.a8-group-footer a { color: var(--a8-warm-ivory); text-decoration: none; }
.a8-group-footer a:hover { color: var(--a8-antique-gold); }
.a8-group-footer__legal { padding: 18px 0 30px; border-top: 1px solid rgba(201,168,106,.12); font-size: 12px; }

@media (max-width: 980px) {
    .a8-group-nav { grid-template-columns: auto 1fr; }
    .a8-group-nav__currency { grid-column: 1 / -1; }
    .a8-group-nav__links { justify-content: flex-end; }
    .a8-group-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .a8-interest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .a8-country-currency--floating { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
    .a8-country-currency__row { grid-template-columns: 1fr; }
    .a8-country-currency__badge { min-height: 36px; }
    .a8-group-nav { grid-template-columns: 1fr; padding: 12px 16px; }
    .a8-group-nav__brand { justify-content: center; }
    .a8-group-nav__links { justify-content: center; gap: 11px 14px; }
    .a8-group-nav__currency { grid-column: 1; }
    .a8-blueprint-shell { width: min(100% - 28px,1180px); }
    .a8-blueprint-hero { padding-top: 64px; }
    .a8-blueprint-link-grid { grid-template-columns: 1fr; }
    .a8-form-grid { grid-template-columns: 1fr; }
    .a8-form-field--wide { grid-column: 1; }
    .a8-interest-grid { grid-template-columns: 1fr; }
    .a8-group-footer__grid { grid-template-columns: 1fr; }
}

@media print {
    .a8-country-currency--floating { display: none !important; }
}
