/* Zero Gravity Works — site stylesheet */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }

:root {
  --navy: #00125a;
  --dark: #060a1e;
  --dark-2: #0b1230;
  --bg: #f7f8fa;
  --card: #ffffff;
  --line: #e3e8ee;
  --line-dark: rgba(150, 168, 200, 0.18);
  --ink: #17222e;
  --ink-2: #46566a;
  --ink-3: #7b8a9b;
  --ink-inverse: #eef2f8;
  --ink-inverse-2: #b4c0d1;
  --ink-inverse-3: #7d8ba3;
  --accent: #0e7c86;
  --accent-bright: #5fd0da;
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  border-bottom: 1px solid rgba(150, 168, 200, 0.12);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(6, 10, 30, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.site-nav a { color: var(--ink-inverse-2); font-size: 15px; }
.site-nav a:hover { color: #ffffff; text-decoration: none; }
.site-nav a.active { color: var(--accent-bright); }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; color: var(--ink-inverse-2); padding: 6px; }
.nav-burger:hover { color: #ffffff; }
.nav-burger svg { display: block; }
.nav-close { display: none; }
.nav-backdrop { display: none; }

/* ---------- Hero (dark) ---------- */
.hero {
  background: var(--dark);
  background-image:
    radial-gradient(ellipse 1000px 480px at 78% -12%, rgba(0, 40, 140, 0.5) 0%, transparent 65%),
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 43% 9%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 74% 26%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 12%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 34%, rgba(255,255,255,0.3) 50%, transparent 51%);
  color: var(--ink-inverse);
  padding: 110px 0 0 0;
}
.hero.hero-inner { padding-bottom: 32px; }
.hero .eyebrow { color: var(--accent-bright); }
.hero h1 { color: #ffffff; font-size: clamp(38px, 6vw, 60px); font-weight: 700; max-width: 900px; }
.hero .lead { color: var(--ink-inverse-2); font-size: 18px; max-width: 760px; }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-center .lead { margin: 0; }

.eyebrow { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--accent); }

/* Video */
.video-wrap { max-width: 880px; margin: 28px auto 0 auto; padding: 0 24px 28px 24px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: linear-gradient(150deg, #0c1526 0%, #101f38 55%, #16324e 100%);
  border: 1px solid rgba(95, 208, 218, 0.3); cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.video-frame img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-frame .play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-frame .play-badge span {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(6, 10, 30, 0.55);
  border: 2px solid var(--accent-bright); display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease;
}
.video-frame:hover .play-badge span { transform: scale(1.06); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Sections ---------- */
.section { padding: 28px 0; }
.section:not(.band-white) + .section:not(.band-white) { padding-top: 0; }
.section.tight { padding: 28px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; }
.section-head .sub { color: var(--ink-2); font-size: 17px; margin: 0; }
.band-white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card-plain { display: flex; flex-direction: column; gap: 12px; }
.card-plain .tick { width: 34px; height: 3px; background: var(--accent); }
.card-plain h3 { font-size: 21px; font-weight: 500; }
.card-plain p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card-plain .more { font-size: 14.5px; font-weight: 500; }

.card-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-box h3 { font-size: 20px; font-weight: 500; }
.card-box p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card-box .kicker { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* Partners */
.partners { display: flex; align-items: center; justify-content: center; gap: 40px 56px; flex-wrap: wrap; }
.partners .logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.partners img { height: 40px; width: auto; filter: grayscale(35%); opacity: 0.85; }
.partners img.tall { height: 52px; }

/* Statement */
.statement { background: var(--dark); color: #ffffff; }
.statement .inner { padding: 32px 24px; display: flex; flex-direction: column; gap: 10px; }
.statement h2 { color: #ffffff; font-size: clamp(24px, 3.2vw, 30px); font-weight: 500; max-width: 820px; }
.statement p { color: rgba(235, 240, 250, 0.75); margin: 0; max-width: 760px; }

/* CTA */
.cta-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px 36px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.container.cta-box { max-width: 1032px; width: calc(100% - 48px); }
.cta-box h2 { font-size: clamp(22px, 3vw, 26px); font-weight: 500; }
.cta-box .cta-mail { font-size: 15.5px; }
.cta-side { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.cta-side .kicker { font-size: 12px; letter-spacing: 0.16em; color: var(--accent); font-weight: 600; }
.cta-side p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 6px;
  font-family: var(--display); font-weight: 500; font-size: 15.5px; border: 1px solid transparent;
}
.btn-solid { background: var(--navy); color: #ffffff; }
.btn-solid:hover { background: #001a80; text-decoration: none; }
.btn-ghost-dark { border-color: var(--accent-bright); color: var(--accent-bright); }
.btn-ghost-dark:hover { background: rgba(95, 208, 218, 0.1); text-decoration: none; }

/* ---------- Prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; font-weight: 700; margin: 28px 0 12px 0; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 28px 0 10px 0; font-family: var(--body); }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose ul { padding-left: 22px; margin: 0 0 1em 0; }
.prose li { margin-bottom: 8px; }
.prose .note { font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 24px; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step .art { margin-bottom: 2px; }
.step .art svg { display: block; }
.step-head { display: flex; align-items: baseline; gap: 10px; }
.step .num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); }
.step h3 { font-size: 17.5px; font-weight: 600; font-family: var(--body); }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* Timeline (roadmap) */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.phase { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase .when { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 17px; }
.phase .when .tag { display: block; font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.phase h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.phase p { color: var(--ink-2); font-size: 15px; margin: 0; }
.phase.done .when, .phase.done h3 { color: var(--ink-3); }

/* Careers */
.job-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.job-card h3 { font-size: 21px; font-weight: 500; margin: 0 0 6px 0; }
.job-card .meta { color: var(--ink-3); font-size: 14px; }
.job-card p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0 0; max-width: 640px; }
.jobs { display: flex; flex-direction: column; gap: 20px; }

.job-header { display: flex; flex-direction: column; gap: 10px; }
.job-header .meta { color: var(--ink-inverse-2); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--ink-inverse-3); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 28px 0 14px 0; }
.footer-grid img { height: 48px; width: auto; }
.footer-left { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: var(--ink-inverse-2); display: flex; }
.footer-social a:hover { color: #ffffff; }
.footer-social svg { display: block; }
.footer-nav { display: flex; gap: 10px 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-inverse-2); font-size: 14px; }
.footer-nav a:hover { color: #ffffff; }
.footer-legal { border-top: 1px solid var(--line-dark); padding: 14px 0 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.footer-legal a { color: var(--ink-inverse-3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-3, .cards-2, .steps { gap: 28px; }
  .phase { grid-template-columns: 1fr; gap: 8px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-side { text-align: left; }
  .hero { padding-top: 96px; }
}
@media (max-width: 860px) {
  .nav-burger { display: block; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(300px, 82vw);
    background: var(--dark-2); border-left: 1px solid var(--line-dark);
    flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 4px;
    padding: 72px 30px 30px 30px; overflow-y: auto;
    transform: translateX(105%); transition: transform 0.25s ease;
  }
  .site-nav a { font-size: 17px; padding: 10px 0; }
  .nav-toggle:checked ~ .site-nav { transform: translateX(0); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(4, 6, 16, 0.55); }
  .nav-toggle:checked ~ .nav-backdrop { display: block; }
  .nav-close {
    display: block; position: absolute; top: 16px; right: 20px;
    color: var(--ink-inverse-2); font-size: 20px; cursor: pointer; padding: 8px;
  }
  .nav-close:hover { color: #ffffff; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav { transition: none; }
}
@media (max-width: 700px) {
  .brand img { height: 48px; }
  .partners { gap: 24px; }
  .partners .logos { gap: 28px; }
  .partners img { height: 32px; }
  .partners img.tall { height: 40px; }
}
