:root {
  --primary-color: #1a1a1a;
  --secondary-color: #2d2d2d;
  --accent-color: #e8e8e8;
  --text-light: #ffffff;
  --text-muted: rgba(255,255,255,0.6);
  --text-dark: #333333;
  --text-gray: #666666;
  --moss: #6b7c5e;
  --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Serif SC', 'Songti SC', serif;
  background: #000;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--text-light);
  opacity: 0;
  transition: opacity 1s ease-out;
}

.header.scrolled .nav-logo {
  opacity: 1;
}
.nav-logo-img { filter: brightness(0) invert(1); opacity: 0.9; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  opacity: 0;
  transition: opacity 1s ease-out;
}

.header.scrolled .nav-menu {
  opacity: 1;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--text-light);
  transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease-out;
}
.header.scrolled .menu-toggle {
  opacity: 1;
}
.menu-toggle span {
  width: 25px; height: 1px;
  background: var(--text-light);
  transition: var(--transition);
}

/* ===== HERO — V1.1 10s Opening ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

/* --- Mountain Color Layer (bottom - original colors) --- */
.mountain-color {
  position: absolute;
  inset: 0;
  background: url('../assets/hero-bg.jpg') center / cover no-repeat;
  opacity: 0;
  animation: mountainColorReveal 2.5s ease-in-out 6s forwards;
}

/* --- Mountain B&W Layer (top - fades out when color arrives) --- */
.mountain-bw {
  position: absolute;
  inset: 0;
  background: url('../assets/hero-bg.jpg') center / cover no-repeat;
  filter: grayscale(1);
  opacity: 0;
  animation: mountainBWReveal 3s ease-in-out 3s forwards, mountainBWFadeOut 2.5s ease-in-out 6s forwards;
}

/* --- Fog Layers: fog floats around mountain peaks, not the pot --- */
.fog-container {
  position: absolute;
  bottom: 25%;
  left: 0;
  width: 100%;
  height: 45%;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}

.fog {
  position: absolute;
  width: 400%;
  height: 100%;
  will-change: transform;
}

.fog-1 {
  background:
    radial-gradient(ellipse 25% 50% at 20% 50%, rgba(230,235,240,0.22) 0%, rgba(230,235,240,0.1) 40%, transparent 70%),
    radial-gradient(ellipse 18% 40% at 45% 60%, rgba(230,235,240,0.18) 0%, rgba(230,235,240,0.08) 45%, transparent 70%);
  bottom: 10%;
  left: -100%;
  opacity: 0;
  animation: fogAppear 3s ease-out 1s forwards, fogDrift1 18s ease-in-out 1s infinite;
}

.fog-2 {
  background:
    radial-gradient(ellipse 22% 45% at 65% 45%, rgba(220,225,230,0.2) 0%, rgba(220,225,230,0.09) 45%, transparent 72%),
    radial-gradient(ellipse 15% 35% at 80% 55%, rgba(220,225,230,0.16) 0%, rgba(220,225,230,0.07) 50%, transparent 75%);
  bottom: 15%;
  left: -150%;
  opacity: 0;
  animation: fogAppear 3.5s ease-out 1.5s forwards, fogDrift2 22s ease-in-out 1.5s infinite;
}

.fog-3 {
  background:
    radial-gradient(ellipse 30% 55% at 35% 65%, rgba(235,240,245,0.18) 0%, rgba(235,240,245,0.08) 40%, transparent 70%);
  bottom: 5%;
  left: -80%;
  opacity: 0;
  animation: fogAppear 3s ease-out 1.5s forwards, fogDrift3 20s ease-in-out 1.5s infinite;
}

/* --- Mist tendrils at mountain slopes --- */
.mist-tendril {
  position: absolute;
  width: 100px;
  height: 150px;
  background: linear-gradient(to top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  border-radius: 50%;
  filter: blur(15px);
}

.mist-tendril-1 {
  left: 28%;
  bottom: 38%;
  opacity: 0;
  animation: tendril1 35s ease-in-out 3s infinite;
}

.mist-tendril-2 {
  left: 48%;
  bottom: 42%;
  opacity: 0;
  animation: tendril2 40s ease-in-out 3.5s infinite;
}

.mist-tendril-3 {
  right: 25%;
  bottom: 35%;
  opacity: 0;
  animation: tendril3 38s ease-in-out 3s infinite;
}

/* ===== KEYFRAMES — Mountain & Color ===== */

/* 3-6s: B&W mountain gradually emerges from darkness (with fog) */
@keyframes mountainBWReveal {
  0%   { opacity: 0; }
  20%  { opacity: 0.1; }
  40%  { opacity: 0.28; }
  60%  { opacity: 0.5; }
  80%  { opacity: 0.7; }
  100% { opacity: 0.8; }
}

/* 6-8.5s: B&W fades OUT completely, revealing original colors */
@keyframes mountainBWFadeOut {
  0%   { opacity: 0.8; }
  30%  { opacity: 0.65; }
  60%  { opacity: 0.4; }
  100% { opacity: 0; }
}

/* 6-8.5s: Original color image fades in to full opacity */
@keyframes mountainColorReveal {
  0%   { opacity: 0; }
  30%  { opacity: 0.25; }
  60%  { opacity: 0.55; }
  100% { opacity: 1; }
}

/* ===== KEYFRAMES — Fog — large visible movement ===== */
@keyframes fogAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Fog drifts horizontally back and forth across the valley */
@keyframes fogDrift1 {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(30%); }
  100% { transform: translateX(0); }
}
@keyframes fogDrift2 {
  0%   { transform: translateX(15%); }
  50%  { transform: translateX(-20%); }
  100% { transform: translateX(15%); }
}
@keyframes fogDrift3 {
  0%   { transform: translateX(-10%); }
  50%  { transform: translateX(25%); }
  100% { transform: translateX(-10%); }
}

