:root {
  --navy-950: #061b35;
  --navy-900: #082446;
  --navy-760: #123b67;
  --steel-700: #596474;
  --steel-500: #8d96a3;
  --steel-200: #d9dee5;
  --steel-100: #eef1f5;
  --ink: #132033;
  --paper: #fbfcfe;
  --white: #ffffff;
  --yellow: #f7b90f;
  --yellow-strong: #f2a900;
  --aqua: #2a7682;
  --shadow: 0 24px 70px rgba(6, 27, 53, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(8, 36, 70, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 36, 70, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(6, 27, 53, 0.12), transparent 34%),
    linear-gradient(235deg, rgba(247, 185, 15, 0.14), transparent 30%);
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.7rem 0.9rem;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 0.85rem 0;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  max-width: none;
  padding: 0.7rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(251, 252, 254, 0.93);
  box-shadow: 0 10px 30px rgba(6, 27, 53, 0.1);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 188px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy-900);
}

.nav a,
.site-footer a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--aqua);
  text-decoration-color: currentColor;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta {
  padding: 0.75rem 1rem;
  color: var(--navy-950);
  background: var(--yellow);
}

.button {
  padding: 0.95rem 1.15rem;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-950);
  background: var(--yellow);
  box-shadow: 0 14px 30px rgba(242, 169, 0, 0.28);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(2.6rem, 7vw, 6.6rem) 0 clamp(2rem, 6vw, 4.5rem);
}

.hero-copy {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(6, 27, 53, 0.96), rgba(18, 59, 103, 0.88)),
    var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy::before {
  position: absolute;
  right: -9rem;
  top: -8rem;
  width: 22rem;
  height: 22rem;
  content: "";
  border: 1.4rem solid rgba(247, 185, 15, 0.28);
  border-radius: 50%;
}

.hero-copy > * {
  position: relative;
}

.eyebrow {
  color: var(--yellow-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
}

h2 {
  margin-top: 0.65rem;
  color: var(--navy-950);
  font-size: clamp(2rem, 4.2vw, 4rem);
}

h3 {
  color: var(--navy-950);
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.signal-board {
  align-self: stretch;
  min-height: 520px;
  padding: clamp(1rem, 2vw, 1.4rem);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-header span {
  color: var(--steel-200);
}

.signal-header strong {
  color: var(--yellow);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.signal-grid article,
.service-card,
.lab-card,
.metrics article {
  border-radius: var(--radius);
}

.signal-grid article {
  min-height: 205px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-grid span,
.service-mark {
  display: inline-flex;
  min-width: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.signal-grid h2 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.1;
}

.signal-grid p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.74);
}

.intro-band,
.section,
.contact,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(1.6rem, 4vw, 2.4rem) 0;
  border-block: 1px solid var(--steel-200);
}

.intro-band p {
  max-width: 920px;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-heading h2 {
  max-width: 16ch;
}

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

.service-card {
  min-height: 230px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--steel-200);
  box-shadow: 0 18px 45px rgba(6, 27, 53, 0.08);
}

.service-card p,
.lab-card p,
.method-list p,
.founder-bio,
.proof-copy,
.security-grid p,
.contact p {
  color: var(--steel-700);
}

.service-card p {
  margin-top: 0.7rem;
}

.service-mark {
  width: auto;
  padding: 0 0.7rem;
  border-radius: 999px;
}

.proof {
  border-block: 1px solid var(--steel-200);
}

.ai-lab {
  padding-bottom: 0;
}

.ai-lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.lab-card {
  min-height: 250px;
  padding: 1.15rem;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.lab-card span {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  margin-bottom: 1.4rem;
  padding: 0 0.7rem;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.lab-card h3 {
  color: var(--white);
  font-size: 1.16rem;
}

.lab-card p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.76);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.proof-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
  font-size: 1.06rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.metrics article {
  min-height: 185px;
  padding: 1rem;
  color: var(--white);
  background: var(--navy-950);
  border-top: 6px solid var(--yellow);
}

.metrics strong {
  display: block;
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-list li {
  position: relative;
  min-height: 230px;
  padding: 1.2rem;
  background: transparent;
  border-left: 3px solid var(--yellow);
}

.method-list span {
  display: block;
  margin-bottom: 2.1rem;
  color: var(--steel-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 1;
}

.method-list p {
  margin-top: 0.75rem;
}

.founder {
  padding-top: 0;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-760));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-card h2 {
  color: var(--white);
}

.founder-role {
  margin-top: 1rem;
  color: var(--steel-200);
  font-weight: 800;
}

.founder-bio {
  display: grid;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.security {
  padding-top: 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: var(--steel-200);
}

.security-grid p {
  min-height: 112px;
  padding: 1rem;
  background: var(--white);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius);
}

.contact h2 {
  max-width: 18ch;
  color: var(--white);
}

.contact p {
  max-width: 58ch;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 2.2rem;
  color: var(--steel-700);
  border-top: 1px solid var(--steel-200);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .signal-board,
  .service-card,
  .metrics article,
  .method-list li,
  .founder-card,
  .contact {
    animation: rise-in 520ms ease both;
  }

  .signal-board {
    animation-delay: 90ms;
  }

  .service-card:nth-child(2),
  .metrics article:nth-child(2),
  .method-list li:nth-child(2) {
    animation-delay: 80ms;
  }

  .service-card:nth-child(3),
  .metrics article:nth-child(3),
  .method-list li:nth-child(3) {
    animation-delay: 140ms;
  }

  .service-card:nth-child(4),
  .method-list li:nth-child(4) {
    animation-delay: 200ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .proof-layout,
  .founder-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-board {
    min-height: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .service-grid,
  .ai-lab-grid,
  .metrics,
  .method-list,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    background-size: 44px 44px;
  }

  .site-header {
    gap: 0.75rem;
  }

  .brand img {
    width: 148px;
  }

  .nav-cta {
    padding: 0.68rem 0.72rem;
    font-size: 0.85rem;
  }

  .hero {
    width: min(calc(100% - 1rem), var(--max));
    padding-top: 1.1rem;
  }

  .hero-copy {
    padding: 1.05rem;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 3.55rem);
  }

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

  .button,
  .nav-cta {
    text-align: center;
  }

  .signal-grid,
  .service-grid,
  .ai-lab-grid,
  .metrics,
  .method-list,
  .security-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .signal-grid article,
  .service-card,
  .lab-card,
  .metrics article,
  .method-list li {
    min-height: auto;
  }

  .intro-band,
  .section,
  .contact,
  .site-footer {
    width: min(calc(100% - 1rem), var(--max));
  }
}
