/* ============================================================
   YeHaoJia — Homepage Stylesheet
   DARK warm theme · AMBER #F59E0B accent on near-black #101014
   ============================================================ */

:root {
  --bg: #101014;
  --surface: #1C1917;
  --surface-2: #26211B;
  --surface-3: #2E2821;
  --text: #F3EEE4;
  --text-soft: #C9C0B2;
  --text-muted: #9C9486;
  --amber: #F59E0B;
  --amber-deep: #D97706;
  --amber-light: #FDE68A;
  --border: #3A332B;
  --border-soft: #2A251F;
  --moon-glow: #FBBF24;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  background-color: #101014;
  color: #F3EEE4;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #F3EEE4;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: #C9C0B2;
}

a {
  color: #FDE68A;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   LANTERN NAVIGATION
   ============================================================ */
.lantern-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #1C1917;
  border-bottom: 1px solid #3A332B;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #F3EEE4;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #F3EEE4;
  white-space: nowrap;
}

/* The paper lantern */
.lantern {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
}

.lantern-cord {
  width: 2px;
  height: 8px;
  background-color: #9C9486;
}

.lantern-cap {
  width: 20px;
  height: 5px;
  background-color: #D97706;
}

.lantern-cap-top {
  clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
}

.lantern-cap-bottom {
  clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%);
}

.lantern-body {
  width: 18px;
  height: 24px;
  background-color: #F59E0B;
  border-radius: 9px;
  box-shadow: 0 0 14px #F59E0B;
}

.lantern-tassel {
  width: 2px;
  height: 11px;
  background-color: #FDE68A;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-link {
  color: #C9C0B2;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #FDE68A;
  border-bottom-color: #F59E0B;
}

.lantern-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D97706;
  box-shadow: 0 0 6px #D97706;
}

.nav-cta {
  background-color: #F59E0B;
  color: #1C1917;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background-color: #FDE68A;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.toggle-bar {
  width: 24px;
  height: 2px;
  background-color: #F3EEE4;
  border-radius: 2px;
}

/* ============================================================
   MOON-HILL HERO
   ============================================================ */
.moon-hill-hero {
  position: relative;
  background-color: #101014;
  background-image:
    radial-gradient(1200px 500px at 80% -10%, #2A2010 0%, #101014 60%),
    linear-gradient(#101014, #101014);
  padding: 90px 0 110px;
  border-bottom: 1px solid #2A251F;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FDE68A;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 520px;
  color: #C9C0B2;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-primary {
  background-color: #F59E0B;
  color: #1C1917;
}

.btn-primary:hover {
  background-color: #FDE68A;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: #FDE68A;
  border: 1px solid #D97706;
}

.btn-ghost:hover {
  background-color: #26211B;
  transform: translateY(-2px);
}

/* Moon-hill scene */
.moon-hill-scene {
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(#1A1712 0%, #16140F 45%, #101014 100%);
  border: 1px solid #2A251F;
}

.moon {
  position: absolute;
  top: 48px;
  right: 60px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: #FBBF24;
  box-shadow: 0 0 40px #F59E0B, 0 0 90px #D97706;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #FDE68A;
  box-shadow: 0 0 6px #FDE68A;
}

.star-1 { top: 60px; left: 40px; }
.star-2 { top: 120px; left: 140px; width: 3px; height: 3px; }
.star-3 { top: 40px; left: 210px; width: 3px; height: 3px; }
.star-4 { top: 150px; left: 70px; }
.star-5 { top: 90px; right: 200px; width: 3px; height: 3px; }
.star-6 { top: 30px; right: 90px; }

.mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.mountain-back {
  height: 62%;
  background-color: #26211B;
  clip-path: polygon(0 55%, 14% 30%, 28% 48%, 44% 12%, 62% 45%, 78% 26%, 100% 52%, 100% 100%, 0 100%);
}

.mountain-mid {
  height: 48%;
  background-color: #1C1917;
  clip-path: polygon(0 70%, 20% 40%, 40% 68%, 60% 24%, 82% 60%, 100% 38%, 100% 100%, 0 100%);
}

.mountain-front {
  height: 34%;
  background-color: #14120E;
  clip-path: polygon(0 80%, 30% 45%, 55% 78%, 75% 50%, 100% 78%, 100% 100%, 0 100%);
}

/* ============================================================
   STATEMENT ROW
   ============================================================ */
.statement-row {
  background-color: #1C1917;
  padding: 84px 0;
  border-bottom: 1px solid #2A251F;
  text-align: center;
}

.statement-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.35;
  color: #F3EEE4;
  max-width: 820px;
  margin: 0 auto 22px;
}

.statement-lead::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background-color: #F59E0B;
  margin: 0 auto 24px;
}

.statement-sub {
  max-width: 660px;
  margin: 0 auto;
  color: #C9C0B2;
  font-size: 1.05rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background-color: #1C1917;
  padding: 90px 0;
  border-bottom: 1px solid #2A251F;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background-color: #16140F;
  border: 1px solid #2A251F;
  border-radius: 12px;
  padding: 32px 30px;
  position: relative;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #F59E0B;
}

.service-num {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: #F59E0B;
  border: 1px solid #D97706;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #FDE68A;
}

.service-card p {
  margin: 0 0 18px;
}

.service-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-size: 0.78rem;
  color: #C9C0B2;
  background-color: #26211B;
  border: 1px solid #3A332B;
  border-radius: 20px;
  padding: 4px 12px;
}

/* ============================================================
   STAT COLUMNS
   ============================================================ */
