@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/dm-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/dm-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #18223b;
  --ink-deep: #111a30;
  --muted: #5f6777;
  --muted-light: #a9b2c5;
  --line: #dfe3e9;
  --blue: #2962f2;
  --blue-light: #e9eeff;
  --coral: #fd735d;
  --cream: #f7f7f4;
  --white: #ffffff;
  --dark: #0d1117;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.site-shell {
  overflow: hidden;
}

.section-wrap {
  width: min(100% - 4rem, 76rem);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(100% - 4rem, 76rem);
  min-height: 5.5rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: .55rem;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: .45rem;
}

.header-cta {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .015em;
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue);
}

.header-cta {
  justify-self: end;
  color: var(--ink);
}

.header-cta span,
.button span,
.contact-link span {
  color: var(--coral);
  font-size: 1.1em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(21rem, .97fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7.5rem);
  min-height: 38rem;
  padding: 5.5rem 0 3rem;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.25rem;
  color: var(--blue);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .095em;
  line-height: 1.5;
}

.eyebrow-dot {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.45rem;
  font-size: clamp(3.25rem, 6.2vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -.072em;
  line-height: 1.12;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-intro {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3rem 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .88rem 1.15rem;
  border-radius: .2rem;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  transition: background .2s ease, transform .2s ease;
}

.button-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.text-link {
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease;
}

.text-link span {
  margin-left: .3rem;
  color: var(--coral);
}

.hero-art {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #cbd3e5;
  background: #eaf0ff;
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: .58;
  background-image: linear-gradient(#aab8dc 1px, transparent 1px), linear-gradient(90deg, #aab8dc 1px, transparent 1px);
  background-size: 2.85rem 2.85rem;
  mask-image: linear-gradient(to bottom, black 10%, transparent 93%);
}

.art-topline,
.art-foot {
  position: absolute;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #52628b;
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .08em;
}

.art-topline {
  top: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
}

.art-foot {
  right: 1.25rem;
  bottom: 1.2rem;
  left: 1.25rem;
  align-items: center;
  gap: .45rem;
}

.art-foot>span:not(.art-rule) {
  white-space: nowrap;
}

.art-rule {
  flex: 1;
  height: 1px;
  background: #a7b4d3;
}

.art-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid #91a3d3;
  border-radius: 50%;
}

.orbit-one {
  top: -20%;
  right: -12%;
  width: 25rem;
  height: 25rem;
}

.orbit-two {
  bottom: -30%;
  left: -18%;
  width: 22rem;
  height: 22rem;
  border-color: #bdc9e8;
}

.art-statement {
  position: absolute;
  z-index: 3;
  top: auto;
  bottom: 3.6rem;
  left: 1.25rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .95;
}

.art-statement span,
.art-statement strong {
  display: block;
}

.art-statement strong {
  color: var(--blue);
}

.capabilities {
  padding: 3rem 0 3.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 2.28fr);
  gap: 2rem;
  margin-bottom: 3.75rem;
}

.section-heading .section-label {
  margin: .5rem 0 0;
}

.section-heading h2,
.model-intro h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.02;
}

.section-heading>p:last-child {
  margin: .4rem 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.65;
}

.discipline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.discipline-row li {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

.discipline-num {
  color: var(--coral);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
}

.capability-list {
  border-top: 1px solid var(--ink);
}

.capability {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 2.33fr) 1fr;
  gap: 2rem;
  padding: 2rem 0 2.15rem;
  border-bottom: 1px solid var(--line);
}

.capability-number,
.engine-kicker {
  margin: .3rem 0 0;
  color: var(--coral);
  font-family: var(--mono);
  font-size: .63rem;
  letter-spacing: .08em;
}

.capability h3 {
  margin: 0 0 .65rem;
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
  letter-spacing: -.045em;
}

