:root {
  --yuying-ink: #2b160e;
  --yuying-copy: #694a3b;
  --yuying-muted: #8a6b5c;
  --yuying-line: rgba(75, 39, 23, .16);
  --yuying-orange: #f05a24;
  --yuying-orange-dark: #cc4218;
  --yuying-cream: #fff8ef;
  --yuying-paper: #fffdf9;
  --yuying-dark: #29170f;
  --yuying-dark-soft: #382118;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { color: var(--yuying-ink); overflow-x: hidden; }
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #ff8a52; outline-offset: 4px; }
button { color: inherit; }
.anchor-alias { position: absolute; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }
.recruitment-home { background: var(--yuying-cream); }
.recruitment-home > section { position: relative; background: transparent; }
.recruitment-home p { color: var(--yuying-copy); }
.recruitment-home .section-note { color: var(--yuying-muted); }
.text-link { display: inline-flex; width: fit-content; margin-top: 20px; color: var(--yuying-orange-dark); font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--yuying-orange); }

.public-nav .mobile-menu, .home-nav .mobile-menu { padding: 8px; border: 0; background: transparent; color: var(--yuying-ink); cursor: pointer; }
.mobile-panel { position: relative; z-index: 20; display: grid; padding: 8px 20px 18px; border-top: 1px solid var(--yuying-line); background: rgba(255, 248, 239, .98); }
.mobile-panel a { padding: 13px 0; border-bottom: 1px solid rgba(75, 39, 23, .1); color: var(--yuying-copy); font-size: 14px; }
.mobile-panel a:last-child { color: var(--yuying-orange-dark); font-weight: 800; }