.stat-columns {
  background-color: #101014;
  padding: 84px 0;
  border-bottom: 1px solid #2A251F;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat {
  background-color: #1C1917;
  border: 1px solid #2A251F;
  border-top: 3px solid #F59E0B;
  border-radius: 10px;
  padding: 30px 24px;
}

.stat-num {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #F59E0B;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-weight: 700;
  color: #F3EEE4;
  margin-bottom: 6px;
}

.stat-note {
  display: block;
  font-size: 0.9rem;
  color: #9C9486;
}

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
.section-heading {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D97706;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-lede {
  font-size: 1.05rem;
  color: #9C9486;
}

/* ============================================================
   NUMBERED DELIVERY PROCESS
   ============================================================ */
.process-section {
  background-color: #16140F;
  padding: 90px 0;
  border-bottom: 1px solid #2A251F;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background-color: #3A332B;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 20px 0;
}

.process-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #F59E0B;
  color: #1C1917;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px #101014, 0 0 0 7px #3A332B;
}

.process-card {
  background-color: #1C1917;
  border: 1px solid #2A251F;
  border-radius: 10px;
  padding: 24px 28px;
}

.process-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #FDE68A;
}

.process-card p {
  margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background-color: #101014;
  padding: 90px 0;
  border-bottom: 1px solid #2A251F;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.about-copy .section-title {
  margin-bottom: 20px;
}

.about-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.about-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #C9C0B2;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D97706;
}

.about-panel {
  position: relative;
  background-color: #1C1917;
  border: 1px solid #2A251F;
  border-radius: 12px;
  padding: 40px 34px;
}

.about-ornament {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #F59E0B;
  box-shadow: 0 0 20px #F59E0B;
  margin-bottom: 22px;
}

.about-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #F3EEE4;
  margin-bottom: 14px;
}

.about-quote-by {
  color: #9C9486;
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-section {
  background-color: #16140F;
  padding: 90px 0;
  border-bottom: 1px solid #2A251F;
}

.compare-table {
  border: 1px solid #3A332B;
  border-radius: 12px;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.compare-head {
  background-color: #26211B;
}

.compare-head .compare-cell {
  font-weight: 700;
  color: #F3EEE4;
  padding: 18px 22px;
}

.compare-col-a {
  background-color: #221E1A;
}

.compare-col-b {
  background-color: #2A241C;
  border-left: 2px solid #F59E0B;
}

.compare-row .compare-cell {
  padding: 16px 22px;
  border-top: 1px solid #2A251F;
  font-size: 0.95rem;
  color: #C9C0B2;
}

.compare-label-cell {
  font-weight: 700;
  color: #F3EEE4 !important;
  background-color: #1C1917;
}

.compare-col-b {
  color: #FDE68A !important;
}

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.testimonial-section {
  background-color: #101014;
  padding: 90px 0;
  border-bottom: 1px solid #2A251F;
}

.testimonial-slider {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.ts-track {
  display: flex;
  overflow: hidden;
  border-radius: 12px;
}

.ts-slide {
  flex: 0 0 100%;
  min-width: 100%;
  background-color: #1C1917;
  border: 1px solid #2A251F;
  border-radius: 12px;
  padding: 40px 44px;
  margin: 0;
  transition: transform 0.4s ease;
}

.ts-slide blockquote {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: #F3EEE4;
}

.ts-slide figcaption {
  display: flex;
  flex-direction: column;
}

.ts-name {
  font-weight: 700;
  color: #F59E0B;
}

.ts-role {
  color: #9C9486;
  font-size: 0.9rem;
}

.ts-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}

.ts-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #1C1917;
  border: 1px solid #3A332B;
  color: #FDE68A;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ts-btn:hover {
  background-color: #26211B;
}

.ts-dots {
  display: flex;
  gap: 8px;
}

.ts-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3A332B;
  border: none;
  cursor: pointer;
  padding: 0;
}

.ts-dot.active {
  background-color: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background-color: #1C1917;
  padding: 76px 0;
  border-bottom: 1px solid #2A251F;
}

.cta-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-text {
  margin: 0;
  max-width: 560px;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.cta-phone {
  color: #FDE68A;
  font-weight: 600;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  background-color: #16140F;
  padding: 90px 0;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: #F3EEE4;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: #1C1917;
  border: 1px solid #3A332B;
  border-radius: 8px;
  color: #F3EEE4;
  padding: 13px 16px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9C9486;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #F59E0B;
}

.form-status {
  margin-top: 16px;
  font-weight: 600;
  color: #FDE68A;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #101014;
  padding-top: 48px;
  padding-bottom: 24px;
}

.footer-rule {
  height: 3px;
  background: linear-gradient(90deg, #F59E0B, #D97706);
  margin-bottom: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-wordmark {
  margin-bottom: 16px;
}

.footer-tagline {
  color: #9C9486;
  font-size: 0.95rem;
  max-width: 260px;
}

.footer-heading {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  color: #C9C0B2;
  font-size: 0.95rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #FDE68A;
}

.footer-bottom {
  border-top: 1px solid #2A251F;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #9C9486;
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .moon-hill-scene {
    height: 320px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

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

  .about-grid,
  .cta-split {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background-color: #1C1917;
    border-bottom: 1px solid #3A332B;
    padding: 16px 24px;
    margin: 0;
  }

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

  .nav-link {
    padding: 10px 0;
  }

  .lantern-dot {
    display: none;
  }

  .nav-cta {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .compare-head,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-col-b {
    border-left: none;
    border-top: 2px solid #F59E0B;
  }

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

  .statement-lead {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }
}
