/* ==========================================================================
   PSD International — site stylesheet (2026-07-14 redesign)
   Identity: engineered, premium defense-industrial. Ink base + warm brass
   accent + bone/paper section band. Color-blocked ink -> paper -> ink.
   Type: Archivo (industrial grotesque display) + Public Sans (USWDS workhorse).
   Strict CSP compatible: no inline styles, all rules live here.
   ========================================================================== */

/* ---------- Fonts (self-hosted variable woff2) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/archivo-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/archivo-italic-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/publicsans-latin-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --ink-900: #080d15;   /* deepest — footer */
  --ink-800: #0b1119;   /* hero base */
  --ink-700: #0e1826;   /* hero gradient stop */
  --ink-600: #101b29;   /* panels / stat band */
  --ink-500: #16273a;   /* raised panel */

  --paper:   #f2efe8;   /* warm bone section base */
  --paper-2: #eae5d9;   /* deeper paper */
  --card:    #ffffff;
  --line:    #e2dccd;   /* paper hairline */

  --brass:     #c69544; /* primary accent */
  --brass-600: #b0812c; /* deeper accent, ui on light */
  --brass-700: #86600f; /* dark brass — AA kicker on paper */
  --brass-300: #e6bb6c; /* light brass — text/accent on ink */

  --ink-text:  #13202f; /* headings on paper */
  --body-text: #44546a; /* body on paper */
  --ink-body:  #c6d2df; /* body on ink */
  --ink-muted: #8ba0b6; /* muted on ink */

  --maxw: 1200px;
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Public Sans', 'Segoe UI', system-ui, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-600); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-text);
}
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-600); color: #fff; padding: 12px 20px; z-index: 200;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Eyebrow / kicker — shared industrial label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-700);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brass); display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 30px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brass); color: #1a1206; border-color: var(--brass); }
.btn-primary:hover { background: var(--brass-300); border-color: var(--brass-300); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(230,187,108,.55); }
.btn-ghost:hover { border-color: var(--brass-300); background: rgba(230,187,108,.10); color: #fff; }
.btn-outline-ink { background: transparent; color: var(--ink-text); border-color: rgba(19,32,47,.28); }
.btn-outline-ink:hover { border-color: var(--ink-text); background: rgba(19,32,47,.05); }
.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 14, 22, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(230,187,108,.14);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 158px; height: auto; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid rgba(230,187,108,.4); border-radius: 4px;
  color: #fff; min-width: 52px; min-height: 44px; padding: 6px 14px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--brass-300); }

.site-nav ul {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 15px;
  color: #dbe4ee; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: .02em;
  border-radius: 4px;
}
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.07); }
.site-nav .btn { margin-left: 10px; min-height: 46px; padding: 11px 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: block;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink-800); border-bottom: 1px solid rgba(230,187,108,.18);
    padding: 14px 28px 22px;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a:not(.btn) { width: 100%; min-height: 50px; }
  .site-nav .btn { margin: 12px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    linear-gradient(92deg, rgba(11,17,25,.92) 0%, rgba(11,17,25,.74) 40%, rgba(11,17,25,.40) 72%, rgba(11,17,25,.58) 100%),
    linear-gradient(180deg, rgba(11,17,25,.55) 0%, rgba(11,17,25,.12) 34%, rgba(11,17,25,.66) 100%),
    url("/images/hero-alps-20260714.jpg") center 38% / cover no-repeat;
}
/* fine engineered grid overlay */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(230,187,108,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,187,108,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 100% at 30% 30%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(120% 100% at 30% 30%, #000 30%, transparent 82%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 116px 0 108px; max-width: 760px;
}
.hero .eyebrow { color: var(--brass-300); }
.hero .eyebrow::before { background: var(--brass-300); }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 74px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.07;
  color: #fff; margin: 0 0 22px; text-wrap: balance;
}
.hero h1 em {
  font-style: italic; font-weight: 700;
  color: var(--brass-300);
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65;
  color: var(--ink-body); max-width: 620px; margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) {
  .hero-inner { padding: 92px 0 84px; max-width: 640px; }
}
@media (max-width: 560px) {
  .hero-inner { padding: 74px 0 68px; }
}