/* ===== KEYFRAMES — Mist Tendrils ===== */
@keyframes tendril1 {
  0%, 100% { opacity: 0; transform: translateY(0) scaleY(1); }
  20%      { opacity: 0.4; }
  30%      { opacity: 0.6; }
  40%      { opacity: 0.4; }
  50%      { opacity: 0; }
  60%      { opacity: 0.3; }
  70%      { opacity: 0.5; }
  80%      { opacity: 0.3; }
  90%      { opacity: 0; }
}
@keyframes tendril2 {
  0%, 100% { opacity: 0; transform: translateY(0) scaleY(1); }
  15%      { opacity: 0.3; }
  25%      { opacity: 0.5; }
  35%      { opacity: 0.3; }
  45%      { opacity: 0; }
  55%      { opacity: 0.4; }
  65%      { opacity: 0.6; }
  75%      { opacity: 0.4; }
  85%      { opacity: 0; }
}
@keyframes tendril3 {
  0%, 100% { opacity: 0; transform: translateY(0) scaleY(1); }
  10%      { opacity: 0.2; }
  20%      { opacity: 0.4; }
  30%      { opacity: 0.2; }
  40%      { opacity: 0; }
  50%      { opacity: 0.5; }
  60%      { opacity: 0.7; }
  70%      { opacity: 0.5; }
  80%      { opacity: 0; }
}

/* ===== Hero Content ===== */
.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* --- 7-8s: logo2 "~" wave mist forming --- */
.reveal-wave {
  opacity: 0;
  animation: gentleFadeIn 1.5s ease-out 7s forwards;
}

.wave-mask {
  width: 260px;
  height: 80px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.wave-fill {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: scaleX(0);
  transform-origin: center;
  animation: waveForm 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 7s forwards;
}

@keyframes waveForm {
  0%   { transform: scaleX(0); opacity: 0; }
  40%  { opacity: 0.6; }
  100% { transform: scaleX(1); opacity: 1; }
}

/* --- 8-9s: logo1 ROUZHEN + ~ --- */
.reveal-logo {
  opacity: 0;
  animation: gentleFadeIn 1.2s ease-out 8s forwards;
}

.logo1-img {
  width: 300px;
  max-width: 80vw;
  filter: brightness(0) invert(1);
}

/* --- Slogan + scroll indicator bound together --- */
.hero-bottom {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 15;
  width: 100%;
}

/* --- 9-10s: slogan --- */
.hero-slogan {
  opacity: 0;
  text-align: center;
  animation: sloganFadeIn 1s ease-out 9s forwards;
  margin-bottom: -35mm; /* move slogan down 35mm closer to stick */
}

.slogan-img {
  width: 448px;
  max-width: 90vw;
  filter: brightness(0) invert(1);
  display: block;
  line-height: 0;
}

@keyframes sloganFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes gentleFadeIn {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
  opacity: 0;
  animation: fadeInLate 1s ease-out 10s forwards, bounce 2s 10s infinite;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 30px;
  background: var(--text-muted);
}

@keyframes fadeInLate {
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== SECTIONS ===== */
.section-header { text-align: center; margin-bottom: 80px; }
.section-title { font-size: 32px; font-weight: 400; letter-spacing: 6px; margin-bottom: 15px; }
.section-subtitle { font-size: 14px; color: var(--text-gray); letter-spacing: 4px; }

/* ===== Philosophy ===== */
.philosophy { padding: 140px 0; background: #ffffff; }
.philosophy-intro {
  max-width: 600px;
  margin: 0 auto 80px;
  text-align: center;
}
.philosophy-intro p {
  font-size: 17px;
  color: var(--text-gray);
  line-height: 2.4;
  letter-spacing: 0.5px;
}
.philosophy-intro-tag {
  margin-top: 24px;
  color: var(--primary-color);
  font-size: 14px;
  letter-spacing: 2px;
  font-style: italic;
}
.philosophy-text { max-width: 640px; margin: 0 auto; text-align: center; }
.philosophy-text p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 2.4;
  letter-spacing: 0.5px;
}
.philosophy-emphasis {
  font-size: 20px;
  color: var(--primary-color);
  font-style: italic;
  margin: 10px 0;
  letter-spacing: 1px;
}

/* ===== Story ===== */
.story { padding: 140px 0; background: #f7f6f3; }
.story-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-text p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 2.2;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.story-emphasis {
  font-size: 18px;
  color: var(--primary-color);
  font-style: italic;
  margin: 16px 0 !important;
  letter-spacing: 1px;
}
.story-image { display: flex; flex-direction: column; gap: 20px; }
.story-image-1 {
  height: 340px;
  background-image: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=morning%20mist%20over%20mountain%20valley%20calm%20zen%20nature%20photography%20muted%20green%20grey%20tones%20serene&image_size=landscape_4_3');
  background-size: cover;
  background-position: center;
}
.story-image-2 {
  height: 220px;
  margin-left: 60px;
  background-image: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=close%20up%20green%20moss%20on%20stone%20macro%20zen%20nature%20calm%20muted%20tones%20soft%20light&image_size=landscape_4_3');
  background-size: cover;
  background-position: center;
}

/* ===== Values ===== */
.values { padding: 140px 0; background: #ffffff; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.value-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid #ececea;
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--moss);
  transform: translateY(-6px);
}
.value-number {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: var(--moss);
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.value-name {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 14px;
  color: var(--primary-color);
}
.value-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ===== Collections ===== */
.collections { padding: 140px 0; background: #f7f6f3; }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.collection-card {
  background: #ffffff;
  overflow: hidden;
  transition: var(--transition);
}
.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.collection-image {
  height: 360px;
  background-size: cover;
  background-position: center;
}
.collection-image-cloud {
  background-image: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=morning%20mist%20cloud%20floating%20through%20mountain%20valley%20serene%20zen%20minimal%20soft%20grey%20white%20atmosphere&image_size=landscape_4_3');
}
.collection-image-moss {
  background-image: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=living%20green%20moss%20micro%20landscape%20tiny%20ecosystem%20zen%20terrarium%20soft%20natural%20light%20calm&image_size=landscape_4_3');
}
.collection-image-stone {
  background-image: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=natural%20stone%20rock%20miniature%20mountain%20minimalist%20zen%20still%20life%20muted%20earth%20tones%20timeless&image_size=landscape_4_3');
}
.collection-info { padding: 30px; }
.collection-name {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--primary-color);
}
.collection-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.9;
}

/* ===== Lab ===== */
.lab { padding: 140px 0; background: #ffffff; }
.lab-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.lab-text p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 2.2;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.lab-emphasis {
  font-size: 18px;
  color: var(--primary-color);
  font-style: italic;
  margin-top: 16px !important;
  letter-spacing: 1px;
}
.lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
}
.lab-tag {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--moss);
  color: var(--moss);
  font-size: 13px;
  letter-spacing: 2px;
  transition: var(--transition);
}
.lab-tag:hover {
  background: var(--moss);
  color: #fff;
}

