*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --canvas: #f6f4f1;
  --canvas-alt: #efeae3;
  --ink: #171311;
  --ink-soft: #6a625a;
  --line: #ddd4c8;
  --wine: #6e2f3a;
  --wine-deep: #53232c;
  --wine-soft: #f1e2e4;
  --sand: #c9b39a;
  --hero-text: #f8f4ef;
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--canvas) 0%, #faf8f5 45%, var(--canvas-alt) 100%);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--wine);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ink);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(246, 244, 241, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(246, 244, 241, 0.96);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-en {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.logo-zh {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 9px 16px;
  background: var(--ink);
  color: var(--canvas) !important;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--wine);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.45rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 90px;
  overflow: hidden;
  color: var(--hero-text);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?auto=format&fit=crop&w=2000&q=80")
    center 40% / cover no-repeat;
  animation: heroPan 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(23, 19, 17, 0.88) 0%, rgba(23, 19, 17, 0.55) 55%, rgba(110, 47, 58, 0.4) 100%),
    linear-gradient(180deg, rgba(23, 19, 17, 0.2) 0%, rgba(23, 19, 17, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  animation: fadeUp 0.85s ease both;
}

.hero-brand-zh {
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  color: rgba(248, 244, 239, 0.75);
  margin-bottom: 26px;
  animation: fadeUp 0.85s ease 0.08s both;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeUp 0.85s ease 0.16s both;
}

.hero h1 em {
  font-style: italic;
  color: #e4c3c8;
}

.hero-desc {
  max-width: 520px;
  font-size: 1.08rem;
  color: rgba(248, 244, 239, 0.86);
  margin-bottom: 32px;
  animation: fadeUp 0.85s ease 0.26s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.85s ease 0.36s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPan {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(1.5%, -1%, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--wine);
  color: #fff;
}

.btn-primary:hover {
  background: var(--wine-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--hero-text);
  border-color: rgba(248, 244, 239, 0.5);
}

.btn-secondary:hover {
  background: rgba(248, 244, 239, 0.1);
  color: #fff;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--ink-soft);
  font-size: 1.04rem;
  max-width: 580px;
  margin-bottom: 48px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: 40px 72px;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* ---------- Offerings ---------- */
.offerings-section {
  background:
    linear-gradient(180deg, rgba(110, 47, 58, 0.04), transparent 30%),
    var(--canvas-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.offering {
  padding: 32px 28px 32px 0;
  border-top: 1px solid var(--line);
}

.offering:nth-child(odd) {
  padding-right: 36px;
  border-right: 1px solid var(--line);
}

.offering:nth-child(even) {
  padding-left: 36px;
}

.offering:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.offering-index {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--wine);
  margin-bottom: 12px;
}

.offering h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.offering p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 420px;
}

/* ---------- Contact ---------- */
.contact-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.contact-cell {
  padding-top: 28px;
}

.contact-cell h3 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 12px;
}

.contact-cell p,
.contact-cell address {
  font-style: normal;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.muted {
  color: var(--ink-soft) !important;
  margin-top: 4px;
}

.contact-mail {
  display: inline-block;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
}

.contact-mail:hover {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-zh {
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

.footer-copy,
.footer a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--ink);
}

/* ---------- Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-board,
  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .offering,
  .offering:nth-child(odd),
  .offering:nth-child(even) {
    padding: 28px 0;
    border-right: none;
  }

  .offering:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .offering:last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    padding: 10px 28px 16px;
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 92vh;
    padding: 120px 0 70px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo-zh {
    display: none;
  }
}
