/* Golden Lai · goldenlai.com
   Palette: black base, deep grey surfaces, one gold. */

:root {
  --black: #000000;
  --grey-900: #0f0f0f;
  --grey-800: #161616;
  --grey-700: #1f1f1f;
  --grey-600: #2a2a2a;
  --grey-500: #3a3a3a;
  --gold: #C9A227;
  --gold-light: #E9CF7A;
  --gold-deep: #8A6D1F;
  --gold-dim: rgba(201, 162, 39, .18);
  --gold-line: rgba(201, 162, 39, .35);
  --ivory: #F2EAD8;
  --ivory-70: rgba(242, 234, 216, .72);
  --ivory-50: rgba(242, 234, 216, .5);
  --red: #B3261E;
  --wa: #25D366;

  --font-display: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-body: "Manrope", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-cn: "Noto Serif SC", "Cormorant Garamond", serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

.lang-zh {
  --font-display: "Noto Serif SC", "Cormorant Garamond", serif;
  --font-body: "Noto Sans SC", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--ivory);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ivory); letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lang-zh h1 { font-weight: 700; line-height: 1.25; }
.lang-zh .hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
.lang-zh h2, .lang-zh h3 { font-weight: 700; }
.lang-en h1 { font-weight: 500; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.hero-grid > *, .about-grid > *, .product-grid > *, .contact-grid > *, .svc-layout > *, .about-page > *, .product-hero-grid > * { min-width: 0; }
section[id] { scroll-margin-top: 80px; }
.narrow { width: min(820px, 100% - var(--gutter) * 2); }
.center { text-align: center; margin-top: 2.5rem; }
.lead { font-size: 1.15rem; color: var(--ivory-70); }
.note { font-size: .9rem; color: var(--ivory-50); margin-top: 1.5rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* ---- icons ---- */
.ic { width: 22px; height: 22px; flex: none; }
.ic--btn { width: 19px; height: 19px; }
.ic--chev { width: 20px; height: 20px; transition: transform .3s var(--ease); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); color: var(--black); }
.btn--gold:hover { color: var(--black); transform: translateY(-1px); filter: brightness(1.06); }
.btn--ghost { border-color: var(--gold-line); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); background: var(--gold-dim); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.cta-stack { display: grid; gap: .6rem; margin-top: 1rem; }
.link { color: var(--gold-light); font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; }
.link:hover { border-color: var(--gold); }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201, 162, 39, .18); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ivory); }
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-cn); font-size: 1.25rem; font-weight: 700; color: var(--gold-light); letter-spacing: .04em; }
.brand-sub { font-size: .72rem; color: var(--ivory-50); letter-spacing: .08em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav a { color: var(--ivory-70); font-size: .93rem; font-weight: 500; padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.lang { font-size: .9rem; font-weight: 600; color: var(--ivory-70); padding: .4rem .6rem; border: 1px solid var(--grey-600); border-radius: var(--radius); }
.lang:hover { color: var(--gold-light); border-color: var(--gold-line); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--gold-light); transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }
.drawer[hidden] { display: none; }
@media (max-width: 1200px) {
  .nav { display: none; }
  .burger { display: flex; }
  .lang { display: none; }
  .drawer:not([hidden]) { display: block; border-top: 1px solid var(--grey-700); padding: 1rem var(--gutter) 1.5rem; background: var(--grey-900); }
  .drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; }
  .drawer ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--grey-700); color: var(--ivory); font-size: 1.05rem; }
}
@media (max-width: 560px) { .brand-sub { display: none; } .header-actions .btn--sm span { display: none; } .header-actions .btn--sm { padding: .5rem .7rem; } }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 2rem; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.6); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 45%, rgba(201, 162, 39, .14), transparent 70%), linear-gradient(180deg, rgba(0, 0, 0, .2), var(--black) 95%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero-copy { max-width: 600px; }
.hero-name { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.hero-name-zh { font-family: var(--font-cn); font-size: 1.35rem; font-weight: 700; color: var(--gold-light); letter-spacing: .06em; }
.hero-motto { font-family: var(--font-cn); font-size: .95rem; color: var(--ivory-50); letter-spacing: .12em; }
.hero h1 { margin-bottom: 1rem; }
.hero-lead { font-size: 1.12rem; color: var(--ivory-70); max-width: 54ch; }
.chips { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .9rem; }
.chips li { font-size: .85rem; color: var(--ivory-50); padding-left: .9rem; position: relative; }
.chips li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.hero-visual { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1; }
.hero-visual .luopan { width: 100%; height: 100%; display: block; }
.trust { list-style: none; margin: clamp(2rem, 5vw, 4rem) 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--gold-line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust li { display: flex; flex-direction: column; }
.trust strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold-light); line-height: 1.1; }
.trust span { font-size: .85rem; color: var(--ivory-50); }
@media (max-width: 900px) {
  .hero { padding-top: .65rem; padding-bottom: 1.25rem; }
  .hero-grid { grid-template-columns: 1fr; gap: .65rem; }
  .hero-visual { order: -1; width: min(68vw, 42vh, 280px); width: min(68vw, 42svh, 280px); margin-bottom: .15rem; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-name { margin-bottom: .35rem; }
  .hero-copy h1 { font-size: clamp(1.55rem, 6.4vw, 2.15rem); margin-bottom: .4rem; }
  .hero-copy .cta-row { order: 1; margin: .45rem 0 .7rem; }
  .hero-copy .cta-row .btn { flex: 1 1 auto; }
  .hero-copy .hero-lead { order: 2; font-size: .98rem; }
  .hero-copy .chips { order: 3; }
  .trust { grid-template-columns: repeat(2, 1fr); margin-top: 1.25rem; }
}

/* ---- luopan ---- */
.luopan .c { fill: none; stroke: var(--gold); }
.luopan .c--faint { stroke: var(--gold-deep); opacity: .7; }
.luopan .k { stroke: var(--gold); }
.luopan .k--strong { stroke: var(--gold-light); }
.luopan .k--faint { stroke: var(--gold-deep); }
.luopan .k--hex { stroke: var(--gold-light); opacity: .85; }
.luopan .k--tri { stroke: var(--gold-light); }
.luopan .t { fill: var(--gold); font-family: var(--font-cn); font-size: 15px; font-weight: 500; }
.luopan .t--strong { fill: var(--gold-light); font-weight: 700; }
.luopan .t--tri { font-size: 18px; fill: var(--gold-light); font-weight: 700; }
.lp-ring { transform-origin: 300px 300px; transform-box: view-box; }
.lp-needle { transform-origin: 300px 300px; transform-box: view-box; transition: transform .9s var(--ease); }
.lp-ring--outer { animation: lpSpin 180s linear infinite; }
.lp-ring--mid { animation: lpSpin 240s linear infinite reverse; }
@keyframes lpSpin { to { transform: rotate(360deg); } }
.lp-portrait { filter: saturate(.85) contrast(1.05); }
@media (prefers-reduced-motion: reduce) {
  .lp-ring--outer, .lp-ring--mid { animation: none; }
  .lp-needle { transition: none; }
}

/* ---- sections ---- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--grey { background: var(--grey-900); }
.section-head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--ivory-70); font-size: 1.08rem; }
.eyebrow { font-family: var(--font-cn); color: var(--gold); font-size: .95rem; letter-spacing: .14em; margin: 0 0 .6rem; display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lang-zh .eyebrow { font-family: var(--font-display); letter-spacing: .1em; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc-card { background: var(--grey-800); border: 1px solid var(--grey-700); display: grid; grid-template-columns: 42% 1fr; overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.svc-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.svc-card-img { display: block; min-height: 100%; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.svc-card-body { padding: 1.5rem; display: flex; flex-direction: column; }
.svc-icon { width: 44px; height: 44px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); margin-bottom: .9rem; }
.svc-alt { font-family: var(--font-cn); color: var(--gold); font-size: .9rem; letter-spacing: .08em; margin: 0 0 .25rem; }
.svc-name { font-size: 1.45rem; margin-bottom: .5rem; }
.svc-name a { color: var(--ivory); }
.svc-name a:hover { color: var(--gold-light); }
.svc-blurb { color: var(--ivory-70); font-size: .96rem; flex: 1; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.card-price { margin: 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-light); font-weight: 600; }
.card-price span { font-family: var(--font-body); font-size: .8rem; color: var(--ivory-50); font-weight: 400; margin: 0 .25rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .svc-card { grid-template-columns: 1fr; } .svc-card-img img { aspect-ratio: 16/9; } }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--gold-line); }
.about-quote { position: absolute; right: -1rem; bottom: 2rem; margin: 0; background: var(--black); border: 1px solid var(--gold); padding: 1.1rem 1.4rem; max-width: 300px; }
.about-quote p { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; color: var(--gold-light); }
.about-copy p { color: var(--ivory-70); }
.creds { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.creds li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ivory); }
.creds .ic { color: var(--gold); margin-top: 3px; width: 18px; height: 18px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-quote { position: static; margin-top: 1rem; max-width: none; } }

/* product band */
.section--product { background: linear-gradient(180deg, var(--black), var(--grey-900)); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.product-grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.product-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.product-art::before, .product-art::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold-line); }
.product-art::after { inset: 14%; border-color: var(--gold); }
.product-char { font-family: var(--font-cn); font-size: clamp(4rem, 9vw, 7rem); font-weight: 700; color: var(--gold-light); letter-spacing: .1em; text-shadow: 0 0 40px rgba(201, 162, 39, .35); }
.product-art--big { width: min(100%, 420px); margin-inline: auto; }
.product-ring { position: absolute; inset: 28%; border: 1px dashed var(--gold-line); border-radius: 50%; animation: lpSpin 60s linear infinite; }
@media (prefers-reduced-motion: reduce) { .product-ring { animation: none; } }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } .product-art { width: min(100%, 260px); margin-inline: auto; } }

