/* =========================================================
   TRUE SHIFT — Production Stylesheet
   ========================================================= */
/* ---- Fonts (self-hosted, latin subset) ---- */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('../fonts/orbitron.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-regular.woff2') format('woff2');
}
/* ---- Tokens ---- */
:root {
  --navy: #0B1426;
  --navy-deep: #010713;
  --navy-800: #0E1B33;
  --blue: #0066FF;
  --blue-deep: #0037A1;
  --orange: #FA5A0A;
  --steel: #6B7280;
  --white: #FFFFFF;
  --off-light: #F5F7FA;
  --border-light: #E4E8EF;
  --font-display: 'Orbitron', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --container: 1200px;
  --gap: clamp(1rem, 2vw, 2rem);
  --radius: 10px;
}
/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
svg { display: block; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* ---- Accessibility helpers ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  z-index: 1000;
  transition: top 0.2s ease;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
/* ---- Layout helpers ---- */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 1.5rem;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 0.75rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  text-align: center;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 1.1rem;
  margin-bottom: 2.75rem;
}
h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
}
/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.6rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus-visible { background: #0052CC; }
.btn-outline {
  background: transparent;
  border-color: var(--orange);
  color: var(--white);
}
.btn-outline:hover, .btn-outline:focus-visible { background: rgba(250,90,10,0.12); }
.btn-dark {
  background: var(--navy-deep);
  color: var(--white);
}
.btn-dark:hover, .btn-dark:focus-visible { background: #000; }
/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.9)) drop-shadow(0 0 3px rgba(255,255,255,0.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--white);
}
.brand-name em { color: var(--blue); font-style: normal; }
.brand-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--steel);
}
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 340px);
  height: 100vh;
  background: var(--navy);
  padding: 5.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -12px 0 30px rgba(0,0,0,0.3);
}
.primary-nav.is-open { transform: translateX(0); }
.primary-nav ul { display: flex; flex-direction: column; gap: 1.5rem; }
.primary-nav a {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-active {
  color: var(--blue);
  border-color: var(--blue);
}
.nav-cta { align-self: flex-start; }
/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--navy);
  background-image: radial-gradient(120% 100% at 100% 15%, rgba(0,102,255,0.18), transparent 55%);
  position: relative;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.75rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.hero-copy { max-width: 640px; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 7vw, 3.5rem);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
}
.hero-headline .accent { color: var(--blue); }
.hero-headline .accent-dot { color: var(--orange); }
.hero-lede {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}
.hero-body {
  color: #C7D0E0;
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
/* =========================================================
   HOW WE BUILD
   ========================================================= */
.how-we-build { background: var(--white); }
.stage-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.stage {
  text-align: center;
  padding: 1.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stage-icon {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--off-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.stage-icon svg { width: 34px; height: 34px; }
.stage h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  letter-spacing: 0.03em;
  margin-bottom: 0.55rem;
}
.stage p { color: var(--steel); font-size: 0.92rem; max-width: 260px; }
.stage-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-light);
  font-size: 1.5rem;
  transform: rotate(90deg);
  padding: 0.25rem 0;
}
/* =========================================================
   OUR PLATFORM
   ========================================================= */
.our-platform { background: var(--navy); }
.our-platform .eyebrow { color: var(--blue); }
.our-platform h2 { color: var(--white); }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.capability {
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.4rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.capability-icon {
  width: 34px; height: 34px;
  margin: 0 auto 0.75rem;
  color: var(--blue);
}
.capability-icon svg { width: 100%; height: 100%; }
.capability h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.capability p { color: #9BA7BD; font-size: 0.78rem; line-height: 1.4; }
/* =========================================================
   WHO WE BUILD WITH
   ========================================================= */
.who-we-build-with { background: var(--white); }
.who-list {
  display: flex;
  flex-direction: column;
}
.who-list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border-light);
}
.who-list li:first-child { border-top: 1px solid var(--border-light); }
.who-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  color: var(--blue);
}
.who-icon svg { width: 100%; height: 100%; }
.who-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}
.who-copy p { color: var(--steel); font-size: 0.92rem; }
/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: linear-gradient(100deg, var(--blue-deep) 0%, var(--blue) 35%, var(--orange) 100%);
  color: var(--white);
}
.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.final-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  text-align: left;
  padding-bottom: 0;
  margin-bottom: 0.6rem;
}
.final-cta h2::after { display: none; }
.final-cta p { font-weight: 500; font-size: 1rem; }
/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); color: #AEB8CB; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer-blurb { margin-top: 1rem; font-size: 0.88rem; max-width: 34ch; color: #8C97AC; }
.footer-col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.footer-contact { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.88rem; }
.footer-contact a:hover, .footer-contact a:focus-visible { color: var(--white); }
.footer-contact li.footer-contact-locations { align-items: flex-start; }
.footer-contact-locations .icon-sm { margin-top: 0.15rem; }
.footer-contact-locations span { line-height: 1.65; }
.icon-sm { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); }
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--white); }
.footer-social { display: flex; gap: 0.75rem; margin-bottom: 0.85rem; }
.footer-social li {
  width: 38px; height: 38px;
  border: 1px solid #333E52;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5B6578;
  cursor: not-allowed;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social-note { font-size: 0.78rem; color: #5B6578; }
.footer-bottom {
  border-top: 1px solid #1A2434;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: #5B6578;
}
/* =========================================================
   RESPONSIVE — tablet and up
   ========================================================= */
@media (min-width: 768px) {
  .capability-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
/* =========================================================
   RESPONSIVE — desktop and up
   ========================================================= */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    width: auto; height: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 2.25rem;
    transform: none;
    box-shadow: none;
  }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; }
  .primary-nav a { font-size: 0.82rem; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-name { font-size: 1.15rem; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
  .hero-copy { flex: 1; }
  .hero-media { flex: 1; aspect-ratio: 16/11; }
  .stage-list { flex-direction: row; align-items: flex-start; }
  .stage { flex: 1; }
  .stage-arrow { transform: none; padding: 0 0.25rem; margin-top: 34px; }
  .capability-grid { grid-template-columns: repeat(8, 1fr); gap: 1.5rem 1rem; }
  .capability {
    background: none;
    border: none;
    padding: 0;
  }
  .capability-icon { width: 56px; height: 56px; margin-bottom: 0.9rem; }
  .capability h3 { font-size: 0.72rem; }
  .capability p { font-size: 0.74rem; }
  h2 { font-size: 2.3rem; }
  .who-list {
    flex-direction: row;
    gap: 1.5rem;
  }
  .who-list li {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 0;
    border: none;
  }
  .who-list li:first-child { border: none; }
  .who-icon { width: 44px; height: 44px; }
  .who-copy h3 { font-size: 0.82rem; }
  .who-copy p { font-size: 0.82rem; }
  .final-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .final-cta h2 { margin-bottom: 0.4rem; }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 1200px) {
  .hero-headline { font-size: 3.6rem; }
}
