/* Homepage compositions. Shared colours, controls and navigation live in wute.css. */
@font-face { font-family: '造字工房力黑'; src: url('../fonts/ZaoZiLiHei.woff2?v=20260924e') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: '狂派手书'; src: url('../fonts/AaKuangPai.woff2?v=20260924e') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
.home-container { width: min(calc(100% - var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.home-eyebrow { display: flex; align-items: center; color: var(--text-secondary); font-size: .875rem; font-weight: 600; margin-bottom: 16px; }
.home-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-primary); font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.home-text-link:hover { color: var(--brand-blue-text); }

/* The desktop hero occupies the complete viewport, with the navigation over the image. */
.home-page .hero-slider { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg-deep); }
.home-page .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.home-page .slide.active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .6s ease; }
.home-page .slide picture { display: block; width: 100%; height: 100%; }
.home-page .slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.home-page .slide-testing img { object-position: 60% 53%; }
.home-page .slide-track img { object-position: 58% 60%; }
.home-page .slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,16,.82) 0%, rgba(11,13,16,.42) 32%, transparent 68%), linear-gradient(0deg, rgba(11,13,16,.78), transparent 26%); pointer-events: none; }
.hero-identity { position: absolute; z-index: 4; top: calc(var(--nav-height) + 32px); left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); color: var(--text-primary); font-size: .875rem; font-weight: 600; }
.home-page .slide-text { position: absolute; z-index: 3; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); bottom: 28%; width: min(820px, 64vw); }
.home-page :where(.slide-e03) .slide-text { bottom: 35%; }
.home-page .hero-eyebrow { color: var(--text-primary); font-size: .94rem; font-weight: 600; margin-bottom: 20px; }
.home-page .hero-title { color: #fff; font-family: '造字工房力黑', var(--font-display); font-size: clamp(64px, 5.6vw, 88px); font-weight: 400; font-synthesis: none; line-height: 1.05; letter-spacing: -.015em; word-spacing: .1em; margin-bottom: 20px; text-wrap: balance; }
.home-page .hero-title-slogan { font-size: clamp(42px, 5vw, 80px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.home-page .hero-title-cn { font-family: '狂派手书', var(--font-display); font-size: clamp(48px, 4.4vw, 64px); line-height: 1.2; letter-spacing: .06em; }
.home-page .hero-description { color: #fff; font-size: 1.125rem; line-height: 1.6; }
.home-page .hero-cta-group { margin-top: 28px; }
.home-page .cta-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 48px; padding: 12px 24px; color: var(--bg-deep); background: var(--text-primary); border: 1px solid var(--text-primary); border-radius: 2px; text-decoration: none; font-size: .94rem; font-weight: 700; transition: background .2s ease; }
.home-page .cta-primary:hover { background: #dce5ef; }
.hero-caption { position: absolute; z-index: 3; bottom: 32px; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); color: #fff; font-size: .875rem; }
.hero-caption span { margin-left: 16px; color: #d4d8de; }
.hero-controls { position: absolute; z-index: 4; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); bottom: 24px; display: flex; align-items: center; gap: 12px; }
.home-page .slider-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font: 1.2rem var(--font-body); cursor: pointer; transition: background .2s ease, color .2s ease; }
.home-page .slider-arrow:hover { color: var(--bg-deep); background: #fff; }
.slide-count { color: #fff; font: .875rem var(--font-mono); }
.hero-explore { position: absolute; z-index: 3; bottom: 36px; left: 62%; color: #fff; font-size: .875rem; text-decoration: none; }
.hero-explore span { margin-left: 8px; }

/* Vehicle: one contained technical image and a quiet specification list. */
.car-stage { padding: var(--section-pad) 0; background: var(--bg-deep); color: var(--text-primary); }
.car-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.car-heading-row h2 { font: 700 clamp(48px, 5vw, 72px)/1.1 var(--font-display); letter-spacing: -.025em; }
.car-heading-row h2 span { color: var(--text-secondary); }
.car-intro { max-width: 300px; color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }
.car-stage-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); align-items: start; gap: clamp(32px, 4vw, 64px); }
.car-render { overflow: hidden; background: #363735; border-radius: 4px; }
.car-render img { display: block; width: 100%; height: auto; object-fit: contain; }
.car-render figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--border-default); color: #fff; font-size: .875rem; }
.car-render figcaption span { color: #d6d7d5; }
.car-summary { max-width: 600px; margin-bottom: 24px; color: var(--text-secondary); font-size: 1.125rem; line-height: 1.75; }
.car-specs dl { border-top: 1px solid var(--border-default); }
.car-specs dl > div { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border-default); }
.car-specs dt { color: var(--text-secondary); font-size: .875rem; }
.car-specs dd { color: var(--text-primary); font-size: 1rem; text-align: right; }
.car-specs dd strong { font: 700 2.25rem/1 var(--font-display); }
.car-specs dd span { color: var(--text-secondary); }
.car-detail-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 48px; margin-top: 24px; padding: 12px 24px; background: var(--text-primary); color: var(--bg-deep); border-radius: 2px; text-decoration: none; font-size: .94rem; font-weight: 700; }
.car-detail-link:hover { background: #dce5ef; }
.car-stage-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; color: var(--text-secondary); border-top: 1px solid var(--border-default); font-size: .875rem; }
.car-stage-footer a { color: var(--text-primary); text-underline-offset: 5px; }

/* People and the six real disciplines. */
.home-team { padding: var(--section-pad) 0 64px; background: var(--bg-surface); }
.team-heading-row, .home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.team-heading-row h2 { font-size: clamp(36px, 3.2vw, 44px); }
.home-team-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
.home-team figure img { display: block; width: 100%; height: auto; border-radius: 4px; }
.home-team figcaption { padding-top: 12px; color: var(--text-secondary); font-size: .875rem; }
.home-team-copy p { margin-bottom: 24px; color: var(--text-secondary); font-size: 1.125rem; line-height: 1.75; }
.home-team-copy p:first-child { color: var(--text-primary); font-weight: 700; }
.features { padding: 0 0 var(--section-pad); background: var(--bg-surface); }
.features .section-title { margin-bottom: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--border-default); background: var(--border-default); }
.feature-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 180px; padding: 32px; color: var(--text-primary); background: var(--bg-surface); text-decoration: none; transition: background .2s ease; }
.feature-card:hover { background: #20252c; }
.feature-card h3 { font-size: 1.5rem; }
.feature-card p { max-width: 280px; color: var(--text-secondary); font-size: .94rem; line-height: 1.6; }
.feature-card span { position: absolute; top: 30px; right: 30px; color: var(--text-secondary); }
.home-fsc { padding: 40px 0; border-top: 1px solid var(--border-default); background: var(--bg-surface); }
.home-fsc .home-container { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 32px; }
.home-fsc .home-eyebrow { margin-bottom: 8px; }
.home-fsc h2 { font-size: 1.5rem; }
.home-fsc p:not(.home-eyebrow) { max-width: 680px; color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }

/* Photography and partners. */
.grad-section { padding: var(--section-pad) 0; background: var(--bg-deep); }
.grad-section .section-title { margin-bottom: 0; }
.home-albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-album { min-width: 0; color: var(--text-primary); text-decoration: none; }
.home-album img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; }
.home-album > span { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.home-album strong { font-size: 1.25rem; }
.home-album small { color: var(--text-secondary); font-size: .875rem; }
.home-album:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.home-join { padding: var(--section-pad) 0; background: var(--bg-deep); border-top: 1px solid var(--border-default); }
.home-join-grid { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.home-join h2 { max-width: 780px; font-size: clamp(36px, 4vw, 56px); }
.home-join .btn { flex-shrink: 0; }

@media (max-width: 1100px) {
    .hero-explore { display: none; }
    .home-fsc .home-container { grid-template-columns: 1fr 2fr; }
    .home-fsc a { grid-column: 2; }
}
@media (max-width: 767px) {
    .home-page .hero-slider { height: 100svh; min-height: 640px; }
    .hero-identity { top: calc(var(--nav-height) + 20px); left: var(--gutter); right: auto; max-width: calc(100% - var(--gutter) * 2); font-size: .8125rem; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
    .home-page .slide picture { position: absolute; top: var(--nav-height); height: 62%; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%); }
    .home-page .slide img { object-position: 70% 60%; }
    .home-page .slide-testing img { object-position: 55% 50%; }
    .home-page .slide-track img { object-position: 55% 60%; }
    .home-page .slide::after { background: linear-gradient(0deg, var(--bg-deep) 18%, rgba(11,13,16,.95) 27%, rgba(11,13,16,.08) 58%, rgba(11,13,16,.38) 100%); }
    .home-page .slide-text { left: var(--gutter); right: var(--gutter); bottom: 104px; width: auto; }
    .home-page .hero-eyebrow { margin-bottom: 12px; font-size: .875rem; }
    .home-page .hero-title { font-size: clamp(31px, 9.7vw, 42px); margin-bottom: 16px; }
    .home-page .hero-title-slogan { font-size: clamp(25px, 7.7vw, 31px); }
    .home-page .hero-title-cn { font-size: clamp(32px, 8vw, 38px); }
    .home-page .hero-description { font-size: 1rem; }
    .home-page .hero-cta-group { margin-top: 20px; }
    .hero-caption { left: var(--gutter); bottom: 26px; max-width: calc(100% - 170px); font-size: .875rem; }
    .hero-caption span { display: block; margin: 0; font-size: .875rem; }
    .hero-controls { right: var(--gutter); bottom: 24px; gap: 6px; }
    .slide-count { font-size: .875rem; }
    .car-heading-row, .team-heading-row, .home-section-heading, .home-join-grid { align-items: start; flex-direction: column; gap: 16px; }
    .car-stage-grid, .home-team-grid, .home-albums { grid-template-columns: 1fr; gap: 32px; }
    .car-heading-row h2 { font-size: 48px; }
    .car-render figcaption { padding: 12px 16px; }
    .car-stage-footer { flex-wrap: wrap; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 144px; padding: 24px; }
    .feature-card span { top: 22px; right: 24px; }
    .home-fsc .home-container { grid-template-columns: 1fr; }
    .home-fsc a { grid-column: auto; }
    .home-join .btn { margin-top: 8px; }
}
@media (max-width: 380px) {
    .home-page .hero-title { font-size: 29px; }
    .home-page .hero-title-slogan { font-size: 25px; }
    .home-page .cta-primary { gap: 16px; }
    .home-page .slider-arrow { width: 44px; height: 44px; }
    .hero-caption { max-width: calc(100% - 152px); }
}
@media (max-width: 380px) and (max-height: 650px) {
    .home-page .slide picture { height: 48%; }
}
@media (max-height: 650px) and (min-width: 768px) {
    .hero-identity { top: calc(var(--nav-height) + 12px); }
    .home-page .slide-text { bottom: 16%; }
    .home-page .hero-title { font-size: clamp(48px, 5vw, 64px); }
    .home-page .hero-title-slogan { font-size: clamp(42px, 5vw, 64px); }
    .home-page .hero-cta-group { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .slide { transition: none; }
}

/* 原版首屏的文字入场和轻微视差，以合成属性实现。 */
.home-page .cta-primary, .car-detail-link { background: var(--brand-action); border-color: var(--brand-action); color: #fff; }
.home-page .cta-primary:hover, .car-detail-link:hover { background: var(--brand-action-hover); border-color: var(--brand-action-hover); color: #fff; transform: translateY(-2px); }
.home-page .slide img { transform: translate3d(0, var(--hero-drift, 0px), 0) scale(1.08); transition: transform .15s linear; }
.home-page .slide.active .hero-eyebrow { animation: hero-rise .75s .08s both var(--motion-ease); }
.home-page .slide.active .hero-title { animation: hero-rise .9s .18s both var(--motion-ease); }
.home-page .slide.active .hero-description { animation: hero-rise .8s .32s both var(--motion-ease); }
.home-page .slide.active .hero-cta-group { animation: hero-rise .8s .43s both var(--motion-ease); }
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 让影像成为每个章节的节奏点，文字和照片仍共用左边线。 */
.car-stage { border-top: 1px solid rgba(255,255,255,.08); }
.car-heading-row h2 span { color: #8ca9ce; }
.car-stage-grid .car-render { transition: border-color .3s ease; border: 1px solid rgba(255,255,255,.12); }
.car-stage-grid .car-render:hover { border-color: rgba(125,180,255,.55); }
.home-team figure, .home-album { overflow: hidden; }
.home-team figure img, .home-album img { transition: transform .65s var(--motion-ease), filter .5s ease; }
.home-team figure:hover img, .home-album:hover img { transform: scale(1.035); filter: saturate(1.08); }
.home-fsc { border-top: 1px solid var(--border-default); }
.home-fsc h2 { max-width: 220px; }
.home-join {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 0;
}
.home-join::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('../picture/ABC_3469-opq4142934343-hd.webp') center 54% / cover no-repeat;
}
.home-join::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(6,10,15,.88), rgba(6,10,15,.42) 60%, rgba(6,10,15,.22));
}
.home-join h2 {
    font-family: '造字工房力黑', var(--font-display);
    font-weight: 400;
    font-synthesis: none;
    font-size: clamp(3rem, 5.2vw, 5.5rem);
    line-height: 1.05;
    white-space: nowrap;
    letter-spacing: -.02em;
}
.home-join p:not(.section-label) { max-width: 570px; margin-top: 18px; color: #e1e6ec; font-size: 1.05rem; }
.home-join .section-label { color: #d7e2f0; }
@media (max-width: 767px) {
    .home-page .slide img { transform: none; }
    .home-join { min-height: 360px; }
    .home-join::after { background: linear-gradient(0deg, rgba(6,10,15,.95), rgba(6,10,15,.36)); }
    .home-join h2 { font-size: clamp(1.75rem, 7.7vw, 2.9rem); }
    .home-join p:not(.section-label) { font-size: 1rem; }
    .hero-caption span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .slide img, .home-team figure img, .home-album img { transform: none; }
    .home-page .slide.active .hero-eyebrow,
    .home-page .slide.active .hero-title,
    .home-page .slide.active .hero-description,
    .home-page .slide.active .hero-cta-group { animation: none; }
}
