:root {
  --black: #0b0b0a;
  --black-soft: #12110f;
  --paper: #f7f3ec;
  --ink: #15130f;
  --muted: #756f66;
  --gold: #bd9251;
  --gold-light: #e2bd7a;
  --red: #a91f17;
  --line: rgba(189, 146, 81, .55);
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --ui: "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: min(88vw, 1320px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--black); font-family: var(--serif); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 100px; display: flex; align-items: center; justify-content: space-between; padding: 0 3.2vw; color: #f1ede6; border-bottom: 1px solid rgba(210, 170, 103, .22); background: rgba(10, 10, 9, .82); backdrop-filter: blur(14px); transition: height .25s ease; }
.site-header.compact { height: 72px; }
.brand { color: var(--gold-light); font-size: clamp(1.1rem, 1.6vw, 1.55rem); letter-spacing: .035em; }
.site-nav { display: flex; height: 100%; align-items: center; gap: clamp(2rem, 5vw, 5rem); font-family: var(--ui); }
.site-nav a { position: relative; display: grid; align-items: center; height: 100%; font-size: 1rem; letter-spacing: .08em; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: var(--red); transform: translateX(-50%); transition: width .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { width: 2.5rem; }
.menu-button { display: none; border: 0; padding: .5rem; background: transparent; color: white; }

.hero { position: relative; min-height: 900px; height: 100svh; padding: 100px 5.3vw 0; display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; overflow: hidden; color: #f1eee8; background: radial-gradient(circle at 72% 40%, #211c14 0, #11100e 35%, #090909 75%); border-bottom: 2px solid var(--gold); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 4vh; }
.hero h1 { width: 125%; margin: 0; font-size: clamp(3rem, 4.4vw, 4.6rem); font-weight: 500; line-height: 1.35; letter-spacing: .025em; white-space: nowrap; }
.hero-copy > p { max-width: 46rem; margin: 2rem 0 3.3rem; color: #c8c2b8; font-size: clamp(1.05rem, 1.45vw, 1.4rem); line-height: 1.9; }
.hero-actions { display: flex; gap: 1.2rem; }
.button { min-width: 16rem; min-height: 4.8rem; display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; border: 1px solid var(--gold); cursor: pointer; letter-spacing: .07em; font-size: 1.1rem; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #d74838; outline-offset: 3px; }
.button-primary { border-color: #bf3428; color: white; background: linear-gradient(135deg, #8c130f, #c12b20); }
.button-outline-dark { color: var(--gold-light); background: rgba(0,0,0,.18); }
.button-outline-light { color: var(--red); border-color: var(--red); background: transparent; }
.hero-art { position: relative; align-self: stretch; min-width: 0; }
.hero-art img { position: absolute; z-index: 1; inset: 0 -10% 0 -8%; width: 118%; height: 100%; object-fit: cover; object-position: 72% center; filter: drop-shadow(0 22px 38px rgba(0,0,0,.5)); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 100%); }
.hero-art:has(img[style*="display: none"])::before { content: ""; position: absolute; inset: 24% 4% 12% 10%; border: 1px solid rgba(189,146,81,.2); background: linear-gradient(140deg, rgba(255,255,255,.035), transparent 45%); }
.hero-halo { position: absolute; width: 70%; aspect-ratio: 1; left: 20%; top: 16%; border-radius: 50%; border: 1px solid rgba(189,146,81,.16); box-shadow: 0 0 90px rgba(189,146,81,.08) inset; }
.hero-art-label { position: absolute; z-index: 0; right: 7%; bottom: 11%; color: rgba(226,189,122,.22); font-size: clamp(1.8rem, 3vw, 3.5rem); letter-spacing: .22em; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 56px; height: 28px; display: grid; place-items: center; color: var(--gold); background: var(--black); border: 1px solid var(--gold); border-bottom: 0; transform: translateX(-50%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.scroll-cue svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.section-light { background-color: var(--paper); background-image: radial-gradient(rgba(157,122,72,.08) .7px, transparent .7px); background-size: 7px 7px; }
.works { padding: clamp(6rem, 10vw, 10rem) 7vw; }
.section-heading { width: var(--container); margin: 0 auto 3rem; }
.section-heading h2 { margin: 0 0 1.5rem; font-size: clamp(2.6rem, 4.3vw, 4.5rem); font-weight: 500; }
h2 em, h3 em { color: var(--red); font-style: normal; font-weight: inherit; }
.section-heading p { color: var(--muted); font-size: 1.1rem; letter-spacing: .09em; }
.work-list { width: var(--container); margin: auto; }
.work-item { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 300px; }
.work-item.reverse { grid-template-columns: 1fr 1.05fr; }
.work-item.reverse .work-media { grid-column: 2; }
.work-item.reverse .work-copy { grid-row: 1; grid-column: 1; }
.work-media { position: relative; min-height: 300px; margin: 0; overflow: hidden; background: #111; }
.work-media img { position: relative; z-index: 1; }
.media-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(226,189,122,.45); font-size: 2.3rem; letter-spacing: .24em; background: radial-gradient(circle at center, #26221c, #0b0b0a 70%); }
.work-copy { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem; border-left: 1px solid rgba(189,146,81,.65); }
.work-copy .ornament { color: var(--gold); }
.work-copy h3 { margin: .8rem 0 1.2rem; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 500; }
.work-copy h3 i { display: inline-block; height: 1.3em; margin: 0 1rem; vertical-align: middle; border-left: 1px solid var(--gold); }
.work-copy p { max-width: 34rem; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.9; }

.story { min-height: 780px; padding: 7rem 7vw; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; color: #eee5d6; background: #10100f; }
.story-visual { position: relative; min-height: 590px; overflow: hidden; background: radial-gradient(circle at 45% 35%, #263028, #0b0d0b 70%); }
.story-visual::after { content: "茶魂茶 · 收藏证书"; position: absolute; left: 2rem; bottom: 2rem; padding: .65rem .85rem; color: #e4c58b; background: rgba(8,8,7,.78); letter-spacing: .15em; }
.story-visual img { position: absolute; inset: 0; object-position: center 58%; }
.visual-pending { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(226,189,122,.22); letter-spacing: .24em; text-align: center; }
.story-copy { max-width: 620px; }
.story-route { display: flex; align-items: center; gap: 1rem; color: var(--gold-light); letter-spacing: .12em; }
.story-route i { flex: 0 1 3rem; border-top: 1px solid var(--gold); }
.story h2 { margin: 2rem 0; font-size: clamp(2.7rem, 4.6vw, 4.8rem); font-weight: 500; line-height: 1.35; }
.story-copy > p:last-child { color: #c8bdad; font-size: 1.15rem; line-height: 2; }

.plan { min-height: 800px; padding: 8rem 7vw; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; overflow: hidden; color: #d5ba89; background: radial-gradient(circle at 18% 52%, #24211d 0, #0e0e0d 35%, #090909 72%); }
.plan-number { color: transparent; font-size: clamp(13rem, 28vw, 30rem); line-height: .72; letter-spacing: -.08em; background: linear-gradient(145deg, #f2d99f, #886329 52%, #d7b773); -webkit-background-clip: text; background-clip: text; opacity: .9; filter: drop-shadow(0 5px 20px rgba(0,0,0,.4)); }
.plan-content { max-width: 650px; }
.plan h2 { position: relative; margin: 0 0 3rem; padding-bottom: 1.8rem; font-size: clamp(3rem, 5vw, 5rem); font-weight: 500; }
.plan h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); }
.plan h2::before { content: ""; position: absolute; z-index: 1; left: 0; bottom: -1px; width: 3rem; height: 4px; background: #c7432f; }
.plan-content > p { margin: 0 0 3.5rem; font-size: 1.2rem; line-height: 2; letter-spacing: .04em; }
.plan-english { color: #a99b83; font-family: Georgia, serif; font-size: .96rem !important; line-height: 1.7 !important; }
.plan-system { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 0; }
.plan-system div { position: relative; }
.plan-system div:not(:last-child)::after { content: ""; position: absolute; left: 68%; top: 1.8rem; width: 54%; border-top: 1px solid var(--gold); }
.plan-system dt { margin-bottom: .8rem; font-size: 2.5rem; }
.plan-system dd { margin: 0; color: #d4c4a6; font-size: .86rem; letter-spacing: .08em; }
.plan-note { margin: 2rem 0 0 !important; color: var(--gold-light); font-size: .95rem !important; line-height: 1.7 !important; }

.showcase { padding: 8rem 6vw; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.showcase-intro h2 { margin: 0 0 2rem; font-size: clamp(3rem, 5.1vw, 5.3rem); font-weight: 500; line-height: 1.22; }
.showcase-intro > p { max-width: 40rem; color: #3f3a34; font-size: 1.12rem; line-height: 1.9; }
.showcase-types { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; padding: 2rem 0 0; list-style: none; }
.showcase-types li { display: flex; align-items: center; gap: 1.3rem; font-size: 1.05rem; }
.showcase-types span { min-width: 3.6rem; color: var(--red); font-size: 2.7rem; }
.showcase-gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; min-height: 560px; }
.case-card { position: relative; min-width: 0; margin: 0; overflow: hidden; color: #f0e6d4; background: #111; }
.case-card img { position: absolute; inset: 0; }
.case-unesco img { object-position: 58% center; }
.case-osaka img { object-position: center 44%; }
.case-card figcaption { position: absolute; z-index: 1; inset: auto 0 0; padding: 7rem 1.8rem 2rem; background: linear-gradient(transparent, rgba(5,5,5,.92)); }
.case-card figcaption span { display: block; margin-bottom: .7rem; color: var(--gold-light); letter-spacing: .18em; }
.case-card figcaption strong { display: block; font-size: clamp(1.35rem, 2vw, 2.2rem); font-weight: 500; line-height: 1.35; }

.site-footer { padding: 4rem 2rem 3rem; color: #d5ba89; text-align: center; background: radial-gradient(circle at center top, #1d1c1a, #0b0b0b 70%); border-top: 1px solid var(--gold); }
.footer-brand { margin: 0 0 2.4rem; font-size: 2rem; letter-spacing: .12em; }
.contact { display: flex; align-items: center; justify-content: center; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(189,146,81,.45); }
.contact i { height: 1.3rem; border-left: 1px solid var(--gold); }
.legal { max-width: 760px; margin: 2rem auto; color: #9f927d; font-family: var(--ui); font-size: .78rem; line-height: 1.8; }
.site-footer > p:last-child { color: #d2cdc5; letter-spacing: .16em; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-art { animation: rise .8s ease both; }
  .hero-art { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

@media (max-width: 900px) {
  .site-header { height: 72px; padding: 0 1.25rem; }
  .menu-button { display: grid; gap: 6px; }
  .menu-button span { width: 24px; border-top: 1px solid currentColor; }
  .site-nav { position: fixed; inset: 72px 0 auto; height: auto; display: none; padding: 1rem 1.5rem 1.5rem; background: rgba(10,10,9,.98); }
  .site-nav.open { display: grid; }
  .site-nav a { height: auto; padding: 1rem 0; }
  .site-nav a::after { left: 0; transform: none; }
  .hero { min-height: 760px; height: auto; padding: 9rem 1.5rem 5rem; grid-template-columns: 1fr; align-content: start; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.5rem); }
  .hero h1 { width: auto; white-space: normal; }
  .hero-copy > p { margin: 1.5rem auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 380px; }
  .hero-art img { inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .hero-art-label { right: 0; bottom: 4%; }
  .works, .story, .plan, .showcase { padding: 5rem 1.5rem; }
  .work-item, .work-item.reverse { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .work-item.reverse .work-media, .work-item.reverse .work-copy { grid-column: 1; }
  .work-item.reverse .work-media { grid-row: 1; }
  .work-item.reverse .work-copy { grid-row: 2; }
  .work-copy { padding: 2rem 1.5rem; }
  .story { grid-template-columns: 1fr; min-height: 0; }
  .story-visual { min-height: 420px; }
  .plan { grid-template-columns: 1fr; min-height: 0; }
  .plan-number { font-size: 48vw; line-height: .9; text-align: center; }
  .showcase { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .brand { font-size: 1rem; }
  .hero { min-height: 700px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; min-width: 0; min-height: 4rem; }
  .hero-art { min-height: 280px; }
  .section-heading { margin-bottom: 2rem; }
  .section-heading h2 { line-height: 1.3; }
  .work-media { min-height: 230px; }
  .work-copy h3 i { display: block; width: 2rem; height: 1px; margin: .8rem 0; border-left: 0; border-top: 1px solid var(--gold); }
  .plan-system { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .plan-system div:not(:last-child)::after { display: none; }
  .showcase-types { grid-template-columns: 1fr; gap: 1.2rem; }
  .showcase-gallery { min-height: 620px; }
  .contact { flex-direction: column; gap: 1rem; }
  .contact i { width: 2rem; height: 0; border-left: 0; border-top: 1px solid var(--gold); }
}

@media (max-width: 580px) {
  .showcase-gallery { grid-template-columns: 1fr; min-height: 900px; }
  .case-card { min-height: 440px; }
}
