:root {
  --bg: #f6f0df;
  --bg-strong: #ead9ac;
  --surface: rgba(255, 252, 245, 0.78);
  --surface-strong: #fffaf0;
  --text: #1f1a12;
  --muted: #70624a;
  --line: rgba(84, 62, 19, 0.12);
  --accent: #c79a2b;
  --accent-deep: #8f6a13;
  --shadow: 0 24px 60px rgba(88, 66, 21, 0.12);
  --radius: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 177, 76, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 32%),
    linear-gradient(180deg, #f8f4e8 0%, #f2ead7 48%, #f8f2e4 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  animation: ambientShift 18s ease-in-out infinite alternate;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 96px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 106, 19, 0.18), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.topbar.is-scrolled {
  background: rgba(248, 242, 228, 0.72);
  box-shadow: 0 10px 30px rgba(88, 66, 21, 0.08);
}

.topbar.is-scrolled::after {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  max-width: min(420px, 70vw);
}

.brand-mark {
  flex: 0 0 auto;
  width: 58px;
  height: 82px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(1.02) contrast(1.04);
  box-shadow: 0 10px 24px rgba(88, 66, 21, 0.1);
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.2;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-deep);
}

main section {
  margin-top: 32px;
}

.hero,
.overview,
.mentors,
.faq,
.contact {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero::before,
.overview::before,
.mentors::before,
.faq::before,
.contact::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -12%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 177, 76, 0.13), transparent 68%);
  pointer-events: none;
  animation: glowFloat 12s ease-in-out infinite;
}

.hero {
  margin-top: 16px;
  padding-top: 48px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 230, 184, 0.72)),
    var(--surface);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.hero-main {
  position: relative;
  z-index: 1;
}

.hero-intro {
  margin: 18px 0 0;
  color: var(--accent-deep);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.eyebrow,
.section-heading span,
.contact-tag,
.panel-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1,
.section-heading h2,
.contact h2 {
  margin: 14px 0 0;
  line-height: 1.15;
  font-size: clamp(2rem, 4.4vw, 4.7rem);
  font-weight: 600;
}

.hero-copy,
.contact p,
.card p,
.feature p,
.mentor-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
}

.hero-aside {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(143, 106, 19, 0.14);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.78), rgba(247, 237, 207, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-aside::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(143, 106, 19, 0.08);
  border-radius: 18px;
  pointer-events: none;
}

.hero-aside-stack {
  display: grid;
  gap: 16px;
}

.hero-aside-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 251, 242, 0.82);
  border: 1px solid rgba(143, 106, 19, 0.12);
}

.hero-aside-card strong,
.module-meta strong {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.hero-aside-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-aside-primary {
  background: linear-gradient(180deg, rgba(245, 226, 170, 0.44), rgba(255, 251, 242, 0.92));
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-2px);
}

.button-primary,
.floating-cta {
  background: var(--accent);
  color: #fffdf8;
  box-shadow: 0 12px 32px rgba(199, 154, 43, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible,
.floating-cta:hover,
.floating-cta:focus-visible {
  box-shadow: 0 18px 40px rgba(199, 154, 43, 0.32);
}

.button-secondary {
  border: 1px solid rgba(143, 106, 19, 0.22);
  background: rgba(255, 250, 240, 0.7);
}

.hero-panel,
.grid {
  display: grid;
  gap: 18px;
}

.hero-panel {
  margin-top: 24px;
  width: 100%;
  max-width: 760px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hero-panel > div,
.card,
.feature,
.mentor-card,
.qr-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(143, 106, 19, 0.12);
  background: rgba(255, 252, 247, 0.8);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-panel > div:hover,
.card:hover,
.feature:hover,
.mentor-card:hover,
.qr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 106, 19, 0.22);
  box-shadow: 0 18px 38px rgba(88, 66, 21, 0.11);
}

.hero-panel strong,
.card h3,
.feature h3,
.mentor-card h3,
.qr-card p,
.contact-meta strong {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.hero-panel > div {
  min-height: auto;
  padding: 10px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(143, 106, 19, 0.08);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(250, 244, 231, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  display: block;
}

.hero-panel .panel-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.hero-panel strong {
  margin-top: 6px;
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 10px;
  margin-top: 10px;
  justify-content: start;
}

.hero-summary-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(143, 106, 19, 0.1);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(248, 241, 224, 0.88));
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 6px 16px rgba(88, 66, 21, 0.04);
}

.section-heading h2,
.contact h2 {
  font-size: clamp(1.8rem, 3.1vw, 3rem);
}

.section-heading {
  max-width: 760px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.compact-grid {
  margin-top: 18px;
}

.module-grid {
  align-items: start;
}

.module-card {
  height: 100%;
}

.module-meta {
  margin-bottom: 16px;
}

.module-card .bullet-list {
  margin-top: 16px;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.feature-highlight {
  background:
    linear-gradient(180deg, rgba(244, 223, 158, 0.4), rgba(255, 250, 240, 0.82));
}

.mentor-focus {
  color: var(--accent-deep);
  font-size: 0.95rem;
}

.mentor-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border: 1px dashed rgba(143, 106, 19, 0.3);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(244, 223, 158, 0.28), rgba(255, 252, 247, 0.94));
  color: var(--accent-deep);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  position: relative;
  overflow: hidden;
}

.mentor-photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.45) 48%, transparent 76%);
  transform: translateX(-130%);
  animation: shimmer 3.8s ease-in-out infinite;
}

