/* Vulcore shared design system — v2 (Archivo · signal-amber #E8A838) */
/* ============================================================
   VULCORE - shared design system
   Used by index.html (Commercial) and defense.html (Defense).
   One token scale, one type scale, one set of components.
   ============================================================ */

:root {
  /* Surfaces */
  --vulcore-black: #050607;
  --bg-2:          #08090B;
  --graphite:      #111417;
  --graphite-2:    #15181C;
  --iron:          #24282C;

  /* Ink - steel is primary, body is a touch brighter than labels for readability */
  --steel:         #D8D8D2;   /* headings, primary */
  --ink-body:      #B4B4AE;   /* long-form body copy (brighter = more readable) */
  --silver:        #9A9A92;   /* secondary / labels */
  --dim:           #6B6B66;   /* tertiary / disclaimers */

  /* Lines */
  --line:          rgba(216, 216, 210, 0.07);
  --line-strong:   rgba(216, 216, 210, 0.15);

  /* Signal */
  --signal-amber:  #E8A838;
  --deep-amber:    #B7751B;
  --amber-wash:    rgba(232, 168, 56, 0.06);

  /* Brand mark gradients (silver + amber valve) */
  --silver-0: #F4F2EA;
  --silver-1: #D8D8D2;
  --silver-2: #A9A9A2;
  --amber-0:  #F5BC4A;
  --amber-1:  #B7751B;

  /* Type families */
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, ui-monospace, monospace;

  /* Fluid type scale (desktop-first, container ~1320) */
  --t-display:   clamp(40px, 5vw, 66px);
  --t-head:      clamp(32px, 4.4vw, 56px);
  --t-statement: clamp(27px, 3.2vw, 40px);
  --t-title:     21px;
  --t-body:      17px;
  --t-body-sm:   15.5px;
  --t-label:     11.5px;

  /* Spacing / layout tokens */
  --container:   1320px;
  --gutter:      56px;
  --section-y:   150px;       /* vertical rhythm for every section */
  --head-mb:     64px;        /* space under a section head */
  --measure:     62ch;        /* max line length for body copy */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--vulcore-black);
  color: var(--steel);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Film grain - identical across both pages */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.02;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

::selection { background: rgba(215, 154, 43, 0.26); color: #fff; }

/* ---------- ICONS ---------- */
/* One stroke-based language. Symbols live in each page's <svg defs>. */
.vc-icon {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}
.vc-icon--sm { width: 34px; height: 34px; }
.vc-icon--lg { width: 64px; height: 64px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.45));
  border-bottom: 1px solid var(--line);
}
.nav-left { display: flex; align-items: center; gap: 28px; }
.nav-wordmark { height: 23px; display: block; }
.nav-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--signal-amber);
  text-transform: uppercase;
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
  line-height: 1;
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: var(--silver);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.nav-link:hover { color: var(--steel); }
.nav-cta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.20em;
  color: var(--steel);
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta::after {
  content: '→';
  font-family: var(--sans);
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}
.nav-cta:hover { border-color: var(--signal-amber); color: var(--signal-amber); }
.nav-cta:hover::after { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,7,0.5) 0%, rgba(5,6,7,0.2) 38%, rgba(5,6,7,0.8) 92%, var(--vulcore-black) 100%),
    linear-gradient(90deg, rgba(5,6,7,0.5) 0%, transparent 58%);
}
.hero-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.26em;
  color: var(--signal-amber);
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0;
  animation: vcFadeIn 0.8s 0.2s forwards;
}
.hero-tagline {
  font-family: var(--sans);
  font-size: var(--t-display);
  font-weight: 300;
  line-height: 1.07;
  color: var(--steel);
  max-width: 900px;
  margin-bottom: 30px;
  letter-spacing: -0.026em;
  text-wrap: balance;
  opacity: 0;
  animation: vcFadeUp 1.1s 0.5s forwards;
}
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 660px;
  opacity: 0;
  animation: vcFadeUp 1.1s 0.9s forwards;
}

/* ---------- SECTION ---------- */
.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
}
.section-inner { max-width: var(--container); margin: 0 auto; }

.section-head {
  font-family: var(--sans);
  font-size: var(--t-head);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--steel);
  margin-bottom: var(--head-mb);
  max-width: 1040px;
  text-wrap: balance;
}
.section-head .dim { color: var(--dim); font-weight: 200; }

/* ---------- THREE-COLUMN (shared) ---------- */
.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.column-block { display: flex; flex-direction: column; }
.column-mark { margin-bottom: 28px; }
.column-title {
  font-family: var(--sans);
  font-size: var(--t-title);
  font-weight: 400;
  color: var(--steel);
  margin-bottom: 16px;
  line-height: 1.28;
  letter-spacing: -0.012em;
}
.column-body {
  font-family: var(--sans);
  font-size: var(--t-body-sm);
  line-height: 1.66;
  color: var(--ink-body);
  max-width: 38ch;
}

