:root {
  --canvas: #f3f0ee;
  --lifted: #fcfbfa;
  --white: #ffffff;
  --ink: #3b2f29;
  --ink-2: #4c403a;
  --slate: #7a6f68;
  --taupe: #d6cfc7;
  --ghost: #e6dfd7;
  --signal: #eb661e;
  --signal-light: #f28a4e;
  --gold: #d9c46a;
  --gold-deep: #b89b3c;
  --font: "Noto Sans TC", "Sofia Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --latin: "Sofia Sans", "Noto Sans TC", sans-serif;
  --r-btn: 20px;
  --r-card: 40px;
  --r-pill: 999px;
  --shadow-1: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 24px 48px rgba(0, 0, 0, 0.08);
  --wrap: 1280px;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 450;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.menu-open { overflow: hidden; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 16px; border-radius: var(--r-pill); z-index: 100; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; line-height: 1;
  color: var(--ink);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.eyebrow-gold { color: var(--gold-deep); }
.eyebrow-gold i { background: var(--gold); }

h1 { font-size: 64px; font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: 36px; font-weight: 500; line-height: 1.22; letter-spacing: -0.02em; }
h3, .h3 { font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.8; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--slate); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 24px; border-radius: var(--r-btn);
  font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  border: 1.5px solid transparent; transition: transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(59, 47, 41, 0.25); }
.btn-lg { padding: 14px 40px; border-radius: var(--r-card); font-size: 18px; }

.round {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--latin); font-size: 18px;
  background: transparent;
}
.round:hover { background: var(--ink); color: var(--canvas); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px;
  border-radius: var(--r-pill); font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap;
}
.chip-white { background: var(--white); color: var(--ink); }
.chip-outline { background: transparent; border: 1px solid rgba(59, 47, 41, 0.3); }
.chip-note { background: rgba(59, 47, 41, 0.06); color: var(--ink-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip-status { background: var(--ink); color: var(--canvas); }
.chip-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-light); }
.chip-tab { height: 40px; padding: 0 18px; border: 1.5px solid rgba(59, 47, 41, 0.25); font-size: 15px; }
.chip-tab.is-active { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.satellite {
  position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--latin); font-size: 22px; font-weight: 500;
  box-shadow: var(--shadow-1);
}

.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 24px 0 0; pointer-events: none; }
.nav {
  pointer-events: auto;
  width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-radius: var(--r-pill); box-shadow: var(--shadow-1);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 12px 20px 12px 28px; min-height: 72px;
}
.wordmark { display: inline-flex; color: var(--ink); }
.wordmark-svg { height: 30px; width: auto; }
.nav-links { display: flex; justify-content: center; gap: 40px; font-weight: 500; letter-spacing: -0.01em; }
.nav-links > li { position: relative; }
.nav-links a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; }
.caret { font-size: 11px; color: var(--slate); }
.menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: 24px; box-shadow: var(--shadow-2); padding: 16px 8px;
  display: none; grid-template-columns: repeat(2, 160px); gap: 2px; font-weight: 450;
}
.menu a { padding: 8px 14px; border-radius: var(--r-pill); }
.menu a:hover { background: var(--canvas); }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: grid; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

.overlay {
  position: fixed; inset: 0; z-index: 40; background: var(--canvas); padding: 128px var(--gutter) 48px;
}
.overlay ul { display: grid; gap: 8px; }
.overlay a { display: block; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--taupe); }

.hero { padding: 64px 0 0; }
.hero-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; padding-bottom: 40px; }
.hero-head h1 { margin-top: 24px; }
.hero-side p { font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.stage {
  position: relative; border-radius: var(--r-card); overflow: hidden; background: #2b2320;
  aspect-ratio: 16 / 9; box-shadow: var(--shadow-2);
}
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.stage-ui {
  position: absolute; left: 32px; bottom: 32px; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.92); border-radius: var(--r-pill); padding: 6px;
}
.stage-ui .round { border-color: transparent; }
.dots { display: flex; gap: 8px; padding: 0 8px; }
.dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); cursor: pointer; }
.dots li.is-active { background: var(--signal); width: 24px; border-radius: var(--r-pill); }

.search {
  position: relative; z-index: 2; margin: -32px auto 0; width: min(1040px, 100%);
  background: var(--white); border-radius: var(--r-pill); box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; align-items: center; padding: 10px 10px 10px 32px;
}
.search label { display: grid; gap: 2px; padding: 6px 20px 6px 0; border-right: 1px solid var(--taupe); margin-right: 20px; }
.search label span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--slate); }
.search input, .search select {
  font: inherit; font-weight: 500; color: var(--ink); border: 0; background: transparent; padding: 0; outline: none; width: 100%;
}
.search input::placeholder { color: var(--slate); font-weight: 450; }
.search .btn { min-height: 56px; padding-inline: 32px; border-radius: var(--r-pill); }

