/* A precise refinement of the existing stone / glass identity.
   The animated contour field and its compositing surfaces are unchanged. */
:root{--ink:#252827;--muted:#5c615e;--accent:#252827;--panel-edge:rgba(55,64,60,.19)}
::selection{background:#252827;color:#fafaf8}
:focus-visible{outline:2px solid #252827;outline-offset:5px}
.hero h1.matte-title{letter-spacing:-.045em;font-size:clamp(80px,10.2vw,174px);transform:perspective(1100px) rotateX(5deg) rotateY(-3deg)}
.tech-title .tech-solid{-webkit-text-stroke:.9px rgba(41,49,46,.8);background:linear-gradient(148deg,rgba(255,255,255,.92) 0%,rgba(114,127,120,.09) 33%,rgba(255,255,255,.88) 35%,rgba(85,102,93,.2) 64%,rgba(255,255,255,.68) 66%,rgba(83,98,89,.29) 100%);background-clip:text;-webkit-background-clip:text;text-shadow:1px 1px 0 rgba(255,255,255,.8),2px 2px 0 rgba(40,52,45,.22);filter:drop-shadow(1px 2px .6px rgba(25,35,29,.12))}
.tech-title .is-active .tech-solid{background:none;filter:none;text-shadow:none;-webkit-text-stroke:0}
.hero{padding-top:104px;min-height:760px}
.hero .hero-role{margin-top:10px;letter-spacing:-.015em;color:var(--ink)}
.hero .hero-description{color:var(--muted);margin-top:6px}
.portrait-orbit{margin-top:0}
.hero-portrait{top:12px;bottom:auto;width:clamp(330px,35vw,530px);height:calc(100% - 12px)}
.hero-portrait img{object-position:top center}
.hero-note{border-radius:12px;border-color:var(--panel-edge);box-shadow:inset 0 1px 0 rgba(255,255,255,.85);padding:24px;top:43%}
.hero-note-left{transform:rotate(-3deg)}
.hero-note-right{transform:rotate(3deg);top:47%}
.hero-note h2{font-weight:500;letter-spacing:-.035em}
.note-body{color:#515853}.note-tools{color:#515853}.note-eyebrow{color:#59615b;font-size:10px;letter-spacing:.06em}
.note-mark{border-radius:6px;border-color:var(--panel-edge)}
.note-link{font-size:12px;text-decoration-thickness:1px;transition:color .2s ease}
.note-link:hover{color:#000;text-decoration-thickness:2px}
.text-carousel .orbit-card strong{letter-spacing:-.025em;text-shadow:none}
.text-carousel .orbit-card .orbit-card-content>span{color:var(--muted)}
.text-carousel .orbit-card[data-contrast=light] strong{color:#fafaf8;text-shadow:0 1px 2px rgba(20,22,18,.85)}
.text-carousel .orbit-card[data-contrast=light] .orbit-card-content>span{color:#fafaf8}
.header,.header.scrolled{box-shadow:inset 0 -1px 0 rgba(40,48,43,.13)}
.header nav a{border-radius:5px}
.header button{border-radius:5px}
.header nav a.active{color:var(--ink);text-decoration-thickness:1px}
.wordmark{letter-spacing:-.025em}
.wordmark-mark{transition:transform .25s var(--ease)}
.wordmark:hover .wordmark-mark{transform:translate(3px,-3px)}
.timeline article,.strength-card,.strength-card:nth-child(2),.strength-card:nth-child(3),.project,.portrait-frame{border-radius:12px;border-color:var(--panel-edge);box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.portrait-frame img,.project-photo{border-radius:6px}
.portrait-frame{padding:10px}
.strength-card{padding:34px}
.strength-card h3{font-weight:600;letter-spacing:-.03em}
.strength-card>p,.timeline article>p:last-child,.project-copy>p:last-child{color:var(--muted)}
.strength-card .evidence{border-top:1px solid var(--panel-edge);padding-top:20px;margin-top:28px}
.section-heading h2{letter-spacing:-.04em}
.section-heading>p{color:var(--muted)}
.text-link,.orbit-control,#copy-email,.hero.text-home .hero-bottom .scroll-link{background:var(--ink);color:#fafaf8;border:1px solid var(--ink);border-radius:6px;box-shadow:none;transition:background .2s ease,color .2s ease,transform .25s var(--ease)}
.text-link:hover,.text-link:focus-visible,.orbit-control:not(:disabled):hover,#copy-email:hover,.hero.text-home .hero-bottom .scroll-link:hover{background:#fafaf8;color:var(--ink);border-color:var(--ink);box-shadow:none;text-decoration:none;transform:translateY(-2px)}
.text-link:active,.orbit-control:active,#copy-email:active,.hero.text-home .hero-bottom .scroll-link:active{transform:translateY(0)}
.text-link::after{content:'↗';margin-left:10px;display:inline-block;transition:transform .25s var(--ease)}
.text-link:hover::after{transform:translate(2px,-2px)}
.orbit-control:disabled{background:#e5e7e3;color:#636862;border-color:#c9cdc7;transform:none}
.email{border-radius:5px}
.projects{gap:52px 32px;align-items:stretch;counter-reset:project}
.project{counter-increment:project;display:flex;flex-direction:column;padding:10px}
.project-spine{margin-top:0}
.project-chrono .project-photo,.project-spine .project-photo{height:auto;aspect-ratio:4/5;flex:none}
.project-copy{padding:24px 16px 16px;display:flex;flex-direction:column;flex:1}
.project-title-row{align-items:baseline;gap:14px}
.project-title-row h3{font-size:clamp(27px,2.5vw,40px);letter-spacing:-.035em}
.project-title-row>span{font-size:12px;color:var(--ink);padding:0 0 4px;border-bottom:1px solid var(--ink)}
.project-type{margin-top:17px;font-size:13px;color:#535b55;display:flex;gap:13px;align-items:baseline}
.project-type::before{content:counter(project,decimal-leading-zero);font-variant-numeric:tabular-nums;color:var(--ink);font-size:12px;font-weight:600}
.project-copy>p{max-width:55ch}
.project-copy>p:last-of-type{font-size:15px;line-height:1.65;color:var(--muted);margin-top:12px}
.project-details{display:grid;grid-template-columns:70px 1fr;gap:8px 14px;margin:24px 0 0;padding-top:18px;border-top:1px solid var(--panel-edge);font-size:13px;line-height:1.55}
.project-details dt{color:#535b55}.project-details dd{margin:0;color:var(--ink)}
.project-factory{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:center}
.project-factory .project-copy{padding:24px 22px 24px 0}
.project-factory .project-photo{aspect-ratio:1.28}
.project-factory h3{font-size:clamp(28px,3vw,46px)}
.project-open{border-radius:6px;background:rgba(250,250,248,.9)}
.project:hover .project-open{background:var(--ink);color:#fff;transform:translate(3px,-3px)}
.photo-note{border-radius:4px;font-size:12px}
.edge-trace::before{padding:1px}.edge-trace::after{inset:0;filter:none;opacity:.2;padding:1px}
.contact h2.tech-title{letter-spacing:-.04em}
.contact-top,.contact footer{color:var(--muted)}
@media(min-width:1650px){.hero{padding-top:112px}.hero-portrait{width:560px}}
@media(max-width:1000px){.hero{padding-top:110px}.hero-note{padding:19px 17px}.hero-portrait{width:380px}.strength-card{padding:28px}.project-copy{padding:22px 10px 14px}.project-factory{gap:22px}.project-factory .project-copy{padding:22px 12px 22px 0}}
@media(max-width:700px){
 .hero{padding-top:106px;min-height:820px}.hero h1.matte-title{font-size:13vw;letter-spacing:-.045em}html[lang=zh] .hero h1.matte-title{letter-spacing:-.045em}
 .hero .hero-role{margin-top:12px}.hero .hero-description{margin-top:8px}.portrait-orbit{margin-top:20px}
 .hero-portrait{top:auto;bottom:42px;width:210px;height:100%;max-height:400px}.hero-portrait img{object-position:bottom center}
 .hero-note{border-radius:10px;top:33%;padding:14px 12px}.hero-note-right{top:35%}.hero-note h2{letter-spacing:-.025em}.note-eyebrow{font-size:8px;letter-spacing:.025em}.note-body{font-size:10px}.note-link{font-size:10px}
 .tech-title .tech-solid{-webkit-text-stroke:.65px rgba(41,49,46,.8);text-shadow:1px 1px 0 rgba(255,255,255,.8),1.5px 1.5px 0 rgba(40,52,45,.22)}
 .hero.text-home .hero-bottom .scroll-link{font-size:12px;padding:8px 11px}.projects{gap:32px}.project-copy{padding:22px 10px 14px}
 .project-chrono .project-photo,.project-spine .project-photo{aspect-ratio:4/5}.project-factory{display:flex;gap:0}.project-factory .project-photo{width:100%;aspect-ratio:1.1}.project-factory .project-copy{padding:22px 10px 14px}
 .project-title-row h3,.project-factory h3{font-size:29px}.project-details{grid-template-columns:58px 1fr;font-size:12px;gap:7px 12px}.strength-card{padding:28px}.contact h2.tech-title{letter-spacing:-.04em}
}
@media(prefers-reduced-motion:reduce){.text-link:hover,.orbit-control:hover,#copy-email:hover,.hero.text-home .hero-bottom .scroll-link:hover,.project:hover .project-open,.wordmark:hover .wordmark-mark,.text-link:hover::after{transform:none}}

/* Annotated refinements: equal-height biography columns and quieter footer. */
.about-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(36px,6vw,100px);align-items:stretch}
.about-grid .portrait-frame{position:relative;top:auto;align-self:stretch;display:flex;flex-direction:column;width:100%;height:100%;min-height:0}
.about-grid .portrait-frame img{height:0;min-height:0;flex:1;object-fit:cover;object-position:center 30%}
.about-grid .portrait-frame figcaption{flex:none;margin-top:16px}
.about-copy{min-width:0}
@media(min-width:1001px){.about-copy{display:flex;flex-direction:column}.about-copy .timeline{margin-top:auto}}
.contact-top{justify-content:flex-end}
.wordmark{letter-spacing:.015em;font-weight:600}
@media(max-width:1000px){.about-grid{grid-template-columns:1fr;gap:34px}.about-grid .portrait-frame{height:auto;width:min(420px,85%);justify-self:start}.about-grid .portrait-frame img{height:auto;flex:none;aspect-ratio:4/5}}
