/* Generated by Frontend Wireframe Engine — Phase 4
   Client: Apex Protection Solutions
   DNA Hash: 0891917b4cd1
   Do not edit — regenerate via the engine */

:root {
  /* Typography — swiss-clean-authority + monumental display (differentiation pairing) */
  --font-display: 'Archivo Black', 'Inter', sans-serif; /* monumental headlines — breaks the narrow-sans category cliche */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --scale-ratio: 1.25;
  --heading-weight: 800;
  --heading-case: uppercase;
  --heading-letterspacing: 0.02em; /* display set tight; labels tracked separately */
  --heading-line-height: 1.02;
  --label-letterspacing: 0.18em; /* tracked uppercase metadata labels */
  --body-size: 16px;
  --body-weight: 400;
  --body-line-height: 1.6;
  --body-letterspacing: 0.01em;
  --max-line-length: 60ch;

  /* Color — monochrome-plus-one, LIGHT-dominant override + oxblood accent
     Inverts the category's dark base + navy/gold duopoly */
  --color-bg-white: #FAF8F4;   /* warm paper */
  --color-bg-light: #F0EBE3;
  --color-bg-mid: #E3DBCF;
  --color-bg-dark: #14110F;     /* lone dark inversion / letterbox */
  --color-text-primary: #1A1714;
  --color-text-secondary: #6B645C;
  --color-text-on-dark: #F3EEE6;
  --color-text-on-dark-dim: #A89F92;
  --color-accent: #155A87;      /* deep steel blue — refined/deepened from the APEX logo blue */
  --color-accent-dark: #103F5F;
  --color-accent-bright: #2E8BD0; /* logo blue — sparing highlights / links */
  --color-on-accent: #FAF8F4;
  --color-border: #E2DACE;
  --color-border-strong: #1A1714;

  /* Spacing — very-generous */
  --spacing-base: 8px;
  --spacing-section: 128px;
  --spacing-content-desktop: 120px;
  --spacing-content-mobile: 32px;
  --spacing-paragraph: 32px;
  --spacing-component: 48px;

  /* Components — sharp-confident (squared precision), brutalist shadow softened
     to geometric-overlay elevation scale to cohere with single-column-cinematic */
  --radius: 0px;
  --border-hairline: 1px solid var(--color-border);
  --border-ink: 2px solid var(--color-border-strong);
  --shadow-1: 0px 2px 6px rgba(20,17,15,0.06);
  --shadow-2: 0px 10px 30px rgba(20,17,15,0.08);
  --shadow-3: 0px 20px 50px rgba(20,17,15,0.12);
  --card-bg: #ffffff;
  --card-padding: 32px;

  /* Buttons — classic-solid-square (oxblood fill, uppercase) */
  --btn-shape: 0px;
  --btn-fill: var(--color-accent);
  --btn-fill-hover: var(--color-accent-dark);
  --btn-text: var(--color-on-accent);
  --btn-padding: 16px 36px;
  --btn-letterspacing: 0.1em;

  /* Animation — cinematic-slow */
  --transition-speed: 500ms;
  --transition-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --entrance-duration: 1200ms;
  --entrance-easing: cubic-bezier(0.16, 1, 0.3, 1);
  --stagger-delay: 200ms;
  --parallax-factor: 0.3;

  /* Layout — single-column-cinematic */
  --layout-max-width-text: 720px;
  --layout-max-width-wide: 1200px;
  --layout-whitespace-ratio: 0.55;

  /* Texture — geometric-overlay (blueprint grid) */
  --grid-line: rgba(20,17,15,0.05);
  --grid-line-dark: rgba(243,238,230,0.06);
}

/* ---- Primitives shared across sections ---- */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letterspacing);
  color: var(--color-text-primary);
  background: var(--color-bg-white);
}

.font-display { font-family: var(--font-display); font-weight: 400; line-height: var(--heading-line-height); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--heading-weight); line-height: var(--heading-line-height); margin: 0; }

/* Tracked uppercase metadata label */
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--label-letterspacing);
  color: var(--color-accent);
}
.eyebrow--dim { color: var(--color-text-secondary); }
.eyebrow--on-dark { color: var(--color-text-on-dark-dim); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: var(--btn-letterspacing);
  padding: var(--btn-padding); border-radius: var(--btn-shape);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color var(--transition-speed) var(--transition-easing),
              color var(--transition-speed) var(--transition-easing),
              border-color var(--transition-speed) var(--transition-easing);
}
.btn--primary { background: var(--btn-fill); color: var(--btn-text); }
.btn--primary:hover { background: var(--btn-fill-hover); }
.btn--ghost { background: transparent; color: var(--color-text-primary); border-color: var(--color-border-strong); }
.btn--ghost:hover { background: var(--color-text-primary); color: var(--color-bg-white); }
.btn--on-dark { background: transparent; color: var(--color-text-on-dark); border-color: rgba(243,238,230,0.4); }
.btn--on-dark:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }

/* Accent word (split-color-heading mutation) */
.accent-word { color: var(--color-accent); }