/* Shi Fang 3D cube.
   Do not put overflow, filter, opacity, or will-change on these ancestors.
   Any of those flattens preserve-3d and the six faces drop into a stack. */
.section--product::after { display: none; }
.section--product > .wrap, .page-hero--product > .wrap { z-index: auto; }
.cube-stage { --cs: 240px; --half: calc(var(--cs) / 2); text-align: center; }
.cube-stage--big { --cs: 300px; }
.cube-scene {
  --rx: -22; --ry: 32;
  position: relative; width: var(--cs); height: var(--cs);
  margin: 1.6rem auto calc(var(--cs) * 1.08);
  perspective: 880px; perspective-origin: 50% 42%;
  transform-style: preserve-3d;
  cursor: grab; touch-action: pan-y;
}
.cube-scene.dragging { cursor: grabbing; }
.cube-glow, .cube-rays, .cube-bolts, .cube-shadow { position: absolute; pointer-events: none; }
.cube-glow {
  left: 50%; top: 46%;
  width: 155%; height: 155%;
  transform: translate(-50%, -54%);
  background: radial-gradient(circle, rgba(255, 250, 232, .95) 0%, rgba(233, 207, 122, .5) 16%, rgba(201, 162, 39, .26) 34%, rgba(138, 109, 31, .08) 54%, transparent 72%);
  filter: blur(2px);
}
.cube-rays {
  left: 50%; top: 46%;
  width: 200%; height: 200%;
  transform: translate(-50%, -52%);
  background: conic-gradient(from 0deg,
    transparent 0 10%, rgba(233, 207, 122, .45) 11.2%, transparent 13.2%,
    transparent 30% 42%, rgba(255, 246, 214, .3) 43%, transparent 45%,
    transparent 62% 74%, rgba(201, 162, 39, .36) 75.2%, transparent 77.6%,
    transparent 88% 96%, rgba(233, 207, 122, .24) 97%, transparent 99%);
  -webkit-mask: radial-gradient(circle, transparent 16%, #000 32%, transparent 66%);
  mask: radial-gradient(circle, transparent 16%, #000 32%, transparent 66%);
  animation: cubeRays 28s linear infinite;
  opacity: .85;
}
.cube-bolts { inset: -48%; width: auto; height: auto; }
.cube-float { position: absolute; inset: 0; transform-style: preserve-3d; }
.cube {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: translate3d(0, 0, 0) rotateX(-22deg) rotateY(32deg);
}
.cube-face {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow: hidden;
  background: #070707;
  box-shadow: inset 0 0 0 1px rgba(233, 207, 122, .5);
}
.cube-face img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.cube-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(118deg, transparent 28%, rgba(255, 246, 214, 0) 42%, rgba(255, 250, 232, .78) 50%, rgba(233, 207, 122, .26) 57%, transparent 68%);
  background-size: 280% 280%;
  background-position: calc(40% + var(--ry) * .5%) calc(34% + var(--rx) * .45%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.cube-face--back .cube-sheen { background-position: calc(70% - var(--ry) * .5%) calc(42% + var(--rx) * .35%); }
.cube-face--right .cube-sheen { background-position: calc(22% + var(--ry) * .6%) 40%; }
.cube-face--left .cube-sheen { background-position: calc(80% - var(--ry) * .6%) 36%; }
.cube-face--top .cube-sheen { background-position: 44% calc(16% + var(--rx) * .75%); }
.cube-face--bottom .cube-sheen { background-position: 56% calc(84% - var(--rx) * .55%); }
.cube-face--front { transform: translateZ(var(--half)); }
.cube-face--back { transform: rotateY(180deg) translateZ(var(--half)); }
.cube-face--right { transform: rotateY(90deg) translateZ(var(--half)); }
.cube-face--left { transform: rotateY(-90deg) translateZ(var(--half)); }
.cube-face--top { transform: rotateX(90deg) translateZ(var(--half)); }
.cube-face--bottom { transform: rotateX(-90deg) translateZ(var(--half)) rotate(180deg); }
.cube-shadow {
  left: 50%; bottom: calc(var(--cs) * -.36);
  width: calc(var(--cs) * 1.05); height: calc(var(--cs) * .22);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, .45), transparent 70%);
  filter: blur(8px);
}
.cube-caption { position: relative; font-size: .88rem; color: var(--ivory-50); margin: .4rem 0 .7rem; }
.cube-phrases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem .6rem; }
.cube-phrases li { display: flex; flex-direction: column; line-height: 1.25; }
.cube-phrases li span[lang] { font-family: var(--font-cn); color: var(--gold-light); font-size: 1rem; letter-spacing: .1em; }
.cube-phrases li span:last-child { font-size: .72rem; color: var(--ivory-50); }
@keyframes cubeRays { to { transform: translate(-50%, -52%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cube-rays, .cube-bolts { display: none; }
  .cube-glow { opacity: .62; filter: blur(8px); }
}
@media (max-width: 900px) { .cube-stage { --cs: 210px; } .cube-stage--big { --cs: 236px; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { background: var(--grey-800); border: 1px solid var(--grey-700); padding: 1.4rem; display: flex; gap: 1rem; }
.step-n { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); line-height: 1; font-weight: 600; }
.step h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ivory-70); font-size: .93rem; }
.steps--compact { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* pillars */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--grey-700); border: 1px solid var(--grey-700); }
.pillar { background: var(--black); padding: 1.6rem 1.3rem 1.8rem; }
.pillar-ch { display: block; font-family: var(--font-cn); font-size: 3rem; color: var(--gold-light); line-height: 1; margin-bottom: 1rem; font-weight: 700; }
.pillar h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.pillar-sub { color: var(--gold); font-size: .85rem; margin-bottom: .6rem; letter-spacing: .04em; }
.pillar p:last-child { margin: 0; color: var(--ivory-70); font-size: .93rem; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* areas */
.section--areas { background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='60' cy='60' r='58' fill='none' stroke='%23C9A227' stroke-opacity='.08'/%3E%3C/svg%3E") center/120px; }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.area { border: 1px solid var(--gold-line); padding: 1.4rem 1.5rem; background: rgba(0, 0, 0, .7); }
.area h3 { font-size: 1.3rem; color: var(--gold-light); margin-bottom: .3rem; }
.area p { margin: 0; color: var(--ivory-70); font-size: .94rem; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { margin: 0; background: var(--grey-800); border-top: 2px solid var(--gold); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.2rem; flex: 1; }
.quote blockquote p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; color: var(--ivory); }
.lang-zh .quote blockquote p { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption strong { color: var(--gold-light); font-weight: 600; }
.quote figcaption span { color: var(--ivory-50); font-size: .85rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.g-item { margin: 0; position: relative; overflow: hidden; }
.g-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .6rem; font-size: .8rem; color: var(--ivory); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* faq */
.faqs { display: grid; gap: .6rem; }
.faq { background: var(--grey-800); border: 1px solid var(--grey-700); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
.faq summary .ic--chev { color: var(--gold); }
.faq[open] summary .ic--chev { transform: rotate(180deg); }
.faq[open] summary { border-bottom: 1px solid var(--grey-700); }
.faq-a { padding: 1rem 1.3rem 1.2rem; color: var(--ivory-70); }
.faq-a p { margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.contact-list li { display: flex; gap: .7rem; align-items: center; color: var(--ivory-70); font-size: .95rem; }
.contact-list .ic { color: var(--gold); width: 18px; height: 18px; }
.contact-list.big { margin: 1.5rem 0; gap: .8rem; }
.contact-list.big li { font-size: 1.05rem; }
.form { background: var(--grey-900); border: 1px solid var(--gold-line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-h { font-size: 1.6rem; margin-bottom: .25rem; }
.form-intro { color: var(--ivory-50); font-size: .92rem; margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ivory); }
.field small { color: var(--ivory-50); font-size: .8rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ivory); background: var(--black); border: 1px solid var(--grey-600); border-radius: var(--radius); padding: .75rem .9rem; min-height: 48px; }
textarea { resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23C9A227' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.form-note { margin: .9rem 0 0; font-size: .85rem; color: var(--ivory-50); }
.form-note.ok { color: var(--gold-light); }
.form-note.err { color: #e07b73; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* cta band */
.cta-band { background: var(--grey-900); border-top: 1px solid var(--gold-line); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; color: var(--ivory-70); max-width: 60ch; }
.cta-band .cta-row { margin: 0; }

/* page hero (subpages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--grey-700); }
.page-hero--product { overflow: visible; }
.page-hero .hero-bg { position: absolute; right: -12%; top: 50%; width: min(60vw, 720px); transform: translateY(-50%); opacity: .14; pointer-events: none; z-index: 0; }
.page-hero .hero-bg .lp-portrait { display: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.page-lead { font-size: 1.15rem; color: var(--ivory-70); max-width: 60ch; }
.hero-alt { font-family: var(--font-cn); color: var(--gold); letter-spacing: .1em; margin: 0 0 .5rem; }
.price-line { font-size: 1.05rem; color: var(--ivory-70); }
.price-line strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-light); font-weight: 600; margin: 0 .3rem; }
.crumbs ol { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--ivory-50); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--gold-deep); }
.crumbs a { color: var(--ivory-70); }
.tldr { margin: 2.5rem auto 0; border-left: 2px solid var(--gold); background: var(--grey-900); padding: 1.2rem 1.5rem; max-width: 820px; }
.tldr-label { font-family: var(--font-display); color: var(--gold-light); font-size: 1rem; letter-spacing: .08em; margin: 0 0 .3rem; font-weight: 600; }
.tldr p:last-child { margin: 0; color: var(--ivory); }

/* prose + layouts */
.prose h2 { margin-top: 2.2rem; }
.prose p { color: var(--ivory-70); }
.prose .plain { color: var(--ivory-70); padding-left: 1.2rem; }
.prose .plain li { margin-bottom: .4rem; }
.blocks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.blocks li { background: var(--grey-800); border-left: 2px solid var(--gold); padding: 1.1rem 1.3rem; }
.blocks h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.blocks p { margin: 0; }
.disclaimer { font-size: .88rem; color: var(--ivory-50); border: 1px dashed var(--grey-600); padding: .9rem 1rem; }
.facts { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: .95rem; }
.facts th, .facts td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--grey-700); vertical-align: top; }
.facts th { color: var(--gold-light); font-weight: 600; width: 32%; }
.facts td { color: var(--ivory-70); }
.about-page, .svc-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-layout { grid-template-columns: 1fr 340px; }
.about-side img, .svc-side img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--gold-line); }
.about-side, .svc-side { position: sticky; top: 90px; }
.side-card { background: var(--grey-800); border: 1px solid var(--grey-700); padding: 1.3rem; margin-top: 1rem; }
.side-card .price-line { margin: 0; }
.side-nav { margin-top: 1.5rem; }
.side-nav-h { color: var(--gold); font-size: .85rem; letter-spacing: .1em; margin-bottom: .5rem; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--grey-700); color: var(--ivory-70); font-size: .95rem; }
.side-nav a:hover { color: var(--gold-light); }
@media (max-width: 900px) {
  .about-page, .svc-layout { grid-template-columns: 1fr; }
  .svc-side { order: -1; } .about-side, .svc-side { position: static; }
  .about-side img, .svc-side img { aspect-ratio: 16/10; }
}

/* product hero */
.product-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--black); border-top: 1px solid var(--gold-line); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr auto; gap: 2rem; }
.footer-name { font-family: var(--font-cn); font-size: 1.4rem; color: var(--gold-light); font-weight: 700; margin: .8rem 0 .3rem; }
.footer-name span { font-family: var(--font-display); font-weight: 500; color: var(--ivory-70); font-size: 1.1rem; margin-left: .5rem; }
.footer-tag { color: var(--ivory-50); font-size: .92rem; max-width: 36ch; }
.footer-h { font-family: var(--font-cn); font-size: 1rem; color: var(--gold); letter-spacing: .1em; margin-bottom: .8rem; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-col a { color: var(--ivory-70); font-size: .93rem; }
.footer-col a:hover { color: var(--gold-light); }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 42px; height: 42px; border: 1px solid var(--grey-600); border-radius: var(--radius); display: grid; place-items: center; color: var(--ivory-70); }
.social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-qr { text-align: center; }
.qr-frame { display: inline-block; border: 1px solid var(--gold); padding: 10px; background: var(--black); position: relative; }
.qr-frame::before, .qr-frame::after { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--gold-light); }
.qr-frame::before { left: -3px; top: -3px; border-right: 0; border-bottom: 0; }
.qr-frame::after { right: -3px; bottom: -3px; border-left: 0; border-top: 0; }
.qr-frame .qr { display: block; width: 128px; height: 128px; }
.qr-frame--inline { margin-top: .5rem; }
.footer-qr p { font-size: .8rem; color: var(--ivory-50); margin: .6rem 0 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid var(--grey-700); margin-top: 3rem; padding: 1.2rem 0 5.5rem; font-size: .82rem; color: var(--ivory-50); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ivory-70); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-qr { text-align: left; } }

