:root {
  color-scheme: light dark;
  --page: #eef1ed;
  --page-deep: #e3e8e4;
  --surface: #f8f8f4;
  --surface-strong: #e9ede8;
  --ink: #18252a;
  --ink-soft: #53636a;
  --line: rgba(24, 37, 42, .14);
  --accent: #c84f1f;
  --accent-deep: #9c3714;
  --accent-soft: rgba(200, 79, 31, .11);
  --on-accent: #fff9f2;
  --hero-text: #fffaf2;
  --hero-muted: rgba(255, 250, 242, .78);
  --header-bg: rgba(21, 31, 35, .9);
  --shadow: 0 24px 70px rgba(47, 55, 50, .14);
  --radius: 16px;
  --header-height: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #111a1e;
    --page-deep: #162126;
    --surface: #1c292e;
    --surface-strong: #24343a;
    --ink: #eef2ed;
    --ink-soft: #aebbb8;
    --line: rgba(230, 237, 233, .14);
    --accent: #e36b36;
    --accent-deep: #c25324;
    --accent-soft: rgba(227, 107, 54, .15);
    --on-accent: #17110e;
    --header-bg: rgba(12, 20, 23, .92);
    --shadow: 0 26px 72px rgba(4, 8, 10, .36);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

button,
input,
textarea,
select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

.recruitment-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  min-height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--hero-text);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}

.recruitment-header.is-scrolled {
  background: var(--header-bg);
  border-color: rgba(255, 250, 242, .12);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.recruitment-brand {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.recruitment-brand img {
  width: 112px;
  height: auto;
  display: block;
}

.recruitment-brand span {
  padding-left: 13px;
  border-left: 1px solid rgba(255, 250, 242, .28);
  color: var(--hero-muted);
  font-size: 12px;
  white-space: nowrap;
}

.recruitment-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  white-space: nowrap;
}

.recruitment-nav a {
  position: relative;
  padding: 24px 0 20px;
  color: rgba(255, 250, 242, .78);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}

.recruitment-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.recruitment-nav a:hover,
.recruitment-nav a:focus-visible,
.recruitment-nav a.is-active { color: var(--hero-text); }

.recruitment-nav a:hover::after,
.recruitment-nav a:focus-visible::after,
.recruitment-nav a.is-active::after { transform: scaleX(1); }

.recruitment-nav .nav-home {
  padding: 9px 13px;
  border: 1px solid rgba(255, 250, 242, .28);
  border-radius: 12px;
}

.recruitment-nav .nav-home::after { display: none; }

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid rgba(255, 250, 242, .28);
  border-radius: 12px;
  background: rgba(22, 34, 40, .42);
  color: var(--hero-text);
}

.recruitment-hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 52% center;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 23, 26, .76) 0%, rgba(15, 23, 26, .48) 36%, rgba(15, 23, 26, .04) 68%),
    linear-gradient(0deg, rgba(15, 23, 26, .68) 0%, rgba(15, 23, 26, .04) 48%);
}

.hero-content {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 44px) 0 clamp(68px, 10vh, 108px);
  color: var(--hero-text);
}

.hero-status {
  width: max-content;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 250, 242, .2);
  border-radius: 999px;
  background: rgba(17, 29, 34, .58);
  color: var(--hero-text);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5a06e;
  box-shadow: 0 0 0 4px rgba(229, 160, 110, .15);
}

.hero-status[data-status="open"] span { background: #7bbf83; box-shadow: 0 0 0 4px rgba(123, 191, 131, .16); }
.hero-status[data-status="closed"] span { background: #a9afae; box-shadow: 0 0 0 4px rgba(169, 175, 174, .16); }

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 760;
}

.hero-content > p:not(.hero-status) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--hero-muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button:focus-visible { outline: 3px solid rgba(227, 107, 54, .4); outline-offset: 3px; }

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 14px 34px rgba(105, 42, 19, .28);
}

.button-primary:hover { background: var(--accent-deep); }

