:root {
  --water: #0B2A3F;
  --water-bright: #12466a;
  --ink: #101418;
  --muted: #4a5560;
  --line: #dbe3e9;
  --panel: #f3f6f8;
  --gutter: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--water); }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Hero: solid deep blue is the fallback; the canvas paints over it when hero.js runs. */
#hero {
  position: relative;
  background: var(--water);
  color: #fff;
  min-height: 180vh; /* the extra height is what the camera scrubs through */
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* a soft dark backing behind the copy so it stays readable over the moving points */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11,42,63,.92) 0%, rgba(11,42,63,.55) 42%, rgba(11,42,63,0) 68%);
}
@media (max-width: 699px) {
  .hero-stage::before {
    background: linear-gradient(180deg, rgba(11,42,63,0) 0%, rgba(11,42,63,.35) 45%, rgba(11,42,63,.92) 100%);
  }
  .hero-stage { align-items: flex-end; }
}
.hero-inner { position: relative; z-index: 1; text-shadow: 0 1px 12px rgba(4,20,32,.6); }
@media (prefers-reduced-motion: reduce) {
  #hero { min-height: 0; }
  .hero-stage { position: relative; height: auto; min-height: 78vh; }
}

#water {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px var(--gutter);
}

h1, h2, h3, .button, .wordmark {
  font-family: "Bricolage Grotesque", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto;
}
h1 { margin: 0; font-weight: 700; }
.wordmark {
  display: block;
  font-size: clamp(2.8rem, 11vw, 5.25rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.tagline {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.25rem, 4.6vw, 1.75rem);
  line-height: 1.3;
  font-weight: 500;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lede {
  max-width: 34em;
  margin: 20px 0 28px;
  font-size: 1.125rem;
  color: #e6f0f6;
  text-shadow: 0 1px 8px rgba(11, 42, 63, 0.6);
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--water);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--water);
}
.button:hover, .button:focus-visible { background: var(--water-bright); border-color: var(--water-bright); }
#hero .button { background: #fff; color: var(--water); border-color: #fff; }
#hero .button:hover, #hero .button:focus-visible { background: #e6f0f6; border-color: #e6f0f6; }
.button:focus-visible, a:focus-visible { outline: 3px solid #7cc4ee; outline-offset: 3px; }

main > section { border-bottom: 1px solid var(--line); }
section > .wrap { padding-top: 64px; padding-bottom: 64px; }
.section-layout { display: grid; gap: 32px; }
.section-heading { max-width: 620px; }
.eyebrow { color: var(--water-bright); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
h2 { margin: 0 0 20px; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
h3 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 16px; max-width: 40em; }
.section-copy p, .feature p, .role p, .section-heading > p:not(.eyebrow), .pilot-details p { color: var(--muted); }
.section-copy p:last-child, .feature p, .role p, .pilot-details p:last-child { margin-bottom: 0; }
.feature-section { background: var(--panel); }
.features { display: grid; gap: 28px; margin-top: 40px; }
.feature { padding-top: 12px; }
.step { display: block; color: var(--water-bright); font-size: .8rem; font-weight: 600; margin-bottom: 20px; }
.role-list { display: grid; gap: 30px; }
.role { padding: 0; }
.role:first-child { padding-top: 0; }
.role:last-child { border-bottom: 0; padding-bottom: 0; }
.pilot-section { background: #eef4f7; }
.pilot-section .button { margin-top: 8px; }
.pilot-details { padding: 0; }
.pilot-details h3:not(:first-child) { margin-top: 28px; }
#contact { scroll-margin-top: 24px; }
#contact > .wrap {
  max-width: 860px; padding-top: 48px; padding-bottom: 56px;
  grid-template-columns: 1fr; gap: 24px;
}
#contact .section-heading { max-width: none; }
#contact h2 { margin-bottom: 12px; }
#contact .section-heading p { margin-bottom: 0; }
.contact-form {
  display: grid; gap: 20px; min-width: 0; padding: 24px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
.contact-message, .contact-form > p, .contact-form > noscript { grid-column: 1 / -1; }
.contact-field { display: grid; gap: 8px; }
.contact-field label { font-weight: 600; }
.contact-field label span { font-weight: 400; color: var(--muted); }
.contact-field input, .contact-field textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #aab8c3;
  border-radius: 8px; background: #fff; color: var(--ink); font: inherit;
}
.contact-field textarea { resize: vertical; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible {
  outline: 3px solid #7cc4ee; outline-offset: 3px; border-color: var(--water);
}
.contact-help, .contact-fallback { color: var(--muted); font-size: .95rem; margin: 0; }
.contact-form .button { justify-self: start; font: inherit; font-weight: 600; cursor: pointer; }
.contact-form .button:disabled { cursor: wait; opacity: .65; }
.contact-honeypot { display: none; }
.contact-status { margin: 0; color: var(--water); }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: #9b2929; }
@media (min-width: 600px) {
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form .button { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .section-layout { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .section-copy { padding-top: 36px; }
}

footer { background: #fff; }
footer .wrap { padding-top: 24px; padding-bottom: 32px; }
footer p { margin: 0; color: var(--muted); font-size: 0.95rem; }
footer a { color: var(--muted); }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; }
  .hero-inner { padding: 112px var(--gutter); }
  section > .wrap { padding-top: 88px; padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  #water { display: none; }
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* angle read-out drawn by hero.js */
.hero-hud {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em; color: rgba(223,245,255,.55); pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero-hud { display: none; } }

/* Open metric layout, with explicit sample-data disclosure. */
.stats-section { background: var(--water); color: #fff; border: 0; }
.stats-heading { margin-bottom: 48px; }
.stats-heading h2 { margin-bottom: 12px; }
.stats-note { color: #b7cfdd; font-size: .875rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; }
.stat { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stat dt { order: 2; color: #d7e6ef; font-size: 1rem; }
.stat dd { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat dd span { color: #83c5e3; font-size: .7em; }
@media (max-width: 599px) {
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .stat { gap: 10px; }
  .stat dd { font-size: 4.75rem; }
  .stats-heading { margin-bottom: 40px; }
}
