/* Sequent Logic — static site styles */

:root {
  --ink: #33363c;
  --ink-strong: #23252a;
  --muted: #6f737b;
  --line: #e3e4e7;
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --accent: #4a4d54;
  --max: 1170px;
  --gutter: 24px;
  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink-strong); }
a:hover { color: var(--muted); }

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--ink-strong);
  line-height: 1.2;
  margin: 0 0 .6em;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-strong); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font: 700 20px/1 var(--head); letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-strong); text-decoration: none;
}
.logo::before {
  content: ""; width: 16px; height: 16px; background: var(--accent);
}
.nav { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav a {
  font: 600 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); padding: 8px 0; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink-strong); border-color: var(--ink-strong); }

/* Hero slider */

.hero {
  position: relative; overflow: hidden;
  height: clamp(420px, 52vw, 720px);
  background: #1d1f23;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  display: flex; align-items: center; justify-content: flex-end;
}
.slide.is-active { opacity: 1; }
.slide h1, .slide h2 {
  max-width: 640px; margin: 0 8% 0 var(--gutter);
  font-size: clamp(30px, 5vw, 64px); font-weight: 700; text-transform: uppercase;
  letter-spacing: -.01em; color: var(--ink-strong);
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s ease .4s, transform .9s ease .4s;
}
.slide.is-active h1, .slide.is-active h2 { opacity: 1; transform: none; }
.slide--light h2 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }

.hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 72px; border: 0; cursor: pointer;
  background: rgba(35, 37, 42, .65); color: #fff;
  display: grid; place-items: center;
}
.hero-btn:hover { background: rgba(35, 37, 42, .9); }
.hero-btn svg { width: 20px; height: 20px; }
.hero-btn--prev { left: 0; }
.hero-btn--next { right: 0; }

/* Sections */

.section { padding: clamp(64px, 9vw, 120px) 0; }

.counter {
  display: inline-block;
  font: 600 22px/1 var(--head); color: var(--ink-strong);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line); min-width: 130px;
}
.section-title {
  font-size: clamp(30px, 4vw, 46px); font-weight: 700; text-transform: uppercase;
}

.about { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; }
.about-lead {
  font: 500 clamp(19px, 2vw, 23px)/1.5 var(--body); color: var(--ink-strong);
}
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin: 0 0 32px; padding: 0; list-style: none;
}
.features li {
  font: 600 16px/1.4 var(--head); color: var(--ink-strong);
}
.features svg { display: block; width: 44px; height: 44px; margin-bottom: 14px; color: var(--muted); }
.about p { color: var(--muted); margin: 0; }

/* Parallax bands */

.band {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 48vw, 620px);
  display: flex; align-items: center;
}
.band-bg {
  position: absolute; left: 0; right: 0; top: -15%; bottom: -15%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.band .container { position: relative; width: 100%; display: flex; justify-content: flex-end; }
.band-card {
  max-width: 470px; padding: 40px;
  background: rgba(255, 255, 255, .9);
}
.band-card .counter { display: block; text-align: right; min-width: 0; }
.band-card h2 { text-align: right; font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; }
.band-card p { margin: 0; font-weight: 600; color: var(--ink); }

/* Capabilities */

.caps {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); margin-top: 24px;
}
.cap {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 36px 28px 36px 0;
  border-bottom: 1px solid var(--line);
}
.cap:nth-child(odd) { border-right: 1px solid var(--line); }
.cap:nth-child(even) { padding-left: 28px; }
.cap svg { width: 40px; height: 40px; color: var(--muted); }
.cap h3 { font-size: 19px; font-weight: 600; }
.cap ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.cap li::before { content: "•  "; }

/* Contact */

.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list strong {
  display: block; font: 600 12px/1.4 var(--head); letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.map {
  width: 100%; aspect-ratio: 4 / 3; min-height: 320px; border: 0; background: var(--bg-alt);
}
.social { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.social svg { width: 22px; height: 22px; }

.page-head { background: var(--bg-alt); padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; margin: 0; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer b { font-family: var(--head); color: var(--ink-strong); text-transform: uppercase; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.is-visible { opacity: .85; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* Scroll reveal */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide h2, .slide h1, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */

@media (max-width: 860px) {
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .caps { grid-template-columns: 1fr; }
  .cap, .cap:nth-child(even) { padding: 28px 0; border-right: 0; }
  .cap:nth-child(odd) { border-right: 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .features { grid-template-columns: 1fr; gap: 20px; }
  .features svg { margin-bottom: 8px; }
  .band-card { padding: 28px 22px; }
  .hero-btn { width: 40px; height: 56px; }
  .slide h2, .slide h1 { margin-right: 48px; margin-left: 48px; }
  .nav { gap: 18px; }
  .logo { font-size: 15px; white-space: nowrap; }
  .nav a { letter-spacing: .08em; }
}

/* Background images (kept here rather than inline so the CSP can forbid inline styles) */

.bg-satellite { background-image: url("../images/slide-satellite.jpg"); }
.bg-bigdata { background-image: url("../images/slide-bigdata.jpg"); }
.bg-team { background-image: url("../images/px-team.jpg"); }
.bg-mission { background-image: url("../images/px-mission.jpg"); }
