/* ═══════════════════════════════════════════════
   UNITED DIVISION — Shared Stylesheet
   Raw editorial · dark industrial · human-designed
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,900;1,700&family=Barlow:wght@300;400;500;600&family=DM+Mono:wght@300;400;500&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:root {
  --bg:        #0a0b0f;
  --bg2:       #0e1018;
  --bg3:       #13151f;
  --surface:   #181c28;
  --line:      #1e2333;
  --line2:     #252d42;
  --blue:      #2563eb;
  --blue-hi:   #4f86f7;
  --blue-lo:   #1a3a8a;
  --blue-dim:  rgba(37,99,235,0.12);
  --text:      #dde3f0;
  --muted:     #6b7a99;
  --faint:     #3a4560;
  --white:     #f4f6fc;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NOISE LAYER ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ══════════════════════════════
   NAV
══════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center;
  padding: 0 40px;
  background: rgba(10,11,15,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

.nav-logo-ud {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.nav-spacer { flex: 1; }

.nav-links {
  display: flex; gap: 6px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-links a.active { color: var(--blue-hi); }

.nav-cta {
  margin-left: 20px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 8px 20px;
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-hi); }

/* mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text);
  transition: 0.3s;
}

/* ══════════════════════════════
   PAGE SHELL
══════════════════════════════ */
.page-wrap {
  position: relative; z-index: 1;
  padding-top: 64px;
}

/* ══════════════════════════════
   PAGE HERO  (reused across pages)
══════════════════════════════ */
.page-hero {
  position: relative;
  padding: 80px 40px 72px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%);
}

.page-hero-accent {
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blue-hi);
  position: relative; z-index: 1;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--blue);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  position: relative; z-index: 1;
}

.page-hero-title i {
  font-style: italic;
  color: var(--blue-hi);
}

.page-hero-body {
  font-size: 17px; font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  margin-top: 20px;
  position: relative; z-index: 1;
  line-height: 1.75;
}

/* ══════════════════════════════
   SECTION UTILITIES
══════════════════════════════ */
.section { padding: 80px 40px; position: relative; z-index: 1; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 56px 40px; }

.section-label {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: '—'; color: var(--blue); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900; text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.section-body {
  font-size: 16px; font-weight: 300;
  color: var(--muted); line-height: 1.8;
  max-width: 540px;
  margin-top: 16px;
}

.inner { max-width: 1160px; margin: 0 auto; }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 28px;
  transition: 0.2s;
  cursor: pointer; border: none;
}

.btn-solid {
  background: var(--blue);
  color: var(--white);
}
.btn-solid:hover { background: var(--blue-hi); }

.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line2);
}
.btn-outline:hover { color: var(--white); border-color: var(--blue); }

/* ══════════════════════════════
   DIVIDER
══════════════════════════════ */
.rule {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  position: relative; z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 56px 40px 32px;
}

.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-ud {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 900;
  color: var(--blue); letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 4px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px;
}
.footer-desc {
  font-size: 14px; font-weight: 300;
  color: var(--muted); line-height: 1.75;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; font-weight: 400;
  color: var(--muted); transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 2;
}
.footer-contact strong { color: var(--text); font-weight: 500; }

.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--faint);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--faint); transition: color 0.15s;
}
.footer-legal a:hover { color: var(--muted); }

/* ══════════════════════════════
   RESPONSIVE NAV
══════════════════════════════ */
@media (max-width: 860px) {
  .site-nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section, .page-hero { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 40px 20px 24px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 20px 56px; }
}
