@font-face {
  font-family: Inter;
  src: url("inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #142039;
  --muted: #46536a;
  --blue: #1545a4;
  --navy: #101b31;
  --pale: #edf3fc;
  --line: #d9e1ed;
  --white: #fff;
  --radius: 1.5rem;
  --gutter: clamp(1.25rem, 5.2vw, 5.5rem);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.65vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 2.05vw, 1.8rem); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #346ddd; outline-offset: 5px; }
section[id], main[id] { scroll-margin-top: 6rem; }

.shell { width: min(100% - 2 * var(--gutter), 77rem); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8vw, 8.5rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.15rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .095em;
  line-height: 1.5;
  text-transform: uppercase;
}

.accent-line { width: 1.8rem; height: 2px; background: #ffae3e; flex: none; }
.skip-link {
  position: fixed;
  z-index: 5;
  inset: .6rem auto auto 1rem;
  padding: .6rem 1rem;
  transform: translateY(-170%);
  background: var(--white);
  color: var(--blue);
  border-radius: .4rem;
}
.skip-link:focus { transform: none; }

.header { position: sticky; z-index: 4; top: 0; background: var(--white); border-bottom: 1px solid #edf0f5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 5.25rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  flex: none;
  font: 700 1.45rem/1 Inter, system-ui, sans-serif;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand img { flex: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.6rem); }
.nav > a { font-size: .9375rem; font-weight: 600; text-decoration: none; }
.nav > a:not(.button):hover, .nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: .35em; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: .5rem .9rem;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .8rem 1.32rem;
  min-height: 3.15rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  text-decoration: none;
  text-align: center;
  font-size: .9375rem;
  line-height: 1.25;
  font-weight: 650;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-small { min-height: 2.65rem; padding: .62rem 1.18rem; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #102f71; }
.button-light { color: var(--navy); background: var(--white); }
.button-light:hover { background: #d8e6ff; }
.button-ghost { color: var(--white); border-color: #a8b9d2; background: #14203955; }
.button-ghost:hover { background: #ffffff24; border-color: var(--white); }
.button-outline { border-color: #8ba3cf; color: var(--blue); }
.button-outline:hover { background: #dce8fa; border-color: var(--blue); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.9rem; }
.text-link { display: inline-block; color: var(--blue); font-weight: 650; text-underline-offset: .25em; }
.text-link:hover { color: #0e2f75; text-decoration-thickness: 2px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(34rem, 49vw, 45rem);
  color: var(--white);
  background: #182b46;
  overflow: hidden;
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 58% 49%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #081426ed 0%, #08142697 42%, #08142618 79%),
              linear-gradient(0deg, #091427b5, transparent 74%);
}
.hero-inner { padding-block: 5rem clamp(3.5rem, 7.1vw, 7.2rem); }
.hero h1 { letter-spacing: .005em; text-wrap: initial; }
.hero .eyebrow, .history-hero .eyebrow, .contact .eyebrow { color: #d6e6ff; }
.hero-summary { max-width: 36rem; margin-top: 1.35rem; color: #e3ebf8; font-size: clamp(1.05rem, 1.65vw, 1.27rem); }

.purpose-title { max-width: 55rem; }
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(1.5rem, 7vw, 7rem);
  margin-top: clamp(2rem, 4.8vw, 4rem);
}
.purpose-grid article { border-top: 1px solid var(--line); padding-top: 1.35rem; }
.purpose-grid p, .project-copy > p:not(.eyebrow), .story-copy > p:not(.eyebrow), .history-text p {
  color: var(--muted);
  margin-top: .75rem;
}

.engineering { background: var(--navy); color: var(--white); }
.engineering .eyebrow { color: #b0cbff; }
.section-intro { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 1.4rem 4rem; }
.section-intro h2 { text-wrap: initial; }
.section-intro > p { max-width: 31rem; color: var(--muted); font-size: 1.075rem; }
.engineering .section-intro > p, .engineering-grid p { color: #d1dbee; }
.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 5rem);
}
.engineering-grid article { border-top: 2px solid #567ab9; padding-top: 1.35rem; }
.engineering-grid p { margin-top: .7rem; }
.engineering-note {
  margin-top: 2.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid #394763;
  color: #d1dbee;
}

.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 2.35rem; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-art { display: grid; place-items: center; position: relative; isolation: isolate; min-height: clamp(12rem, 25vw, 19rem); overflow: hidden; }
.ozira-art { background: radial-gradient(ellipse at 54% 52%, #254963, #11263a 52%, #0d1b31 84%); }
.ozira-art img { z-index: 1; width: clamp(6.9rem, 12vw, 9.5rem); height: auto; filter: drop-shadow(0 0 25px #52e8e170); }
.ozira-orbit {
  position: absolute;
  inset: -6rem;
  background: repeating-radial-gradient(ellipse at center, transparent 0 2.7rem, #90e7f129 2.72rem 2.78rem, transparent 2.82rem 3.15rem);
  transform: rotate(-12deg) scaleY(.72);
  mask-image: linear-gradient(90deg, transparent, #000 25% 75%, transparent);
}
.datalyx-art { background: #19263b; }
.datalyx-art img { width: clamp(9.5rem, 16vw, 13.5rem); height: auto; }
.project-copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding: clamp(1.35rem, 3.1vw, 2.6rem); }
.project-copy .eyebrow { margin-bottom: .45rem; }
.project-copy h3 { font-size: clamp(2.05rem, 3.7vw, 3.35rem); }
.project-copy .text-link { margin-top: auto; padding-top: 1.1rem; }

.story-preview, .founders { background: var(--pale); }
.story-preview { padding-block: clamp(2rem, 5vw, 5rem); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 7vw, 7.5rem); align-items: center; }
.story-art {
  display: grid;
  place-items: center;
  min-height: clamp(12rem, 32vw, 24rem);
  border-radius: var(--radius);
  background: radial-gradient(circle, #293d60, transparent 48%),
              repeating-radial-gradient(ellipse at 50% 50%, transparent 0 2.46rem, #9eb9ed3d 2.49rem 2.54rem, transparent 2.57rem 2.95rem),
              #15243e;
}
.story-art img { width: clamp(5.5rem, 11vw, 8.5rem); height: auto; filter: drop-shadow(0 0 26px #b6cdef42); }
.story-copy h2 { text-wrap: initial; font-size: clamp(2.35rem, 4.3vw, 4rem); }
.story-copy > p:not(.eyebrow) { margin-top: 1rem; max-width: 36rem; }
.story-copy .button { margin-top: 1.35rem; }

.contact, .history-contact { background: #123578; color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.2rem clamp(2rem, 8vw, 8rem); align-items: center; }
.contact h2 { text-wrap: initial; }
.contact p:not(.eyebrow), .history-contact p { max-width: 37rem; color: #e2ebff; margin-top: 1rem; }
.contact-actions { display: grid; gap: .7rem; justify-items: stretch; width: min(100%, 21rem); }
.email-link { overflow-wrap: anywhere; text-align: center; text-underline-offset: .23em; font-size: .9375rem; }
.email-link:hover { text-decoration-thickness: 2px; }
.footer { padding-block: 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.25rem; align-items: center; }
.footer p, .footer nav { color: var(--muted); font-size: .9rem; }
.footer nav { display: flex; gap: .7rem 1.25rem; flex-wrap: wrap; }
.footer nav a { text-underline-offset: .22em; }

.history-hero { padding-block: clamp(3rem, 8vw, 7rem); background: var(--navy); color: var(--white); }
.history-hero h1 { text-wrap: initial; }
.history-hero .story-art { border: 1px solid #34466b; }
.history-text { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem clamp(2rem, 8vw, 8rem); }
.history-text h2 { font-size: clamp(2.3rem, 4.3vw, 4rem); text-wrap: initial; }
.history-text p { margin: 0 0 1rem; }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.9rem; }
.founder-grid article {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.founder-grid p { color: var(--muted); margin-top: .3rem; }
.initials {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: 50%;
  background: #dce9ff;
  color: #163b86;
  font-weight: 700;
}
.history-contact .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.history-contact h2 { font-size: clamp(2.3rem, 4.3vw, 4rem); }
.error-page h1 { margin-block: 2rem; }

@media (max-width: 48rem) {
  section[id], main[id] { scroll-margin-top: 4.6rem; }
  .header-inner { flex-wrap: wrap; min-height: 3.95rem; padding-block: .6rem; }
  .menu-toggle.menu-ready { display: inline-flex; }
  .nav { flex-basis: 100%; flex-wrap: wrap; align-items: start; }
  .menu-ready + .nav { flex-direction: column; gap: .85rem; padding: .55rem 0 .75rem; }
  .hero { min-height: 35rem; }
  .hero-image { object-position: 65% center; }
  .hero::after { background: linear-gradient(0deg, #081426f5 0%, #081426ba 50%, #08142623 100%); }
  .hero-inner { padding-top: 7rem; }
  .section-intro, .story-grid, .contact-grid, .history-text { grid-template-columns: 1fr; }
  .engineering-grid { grid-template-columns: 1fr; }
  .engineering-grid article { padding-top: .9rem; }
  .story-preview .story-copy { grid-row: 1; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 36rem) {
  .purpose-grid, .projects-grid, .founder-grid { grid-template-columns: 1fr; }
  .hero { min-height: 33rem; }
  .hero h1 { font-size: clamp(1.95rem, 8.7vw, 3.3rem); }
  .eyebrow { letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
