/* Lagrange Point Aerospace — corporate site
   Built 20260826-2340 */

@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --lp-white: #FAFAF8;
  --lp-panel: #FFFFFF;
  --lp-navy: #0B1D3A;
  --lp-blue: #2E86C1;
  --lp-blue-dark: #1F5C87;
  --lp-gold: #C9A227;
  --lp-slate: #5C6B7A;
  --lp-line: #DDE3E8;

  --font-display: 'Space Grotesk', sans-serif;
  --font-wordmark: 'Audiowide', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--lp-white);
  color: var(--lp-navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lp-blue-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--lp-navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; color: var(--lp-navy); }
p.lede { font-size: 1.15rem; color: var(--lp-slate); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lp-blue-dark);
  display: inline-block;
  margin-bottom: 0.9em;
  font-weight: 500;
}

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

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--lp-navy);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--lp-white);
}

.brand img {
  height: 56px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(1);
}

.brand-text {
  font-family: var(--font-wordmark);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--lp-white);
  white-space: nowrap;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

nav.primary-nav a {
  color: #D9E2EC;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
nav.primary-nav a:hover { color: var(--lp-white); text-decoration: none; }
nav.primary-nav a.current {
  color: var(--lp-white);
  border-bottom: 2px solid var(--lp-gold);
  padding-bottom: 4px;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.2);
  margin: 0 2px;
}

a.employee-login {
  color: #8FA3B8 !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
}
a.employee-login:hover { color: #C7D3DE !important; }

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--lp-line);
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid-motif {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 520px;
  height: 520px;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.hero h1 { max-width: 780px; }
.hero p.lede { max-width: 620px; }

/* ---------- Sections ---------- */

section.page-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--lp-line);
}
section.page-section:last-of-type { border-bottom: none; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--lp-gold) 0%, var(--lp-line) 40%);
  width: 100%;
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 780px) {
  .two-col { grid-template-columns: 1fr; }
  .nav-inner { flex-direction: column; align-items: flex-start; }
  nav.primary-nav { gap: 14px; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--lp-panel);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 24px 26px;
  box-shadow: 0 1px 3px rgba(11,29,58,0.05);
}

.card + .card { margin-top: 18px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ---------- Timeline ---------- */

.timeline {
  border-left: 2px solid var(--lp-line);
  margin-left: 6px;
  padding-left: 28px;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lp-blue);
  border: 2px solid var(--lp-white);
  box-shadow: 0 0 0 2px var(--lp-blue);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--lp-blue-dark);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  display: block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--lp-navy);
  color: var(--lp-white);
  box-shadow: 0 1px 2px rgba(11,29,58,0.25);
}
.btn-primary:hover {
  background: #142B52;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(11,29,58,0.28);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--lp-navy);
  color: var(--lp-navy);
}
.btn-outline:hover { background: var(--lp-navy); color: var(--lp-white); text-decoration: none; }

/* ---------- Data / mono panels ---------- */

.data-panel {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: #F2F4F6;
  border: 1px solid var(--lp-line);
  border-radius: 6px;
  padding: 18px 20px;
  color: var(--lp-navy);
  overflow-x: auto;
}

/* ---------- Careers list ---------- */

.job-listing {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--lp-line);
}
.job-listing:last-child { border-bottom: none; }

.job-req {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--lp-slate);
}

/* ---------- Forms (login) ---------- */

.login-box {
  max-width: 380px;
  margin: 64px auto;
  background: var(--lp-panel);
  border: 1px solid var(--lp-line);
  border-radius: 6px;
  padding: 32px;
}

.login-box label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--lp-slate);
}

.login-box input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--lp-line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.login-error {
  color: #B23A48;
  font-size: 0.85rem;
  margin-top: -8px;
  margin-bottom: 14px;
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--lp-navy);
  color: #9FB1C2;
  padding: 36px 0;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a { color: #C7D3DE; }
.footer-fine { font-size: 0.78rem; color: #6F84979; color: #7C8FA0; }
