:root {
  --bg: #080b10;
  --bg-deep: #05070a;
  --panel: #10151d;
  --raised: #151b24;
  --text: #f2f5f7;
  --soft: #bdc7d1;
  --muted: #82909f;
  --red: #ef4a42;
  --red-hover: #ff5b52;
  --blue: #4aa1ff;
  --amber: #efb45d;
  --line: rgba(205, 218, 232, .14);
  --line-strong: rgba(205, 218, 232, .25);
  --sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --english: "Oswald", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 15px; z-index: 100; background: var(--panel); color: var(--text); padding: 12px 20px; }
.skip-link:focus { top: 15px; }
.container { width: min(980px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: relative; z-index: 10; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 96px; width: min(980px, calc(100% - 48px)); margin: auto; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand > img { width: 59px; height: 54px; object-fit: contain; }
.brand-text { display: grid; gap: 5px; }
.brand-text strong { font-size: 24px; font-weight: 700; letter-spacing: .1em; }
.brand-text > span { font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .055em; }
.site-nav { display: flex; align-items: center; gap: 29px; }
.nav-link { position: relative; display: grid; text-align: center; gap: 5px; font-size: 12px; white-space: nowrap; padding: 13px 0; }
.nav-link > span { color: var(--muted); font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .07em; }
.nav-link::after { position: absolute; bottom: 2px; left: 50%; width: 0; height: 1px; background: var(--amber); content: ""; transition: width .2s; transform: translateX(-50%); }
.nav-link:hover::after, .nav-link.is-current::after { width: 22px; }
.nav-join { min-height: 39px; border: 1px solid var(--line-strong); padding: 0 14px; font-size: 12px; white-space: nowrap; color: white; background: transparent; transition: background .2s; }
.nav-join span { margin-left: 10px; }
.nav-join:hover { background: var(--red); border-color: var(--red); color: var(--bg-deep); }
.menu-toggle { display: none; }
.hero { position: relative; background: var(--bg); }
.hero-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(540px, 43vw, 680px); overflow: hidden; color: white; }
.hero-scenes { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--bg); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: min(980px, 100%); padding: 65px 24px 115px; pointer-events: none; }
.hero-content .apply-button { pointer-events: auto; }
.swiper-wrapper { display: flex; width: 100%; height: 100%; }
.swiper-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.scene-image { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #080b1033, #080b1060 25%, #080b1080 70%, #080b10c9); }
.showcase-title { display: flex; align-items: center; justify-content: center; gap: 27px; text-shadow: 0 2px 12px #0005; }
.showcase-title > img { width: 125px; height: auto; flex-shrink: 0; filter: drop-shadow(0 3px 8px #0003); }
.showcase-kicker { color: var(--amber); margin: 0 0 7px; font-family: var(--english); font-size: 13px; letter-spacing: .11em; }
.showcase-title h1 { margin: 0; font-family: var(--english); font-size: 86px; font-weight: 500; line-height: 1.02; letter-spacing: .025em; }
.showcase-title h1 > span { display: block; color: var(--red); margin-top: 10px; font-family: var(--sans); font-size: 31px; font-weight: 700; letter-spacing: .05em; }
.showcase-subtitle { margin: 13px 0 0; font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .13em; }
.showcase-bottom { position: absolute; bottom: 0; left: 50%; z-index: 3; width: min(980px, calc(100% - 48px)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 0; border-top: 1px solid #ffffff45; font-size: 11px; letter-spacing: .02em; pointer-events: none; }
.showcase-bottom .scene-controls { pointer-events: auto; }
.scene-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.scene-controls button { width: 28px; height: 28px; border: 1px solid #ffffff75; color: white; background: #ffffff0a; font-family: Arial, sans-serif; font-size: 23px; line-height: 20px; transition: background .2s; }
.scene-controls button:hover { background: #ffffff25; }
.scene-counter { font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .06em; min-width: 46px; text-align: center; }
.apply-button { display: flex; align-items: center; justify-content: center; gap: 34px; margin-top: 32px; border: 1px solid var(--red); min-width: 205px; min-height: 52px; padding: 8px 26px; color: var(--bg-deep); background: var(--red); font-size: 24px; font-weight: 700; box-shadow: 0 6px 25px #ef4a4225; transition: background .2s, color .2s; }
.apply-button > span { font-size: 23px; font-weight: 400; }
.apply-button:hover { background: var(--red-hover); color: var(--bg-deep); border-color: var(--red-hover); }
.application-note { margin: 16px 0 0; color: white; font-size: 13px; letter-spacing: .09em; text-shadow: 0 1px 7px #000b; }
.hero-slogan { position: relative; padding: 26px 24px 27px; text-align: center; background: var(--panel); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-slogan > p { color: var(--amber); margin: 0 0 6px; font-size: 14px; font-family: Arial, sans-serif; letter-spacing: .05em; }
.hero-slogan h2 { margin: 0; font-size: clamp(28px, 4vw, 47px); font-weight: 700; letter-spacing: .04em; line-height: 1.45; }
.hero-slogan > span { color: var(--soft); display: block; margin-top: 9px; font-size: 12px; letter-spacing: .3em; }
.section { padding: 58px 0 66px; }
.experience { background: var(--bg); }
.section-heading { text-align: center; margin: 0 auto 38px; }
.section-heading h2 { margin: 0; font-size: 31px; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.heading-rule { width: min(524px, 70%); height: 1px; margin: 14px auto 10px; background: var(--line-strong); }
.section-heading > p { margin: 0; color: var(--muted); font-family: Arial, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: .15em; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; width: min(900px, 100%); margin: auto; }
.process-card { min-width: 0; }
.card-image { position: relative; overflow: hidden; aspect-ratio: 300 / 188; background: var(--panel); }
.card-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.process-card:hover .card-image > img { transform: scale(1.035); }
.step-number { position: absolute; left: 0; bottom: 0; padding: 9px 12px; background: var(--red); color: var(--bg-deep); font-family: var(--english); font-size: 15px; letter-spacing: .06em; }
.card-body { padding: 22px 4px 0; }
.card-body h3 { margin: 0; color: var(--blue); font-size: 23px; font-weight: 600; }
.card-en { margin: 8px 0 14px !important; color: var(--muted); font-family: Arial, sans-serif; font-size: 9px !important; letter-spacing: .07em; }
.card-body > p { margin: 0; color: var(--soft); font-size: 13px; line-height: 1.95; }
.card-body > a, .card-body > button { display: inline-flex; align-items: center; gap: 22px; margin-top: 19px; padding: 5px 0 7px; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 12px; font-weight: 500; }
.card-body > a:hover, .card-body > button:hover { color: var(--red); border-color: var(--red); }
.departments { background: var(--bg-deep); border-top: 1px solid var(--line); }
.departments .section-heading { margin-bottom: 23px; }
.section-intro { margin: 0 auto 32px; text-align: center; color: var(--soft); font-size: 13px; line-height: 1.9; }
.department-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.department-card { position: relative; padding: 28px 24px 25px; border: 1px solid var(--line); border-top: 3px solid var(--red); background: var(--panel); }
.department-badge { position: absolute; top: 60px; right: 20px; width: 65px; height: 75px; object-fit: contain; filter: drop-shadow(0 3px 3px #55432815); }
.department-no { font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .05em; color: var(--muted); }
.department-card h3 { margin: 14px 0 6px; color: var(--red); font-family: var(--english); font-size: 45px; line-height: 1.2; font-weight: 500; }
.department-card p { margin: 9px 0; font-size: 13px; line-height: 1.7; }
.department-full { max-width: calc(100% - 70px); min-height: 34px; color: var(--muted); font-size: 10px !important; font-family: Arial, sans-serif; }
.department-line { display: block; height: 1px; background: var(--line); margin: 19px 0 12px; }
.department-detail { color: var(--muted); font-size: 12px !important; }
.about { background: var(--panel); border-top: 1px solid var(--line); text-align: center; padding: 65px 24px 62px; }
.about-inner { max-width: 730px; margin: auto; }
.about-kicker { margin: 0; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .18em; color: var(--amber); }
.about h2 { margin: 16px 0 32px; font-size: clamp(38px, 5vw, 56px); font-weight: 500; letter-spacing: .06em; line-height: 1.3; }
.about-inner > p:not(.about-kicker) { color: var(--soft); margin: 0 0 20px; font-size: 14px; line-height: 2.1; }
.about-values { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; margin: 30px 0; font-size: 12px; letter-spacing: .08em; }
.about-values > span { padding: 0 23px; border-right: 1px solid var(--line-strong); }
.about-values > span:last-child { border-right: 0; }
.about-button { display: inline-flex; align-items: center; gap: 30px; min-height: 45px; border: 1px solid var(--line-strong); padding: 10px 24px; background: transparent; font-size: 13px; transition: background .2s, color .2s; }
.about-button:hover { background: rgba(74, 161, 255, .1); border-color: var(--blue); color: var(--text); }
.site-footer { padding: 34px 0; background: var(--bg-deep); color: var(--text); border-top: 1px solid var(--line); }
.footer-inner { width: min(980px, calc(100% - 48px)); display: flex; align-items: center; gap: 30px; margin: auto; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > img { width: 47px; height: 43px; object-fit: contain; }
.footer-brand > span { display: grid; gap: 7px; }
.footer-brand strong { font-family: var(--english); font-size: 22px; letter-spacing: .05em; }
.footer-brand small { font-family: Arial, sans-serif; font-size: 7px; letter-spacing: .04em; }
.footer-inner > p { margin: 0 0 0 auto; font-size: 11px; line-height: 1.9; color: var(--soft); }
.footer-inner > p > span { font-size: 10px; color: var(--muted); }
.back-top { display: inline-flex; align-items: center; gap: 14px; margin-left: 28px; font-size: 11px; }
.back-top > span { font-size: 22px; }
.community-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100svh - 40px); padding: 35px 31px 27px; border: 0; border-top: 5px solid var(--red); color: var(--text); background: var(--panel); text-align: center; box-shadow: 0 25px 80px #0005; }
.community-dialog::backdrop { background: #05070ace; backdrop-filter: blur(5px); }
.dialog-close:hover { color: var(--red); }
.dialog-close { position: absolute; top: 10px; right: 14px; width: 35px; height: 35px; border: 0; background: transparent; font-size: 27px; color: var(--muted); }
.dialog-emblem { width: 83px; height: 75px; object-fit: contain; margin: 0 auto 23px; opacity: .9; }
.dialog-kicker { font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .13em; color: var(--amber); }
.community-dialog h2 { margin: 12px 0 19px; font-size: 28px; }
#dialog-description { font-size: 13px; line-height: 1.9; }
.join-status { margin: 24px 0; padding: 13px 12px; background: var(--raised); font-size: 12px; line-height: 1.8; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dialog-community, .copy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 11px 18px; border: 1px solid var(--red); color: var(--bg-deep); background: var(--red); font-size: 12px; }
.copy-button { border-color: var(--line-strong); color: var(--text); background: transparent; }
.connect-hint { margin: 16px 0 0; font-size: 11px; color: var(--soft); overflow-wrap: anywhere; user-select: text; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; max-width: calc(100% - 32px); width: max-content; padding: 13px 20px; color: var(--text); background: var(--raised); border: 1px solid var(--line-strong); box-shadow: 0 3px 22px #0002; font-size: 12px; line-height: 1.7; text-align: center; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.dialog-open { overflow: hidden; }
.community-dialog[open] { animation: dialog-enter .2s ease-out; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 950px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 18px; }
  .brand-text strong { font-size: 21px; }
  .brand-text > span { font-size: 7px; }
  .brand > img { width: 49px; height: 45px; }
  .process-grid { gap: 20px; }
  .department-card { padding-inline: 18px; }
}
@media (max-width: 740px) {
  .header-inner { min-height: 80px; width: calc(100% - 36px); }
  .brand-text strong { font-size: 21px; }
  .brand-text > span { font-size: 7px; }
  .brand { gap: 10px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid #ffffff45; background: transparent; padding: 10px; }
  .menu-toggle > span { width: 100%; height: 1px; background: white; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; width: 100%; display: none; align-items: stretch; padding: 16px 24px 25px; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 10px 20px #0002; }
  .site-nav.is-open { display: grid; gap: 7px; }
  .nav-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 3px; }
  .nav-link::after { display: none; }
  .nav-join { margin-top: 7px; }
  .hero-inner { min-height: 490px; }
  .hero-content { padding: 60px 20px 110px; }
  .showcase-title > img { width: 105px; }
  .showcase-title h1 { font-size: 72px; }
  .showcase-title h1 > span { font-size: 26px; }
  .hero-slogan { padding: 25px 20px; }
  .hero-slogan > p { font-size: 10px; line-height: 1.7; }
  .hero-slogan h2 { font-size: 32px; }
  .section { padding: 45px 0 48px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading > p { font-size: 10px; }
  .section-heading { margin-bottom: 30px; }
  .process-grid { gap: 16px; }
  .card-body { padding: 18px 0 0; }
  .card-body h3 { font-size: 19px; }
  .card-body > p { font-size: 12px; }
  .card-en { min-height: 22px; font-size: 8px !important; line-height: 1.5 !important; }
  .department-grid { gap: 12px; }
  .department-no { font-size: 8px; }
  .department-card { padding: 20px 14px; }
  .department-card h3 { font-size: 38px; }
  .department-badge { top: 57px; right: 12px; width: 44px; height: 53px; }
  .department-full { max-width: calc(100% - 54px); min-height: 51px; }
  .about { padding-inline: 24px; }
  .footer-inner { flex-wrap: wrap; }
  .back-top { margin-left: 0; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 40px); }
  .hero-inner { min-height: 460px; }
  .hero-content { padding: 55px 20px 105px; }
  .showcase-title { gap: 14px; }
  .showcase-title > img { width: 76px; }
  .showcase-kicker { font-size: 8px; letter-spacing: .025em; }
  .showcase-title h1 { font-size: 55px; }
  .showcase-title h1 > span { font-size: 18px; margin-top: 7px; letter-spacing: .015em; }
  .showcase-subtitle { font-size: 8px; letter-spacing: .075em; margin-top: 10px; }
  .showcase-bottom { width: calc(100% - 40px); padding: 18px 0; gap: 5px; font-size: 9px; }
  .scene-controls { gap: 5px; }
  .scene-controls button { width: 25px; height: 25px; font-size: 20px; }
  .scene-counter { font-size: 9px; min-width: 41px; }
  .apply-button { margin-top: 25px; min-width: 186px; min-height: 49px; font-size: 21px; }
  .application-note { font-size: 11px; letter-spacing: .04em; }
  .hero-slogan h2 { font-size: 27px; letter-spacing: 0; }
  .hero-slogan > span { font-size: 10px; }
  .process-grid { grid-template-columns: 1fr; gap: 34px; }
  .card-image { aspect-ratio: 16 / 9; }
  .card-body h3 { font-size: 23px; }
  .card-body > p { font-size: 13px; }
  .card-en { min-height: 0; font-size: 9px !important; }
  .card-body > a, .card-body > button { margin-top: 12px; }
  .department-grid { grid-template-columns: 1fr; gap: 17px; }
  .department-card { padding: 24px; }
  .department-badge { top: 46px; right: 24px; width: 72px; height: 85px; }
  .department-full { max-width: calc(100% - 92px); }
  .department-full { min-height: 0; font-size: 11px !important; }
  .section-intro { font-size: 12px; }
  .about h2 { margin-bottom: 25px; }
  .about-inner > p:not(.about-kicker) { font-size: 13px; line-height: 2; }
  .about-values { gap: 12px; }
  .about-values > span { padding: 0; border: 0; font-size: 11px; }
  .footer-inner { width: calc(100% - 40px); gap: 23px; }
  .footer-brand { width: 100%; }
  .footer-inner > p { margin-left: 0; }
  .back-top { margin-left: auto; }
  .community-dialog { padding: 32px 23px 25px; }
}
@media (max-width: 360px) {
  .showcase-title > img { width: 57px; }
  .showcase-title h1 { font-size: 48px; }
  .showcase-title h1 > span { font-size: 16px; }
  .showcase-kicker { font-size: 7px; }
  .showcase-bottom > span { max-width: 135px; line-height: 1.5; }
  .hero-slogan h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