/* Blueprint grid overlay (geometric-overlay texture) */
.grid-overlay {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}
.grid-overlay--dark {
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Film grain (grain-overlay mutation) */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  opacity: 0.10; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cinematic entrance */
@keyframes cinematic-enter { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
[data-animate] { opacity: 0; }
[data-animate].in { animation: cinematic-enter var(--entrance-duration) var(--entrance-easing) forwards; }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Interior-page primitives (shared across services/about/careers/contact)
   ============================================================ */

.wrap { max-width: var(--layout-max-width-wide); margin: 0 auto; padding: 0 var(--spacing-content-mobile); }
@media (min-width: 1024px) { .wrap { padding: 0 64px; } }
.wrap--narrow { max-width: 860px; }

.section { padding: 88px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section--light { background: var(--color-bg-light); }
.section--grid { background-image:
  linear-gradient(var(--grid-line) 1px, transparent 1px),
  linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 48px 48px; }

.section-head { margin-bottom: 48px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px,4.4vw,48px); line-height: 1.02; color: var(--color-text-primary); }
.lead { color: var(--color-text-secondary); font-size: clamp(16px,2vw,18px); line-height: 1.6; max-width: 60ch; }

/* Compact page hero (dark, photo) — interior pages */
.page-hero { position: relative; overflow: hidden; background: var(--color-bg-dark);
  border-bottom: 3px solid var(--color-accent); min-height: 46vh; display: flex; align-items: flex-end; }
.page-hero__photo { position: absolute; inset: 0; background-position: center; background-size: cover;
  filter: grayscale(.5) contrast(1.05) brightness(.5); }
.page-hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,17,15,.9), rgba(20,17,15,.45)); }
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding: 56px 0; }
.page-hero .eyebrow { display: block; margin-bottom: 16px; color: var(--color-accent-bright); }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; color: var(--color-text-on-dark);
  font-size: clamp(40px,7vw,84px); line-height: .95; letter-spacing: .005em; }
.page-hero__crumb { margin-top: 22px; font-family: var(--font-heading); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-on-dark-dim); }
.page-hero__crumb a { color: var(--color-text-on-dark-dim); text-decoration: none; }
.page-hero__crumb a:hover { color: var(--color-accent-bright); }

/* Alternating feature row (image + text) */
.feature-row { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding: 56px 0; border-top: 1px solid var(--color-border); }
.feature-row:first-of-type { border-top: none; }
@media (min-width: 900px) { .feature-row { grid-template-columns: 1fr 1fr; gap: 64px; } .feature-row--flip .feature-row__media { order: 2; } }
.feature-row__media { position: relative; height: 320px; border: 2px solid var(--color-border-strong);
  background-position: center; background-size: cover; filter: grayscale(.3) contrast(1.05); }
.feature-row__media .tag { position: absolute; left: 0; bottom: 0; background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 11px 16px; }
.feature-row__n { font-family: var(--font-display); font-size: 28px; color: var(--color-accent); }
.feature-row h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px,3.2vw,34px); color: var(--color-text-primary); margin: 12px 0 14px; letter-spacing: .01em; }
.feature-row p { color: var(--color-text-secondary); font-size: 16px; margin-bottom: 18px; max-width: 52ch; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--color-text-primary); font-size: 15px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 2px; background: var(--color-accent); }

/* Differentiator columns (shared: homepage Why + interior pages) */
.apex-why__cols { max-width: var(--layout-max-width-wide); margin: 0 auto; display: grid; grid-template-columns: 1fr;
  border-top: 2px solid var(--color-border-strong); }
.apex-why__col { padding: 32px 0 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) {
  .apex-why__cols { grid-template-columns: repeat(3,1fr); }
  .apex-why__col { padding: 36px 28px 36px 0; border-right: 1px solid var(--color-border); border-bottom: none; }
  .apex-why__col:last-child { border-right: none; padding-right: 0; }
}
.apex-why__n { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--color-accent); }
.apex-why__col h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; margin: 14px 0 10px; letter-spacing: .01em; color: var(--color-text-primary); }
.apex-why__col p { color: var(--color-text-secondary); font-size: 15px; max-width: 38ch; }

/* Industry vertical row (shared: homepage Proof + interior pages) */
.apex-proof__verticals { list-style: none; margin: 0 auto; padding: 0; max-width: var(--layout-max-width-wide);
  display: flex; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.apex-proof__verticals li { font-family: var(--font-heading); font-weight: 700; font-size: clamp(15px,2vw,19px);
  letter-spacing: .02em; color: var(--color-text-secondary); }

/* CTA band (dark) — reused page close */
.cta-band { background: var(--color-bg-dark); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 72px 0; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; color: var(--color-text-on-dark); font-size: clamp(28px,4vw,46px); line-height: 1.02; max-width: 16ch; }
.cta-band h2 .accent-word { color: var(--color-accent-bright); }
.cta-band p { color: var(--color-text-on-dark-dim); margin-top: 12px; max-width: 44ch; }

