:root {
  --ink: #f6fbff;
  --muted: #a8b8c8;
  --muted-strong: #c4d2df;
  --blue: #57b5ff;
  --blue-light: #b9e2ff;
  --navy-950: #020b13;
  --navy-900: #051522;
  --navy-850: #0a2234;
  --line: rgba(255, 255, 255, 0.13);
  --glass: rgba(7, 24, 39, 0.62);
  --glass-light: rgba(255, 255, 255, 0.075);
  --page: min(1180px, calc(100% - 40px));
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -12%, rgba(66, 150, 218, 0.23), transparent 34rem),
    linear-gradient(180deg, #071a2b 0%, var(--navy-950) 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  color: #02101b;
  background: var(--blue-light);
}

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: var(--page);
  margin: 0 auto;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.sky-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 16%, rgba(130, 197, 247, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(142, 202, 246, 0.045), transparent 58%);
}

.sky-grain {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cloud {
  position: absolute;
  width: 540px;
  height: 210px;
  opacity: 0.22;
  filter: blur(13px);
  will-change: transform;
}

.cloud span,
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(236, 247, 255, 0.75);
  box-shadow:
    74px 10px 62px rgba(237, 248, 255, 0.55),
    172px -25px 70px rgba(224, 242, 255, 0.52),
    288px 10px 78px rgba(222, 241, 255, 0.46),
    396px 38px 72px rgba(214, 237, 255, 0.35);
}

.cloud span {
  left: 40px;
  bottom: 36px;
  width: 410px;
  height: 96px;
}

.cloud::before {
  left: 105px;
  bottom: 60px;
  width: 150px;
  height: 132px;
}

.cloud::after {
  left: 258px;
  bottom: 48px;
  width: 184px;
  height: 150px;
}

.cloud-one {
  top: 3%;
  left: -12%;
  transform: scale(1.15);
}

.cloud-two {
  top: 26%;
  right: -17%;
  opacity: 0.16;
  transform: scale(0.88);
}

.cloud-three {
  top: 52%;
  left: -8%;
  opacity: 0.12;
  transform: scale(1.35);
}

.cloud-four {
  top: 72%;
  right: -10%;
  opacity: 0.14;
  transform: scale(1.1);
}

.cloud-five {
  top: 92%;
  left: 22%;
  opacity: 0.10;
  transform: scale(0.82);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 40;
  padding-top: 16px;
}

.nav-shell {
  position: relative;
  width: var(--page);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.brand img {
  width: 48px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.075);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
}

.menu-line {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] .menu-line:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-line:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  min-height: 84svh;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 115px 0 82px;
}

.hero-inner {
  width: min(940px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.hero h1,
.page-intro h1,
.contact-panel h1 {
  margin: 0;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(4rem, 11vw, 9rem);
}

.hero p {
  width: min(720px, 100%);
  margin: 28px auto 0;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 690;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
}

.button-primary {
  color: #02101b;
  background: linear-gradient(180deg, #c7e8ff 0%, #69baff 100%);
  border-color: rgba(255, 255, 255, 0.32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 54px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.5), transparent);
}

.section {
  position: relative;
  padding: 118px 0;
}

.section-border {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading > p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 104px);
  align-items: start;
}

.creator-visual {
  position: sticky;
  top: 116px;
}

.creator-visual h3 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.045);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 11, 19, 0.48));
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story {
  color: #d8e4ee;
  font-size: 1.06rem;
  line-height: 1.84;
}

.story p {
  margin: 0 0 1.35em;
}

.story p:first-child {
  color: var(--ink);
  font-size: 1.28rem;
}

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

.mission-item {
  min-height: 220px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.mission-item:last-child {
  border-right: 0;
}

.mission-number {
  color: var(--blue-light);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.mission-item h3 {
  margin: 70px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.mission-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.destination-grid,
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.destination-card,
.community-card,
.contact-panel {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.destination-card,
.community-card {
  position: relative;
  min-height: 268px;
  padding: 28px;
  border-radius: 25px;
  transition: transform 200ms ease, background 200ms ease;
}

.destination-card:hover,
.community-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
}

.card-label {
  color: var(--blue-light);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.destination-card h3,
.community-card h2 {
  margin: 62px 0 12px;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.destination-card p,
.community-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-arrow {
  position: absolute;
  right: 24px;
  top: 24px;
  color: var(--blue-light);
  font-size: 1.25rem;
}

.page-intro {
  padding: 155px 0 78px;
}

.page-intro h1 {
  max-width: 940px;
  font-size: clamp(3.8rem, 9vw, 7.8rem);
}

.page-intro > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: 1.16rem;
  line-height: 1.72;
}

.community-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 118px;
}

.community-card {
  min-height: 300px;
}

.community-card h2 {
  margin-top: 76px;
}

.contact-wrap {
  min-height: 70svh;
  display: grid;
  place-items: center;
  padding: 125px 0 96px;
}

.contact-panel {
  width: min(900px, 100%);
  padding: clamp(42px, 8vw, 88px);
  text-align: center;
  border-radius: 32px;
}

.contact-panel h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
}

.contact-panel > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.email-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--blue-light);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 730;
  letter-spacing: -0.025em;
}

.not-found {
  min-height: 72svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0 80px;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.not-found p {
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 34px 0 42px;
  text-align: center;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 24px, 1180px);
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5, 20, 33, 0.96);
    box-shadow: 0 22px 60px rgba(0,0,0,.36);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

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

  .nav-links a {
    padding: 13px 14px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .creator-visual {
    position: static;
    max-width: 520px;
  }

  .mission-list {
    grid-template-columns: 1fr 1fr;
  }

  .mission-item:nth-child(2) {
    border-right: 0;
  }

  .mission-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

  .destination-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-brand,
  .copyright {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .brand span {
    display: none;
  }

  .hero {
    min-height: 78svh;
    padding-top: 88px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 19vw, 5.5rem);
  }

  .section {
    padding: 88px 0;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mission-list,
  .destination-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .mission-item,
  .mission-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mission-item:last-child {
    border-bottom: 0;
  }

  .destination-card:last-child {
    grid-column: auto;
  }

  .page-intro {
    padding-top: 118px;
  }

  .cloud {
    width: 380px;
    transform: scale(.78);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