/* ---------- STATEMENT (shared) ---------- */
.statement-section {
  background: var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 88px;
  align-items: center;
}
.statement {
  font-family: var(--sans);
  font-size: var(--t-statement);
  font-weight: 300;
  line-height: 1.2;
  color: var(--steel);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.statement-body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink-body);
  max-width: var(--measure);
}
.statement-body + .statement-body { margin-top: 20px; }

/* ---------- BUTTONS / CTA (shared) ---------- */
.btn-ghost {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--steel);
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 16px 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-ghost::after {
  content: '→';
  font-family: var(--sans);
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}
.btn-ghost:hover { border-color: var(--signal-amber); color: var(--signal-amber); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---------- CONTACT FORM (shared) ---------- */
.contact { padding: var(--section-y) var(--gutter); scroll-margin-top: 80px; }
.contact-inner { max-width: var(--container); margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 110px;
  align-items: start;
}
.contact-head {
  font-family: var(--sans);
  font-size: var(--t-head);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--steel);
  margin-bottom: 28px;
}
.contact-head .dim { color: var(--dim); font-weight: 200; }
.contact-body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 44ch;
}
.contact-form { display: flex; flex-direction: column; gap: 0; }
.field {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 24px 0 14px;
  transition: border-color 0.3s var(--ease);
}
.field:focus-within { border-bottom-color: var(--signal-amber); }
.field-label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  color: var(--silver);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s var(--ease);
}
.field:focus-within .field-label { color: var(--signal-amber); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--steel);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
  padding: 0;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); font-weight: 300; }
.field textarea { min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%),
                    linear-gradient(135deg, var(--silver) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% + 2px), calc(100% - 8px) calc(50% + 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.field select option { background: var(--graphite); color: var(--steel); }
.contact-submit {
  margin-top: 40px;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-submit::after {
  content: '→'; font-family: var(--sans); font-size: 14px;
  transition: transform 0.3s var(--ease);
}
.contact-submit:hover { border-color: var(--signal-amber); color: var(--signal-amber); }
.contact-submit:hover::after { transform: translateX(4px); }
.contact-submit:disabled { opacity: 0.5; cursor: wait; }
.contact-success {
  display: none;
  padding: 32px 30px;
  border: 1px solid var(--signal-amber);
  background: var(--amber-wash);
}
.contact-success.visible, .contact-success.show { display: block; }
.contact-success-label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  color: var(--signal-amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.contact-success-msg {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--steel);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.contact-error {
  display: none;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #C76B5C;
}
.contact-error.visible, .contact-error.show { display: block; }

/* ---------- FOOTER (shared) ---------- */
.footer {
  padding: 72px var(--gutter) 56px;
  border-top: 1px solid var(--line);
  background: var(--vulcore-black);
}
.footer-container { max-width: var(--container); margin: 0 auto; }
.footer-closing {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--silver);
  font-weight: 300;
  max-width: 640px;
  margin-bottom: 56px;
  letter-spacing: -0.005em;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.footer-wordmark { height: 19px; display: block; margin-bottom: 12px; opacity: 0.9; }
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
  line-height: 1.9;
}
.footer-nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer-link {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.20em;
  color: var(--silver);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.footer-link:hover { color: var(--signal-amber); }

/* ---------- ANIMATIONS ---------- */
@keyframes vcFadeIn { to { opacity: 1; } }
@keyframes vcFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-tagline, .hero-sub { animation: none; opacity: 1; }
}

/* ---------- RESPONSIVE (shared) ---------- */
@media (max-width: 1024px) {
  :root { --section-y: 120px; --head-mb: 56px; --gutter: 32px; }
  .three-column { gap: 44px; }
  .statement-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-tag { display: none; }
  .nav-link { display: none; }
  .hero { padding: 120px 24px; }
  .three-column { grid-template-columns: 1fr; gap: 48px; }
  .column-body { max-width: var(--measure); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --gutter: 22px; }
  .hero-tagline { font-size: clamp(30px, 8vw, 44px); }
  /* compact nav: keep wordmark + CTA on one line, no wrap */
  .nav { padding: 14px 20px; }
  .nav-wordmark { height: 16px; }
  .nav-cta { font-size: 10px; letter-spacing: 0.16em; padding: 14px 13px; white-space: nowrap; }
  .nav-cta::after { display: none; }
  .section-head { font-size: 30px; }
  .statement { font-size: 25px; }
}
