/* 睿宜官网 · 家族办公室风（深墨 + 香槟金 + 衬线标题） */
:root {
  --bg: #0E1418;
  --bg-2: #121B20;
  --panel: rgba(255, 255, 255, .026);
  --panel-2: rgba(255, 255, 255, .04);
  --ink: #ECF1F3;
  --ink-2: #A2B1B6;
  --ink-3: #6C7B81;
  --gold: #C7A667;
  --gold-2: #D8BC84;
  --gold-soft: rgba(199, 166, 103, .13);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .055);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "Georgia", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
  --wrap: 1140px;
  --pad: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 620px at 78% -8%, rgba(199, 166, 103, .09), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(90, 120, 130, .07), transparent 55%);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; line-height: 1.22; margin: 0; }
p { margin: 0; }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow {
  font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px; font-weight: 600;
}
.skip {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: #1a1207;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; font-weight: 600;
}
.skip:focus { left: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border: 1px solid var(--gold);
  color: var(--gold-2); border-radius: 2px; font-weight: 600; font-size: 15px;
  letter-spacing: .02em; transition: all .25s ease; background: transparent;
}
.btn:hover { background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(199, 166, 103, .06); }
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(12, 18, 21, .82); backdrop-filter: blur(14px); border-bottom-color: var(--line-2); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--gold-2);
  border: 1px solid var(--gold); border-radius: 3px; background: var(--gold-soft);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .08em; }
.brand-name i { font-style: normal; font-size: 10.5px; letter-spacing: .34em; color: var(--ink-3); margin-top: 2px; }
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a { font-size: 15px; color: var(--ink-2); transition: color .2s; position: relative; padding: 6px 0; }
.main-nav a:hover { color: var(--ink); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .25s; }
.main-nav a:hover::after { width: 100%; }
.bar-right { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 13.5px; letter-spacing: .05em; color: var(--ink-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 2px; transition: all .2s; }
.lang:hover { color: var(--gold-2); border-color: var(--gold); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.drawer { display: none; }

/* hero */
.hero { position: relative; min-height: 86vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 60px; }
.hero .wrap { max-width: 980px; }
.hero-title { font-size: clamp(26px, 6.2vw, 78px); line-height: 1.15; letter-spacing: .005em; margin-bottom: 30px; white-space: nowrap; }
html[lang="en"] .hero-title { white-space: normal; }
.hero-lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 620px; line-height: 1.85; margin-bottom: 40px; }
.scroll-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-3); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.scroll-hint svg { width: 18px; height: 18px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* sections */
.section { padding: clamp(72px, 11vw, 128px) 0; border-top: 1px solid var(--line-2); }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 0; }
.section-head.center { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-lead { color: var(--ink-2); font-size: 17px; margin-top: 18px; }
.grid-2 { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }

/* about */
.about-body p { color: var(--ink-2); margin-bottom: 22px; font-size: 16.5px; line-height: 1.92; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 40px 0 0; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.stat { background: var(--bg); padding: 22px 24px; }
.stat dt { color: var(--ink-3); font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }
.stat dd { margin: 0; font-family: var(--serif); font-size: 21px; color: var(--ink); }

/* philosophy */
.tenets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tenet { position: relative; padding: 34px 26px 30px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 5px; transition: border-color .3s, transform .3s, background .3s; }
.tenet:hover { border-color: rgba(199, 166, 103, .4); transform: translateY(-4px); background: var(--panel-2); }
.tenet-ico { display: grid; place-items: center; width: 46px; height: 46px; color: var(--gold-2); border: 1px solid var(--gold); border-radius: 50%; margin-bottom: 22px; background: var(--gold-soft); }
.tenet-ico svg { width: 22px; height: 22px; }
.tenet-no { position: absolute; top: 26px; right: 26px; font-family: var(--serif); font-size: 15px; color: var(--ink-3); }
.tenet h3 { font-size: 20px; margin-bottom: 12px; }
.tenet p { color: var(--ink-2); font-size: 14.5px; line-height: 1.78; }

/* focus */
.focus-list { border-top: 1px solid var(--line-2); }
.focus-row { display: grid; grid-template-columns: 88px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; transition: padding-left .3s; }
.focus-row:hover { padding-left: 10px; }
.focus-no { font-family: var(--serif); font-size: 30px; color: var(--gold); opacity: .55; }
.focus-main h3 { font-size: 23px; margin-bottom: 10px; }
.focus-en { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-left: 8px; }
.focus-main p { color: var(--ink-2); font-size: 16px; max-width: 680px; }
.focus-note { margin-top: 30px; color: var(--ink-3); font-size: 14px; font-style: italic; }

/* approach */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 54px); }
.step { border-top: 2px solid var(--gold); padding-top: 26px; }
.step-no { font-family: var(--serif); font-size: 14px; letter-spacing: .1em; color: var(--gold); }
.step h3 { font-size: 22px; margin: 14px 0 12px; }
.step p { color: var(--ink-2); font-size: 15.5px; line-height: 1.82; }

/* contact */
.contact-note { color: var(--ink-2); font-size: 17px; line-height: 1.9; margin-bottom: 34px; max-width: 560px; }
.chans { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.chan { background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; }
.chan dt { color: var(--ink-3); font-size: 14px; letter-spacing: .06em; }
.chan dd { margin: 0; font-family: var(--serif); font-size: 17px; }

/* 占位徽标 */
.tbd { display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: .05em; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 999px; padding: 2px 11px; vertical-align: middle; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 66px 0 48px; background: var(--bg-2); }
.foot-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.foot-brand b { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: .04em; }
.foot-brand small { color: var(--ink-3); font-size: 12.5px; letter-spacing: .04em; }
.disclaimer { color: var(--ink-3); font-size: 13px; line-height: 1.85; max-width: 780px; margin-bottom: 26px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.foot-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-3); font-size: 12.5px; }
.foot-meta a:hover { color: var(--gold-2); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(32px, 6vw, 56px); margin: 8px 0 18px; }
.notfound p { color: var(--ink-2); margin-bottom: 28px; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 900px) {
  .hero { min-height: auto; justify-content: flex-start; padding: 40px 0 52px; }
  .hero-lead { margin-bottom: 32px; }
  .scroll-hint { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .tenets { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .drawer[data-open] { display: flex; }
  .drawer { flex-direction: column; gap: 4px; padding: 8px var(--pad) 20px; background: rgba(12, 18, 21, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
  .drawer a { padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 16px; }
  .drawer .lang { display: none; }
}
@media (max-width: 560px) {
  .tenets { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .focus-row { grid-template-columns: 1fr; gap: 8px; }
  .chan { flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand-name i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
