/* DroneGrid.io — Tactical Military Design System */
/* Pure CSS — No Tailwind — Mobile-first responsive */

:root {
    /* ── doculus doctrine: green = STRUCTURE · red = ACTION-ONLY · bone = SIGNAL ── */
    --void:        #050706;
    --void-2:      #070b09;
    --panel:       #0b100d;
    --panel-lit:   #0e150f;
    --hairline:    rgba(123, 216, 143, 0.14);
    --hairline-2:  rgba(123, 216, 143, 0.28);
    --olive:       #3f5c3a;
    --olive-dim:   #24361f;
    --green:       #7bd88f;
    --green-hot:   #a8f0b6;
    --green-wash:  rgba(123, 216, 143, 0.08);
    --green-glow:  rgba(123, 216, 143, 0.22);
    --candy:       #d8232a;
    --candy-hot:   #ff3b30;
    --candy-glow:  rgba(216, 35, 42, 0.35);
    --bone:        #eef1ea;
    --silver:      #97a598;
    --silver-dim:  #6b7a6d;
    --gold:        #c9a227;
    --ease:        cubic-bezier(0.22, 1, 0.36, 1);

    /* legacy aliases — every pre-existing rule inherits the doctrine */
    --khaki: var(--bone);
    --khaki-green: var(--olive);
    --olive-drab: var(--olive-dim);
    --devil-red: var(--green);
    --red-trim: var(--candy);
    --true-black: #000000;
    --ops-black: var(--void);
    --deep-black: var(--void-2);
    --charcoal: var(--panel);
    --gunmetal: var(--hairline);
    --steel: var(--silver-dim);
    --light-steel: var(--silver);
    --glow-red: 0 0 12px rgba(123, 216, 143, 0.35);
    --glow-red-strong: 0 0 20px rgba(123, 216, 143, 0.5);
    --glow-red-trim: 0 0 12px rgba(216, 35, 42, 0.4);
    --shadow-panel: 0 4px 24px rgba(0, 0, 0, 0.6);
    --scanline-bg: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 4px);
    --font-display: 'Koulen', 'Saira Condensed', system-ui, sans-serif;
    --font-heading: 'Koulen', 'Saira Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Koulen', 'Saira Condensed', system-ui, sans-serif;
    --font-mono: 'Arial Narrow', 'Liberation Sans Narrow', Arial, sans-serif;
    --max-width: 1200px;
    --nav-height: 108px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s ease;
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; letter-spacing: 0.02em; color: var(--light-steel); background: var(--void); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
/* the field: green grid + wash vignette, fixed behind everything (doculus house pattern) */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 70% at 18% -10%, rgba(63, 92, 58, 0.42) 0%, transparent 62%), radial-gradient(90% 60% at 88% 8%, rgba(123, 216, 143, 0.10) 0%, transparent 58%), repeating-linear-gradient(0deg, rgba(123,216,143,.045) 0 1px, transparent 1px 72px), repeating-linear-gradient(90deg, rgba(123,216,143,.045) 0 1px, transparent 1px 72px), var(--void); }
a { color: var(--devil-red); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--khaki); }
img { max-width: 100%; display: block; }

.app-shell { opacity: 0; transition: opacity 0.8s ease; }
.app-shell.visible { opacity: 1; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 700px; }

/* ── LOADER — Sonar Tracking Dial ── */
.loader { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: var(--true-black); transition: opacity 0.8s ease, visibility 0.8s ease; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

/* Triad loader — the animated logo, tactical progress, strobing status */
.loader-triad { width: min(330px, 64vw); height: auto; filter: drop-shadow(0 0 34px rgba(123,216,143,0.28)); transition: transform 0.15s ease; }
.loader-triad.pop { transform: scale(1.04); }
.loader-progress { width: min(330px, 64vw); height: 4px; background: var(--hairline); position: relative; overflow: hidden; }
.loader-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--olive), var(--green)); box-shadow: 0 0 12px var(--green-glow); transition: width 0.7s var(--ease); position: relative; }
.loader-progress-fill::after { content: ''; position: absolute; right: 0; top: -2px; bottom: -2px; width: 6px; background: var(--candy); box-shadow: 0 0 10px var(--candy-glow); }
.loader-status { font-family: var(--font-mono); font-size: 0.8rem; color: var(--green); letter-spacing: 0.3em; text-transform: uppercase; animation: status-strobe 1.1s ease-in-out infinite; }
@keyframes status-strobe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes sonar-center-pulse { 0%, 100% { box-shadow: 0 0 10px rgba(123,216,143,0.5), 0 0 25px rgba(123,216,143,0.2); } 50% { box-shadow: 0 0 15px rgba(123,216,143,0.7), 0 0 40px rgba(123,216,143,0.3); } }

