/* Project overview: the shared product / solution hero, followed by two
   alternating reference compositions using the same content hierarchy. */
.projects-overview{
 position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;
 justify-content:space-between;gap:64px;padding:164px 50px 40px;min-height:680px;
 border-radius:var(--vg-radius-lg);color:#fff;background:var(--vg-dark);
}
.projects-overview-image{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:center}
.projects-overview::before{
 content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
 background:linear-gradient(90deg,#10271edb 0%,#10271e9c 38%,#10271e14 78%),linear-gradient(0deg,#10271e9c,transparent 55%);
}
.projects-overview-copy{max-width:850px}
.projects-overview-copy>.ref-kicker{margin-bottom:20px;color:#fff;font-size:12px}
.projects-overview h1{font-size:var(--vg-display);font-weight:450;line-height:1.22;letter-spacing:-.045em}
.projects-overview h1 span{display:block}
.projects-overview-copy>p:last-child{font-size:var(--vg-body);line-height:1.85;max-width:38em;margin-top:24px;text-wrap:pretty}
.projects-entry-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.projects-entry{
 min-width:0;display:flex;align-items:center;justify-content:space-between;gap:18px;
 padding:24px;border:1px solid #ffffff24;border-radius:var(--vg-radius-md);
 background:#dae9d524;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
 transition:background var(--vg-fast),transform var(--vg-medium) var(--vg-ease);
}
.projects-entry:hover{background:#dae9d542;transform:translateY(-4px)}
.projects-entry-number{display:block;font-size:11px;line-height:1.5;color:#d1efdc;letter-spacing:.045em;margin-bottom:10px}
.projects-entry h2{font-size:clamp(17px,1.45vw,24px);line-height:1.35;font-weight:400;letter-spacing:-.025em}
.projects-entry p{font-size:13px;line-height:1.5;margin-top:9px;color:#f1f6ef}
.projects-entry-arrow{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:var(--vg-accent);color:var(--vg-ink)}
.projects-entry-arrow .arrow{width:18px;height:18px}
.projects-entry:focus-visible{outline-color:#fff;outline-offset:-5px}
/* Desktop is the project's supported validation scope. Existing smaller-screen
   styles for the reference cards remain in projects-reference.css. */
@media(min-width:800px){
 .vg-shell[data-page=projects] .ref-data-note{color:var(--vg-muted)}
 .vg-shell[data-page=projects] #project-solutions{gap:clamp(32px,3vw,52px);margin-top:var(--vg-card-gap)}
 .vg-shell[data-page=projects] .reference-case{padding:clamp(40px,4vw,72px) var(--vg-card-padding);scroll-margin-top:12px;border-radius:var(--vg-radius-lg)}
 .vg-shell[data-page=projects] .ref-case-two{background:var(--vg-surface-soft);grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:clamp(48px,5vw,80px)}
 .vg-shell[data-page=projects] .ref-case-three{--ref-card-surface:var(--vg-surface);grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:clamp(48px,4.5vw,72px);row-gap:52px}
 .vg-shell[data-page=projects] .reference-case .ref-title{font-size:clamp(30px,2.35vw,44px);line-height:1.4;font-weight:400;letter-spacing:-.035em}
 .vg-shell[data-page=projects] .ref-second-copy .ref-title{margin-top:30px}
 .vg-shell[data-page=projects] .ref-project-name{font-size:16px;line-height:1.8;margin-top:28px}
 .vg-shell[data-page=projects] .ref-summary{font-size:var(--vg-body);line-height:1.9;color:var(--vg-muted);margin-top:24px}
 .vg-shell[data-page=projects] .ref-kicker{font-size:10px;color:var(--vg-muted)}
 .vg-shell[data-page=projects] .projects-overview-copy>.ref-kicker{display:none}
 .vg-shell[data-page=projects] .ref-metrics dt{font-size:11px;color:var(--vg-muted)}
 .vg-shell[data-page=projects] .ref-metrics dd{font-size:clamp(27px,2vw,36px)}
 .vg-shell[data-page=projects] .ref-second-media{min-height:clamp(500px,43vw,720px);padding-bottom:50px}
 .vg-shell[data-page=projects] .ref-second-visual{bottom:50px}
 .vg-shell[data-page=projects] .ref-second-detail{height:clamp(160px,14vw,230px)}
 .vg-shell[data-page=projects] #case-04 .ref-detail-crop{transform-origin:83% 88%;transform:scale(2.4)}
 .vg-shell[data-page=projects] .ref-third-visual{min-height:clamp(420px,34vw,580px)}
 .vg-shell[data-page=projects] .ref-third-mask{min-height:clamp(385px,31.5vw,545px)}
 .vg-shell[data-page=projects] .ref-image-caption{color:var(--vg-muted);font-size:10px}
 .vg-shell[data-page=projects] .ref-second-visual>figcaption{max-width:55%}
 .vg-shell[data-page=projects] .ref-third-link{min-height:44px}
 .vg-shell[data-page=projects] .ref-explore{min-height:44px;align-items:center}
 html:not([lang=zh-CN]) .vg-shell[data-page=projects] .reference-case .ref-title{font-size:clamp(30px,2.35vw,44px);line-height:1.2}
}
@media(prefers-reduced-motion:reduce){
 .projects-entry{transition:none}
 .projects-entry:hover{transform:none}
}
