/* ============================================================
   SIGMA OPS — Design System
   Beta Global Partners LLC
   Military-grade precision. No gradients. No rgba. Solid hex only.
   ============================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --navy: #0A1628;
  --gunmetal: #2A3B4C;
  --amber: #D4A843;
  --burnt-orange: #C17C3A;
  --steel: #F0F4F8;
  --white: #FFFFFF;
  --black: #000000;
  --red-alert: #CC3333;
  --green-status: #2E8B57;

  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', 'Courier New', monospace;
  --font-sans: 'Inter', 'SF Pro Display', 'Helvetica Neue', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --max-width: 1280px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--steel);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover {
  color: var(--burnt-orange);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.display-mono {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber);
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--amber);
  color: var(--navy);
  padding: var(--space-xs) var(--space-sm);
  font-weight: 700;
  z-index: 10000;
  border: 0;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--navy);
  border-bottom: 2px solid var(--gunmetal);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--amber);
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  color: var(--steel);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 200ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 200ms ease;
}

.nav-cta:hover {
  background: var(--burnt-orange) !important;
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: transform 300ms ease, opacity 300ms ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === SECTION BASE === */
.section {
  padding: var(--space-xl) var(--space-md);
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  display: block;
  margin-bottom: var(--space-xs);
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

/* Angular corner accents for section headers */
.header-accent {
  display: inline-block;
  position: relative;
}

.header-accent::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -20px;
  width: 30px;
  height: 30px;
  border-left: 3px solid var(--amber);
  border-top: 3px solid var(--amber);
}

.header-accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: -20px;
  width: 30px;
  height: 30px;
  border-right: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
}

/* === HERO — Command Center === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--navy);
}

/* Angular background panels */
.hero-bg-panels {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-panel-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--gunmetal);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-bg-panel-2 {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 300px;
  height: 300px;
  border: 2px solid var(--amber);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  opacity: 0.15;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--gunmetal) 1px, transparent 1px),
    linear-gradient(90deg, var(--gunmetal) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at 30% 50%, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 30% 50%, black 40%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 8px 16px;
  margin-bottom: var(--space-md);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.hero h1 {
  margin-bottom: var(--space-sm);
  line-height: 0.95;
}

.hero h1 span {
  display: block;
  color: var(--amber);
  font-size: 0.85em;
}

.hero-strap {
  font-size: 1.25rem;
  color: var(--steel);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
  font-weight: 400;
  border-left: 3px solid var(--amber);
  padding-left: var(--space-md);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  cursor: pointer;
  text-align: center;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border: 0;
}

.btn-primary:hover {
  background: var(--burnt-orange);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* === CAPABILITY MATRIX === */
.capability-matrix {
  background: var(--gunmetal);
  position: relative;
}

.capability-matrix::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--amber);
}

.matrix-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #3A4B5C;
}

.matrix-item {
  padding: var(--space-md);
  border-bottom: 1px solid #3A4B5C;
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.matrix-item:nth-child(odd) {
  border-right: 1px solid #3A4B5C;
}

.matrix-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.matrix-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.matrix-icon svg {
  width: 24px;
  height: 24px;
}

.matrix-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 4px;
  display: block;
}

.matrix-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.matrix-desc {
  font-size: 0.9rem;
  color: #B0BEC5;
  line-height: 1.5;
}

/* === SERVICE MODULES === */
.service-modules {
  background: var(--navy);
}

.modules-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.module-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-lg) 0;
  position: relative;
  border-top: 1px solid var(--gunmetal);
}

.module-panel:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.module-number {
  font-family: var(--font-mono);
  font-size: 8rem;
  font-weight: 900;
  line-height: 0.8;
  color: var(--gunmetal);
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 0;
  user-select: none;
}

.module-panel:nth-child(even) .module-number {
  left: auto;
  right: 0;
}

.module-content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-md);
}

.module-panel:nth-child(odd) .module-content {
  grid-column: 1;
}

.module-panel:nth-child(even) .module-content {
  grid-column: 2;
  grid-row: 1;
}

.module-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-panel:nth-child(odd) .module-visual {
  grid-column: 2;
  grid-row: 1;
}

.module-panel:nth-child(even) .module-visual {
  grid-column: 1;
  grid-row: 1;
}

.module-visual-shape {
  width: 200px;
  height: 200px;
  border: 3px solid var(--amber);
}

.module-panel:nth-child(1) .module-visual-shape {
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
  background: var(--gunmetal);
}

.module-panel:nth-child(2) .module-visual-shape {
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
  border-color: var(--burnt-orange);
  background: #1A2A3A;
}

.module-panel:nth-child(3) .module-visual-shape {
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
  border-color: var(--amber);
  background: var(--gunmetal);
}

.module-content h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.75rem;
}

.module-content p {
  color: #B0BEC5;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  line-height: 1.7;
}