/* Loader text */
.loader-brand { font-family: var(--font-display); font-size: 1.5rem; color: var(--khaki); letter-spacing: 0.2em; text-transform: uppercase; }
.loader-tagline { font-family: var(--font-mono); font-size: 0.75rem; color: var(--steel); letter-spacing: 0.15em; text-transform: uppercase; }
.loader-classification { font-family: var(--font-mono); font-size: 0.65rem; color: var(--red-trim); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.5rem; }
.loader-hud-corner { position: fixed; font-family: var(--font-mono); font-size: 0.6rem; color: var(--steel); opacity: 0.5; letter-spacing: 0.1em; line-height: 1.4; }
.loader-hud-corner.tl { top: 1.5rem; left: 1.5rem; }
.loader-hud-corner.tr { top: 1.5rem; right: 1.5rem; text-align: right; }
.loader-hud-corner.bl { bottom: 1.5rem; left: 1.5rem; }
.loader-hud-corner.br { bottom: 1.5rem; right: 1.5rem; text-align: right; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); display: flex; align-items: center; background: transparent; transition: background var(--transition-smooth), box-shadow var(--transition-smooth); }
nav.scrolled { background: rgba(10, 10, 10, 0.95); box-shadow: 0 2px 20px rgba(0,0,0,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-container { max-width: var(--max-width); width: 100%; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 3.1rem; color: var(--khaki) !important; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-logo-icon { width: 104px; height: 101px; flex-shrink: 0; }
.nav-logo:hover { color: var(--devil-red) !important; }
.nav-links { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav-links a { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--light-steel); text-transform: uppercase; letter-spacing: 0.08em; padding: 0.5rem 0.85rem; transition: color var(--transition-fast); }
.nav-links a:hover { color: var(--devil-red); }
.nav-cta { background: var(--red-trim) !important; color: #fff !important; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); padding: 0.5rem 1.25rem !important; }
.nav-cta:hover { background: var(--candy-hot) !important; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 0.5rem; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--khaki); transition: transform var(--transition-smooth), opacity var(--transition-fast); }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem; background: linear-gradient(rgba(123,216,143,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(123,216,143,0.03) 1px, transparent 1px), var(--ops-black); background-size: 60px 60px, 60px 60px; overflow: hidden; }
.hero-scanlines { position: absolute; inset: 0; background: var(--scanline-bg); pointer-events: none; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.hero-badge, .hero-badge.inline { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--devil-red); background: rgba(123,216,143,0.08); border: 1px solid rgba(123,216,143,0.2); padding: 0.4rem 1rem; clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%); text-transform: uppercase; letter-spacing: 0.1em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--devil-red); box-shadow: var(--glow-red); animation: sonar-center-pulse 2s ease-in-out infinite; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--khaki); line-height: 1.15; margin-top: 1.5rem; text-transform: uppercase; }
.hero h1 .h1-mega { display: block; font-size: clamp(3rem, 7.6vw, 5.7rem); color: var(--bone); line-height: 0.95; letter-spacing: 0.01em; }
.hero h1 .h1-mid { display: block; font-size: clamp(2rem, 5vw, 3.5rem); color: var(--green); line-height: 1.08; margin: 0.4rem 0 0.3rem; }
.hero h1 .accent { display: block; font-family: var(--font-heading); font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 600; color: var(--devil-red); margin-top: 0.5rem; letter-spacing: 0.05em; }
.hero .tagline { font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--light-steel); max-width: 650px; margin-top: 1.25rem; line-height: 1.7; }
.hero .tagline strong { color: var(--khaki); }
.cta-buttons { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.btn { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.75rem 1.75rem; cursor: pointer; transition: all var(--transition-fast); border: none; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-primary { background: var(--candy); color: #fff; box-shadow: 0 10px 30px -14px var(--candy-glow); }
.btn-primary:hover { background: var(--candy-hot); color: #fff; box-shadow: 0 14px 40px -12px var(--candy-glow); }
.btn-secondary { background: transparent; color: var(--khaki); border: 1px solid var(--khaki); clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); }
.btn-secondary:hover { border-color: var(--devil-red); color: var(--devil-red); }
.btn.full-width { width: 100%; }
.hero-telemetry { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--gunmetal); flex-wrap: wrap; }
.telemetry-item { display: flex; flex-direction: column; gap: 0.25rem; }
.telemetry-value { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--devil-red); text-shadow: var(--glow-red); }
.telemetry-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.1em; }

/* hero split: thesis left, the HELLCAT mesh filling the void at 4 o'clock */
.hero-columns { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; margin-top: 0.5rem; }
.hero-mesh { position: relative; }
.hero-mesh svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 26px rgba(123,216,143,0.16)); }

/* ── SECTIONS ── */
section { padding: 5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-designator { font-family: var(--font-mono); font-size: 0.7rem; color: var(--devil-red); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.25rem); color: var(--khaki); text-transform: uppercase; }
.section-subtitle { font-size: 1rem; color: var(--steel); max-width: 600px; margin-top: 0.75rem; line-height: 1.6; }

/* ── EXPERTISE — Product Expertise double-wide tactical glass panels ── */
.capabilities { background: transparent; position: relative; }
.capabilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 1.75rem; }

.expertise-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(123,216,143,0.05), rgba(0,0,0,0) 42%), rgba(11,16,13,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hairline); border-radius: 3px; padding: 2.25rem 2.25rem 1.75rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.expertise-card::before, .expertise-card::after { content: ''; position: absolute; width: 18px; height: 18px; border: 1px solid var(--green); opacity: .5; transition: opacity .25s var(--ease); }
.expertise-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.expertise-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.expertise-card:hover { transform: translateY(-4px); border-color: var(--hairline-2); box-shadow: 0 0 0 1px rgba(123,216,143,.06), 0 28px 70px -30px var(--green-glow), 0 8px 24px rgba(0,0,0,.5); background: linear-gradient(180deg, rgba(123,216,143,0.09), rgba(0,0,0,0) 55%), rgba(14,21,15,0.9); }
.expertise-card:hover::before, .expertise-card:hover::after { opacity: 1; }

.expertise-designator { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .75rem; color: var(--green); letter-spacing: .28em; text-transform: uppercase; margin-bottom: 1.1rem; }
.expertise-designator::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: sonar-center-pulse 2.6s ease-in-out infinite; }
.expertise-title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 400; color: var(--bone); text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; margin-bottom: .85rem; }
.expertise-desc { font-size: .95rem; color: var(--silver); line-height: 1.7; margin-bottom: 1.5rem; max-width: 62ch; }

