@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter+Tight:wght@300;400;500;600;700&display=swap');

:root {
  --slate: #1E293B;
  --slate-2: #172033;
  --slate-3: #0F172A;
  --steel: #475569;
  --steel-light: #64748B;
  --steel-lighter: #94A3B8;
  --yellow: #EAB308;
  --yellow-deep: #CA8A04;
  --yellow-soft: #FEF3C7;
  --charcoal: #0F172A;
  --off-white: #FAFAF5;
  --off-white-2: #F1F1EA;
  --off-white-3: #E5E5DC;
  --white: #FFFFFF;
  --border: #D6D6CB;
  --border-2: #BBBBAF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--charcoal); background: var(--off-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--slate); letter-spacing: -0.02em; line-height: 1.15; }

/* CAUTION STRIPE */
.caution-stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--slate) 0 12px, var(--yellow) 12px 24px); }

/* ---- TOPBAR ---- */
.topbar { background: var(--slate); color: var(--off-white); font-size: 0.78rem; padding: 0.55rem 1.5rem; letter-spacing: 0.4px; font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; }
.topbar-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.topbar-l { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.topbar-l::before { content: ''; display: inline-block; width: 12px; height: 12px; background: var(--yellow); }
.topbar-r { display: flex; gap: 1.5rem; align-items: center; font-size: 0.72rem; }
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 600; }

/* ---- NAV ---- */
.nav { background: var(--white); border-bottom: 3px solid var(--slate); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo-mark { width: 52px; height: 52px; background: var(--yellow); display: flex; align-items: center; justify-content: center; color: var(--slate); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.5px; position: relative; border: 3px solid var(--slate); }
.logo-mark::after { content: ''; position: absolute; bottom: -3px; left: -3px; right: -3px; height: 6px; background: var(--slate); }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--slate); letter-spacing: -0.5px; line-height: 1; text-transform: uppercase; }
.logo-text span { color: var(--yellow-deep); }
.logo-sub { display: block; font-family: 'Inter Tight', sans-serif; font-size: 0.66rem; color: var(--steel); text-transform: uppercase; letter-spacing: 2.5px; margin-top: 4px; font-weight: 600; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--steel); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; position: relative; padding: 0.4rem 0; }
.nav-links a:hover, .nav-links a.active { color: var(--slate); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--yellow); }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { font-family: 'Space Grotesk', sans-serif; font-size: 0.86rem; font-weight: 600; color: var(--slate); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; }
.nav-phone svg { color: var(--yellow-deep); }
.btn-nav { background: var(--slate); color: var(--yellow); padding: 0.7rem 1.4rem; text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; transition: all 0.2s; border: 2px solid var(--slate); }
.btn-nav:hover { background: var(--yellow); color: var(--slate); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 22px; height: 3px; background: var(--slate); display: block; }
.nav-mobile { display: none; background: var(--off-white-2); border-top: 3px solid var(--yellow); padding: 1rem 1.5rem; }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.nav-mobile a { color: var(--slate); text-decoration: none; font-size: 0.95rem; font-weight: 600; text-transform: uppercase; }

/* ---- HERO ---- */
.hero { background: var(--off-white); padding: 4.5rem 1.5rem 5.5rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 40px; right: -60px; width: 320px; height: 320px; background: var(--yellow); opacity: 0.12; pointer-events: none; border-radius: 50%; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--slate); letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin-bottom: 1.6rem; padding: 0.4rem 0.9rem; background: var(--yellow); border: 2px solid var(--slate); }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); margin-bottom: 1.5rem; color: var(--slate); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--slate); position: relative; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: var(--yellow); z-index: -1; }
.hero p.lead { font-size: 1.1rem; color: var(--steel); margin-bottom: 2.2rem; max-width: 560px; line-height: 1.7; font-weight: 400; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; cursor: pointer; border: 2px solid var(--slate); }
.btn-primary { background: var(--slate); color: var(--yellow); }
.btn-primary:hover { background: var(--yellow); color: var(--slate); }
.btn-ghost { background: transparent; color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: var(--yellow); }

