/* Clear Orbit — one-page site. Matte dark, orbit-driven. */

:root {
  --bg: #0b1020;
  --bg-2: #101830;
  --panel: #0e1a2b;
  --line: rgba(236, 233, 226, 0.1);
  --line-strong: rgba(236, 233, 226, 0.26);
  --text: #ece9e2;
  --muted: #8d96a8;
  --blue: #2e5bff;
  --blue-deep: #1f44d6;
  --blue-text: #8aa4ff;

  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1280px;
  --space: clamp(5rem, 12vw, 10rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Matte grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-text); outline-offset: 3px;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 1rem + 7.2vw, 7.25rem); letter-spacing: -0.045em; line-height: 0.94; }
h2 { font-size: clamp(2.25rem, 1rem + 4vw, 4.25rem); letter-spacing: -0.04em; line-height: 0.98; }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 60ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--text); color: var(--bg); padding: 0.5rem 0.75rem; }
.skip-link:focus { top: 1rem; }

/* ---------- Wordmark ---------- */

.lockup { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.lockup svg { width: 34px; height: 34px; flex: none; }
.lockup__name { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3em; text-transform: uppercase; }

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

.button {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 0.95rem 1.5rem; border-radius: 999px;
  background: var(--text); color: var(--bg); border: 1px solid var(--text);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.button:active { transform: translateY(1px); }
.button--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.button--blue:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.textlink { font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 0.15em; }
.textlink:hover { color: var(--blue-text); border-color: var(--blue-text); }

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

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { font-size: 0.95rem; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav .button { padding: 0.6rem 1.1rem; font-size: 0.95rem; color: var(--bg); }
.nav .button:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.5rem 0.95rem; font: inherit; font-size: 0.9rem; color: var(--text); cursor: pointer; }
@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.25rem var(--gutter) 1.25rem; }
  .nav[data-open="true"] { display: flex; }
  .site-header:has(.nav[data-open="true"]) { background: var(--bg); }
  .nav a { padding: 0.9rem 0; font-size: 1.1rem; border-top: 1px solid var(--line); }
  .nav a:first-child { border-top: 0; }
  .nav .button { margin-top: 0.75rem; align-self: flex-start; border-top: 0; }
}

/* ---------- Layout ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--space); padding-bottom: var(--space); position: relative; }
.section--panel { background: var(--panel); }
.section--blue { background: var(--blue); color: #fff; }

.section-head { position: relative; padding-top: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.section-head::before { content: ""; position: absolute; left: 0; top: -1px; width: 88px; height: 2px; background: var(--blue); }
.section--blue .section-head { border-top-color: rgba(255,255,255,0.3); }
.section--blue .section-head::before { background: #fff; }
.section-head h2 { max-width: 16ch; }
.section-head p { color: var(--muted); margin-top: 1rem; max-width: 42ch; font-size: 1.15rem; }
.section--blue .section-head p { color: rgba(255,255,255,0.8); }

main, .site-footer { position: relative; z-index: 1; }

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

.hero { min-height: 100svh; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 8rem 0 4.5rem; }
.hero__orbits {
  position: absolute; pointer-events: none; will-change: transform;
  width: clamp(640px, 74vw, 1180px); aspect-ratio: 1;
  right: -24vw; top: 50%; margin-top: calc(clamp(640px, 74vw, 1180px) / -2 - 2vw);
  color: var(--text);
}
.hero__orbits svg { width: 100%; height: 100%; overflow: visible; }
.hero__orbits .ring { fill: none; stroke: currentColor; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0.28; }
.hero__orbits .ring--dash { stroke-dasharray: 2 5; opacity: 0.22; }
.hero__orbits .core { fill: currentColor; }
.hero__orbits .core-ring { fill: none; stroke: currentColor; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0.5; }
.hero__orbits .sat { fill: currentColor; }
.hero__orbits .sat--blue { fill: var(--blue); }
.hero__orbits .tag { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.hero__orbits text { font-family: var(--font-sans); font-weight: 500; font-size: 2.4px; fill: var(--text); letter-spacing: 0.02em; }
.hero > .wrap { width: 100%; }
.hero__content { position: relative; z-index: 1; max-width: 65rem; will-change: transform; }
.hero__kicker { color: var(--blue-text); font-weight: 500; margin-bottom: 1.5rem; font-size: 1rem; }
.hero h1 { margin-bottom: 1.75rem; text-wrap: balance; }
.hero__lede { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.45; color: var(--muted); max-width: 30ch; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.5rem; align-items: center; }

@media (max-width: 860px) {
  .hero { align-items: flex-start; padding-top: 7.5rem; min-height: 0; }
  .hero__orbits { width: 150vw; right: -70vw; top: -2rem; margin-top: 0; opacity: 0.7; }
  .hero__orbits text, .hero__orbits .tag { display: none; }
  .hero__content { margin-top: 30vw; }
}

/* ---------- Marquee ---------- */

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; white-space: nowrap; font-size: 1rem; color: var(--muted); }
.marquee__group span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee__group span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Industries: orbital picker ---------- */

.picker { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: center; }
.orbitsel { position: relative; aspect-ratio: 100 / 68; width: 100%; max-width: 640px; margin: 0 auto; }
.orbitsel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--text); }
.orbitsel .ring { fill: none; stroke: currentColor; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0.3; }
.orbitsel .ring--inner { opacity: 0.15; stroke-dasharray: 2 5; }
.orbitsel__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.5rem; padding: 1rem;
}
.orbitsel__core .icon { width: 34px; height: 34px; color: var(--blue-text); }
.orbitsel__core span { font-weight: 500; font-size: 0.95rem; line-height: 1.2; }
.orbitsel__node {
  position: absolute; transform: translate(-50%, -50%);
  width: clamp(44px, 9%, 60px); aspect-ratio: 1; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--muted);
  display: grid; place-items: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.orbitsel__node .icon { width: 44%; height: 44%; color: inherit; }
