:root {
  --beta-blue: #202070;
  --beta-blue-deep: #111044;
  --beta-blue-soft: #eef1ff;
  --forest: #1f6b57;
  --leaf: #94c83d;
  --sun: #f4b13d;
  --clay: #b7533a;
  --ink: #111827;
  --muted: #667085;
  --line: #d9deea;
  --paper: #f7f7f2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 16, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 10px;
  color: var(--beta-blue);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(17, 16, 68, 0.12);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(180px, 20vw, 270px);
  transition: width 0.25s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.45vw, 22px);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--beta-blue);
  border-radius: 999px;
}

.site-header:not(.is-scrolled) .nav-cta {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(17, 16, 68, 0.76), rgba(17, 16, 68, 0.2) 58%, rgba(17, 16, 68, 0.62)),
    url("./assets/hero.jpg") center 42% / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 74% 28%, rgba(148, 200, 61, 0.22), transparent 24%),
    linear-gradient(180deg, transparent 68%, var(--paper) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(880px, calc(100% - 36px));
  min-height: 96vh;
  margin: 0 auto;
  padding: 120px 0 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  color: var(--beta-blue-deep);
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--beta-blue);
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  font-weight: 900;
  border-radius: 999px;
}

.button-primary {
  color: var(--beta-blue-deep);
  background: var(--leaf);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.hero-stats {
  gap: 10px;
  margin-top: 40px;
}

.hero-stats span {
  min-width: 150px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-grid,
.section-heading,
.parents,
.expedition,
.growth-path,
.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section p {
  color: var(--muted);
  font-size: 18px;
}

.mission-panel {
  padding: clamp(28px, 4vw, 44px);
  color: var(--white);
  background: var(--beta-blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mission-panel span {
  color: var(--leaf);
  font-weight: 900;
}

.mission-panel p {
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.25;
}

.image-band {
  position: relative;
  min-height: clamp(660px, 68vh, 760px);
  overflow: hidden;
  background: var(--beta-blue-deep);
}

.image-band img {
  width: 100%;
  height: clamp(660px, 68vh, 760px);
  object-fit: cover;
  object-position: center 46%;
  opacity: 0.75;
}

.image-band-home img {
  object-position: center 52%;
}

.image-band-text {
  position: absolute;
  right: clamp(20px, 8vw, 110px);
  bottom: clamp(24px, 7vw, 90px);
  color: var(--white);
  font-size: clamp(34px, 6vw, 78px);
  font-weight: 950;
  line-height: 1.05;
}

.image-band-text p {
  margin: 0;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.model-card {
  min-height: 280px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.model-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.model-index {
  display: block;
  margin-bottom: 58px;
  color: var(--sun);
  font-size: 14px;
  font-weight: 950;
}

.path-copy {
  max-width: 620px;
}

.level-list,
.safety-list,
.join-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.level-list span,
.safety-list span,
.join-steps span {
  padding: 10px 14px;
  color: var(--beta-blue);
  font-weight: 850;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.map-preview {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.map-preview span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 11px 16px;
  color: var(--white);
  font-weight: 900;
  background: var(--beta-blue);
  border-radius: 999px;
}

.course-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.course-layout > img,
.day-grid img,
.expedition-gallery img,
.join-media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.course-layout > img {
  position: sticky;
  top: 96px;
  height: 680px;
  object-position: center 32%;
}

.course-list {
  display: grid;
  gap: 14px;
}

.course-list article {
  padding: 24px;
  background: var(--white);
  border-left: 6px solid var(--forest);
  border-radius: 8px;
}

.day-section {
  width: 100%;
  padding-inline: clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--beta-blue-deep);
}

.day-section h2,
.day-section .section-kicker {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
  color: var(--white);
}

.day-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 32px auto 0;
}

.day-grid img {
  height: 620px;
  object-position: center 48%;
}

.day-grid img.day-collage {
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
}

.day-timeline {
  display: grid;
  gap: 14px;
}

.day-timeline p {
  margin: 0;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.day-timeline strong {
  color: var(--leaf);
}

.expedition-gallery {
  display: block;
}

.expedition-gallery img {
  height: clamp(420px, 42vw, 560px);
  object-position: center 52%;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--clay);
  font-size: 18px;
  font-weight: 950;
}

.section-link,
.course-more {
  display: inline-flex;
  margin-top: 22px;
  color: var(--beta-blue);
  font-size: 17px;
  font-weight: 950;
}

.course-more {
  justify-content: center;
  padding: 16px 20px;
  color: var(--white);
  background: var(--beta-blue);
  border-radius: 8px;
}

.parents {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 8vw, 120px);
  background: var(--white);
}

.safety-list {
  align-content: center;
}

.safety-list span {
  color: var(--forest);
  background: #f0f7ed;
  border-color: #d7e8cf;
}

.join {
  align-items: stretch;
}

.join-media img {
  height: 100%;
  min-height: 640px;
  object-position: center 42%;
}

.join-copy {
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  gap: 18px;
  margin-top: 30px;
}

.contact-qr-grid {
  grid-template-columns: repeat(3, minmax(0, 150px));
}

.qr-grid figure {
  margin: 0;
  padding: 10px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-grid figcaption {
  margin-top: 8px;
  color: var(--beta-blue);
  font-weight: 900;
}

.site-footer {
  color: var(--white);
  background: var(--beta-blue-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.75fr) minmax(590px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(1460px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) 0 42px;
}

.footer-brand img {
  width: min(330px, 82vw);
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 380px;
  margin: 0 0 12px;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 18px;
  color: var(--leaf);
  font-size: 16px;
  line-height: 1.2;
}

.footer-links a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-qr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 16px;
}

.footer-qr figure {
  margin: 0;
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.footer-qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: var(--white);
  border-radius: 6px;
}

.footer-qr figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-company {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.58);
}

.map-dialog {
  width: min(920px, calc(100% - 28px));
  max-height: 88vh;
  padding: 0;
  overflow: auto;
  background: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-dialog::backdrop {
  background: rgba(17, 16, 68, 0.74);
}

.dialog-close {
  position: sticky;
  top: 10px;
  left: calc(100% - 54px);
  z-index: 2;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  background: var(--beta-blue);
  border: 0;
  border-radius: 50%;
}

.map-dialog img {
  width: 100%;
}

.page-hero {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  color: var(--white);
  background: var(--beta-blue-deep);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.72;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 68, 0.82), rgba(17, 16, 68, 0.25) 62%),
    linear-gradient(180deg, rgba(17, 16, 68, 0.15), rgba(17, 16, 68, 0.52));
  content: "";
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(960px, calc(100% - 36px));
  min-height: 74vh;
  margin: 0 auto;
  padding: 116px 0 72px;
}

.page-hero-copy h1 {
  max-width: 880px;
}

.page-hero-copy p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

.about-hero .page-hero-media {
  background-image: url("./assets/about.jpg");
  background-position: center 42%;
}

.growth-hero .page-hero-media {
  background-image: url("./assets/growth.jpg");
  background-position: center 42%;
}

.courses-hero .page-hero-media {
  background-image: url("./assets/course-3.jpg");
  background-position: center 45%;
}

.expedition-hero .page-hero-media {
  background-image: url("./assets/expedition-hero.jpg");
  background-position: center 54%;
}

.stories-hero .page-hero-media {
  background-image: url("./assets/story-hero.jpg");
  background-position: center 58%;
}

.parents-hero .page-hero-media {
  background-image: url("./assets/parents-2.jpg");
  background-position: center 48%;
}

.join-hero .page-hero-media {
  background-image: url("./assets/join.jpg");
  background-position: center 42%;
}

.page-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.page-section h2 {
  max-width: 780px;
}

.two-column,
.photo-text,
.map-section,
.parent-assurance,
.join-intro,
.join-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.article-copy p,
.page-section > p,
.photo-text p,
.parent-assurance p,
.join-intro p,
.join-contact p {
  color: var(--muted);
  font-size: 18px;
}

.meaning-grid,
.value-grid,
.feature-grid,
.level-detail-grid,
.course-system-grid,
.expedition-routes,
.story-columns,
.parent-records,
.faq-grid,
.join-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.meaning-grid article,
.value-grid article,
.feature-grid article,
.level-detail-grid article,
.course-system-grid article,
.expedition-routes article,
.story-columns article,
.parent-records article,
.faq-grid article,
.join-flow article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.meaning-grid span,
.level-detail-grid span,
.join-flow span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sun);
  font-size: 28px;
  font-weight: 950;
}

.wide-card {
  grid-column: span 1;
  color: var(--white);
  background: var(--beta-blue) !important;
}

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

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

.photo-text.reverse img {
  order: 2;
}

.photo-text > img,
.story-grid img,
.join-intro img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-text > img {
  height: 520px;
  object-position: center 42%;
}

.photo-text > img.growth-records-image {
  object-position: center 34%;
}

.map-section {
  align-items: start;
}

.course-system-grid,
.expedition-routes,
.level-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-system-grid article:first-child,
.expedition-routes article:first-child {
  border-left: 6px solid var(--leaf);
}

.process-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 0;
}