/* Dispatch log */
.hero-dispatch { background: var(--white); border: 3px solid var(--slate); position: relative; box-shadow: 8px 8px 0 var(--slate); }
.dispatch-header { background: var(--slate); color: var(--yellow); padding: 0.9rem 1.4rem; display: flex; align-items: center; justify-content: space-between; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.dispatch-header .title { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 1.5px; }
.dispatch-header .meta { font-size: 0.7rem; color: var(--off-white); letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.75; }
.dispatch-rows { padding: 0.6rem 1.4rem 1.4rem; }
.dispatch-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 0.8rem; align-items: center; padding: 0.85rem 0; border-bottom: 1px dashed var(--border); }
.dispatch-row:last-child { border-bottom: 0; }
.dispatch-row .idx { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--yellow-deep); }
.dispatch-row .role { color: var(--slate); font-weight: 600; font-size: 0.9rem; font-family: 'Space Grotesk', sans-serif; }
.dispatch-row .role small { display: block; color: var(--steel); font-weight: 400; font-size: 0.76rem; margin-top: 0.2rem; font-family: 'Inter Tight', sans-serif; }
.dispatch-row .status { font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; color: var(--slate); font-weight: 700; padding: 0.26rem 0.65rem; background: var(--yellow); border: 1.5px solid var(--slate); white-space: nowrap; letter-spacing: 0.8px; text-transform: uppercase; }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--slate); color: var(--off-white); padding: 3.2rem 1.5rem; position: relative; }
.stats-bar-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { position: relative; padding: 0.4rem 0; }
.stat-val { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--yellow); line-height: 1; margin-bottom: 0.4rem; letter-spacing: -1px; }
.stat-lbl { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; color: var(--off-white); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; opacity: 0.85; }

/* ---- SECTIONS ---- */
.section { padding: 5rem 1.5rem; background: var(--off-white); }
.section-alt { background: var(--off-white-2); position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { max-width: 740px; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--yellow-deep); letter-spacing: 2.8px; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; padding: 0.35rem 0.9rem; background: var(--slate); }
.eyebrow { color: var(--yellow); }
.section-header h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1rem; color: var(--slate); font-weight: 700; }
.section-header h2 em { font-style: normal; color: var(--slate); position: relative; }
.section-header h2 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: var(--yellow); z-index: -1; }
.section-header p.lead { color: var(--steel); font-size: 1.05rem; line-height: 1.7; }

/* ---- SECTORS ---- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.sector-card { background: var(--white); border: 2.5px solid var(--slate); padding: 1.9rem 1.6rem 1.7rem; position: relative; transition: all 0.2s; }
.sector-card::before { content: ''; position: absolute; top: -3px; left: 20px; width: 55px; height: 6px; background: var(--yellow); }
.sector-card:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--slate); }
.sector-card .code { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--yellow-deep); margin-bottom: 0.6rem; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.sector-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--slate); margin-bottom: 0.55rem; letter-spacing: -0.3px; }
.sector-card p { font-size: 0.88rem; color: var(--steel); line-height: 1.6; }

/* ---- WHY GRID ---- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-content .eyebrow { margin-bottom: 1rem; }
.why-content h2 { font-size: clamp(1.75rem, 3.2vw, 2.3rem); margin-bottom: 1.2rem; color: var(--slate); font-weight: 700; }
.why-content h2 em { font-style: normal; color: var(--slate); position: relative; }
.why-content h2 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: var(--yellow); z-index: -1; }
.why-content > p.intro { color: var(--steel); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.why-list li { display: flex; align-items: flex-start; gap: 1.1rem; padding-bottom: 1.4rem; border-bottom: 2px solid var(--border); }
.why-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.why-list .code-badge { flex-shrink: 0; width: 40px; height: 40px; background: var(--yellow); border: 2px solid var(--slate); display: flex; align-items: center; justify-content: center; color: var(--slate); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.88rem; }
.why-list .body strong { color: var(--slate); display: block; margin-bottom: 0.3rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.08rem; font-weight: 700; }
.why-list .body span { color: var(--steel); font-size: 0.94rem; line-height: 1.65; }

.why-visual { background: var(--slate); color: var(--off-white); padding: 2.2rem 2rem; position: relative; border: 3px solid var(--slate); box-shadow: 8px 8px 0 var(--yellow); }
.why-visual h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.92rem; color: var(--yellow); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 1.4rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--yellow); }
.why-visual .commit-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.why-visual .commit-list li { display: flex; align-items: center; gap: 0.85rem; font-family: 'Inter Tight', sans-serif; font-size: 0.92rem; color: var(--off-white); padding: 0.6rem 0.8rem; background: rgba(255,255,255,0.04); border-left: 3px solid var(--yellow); }
.why-visual .commit-list li strong { color: var(--yellow); font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin-right: 0.35rem; }

/* ---- PROCESS ---- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.process-step { background: var(--white); border: 2.5px solid var(--slate); padding: 2rem 1.8rem 1.7rem; position: relative; }
.process-step::before { content: ''; position: absolute; top: -6px; left: -6px; right: -6px; height: 6px; background: repeating-linear-gradient(-45deg, var(--slate) 0 8px, var(--yellow) 8px 16px); }
.process-step .step-code { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--slate); line-height: 1; margin-bottom: 1rem; letter-spacing: -1px; }
.process-step .step-code::after { content: '.'; color: var(--yellow); }
.process-step h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; color: var(--slate); margin-bottom: 0.7rem; font-weight: 700; }
.process-step p { color: var(--steel); font-size: 0.92rem; line-height: 1.7; }

/* ---- CTA BANNER ---- */
.cta-banner { background: var(--slate); color: var(--off-white); padding: 4.5rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before, .cta-banner::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--slate-3) 0 12px, var(--yellow) 12px 24px); }
.cta-banner::before { top: 0; }
.cta-banner::after { bottom: 0; }
.cta-banner-inner { max-width: 720px; margin: 0 auto; position: relative; }
.cta-banner .eyebrow { background: var(--yellow); color: var(--slate); margin-bottom: 1.2rem; }
.cta-banner h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 1.2rem; color: var(--off-white); font-weight: 700; }
.cta-banner h2 em { font-style: normal; color: var(--yellow); }
.cta-banner p { color: rgba(250,250,245,0.8); margin: 0 auto 2rem; max-width: 560px; font-size: 1rem; }
.cta-banner .btn-primary { background: var(--yellow); color: var(--slate); border-color: var(--yellow); }
.cta-banner .btn-primary:hover { background: transparent; color: var(--yellow); border-color: var(--yellow); }

