:root {
  --ink: #1e1d1a;
  --muted: #6e6a63;
  --paper: #f7f4ee;
  --cream: #e9e1d4;
  --line: rgba(30, 29, 26, .16);
  --white: #fff;
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body, button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
}
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .18em; }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  display: grid; place-items: center; overflow: hidden; background: #f8d9df;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 12px; }
.brand small { margin-top: 3px; font-size: 8px; opacity: .78; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav a { opacity: .88; }
.nav a:hover { opacity: 1; }
.nav-contact { padding: 10px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; color: inherit; }

.hero { position: relative; min-height: min(850px, 100svh); color: var(--white); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,15,12,.76) 0%, rgba(17,15,12,.38) 43%, rgba(17,15,12,.07) 75%); }
.hero-copy {
  position: relative; z-index: 2; width: min(660px, calc(100% - 48px));
  padding: clamp(160px, 23vh, 220px) 0 110px;
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
}
.eyebrow { margin: 0 0 18px; font-size: 11px; letter-spacing: .28em; font-weight: 600; }
.hero h1, .section-heading h2, .contact-copy h2 {
  margin: 0; font-family: "Songti SC", "STSong", Georgia, serif; font-weight: 400;
  letter-spacing: -.055em; line-height: 1.12;
}
.hero h1 { font-size: clamp(48px, 7vw, 90px); }
.hero-intro { max-width: 520px; margin: 28px 0 34px; font-size: 16px; line-height: 1.9; opacity: .9; }
.hero-actions { display: flex; gap: 12px; }
.button {
  min-height: 50px; padding: 0 25px; border-radius: 999px; display: inline-flex;
  justify-content: center; align-items: center; border: 1px solid transparent; font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-outline { border-color: var(--line); }
.hero .button-dark { background: var(--white); color: var(--ink); }
.hero .button-light { color: var(--white); border-color: rgba(255,255,255,.58); background: transparent; }
.hero-scroll {
  position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 34px;
  display: flex; gap: 12px; align-items: center; font-size: 11px; letter-spacing: .12em;
}
.hero-scroll span { font-size: 20px; }

.proof-bar {
  max-width: var(--max); margin: -38px auto 0; padding: 28px 34px; position: relative; z-index: 4;
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(44,39,31,.1);
}
.proof-bar div { padding: 0 24px; border-right: 1px solid var(--line); }
.proof-bar div:first-child { padding-left: 0; }
.proof-bar div:last-child { border-right: 0; }
.proof-bar strong, .proof-bar span { display: block; }
.proof-bar strong { margin-bottom: 7px; font-family: "Songti SC", serif; font-size: 18px; }
.proof-bar span { color: var(--muted); font-size: 12px; }

.section { max-width: var(--max); margin: 0 auto; padding: 130px 0; }
.section-heading h2 { font-size: clamp(38px, 5vw, 64px); }
.section-lead { max-width: 600px; margin: 30px 0 50px auto; color: var(--muted); line-height: 2; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.split-heading > p { width: 370px; color: var(--muted); line-height: 1.9; }
.centered { text-align: center; }
.centered > p:last-child { color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 390px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; background: rgba(255,255,255,.35);
}
.service-card.featured { background: var(--ink); color: var(--white); }
.service-number { margin-left: auto; font-size: 11px; letter-spacing: .15em; opacity: .55; }
.service-icon { width: 68px; height: 68px; margin: 70px 0 35px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 25px; }
.service-card h3 { margin: 0 0 14px; font-family: "Songti SC", serif; font-size: 25px; font-weight: 400; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
.service-card.featured p { color: rgba(255,255,255,.68); }

.template-section { border-top: 1px solid var(--line); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 50px 0 28px; }
.filter { padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; }
.filter.active { background: var(--ink); color: var(--white); }
.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.template-card[hidden] { display: none; }
.template-preview { width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #e8e2d9; cursor: zoom-in; }
.template-preview img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #eee9e1; }
.frame-art {
  aspect-ratio: 4 / 5; padding: 18px; overflow: hidden; display: flex; flex-direction: column;
  position: relative; background: var(--tone-a); color: var(--tone-b); border-radius: 16px;
}
.frame-photo { flex: 1; min-height: 0; background: color-mix(in srgb, var(--tone-b) 13%, white); display: grid; place-items: center; overflow: hidden; }
.frame-photo::before {
  content: ""; width: 58%; aspect-ratio: 1; border-radius: 50% 50% 42% 42%;
  background: color-mix(in srgb, var(--tone-b) 30%, transparent);
  transform: translateY(20%);
}
.frame-photo span { position: absolute; font-size: 8px; letter-spacing: .2em; opacity: .55; }
.frame-type { padding-top: 15px; }
.frame-type small, .frame-type span { display: block; font-size: 8px; letter-spacing: .17em; }
.frame-type strong { display: block; margin: 5px 0; font-family: "Songti SC", serif; font-size: 20px; font-weight: 400; }
.frame-strip { padding: 12px 42px; }
.frame-strip .frame-photo { border: 8px solid color-mix(in srgb, var(--tone-b) 80%, black); }
.frame-square .frame-photo { margin: 22px 0 8px; }
.template-meta { display: flex; justify-content: space-between; padding: 14px 4px 8px; }
.template-meta strong { font-size: 14px; }
.template-meta span { color: var(--muted); font-size: 12px; }
.text-button { margin: 40px auto 0; padding: 12px 0; display: block; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; }

.gallery-section { max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); background: var(--cream); }
.gallery-section .split-heading { max-width: var(--max); margin: 0 auto 50px; }
.gallery-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 290px); gap: 16px; }
.gallery-card { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: #ccc; cursor: zoom-in; }
.gallery-card.tall { grid-row: 1 / span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card:hover img { transform: scale(1.03); }
.gallery-card.crop-left img { object-position: 20% center; }
.gallery-card.crop-center img { object-position: 62% center; }
.gallery-card span { position: absolute; inset: auto 0 0; padding: 50px 24px 22px; text-align: left; color: white; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.gallery-card strong, .gallery-card small { display: block; }
.gallery-card strong { font-family: "Songti SC", serif; font-size: 22px; font-weight: 400; }
.gallery-card small { margin-top: 5px; opacity: .75; }
.demo-note { max-width: var(--max); margin: 18px auto 0; color: var(--muted); font-size: 11px; }
.gallery-thumbs { max-width: var(--max); margin: 16px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumbs button { height: 170px; padding: 0; overflow: hidden; border: 0; border-radius: 14px; cursor: zoom-in; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.equipment-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.equipment-photo { overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.equipment-photo button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.equipment-photo img { width: 100%; max-height: 820px; object-fit: contain; object-position: center; }
.equipment-copy h2 { margin: 0; font-family: "Songti SC", serif; font-size: clamp(38px, 5vw, 62px); font-weight: 400; line-height: 1.2; }
.equipment-copy > p { color: var(--muted); line-height: 1.9; }
.equipment-copy ul { margin: 30px 0; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.equipment-copy li { margin: 13px 0; font-size: 14px; }
.equipment-copy li::before { content: "✓"; margin-right: 10px; }
.equipment-copy .service-area { color: var(--ink); }

.guide-section { border-top: 1px solid var(--line); }
.guide-grid { margin-top: 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.guide-grid button { position: relative; height: 520px; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: white; cursor: zoom-in; }
.guide-grid img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.guide-grid span { position: absolute; right: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; color: white; background: rgba(20,20,18,.82); font-size: 12px; }

.process-list { margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: steps; }
.process-list li { padding: 0 30px; border-left: 1px solid var(--line); }
.process-list span { display: block; color: var(--muted); font-size: 11px; }
.process-list strong { display: block; margin: 50px 0 12px; font-family: "Songti SC", serif; font-size: 22px; font-weight: 400; }
.process-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.pricing-section { max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.pricing-grid { max-width: var(--max); margin: 65px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 16px; }
.price-card { position: relative; padding: 42px 34px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); }
.price-card.recommended { background: #b7a48b; color: #1c1915; border-color: transparent; transform: translateY(-12px); }
.recommend-tag {
  position: absolute; right: 18px; top: 18px; padding: 9px 15px; border-radius: 999px;
  background: #b62226; color: white; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  box-shadow: 0 7px 20px rgba(105, 17, 19, .35); border: 2px solid rgba(255,255,255,.8);
}
.price-card > p { margin: 0 0 15px; font-size: 9px; letter-spacing: .24em; opacity: .65; }
.price-card h3 { margin: 0; font-family: "Songti SC", serif; font-size: 28px; font-weight: 400; }
.price { margin: 35px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 35px; }
.price small { font-size: 12px; }
.duration { display: block; padding-bottom: 25px; border-bottom: 1px solid currentColor; font-size: 12px; opacity: .7; }
.price-card ul { min-height: 230px; margin: 25px 0 30px; padding: 0; list-style: none; }
.price-card li { margin: 13px 0; font-size: 13px; opacity: .78; }
.price-card li::before { content: "✓"; margin-right: 9px; }
.price-card .button { width: 100%; }
.price-card:not(.recommended) .button-outline { color: white; border-color: rgba(255,255,255,.35); }
.price-detail-button { margin: 38px auto 0; padding: 12px 0; display: block; border: 0; border-bottom: 1px solid rgba(255,255,255,.6); color: white; background: transparent; cursor: zoom-in; }

.quote-section { padding: 120px 24px; text-align: center; background: #d9cbb8; }
.quote-mark {
  margin: 0; color: #b51f24; font-family: "STKaiti", "KaiTi", "FangSong", serif;
  font-size: 76px; font-weight: 700; line-height: .55; text-shadow: 0 2px 0 rgba(255,255,255,.4);
}
.quote-section blockquote { max-width: 800px; margin: 35px auto; font-family: "Songti SC", serif; font-size: clamp(23px, 3vw, 36px); line-height: 1.65; }
.quote-author { color: var(--muted); font-size: 12px; }

.contact-section { max-width: var(--max); margin: 0 auto; padding: 120px 0; display: flex; justify-content: space-between; align-items: center; gap: 80px; }
.contact-copy { max-width: 690px; }
.contact-copy h2 { font-size: clamp(38px, 5vw, 63px); }
.contact-copy > p { margin: 28px 0; color: var(--muted); line-height: 1.9; }
.phone-link { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid; font-size: 14px; }
.qr-card { padding: 22px; text-align: center; background: white; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(44,39,31,.1); }
.wechat-qr { width: 190px; aspect-ratio: 1; object-fit: contain; }
.qr-placeholder {
  width: 190px; aspect-ratio: 1; padding: 16px; display: grid; place-items: center;
  background:
    linear-gradient(90deg, var(--ink) 8px, transparent 8px) 0 0/26px 26px,
    linear-gradient(var(--ink) 8px, transparent 8px) 0 0/26px 26px,
    white;
  border: 12px solid white;
}
.qr-placeholder span { padding: 10px; background: white; font-size: 11px; line-height: 1.6; }
.qr-card strong, .qr-card small { display: block; }
.qr-card strong { margin-top: 14px; font-size: 13px; }
.qr-card small { margin-top: 6px; color: var(--muted); }

footer { padding: 45px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; color: white; background: #151513; }
.footer-brand strong, .footer-brand span { display: block; letter-spacing: .18em; }
.footer-brand strong { font-size: 14px; }
.footer-brand span { margin-top: 4px; font-size: 9px; opacity: .65; }
footer p { margin: 0; font-size: 11px; letter-spacing: .08em; opacity: .65; }
footer > small { justify-self: end; font-size: 9px; opacity: .55; }
.floating-contact { display: none; }

.lightbox { max-width: min(1000px, 92vw); padding: 0; border: 0; border-radius: 16px; background: transparent; }
.lightbox::backdrop { background: rgba(0,0,0,.86); }
.lightbox img { max-height: 86vh; border-radius: 16px; }
.lightbox button { position: fixed; top: 18px; right: 22px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.15); font-size: 28px; cursor: pointer; }

@media (max-width: 900px) {
  .topbar { height: 66px; padding: 0 20px; }
  .menu-button { display: block; }
  .nav {
    display: none; position: absolute; top: 58px; left: 14px; right: 14px; padding: 20px;
    flex-direction: column; align-items: stretch; gap: 0; color: var(--ink); background: rgba(255,255,255,.96);
    border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.16);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border: 0; }
  .nav-contact { border-radius: 0; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(15,13,10,.8), rgba(15,13,10,.05) 72%); }
  .hero-copy { width: auto; margin: 0; padding: 360px 22px 100px; }
  .hero h1 { font-size: 50px; }
  .hero-intro { font-size: 14px; }
  .hero-scroll { display: none; }
  .proof-bar { margin: 0; padding: 22px; grid-template-columns: 1fr 1fr; border-radius: 0; box-shadow: none; gap: 20px 0; }
  .proof-bar div { padding: 0 15px; }
  .proof-bar div:nth-child(2) { border-right: 0; }
  .proof-bar div:nth-child(3) { padding-left: 0; }
  .section { padding: 85px 22px; }
  .section-heading h2 { font-size: 40px; }
  .section-lead { margin: 25px 0 35px; }
  .split-heading { display: block; }
  .split-heading > p { width: auto; margin-top: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .service-icon { margin: 45px 0 28px; }
  .template-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .template-section { padding-left: 16px; padding-right: 16px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; margin-top: 35px; padding-bottom: 5px; }
  .filter { flex: 0 0 auto; }
  .frame-art { padding: 11px; border-radius: 12px; }
  .frame-strip { padding: 10px 24px; }
  .frame-type strong { font-size: 16px; }
  .gallery-section { padding-left: 16px; padding-right: 16px; }
  .gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gallery-card { flex: 0 0 84vw; height: 460px; scroll-snap-align: center; }
  .gallery-thumbs { grid-template-columns: 1fr 1fr; }
  .gallery-thumbs button { height: 190px; }
  .equipment-section { grid-template-columns: 1fr; gap: 40px; }
  .equipment-photo img { max-height: 580px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid button { height: 430px; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 45px 0; }
  .process-list strong { margin-top: 25px; }
  .pricing-section { padding-left: 16px; padding-right: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.recommended { transform: none; }
  .price-card ul { min-height: 0; }
  .contact-section { padding: 85px 22px 110px; display: block; text-align: center; }
  .qr-card { width: 238px; margin: 45px auto 0; }
  footer { padding-bottom: 100px; display: block; text-align: center; }
  footer p { margin: 22px 0; }
  footer > small { display: block; }
  .floating-contact {
    position: fixed; z-index: 15; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
    width: calc(100% - 28px); min-height: 54px; transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    color: white; background: var(--ink); border-radius: 999px; box-shadow: 0 10px 35px rgba(0,0,0,.25);
  }
  .floating-contact span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); background: white; border-radius: 50%; font-size: 12px; }
  .floating-contact strong { font-size: 13px; letter-spacing: .08em; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 44px; }
  .hero-actions .button { flex: 1; padding: 0 16px; }
  .proof-bar strong { font-size: 16px; }
  .proof-bar span { font-size: 10px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { padding: 0 15px; }
}
