:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --bg: #f5f5f7;
  --paper: #fff;
  --blue: #0071e3;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #000;
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 22, 23, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover img { transform: rotate(180deg); }
.nav.scrolled {
  background: rgba(12, 12, 13, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.nav-links a.is-active { color: #fff; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 12px;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  color: #fff !important;
  background: var(--blue);
  border-radius: 980px;
  padding: 5px 12px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: #000;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.78) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #f5f5f7;
  padding: 0 24px 10vh;
}
.hero-copy .kicker {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: #a1a1a6;
}
.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero-copy p {
  margin: 0 auto 22px;
  max-width: 28rem;
  font-size: 21px;
  color: #d2d2d7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-copy .cta {
  display: inline-block;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-copy .cta:hover { transform: translateY(-1px); background: #0077ed; }
.hero-copy .cta.ghost {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.film {
  background: #000;
  color: #f5f5f7;
  padding: 24px 0 80px;
}
.film-head { text-align: center; margin-bottom: 28px; }
.film-head h2 {
  margin: 0 auto 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.film-head p { margin: 0 auto; max-width: 32rem; color: #a1a1a6; }
.film-stage {
  position: relative;
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.film-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.film-play {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.film-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.film-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #111;
}
.film-stage.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-stage:hover .film-play { background: rgba(0, 0, 0, 0.12); }
.film-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.film-stage:hover .film-bar,
.film-stage.is-playing .film-bar { opacity: 1; transform: none; }
.film-bar button {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 980px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}
.film-seek { flex: 1; accent-color: var(--blue); }
.film-time { font-size: 12px; color: #d2d2d7; min-width: 72px; text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

.band {
  background: #000;
  color: #f5f5f7;
  padding: 28px 0 72px;
  text-align: center;
}
.band h2 {
  margin: 0 auto 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.band p { margin: 0 auto; max-width: 36rem; color: #a1a1a6; }

.tile {
  padding: 22px 0 0;
  background: #000;
}
.tile.light { background: var(--bg); }
.tile-card {
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto 22px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}
.tile.dark .tile-card { background: #111; color: #f5f5f7; }
.tile-media {
  min-height: 52vh;
  position: relative;
}
.tile-media img {
  width: 100%;
  height: 56vh;
  object-fit: cover;
}
.tile-copy {
  padding: 36px 40px 44px;
  text-align: center;
}
.tile-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
}
.tile-copy p {
  margin: 0 auto 18px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 18px;
}
.tile.dark .tile-copy p { color: #a1a1a6; }
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pills span {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 980px;
  padding: 6px 12px;
  font-size: 13px;
}
.tile.dark .pills span { background: rgba(255,255,255,.08); color: #d2d2d7; }

.pair {
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.pair article {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}
.pair.dark article { background: #151515; color: #f5f5f7; }
.pair img { width: 100%; height: 320px; object-fit: cover; }
.pair h3 {
  margin: 0 0 6px;
  padding: 22px 24px 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.pair p {
  margin: 0;
  padding: 0 24px 26px;
  color: var(--muted);
}
.pair.dark p { color: #a1a1a6; }

.gallery {
  background: var(--bg);
  padding: 72px 0;
}
.gallery h2 {
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.gallery .sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 28px;
}
.mosaic {
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.mosaic .wide { grid-column: span 2; grid-row: span 2; }
.mosaic .tall { grid-row: span 2; }

.steps {
  background: #000;
  color: #f5f5f7;
  padding: 80px 0;
}
.steps h2 {
  text-align: center;
  margin: 0 0 36px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.step-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.step-row article {
  background: #161617;
  border-radius: 18px;
  padding: 16px 14px 18px;
  min-height: 148px;
}
.step-row b {
  display: block;
  color: var(--blue);
  font-size: 13px;
  margin-bottom: 8px;
}
.step-row h3 { margin: 0 0 6px; font-size: 16px; }
.step-row p { margin: 0; color: #a1a1a6; font-size: 13px; }

.modules {
  background: var(--bg);
  padding: 80px 0;
}
.modules h2 {
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.modules .sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 32px;
}
.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mod {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
}
.mod img { width: 100%; height: 180px; object-fit: cover; }
.mod h3 { margin: 16px 20px 6px; font-size: 20px; }
.mod p { margin: 0 20px 20px; color: var(--muted); font-size: 15px; }

.setup {
  background: #fff;
  padding: 80px 0;
}
.setup-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.setup h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.03em;
}
.setup p { color: var(--muted); }
.setup ul { padding-left: 1.1rem; color: var(--ink); }
.setup img { width: 100%; border-radius: 22px; }

.foot {
  background: #f5f5f7;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0 40px;
  font-size: 12px;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-brand img { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .pair, .setup-grid, .mod-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .mosaic .wide { grid-column: span 2; }
  .step-row { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 48px;
    background: #161617;
    padding: 12px 18px 16px;
    flex-direction: column;
  }
  .nav-links.open { display: flex; }
  .tile-media img, .pair img { height: 240px; }
  .film-play-icon { width: 56px; height: 56px; }
  .film-time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .logo img { transition: none; }
}
