:root {
  --ink: #14261e;
  --ink-soft: #3a5246;
  --muted: #6a7f74;
  --sky: #e7f3f8;
  --sky-deep: #c5e0ec;
  --canopy: #1e4d3a;
  --leaf: #2f7a58;
  --leaf-soft: #d8efe4;
  --route: #1a8fb5;
  --line: rgba(20, 38, 30, 0.1);
  --white: #ffffff;
  --max: 1100px;
  --display: "Songti SC", "STSong", "SimSun", "PingFang SC", "Microsoft YaHei", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sky);
  line-height: 1.75;
  min-height: 100vh;
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

@keyframes fly-dash {
  to { stroke-dashoffset: -120; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sway {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Header */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 26px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.28em;
  color: var(--canopy);
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.nav a:hover { color: var(--route); }

/* Hero — sky + canopy + flight path */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 180px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 70% 15%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(180deg, #f3f9fc 0%, var(--sky) 45%, var(--sky-deep) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 143, 181, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 143, 181, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 75%);
  pointer-events: none;
}

.flight-path {
  position: absolute;
  inset: 18% 8% auto 35%;
  height: 180px;
  pointer-events: none;
}

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

.flight-path path {
  fill: none;
  stroke: var(--route);
  stroke-width: 2;
  stroke-dasharray: 10 12;
  opacity: 0.55;
  animation: fly-dash 6s linear infinite;
}

.flight-path circle {
  fill: var(--route);
}

.canopy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  pointer-events: none;
}

.canopy i {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent var(--canopy) transparent;
  animation: sway 7s ease-in-out infinite;
}

.canopy .t1 { left: -2%; border-width: 0 70px 150px 70px; opacity: 0.95; }
.canopy .t2 { left: 10%; border-width: 0 90px 180px 90px; background: none; border-color: transparent transparent #163d2e transparent; animation-delay: 0.4s; }
.canopy .t3 { left: 24%; border-width: 0 60px 130px 60px; border-color: transparent transparent var(--leaf) transparent; animation-delay: 0.8s; }
.canopy .t4 { left: 36%; border-width: 0 100px 190px 100px; border-color: transparent transparent var(--canopy) transparent; animation-delay: 0.2s; }
.canopy .t5 { left: 52%; border-width: 0 75px 155px 75px; border-color: transparent transparent #245c45 transparent; animation-delay: 1s; }
.canopy .t6 { left: 64%; border-width: 0 88px 170px 88px; border-color: transparent transparent var(--canopy) transparent; animation-delay: 0.5s; }
.canopy .t7 { left: 78%; border-width: 0 65px 140px 65px; border-color: transparent transparent var(--leaf) transparent; animation-delay: 0.7s; }
.canopy .t8 { left: 88%; border-width: 0 95px 185px 95px; border-color: transparent transparent #163d2e transparent; animation-delay: 0.3s; }

.canopy-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: var(--canopy);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(52px, 10vw, 96px);
  letter-spacing: 0.2em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--canopy);
}

.hero h1 {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: var(--ink);
}

.hero-lead {
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-block;
  padding: 13px 28px;
  background: var(--canopy);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.14em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-cta:hover {
  background: var(--leaf);
  transform: translateY(-2px);
}

/* Shared */
section { padding: 92px 0; }

.kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--route);
}

.sec-head {
  max-width: 560px;
  margin-bottom: 44px;
}

.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.5vw, 42px);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.sec-head p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Compass / about */
.compass {
  background: var(--white);
}

.compass-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.compass-dial {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--canopy);
  background:
    radial-gradient(circle at center, var(--leaf-soft) 0 28%, transparent 29%),
    repeating-conic-gradient(from 0deg, rgba(30, 122, 88, 0.12) 0 2deg, transparent 2deg 15deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-dial::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 42%;
  top: 12%;
  background: linear-gradient(180deg, var(--route), var(--canopy));
  transform-origin: bottom center;
  border-radius: 2px;
  animation: sway 5s ease-in-out infinite;
}

.compass-dial strong {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--canopy);
  background: var(--white);
  padding: 8px 10px;
}

.compass-copy p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 18px;
}

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

.compass-copy b {
  color: var(--ink);
  font-weight: 600;
}

/* Routes / services */
.routes {
  background: var(--leaf-soft);
}

.route-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  position: relative;
}

.route-map::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--route) 0 8px,
    transparent 8px 16px
  );
  opacity: 0.35;
}

.route-card {
  position: relative;
  padding: 8px 0 24px 36px;
}

.route-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--route);
}

.route-card:nth-child(even) {
  margin-top: 36px;
}

.route-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.route-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Voyage / process */
.voyage {
  background: var(--canopy);
  color: var(--white);
}

.voyage .kicker { color: #8fd0b0; }

.voyage .sec-head p { color: rgba(255, 255, 255, 0.65); }

.voyage-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.voyage-step {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 3px solid #8fd0b0;
}

.voyage-step .n {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #8fd0b0;
  margin-bottom: 16px;
}

.voyage-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.voyage-step p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* Rules */
.rules {
  background: var(--white);
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rule-item h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: var(--canopy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--leaf-soft);
}

.rule-item p {
  color: var(--ink-soft);
  font-size: 14px;
}

/* Contact */
.contact {
  background: var(--sky);
  padding-bottom: 76px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  padding: 40px 44px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(30, 77, 58, 0.06);
}

.contact-panel h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  color: var(--canopy);
}

.contact-panel > div > p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 30em;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-left: 28px;
  border-left: 2px dashed rgba(26, 143, 181, 0.35);
}

.contact-meta span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-meta strong {
  font-size: 16px;
  font-weight: 600;
}

/* Footer */
footer {
  padding: 26px 0 38px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

footer a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

footer a:hover { color: #8fd0b0; }

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

  .hero {
    min-height: auto;
    padding: 110px 0 150px;
  }

  .flight-path { display: none; }

  .compass-layout,
  .route-map,
  .voyage-steps,
  .rule-list,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .route-map::before { display: none; }

  .route-card:nth-child(even) { margin-top: 0; }

  .compass-dial {
    width: min(220px, 70vw);
    margin: 0 auto;
  }

  .contact-panel { padding: 32px 24px; }

  .contact-meta {
    padding-left: 0;
    padding-top: 8px;
    border-left: 0;
    border-top: 2px dashed rgba(26, 143, 181, 0.35);
  }

  section { padding: 72px 0; }
}