/* ---------- Stat band ---------- */
.stats {
  background: var(--ink-600);
  border-top: 1px solid rgba(230,187,108,.16);
  border-bottom: 1px solid rgba(0,0,0,.4);
}
.stats ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats li {
  padding: 30px 26px; text-align: left;
  border-left: 1px solid rgba(255,255,255,.07);
}
.stats li:first-child { border-left: 0; }
.stats li strong {
  display: block; font-family: var(--font-display);
  font-size: 19px; font-weight: 800; letter-spacing: .01em; color: #fff;
}
.stats li span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-muted); }
@media (max-width: 767px) {
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 22px; border-top: 1px solid rgba(255,255,255,.07); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(odd) { border-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 0 52px; }
.section h2 {
  font-size: clamp(28px, 4vw, 44px); color: var(--ink-text);
  letter-spacing: -0.02em; margin: 0 0 16px;
}
.section-lede { font-size: 18px; color: var(--body-text); margin: 0; }

/* Capabilities */
.capabilities { background: var(--paper); position: relative; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cap-card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 34px 32px 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.cap-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 56px;
  background: var(--brass);
  transition: width .25s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(19,32,47,.4);
  border-color: #d8cfb9;
}
.cap-card:hover::before { width: 100%; }
.cap-icon {
  width: 46px; height: 46px; margin-bottom: 20px;
  color: var(--brass-600);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: #faf7f0;
}
.cap-icon svg { width: 24px; height: 24px; }
.cap-card h3 { font-size: 20px; color: var(--ink-text); margin: 0 0 10px; letter-spacing: -0.01em; }
.cap-card p { margin: 0; color: var(--body-text); font-size: 15.5px; line-height: 1.65; }
@media (max-width: 767px) { .cap-grid { grid-template-columns: 1fr; } }

/* About — editorial band */
.about { background: var(--paper-2); border-top: 1px solid var(--line); }
.about-grid { max-width: 780px; }
.about p { color: #2f3d4d; font-size: 17px; }
.about .lead { font-size: 19px; color: var(--ink-text); font-weight: 500; }
.pos-stat {
  margin: 26px 0 30px; padding: 22px 26px;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brass);
  border-radius: 8px;
}
.pos-stat strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 26px; color: var(--ink-text); letter-spacing: -0.01em; line-height: 1.15;
}
.pos-stat span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--body-text); }

/* RFQ / Contact — ink band */
.rfq { position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-700) 0%, var(--ink-800) 60%, var(--ink-900) 100%);
  color: #fff;
}
.rfq::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(230,187,108,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,187,108,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 120% at 85% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 120% at 85% 20%, #000 20%, transparent 78%);
}
.rfq .container { position: relative; z-index: 1; }
.rfq h2 { color: #fff; }
.rfq .eyebrow { color: var(--brass-300); }
.rfq .eyebrow::before { background: var(--brass-300); }
.rfq-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.rfq-lede { color: var(--ink-body); font-size: 18px; max-width: 540px; }
.rfq-list { list-style: none; margin: 22px 0 0; padding: 0; }
.rfq-list li {
  position: relative; padding: 9px 0 9px 34px; color: #dbe4ee; font-size: 15.5px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.rfq-list li:last-child { border-bottom: 0; }
.rfq-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 15px; height: 15px;
  background: var(--brass);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}
.rfq-panel {
  background: rgba(255,255,255,.045); border: 1px solid rgba(230,187,108,.22);
  border-radius: 12px; padding: 34px;
}
.rfq-panel h3 { color: #fff; font-size: 21px; margin: 0 0 8px; }
.rfq-panel p { color: var(--ink-body); font-size: 15px; }
.rfq-panel .btn { width: 100%; margin: 10px 0 18px; }
.rfq-email { font-size: 15px; color: var(--ink-body); margin: 0; }
.rfq-email a { color: var(--brass-300); font-weight: 700; text-decoration: none; word-break: break-word; }
.rfq-email a:hover { text-decoration: underline; }
@media (max-width: 900px) { .rfq-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- 404 ---------- */
.nf-wrap {
  min-height: calc(100vh - 76px); display: flex; align-items: center;
  background: linear-gradient(160deg, var(--ink-700) 0%, var(--ink-800) 60%, var(--ink-900) 100%);
  color: #fff;
}
.nf-inner { padding: 96px 0; max-width: 640px; }
.nf-inner h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; color: #fff; margin: 0 0 16px; letter-spacing: -0.02em; }
.nf-inner .eyebrow { color: var(--brass-300); }
.nf-inner .eyebrow::before { background: var(--brass-300); }
.nf-inner p { color: var(--ink-body); font-size: 18px; margin: 0 0 30px; }
.nf-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--ink-muted); padding: 56px 0 34px; font-size: 14.5px; }
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 28px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer img { width: 138px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  color: var(--ink-body); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.footer-nav a:hover { color: var(--brass-300); }
.footer-meta { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.footer-meta a { color: var(--brass-300); }
.footer-meta p { margin: 0; }