.orbitsel__node:hover { color: var(--text); border-color: var(--text); }
.orbitsel__node[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.orbitsel__node span { position: absolute; top: calc(100% + 0.45rem); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.8rem; color: var(--muted); }
.orbitsel__node[aria-selected="true"] span { color: var(--text); }

.picker__panel h3 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 1rem + 2.4vw, 3rem); letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 1.75rem; }
.picker__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.picker__list li { position: relative; padding-left: 1.1rem; font-size: 1.05rem; line-height: 1.35; }
.picker__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.chips { display: none; }
@media (max-width: 860px) {
  .picker { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .orbitsel { display: none; }
  .chips { display: flex; overflow-x: auto; gap: 0.5rem; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 0.75rem; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.55rem 0.95rem 0.55rem 0.75rem; font: inherit; font-size: 0.95rem; color: var(--muted); white-space: nowrap; cursor: pointer; }
  .chip .icon { width: 20px; height: 20px; color: inherit; }
  .chip[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
  .picker__list { grid-template-columns: 1fr; }
}

.icon { width: 28px; height: 28px; flex: none; }

/* ---------- Services triptych ---------- */

.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.triptych > li { list-style: none; padding: 2rem 2rem 2.5rem 0; border-top: 1px solid var(--line); margin-right: 2rem; position: relative; }
.triptych > li::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--blue); }
.triptych h3 { font-size: clamp(2.2rem, 1rem + 2.6vw, 3.6rem); letter-spacing: -0.04em; margin-bottom: 1rem; }
.triptych p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.5rem; max-width: 24ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags li { font-size: 0.85rem; padding: 0.3rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); }
@media (max-width: 760px) {
  .triptych { grid-template-columns: 1fr; }
  .triptych > li { margin-right: 0; padding-right: 0; }
}

/* ---------- Process slider ---------- */

.report { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.report .section-head { margin-bottom: 0; }
@media (max-width: 860px) { .report { grid-template-columns: minmax(0, 1fr); } .report .section-head { margin-bottom: 0.5rem; } }

.slider { position: relative; min-width: 0; }
.slider__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.slider__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative; overflow: hidden; flex: 0 0 100%; scroll-snap-align: start;
  padding: 2rem; min-height: 17rem; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.slide::after {
  content: attr(data-n); position: absolute; right: 1.25rem; bottom: -1.3rem;
  font-size: 9rem; font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: var(--text); opacity: 0.06; pointer-events: none;
}
.slide .icon { color: var(--blue-text); margin-bottom: 1.5rem; width: 32px; height: 32px; }
.slide h3 { font-size: 2rem; margin-bottom: 0.4rem; }
.slide .when { font-size: 0.9rem; color: var(--blue-text); margin-bottom: 1rem; }
.slide p:last-child { font-family: var(--font-serif); font-size: 1.15rem; max-width: 34ch; color: var(--text); }
@media (min-width: 861px) { .slide { flex-basis: calc(78% - 0.5rem); } }

.slider__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; font-size: 0.9rem; color: var(--muted); }
.slider__btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; cursor: pointer; background: none; border: 1px solid var(--line-strong); color: var(--text); font-size: 1.05rem; transition: border-color 140ms ease, background-color 140ms ease; }
.slider__btn:hover { border-color: var(--text); }
.slider__btn:disabled { opacity: 0.3; cursor: default; }
.slider__dots { display: flex; gap: 0.45rem; }
.slider__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background-color 140ms ease; }
.slider__dots span.is-active { background: var(--blue); }
.slider__count { margin-left: auto; }

/* ---------- Results ---------- */

.results { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.result { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.result__figure { font-size: clamp(2.6rem, 0.8rem + 3.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.result__figure small { display: block; white-space: normal; font-size: 0.95rem; font-weight: 400; letter-spacing: 0; color: var(--blue-text); margin-top: 0.75rem; max-width: 22ch; }
.result h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.result p { color: var(--muted); font-family: var(--font-serif); font-size: 1.05rem; }
@media (max-width: 760px) { .results { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Principles ---------- */

.principles { list-style: none; counter-reset: none; max-width: 56rem; }
.principles li { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em; padding: 1.1rem 0; border-top: 1px solid var(--line); display: flex; gap: 1.25rem; align-items: baseline; }
.principles li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); transform: translateY(-0.2em); }
.principles li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Contact (blue) ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-aside h3 { font-size: 0.95rem; font-weight: 500; opacity: 0.75; margin-bottom: 0.25rem; }
.contact-aside p { margin-bottom: 1.5rem; font-size: 1.35rem; }
.contact-aside a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.contact-aside a:hover { border-color: #fff; }

.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.form label { display: block; font-size: 0.9rem; margin-bottom: 0.4rem; opacity: 0.85; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff;
  background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; padding: 0.85rem 1rem;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.5); }
.form input:focus, .form textarea:focus { border-color: #fff; outline-color: #fff; }
.form textarea { min-height: 8rem; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form .button { background: #fff; color: var(--blue-deep); border-color: #fff; }
.form .button:hover { background: var(--bg); color: #fff; border-color: var(--bg); }
.form__status { font-size: 0.95rem; padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.5); }
.form__status[hidden] { display: none; }

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

.site-footer { padding: 3rem 0; font-size: 0.9rem; color: var(--muted); background: var(--bg); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .button, .textlink, .orbitsel__node { transition: none; }
  [data-parallax] { transform: none !important; }
}
