:root {
  color-scheme: light;
  --text: #101d47;
  --muted: #5b6686;
  --blue: #3448dc;
  --blue-deep: #081f72;
  --blue-soft: #eef0ff;
  --surface: #f7f8fd;
  --line: #dce1f2;
  --white: #ffffff;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Roboto, Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 2px;
  transform: translateY(-160%);
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 94px;
}

.wordmark {
  display: block;
  width: 132px;
  height: 53px;
  overflow: hidden;
  border-radius: 0;
}

.wordmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.footer-wordmark {
  color: var(--blue-deep);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(1.6rem, 3vw, 3rem);
}

nav a,
.header-link,
.search-open {
  color: #485478;
  font-family: inherit;
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible,
.search-open:hover,
.search-open:focus-visible {
  color: var(--blue-deep);
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.55rem;
}

.header-link {
  padding: 0.72rem 1.1rem;
  background: var(--white);
  border: 1px solid #cdd4ec;
  border-radius: 0;
  cursor: pointer;
}

.search-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.8rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.search-open svg,
.search-field svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.hero {
  min-height: 680px;
  padding-bottom: 1rem;
}

.hero-carousel {
  position: relative;
  height: calc(100svh - 94px);
  min-height: 680px;
  max-height: 820px;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero-slides,
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  object-fit: cover;
  opacity: 1;
  filter: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 45%,
    rgba(0, 0, 0, 0.9) 62%,
    rgba(0, 0, 0, 0.34) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 45%,
    rgba(0, 0, 0, 0.9) 62%,
    rgba(0, 0, 0, 0.34) 82%,
    transparent 100%
  );
}

.hero-slide:nth-child(1) img {
  object-position: center 48%;
}

.hero-slide:nth-child(2) img {
  object-position: center 56%;
}

.hero-slide:nth-child(3) img {
  object-position: center 55%;
}

.hero-carousel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 66% 48% at 7% 105%,
    rgba(255, 255, 255, 0.17) 0%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0) 76%
  );
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(1040px, 86%);
  height: 100%;
  padding: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.35rem, 2.2vw, 2rem);
}

.hero-kicker {
  margin-bottom: 1.15rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content .hero-intro {
  color: var(--white);
  text-shadow: 0 2px 22px rgba(3, 17, 43, 0.36);
}

.hero-content h1 {
  max-width: 980px;
  font-size: clamp(3rem, 5vw, 5rem);
}

.section-title > p,
.approach-heading > p:first-child,
.pilot-copy > p:first-child,
.objective-copy > p,
.comparison-label {
  margin: 0 0 1.15rem;
  color: #5a668b;
  font-size: 0.88rem;
  font-weight: 500;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  max-width: 860px;
  margin-bottom: 1.7rem;
  font-size: clamp(3.1rem, 5.8vw, 5.5rem);
  letter-spacing: -0.052em;
}

h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.25rem, 4vw, 4rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

p {
  margin-top: 0;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #566588;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
}

.hero-dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--white);
}

.hero-count {
  min-width: 52px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.primary-action,
.secondary-action {
  align-self: flex-start;
  padding: 0.82rem 1.25rem;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.primary-action {
  color: var(--white);
  background: var(--blue-deep);
  border: 1px solid var(--blue-deep);
}

.secondary-action {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid #bccbd4;
  cursor: pointer;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: #051755;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  background: var(--white);
}

.hero-carousel .secondary-action {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--white);
}

.hero-carousel .secondary-action:hover,
.hero-carousel .secondary-action:focus-visible {
  color: var(--blue-deep);
  background: #eef2ff;
  border-color: #eef2ff;
}

.objective {
  position: relative;
  min-height: 720px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #e9ecec;
  border-radius: 0;
}

.objective img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.objective::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 36, 126, 0.25), rgba(7, 27, 105, 0.46));
}

.objective-copy {
  position: absolute;
  top: 51%;
  left: 50%;
  z-index: 1;
  width: min(620px, 72%);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 24px rgba(17, 39, 54, 0.52);
  transform: translate(-50%, -50%);
}

.objective-copy > p {
  color: var(--white);
}

.objective-copy h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}

.objective-copy span {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}