.module-specs {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.module-spec {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel);
  padding: 6px 12px;
  border: 1px solid var(--gunmetal);
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

/* === INTEL BRIEF === */
.intel-brief {
  background: var(--navy);
  position: relative;
}

.intel-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--gunmetal);
  position: relative;
  clip-path: polygon(0 0, 100% 20px, 100% 100%, 0 calc(100% - 20px));
}

.intel-strip {
  background: var(--amber);
  color: var(--navy);
  padding: 8px var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.intel-body {
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
}

.intel-primary h2 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  text-transform: none;
}

.intel-primary p {
  color: #B0BEC5;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.intel-data {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.intel-stat {
  background: var(--navy);
  padding: var(--space-sm);
  border-left: 3px solid var(--amber);
}

.intel-stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

.intel-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-top: 4px;
}

/* === OPERATIONAL FRAMEWORK === */
.operational-framework {
  background: var(--gunmetal);
}

.framework-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.framework-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.framework-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid #3A4B5C;
  align-items: start;
}

.framework-step:last-child {
  border-bottom: 0;
}

.step-marker {
  width: 60px;
  height: 60px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--amber);
}

.step-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.step-body p {
  color: #B0BEC5;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === CONTACT DASHBOARD === */
.contact-dashboard {
  background: var(--navy);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-console {
  background: var(--gunmetal);
  padding: var(--space-lg);
  clip-path: polygon(0 12px, 100% 0, 100% calc(100% - 12px), 0 100%);
}

.contact-console h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.contact-console p {
  color: #B0BEC5;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--navy);
  border: 1px solid #3A4B5C;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 200ms ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: var(--space-sm);
}

.form-submit .btn {
  width: 100%;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  background: var(--gunmetal);
  padding: var(--space-md);
  position: relative;
  clip-path: polygon(0 0, 100% 8px, 100% 100%, 0 calc(100% - 8px));
}

.contact-card h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-card p,
.contact-card a {
  color: #B0BEC5;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green-status);
  margin-right: 8px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* === FOOTER === */
.site-footer {
  background: var(--black);
  border-top: 4px solid var(--amber);
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.footer-brand p {
  color: #90A4AE;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-legal h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: var(--space-sm);
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
  color: #90A4AE;
  font-size: 0.9rem;
  transition: color 200ms ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--amber);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--gunmetal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  color: #607D8B;
  font-size: 0.8rem;
}

/* === LEGAL PAGES === */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--space-lg));
  padding-bottom: var(--space-xl);
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.legal-container h2 {
  font-size: 1.35rem;
  text-transform: none;
  color: var(--amber);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gunmetal);
}

.legal-container h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-container p {
  color: #B0BEC5;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-container ul {
  color: #B0BEC5;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  list-style: square;
}

.legal-container ul li {
  margin-bottom: 8px;
}

.legal-container address {
  font-style: normal;
  color: #B0BEC5;
  font-size: 16px;
  line-height: 1.8;
  background: var(--gunmetal);
  padding: var(--space-md);
  border-left: 3px solid var(--amber);
  margin: var(--space-sm) 0;
}

.legal-container a {
  color: var(--amber);
  text-decoration: underline;
}

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === COUNTER === */
.counter-value {
  font-variant-numeric: tabular-nums;
}

/* === TOAST === */
.toast {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  background: var(--green-status);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: var(--red-alert);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-bg-panel-1 {
    width: 35%;
  }

  .intel-body {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .module-panel {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .module-panel:nth-child(odd) .module-content,
  .module-panel:nth-child(even) .module-content {
    grid-column: 1;
    grid-row: 1;
  }

  .module-panel:nth-child(odd) .module-visual,
  .module-panel:nth-child(even) .module-visual {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .module-number {
    font-size: 5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--gunmetal);
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
    transition: right 300ms ease;
    gap: var(--space-sm);
    border-left: 2px solid var(--amber);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .matrix-item:nth-child(odd) {
    border-right: 0;
  }

  .matrix-item:nth-last-child(2) {
    border-bottom: 1px solid #3A4B5C;
  }

  .hero-bg-panel-1 {
    width: 100%;
    height: 30%;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    opacity: 0.5;
  }

  .hero-bg-panel-2 {
    display: none;
  }

  .framework-step {
    grid-template-columns: 60px 1fr;
    gap: var(--space-sm);
  }

  .step-marker {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .contact-console {
    clip-path: polygon(0 8px, 100% 0, 100% calc(100% - 8px), 0 100%);
  }

  .intel-container {
    clip-path: polygon(0 0, 100% 10px, 100% 100%, 0 calc(100% - 10px));
  }

  .section {
    padding: var(--space-lg) var(--space-sm);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .legal-container {
    padding: 0 var(--space-sm);
  }

  .legal-container h1 {
    font-size: 1.75rem;
  }
}

/* === PRINT === */
@media print {
  .site-nav,
  .nav-toggle,
  .hero-bg-panels,
  .hero-bg-grid,
  .toast {
    display: none !important;
  }

  body {
    background: var(--white);
    color: var(--black);
  }

  .section {
    padding: var(--space-md) 0;
  }
}
