:root { --ink: #102940; --ocean: #075679; --blue-dark: #0a3655; }
.header { background: white; color: #14344d; }
.nav-donate { background: var(--yellow); color: #16234e; border-radius: 2rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: #08283b; }
.hero-media, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-media { inset: 0 0 0 auto; width: 86%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero::after { content: ""; background: linear-gradient(90deg, #08283b 0%, #08283b 13%, #08283bed 24%, #08283b96 43%, #08283b20 67%, transparent 100%); }
.hero .wrap { min-height: clamp(32rem, 46vw, 42rem); display: grid; align-content: center; padding-block: 4rem 6.2rem; }
.hero .tag { color: #b6e6ff; margin-bottom: 1.15rem; }
.hero h1 { font-size: clamp(4rem, 7.65vw, 7.1rem); letter-spacing: -.082em; font-weight: 800; line-height: .88; }
.hero h1 span { display: block; }
.hero p:not(.tag) { margin-top: 1.55rem; font-size: clamp(1.08rem, 1.5vw, 1.27rem); max-width: 37ch; color: #f2f8ff; }
.hero .buttons { margin-top: 1.7rem; }
.btn { border-radius: 2rem; }
.btn.primary { background: var(--yellow); color: #122149; }
.btn.primary:hover { background: #f8ed92; }
.btn.outline { color: white; border: 1px solid #eff8ff; background: #08283b5e; }
.btn.outline:hover { background: white; color: var(--blue-dark); }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; margin-top: -2.5rem; background: #fff; border-radius: .8rem; box-shadow: 0 9px 40px #1e4e741c; }
.paths a { display: block; padding: 1.35rem clamp(1rem, 2.4vw, 2rem); text-decoration: none; }
.paths a + a { border-left: 1px solid #dbeafa; }
.paths strong { color: var(--ocean); display: block; font-size: 1.15rem; margin-bottom: .15rem; }
.paths a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.paths span { color: #324e60; }
.mission { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.75rem, 8vw, 7rem); }
.mission .tag, .stories .tag { color: var(--ocean); margin-bottom: .75rem; }
.mission h2, .stories h2, .give h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -.055em; }
.mission img { border-radius: .75rem; width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.mission p:not(.tag), .stories p:not(.tag), .give p:not(.tag) { margin: 1rem 0; max-width: 49ch; }
.stories { padding-block: 3rem; background: #eaf6ff; }
.stories .wrap { display: grid; grid-template-columns: .85fr 1fr; gap: 1rem 4rem; align-items: center; }
.give { background: var(--blue-dark); color: white; padding-block: 4.5rem; }
.give .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 3rem; }
.give .tag { color: #b6e6ff; margin-bottom: .5rem; }

@media (max-width: 900px) {
  .hero-media { width: 100%; object-position: 60% 34%; }
  .hero::after { background: linear-gradient(90deg, #08283bf7 0%, #08283bd1 30%, #08283b48 78%); }
}
@media (max-width: 700px) {
  .hero .wrap { min-height: 0; padding-block: 14.2rem 2.5rem; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 5.1rem); }
  .hero-media { height: 16.5rem; object-position: 50% 24%; }
  .hero::after { height: 16.5rem; background: linear-gradient(0deg, #08283b 0%, #08283bde 12%, #08283b38 38%, transparent 64%); }
  .paths { margin-top: 1rem; grid-template-columns: 1fr; }
  .paths a + a { border-left: none; border-top: 1px solid #dbeafa; }
  .mission, .stories .wrap { grid-template-columns: 1fr; }
}

.home-hero .hero-media { width: 74%; object-position: center 36%; }
.home-hero::after {
  background: linear-gradient(90deg, #08283b 0%, #08283b 24%, #08283beb 31%, #08283b68 47%, transparent 68%);
}
.home-hero h1 { font-size: clamp(3.55rem, 6.8vw, 6.9rem); }
.header .nav a[aria-current="page"] { color: var(--ocean); text-decoration: underline; text-underline-offset: .24em; }

.cruise-picture { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 80%; background: #196b9d; overflow: hidden; }
.cruise-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; }
.cruise-hero::after { background: linear-gradient(90deg, #08283b 10%, #08283b 22%, #08283bea 32%, #08283b72 47%, transparent 70%); }
.cruise-hero .wrap { padding-bottom: 4rem; }
.founder-portrait { width: min(100%, 390px); justify-self: center; }
.founder-portrait img { aspect-ratio: 4 / 4.45; object-position: center 28%; }
.mission-image { min-width: 0; }

@media (max-width: 900px) {
  .home-hero .hero-media { width: 87%; }
  .home-hero::after { background: linear-gradient(90deg, #08283b 10%, #08283bf2 23%, #08283b85 47%, transparent 74%); }
}
@media (max-width: 700px) {
  .home-hero .hero-media, .cruise-picture { width: 100%; height: 18rem; }
  .home-hero .hero-media { object-position: center 28%; }
  .cruise-picture img { object-position: center 50%; }
  .hero.home-hero .wrap, .hero.cruise-hero .wrap { padding: 15.8rem 0 2.6rem; }
  .home-hero::after, .cruise-hero::after {
    height: 18rem;
    background: linear-gradient(0deg, #08283b 0%, #08283bd2 19%, #08283b33 42%, transparent 67%);
  }
  .home-hero h1 { font-size: clamp(3rem, 11.5vw, 5.1rem); }
  .founder-portrait { width: min(75%, 290px); justify-self: start; }
}

@media (max-width: 430px) {
  .nav .nav-topic-extra { display: none; }
}

.nav-disclosure { position: relative; }
.nav-disclosure summary {
  display: flex;
  align-items: center;
  gap: .25em;
  min-height: 2.7rem;
  list-style: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
}
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-disclosure summary:hover { text-decoration: underline; text-underline-offset: .22em; }
.nav-chevron { width: .41rem; height: .41rem; border-right: 2px solid; border-bottom: 2px solid; margin: -.22rem 0 0 .15rem; transform: rotate(45deg); }
.nav-disclosure[open] .nav-chevron { margin-top: .19rem; transform: rotate(225deg); }
.nav-disclosure:not([open]) .nav-submenu { display: none; }
.nav-submenu {
  display: grid;
  position: absolute;
  top: calc(100% + .15rem);
  left: 0;
  z-index: 5;
  min-width: 9rem;
  padding: .25rem;
  border: 1px solid #bad0e2;
  border-radius: .45rem;
  background: white;
  box-shadow: 0 5px 20px #17384e24;
}
.nav-submenu a { padding: .2rem .7rem; border-radius: .2rem; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: #eef7ff; }
@media (max-width: 700px) {
  .nav-disclosure summary { font-size: .88rem; }
}