/* floating whatsapp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
@media (max-width: 600px) { .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; } .wa-float .ic { width: 24px; height: 24px; } }

/* reveal on scroll (one orchestrated pass, respects reduced motion) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cta-row--center { justify-content: center; }
.calc-callout { margin: 2rem auto 0; max-width: 820px; border: 1px solid var(--gold-line); background: var(--grey-900); padding: 1.3rem 1.4rem; }
.calc-callout p { color: var(--ivory-70); }
.field--check label { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.field--check input { width: 1.15rem; min-height: 0; margin-top: .25rem; accent-color: var(--gold); }
.field--check small { margin: .15rem 0 0 1.8rem; }
.bazi-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .bazi-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.bazi-result { border: 1px solid var(--gold-line); background: var(--grey-900); padding: clamp(1rem, 2vw, 1.5rem); min-height: 12rem; }
.bazi-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 0 0 1rem; padding: 0; }
.bazi-cell { border: 1px solid var(--gold-line); background: var(--black); text-align: center; padding: .75rem .3rem .85rem; }
.bazi-role { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .08em; }
.bazi-gz { display: block; font-family: var(--font-cn); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-light); line-height: 1.25; font-weight: 700; }
.bazi-py { display: block; color: var(--ivory-50); font-size: .78rem; }
.bazi-dm { color: var(--ivory); }
.bazi-counts { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--ivory-70); }
.bazi-counts li { margin: .35rem 0; }
@media (max-width: 520px) { .bazi-grid { grid-template-columns: repeat(2, 1fr); } }

/* Parallax depth. Transforms only, so layout does not shift. */
.section, .cta-band { position: relative; }
.section::after, .cta-band::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: 5%; top: 16%;
  background: radial-gradient(circle, rgba(201, 162, 39, .14), transparent 68%);
  transform: translate3d(0, var(--py, 0px), 0);
  pointer-events: none;
  z-index: 0;
}
.section > .wrap, .cta-band > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .section::after, .cta-band::after { display: none; }
  .hero-photo img { transform: none; }
}