.list-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.faq-item {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(143, 106, 19, 0.12);
  background: rgba(255, 252, 247, 0.84);
}

.faq-item h3 {
  margin: 16px 0 10px;
  font-size: 1.05rem;
}

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

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.inline-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-deep);
  font-weight: 600;
}

.contact {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.contact-meta span {
  font-size: 13px;
  color: var(--muted);
}

.contact-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 249, 231, 0.88);
}

.contact-note p {
  margin: 0;
}

.qr-card img {
  border-radius: 18px;
  transition: transform 320ms ease, filter 320ms ease;
}

.qr-card:hover img {
  transform: scale(1.02);
  filter: saturate(1.04);
}

.qr-card p {
  margin-bottom: 0;
  text-align: center;
}

.footer {
  padding: 26px 0 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  animation: ctaPulse 3.2s ease-in-out infinite;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  transition-delay: var(--stagger-delay, 0ms);
}

.reveal.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.hero.reveal .eyebrow,
.hero.reveal .hero-intro,
.hero.reveal h1,
.hero.reveal .hero-copy,
.hero.reveal .hero-aside,
.hero.reveal .hero-panel {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero.reveal.is-visible .eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 80ms;
}

.hero.reveal.is-visible .hero-intro {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.hero.reveal.is-visible h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 200ms;
}

.hero.reveal.is-visible .hero-copy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 280ms;
}

.hero.reveal.is-visible .hero-aside {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 360ms;
}

.hero.reveal.is-visible .hero-panel {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 440ms;
}

@keyframes ambientShift {
  from {
    background-position: 0% 0%, 100% 0%, 50% 0%;
  }

  to {
    background-position: 4% 2%, 96% 2%, 50% 100%;
  }
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.9;
  }

  50% {
    transform: translate3d(14px, 12px, 0) scale(1.08);
    opacity: 0.55;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-130%);
  }

  55%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .floating-cta,
  .hero::before,
  .overview::before,
  .mentors::before,
  .faq::before,
  .contact::before,
  .mentor-photo-placeholder::after {
    animation: none;
  }

  .button,
  .hero-panel > div,
  .card,
  .feature,
  .mentor-card,
  .qr-card,
  .qr-card img,
  .reveal,
  .stagger-item,
  .hero.reveal .eyebrow,
  .hero.reveal h1,
  .hero.reveal .hero-copy,
  .hero.reveal .hero-panel,
  .topbar {
    transition: none;
  }
}

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

  .hero-panel,
  .three-up,
  .split,
  .faq-list,
  .contact,
  .contact-meta {
    grid-template-columns: 1fr;
  }

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

  .hero,
  .overview,
  .mentors,
  .faq,
  .contact {
    padding: 24px;
  }

  .hero-panel {
    max-width: none;
  }

  .hero-summary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-summary-list span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    padding: 14px 0;
  }

  .brand {
    gap: 12px;
    max-width: 78vw;
  }

  .brand-mark {
    width: 50px;
    height: 70px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy span {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: 32px;
  }

  .hero h1,
  .section-heading h2,
  .contact h2 {
    font-size: 2rem;
  }

  .hero-copy,
  .hero-intro,
  .contact p,
  .card p,
  .feature p,
  .mentor-card p,
  .list-card ul {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .hero-aside {
    padding: 14px;
  }

  .hero-panel > div {
    padding: 12px 12px 10px;
  }

  .hero-summary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-summary-list span {
    min-height: 40px;
    justify-content: center;
    padding: 8px 10px;
    text-align: center;
    white-space: normal;
    font-size: 0.84rem;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
  }
}
