:root {
  --sky: #eef5ff;
  --cloud: #fbfdff;
  --blue: #2357d8;
  --deep: #102448;
  --red: #e84a3c;
  --mist: #b9cbed;
  --display: "FZKai-Z03", "KaiTi", "STKaiti", serif;
  --body: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  --utility: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--deep);
  background: var(--sky);
  font-family: var(--body);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(22px, 4vw, 48px) clamp(20px, 7vw, 100px);
  isolation: isolate;
  background:
    radial-gradient(circle at 64% 29%, rgba(255, 255, 255, 0.98) 0 9%, transparent 26%),
    linear-gradient(146deg, var(--cloud) 0%, var(--sky) 44%, #dce9ff 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(35, 87, 216, 0.18);
  border-radius: 50%;
  content: "";
}

.hero::before {
  width: 44vw;
  height: 44vw;
  right: -19vw;
  top: -18vw;
}

.hero::after {
  width: 22vw;
  height: 22vw;
  left: -12vw;
  bottom: 6vh;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.wordmark {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.edition {
  margin: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(800px, 79vw);
  margin-top: clamp(92px, 15vh, 170px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-family: var(--utility);
  font-size: clamp(0.62rem, 1.1vw, 0.78rem);
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.83;
}

h1 span {
  display: block;
}

h1 .takeoff {
  margin-left: clamp(48px, 15vw, 220px);
  color: var(--blue);
}

.lead {
  margin: clamp(30px, 6vh, 58px) 0 0 clamp(52px, 15vw, 224px);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 2.2rem);
  line-height: 1.65;
}

.flight {
  position: absolute;
  z-index: 1;
  width: min(42vw, 490px);
  height: min(67vh, 680px);
  right: clamp(-42px, 5vw, 84px);
  bottom: 3vh;
}

.flight-line {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flight-line path {
  fill: none;
  stroke: var(--mist);
  stroke-width: 2;
  stroke-dasharray: 3 11;
  stroke-linecap: round;
}

.plane {
  position: absolute;
  width: clamp(50px, 7vw, 84px);
  top: 0;
  right: 0;
  color: var(--red);
  filter: drop-shadow(0 12px 18px rgba(16, 36, 72, 0.16));
  animation: hover 4.6s ease-in-out infinite;
}

.plane path:first-child {
  fill: currentColor;
  stroke: currentColor;
}

.plane path:last-child {
  fill: none;
  stroke: var(--cloud);
  stroke-width: 2;
}

.coordinates {
  position: absolute;
  right: clamp(20px, 7vw, 100px);
  bottom: clamp(22px, 5vh, 50px);
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-family: var(--utility);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.coordinates span + span {
  padding-left: clamp(14px, 3vw, 34px);
  border-left: 1px solid var(--mist);
}

.scroll-cue {
  position: absolute;
  bottom: clamp(22px, 5vh, 50px);
  left: clamp(20px, 7vw, 100px);
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  text-decoration: none;
}

.manifesto {
  min-height: 86svh;
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(280px, 1.5fr);
  grid-template-rows: 1fr auto;
  gap: 40px clamp(30px, 8vw, 140px);
  padding: clamp(70px, 11vw, 150px) clamp(20px, 7vw, 100px) 32px;
  background: var(--deep);
  color: var(--sky);
}

.section-label {
  align-self: start;
  color: var(--mist);
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.section-label p {
  margin: 0 0 18px;
}

.section-label span {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(185, 203, 237, 0.35);
}

.manifesto-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.manifesto-copy > p {
  max-width: 32rem;
  margin: clamp(42px, 7vw, 76px) 0 0;
  color: var(--mist);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 2;
}

footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(185, 203, 237, 0.25);
  color: var(--mist);
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

footer p {
  margin: 0;
}

footer a {
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}

@keyframes hover {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-7deg); }
  50% { transform: translate3d(-8px, 12px, 0) rotate(-3deg); }
}

@media (max-width: 720px) {
  .edition {
    display: none;
  }

  .hero-copy {
    width: 100%;
    margin-top: 17vh;
  }

  h1 {
    font-size: clamp(4.7rem, 25vw, 8rem);
  }

  h1 .takeoff,
  .lead {
    margin-left: 13vw;
  }

  .flight {
    width: 58vw;
    height: 53vh;
    right: -22vw;
    opacity: 0.85;
  }

  .plane {
    right: 22vw;
  }

  .coordinates span:first-child,
  .coordinates span:last-child {
    display: none;
  }

  .coordinates span + span {
    padding-left: 0;
    border-left: 0;
  }

  .manifesto {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }

  .manifesto-copy h2 {
    font-size: clamp(4.4rem, 22vw, 7rem);
  }

  footer {
    font-size: 0.65rem;
  }
}

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

  .plane {
    animation: none;
  }
}