.capability div>p {
  max-width: 35rem;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.capability ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.capability li {
  padding: .31rem .5rem;
  border: 1px solid #d7dce6;
  border-radius: 1rem;
  color: #4f5b70;
  font-family: var(--mono);
  font-size: .58rem;
}

.model-section {
  color: var(--ink);
  background: var(--cream);
}

.model-grid {
  display: grid;
  grid-template-columns: minmax(17rem, .9fr) minmax(22rem, 1.1fr);
  gap: clamp(3rem, 9vw, 11rem);
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.section-label-light {
  color: var(--blue);
}

.model-intro h2 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
}

.model-intro>p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.72;
}

.engine-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: end;
}

.engine-card {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  padding: 1.55rem;
}

.engine-client {
  color: var(--ink);
  background: #dbe4ff;
}

.engine-venture {
  color: #fff4f0;
  background: #e95348;
}

.engine-icon {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 3.9rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
}

.engine-kicker {
  color: currentColor;
  opacity: .72;
}

.engine-card h3 {
  margin: .65rem 0 .8rem;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  letter-spacing: -.055em;
}

.engine-card>p:not(.engine-kicker) {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  opacity: .78;
}

.engine-line {
  position: absolute;
  right: -15%;
  bottom: -35%;
  width: 13rem;
  height: 13rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .25;
}

.approach {
  padding: 8rem 0;
}

.compact-heading {
  display: block;
  margin-bottom: 2rem;
}

.compact-heading .section-label {
  margin: 0 0 .8rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.approach-grid article {
  min-height: 15rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.approach-grid span {
  color: var(--coral);
  font-family: var(--mono);
  font-size: .63rem;
}

.approach-grid h3 {
  margin: 3.3rem 0 .65rem;
  font-size: 1.3rem;
  letter-spacing: -.035em;
}

.approach-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.name-note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  max-width: 34rem;
  margin: 1.9rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.65;
}

.name-sigma {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: .05rem;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-light);
  font-family: Georgia, serif;
  font-size: 1.05rem;
  line-height: 1;
}

.name-note .meaning-word {
  color: var(--blue);
  font-family: var(--mono);
  font-size: .82rem;
}

.inflection-note {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.inflection-mark {
  display: grid;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-light);
  font-family: Georgia, serif;
  font-size: 1rem;
}

.contact {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 31rem;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 5rem);
  color: var(--white);
  background: var(--blue);
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact .section-label {
  color: #c7d4ff;
}

.contact h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 5vw, 4.65rem);
}

.contact-inner>p:not(.section-label) {
  max-width: 34rem;
  margin-bottom: 1.8rem;
  color: #dbe4ff;
  font-size: .9rem;
  line-height: 1.7;
}

