/* ===== Variables ===== */
:root {
  --brand: #967B44;
  --brand-dark: #7A6235;
  --brand-light: #B8956A;
  --brand-pale: #F5F0E8;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --text: #2C2416;
  --text-muted: #6B5E4E;
  --text-light: rgba(255, 255, 255, 0.85);
  --shadow: 0 4px 24px rgba(44, 36, 22, 0.08);
  --shadow-lg: 0 12px 48px rgba(44, 36, 22, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-cn: 'Noto Serif SC', 'Songti SC', serif;
  --font-cn-display: 'Ma Shan Zheng', 'KaiTi', cursive;
  --font-en: 'Outfit', 'Helvetica Neue', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cn);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

button, input, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ===== Utilities ===== */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 92vw);
  margin-inline: auto;
  padding: 1.25rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  transition: color var(--transition);
}

.site-header.scrolled .nav-logo {
  color: var(--brand);
}

.nav-logo-icon {
  width: 40px;
  height: 16px;
}

.nav-logo-text {
  font-family: var(--font-cn-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
}

.site-header.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.site-header.scrolled .nav-toggle span {
  background: var(--brand);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-dark);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 24, 16, 0.55) 0%,
    rgba(30, 24, 16, 0.45) 50%,
    rgba(30, 24, 16, 0.65) 100%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  animation: fadeUp 1s ease-out;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-roof {
  width: 160px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.hero-brand-cn {
  font-family: var(--font-cn-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-brand-en {
  font-family: var(--font-en);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.4em;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  opacity: 0.75;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0.6;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
  z-index: 2;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--white);
  color: var(--brand-dark);
}

.btn-primary:hover {
  background: var(--brand-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-cn);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text);
}

.section-header-light .section-title {
  color: var(--white);
}

.section-subtitle {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* ===== About ===== */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .lead {
  font-size: 1.1rem;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
  line-height: 2;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(150, 123, 68, 0.15);
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--brand-light);
  font-style: italic;
  min-width: 2rem;
}

.about-features strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.about-features p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.about-visual {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-card-accent {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-left: 2rem;
}

.about-card-accent blockquote {
  font-family: var(--font-cn);
  font-size: 1.05rem;
  color: var(--brand-dark);
  line-height: 2;
  font-style: normal;
}

/* ===== Menu ===== */
.menu {
  background: var(--brand-dark);
  color: var(--white);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 0.65rem 1.75rem;
  font-family: var(--font-cn);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.menu-tab:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.menu-tab.active {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--white);
}

.menu-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.menu-panel.active {
  display: block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.menu-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background var(--transition), transform var(--transition);
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.menu-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.menu-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.menu-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Space ===== */
.space {
  background: var(--brand-pale);
}

.space-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.space-item-large {
  grid-row: span 2;
}

.space-item {
  margin: 0;
}

.space-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.space-item-large .space-photo {
  aspect-ratio: 3/4;
}

.space-item:not(.space-item-large) .space-photo {
  aspect-ratio: 4/3;
}

.space-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.space-item:hover .space-photo img {
  transform: scale(1.03);
}

.space-item figcaption h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.space-item figcaption p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Hours ===== */
.hours {
  background: var(--cream);
  padding: 4rem 0;
}

.hours-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.hours-info h2 {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--brand-pale);
}

.hours-list dt {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hours-list dd {
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
}

.hours-divider {
  width: 1px;
  height: 120px;
  background: var(--brand-pale);
  flex-shrink: 0;
}

.hours-quote p {
  font-size: 1.1rem;
  color: var(--brand-dark);
  line-height: 2.2;
  font-style: italic;
  max-width: 320px;
}

/* ===== Contact ===== */
.contact {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
}

.contact-card {
  max-width: 720px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

.contact-block + .contact-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-block h3 {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.contact-block p {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

/* ===== Footer ===== */
.site-footer {
  background: #1E1810;
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-logo-cn {
  font-family: var(--font-cn-display);
  font-size: 1.5rem;
  color: var(--brand-light);
  letter-spacing: 0.15em;
}

.footer-logo-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-legal {
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
  color: var(--brand-light);
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid,
  .space-grid {
    grid-template-columns: 1fr;
  }

  .space-item-large {
    grid-row: auto;
  }

  .about-card-accent {
    margin-left: 0;
  }

  .hours-card {
    flex-direction: column;
    text-align: center;
  }

  .hours-divider {
    width: 80px;
    height: 1px;
  }

  .hours-list div {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70vw;
    max-width: 300px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text);
    font-size: 1rem;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 4rem 0;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }
}