/* reserved animation stage — round 2 drops the per-module custom SVG animation here */
.expertise-stage { position: relative; height: 268px; flex-shrink: 0; margin-top: auto; border: 1px solid var(--hairline); background: repeating-linear-gradient(0deg, rgba(123,216,143,.035) 0 1px, transparent 1px 36px), repeating-linear-gradient(90deg, rgba(123,216,143,.035) 0 1px, transparent 1px 36px), rgba(5,7,6,0.6); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color .25s var(--ease); }
.expertise-card:hover .expertise-stage { border-color: var(--hairline-2); }
.expertise-stage::before, .expertise-stage::after { content: ''; position: absolute; width: 12px; height: 12px; border: 1px solid var(--green); opacity: .4; }
.expertise-stage::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.expertise-stage::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.expertise-schematic { width: 100%; height: 100%; object-fit: contain; display: block; }

/* doctrine tech pills — chargegun geometry: clean rectangles, no radius,
   candy ground, white Koulen (his spec: red box, white Koulen text) */
.expertise-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; min-height: 4.4rem; align-content: flex-start; }
.expertise-pill { font-family: var(--font-display); font-size: 0.72rem; color: #fff; background: var(--candy); padding: 0.32rem 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 0; line-height: 1.4; }

/* ── ABOUT ── */
.about { background: var(--charcoal); }
.about-content { display: flex; flex-direction: column; gap: 2.5rem; }
.about-text { font-size: 1rem; color: var(--light-steel); line-height: 1.75; max-width: 800px; }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.stat-item { text-align: center; padding: 1.5rem; background: var(--deep-black); border: 1px solid var(--gunmetal); }
.stat-value { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--devil-red); text-shadow: var(--glow-red); }
.stat-label { display: block; font-family: var(--font-mono); font-size: 0.65rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.5rem; }

/* ── CONTACT ── */
.contact { text-align: center; }
.contact .section-subtitle { margin-left: auto; margin-right: auto; }
.contact-content { margin-top: 2rem; text-align: center; }
.contact-email { display: inline-block; font-family: var(--font-display); font-size: 1.1rem; color: #fff !important; text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; padding: 1rem 2.5rem; background: var(--green); border: 2px solid var(--green); position: relative; overflow: hidden; transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease; box-shadow: 0 0 15px rgba(123,216,143,0.3), inset 0 0 0 0 rgba(255,255,255,0.1); }
.contact-email::before { content: ''; position: absolute; top: 50%; left: -100%; width: 200%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transform: translateY(-50%); animation: btn-shimmer 3s ease-in-out infinite; }
.contact-email:hover { background: transparent; color: var(--green) !important; box-shadow: 0 0 25px rgba(123,216,143,0.5), 0 0 60px rgba(123,216,143,0.15); transform: translateY(-2px); }
.contact-email:active { transform: translateY(0); }
@keyframes btn-shimmer { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } }

/* ── PAGE HERO ── */
.page-hero { padding: calc(var(--nav-height) + 3rem) 0 3rem; background: linear-gradient(rgba(123,216,143,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(123,216,143,0.02) 1px, transparent 1px), var(--ops-black); background-size: 60px 60px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); color: var(--khaki); text-transform: uppercase; margin-top: 0.75rem; }
.page-subtitle { font-size: 1rem; color: var(--steel); max-width: 600px; margin-top: 1rem; line-height: 1.6; }
.page-content { padding: 3rem 0 5rem; }

/* ── FORM ── */
.contact-form-wrapper { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--khaki); text-transform: uppercase; letter-spacing: 0.15em; }
.form-group input, .form-group textarea, .form-group select { font-family: var(--font-body); font-size: 0.95rem; color: var(--light-steel); background: var(--deep-black); border: 1px solid var(--gunmetal); padding: 0.75rem 1rem; outline: none; transition: border-color var(--transition-fast); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--devil-red); box-shadow: 0 0 0 2px rgba(123,216,143,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gunmetal); }
.form-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 0.5rem; }
.form-status { font-family: var(--font-mono); font-size: 0.8rem; min-height: 1.2rem; }
.form-status .status-sending { color: var(--khaki); }
.form-status .status-success { color: var(--devil-red); }
.form-status .status-error { color: var(--red-trim); }

/* ── CONSULTING ── */
.consulting-step { margin-bottom: 3rem; }
.step-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.step-number { font-family: var(--font-display); font-size: 1.5rem; color: var(--devil-red); text-shadow: var(--glow-red); }
.step-header h2 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--khaki); text-transform: uppercase; }
.step-desc { color: var(--steel); line-height: 1.6; max-width: 600px; }
.consulting-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.consulting-card { position: relative; background: linear-gradient(180deg, rgba(123,216,143,0.05), rgba(0,0,0,0) 42%), rgba(11,16,13,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hairline); border-radius: 3px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.consulting-card:hover { border-color: var(--hairline-2); box-shadow: 0 18px 50px -26px var(--green-glow); }
.consulting-card-header { display: flex; justify-content: space-between; align-items: baseline; }
.consulting-hours { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--khaki); text-transform: uppercase; }
.consulting-price { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--devil-red); text-shadow: var(--glow-red); }
.consulting-desc { font-size: 0.85rem; color: var(--steel); line-height: 1.5; flex: 1; }
.expertise-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.expertise-tags-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.expertise-tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--khaki); background: rgba(196,181,144,0.08); border: 1px solid rgba(196,181,144,0.15); padding: 0.35rem 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── CONSULTING BOOKING FORM ── */
.consulting-hero-section { background: var(--ops-black); }
.consulting-hero-section h1 { color: var(--khaki); }
.consulting-hero-section .section-designator { color: var(--devil-red); opacity: 0.8; }
.consulting-hero-section .page-subtitle { color: var(--steel); }
.consulting-hero-section .hero-badge { background: var(--deep-black); }

.booking-section { background: var(--ops-black); padding: 0 0 5rem; }

.booking-form-card { background: var(--true-black); border: 1px solid rgba(255,255,255,0.15); padding: 2.5rem; position: relative; overflow: hidden; }
.booking-form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--devil-red), var(--red-trim), var(--devil-red)); }