/* ---- FOOTER ---- */
.footer { background: var(--slate-3); color: var(--off-white); padding: 4rem 1.5rem 1.8rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2.6rem; border-bottom: 2px solid var(--yellow); }
.footer-brand-mark { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand p { color: rgba(250,250,245,0.7); font-size: 0.92rem; line-height: 1.7; max-width: 340px; }
.footer-col h5 { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; color: var(--yellow); margin-bottom: 1.1rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-col li { color: rgba(250,250,245,0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; font-family: 'Space Grotesk', sans-serif; font-size: 0.76rem; color: rgba(250,250,245,0.5); flex-wrap: wrap; gap: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---- PAGE HEADER ---- */
.page-header { background: var(--off-white); padding: 4.5rem 1.5rem 3.8rem; text-align: center; position: relative; overflow: hidden; border-bottom: 3px solid var(--slate); }
.page-header::before { content: ''; position: absolute; top: -50px; right: -40px; width: 260px; height: 260px; background: var(--yellow); opacity: 0.12; border-radius: 50%; pointer-events: none; }
.page-header-inner { max-width: 900px; margin: 0 auto; position: relative; }
.page-header .eyebrow { margin-bottom: 1.2rem; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.2rem; color: var(--slate); font-weight: 700; }
.page-header h1 em { font-style: normal; color: var(--slate); position: relative; }
.page-header h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: var(--yellow); z-index: -1; }
.page-header p { color: var(--steel); max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.crumbs { display: flex; justify-content: center; gap: 0.6rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.74rem; color: var(--steel); margin-top: 1.6rem; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 600; }
.crumbs a { color: var(--yellow-deep); text-decoration: none; }

/* ---- PROSE ---- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-family: 'Space Grotesk', serif; font-size: 1.55rem; margin: 2.4rem 0 1rem; color: var(--slate); font-weight: 700; position: relative; padding-left: 1.2rem; }
.prose h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; background: var(--yellow); }
.prose h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; margin: 1.8rem 0 0.8rem; color: var(--slate); font-weight: 700; }
.prose p { font-size: 1rem; margin-bottom: 1.15rem; color: var(--charcoal); line-height: 1.8; }
.prose p:first-of-type { font-size: 1.06rem; color: var(--slate); font-weight: 500; }
.prose ul { padding-left: 0; margin-bottom: 1.1rem; color: var(--charcoal); list-style: none; }
.prose ul li { padding-left: 1.8rem; position: relative; margin-bottom: 0.6rem; line-height: 1.7; }
.prose ul li::before { content: ''; position: absolute; left: 0.5rem; top: 0.75rem; width: 10px; height: 3px; background: var(--yellow); }
.prose strong { color: var(--slate); font-weight: 700; }
.prose a { color: var(--slate); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--yellow-deep); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-info { background: var(--white); border: 3px solid var(--slate); padding: 2.2rem; position: relative; box-shadow: 6px 6px 0 var(--yellow); }
.contact-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; margin-bottom: 1.4rem; color: var(--slate); font-weight: 700; }
.contact-row { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 2px dashed var(--border); align-items: flex-start; }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .ci { width: 40px; height: 40px; background: var(--slate); display: flex; align-items: center; justify-content: center; color: var(--yellow); flex-shrink: 0; }
.contact-row .ci svg { width: 17px; height: 17px; }
.contact-row .lbl { font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; color: var(--yellow-deep); text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 0.25rem; font-weight: 700; }
.contact-row .val { color: var(--slate); font-size: 0.94rem; font-weight: 500; line-height: 1.5; }
.form-frame { background: var(--white); border: 3px solid var(--slate); padding: 0.5rem; box-shadow: 8px 8px 0 var(--yellow); }
.form-frame iframe { width: 100%; height: 780px; border: 0; display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-phone, .logo-sub { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { height: 66px; }
  .sector-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .section { padding: 3.5rem 1.5rem; }
}