.process-strip span {
  padding: 16px 20px;
  color: var(--beta-blue);
  font-weight: 950;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

.story-grid article {
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-grid img {
  height: 390px;
  border-radius: 0;
  box-shadow: none;
  object-position: center 44%;
}

.story-grid div {
  padding: 26px;
}

.parent-assurance {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 8vw, 120px);
  background: var(--white);
}

.join-intro {
  align-items: center;
}

.join-intro img {
  width: 100%;
  height: clamp(540px, 58vw, 720px);
  justify-self: center;
  object-position: center 36%;
}

.join-contact {
  padding: clamp(44px, 7vw, 80px);
  background: var(--beta-blue);
  border-radius: 8px;
}

.join-contact h2,
.join-contact p {
  color: var(--white);
}

.page-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(72px, 9vw, 112px) 18px;
  color: var(--white);
  text-align: center;
  background: var(--beta-blue);
}

.page-cta h2,
.page-cta p {
  margin: 0;
  color: var(--white);
}

@media (max-width: 1120px) {
  .nav-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
  }

  .site-header.is-scrolled .nav-toggle,
  .site-header.is-open .nav-toggle {
    background: var(--beta-blue-soft);
    border-color: var(--line);
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    display: grid;
    align-content: center;
    width: min(360px, 86vw);
    height: 100vh;
    padding: 88px 34px 34px;
    color: var(--beta-blue);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(104%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .section-grid,
  .section-heading,
  .parents,
  .expedition,
  .growth-path,
  .join,
  .course-layout,
  .day-grid,
  .two-column,
  .photo-text,
  .map-section,
  .parent-assurance,
  .join-intro,
  .join-contact {
    grid-template-columns: 1fr;
  }

  .model-grid,
  .meaning-grid,
  .value-grid,
  .feature-grid,
  .level-detail-grid,
  .course-system-grid,
  .expedition-routes,
  .story-columns,
  .parent-records,
  .faq-grid,
  .join-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-layout > img {
    position: static;
    height: 430px;
  }

  .day-grid img,
  .join-media img,
  .photo-text > img {
    height: 440px;
    min-height: 0;
  }

  .photo-text.reverse img {
    order: 0;
  }

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

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

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand img {
    width: 172px;
  }

  .hero-content {
    align-items: flex-start;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-stats span,
  .button {
    width: 100%;
  }

  .model-grid,
  .meaning-grid,
  .value-grid,
  .feature-grid,
  .level-detail-grid,
  .course-system-grid,
  .expedition-routes,
  .story-columns,
  .parent-records,
  .faq-grid,
  .join-flow {
    grid-template-columns: 1fr;
  }

  .image-band,
  .image-band img {
    min-height: 420px;
    height: 420px;
  }

  .image-band-text {
    left: 20px;
    right: 20px;
  }

  .expedition-gallery img,
  .course-layout > img,
  .day-grid img,
  .photo-text > img,
  .story-grid img {
    height: 340px;
  }

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

  .footer-links,
  .footer-qr {
    grid-template-columns: 1fr;
  }

  .footer-qr {
    max-width: 240px;
  }

  .page-hero,
  .page-hero-copy {
    min-height: 68vh;
  }

  .page-hero-copy {
    padding-top: 108px;
  }

  .join-contact {
    padding: 34px 18px;
  }
}