.recruitment-hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: 54px; align-items: center; padding-top: 74px; padding-bottom: 78px; }
.recruitment-hero-copy { min-width: 0; }
.recruitment-hero.hero-copy-only { grid-template-columns: minmax(0, 820px); }
.recruitment-hero h1 { max-width: 650px; margin: 22px 0 24px; color: var(--yuying-ink); font-size: clamp(48px, 5.3vw, 76px); line-height: 1.04; letter-spacing: -.065em; }
.recruitment-hero h1:after { display: none; }
.hero-directions { margin: 0; color: var(--yuying-orange-dark) !important; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.recruitment-hero .lead { max-width: 600px; margin-top: 17px; color: var(--yuying-copy); font-size: 16px; line-height: 1.85; }
.hero-actions { flex-wrap: wrap; margin-top: 30px; }
.hero-actions .button.primary { order: 3; }
.showreel-shell { position: relative; min-width: 0; aspect-ratio: 1.18; overflow: hidden; border-radius: 26px; background: var(--yuying-dark); box-shadow: 0 26px 70px rgba(91, 43, 20, .18); }
.showreel-shell video { display: block; width: 100%; height: 100%; object-fit: cover; }
.showreel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 12, 8, .05) 35%, rgba(24, 12, 8, .82) 100%); pointer-events: none; }
.showreel-heading { position: absolute; top: 24px; left: 24px; display: grid; gap: 5px; color: #fff8ef; }
.showreel-heading span { font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.showreel-heading b { font-size: 13px; }
.showreel-play { position: absolute; inset: 50% auto auto 50%; width: 112px; height: 112px; display: grid; place-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; background: rgba(43,22,14,.72); color: #fff8ef; transform: translate(-50%, -50%); backdrop-filter: blur(8px); }
.showreel-play span { font-size: 23px; }
.showreel-play small { max-width: 78px; font-size: 9px; line-height: 1.35; }
.showreel-caption { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 8px; color: #fff8ef; }
.showreel-caption span { color: #ffb487; font-size: 9px; letter-spacing: .15em; font-weight: 800; }
.showreel-caption strong { max-width: 460px; font-size: clamp(21px, 2vw, 30px); line-height: 1.15; }

.selected-works { padding: 96px 0 104px; background: var(--yuying-dark) !important; color: #fff8ef; }
.selected-works .section-head { margin-bottom: 38px; }
.selected-works h2 { color: #fff8ef; }
.selected-works .section-note { color: rgba(255,248,239,.66); }
.dark-eyebrow { background: rgba(240,90,36,.18); color: #ff9c70; }
.works-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.works-rail::-webkit-scrollbar { display: none; }
.work-feature { min-width: 0; overflow: hidden; scroll-snap-align: start; border-top: 2px solid #f26a36; background: var(--yuying-dark-soft); }
.work-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-content: center; overflow: hidden; background: #4a2c20; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-media > span { color: #f47b48; font-size: 52px; font-weight: 800; }
.work-media > b { margin-top: 10px; color: rgba(255,248,239,.52); font-size: 10px; letter-spacing: .18em; }
.work-play { position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--yuying-orange); color: white; }
.work-feature-copy { padding: 24px; }
.work-type { color: #ff9c70; font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.work-feature h3 { margin: 14px 0 24px; color: #fff8ef; font-size: 26px; }
.work-feature dl { display: grid; gap: 10px; margin: 0; }
.work-feature dl div { display: flex; justify-content: space-between; gap: 18px; padding-top: 10px; border-top: 1px solid rgba(255,248,239,.13); }
.work-feature dt { color: rgba(255,248,239,.48); font-size: 10px; }
.work-feature dd { margin: 0; color: rgba(255,248,239,.78); font-size: 11px; text-align: right; }
.light-link { color: #ff9c70; }
.works-controls { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.works-controls button { width: 44px; height: 44px; border: 1px solid rgba(255,248,239,.22); border-radius: 50%; background: transparent; color: #fff8ef; cursor: pointer; }

.why-yuying { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.why-intro h2 { max-width: 540px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.08; }
.why-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
.why-values article { padding-top: 18px; border-top: 1px solid var(--yuying-line); }
.why-values b { color: var(--yuying-orange-dark); font-size: 11px; letter-spacing: .1em; }
.why-values h3 { margin: 24px 0 10px; font-size: 22px; }
.why-values p { margin: 0; font-size: 13px; line-height: 1.75; }
.why-closing { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 30px; padding: 28px 0 0; border-top: 1px solid var(--yuying-line); }
.why-closing span { color: var(--yuying-orange-dark); font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.why-closing strong { font-size: clamp(22px, 3vw, 38px); }

.courses-section { background: var(--yuying-paper) !important; }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--yuying-line); }
.course-card { position: relative; padding: 38px 34px; border-bottom: 1px solid var(--yuying-line); }
.course-card:nth-child(odd) { border-right: 1px solid var(--yuying-line); }
.course-index { color: var(--yuying-orange); font-size: 11px; font-weight: 800; }
.course-card h3 { max-width: 420px; margin: 35px 0 28px; font-size: clamp(27px, 3vw, 40px); line-height: 1.1; }
.course-card dl { display: grid; gap: 15px; margin: 0; }
.course-card dl div { display: grid; grid-template-columns: 82px 1fr; gap: 18px; }
.course-card dt { color: var(--yuying-orange-dark); font-size: 11px; font-weight: 800; }
.course-card dd { margin: 0; color: var(--yuying-copy); font-size: 13px; line-height: 1.65; }
.course-toggle { display: flex; justify-content: space-between; width: 100%; margin-top: 30px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--yuying-line); background: transparent; color: var(--yuying-ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.course-details { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.course-details span { padding: 7px 10px; border: 1px solid var(--yuying-line); border-radius: 99px; color: var(--yuying-copy); font-size: 11px; }

.learning-route { padding: 98px 0 106px; background: var(--yuying-dark) !important; color: #fff8ef; }
.route-heading h2 { max-width: 720px; color: #fff8ef; }
.learning-route .section-note { color: rgba(255,248,239,.66); }
.route-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border-top: 1px solid rgba(255,248,239,.22); }
.route-timeline:before { content: ""; position: absolute; top: -2px; left: 0; width: 25%; height: 3px; background: var(--yuying-orange); }
.route-timeline article { position: relative; min-height: 310px; padding: 34px 24px 24px 0; border-right: 1px solid rgba(255,248,239,.12); }
.route-timeline article + article { padding-left: 24px; }
.route-day { color: #ff9c70; font-size: 12px; letter-spacing: .1em; font-weight: 800; }
.route-number { display: block; margin-top: 52px; color: rgba(255,248,239,.22); font-size: 42px; font-weight: 800; }
.route-timeline h3 { margin: 20px 0 14px; font-size: 22px; line-height: 1.2; }
.route-timeline p { margin: 0; color: rgba(255,248,239,.62); font-size: 13px; line-height: 1.75; }

.faculty-editorial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; }
.faculty-profile { min-width: 0; padding: 18px 0 30px; border-top: 2px solid var(--yuying-ink); }
.faculty-profile figure, .faculty-photo-development { aspect-ratio: 4 / 5; margin: 0 0 22px; overflow: hidden; background: #ead9cb; }
.faculty-profile figure img { width: 100%; height: 100%; object-fit: cover; }
.faculty-photo-development { display: grid; place-content: center; gap: 9px; text-align: center; }
.faculty-photo-development span { color: #c7a895; font-size: 50px; font-weight: 800; }
.faculty-photo-development small { color: var(--yuying-muted); font-size: 10px; letter-spacing: .08em; }
.faculty-index { color: var(--yuying-orange-dark); font-size: 10px; font-weight: 800; }
.faculty-profile h3 { margin: 13px 0 8px; font-size: 22px; }
.faculty-profile p { margin: 0; min-height: 44px; font-size: 12px; line-height: 1.65; }
.faculty-profile dl { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--yuying-line); }
.faculty-profile dt { color: var(--yuying-orange-dark); font-size: 10px; }
.faculty-profile dd { margin: 6px 0 0; color: var(--yuying-copy); font-size: 12px; }

.practice-section { padding: 100px 0 110px; background: var(--yuying-paper) !important; }
.practice-path { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 48px; padding: 20px 0; border-top: 1px solid var(--yuying-line); border-bottom: 1px solid var(--yuying-line); color: var(--yuying-copy); font-size: 12px; font-weight: 800; }
.practice-path i { color: var(--yuying-orange); font-style: normal; }
.team-showcase { display: grid; gap: 20px; }
.team-panel { min-width: 0; display: grid; grid-template-columns: 1.12fr .88fr; min-height: 430px; border-top: 3px solid var(--yuying-orange); background: #f7eadf; }
.team-panel:nth-child(even) { grid-template-columns: .88fr 1.12fr; }
.team-panel:nth-child(even) .team-media { order: 2; }
.team-media { min-height: 360px; overflow: hidden; background: #ead7c8; }
.team-media img { width: 100%; height: 100%; object-fit: cover; }
.team-media-development { display: grid; place-content: center; color: var(--yuying-muted); font-size: 11px; letter-spacing: .1em; }
.team-copy { align-self: center; padding: 44px; }
.team-copy > span { color: var(--yuying-orange-dark); font-size: 10px; letter-spacing: .1em; font-weight: 800; }
.team-copy h3 { margin: 24px 0 12px; font-size: clamp(34px, 4vw, 54px); }
.team-copy p { max-width: 520px; margin: 0; line-height: 1.8; }
.team-directions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.team-directions b { padding: 8px 11px; border: 1px solid var(--yuying-line); border-radius: 99px; color: var(--yuying-copy); font-size: 10px; }

.career-columns { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--yuying-line); }
.career-columns article { min-height: 330px; padding: 32px; border-right: 1px solid var(--yuying-line); }
.career-columns article:last-child { border-right: 0; }
.career-columns span { color: var(--yuying-orange); font-size: 11px; font-weight: 800; }
.career-columns h3 { margin: 52px 0 26px; font-size: 28px; }
.career-columns ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.career-columns li { padding-top: 11px; border-top: 1px solid var(--yuying-line); color: var(--yuying-copy); font-size: 13px; }

.student-section { padding: 100px 0 110px; background: #f4e8dd !important; }
.student-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.student-feature { min-width: 0; display: grid; grid-template-columns: .8fr 1.2fr; min-height: 320px; background: var(--yuying-paper); }
.student-photo { min-height: 290px; display: grid; place-content: center; overflow: hidden; background: #dfcabb; }
.student-photo img { width: 100%; height: 100%; object-fit: cover; }
.student-photo > span { color: #c3a38f; font-size: 52px; font-weight: 800; }
.student-feature > div:last-child { padding: 30px; }
.student-feature > div > span { color: var(--yuying-orange-dark); font-size: 10px; letter-spacing: .1em; font-weight: 800; }
.student-feature h3 { margin: 18px 0 12px; font-size: 27px; }
.student-feature p { font-size: 13px; line-height: 1.7; }
.student-feature blockquote { margin: 18px 0; padding-left: 14px; border-left: 2px solid var(--yuying-orange); color: var(--yuying-copy); font-size: 13px; }

.campus-categories { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.campus-categories::-webkit-scrollbar { display: none; }
.campus-categories span { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--yuying-line); border-radius: 99px; color: var(--yuying-copy); font-size: 11px; }
.campus-gallery { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.campus-gallery figure { min-width: 0; margin: 0; overflow: hidden; background: var(--yuying-dark); color: #fff8ef; }
.campus-gallery img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; object-position: center top; }
.campus-gallery figcaption { display: grid; gap: 7px; padding: 21px; }
.campus-gallery figcaption b { font-size: 18px; }
.campus-gallery figcaption span { color: rgba(255,248,239,.62); font-size: 11px; }

.brand-ecosystem { padding: 100px 0 110px; background: #f1e2d4 !important; }
.ecosystem-list { border-top: 1px solid var(--yuying-line); }
.ecosystem-list a { display: grid; grid-template-columns: 60px 1fr 1fr 30px; align-items: center; gap: 24px; padding: 23px 8px; border-bottom: 1px solid var(--yuying-line); transition: padding .2s ease, background .2s ease; }
.ecosystem-list a:hover { padding-left: 18px; background: rgba(255,255,255,.32); }
.ecosystem-list span { color: var(--yuying-orange-dark); font-size: 11px; font-weight: 800; }
.ecosystem-list strong { font-size: clamp(24px, 3vw, 38px); }
.ecosystem-list small { color: var(--yuying-copy); font-size: 13px; }
.ecosystem-list i { color: var(--yuying-orange); font-style: normal; }

.admissions-section { padding: 96px 0; background: var(--yuying-orange) !important; color: #fff8ef; }
.admissions-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.admissions-section .eyebrow { background: rgba(43,22,14,.12); color: #4b2518; }
.admissions-section h2 { max-width: 760px; margin-top: 18px; color: #fff8ef; font-size: clamp(45px, 6vw, 78px); line-height: 1; }
.admissions-section h2 span { white-space: nowrap; }
.admissions-section p { max-width: 590px; margin: 22px 0 0; color: rgba(255,248,239,.82); font-size: 16px; line-height: 1.8; }
.admissions-phone { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; color: #fff8ef; font-size: 13px; font-weight: 800; }
.admissions-phone a { text-decoration: underline; text-underline-offset: 4px; }
.admissions-actions { display: grid; gap: 10px; }
.admissions-actions .button { justify-content: center; border-color: rgba(255,248,239,.58); color: #fff8ef; }
.admissions-actions .button.primary { background: var(--yuying-dark); border-color: var(--yuying-dark); }
.home-footer { background: var(--yuying-dark); color: rgba(255,248,239,.68); }
.mobile-admissions-bar { display: none; }

.development-empty { display: grid; gap: 8px; padding: 28px; border: 1px dashed var(--yuying-line); color: var(--yuying-copy); }
.development-empty b { color: var(--yuying-orange-dark); }
.development-empty span { font-size: 13px; line-height: 1.6; }
.has-image-error { position: relative; min-height: 180px; background: #ead9cb; }
.has-image-error:after { content: attr(data-image-fallback); position: absolute; inset: 0; display: grid; place-content: center; color: var(--yuying-muted); font-size: 12px; }
.public-work-card, .public-creator-card { overflow: hidden; background: var(--yuying-paper); border-color: var(--yuying-line); color: var(--yuying-ink); }
.public-work-image, .public-creator-image, .detail-real-image, .profile-real-image { width: 100%; height: auto; object-fit: cover; }
.public-work-copy { padding: 22px; }
.public-work-copy p { color: var(--yuying-copy); font-size: 13px; line-height: 1.7; }
.profile-label { margin-top: 36px; }
.not-found { min-height: 560px; }

@media (max-width: 1100px) {
  .recruitment-hero { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 34px; }
  .recruitment-hero h1 { font-size: clamp(44px, 5.7vw, 62px); }
  .faculty-editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .works-rail { grid-auto-columns: calc((100% - 18px) / 2); }
  .team-panel, .team-panel:nth-child(even) { grid-template-columns: 1fr 1fr; }
  .student-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 70px; }
  .nav-inner { height: 68px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 18px; }
  .brand span { display: none; }
  .mobile-menu { display: block; color: var(--yuying-ink); }
  .recruitment-hero { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding: 58px 20px 64px; }
  .recruitment-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-directions { font-size: 13px; line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-actions .button { justify-content: center; padding: 13px 12px; }
  .hero-actions .button.primary { grid-column: 1 / -1; order: 3; }
  .showreel-shell { aspect-ratio: .92; border-radius: 20px; }
  .showreel-play { width: 94px; height: 94px; }
  .showreel-caption strong { font-size: 23px; }
  .selected-works, .learning-route, .practice-section, .student-section, .brand-ecosystem, .admissions-section { padding: 74px 0 80px; }
  .works-rail { grid-auto-columns: 84vw; gap: 14px; }
  .why-yuying { grid-template-columns: 1fr; gap: 48px; padding: 74px 20px; }
  .why-values { gap: 28px 18px; }
  .why-closing { display: grid; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { padding: 32px 4px; border-right: 0 !important; }
  .course-card dl div { grid-template-columns: 74px 1fr; gap: 12px; }
  .route-timeline { grid-template-columns: 1fr; margin-left: 12px; border-top: 0; border-left: 1px solid rgba(255,248,239,.22); }
  .route-timeline:before { top: 0; left: -2px; width: 3px; height: 25%; }
  .route-timeline article, .route-timeline article + article { min-height: 0; padding: 26px 10px 34px 28px; border-right: 0; border-bottom: 1px solid rgba(255,248,239,.12); }
  .route-number { margin-top: 22px; font-size: 32px; }
  .faculty-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .faculty-profile h3 { font-size: 19px; }
  .faculty-profile p { min-height: 0; }
  .practice-path { justify-content: flex-start; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .practice-path span, .practice-path i { flex: 0 0 auto; }
  .team-panel, .team-panel:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .team-panel:nth-child(even) .team-media { order: 0; }
  .team-media { min-height: 280px; }
  .team-copy { padding: 30px 22px 36px; }
  .career-columns { grid-template-columns: 1fr; }
  .career-columns article { min-height: 0; padding: 30px 4px; border-right: 0; border-bottom: 1px solid var(--yuying-line); }
  .career-columns h3 { margin-top: 28px; }
  .student-feature { grid-template-columns: .78fr 1.22fr; }
  .student-photo { min-height: 260px; }
  .student-feature > div:last-child { padding: 22px 18px; }
  .campus-gallery { grid-template-columns: 1fr; }
  .ecosystem-list a { grid-template-columns: 38px 1fr 24px; gap: 12px; }
  .ecosystem-list small { grid-column: 2 / -1; }
  .admissions-inner { grid-template-columns: 1fr; gap: 36px; }
  .admissions-actions { grid-template-columns: 1fr; }
  .mobile-admissions-bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 62px; display: grid; grid-template-columns: 1fr 1fr; background: var(--yuying-dark); box-shadow: 0 -8px 30px rgba(43,22,14,.18); }
  .mobile-admissions-bar a { display: grid; place-items: center; color: #fff8ef; font-size: 13px; font-weight: 800; }
  .mobile-admissions-bar a:last-child { background: var(--yuying-orange); }
  .xiyu-stamp { top: 12px; right: 18px; }
}

@media (max-width: 430px) {
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .button.primary { grid-column: auto; }
  .why-values { grid-template-columns: 1fr; }
  .faculty-editorial-grid { grid-template-columns: 1fr; }
  .student-feature { grid-template-columns: 1fr; }
  .student-photo { min-height: 220px; }
  .showreel-heading, .showreel-caption { left: 18px; right: 18px; }
  .showreel-caption { bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
