@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-600.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-700.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/montserrat-800.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-400.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-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-500.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-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  --navy: #083068;
  --navy-deep: #062044;
  --navy-ink: #041526;
  --wave: #286088;
  --wave-soft: #d4e2ec;
  --charcoal: #383840;
  --charcoal-deep: #2a2a30;
  --paper: #f3f7fa;
  --white: #ffffff;
  --ink: #1c2430;
  --muted: #5c6773;
  --line: #c9d6e0;
  --silver: #c5c8cc;
  --header-h: 4.75rem;
  --wrap: 72rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--wave);
}

:focus-visible {
  outline: 2px solid var(--wave);
  outline-offset: 3px;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--wave);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  font-weight: 800;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 800;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.lede {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  position: relative;
  width: 12.2rem;
  height: 4rem;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand img {
  position: absolute;
  max-width: none;
  width: 14.63rem;
  height: 9.84rem;
  left: -1.1rem;
  top: -2.78rem;
  margin: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--charcoal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--navy-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-ink);
  color: var(--white);
  isolation: isolate;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 3rem;
  align-items: center;
  padding: 4.75rem 0 2.25rem;
}

.hero .lede {
  color: #c5d5e3;
}

.hero-copy .kicker {
  color: var(--wave);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--wave-soft);
  color: var(--navy-deep);
}

.btn-ghost {
  border-color: #7aa3c2;
  color: var(--white);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
}

.btn-solid {
  background: var(--navy);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 22rem;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

.orbit {
  transform-origin: 210px 150px;
  animation: orbit 28s linear infinite;
}

.hero-wave {
  position: relative;
  height: 3.25rem;
  color: var(--navy);
  margin-bottom: -1px;
}

.hero-wave svg,
.wave-break svg {
  width: 100%;
  height: 100%;
}

.wave-break {
  height: 2.75rem;
  background: var(--navy);
  color: var(--white);
}

.meta-strip {
  background: var(--navy);
  color: #d7e4ef;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  padding: 0.7rem 0;
}

.path {
  padding: 4.5rem 0 2rem;
  background: var(--white);
}

.path-head {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.path-head .lede {
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 1.35rem 1.1rem 1.5rem;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-num {
  margin: 0 0 0.85rem;
  color: var(--wave);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
}

.step h3 {
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.caps {
  padding: 4.25rem 0;
  background: var(--paper);
}

.caps-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 3rem;
}

.caps-side {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  align-self: start;
}

.caps-side p {
  margin: 0;
  color: var(--muted);
}

.cap-list {
  display: flex;
  flex-direction: column;
}

.cap {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.cap:last-child {
  border-bottom: 1px solid var(--line);
}

.cap-idx {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 500;
}

.cap p:last-child {
  margin: 0;
  color: var(--muted);
}

.eoc {
  padding: 4.75rem 0 5rem;
  background: var(--navy-deep);
  color: var(--white);
}

.eoc .kicker {
  color: var(--wave);
}

.eoc .lede {
  color: #c5d5e3;
  margin-bottom: 2rem;
}

.eoc-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 1.75rem;
  align-items: end;
}

.board {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 0.9fr;
  gap: 0.7rem;
  padding: 0.7rem;
  background: #061422;
  border: 1px solid #1d3b58;
}

.panel {
  background: #0a1c2e;
  border: 1px solid #1d3b58;
  padding: 0.9rem;
  min-height: 16.5rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #8eabc2;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-clock {
  color: #d5e6f0;
}

.note {
  margin: 0.85rem 0 0;
  color: #8eabc2;
  font-size: 0.88rem;
}

.hydrograph {
  width: 100%;
  height: 8.5rem;
}

.metrics {
  display: grid;
  gap: 0.65rem;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1d3b58;
  font-size: 0.92rem;
}

.metric b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  color: var(--wave);
}

.watch li {
  margin: 0 0 0.7rem;
  padding-left: 0.7rem;
  border-left: 2px solid var(--wave);
  color: #d5e6f0;
  font-size: 0.92rem;
}

.watch {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai {
  padding: 4.75rem 0;
  background: var(--charcoal-deep);
  color: var(--white);
}

.ai .kicker {
  color: #c5c8cc;
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.ai .lede {
  color: #cfcfcf;
}

.ai-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.ai-points li {
  padding: 0.95rem 0;
  border-top: 1px solid #4a4a4a;
}

.ai-points li:last-child {
  border-bottom: 1px solid #4a4a4a;
}

.ai-points strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.ai-points span {
  color: #cfcfcf;
}

.ai-badge-card {
  border: 1px solid #4a4a4a;
  padding: 1.75rem;
  background: #333;
}

.ai-mark {
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}

.ai-badge-card p {
  margin: 0;
  color: #cfcfcf;
}

.contact {
  padding: 4.75rem 0 5rem;
  background: var(--paper);
}

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

.mail {
  display: inline-block;
  margin: 0.4rem 0 0.9rem;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.mail:hover {
  color: var(--wave);
}

.form {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.6rem 0.7rem;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--navy);
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer {
  background: var(--navy-ink);
  color: #9eb4c6;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover {
  color: var(--wave);
}

@media (max-width: 960px) {
  .hero-grid,
  .path-head,
  .caps-layout,
  .eoc-head,
  .ai-grid,
  .contact-grid,
  .board {
    grid-template-columns: 1fr;
  }

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

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .caps-side {
    position: static;
  }

  .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 0 auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.35rem;
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.55rem 0;
  }

  .nav-cta {
    justify-content: center;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 1.6rem));
  }

  .hero-grid {
    padding: 3.1rem 0 4.2rem;
  }

  .brand {
    width: 10.4rem;
    height: 3.4rem;
  }

  .brand img {
    width: 12.47rem;
    height: 8.39rem;
    left: -0.94rem;
    top: -2.37rem;
  }
}

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

  .orbit {
    animation: none;
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