.booking-form-header { text-align: center; margin-bottom: 2rem; }
.booking-form-header h2 { font-family: var(--font-display); font-size: 2rem; color: var(--khaki); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.booking-form-header p { color: var(--steel); font-size: 0.9rem; }

.booking-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.booking-form-card .form-group { margin-bottom: 1.25rem; }
.booking-form-card .form-group label { display: block; font-family: var(--font-display); font-size: 0.85rem; color: var(--khaki); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.booking-form-card .form-group input,
.booking-form-card .form-group select { width: 100%; padding: 0.85rem 1rem; background: var(--deep-black); border: 1px solid var(--gunmetal); color: var(--light-steel); font-family: var(--font-body); font-size: 0.95rem; transition: border-color var(--transition-fast); }
.booking-form-card .form-group input:focus,
.booking-form-card .form-group select:focus { outline: none; border-color: var(--devil-red); box-shadow: 0 0 0 2px rgba(123,216,143,0.15); }
.booking-form-card .form-group input::placeholder { color: var(--steel); opacity: 0.5; }

/* Date Picker */
.datepicker-wrapper { position: relative; }
.datepicker-input { cursor: pointer; }
.datepicker-calendar { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--deep-black); border: 1px solid var(--gunmetal); padding: 1.25rem; z-index: 1000; display: none; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.datepicker-calendar.active { display: block; animation: fadeSlideIn 0.2s ease; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.datepicker-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gunmetal); }
.datepicker-header button { background: var(--charcoal); border: 1px solid var(--gunmetal); color: var(--light-steel); width: 36px; height: 36px; cursor: pointer; font-size: 1.25rem; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; }
.datepicker-header button:hover { background: var(--devil-red); border-color: var(--devil-red); }
.datepicker-month { font-family: var(--font-display); font-size: 1.1rem; color: var(--khaki); text-transform: uppercase; letter-spacing: 0.08em; }

.datepicker-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 0.5rem; }
.datepicker-weekdays span { text-align: center; font-family: var(--font-mono); font-size: 0.6rem; color: var(--steel); text-transform: uppercase; padding: 0.4rem 0; }

