:root {
  --bg: #050c14;
  --bg-elevated: #0b1622;
  --ink: #f5f8fb;
  --muted: #aebdcb;
  --soft: #dce7ef;
  --line: rgba(205, 224, 238, 0.11);
  --cyan: #35c6f4;
  --blue: #3478f6;
  --violet: #9c7cff;
  --mint: #63d8b4;
  --amber: #d6b36a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.9), #050c14 24rem),
    linear-gradient(90deg, rgba(5, 12, 20, 0.92), rgba(5, 12, 20, 0.76)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=2200&q=80") center top / 100% auto no-repeat,
    var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 8px 12px 8px 12px;
  border: 1px solid rgba(220, 231, 239, 0.1);
  border-radius: 999px;
  background: rgba(5, 12, 20, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 17, 27, 0.9);
  border-color: rgba(220, 231, 239, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: 0;
}

.site-nav .nav-cta {
  color: #06101a;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
}

.nav-toggle {
  display: none;
}

main {
  overflow: hidden;
}

section {
  position: relative;
  padding: 112px 24px;
  scroll-margin-top: 118px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.76fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 88svh;
  padding-top: 104px;
  padding-bottom: 24px;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 7% auto auto 46%;
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
  background:
    radial-gradient(circle at 38% 38%, rgba(53, 198, 244, 0.13), transparent 42%),
    radial-gradient(circle at 64% 62%, rgba(156, 124, 255, 0.1), transparent 48%);
  filter: blur(30px);
}

.hero::after {
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.72rem, 6.1vw, 5.05rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.6vw, 4.35rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  font-weight: 750;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(1.16rem, 2vw, 1.46rem);
  line-height: 1.45;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 700px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.contact-actions a,
.contact-actions > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.link-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
}

.link-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.button:hover,
.contact-actions a:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #04111b;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 14px 34px rgba(53, 198, 244, 0.14);
}

.button.secondary,
.contact-actions a,
.contact-actions > span {
  color: var(--soft);
  border-color: rgba(220, 231, 239, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.hero-panel {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 450px;
  padding: 22px 28px 26px;
  border: 1px solid rgba(220, 231, 239, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.18), rgba(5, 12, 20, 0.88)),
    url("ai-systems-symbol.png") center 38% / 112% auto no-repeat,
    rgba(7, 16, 25, 0.78);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.hero-panel > img {
  position: absolute;
  inset: 46% auto auto 50%;
  z-index: -1;
  width: min(110%, 560px);
  opacity: 0.08;
  transform: translate(-50%, -50%);
  filter: saturate(0.86) brightness(0.72);
}

.signal-list {
  display: grid;
  gap: 8px;
}

.signal-list span {
  position: relative;
  padding: 8px 0 8px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--soft);
  font-weight: 650;
}

.signal-list span::before {
  position: absolute;
  top: 16px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
  opacity: 0.82;
}

.positioning,
.why {
  border-top: 1px solid var(--line);
}

.section-heading {
  align-self: start;
}

.copy-block {
  max-width: 690px;
}

.copy-block p {
  font-size: 1.1rem;
}

.capability-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.capability-cloud span {
  padding: 9px 12px;
  border: 1px solid rgba(99, 216, 180, 0.24);
  border-radius: 999px;
  background: rgba(99, 216, 180, 0.08);
  color: #d9fff3;
  font-weight: 650;
}

.services,
.use-cases,
.contact {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-top {
  max-width: 780px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.use-case,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(10, 21, 32, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.service-card {
  min-height: 240px;
  padding: 24px;
}

.card-index {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--amber);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 7vw, 80px);
  align-items: end;
  min-height: 680px;
  margin: 40px 0;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(5, 12, 20, 0.98), rgba(5, 12, 20, 0.84) 48%, rgba(5, 12, 20, 0.62)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2200&q=80") center / cover no-repeat;
}

.image-band-copy {
  max-width: 750px;
}

.image-band-copy p {
  font-size: 1.1rem;
}

.outcome-points {
  display: grid;
  gap: 12px;
}

.outcome-points div {
  padding: 18px;
  border: 1px solid rgba(220, 231, 239, 0.2);
  border-radius: var(--radius);
  background: rgba(8, 17, 27, 0.6);
  backdrop-filter: blur(10px);
}

.outcome-points h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

.outcome-points p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.use-case-list {
  display: grid;
  gap: 12px;
}

.use-case {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
}

.use-case h3,
.use-case p {
  margin-bottom: 0;
}

.principles {
  display: grid;
  gap: 16px;
}

.principles div {
  padding: 0 0 22px 28px;
  border-left: 2px solid rgba(53, 198, 244, 0.45);
}

.principles h3 {
  margin-bottom: 8px;
}

.image-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 0.9fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.about-visual {
  min-height: 560px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.26), rgba(5, 12, 20, 0.9)),
    url("ai-systems-symbol.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-copy p {
  font-size: 1.08rem;
}

.closing {
  padding-block: 132px;
  background:
    linear-gradient(180deg, rgba(12, 51, 82, 0.72), rgba(7, 28, 45, 0.86)),
    url("ai-systems-symbol.png") center / min(780px, 98vw) auto no-repeat;
  text-align: center;
}

.closing-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.54fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.contact-copy p {
  max-width: 640px;
}

.contact-card {
  padding: 30px;
}

.contact-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-headshot {
  display: block;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border: 1px solid rgba(220, 231, 239, 0.22);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 10%;
}

.contact-card h3 {
  margin-bottom: 0;
  font-size: 1.7rem;
  line-height: 1.05;
}

.contact-card .contact-identity p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.25;
}

.legal-page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding-top: 148px;
}

.legal-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.legal-content h2 {
  margin-top: 44px;
  font-size: clamp(1.42rem, 2.6vw, 2.1rem);
}

.legal-content a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-updated {
  margin-top: 44px;
  color: var(--soft);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.65fr) minmax(220px, 0.75fr);
  gap: 28px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 40px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footnote {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 0 4px;
  color: rgba(174, 189, 203, 0.62);
  font-size: 0.76rem;
  line-height: 1.4;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.footer-brand strong,
.footer-brand span,
.footer-contact span {
  display: block;
}

.footer-brand strong,
.footer-contact span {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .site-header {
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(220, 231, 239, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 84px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(220, 231, 239, 0.16);
    border-radius: var(--radius);
    background: rgba(8, 17, 27, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 15px;
  }

  .section-grid,
  .image-band,
  .image-split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 134px;
  }

  .hero-panel,
  .about-visual {
    min-height: 440px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  body {
    background-size: auto 720px, auto;
  }

  section {
    padding: 82px 18px;
  }

  .brand span {
    max-width: 220px;
    white-space: normal;
    line-height: 1.12;
  }

  h1 {
    font-size: clamp(2.72rem, 13vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-actions a,
  .contact-actions > span {
    width: 100%;
  }

  .hero-panel,
  .about-visual {
    min-height: 360px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .image-band {
    min-height: auto;
    margin-block: 18px;
  }

  .use-case {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(calc(100% - 36px), var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