/* ===== Contact ===== */
.contact { padding: 140px 0; background: #f7f6f3; }
.text-center { text-align: center; }
.contact-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 70px;
}
.contact-intro p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 2.2;
  letter-spacing: 0.5px;
}
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 20px;
  background: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}
.contact-channel:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.channel-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--moss);
  text-transform: uppercase;
}
.channel-value {
  font-size: 15px;
  color: var(--primary-color);
  letter-spacing: 1px;
}

/* ===== Footer ===== */
.footer { padding: 60px 0 30px; background: var(--primary-color); color: var(--text-light); }

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo { display: flex; align-items: center; }
.footer-logo-img { filter: brightness(0) invert(1); opacity: 0.8; }

.footer-links { display: flex; gap: 30px; }
.footer-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 13px; letter-spacing: 2px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--text-light); }

.footer-social { display: flex; gap: 20px; }
.social-link { color: var(--text-muted); transition: var(--transition); }
.social-link:hover { color: var(--text-light); }

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-copyright p { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 70px; left: -100%;
    width: 100%; height: calc(100vh - 70px);
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 30px;
    transition: var(--transition);
  }
  .nav-menu.active { left: 0; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

  .wave-mask { width: 200px; height: 60px; }
  .logo1-img { width: 240px; }
  .slogan-img { width: 220px; }

  .story-content { grid-template-columns: 1fr; gap: 40px; }
  .story-image-2 { margin-left: 0; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .collections-grid { grid-template-columns: 1fr; }
  .lab-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-channels { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 30px; }
}

@media (max-width: 600px) {
  .navbar { padding: 15px 20px; }

  .wave-mask { width: 180px; height: 50px; }
  .logo1-img { width: 200px; }
  .slogan-img { width: 360px; max-width: 90vw; }

  .philosophy, .story, .values, .collections, .lab, .contact { padding: 80px 0; }
  .section-title { font-size: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .collection-image { height: 280px; }
  .story-image-1 { height: 240px; }
  .story-image-2 { height: 180px; }
  .hero-intro p { font-size: 13px; }
}

/* Landscape phone: show full layout when rotated */
@media screen and (orientation: landscape) and (max-width: 900px) {
  .hero {
    height: 100vh;
    height: 100svh;
  }
  .logo1-img { width: 280px; max-width: 60vw; }
  .slogan-img { width: 400px; max-width: 80vw; }
}