.button-ghost {
  border-color: rgba(255, 250, 242, .3);
  background: rgba(20, 30, 34, .4);
  color: var(--hero-text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-ghost:hover { background: rgba(20, 30, 34, .62); }

.page-state {
  min-height: 52px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
}

.page-state[hidden] { display: none; }
.page-state.is-error { color: var(--accent-deep); background: var(--accent-soft); }

.content-section {
  scroll-margin-top: var(--header-height);
  padding: clamp(78px, 9vw, 132px) 0;
}

.section-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.overview-section { background: var(--page); }

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(58px, 9vw, 140px);
  align-items: start;
}

.section-kicker {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.overview-copy h2,
.section-heading h2,
.channels-main h2,
.faq-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.overview-copy > p:not(.section-kicker),
.section-heading p,
.section-intro,
.faq-heading p {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.overview-meta {
  margin: 38px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.overview-meta > div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.overview-meta dt { color: var(--ink-soft); font-size: 13px; }
.overview-meta dd { margin: 0; font-weight: 700; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-item {
  min-height: 152px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(45, 56, 52, .05);
}

.info-item:first-child {
  grid-column: 1 / -1;
  min-height: 190px;
  background: var(--accent-soft);
  border-color: rgba(200, 79, 31, .24);
}

.info-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.info-item strong {
  margin-top: 18px;
  display: block;
  font-size: clamp(19px, 2.1vw, 29px);
  line-height: 1.35;
}

.events-section { background: var(--page-deep); }

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.event-card {
  grid-column: span 5;
  min-height: 250px;
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.event-card:first-child {
  grid-column: span 7;
  min-height: 330px;
  background:
    linear-gradient(145deg, var(--accent-soft), transparent 66%),
    var(--surface);
}

.event-card:nth-child(n + 3) { grid-column: span 6; }

.item-state {
  width: max-content;
  margin: 0 0 36px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.event-card h3 {
  margin: auto 0 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
}

.event-card p {
  margin: 15px 0 0;
  color: var(--ink-soft);
}

.event-meta {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.event-meta a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.channels-section { background: var(--page); }

.channels-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.channel-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.channel-row {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.channel-row strong { font-size: 18px; }
.channel-row p { margin: 0; color: var(--ink-soft); }

.text-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.link-panel {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.link-panel h3 { margin: 0 0 12px; font-size: 23px; }

.recruitment-link {
  padding: 20px 0;
  display: block;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.recruitment-link:last-child { border-bottom: 0; }
.recruitment-link strong { display: block; }
.recruitment-link span { margin-top: 6px; display: block; color: var(--ink-soft); font-size: 13px; }
.recruitment-link:hover strong { color: var(--accent); }
.recruitment-link.is-primary strong { color: var(--accent); }

.updates-section { background: var(--page-deep); }

.update-list {
  margin-top: 54px;
  display: grid;
  gap: 20px;
}

.update-item {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(24px, 6vw, 90px);
  border-top: 1px solid var(--line);
}

.update-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.update-meta strong { color: var(--accent); font-size: 14px; }
.update-body h3 { margin: 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.2; }
.update-body > p { max-width: 760px; margin: 13px 0 0; color: var(--ink-soft); }
.update-body ul { max-width: 820px; margin: 22px 0 0; padding-left: 1.25em; }
.update-body li { margin: 8px 0; }

.faq-section { background: var(--page); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
  gap: clamp(52px, 10vw, 150px);
  align-items: start;
}

.faq-heading { position: sticky; top: calc(var(--header-height) + 42px); }

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  min-height: 84px;
  padding: 20px 46px 20px 0;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 18px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  color: var(--accent);
  font-size: 27px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-item[open] summary::after { content: "−"; }

.faq-answer {
  max-width: 720px;
  padding: 0 44px 26px 0;
  color: var(--ink-soft);
  white-space: pre-line;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  padding: 34px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
}

.recruitment-footer {
  min-height: 190px;
  padding: 48px clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: #172329;
  color: #eff1eb;
}

.recruitment-footer strong { font-size: 20px; }
.recruitment-footer p { max-width: 540px; margin: 8px 0 0; color: rgba(239, 241, 235, .65); font-size: 13px; }
.recruitment-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.recruitment-footer a { color: rgba(239, 241, 235, .78); font-size: 13px; text-decoration: none; }
.recruitment-footer a:hover { color: #eff1eb; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-enter .8s cubic-bezier(.16, 1, .3, 1) forwards;
  }
  .hero-content > :nth-child(2) { animation-delay: .08s; }
  .hero-content > :nth-child(3) { animation-delay: .16s; }
  .hero-content > :nth-child(4) { animation-delay: .24s; }
  .reveal-section { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
  .reveal-section.is-visible { opacity: 1; transform: translateY(0); }
  @keyframes hero-enter { to { opacity: 1; transform: translateY(0); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .recruitment-header.is-scrolled,
  .hero-status,
  .button-ghost { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .recruitment-header.is-scrolled { background: #162228; }
  .hero-status,
  .button-ghost { background: #26363c; }
}

@media (max-width: 1120px) {
  .recruitment-brand span { display: none; }
  .recruitment-nav { gap: 15px; }
  .overview-layout { grid-template-columns: 1fr 1fr; gap: 50px; }
  .channels-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; }
  .channel-row { grid-template-columns: 150px minmax(0, 1fr) auto; }
}

@media (max-width: 900px) {
  :root { --header-height: 64px; }
  .recruitment-header,
  .recruitment-header.is-scrolled {
    min-height: var(--header-height);
    padding: 0 18px;
    background: #172329;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .recruitment-brand { min-width: 0; }
  .recruitment-brand img { width: 100px; }
  .menu-toggle { display: inline-flex; }
  .recruitment-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100dvh - var(--header-height));
    padding: 24px;
    display: grid;
    align-content: start;
    gap: 0;
    overflow-y: auto;
    background: #172329;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s ease;
  }
  .recruitment-nav.is-open { transform: translateX(0); visibility: visible; }
  .recruitment-nav a { padding: 18px 4px; border-bottom: 1px solid rgba(239, 241, 235, .12); font-size: 16px; }
  .recruitment-nav a::after { display: none; }
  .recruitment-nav .nav-home { margin-top: 18px; justify-self: start; border-bottom: 1px solid rgba(255, 250, 242, .28); }
  .hero-content { width: min(100% - 32px, 760px); }
  .overview-layout,
  .channels-layout,
  .faq-layout { grid-template-columns: 1fr; }
  .overview-layout { gap: 42px; }
  .channels-layout,
  .faq-layout { gap: 52px; }
  .event-card,
  .event-card:first-child,
  .event-card:nth-child(n + 3) { grid-column: span 12; min-height: 0; }
  .event-card h3 { margin-top: 34px; }
  .link-panel,
  .faq-heading { position: static; }
  .channel-row { grid-template-columns: 150px minmax(0, 1fr) auto; }
}

@media (max-width: 640px) {
  .hero-image { object-position: 46% center; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(15, 23, 26, .72), rgba(15, 23, 26, .18)),
      linear-gradient(0deg, rgba(15, 23, 26, .82) 0%, rgba(15, 23, 26, .12) 68%);
  }
  .hero-content { width: calc(100% - 32px); padding-bottom: 44px; }
  .hero-content h1 { max-width: 480px; font-size: clamp(46px, 15vw, 68px); }
  .hero-content > p:not(.hero-status) { max-width: 340px; font-size: 16px; }
  .hero-actions { width: 100%; }
  .button { flex: 1 1 150px; }
  .section-inner { width: calc(100% - 32px); }
  .content-section { padding: 72px 0; }
  .overview-copy h2,
  .section-heading h2,
  .channels-main h2,
  .faq-heading h2 { font-size: clamp(34px, 11vw, 48px); }
  .overview-meta > div { grid-template-columns: 92px 1fr; gap: 12px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item:first-child { grid-column: auto; min-height: 152px; }
  .event-grid { margin-top: 36px; }
  .event-card { padding: 25px 22px; }
  .channel-row { grid-template-columns: 1fr; gap: 8px; }
  .channel-row .text-link { margin-top: 8px; }
  .link-panel { padding: 24px 22px; }
  .update-item { grid-template-columns: 1fr; gap: 15px; }
  .update-meta { display: flex; gap: 12px; }
  .faq-item summary { min-height: 74px; padding-right: 36px; font-size: 16px; }
  .recruitment-footer { align-items: flex-start; flex-direction: column; }
}