.datepicker-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.datepicker-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.85rem; color: var(--light-steel); background: none; border: none; cursor: pointer; transition: all 0.15s ease; }
.datepicker-day:hover:not(:disabled) { background: var(--devil-red); color: #fff; }
.datepicker-day:disabled { color: rgba(255,255,255,0.15); cursor: not-allowed; }
.datepicker-day.selected { background: var(--devil-red); color: #fff; font-weight: 600; }
.datepicker-day.other-month { color: rgba(255,255,255,0.1); }

/* Time Slots */
.time-slots-wrapper { margin-top: 0.5rem; margin-bottom: 1.5rem; }
.time-slots-label { display: block; font-family: var(--font-display); font-size: 0.85rem; color: var(--khaki); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.time-slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.time-slot { background: var(--deep-black); border: 1px solid var(--gunmetal); padding: 0.75rem 0.5rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--light-steel); cursor: pointer; transition: all 0.2s ease; text-align: center; }
.time-slot:hover { border-color: var(--devil-red); background: rgba(123,216,143,0.08); }
.time-slot.selected { background: var(--devil-red); border-color: var(--devil-red); color: #fff; box-shadow: 0 0 12px rgba(123,216,143,0.3); }

/* Summary & Submit */
.form-summary { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gunmetal); }
.summary-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.summary-total { font-family: var(--font-display); font-size: 1.3rem; color: var(--khaki); letter-spacing: 0.05em; }
.summary-amount { color: var(--devil-red); font-size: 2rem; }
.summary-notice { font-size: 0.8rem; color: var(--steel); font-family: var(--font-mono); }

.booking-error { background: rgba(123,216,143,0.1); border: 1px solid rgba(123,216,143,0.3); color: var(--devil-red); font-family: var(--font-mono); font-size: 0.8rem; padding: 0.75rem 1rem; margin-bottom: 1rem; }

.btn-book-submit { width: 100%; padding: 1.1rem 2rem; background: var(--devil-red); border: 2px solid var(--devil-red); font-family: var(--font-display); font-size: 1.3rem; color: #fff; text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer; transition: all 0.3s ease; }
.btn-book-submit:hover:not(:disabled) { background: transparent; color: var(--devil-red); box-shadow: 0 0 25px rgba(123,216,143,0.4); transform: translateY(-2px); }
.btn-book-submit:disabled { background: var(--gunmetal); border-color: var(--gunmetal); color: var(--steel); opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-book-submit.loading { opacity: 0.7; }

/* Policy Section */
.policy-section { background: var(--true-black); padding: 4rem 0; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
.policy-card { text-align: center; padding: 1.5rem; }
.policy-card h4 { font-family: var(--font-display); font-size: 1rem; color: var(--devil-red); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.policy-card p { font-size: 0.85rem; color: var(--steel); line-height: 1.6; }

/* designator + tag classes shared by client-focus and products pages */
.capability-icon { font-family: var(--font-mono); font-size: 0.72rem; color: var(--green); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1rem; }
.capability-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.capability-tag { font-family: var(--font-mono); font-size: 0.65rem; color: var(--green); background: var(--green-wash); border: 1px solid var(--hairline); padding: 0.2rem 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── CLIENT FOCUS ── */
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.client-card { position: relative; background: linear-gradient(180deg, rgba(123,216,143,0.05), rgba(0,0,0,0) 42%), rgba(11,16,13,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hairline); border-radius: 3px; padding: 2rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.client-card::before, .client-card::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1px solid var(--green); opacity: .5; transition: opacity .25s var(--ease); }
.client-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.client-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.client-card:hover { transform: translateY(-4px); border-color: var(--hairline-2); box-shadow: 0 0 0 1px rgba(123,216,143,.06), 0 24px 60px -28px var(--green-glow); }
.client-card:hover::before, .client-card:hover::after { opacity: 1; }
.client-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--khaki); text-transform: uppercase; margin: 0.75rem 0; }
.client-card p { font-size: 0.9rem; color: var(--steel); line-height: 1.65; }
.client-items { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.client-items li { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.05em; color: var(--devil-red); padding-left: 1.25rem; position: relative; }
.client-items li::before { content: '\25B8'; position: absolute; left: 0; color: var(--devil-red); }

/* ── PRODUCTS ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.product-card { position: relative; background: linear-gradient(180deg, rgba(123,216,143,0.05), rgba(0,0,0,0) 42%), rgba(11,16,13,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hairline); border-radius: 3px; padding: 2rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.product-card::before, .product-card::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1px solid var(--green); opacity: .5; transition: opacity .25s var(--ease); }
.product-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.product-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.product-card:hover { transform: translateY(-4px); border-color: var(--hairline-2); box-shadow: 0 0 0 1px rgba(123,216,143,.06), 0 24px 60px -28px var(--green-glow); }
.product-card:hover::before, .product-card:hover::after { opacity: 1; }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; gap: 1rem; }
.product-header h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--khaki); text-transform: uppercase; }
.product-status { font-family: var(--font-mono); font-size: 0.6rem; color: var(--khaki); background: rgba(196,181,144,0.1); border: 1px solid rgba(196,181,144,0.2); padding: 0.2rem 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.product-desc { font-size: 0.9rem; color: var(--steel); line-height: 1.65; margin-bottom: 1.25rem; }

/* ── LEGAL ── */
.legal h2 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--khaki); text-transform: uppercase; margin-top: 2rem; margin-bottom: 0.5rem; }
.legal p { color: var(--steel); line-height: 1.7; margin-bottom: 0.75rem; }
.legal-effective { font-family: var(--font-mono); font-size: 0.75rem; color: var(--steel); margin-bottom: 1.5rem; }

/* ── FOOTER ── */
footer { background: var(--true-black); padding: 3rem 1.5rem 1.5rem; border-top: 1px solid var(--gunmetal); }
.footer-content { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer-left { justify-self: start; }
.footer-content .social-links { justify-self: end; margin-right: 1.25rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.1rem; color: var(--khaki); letter-spacing: 0.1em; }
.footer-tagline { font-family: var(--font-display); font-size: 0.7rem; color: var(--steel); margin-top: 0.25rem; letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: var(--font-heading); font-size: 0.8rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links a:hover { color: var(--devil-red); }
.social-links { display: flex; gap: 1rem; }
.social-link { color: var(--steel) !important; transition: color var(--transition-fast); }
.social-link:hover { color: var(--devil-red) !important; }
.footer-bottom { max-width: var(--max-width); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--gunmetal); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gunmetal); letter-spacing: 0.08em; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* footer terms/privacy — exact nav-cta geometry, centered */
.footer-links { display: flex; gap: 1rem; justify-content: center; align-items: center; }
.footer-links .footer-btn { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: #fff !important; text-transform: uppercase; letter-spacing: 0.08em; background: var(--candy); clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); padding: 0.5rem 1.25rem; transition: background var(--transition-fast); }
.footer-links .footer-btn:hover { background: var(--candy-hot); color: #fff !important; }

/* client-focus: doctrine + sector orbit split, defense band */
.focus-columns { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.focus-doctrine .section-title { margin-bottom: 1rem; }
.focus-lede { color: var(--silver); line-height: 1.75; max-width: 56ch; margin-bottom: 1.1rem; }
.focus-orbit svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 26px rgba(123,216,143,0.16)); }
.focus-sectors { padding-top: 0; }
.focus-defense .account-card { max-width: 640px; text-align: center; }
.focus-cta { justify-content: center; }

/* account headbust in the nav */
.nav-account { display: inline-flex; align-items: center; padding: 0.3rem 0.2rem 0.3rem 0.55rem; }
.nav-account img { width: 30px; height: 30px; display: block; opacity: 0.85; transition: opacity var(--transition-fast), filter var(--transition-fast); }
.nav-account:hover img { opacity: 1; filter: drop-shadow(0 0 8px var(--green-glow)); }

/* auth + account cards */
.auth-card { position: relative; background: linear-gradient(180deg, rgba(123,216,143,0.05), rgba(0,0,0,0) 42%), rgba(11,16,13,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hairline); border-radius: 3px; padding: 2.25rem; max-width: 480px; margin: 0 auto; }
.auth-card::before, .auth-card::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1px solid var(--green); opacity: .55; }
.auth-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.auth-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.auth-toggle { display: flex; gap: 0; margin-bottom: 1.75rem; border: 1px solid var(--hairline); }
.auth-mode { flex: 1; padding: 0.65rem 0; background: transparent; border: 0; color: var(--silver-dim); font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: color var(--transition-fast), background var(--transition-fast); }
.auth-mode.active { color: var(--bone); background: var(--green-wash); box-shadow: inset 0 -2px 0 var(--green); }
.account-card { text-align: left; }
.account-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--hairline); }
.account-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--silver-dim); letter-spacing: 0.2em; text-transform: uppercase; }
.account-value { color: var(--bone); }
.account-note { color: var(--silver); font-size: 0.9rem; margin: 1.25rem 0 1.5rem; }

/* members-only redaction */
.booking-form-card { position: relative; }
.members-overlay { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: rgba(5,7,6,0.55); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); border: 1px solid var(--hairline-2); }
.members-overlay-inner { text-align: center; padding: 2rem; }
.members-overlay-inner p { color: var(--silver); margin: 0.75rem auto 1.4rem; }
.members-lock { font-family: var(--font-display); font-size: 1.3rem; color: var(--green); letter-spacing: 0.3em; text-transform: uppercase; }

