/* Serif display name (v30): Source Han Serif CN Medium subset, renamed “Bairui Display” under OFL.
   The @font-face declaration lives in styles.css (weight 500, unicode-range U+767D/U+777F). */
.hero h1{display:flex;align-items:center;gap:24px;font-family:'Bairui Display','Songti SC','Noto Serif CJK SC',serif;font-size:clamp(84px,7.4vw,96px);font-weight:500;letter-spacing:.02em;line-height:1.12;margin:0 0 27px;color:#253c51;font-synthesis:none}
.hero h1>.name-word{display:flex;align-items:center;width:max-content;gap:.06em;font:inherit;color:inherit;margin:0;line-height:inherit}
.name-letter{--name-ink:#355f94;--name-x:0px;--name-y:0px;--name-rx:0deg;--name-ry:0deg;--name-rz:0deg;position:relative;display:grid;place-items:center;flex:none;width:auto;min-width:.6em;height:1.1em;padding:0 .02em;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;letter-spacing:0;cursor:pointer;touch-action:pan-y;-webkit-tap-highlight-color:transparent;perspective:600px}
.name-letter:last-child{--name-ink:#26786b}
.name-glyph{display:block;transform:translate3d(var(--name-x),var(--name-y),0) rotateX(var(--name-rx)) rotateY(var(--name-ry)) rotateZ(var(--name-rz));transform-origin:50% 70%;transition:transform .65s cubic-bezier(.2,1.35,.35,1),color .2s,text-shadow .3s;backface-visibility:hidden}
.name-letter.is-following .name-glyph{transition:transform .12s ease-out,color .2s,text-shadow .3s}
.name-letter.is-following,.name-letter.is-tapped,.name-letter:focus-visible{color:var(--name-ink)}
.name-letter.is-following .name-glyph{text-shadow:0 10px 20px #58769a18}
.name-letter.is-pressed .name-glyph{transform:translateY(3px) scale(.94);transition:transform .12s ease-out}
.name-letter:after{content:'';position:absolute;bottom:-3px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:var(--name-ink);opacity:0;transform:scale(.4);transition:opacity .2s,transform .3s}
.name-letter.is-following:after,.name-letter.is-tapped:after,.name-letter:focus-visible:after{opacity:.7;transform:scale(1)}
.name-letter:focus-visible{outline:2px solid #7a94b3;outline-offset:6px}
.hero h1>.name-latin{display:block;font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:500;line-height:1.35;letter-spacing:-.025em;color:#718099;margin:5px 0 0}
@media(max-width:850px){.hero h1{font-size:80px;gap:20px}.hero h1>.name-latin{font-size:19px}}
@media(max-width:620px){.hero h1{font-size:74px;gap:18px;margin-bottom:24px}.hero h1>.name-latin{font-size:19px;margin:4px 0 0}.name-letter:after{bottom:-2px}}
@media(max-width:380px){.hero h1{font-size:68px;gap:16px}}
@media(prefers-reduced-motion:reduce){.name-glyph,.name-letter.is-following .name-glyph,.name-letter.is-pressed .name-glyph{transform:none;transition:none}.name-letter:after{transition:none}}
@media(forced-colors:active){.name-letter{color:ButtonText}.name-letter:focus-visible{outline-color:Highlight}.name-letter:after{background:Highlight}}