.problem,
.approach,
.principles,
.pilot {
  margin-top: 1rem;
  border-radius: 0;
}

.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4rem, 8vw, 7rem);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title h2,
.approach-heading h2,
.pilot-copy h2 {
  max-width: 690px;
}

.problem-copy {
  align-self: end;
  max-width: 620px;
  color: var(--muted);
}

.problem-copy .lead {
  margin-bottom: 1.4rem;
  color: #2d3b66;
  font-size: 1.22rem;
}

.friction {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.friction article {
  min-height: 225px;
  padding: clamp(1.7rem, 3vw, 2.6rem);
  background: transparent;
  border-radius: 0;
}

.friction article:nth-child(2) {
  background: transparent;
}

.friction article + article {
  border-left: 1px solid var(--line);
}

.friction p {
  max-width: 340px;
  color: var(--muted);
}

.approach {
  padding: clamp(4rem, 8vw, 7rem);
  background: var(--white);
}

.approach-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: clamp(3rem, 9vw, 9rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.approach-heading > p:first-child {
  grid-column: 1 / -1;
}

.approach-heading > p:last-child {
  align-self: end;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.comparison-card {
  min-height: 390px;
  padding: clamp(2rem, 4vw, 3.3rem);
  border-radius: 0;
}

.comparison-card.current {
  background: var(--white);
  border: 1px solid var(--line);
}

.comparison-card.future {
  color: var(--white);
  background: var(--blue-deep);
}

.comparison-card.future h3,
.comparison-card.future .comparison-label,
.comparison-card.future li {
  color: var(--white);
}

.comparison-card h3 {
  max-width: 480px;
  margin-bottom: 3rem;
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
}

.comparison-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comparison-card li {
  padding: 0.95rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(104, 123, 138, 0.24);
}

.comparison-card.future li {
  color: #dce6ec;
  border-color: rgba(255, 255, 255, 0.18);
}

.principles {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title.compact h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1.3fr;
  gap: 2rem;
  padding: 1.8rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.principle-list h3,
.principle-list p {
  margin-bottom: 0;
}

.principle-list p {
  color: var(--muted);
}

.pilot {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pilot-copy,
.safety {
  padding: clamp(2.5rem, 6vw, 5.5rem);
  border-radius: 0;
}

.pilot-copy {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pilot-copy > p:not(:first-child) {
  max-width: 720px;
  color: #557080;
  font-size: 1.08rem;
}

.pilot-copy .partner-note {
  margin-top: 2.2rem;
  margin-bottom: 0;
  padding-top: 1.6rem;
  border-top: 1px solid #cbd8e0;
}

.safety {
  color: var(--white);
  background: var(--blue-deep);
}

.safety h3,
.safety p {
  color: var(--white);
}

.safety p {
  color: #e3ebef;
}

.safety p:last-child {
  margin-bottom: 0;
}

.pilot-dialog,
.search-dialog {
  width: min(calc(100% - 2rem), 940px);
  max-height: min(88vh, 860px);
  padding: 0;
  color: var(--text);
  background: var(--white);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 28px 90px rgba(32, 55, 72, 0.24);
}

.pilot-dialog::backdrop,
.search-dialog::backdrop {
  background: rgba(24, 40, 52, 0.62);
  backdrop-filter: blur(3px);
}

.search-dialog {
  width: min(calc(100% - 2rem), 780px);
}

.search-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 5vw, 3.5rem) 1.5rem;
}

.search-header p {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.search-header h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.search-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #4e6272;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 clamp(1.5rem, 5vw, 3.5rem);
  padding: 0.95rem 1.1rem;
  color: #607483;
  background: #f0f4f6;
  border: 1px solid transparent;
  border-radius: 2px;
}

.search-field:focus-within {
  background: var(--white);
  border-color: #7892a5;
  box-shadow: 0 0 0 3px rgba(55, 90, 116, 0.12);
}

.search-field input {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
}

.search-field input::placeholder {
  color: #8797a3;
}

.search-results {
  padding: 1.2rem clamp(1.5rem, 5vw, 3.5rem) clamp(1.8rem, 4vw, 3rem);
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.search-result > span:first-child,
.search-result strong,
.search-result small {
  display: block;
}

.search-result strong {
  margin-bottom: 0.18rem;
  font-size: 0.96rem;
  font-weight: 500;
}

.search-result small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.search-result > span:last-child {
  color: #7890a0;
}

.search-empty {
  padding: 1rem 0 0.4rem;
  color: var(--muted);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 5vw, 3.5rem) 1.5rem;
}

.dialog-header > div > p,
.result-label {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.dialog-header h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.dialog-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #4e6272;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

#pilot-fit-form {
  padding: 0 clamp(1.5rem, 5vw, 3.5rem) clamp(1.8rem, 4vw, 3rem);
}

#pilot-fit-form fieldset {
  padding: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

#pilot-fit-form legend {
  width: 100%;
  margin-bottom: 1rem;
  color: #344c5d;
  font-size: 1rem;
  font-weight: 500;
}

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

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

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.choice-grid span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0.65rem 0.85rem;
  color: #506776;
  background: #f0f4f7;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: center;
}

.choice-grid input:checked + span {
  color: var(--blue-deep);
  background: #e3ecf2;
  border-color: #5f7e94;
}

.choice-grid input:focus-visible + span {
  outline: 3px solid rgba(55, 90, 116, 0.25);
  outline-offset: 2px;
}

.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.dialog-actions p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.dialog-actions button,
.result-reset {
  flex: 0 0 auto;
  padding: 0.85rem 1.2rem;
  color: var(--white);
  background: var(--blue-deep);
  border: 1px solid var(--blue-deep);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.pilot-result {
  padding: 1rem clamp(1.5rem, 5vw, 3.5rem) clamp(2.2rem, 5vw, 4rem);
}

.pilot-result h3 {
  max-width: 680px;
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.pilot-result > p:not(.result-label) {
  max-width: 690px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.04rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-block: 4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-wordmark {
  display: block;
  margin-bottom: 0.7rem;
}

footer p {
  margin-bottom: 0.35rem;
}

.footer-meta {
  text-align: right;
}

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

  nav {
    display: none;
  }

  .hero,
  .problem,
  .approach-heading,
  .principles,
  .pilot {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero,
  .hero-carousel {
    min-height: 590px;
  }

  .approach-heading > p:first-child {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .site-header {
    min-height: 78px;
  }

  .wordmark {
    width: 116px;
    height: 46px;
  }

  .header-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 0.15rem;
  }

  .search-open {
    padding: 0.6rem;
  }

  .search-open span {
    display: none;
  }

  .choice-grid,
  .institution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .dialog-actions button {
    width: 100%;
  }

  .hero-carousel,
  .objective,
  .problem,
  .approach,
  .principles,
  .pilot-copy,
  .safety {
    border-radius: 0;
  }

  .hero-carousel {
    height: calc(100svh - 78px);
    min-height: 650px;
  }

  .hero-carousel::after {
    background: radial-gradient(
      ellipse 105% 44% at 22% 104%,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 48%,
      rgba(255, 255, 255, 0) 74%
    );
  }

  .hero-content {
    width: 100%;
    padding: 1.6rem;
    padding-bottom: 1rem;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .hero-slide img {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 32%,
      rgba(0, 0, 0, 0.86) 50%,
      rgba(0, 0, 0, 0.24) 72%,
      transparent 94%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 32%,
      rgba(0, 0, 0, 0.86) 50%,
      rgba(0, 0, 0, 0.24) 72%,
      transparent 94%
    );
  }

  .hero-slide:nth-child(1) img {
    object-position: 63% center;
  }

  .hero-slide:nth-child(2) img {
    object-position: center;
  }

  .hero-slide:nth-child(3) img {
    object-position: center 52%;
  }

  .objective {
    min-height: 610px;
  }

  .objective img {
    object-position: center;
  }

  .objective-copy {
    top: 50%;
    width: 76%;
  }

  .objective-copy h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .objective-copy span {
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .friction,
  .comparison {
    grid-template-columns: 1fr;
  }

  .friction article {
    min-height: 190px;
  }

  .friction article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .comparison-card {
    min-height: 340px;
  }

  .principle-list article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