.contact-link {
  display: inline-block;
  padding-bottom: .25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.contact-link:hover {
  color: #fff0eb;
}

.contact-mark {
  position: absolute;
  right: -6%;
  bottom: -35%;
  width: min(52vw, 38rem);
  opacity: .23;
  transform: rotate(-7deg);
}

.contact-mark img {
  width: 100%;
  height: auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  min-height: 7rem;
  gap: 1rem;
  color: var(--muted);
  font-size: .67rem;
}

.site-footer p {
  margin: 0;
}

.site-footer>p:nth-child(2) {
  justify-self: center;
}

.footer-brand {
  font-size: .92rem;
}

.footer-brand .brand-mark {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 55rem) {

  .section-wrap,
  .site-header {
    width: min(100% - 2.5rem, 76rem);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3.25rem;
    min-height: auto;
    padding: 4.75rem 0 5rem;
  }

  .hero-copy {
    max-width: 38rem;
  }

  .hero-art {
    min-height: 25rem;
  }

  .section-heading {
    grid-template-columns: 1fr 2fr;
  }

  .section-heading>p:last-child {
    grid-column: 2;
    margin-top: .4rem;
  }

  .capability {
    grid-template-columns: 1fr 2fr;
  }

  .capability>div {
    grid-column: 2;
  }

  .model-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .engine-cards {
    max-width: 38rem;
  }
}

@media (max-width: 38rem) {

  .section-wrap,
  .site-header {
    width: min(100% - 2rem, 76rem);
  }

  .site-header {
    min-height: 4.8rem;
  }

  .header-cta {
    font-size: .68rem;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 4.3rem);
  }

  .hero {
    padding-top: 3.6rem;
  }

  .hero-art {
    min-height: 20rem;
  }

  .section-heading,
  .compact-heading,
  .capability {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading>p:last-child,
  .capability>div {
    grid-column: auto;
  }

  .capabilities,
  .approach {
    padding: 5.5rem 0;
  }

  .section-heading {
    margin-bottom: 2.75rem;
  }

  .capability {
    padding: 1.65rem 0;
  }

  .capability-number {
    margin: 0;
  }

  .model-grid {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .engine-cards,
  .approach-grid,
  .discipline-row {
    grid-template-columns: 1fr;
  }

  .engine-card {
    min-height: 16rem;
  }

  .engine-icon {
    margin-bottom: 2rem;
  }

  .approach-grid article {
    min-height: 12rem;
  }

  .approach-grid h3 {
    margin-top: 2.5rem;
  }

  .contact {
    min-height: 28rem;
    padding: 2rem;
  }

  .contact-mark {
    right: -23%;
    width: 27rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 1.5rem 0;
  }

  .site-footer>p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 23rem) {
  .header-cta {
    display: none;
  }
}

/* Theme toggle and dark theme ------------------------------------------------ */
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: .85rem;
}

.theme-toggle {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.theme-toggle svg {
  width: 1rem;
  height: 1rem;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf2ff;
  --ink-deep: #f8faff;
  --muted: #aebbd3;
  --muted-light: #aebbd3;
  --line: #303e5b;
  --blue: #82a0ff;
  --blue-light: #22355f;
  --coral: #ff9b87;
  --cream: #0d1117;
  --white: #f8faff;
  --dark: #0e1526;
}

html[data-theme="dark"] .button-primary {
  color: var(--dark);
}

html[data-theme="dark"] .site-header {
  border-color: var(--line);
}

html[data-theme="dark"] .brand-mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .hero-art {
  border-color: #405172;
  background: #202d4b;
}

html[data-theme="dark"] .art-grid {
  background-image: linear-gradient(#405172 1px, transparent 1px), linear-gradient(90deg, #405172 1px, transparent 1px);
}

html[data-theme="dark"] .art-topline,
html[data-theme="dark"] .art-foot {
  color: #a7b9e1;
}

html[data-theme="dark"] .art-rule {
  background: #5b6e97;
}

html[data-theme="dark"] .art-orbit {
  border-color: #6479aa;
}

html[data-theme="dark"] .orbit-two {
  border-color: #465b87;
}

html[data-theme="dark"] .capability li {
  border-color: #465575;
  color: #c2cce1;
}

html[data-theme="dark"] .section-label-light {
  color: #afc0ef;
}

html[data-theme="dark"] .engine-client {
  color: #edf2ff;
  background: #2d4475;
}

html[data-theme="dark"] .engine-venture {
  color: #fff4f1;
  background: #b85450;
}

html[data-theme="dark"] .approach-grid article {
  border-color: #354463;
  background: #202c46;
}

html[data-theme="dark"] .contact {
  background: #4266c8;
}

html[data-theme="dark"] .contact .section-label {
  color: #d6e0ff;
}

html[data-theme="dark"] .contact-inner>p:not(.section-label) {
  color: #e0e7ff;
}

html[data-theme="dark"] .contact-link:hover {
  color: #fff0eb;
}

@media (max-width: 55rem) {
  .header-actions {
    gap: .65rem;
  }
}

@media (max-width: 23rem) {
  .header-actions {
    margin-left: auto;
  }
}

/* Full transparent mark in the hero signal panel. */
.hero-logo {
  position: absolute;
  z-index: 2;
  top: 5%;
  left: 40%;
  width: 55%;
  height: 55%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
