:root {
  --navy: #0e2237;
  --navy-2: #0b2f5b;
  --amber: #ffad00;
  --ink: #161616;
  --muted: #8f8f8f;
  --line: #e2e2e2;
  --white: #fff;
  --max: 1280px;
  --head: "Tenor Sans", Georgia, serif;
  --body: "Open Sans", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.55; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: .02em; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 104px; display: flex; align-items: center; transition: background .3s; }
.site-header.solid, .site-header.always-solid { background: var(--navy); }
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 84px; height: 84px; object-fit: contain; }
.nav { display: flex; gap: 110px; }
.nav a { color: var(--white); text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 28px; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); background: radial-gradient(ellipse at 70% 80%, #1c3456 0%, #0b1626 55%, #060d17 100%); overflow: hidden; }
.hero.short { min-height: 70vh; }
.hero video, .hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(6, 13, 23, .35); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 104px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.25; max-width: 760px; }
.hero .sub { font-family: var(--head); font-size: 24px; margin: 28px 0 40px; }
.hero .tag { font-size: 15px; margin-bottom: 24px; }
.btns { display: flex; gap: 18px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--amber); }
.btn.primary { background: var(--amber); color: var(--navy); }
.btn.ghost { color: var(--white); }
.btn:hover { filter: brightness(1.1); }

/* Sections */
section { padding: 100px 0; }
.section-title { text-align: center; font-size: clamp(30px, 3.6vw, 46px); color: var(--navy); line-height: 1.4; }
.section-title.light { color: #c2c2c2; }
.rule { height: 3px; background: var(--amber); border: 0; margin: 36px 0 60px; }
.band { background: var(--amber); text-align: center; padding: 14px 20px; font-family: var(--head); font-size: 18px; color: var(--navy); }
.lead { max-width: 900px; margin: 0 auto; text-align: center; font-size: 17px; }

/* Card with the double (black + amber) border */
.card { position: relative; border: 2px solid var(--ink); border-radius: 0 28px 0 28px; padding: 6px; box-shadow: 3px 3px 0 rgba(0,0,0,.12); background: var(--white); }
.card > .inner { border: 2px solid var(--amber); border-radius: 0 22px 0 22px; padding: 32px 28px; height: 100%; }
.card h3 { font-size: 28px; color: var(--navy); margin-bottom: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; max-width: 1100px; margin: 0 auto; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

/* Stat tiles (hero / company) */
.stats { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-tile { color: var(--ink); text-align: center; flex: 1 1 150px; max-width: 200px; }
.stat-tile .inner { padding: 20px 12px; }
.stat-tile strong { display: block; font-family: var(--head); font-weight: 400; font-size: 30px; line-height: 1.2; margin-bottom: 10px; }
.stat-tile span { font-size: 13px; }

/* Steps */
.step .num { font-family: var(--head); font-size: 40px; color: var(--amber); }
.step h3 { font-size: 26px; margin: 12px 0 14px; line-height: 1.35; }
.step ul, .card ul { margin: 0; padding-left: 18px; }
.step li, .card li { margin-bottom: 4px; }

/* What we do */
.service { display: flex; flex-direction: column; }
.service h3 { text-align: center; font-size: 26px; color: var(--navy); margin-bottom: 18px; line-height: 1.4; min-height: 2.8em; display: flex; align-items: flex-end; justify-content: center; }
.service .card { flex: 1; }
.service .card .inner { padding: 22px 24px; font-weight: 600; font-size: 15px; }

/* Big numbers */
.metric { text-align: center; }
.metric strong { display: block; font-family: var(--head); font-weight: 400; font-size: 60px; color: var(--amber); }
.metric span { font-weight: 600; }

/* Products */
.product { text-align: center; }
.product .icon { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--amber); }
.product h3 { font-size: 40px; }
.product p { font-weight: 600; }

/* Industries */
.industry h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; margin-bottom: 12px; }
.industry svg { width: 38px; height: 38px; flex: none; color: var(--amber); }
.industry p { margin: 0 0 0 48px; font-weight: 600; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; align-items: center; justify-items: center; }
.partners img { max-height: 120px; width: auto; }

/* Blog */
.post-card { display: grid; grid-template-columns: 380px 1fr; border: 1px solid var(--line); text-decoration: none; max-width: 940px; margin: 0 auto; }
.post-card img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 36px; }
.post-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.post-card h2 { font-size: 26px; color: var(--navy); }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(30px, 4vw, 42px); color: var(--navy); line-height: 1.3; margin-bottom: 14px; }
.article h2 { font-size: 26px; color: var(--navy); margin: 40px 0 12px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.article img { margin: 0 0 30px; }

/* Legal */
.legal { max-width: 900px; margin: 0 auto; font-size: 15px; }
.legal h1 { font-size: 42px; color: var(--navy); text-align: center; margin-bottom: 40px; }
.legal h2 { font-size: 30px; color: var(--navy); margin: 50px 0 20px; }
.legal h3 { font-family: var(--body); font-weight: 700; font-size: 16px; margin: 26px 0 8px; letter-spacing: 0; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 24px 0 18px; font-size: 15px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 40px; padding: 0 0 30px; }
.site-footer .about { max-width: 300px; }
.site-footer .about img { width: 80px; margin-bottom: 18px; }
.site-footer .links { text-align: right; }
.site-footer .links h3 { font-size: 26px; margin: 18px 0 26px; }
.site-footer .links a { display: block; text-decoration: none; margin-bottom: 8px; }
.site-footer .links a:hover { color: var(--amber); }
.site-footer .bottom { border-top: 1px dashed var(--amber); padding-top: 14px; text-align: center; font-size: 14px; }
.site-footer .bottom a { text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 104px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy); padding: 10px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .grid-3, .grid-2, .grid-4, .partners { grid-template-columns: 1fr; gap: 40px; }
  .post-card { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .industry p { margin-left: 0; }
  .site-footer .top { flex-direction: column; }
  .site-footer .links { text-align: left; }
}
@media (min-width: 961px) and (max-width: 1200px) { .nav { gap: 50px; } }
@media (prefers-reduced-motion: reduce) { .hero video, .hero canvas { display: none; } }
