
:root {
  --espresso: #3D1C08;
  --roast:    #5A2E12;
  --crema:    #C8A882;
  --oat:      #F0EAE0;
  --chalk:    #FDFAF6;
  --moss:     #3D5A3E;
  --sand:     #8C6B4A;
  --muted:    #7A6150;
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--chalk);
  color: var(--espresso);
  font-size: 16px;
  line-height: 1.7;
}

/* ── LANGUAGE SWITCHING ── */
body.lang-zh .en { display: none !important; }
body.lang-en .zh { display: none !important; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,250,246,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61,28,8,0.08);
  height: 68px;
  display: flex; align-items: center;
  padding: 0 3rem;
  gap: 2.5rem;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex; gap: 2rem;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--espresso); }
.nav-links a.active {
  border-bottom: 2px solid var(--crema);
  padding-bottom: 2px;
}
.lang-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: none;
  border: 1px solid rgba(61,28,8,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { background: var(--espresso); color: var(--chalk); border-color: var(--espresso); }

/* ── PAGE WRAPPER ── */
.page-body { padding-top: 68px; }

/* ── SECTION HELPERS ── */
.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--sand); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-dark  { background: var(--espresso); color: var(--chalk); }
.btn-dark:hover { background: var(--roast); }
.btn-outline { border: 1px solid var(--crema); color: var(--crema); }
.btn-outline:hover { background: var(--crema); color: var(--espresso); }
.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

/* ── FOOTER ── */
footer {
  background: var(--espresso);
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo img { height: 32px; width: auto; filter: brightness(0) invert(1) opacity(0.85); margin-bottom: 0.75rem; }
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(245,239,230,0.45);
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crema);
  margin-bottom: 1rem;
}
.footer-col a,
.footer-col p {
  font-size: 0.82rem;
  color: rgba(245,239,230,0.5);
  text-decoration: none;
  display: block;
  line-height: 2;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--chalk); }
.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 0.9rem 4rem;
  font-size: 0.7rem;
  color: rgba(245,239,230,0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-1 { opacity: 0; animation: fadeUp 0.8s 0.15s forwards; }
.anim-2 { opacity: 0; animation: fadeUp 0.8s 0.35s forwards; }
.anim-3 { opacity: 0; animation: fadeUp 0.8s 0.55s forwards; }
.anim-4 { opacity: 0; animation: fadeUp 0.8s 0.75s forwards; }

/* ── HAMBURGER TOGGLE ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--espresso);
  transition: all 0.2s;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 1.25rem; gap: 1rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: rgba(253,250,246,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(61,28,8,0.1);
    padding: 0.5rem 1.25rem 1rem;
    flex-direction: column;
    gap: 0;
    z-index: 99;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(61,28,8,0.06);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { font-size: 0.85rem; }
  .lang-btn { margin-left: 0; }
  footer { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; gap: 2rem; }
  .footer-bottom { padding: 0.9rem 1.5rem; flex-direction: column; gap: 0.3rem; text-align: center; }
}
