:root {
  --bg: #0b0a09;
  --bg-soft: #12110f;
  --gold: #c9b07a;
  --gold-bright: #e8d5b0;
  --gold-dim: #8a7550;
  --text: #f4eee6;
  --muted: #a3988a;
  --line: rgba(201, 176, 122, 0.22);
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(11, 10, 9, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__logo {
  height: 48px;
  width: auto;
}

.nav__menu {
  display: flex;
  gap: 36px;
}

.nav__menu a {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav__menu a:hover {
  color: var(--gold-bright);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.is-open .nav__toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 24px) 24px 96px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 176, 122, 0.16), transparent 68%);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -58%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  animation: rise 1.1s ease both;
}

.hero__logo {
  width: 220px;
  margin: 0 auto 8px;
  filter: drop-shadow(0 12px 36px rgba(201, 176, 122, 0.18));
}

.hero__en {
  margin: 0;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.62em;
  color: var(--gold);
}

.hero__rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto;
  opacity: 0.7;
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 46px);
  letter-spacing: 0.28em;
}

.hero__lead {
  margin: 0 auto 36px;
  max-width: 28em;
  color: var(--muted);
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  letter-spacing: 0.22em;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn--solid {
  background: var(--gold);
  color: var(--bg);
}

.btn--solid:hover {
  background: var(--gold-bright);
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold-dim);
  font-size: 11px;
  letter-spacing: 0.28em;
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 1.8s ease-in-out infinite;
}

.section {
  padding: 112px 0;
}

.section__en {
  margin: 0 0 10px;
  font-family: var(--font-en);
  letter-spacing: 0.46em;
  color: var(--gold);
  font-size: 13px;
}

.section__title {
  margin: 0 0 48px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.32em;
}

.story {
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(201, 176, 122, 0.04) 40%, transparent);
}

.story__quote {
  margin: 0 auto 32px;
  max-width: 36em;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 2;
  font-weight: 400;
  color: var(--text);
}

.story__note {
  margin: 0 auto;
  max-width: 32em;
  color: var(--muted);
  font-size: 15px;
}

.series__grid,
.philosophy__grid {
  display: grid;
  gap: 24px;
}

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

.card,
.pillar {
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.card {
  min-height: 320px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(201, 176, 122, 0.5);
  transform: translateY(-4px);
}

.card__index {
  margin: 0 0 28px;
  font-family: var(--font-en);
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 18px;
}

.card__title,
.pillar h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.28em;
}

.card__tag {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.card__desc,
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.philosophy__grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact {
  text-align: center;
  padding-bottom: 128px;
}

.contact__copy {
  margin: -16px auto 36px;
  color: var(--muted);
  max-width: 28em;
}

.contact__form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact__form input {
  width: min(360px, 100%);
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  letter-spacing: 0.08em;
  outline: none;
}

.contact__form input:focus {
  border-color: var(--gold);
}

.contact__form input::placeholder {
  color: #6f675c;
}

.contact__thanks {
  margin: 20px 0 0;
  color: var(--gold);
  letter-spacing: 0.16em;
}

.footer {
  padding: 48px 24px 56px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer__logo {
  width: 88px;
  margin: 0 auto 12px;
}

.footer__copy {
  margin: 8px 0 0;
  opacity: 0.7;
}

.footer__beian {
  margin: 10px 0 0;
  letter-spacing: 0.06em;
}

.footer__beian a {
  color: var(--muted);
  opacity: 0.85;
  transition: color 0.25s ease;
}

.footer__beian a:hover {
  color: var(--gold-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drip {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 800px) {
  .nav {
    padding: 0 20px;
  }

  .nav__toggle {
    display: block;
    z-index: 2;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(11, 10, 9, 0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav.is-open .nav__menu {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu a {
    font-size: 18px;
  }

  .hero__logo {
    width: 168px;
  }

  .hero__title {
    letter-spacing: 0.16em;
  }

  .series__grid,
  .philosophy__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .card,
  .pillar {
    padding: 32px 24px;
  }
}
