:root {
  color-scheme: dark;
  --bg: #100f0e;
  --panel: #191612;
  --line: #433526;
  --text: #f7eddf;
  --muted: #c9beb0;
  --gold: #e1bb82;
  --sans: "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.7 var(--sans); }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 10px; left: 12px; background: var(--gold); color: #15100b; padding: 8px 14px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 2; background: #13110f; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-weight: 700; white-space: nowrap; letter-spacing: .09em; text-decoration: none; }
.mark { color: var(--gold); font-size: 1.4em; vertical-align: middle; }
nav { display: flex; gap: clamp(12px, 2vw, 28px); align-items: center; flex-wrap: wrap; }
nav a { font-size: .9rem; text-decoration: none; }
nav a:hover, footer a:hover { color: var(--gold); }
.nav-contact, .menu { border: 1px solid #826644; color: var(--gold); padding: 7px 13px; background: transparent; }
.menu { cursor: pointer; }

.hero { overflow: hidden; background: radial-gradient(ellipse at 87% 74%, #39281b, #17120e 44%, #100f0e 74%); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; min-height: 590px; display: grid; align-items: center; }
.hero-content { position: relative; z-index: 1; padding: 66px 0; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .82rem; letter-spacing: .2em; font-weight: 700; }
h1, h2 { font-family: var(--serif); margin: 0; line-height: 1.25; letter-spacing: .035em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); }
h1 em { color: var(--gold); font-style: normal; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.intro { max-width: 27em; margin: 22px 0 26px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; gap: 13px; padding: 11px 16px; border: 1px solid var(--gold); text-decoration: none; font-weight: 700; }
.primary { background: var(--gold); color: #21160d; }
.primary:hover { background: #f0d2a5; }
.secondary { color: var(--gold); background: #16110e; }
.secondary:hover { background: #2c2118; }
.hero-note { margin: 21px 0 0; color: var(--muted); font-size: .85rem; }
.hero-art { position: absolute; right: -2%; bottom: 0; width: 52%; height: 95%; overflow: hidden; pointer-events: none; }
.arch { position: absolute; inset-inline: var(--inset); top: var(--top); bottom: -10%; border: 1px solid #b78350; border-radius: 50% 50% 0 0 / var(--curve) var(--curve) 0 0; box-shadow: 0 0 24px #d3934e23, inset 0 0 35px #d3934e31; }
.arch-outer { --inset: 4%; --top: 3%; --curve: 45%; background: repeating-linear-gradient(90deg, #51382150 0 1px, transparent 1px 11px), linear-gradient(90deg, #221710, #60432d 54%, #2b1c13); }
.arch-middle { --inset: 14%; --top: 15%; --curve: 44%; background: linear-gradient(115deg, #17100d, #513423 70%, #261810); }
.arch-inner { --inset: 24%; --top: 27%; --curve: 42%; background: radial-gradient(ellipse at 68% 82%, #c08347, #5b3923 35%, #20140e 75%); }
.art-floor { position: absolute; inset: 62% 0 0; background: linear-gradient(transparent, #20150ff0); }

.section { padding-block: 64px; scroll-margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 30px; }
.section-copy, dd, #faq details p { color: var(--muted); }
.section-copy { margin: 12px 0 0; }
.panel { background: var(--panel); border: 1px solid var(--line); }
.facts { margin: 0; padding: 0 24px; }
.facts div { padding: 14px 0; }
.facts div + div { border-top: 1px solid var(--line); }
dt { font-weight: 700; }
dd { margin: 3px 0 0; }
.job-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  table-layout: fixed;
}
.job-table th, .job-table td {
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.job-table tr > :first-child { width: 38%; padding-right: 12px; }
.job-table thead th { color: var(--gold); font-size: .9rem; }
.job-table tbody tr { border-top: 1px solid var(--line); }
.job-table tbody th { color: var(--text); }
.work-details {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  text-align: left;
  overflow-wrap: anywhere;
}
.work-details p { margin: 0; }
.work-details strong { color: var(--gold); }
.work-details .schedule-note { margin-top: 8px; }
.benefits {
  display: grid;
  grid-template-columns: minmax(0, 36rem);
  justify-content: center;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(18px, 4vw, 48px);
  border-top-color: #98744c;
  background: linear-gradient(120deg, var(--panel), #251b14);
  text-align: left;
  overflow-wrap: anywhere;
}
.benefits-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.benefits h2 {
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
}
.benefits-content h3 {
  margin: 0;
  color: var(--gold);
  font: 700 clamp(1.35rem, 2.7vw, 2.25rem)/1.25 var(--serif);
  letter-spacing: .035em;
}
.benefits-content p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.85;
}
.recruiting-details { margin-block: clamp(24px, 5vw, 56px); padding-inline: clamp(18px, 4vw, 48px); }
.recruiting-details .section { padding-block: clamp(22px, 3.5vw, 40px); }
.recruiting-details h2 { color: var(--gold); }
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
  margin-top: 20px;
}
.pay-card {
  min-width: 0;
  padding: clamp(15px, 2.5vw, 28px);
  background: #15120f;
  border: 1px solid var(--line);
  border-top-color: #98744c;
  overflow-wrap: anywhere;
}
.pay-card h3 { margin: 0; color: var(--gold); font: 700 1.4rem/1.35 var(--serif); }
.pay-rate { margin: 10px 0 14px; color: var(--muted); }
.pay-rate strong, .pay-control-heading span { color: var(--gold); }
.pay-control + .pay-control { margin-top: 10px; }
.pay-control-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-weight: 700; }
.pay-control input {
  display: block;
  width: 100%;
  min-height: 36px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.pay-control input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pay-result { margin-top: 14px; padding: 14px; background: #261c14; border: 1px solid var(--line); }
.pay-result output {
  display: block;
  color: var(--gold);
  font-size: clamp(1.7rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.pay-result p { margin: 5px 0 0; color: var(--muted); }
.pay-note { display: flex; align-items: flex-start; gap: 8px; margin: 13px 0 0; color: var(--muted); font-size: .85rem; }
.pay-card svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pay-note svg { width: 16px; height: 16px; margin-top: 3px; }
.pay-features { margin: 10px 0 0; padding: 0; list-style: none; }
.pay-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #38332e;
}
.pay-features h4 { margin: 0; color: #fff; }
.pay-features p { margin: 3px 0 0; color: var(--muted); }
@media (max-width: 700px) {
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
}
#faq { border-top: 1px solid var(--line); }
#faq details { border-bottom: 1px solid #594631; }
#faq summary { padding: 13px 0; cursor: pointer; color: var(--text); font-weight: 700; }
#faq summary::marker { color: var(--gold); }
#faq details p { margin: 0 0 15px; line-height: 1.8; }
@media (prefers-reduced-motion: no-preference) {
  #faq details[open] p { animation: faq-answer-in 220ms ease-out; }
}
@keyframes faq-answer-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact { margin-bottom: 64px; padding: 30px; display: grid; grid-template-columns: 1fr 1.65fr; gap: 26px; background: linear-gradient(125deg, #2d2117, var(--panel)); }
.contact .facts { padding: 0; }
.contact-qr {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  padding: 10px;
  background: #fff;
}
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 20px; }

@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 62px; flex-wrap: wrap; gap: 0 12px; padding-block: 10px; }
  nav { width: 100%; padding: 12px 0 2px; }
  .hero-inner { min-height: 490px; }
  .hero-art { right: -22%; width: 80%; opacity: .57; }
  .hero-content { background: linear-gradient(90deg, #100f0e 10%, #100f0eb0 49%, transparent 100%); }
}

@media (max-width: 560px) {
  .hero-inner { min-height: 440px; }
  .hero-content { padding: 45px 0; }
  .split, .contact { grid-template-columns: 1fr; gap: 16px; }
  .section { padding-block: 37px; }
  .contact { padding: 20px; }
  .contact { margin-bottom: 37px; }
  .facts { padding-inline: 16px; }
}