/* ── TACTICAL SELECT — in-DOM menu, OS popover killed (recipe) ── */
.tactical-select { position: relative; display: block; width: 100%; font: inherit; }
.ts-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0.75rem 0.9rem; background: var(--void); color: var(--silver); border: 1px solid var(--hairline); font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: border-color var(--transition-fast), color var(--transition-fast); }
.ts-trigger:hover { border-color: var(--hairline-2); color: var(--bone); }
.ts-trigger:focus-visible { outline: 1px solid var(--green); outline-offset: 1px; }
.ts-trigger.open { border-color: var(--green); color: var(--bone); }
.ts-caret { color: var(--green); transition: transform 120ms var(--ease); }
.ts-trigger.open .ts-caret { transform: rotate(180deg); }
.ts-menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 40; margin: 0; padding: 4px 0; list-style: none; background: var(--panel); border: 1px solid var(--hairline-2); box-shadow: 0 10px 24px rgba(0,0,0,0.55), 0 0 0 1px rgba(123,216,143,0.05); max-height: 260px; overflow-y: auto; }
.ts-option { padding: 0.6rem 0.9rem; color: var(--silver); cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; transition: background var(--transition-fast), color var(--transition-fast); }
.ts-option.active { background: var(--green-wash); color: var(--bone); }
.ts-option.selected { color: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .capabilities-grid { grid-template-columns: 1fr; }
    .hero-columns { grid-template-columns: 1fr; }
    .focus-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; }
    .mobile-menu-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(10,10,10,0.98); flex-direction: column; padding: 5rem 2rem 2rem; gap: 0; transition: right var(--transition-smooth); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.75rem 0; font-size: 1rem; border-bottom: 1px solid var(--gunmetal); }
    .nav-cta { margin-top: 1rem; text-align: center; }
    .hero { padding-top: calc(var(--nav-height) + 1.5rem); min-height: auto; }
    .capabilities-grid, .client-grid, .products-grid { grid-template-columns: 1fr; }
    .consulting-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .booking-form-card .form-row { grid-template-columns: 1fr; }
    .time-slots-grid { grid-template-columns: repeat(2, 1fr); }
    .policy-grid { grid-template-columns: 1fr; }
    .booking-form-card { padding: 1.5rem; }
    .summary-row { flex-direction: column; text-align: center; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; }
    section { padding: 3rem 0; }
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-left { justify-self: center; text-align: center; }
    .footer-links { justify-self: center; }
    .footer-content .social-links { justify-self: center; margin-right: 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .loader-triad, .loader-progress { width: min(260px, 76vw); }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-telemetry { flex-direction: column; gap: 0.75rem; }
    .telemetry-item { flex-direction: row; justify-content: space-between; min-width: 100%; padding: 0.5rem 0; border-bottom: 1px solid var(--gunmetal); }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
    .consulting-grid { grid-template-columns: 1fr; }
    .step-header { flex-direction: column; gap: 0.25rem; }
}


/* ═══ CGX TRANSPLANT — chargegun.io product grammar, .cgx-scoped ═══
   Source of truth: chargegun-rs-io-site/frontend/style/main.css.
   Every selector (including every comma part inside @media) is
   .cgx-prefixed; zero bleed into the dronegrid theme. Do not
   hand-edit — re-extract on upstream change. */
.cgx {
    /* Primary Palette - Hot Rod */
    --candy-red: #C41E3A;
    --candy-red-bright: #DC143C;
    --candy-red-dark: #8B0000;
    
    /* Neutrals */
    --true-black: #0A0A0A;
    --rich-black: #121212;
    --charcoal: #1A1A1A;
    --off-white: #FAF9F6;
    --cream: #FFF8E7;
    --warm-white: #FFF8F0;
    --pure-white: #FFFFFF;
    
    /* Silver/Chrome accents */
    --silver: #C0C0C0;
    --chrome: #E8E8E8;
    --silver-dark: #A0A0A0;
    
    /* Typography */
    --font-hero: 'Brogame', 'Bebas Neue', 'Impact', sans-serif;
    --font-koulen: 'Koulen', 'Bebas Neue', 'Impact', sans-serif;
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;
    
    /* Effects */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hard: 0 8px 40px rgba(0, 0, 0, 0.5);
    
    /* White/Silver glow shadows for black cards */
    --shadow-white-glow: 0 0 1px rgba(255, 255, 255, 0.8),
                         0 0 8px rgba(255, 255, 255, 0.15);
    --shadow-white-glow-hover: 0 0 2px rgba(255, 255, 255, 0.9),
                               0 0 15px rgba(255, 255, 255, 0.25),
                               0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-red-glow: 0 0 1px rgba(196, 30, 58, 0.8),
                       0 0 12px rgba(196, 30, 58, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: contents;
}

.cgx .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.cgx .btn-primary {
    background: var(--true-black);
    color: var(--off-white);
}

.cgx .btn-primary:hover {
    background: var(--candy-red);
    color: var(--off-white);
    transform: translateY(-2px);
}

.cgx .container {
    max-width: 1200px;
    margin: 0 auto;
}

.cgx .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.cgx .section-badge {
    display: inline-block;
    font-family: var(--font-koulen);
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    background: var(--true-black);
    color: var(--off-white);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.cgx .section-title {
    font-family: var(--font-hero);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 1rem;
    color: var(--true-black);
    text-transform: uppercase;
}

.cgx .section-subtitle {
    font-size: 1.1rem;
    color: var(--true-black);
    max-width: 600px;
    margin: 1rem auto 0;
    opacity: 0.9;
}

/* === Products Section === */
.cgx .products {
    background: transparent;
}

/* === Flagship Product Showcase === */
.cgx .flagship-showcase {
    background: var(--true-black);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: var(--shadow-white-glow);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.cgx .flagship-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--candy-red), var(--candy-red-bright), var(--candy-red));
}