.section { padding: 128px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.section-head h2 { margin-top: 16px; max-width: 24ch; }
.section-head.small { margin-top: 64px; margin-bottom: 24px; }
.scroll-ui { display: flex; gap: 8px; }

.rail-wrap { overflow: hidden; }
.rail {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-left: max(var(--gutter), (100% - var(--wrap)) / 2); padding-right: var(--gutter); padding-bottom: 8px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; flex: 0 0 auto; }

.hot {
  position: relative; width: 400px; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--taupe);
}
.hot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hot .chip { position: absolute; top: 20px; left: 20px; }
.hot-text {
  position: absolute; inset: auto 0 0 0; padding: 96px 28px 28px; color: var(--canvas);
  background: linear-gradient(to top, rgba(43, 35, 32, 0.92), rgba(43, 35, 32, 0.6) 55%, rgba(43, 35, 32, 0));
}
.hot-text h3 { font-size: 22px; color: var(--white); }
.hot-text p { font-size: 14px; margin-top: 6px; opacity: 0.85; }
.hot-text strong { display: block; margin-top: 12px; font-family: var(--latin); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--gold); }

.constellation-section { overflow: hidden; }
.constellation { position: relative; height: calc(var(--stage-h, 820) / 820 * 900px); }
.ghost {
  position: absolute; left: -2%; top: 8%; font-family: var(--latin); font-size: 220px; font-weight: 600; letter-spacing: -0.04em;
  line-height: 1; color: var(--ghost); white-space: nowrap; pointer-events: none; user-select: none;
}
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arcs path { fill: none; stroke: var(--signal-light); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.orbits { position: absolute; inset: 0; }
.orbit {
  position: absolute; left: calc(var(--cx) / 1200 * 100%); top: calc(var(--cy) / var(--stage-h, 820) * 100%);
  width: calc(var(--d) * 1px); transform: translate(-50%, -50%);
}
.portrait { display: block; width: 100%; text-align: left; position: relative; }
.portrait-img {
  display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--taupe);
  box-shadow: var(--shadow-2); outline: 3px solid transparent; outline-offset: 6px; transition: outline-color 0.2s ease, transform 0.3s ease;
}
.portrait-img img { width: 100%; height: 100%; object-fit: cover; }
.portrait .satellite { right: 2%; bottom: 20%; transform: translate(40%, 0); }
.portrait:hover .portrait-img { transform: scale(1.02); }
.orbit.is-active .portrait-img { outline-color: var(--signal); }
.orbit.is-active .satellite { background: var(--ink); color: var(--canvas); }
.portrait-label { display: grid; gap: 6px; padding: 18px 8px 0; }
.portrait-title { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }

.tabrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; scroll-margin-top: 120px; }
.panel { display: none; }
.panel.is-active { display: block; }
.more { display: none; width: 100%; margin-top: 16px; }
.tours, .is-results .panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.constellation-section { scroll-margin-top: 96px; }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 8px 0 32px; }
.results-head[hidden] { display: none; }
.results-title { margin-top: 12px; }
.results-sub { font-size: 14px; margin-top: 4px; }
.is-results .constellation, .is-results .tabrow { display: none; }
.is-results .panel, .is-results .panel .tours { display: contents; }
.is-results .tour:not(.is-hit) { display: none; }
.constellation-section.is-results .panel .more { display: none; }
.tour { background: var(--lifted); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.tour-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-media:hover img { transform: scale(1.03); }
.tour-body { position: relative; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-body .satellite { right: 20px; top: -26px; width: 52px; height: 52px; }
.tour-body .satellite:hover { background: var(--ink); color: var(--canvas); }
.tour-chips { display: flex; gap: 6px; min-height: 32px; padding-right: 64px; }
.tour-title { font-size: 21px; line-height: 1.35; }
.tour-dates { font-size: 14px; color: var(--slate); }
.tour-dates .k { font-weight: 700; letter-spacing: 0.06em; margin-right: 8px; color: var(--ink-2); }
.tour-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(59, 47, 41, 0.1); }
.price { font-family: var(--latin); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.textlink { font-size: 14px; font-weight: 500; }
.textlink:hover { color: var(--signal); }

.lifted { background: var(--lifted); border-radius: var(--r-card); padding: 80px; }
.promise-head { max-width: 760px; }
.promise-head h2 { margin: 16px 0 20px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.pillar { background: var(--canvas); border-radius: 32px; padding: 32px 28px; }
.pillar .num { font-family: var(--latin); font-size: 40px; font-weight: 300; letter-spacing: -0.02em; color: var(--signal); line-height: 1; }
.pillar h3 { margin: 20px 0 10px; font-size: 22px; }
.pillar p { font-size: 15px; color: var(--ink-2); }

.show { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.show-portrait { position: relative; width: 420px; }
.portrait-img.big { aspect-ratio: 1; }
.show-portrait .satellite { right: 24px; bottom: 24px; width: 72px; height: 72px; font-size: 24px; }
.satellite.gold { background: var(--gold); color: var(--ink); }
.show-text h2 { margin: 16px 0 20px; font-size: 44px; }
.show-text .chips { margin-top: 24px; }

.videos .video { width: 320px; }
.video a { display: block; position: relative; }
.video img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px; background: var(--taupe); }
.video .play { position: absolute; top: calc(100% * 3 / 4 / 2); left: 50%; transform: translate(-50%, -100%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; padding-left: 4px; }
.video .chip { position: absolute; top: 16px; left: 16px; }
.video h3 { font-size: 16px; font-weight: 500; line-height: 1.5; margin-top: 14px; padding: 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.custom { position: relative; text-align: center; padding: 48px 0 0; }
.custom h2 { margin: 16px auto 20px; font-size: 44px; max-width: 22ch; }
.custom .lead { margin-inline: auto; }
.custom .cta-row { justify-content: center; margin-top: 32px; }
.arcs-custom { height: 300px; top: -40px; z-index: -1; }
.custom { z-index: 0; }

.footer { margin-top: 128px; background: var(--ink); color: var(--canvas); padding: 96px 0 64px; border-radius: var(--r-card) var(--r-card) 0 0; }
.footer-title { font-size: 44px; max-width: 26ch; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.footer h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: rgba(243, 240, 238, 0.6); margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; font-size: 15px; }
.footer a:hover { color: var(--gold); }
.office p { font-size: 15px; margin-bottom: 12px; }
.office .muted { color: rgba(243, 240, 238, 0.6); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(243, 240, 238, 0.25); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 13px; color: rgba(243, 240, 238, 0.7); }
.footer-bottom p:last-of-type { margin-left: auto; }
.footer .social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243, 240, 238, 0.4); display: inline-flex; align-items: center; justify-content: center; font-family: var(--latin); font-size: 14px; color: var(--canvas); }

@media (max-width: 1279px) {
  :root { --gutter: 32px; }
  .nav-links { gap: 24px; }
  .constellation { height: calc(var(--stage-h, 820) * 1px); }
  .ghost { font-size: 170px; }
  .tours, .is-results .panels { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  h1 { font-size: 48px; }
  .nav { grid-template-columns: auto 1fr auto; padding: 8px 8px 8px 24px; min-height: 64px; }
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .burger { display: inline-flex; }
  .nav-actions .btn-ink { min-height: 40px; padding: 6px 16px; font-size: 14px; }
  .hero-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .stage { aspect-ratio: 1 / 1; }
  .hero-slide img { object-fit: cover; }
  .search { grid-template-columns: 1fr; border-radius: 32px; padding: 12px; gap: 6px; margin-top: 24px; }
  .search label { border: 0; margin: 0; padding: 8px 16px; }
  .search .btn { width: 100%; margin-top: 6px; }
  .section { padding-top: 80px; }
  .constellation { height: auto; margin-bottom: 8px; }
  .ghost, .arcs:not(.arcs-custom) { display: none; }
  .orbits { position: static; display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); }
  .orbits::-webkit-scrollbar { display: none; }
  .orbit { position: static; transform: none; flex: 0 0 auto; width: 150px; }
  .portrait-img { box-shadow: var(--shadow-1); }
  .portrait .satellite { width: 40px; height: 40px; font-size: 16px; right: 0; bottom: 14%; transform: translate(20%, 0); }
  .portrait-label { padding-top: 12px; }
  .portrait-title { font-size: 16px; }
  .tabrow { display: none; }
  .lifted { padding: 40px 24px; }
  .show { grid-template-columns: 1fr; gap: 32px; }
  .show-portrait { width: min(320px, 100%); }
  .show-text h2, .custom h2, .footer-title { font-size: 32px; }
  .footer { padding: 64px 0 40px; }
}

@media (max-width: 599px) {
  :root { --gutter: 20px; }
  .nav { gap: 12px; }
  .nav-actions .btn-ink { display: none; }
  .wordmark-svg { height: 24px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero { padding-top: 40px; }
  .hero-head { padding-bottom: 24px; }
  .stage { aspect-ratio: 1 / 1; border-radius: 32px; }
  .stage-ui { left: 16px; bottom: 16px; }
  .section-head, .results-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .results-head .btn { width: 100%; }
  .hot { width: 290px; }
  .tours, .is-results .panels { grid-template-columns: 1fr; }
  .constellation-section:not(.is-results) .panel:not(.is-expanded) .tour:nth-child(n + 5) { display: none; }
  .panel:not(.is-expanded) .more { display: inline-flex; }
  .tour-body { padding: 24px 22px 22px; }
  .tour-title { font-size: 19px; }
  .pillars { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .pillar { padding: 24px 22px; }
  .videos .video { width: 260px; }
  .btn-lg { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom p:last-of-type { margin-left: 0; }
}