.cgx .flagship-showcase:hover {
    box-shadow: var(--shadow-white-glow-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.cgx .flagship-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cgx .flagship-title {
    font-family: var(--font-koulen);
    font-size: 1.6rem;
    color: var(--off-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cgx .flagship-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: var(--candy-red);
    color: var(--off-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    white-space: nowrap;
}

.cgx .flagship-tagline {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.cgx .flagship-description {
    color: var(--silver);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cgx .flagship-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cgx .flagship-feature {
    display: flex;
    /* Top-align: the check rides the FIRST line of multi-line items,
       not the vertical middle. Single-line items render identically. */
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--silver);
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.cgx .flagship-feature .check-icon {
    color: var(--candy-red);
    font-weight: bold;
    /* Same line box as the text, so the check centers on line one. */
    line-height: inherit;
}

.cgx .flagship-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cgx .flagship-tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: var(--rich-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--silver);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cgx .flagship-cta {
    margin-top: 2rem;
    text-align: center;
}

.cgx .flagship-cta .btn {
    min-width: 200px;
}

/* === Page Specific Styles === */
.cgx .page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: transparent;
}

.cgx .page-hero h1 {
    font-family: var(--font-hero);
    font-size: clamp(1.0rem, 10vw, 6rem);
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--true-black);
    line-height: 1;
}

.cgx .page-hero h1 span {
    color: var(--candy-red);
}

.cgx .page-hero h1 .accent {
    color: var(--candy-red);
}

.cgx .page-hero p {
    font-size: 1.2rem;
    color: var(--true-black);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.cgx .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cgx .pricing-card {
    background: var(--true-black);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-white-glow);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.cgx .pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--candy-red), var(--candy-red-bright), var(--candy-red));
}

.cgx .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-white-glow-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.cgx .pricing-card.featured {
    border-color: var(--candy-red);
}

.cgx .pricing-card h3, .cgx .pricing-tier {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--off-white);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.cgx .pricing-amount {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--candy-red);
    margin-bottom: 1.5rem;
}

.cgx .pricing-amount span {
    font-size: 1rem;
    color: var(--silver);
}

.cgx .pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.cgx .pricing-features li {
    color: var(--silver);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cgx .pricing-features li::before {
    content: "\2714";
    color: var(--candy-red);
    font-weight: bold;
    margin-right: 0.5rem;
}

.cgx .btn-pricing, .cgx .pricing-btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    background: var(--candy-red);
    color: var(--off-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: var(--transition-fast);
    width: 100%;
    border: none;
    cursor: pointer;
}

.cgx .btn-pricing:hover, .cgx .pricing-btn:hover {
    background: var(--candy-red-bright);
    box-shadow: var(--shadow-red-glow);
}

@media (max-width: 768px) {
    .cgx .nav-links.active {
        display: flex;
    }
    .cgx .flagship-features, .cgx .product-detail-features {
        grid-template-columns: 1fr;
    }
    .cgx .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* === MCP Server Ecosystem (home) — Koulen treatment, .cgx scoped === */
.cgx .mcp-koulen .flagship-description, .cgx .mcp-koulen .flagship-feature span {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
}

.cgx .mcp-koulen .flagship-feature span {
    font-size: 1rem;
}

/* Named taglines go check-mark red to break the black/white monotony: home MCP card + Why ChargeGun, .cgx all four Client Focus cards, .cgx and the tech-blog card. Scoped; .flagship-tagline elsewhere keeps its silver. */
.cgx .mcp-koulen .flagship-tagline, .cgx .about .flagship-tagline, .cgx .client-focus .flagship-tagline, .cgx .tech-blog .flagship-tagline {
    color: var(--candy-red);
}

/* ── Koulen sweep (2026-07-22): home Expertise + Contact subtitles and the full Why ChargeGun body. Scoped to these sections only — the flagship-* classes on product cards keep their data face. ── */
.cgx .expertise .section-subtitle, .cgx .contact .section-subtitle {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
    font-size: 1.2rem;
}

.cgx .about .flagship-description, .cgx .about .flagship-feature, .cgx .about .flagship-feature strong {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
}

.cgx .about .flagship-description {
    font-size: 1.05rem;
}

.cgx .about .flagship-feature {
    font-size: 1rem;
}

/* ── Koulen sweep #2 (2026-07-22): page heroes, .cgx Client Focus + tech-blog bodies, .cgx legal pages, .cgx booking + contact forms. Scoped hooks: .client-focus (added in client_focus.rs), .cgx .tech-blog (already in tech_blog.rs). Product pages and buttons untouched. ── */
.cgx .page-hero p {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
}

/* Client Focus + tech-blog card bodies — mirrors the .about treatment. */
.cgx .client-focus .flagship-description, .cgx .client-focus .flagship-feature, .cgx .client-focus .flagship-feature strong, .cgx .tech-blog .flagship-description, .cgx .tech-blog .flagship-feature, .cgx .tech-blog .flagship-feature strong {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
}

.cgx .client-focus .flagship-description, .cgx .tech-blog .flagship-description {
    font-size: 1.05rem;
}

.cgx .client-focus .flagship-feature, .cgx .tech-blog .flagship-feature {
    font-size: 1rem;
}

/* ── Koulen + red sweep #3 (2026-07-22): consulting finishers + the whole products/* family. All product pages share the .products wrapper, .cgx so these rules cover the catalog page AND arcadia / auriga-charge / auriga-cart detail pages in one shot. ── */
.cgx .consulting-hero .tagline, .cgx .policy-card p {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
}

/* Product family: bullet-• taglines go check-mark red. */
.cgx .products .flagship-tagline {
    color: var(--candy-red);
}

/* Product family: descriptions, .cgx ✔ features, .cgx and every section subtitle (pricing lead-ins, .cgx INTEGRATION FLOW note, .cgx COMMAND DECK line) → Koulen. */
.cgx .products .flagship-description, .cgx .products .flagship-feature, .cgx .products .flagship-feature strong, .cgx .products .section-subtitle, .cgx .acr-flow-sub, .cgx .acr-deck-sub {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
}

.cgx .products .flagship-description {
    font-size: 1.05rem;
}

.cgx .products .flagship-feature {
    font-size: 1rem;
}

/* Pricing cards, .cgx fleet-wide: Koulen features; equal-height cards with bottom-pinned buttons so Standard/Pro CTAs sit level (the auriga-cart page-local fix promoted to the whole fleet); red — markers unchanged. */
.cgx .pricing-features li {
    font-family: var(--font-koulen);
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.cgx .pricing-card {
    display: flex;
    flex-direction: column;
}

.cgx .pricing-card .btn-pricing {
    margin-top: auto;
}

/* ═══ CGX ENVIRONMENT — 012a: the ground the transplanted pages stood on ═══
   On chargegun these pages sat on body { pure-white; true-black; Inter }.
   .cgx is display:contents, so inheritance flows through it; the section
   grounds reproduce the white page bands the dashboards were shot against.
   Brogame is the hero masthead face (--font-hero), served from /fonts. */
@font-face {
    font-family: 'Brogame';
    src: url('/fonts/Brogame.woff2') format('woff2'),
         url('/fonts/Brogame.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.cgx { font-family: var(--font-body); color: var(--off-white); line-height: 1.6; letter-spacing: normal; -webkit-font-smoothing: antialiased; }
/* 012b — DARK-NATIVE: dronegrid has no white pages. Sections are
   transparent over the void field; the four text rules that assumed
   chargegun's white body flip to light. The dark glass cards and
   dashboards are self-grounded and unchanged — black glass on the
   dark green field, exactly the brief. */
.cgx .page-hero, .cgx .products { background: transparent; }
.cgx .page-hero h1, .cgx .section-title { color: var(--off-white); }
.cgx .page-hero p, .cgx .section-subtitle { color: var(--silver); }

/* ═══ 012d — TACTICAL OUTER SHELLS: every flagship panel wears the
   dronegrid house pattern (glass + hairline + corner brackets + hover
   lift), replacing the chargegun red-top skin. OUTER CONTAINERS ONLY —
   every byte inside the panels is untouched. Rides last in the cascade;
   explicit resets neutralize the red strip that lived on ::before. */
.cgx .flagship-showcase {
    background: linear-gradient(180deg, rgba(123,216,143,0.05), rgba(0,0,0,0) 42%), rgba(11,16,13,0.82);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--hairline);
    border-radius: 3px;
    position: relative;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.cgx .flagship-showcase::before, .cgx .flagship-showcase::after {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    top: auto; left: auto; right: auto; bottom: auto;
    background: none;
    border: 1px solid var(--green);
    opacity: .5;
    transition: opacity .25s var(--ease);
}
.cgx .flagship-showcase::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cgx .flagship-showcase::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.cgx .flagship-showcase:hover {
    transform: translateY(-4px);
    border-color: var(--hairline-2);
    box-shadow: 0 0 0 1px rgba(123,216,143,.06), 0 24px 60px -28px var(--green-glow), 0 8px 24px rgba(0,0,0,.5);
}
.cgx .flagship-showcase:hover::before, .cgx .flagship-showcase:hover::after { opacity: 1; }

/* ═══ 013 — CONTACT FORM ARMOR: house glass shell around the form,
   Koulen throughout, both actions red. Brackets ignite on focus-within
   instead of hover — a form should respond to engagement, not mouse-over. */
.contact-form-wrapper { position: relative; background: linear-gradient(180deg, rgba(123,216,143,0.05), rgba(0,0,0,0) 42%), rgba(11,16,13,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--hairline); border-radius: 3px; padding: 2.5rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.contact-form-wrapper::before, .contact-form-wrapper::after { content: ''; position: absolute; width: 18px; height: 18px; border: 1px solid var(--green); opacity: .5; transition: opacity .25s var(--ease); }
.contact-form-wrapper::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.contact-form-wrapper::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.contact-form-wrapper:focus-within { border-color: var(--hairline-2); box-shadow: 0 0 0 1px rgba(123,216,143,.06), 0 24px 60px -28px var(--green-glow); }
.contact-form-wrapper:focus-within::before, .contact-form-wrapper:focus-within::after { opacity: 1; }
.contact-form-wrapper .form-group label { font-family: var(--font-display); font-size: 0.9rem; color: var(--bone); letter-spacing: 0.1em; }
.contact-form-wrapper .form-group input, .contact-form-wrapper .form-group textarea { font-family: var(--font-display); font-size: 1rem; color: var(--bone); letter-spacing: 0.05em; background: rgba(5,7,6,0.6); border: 1px solid var(--hairline); }
.contact-form-wrapper .form-group input::placeholder, .contact-form-wrapper .form-group textarea::placeholder { color: var(--silver-dim); }
.contact-form-wrapper .form-group input:focus, .contact-form-wrapper .form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(123,216,143,0.12); }
.contact-form-wrapper .form-actions .btn { font-family: var(--font-display); font-size: 0.95rem; color: #fff !important; text-transform: uppercase; letter-spacing: 0.08em; background: var(--candy); border: none; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); padding: 0.85rem 1.9rem; cursor: pointer; transition: background var(--transition-fast); }
.contact-form-wrapper .form-actions .btn:hover { background: var(--candy-hot); color: #fff !important; }
.contact-form-wrapper .form-actions .btn:disabled { opacity: 0.55; cursor: default; }
