:root {
  --void: #050505;
  --panel: #0a0a0a;
  --ink: #ece7d6;
  --ash: #8b897d;
  --dust: #26251f;
  --amber: #f0a52e;
  --amber-soft: rgba(240, 165, 46, 0.32);
  --font: 'Silkscreen', 'Noto Sans TC', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--amber);
  color: var(--void);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font);
}

::selection {
  background: var(--amber);
  color: var(--void);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 5px;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  background: var(--dust);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ash);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: 34px;
  padding-right: 34px;
}

#dust-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main,
footer,
header {
  position: relative;
  z-index: 1;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--void);
}

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand b {
  color: var(--amber);
  font-weight: 700;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 31px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ash);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  letter-spacing: 0.2em;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--ash);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 0;
  cursor: pointer;
  text-transform: uppercase;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--amber);
}

.nav-cta {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.3em;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--ink);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: var(--amber);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-transform: uppercase;
}

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 60px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero-copy {
  position: relative;
}

.caret {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: var(--amber);
  margin-bottom: 0.35em;
  animation: caret-blink 1.1s steps(1) infinite;
}

@keyframes caret-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.hero h1,
.about-section h2,
.section-head h2,
.contact-section h2,
.legal-section h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 em,
.about-section h2 em,
.section-head h2 em,
.contact-section h2 em,
.legal-section h2 em {
  color: var(--amber);
  font-style: normal;
}

.hero-lead {
  max-width: 62ch;
  margin: 34px 0 38px;
  color: var(--ash);
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 34px;
}

.btn,
.text-link {
  display: inline-block;
  background: transparent;
  border: 0;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.32em;
  cursor: pointer;
  padding: 10px 0;
}

.btn:hover,
.btn:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

.hero-depth {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-depth span {
  position: absolute;
  left: 0;
  right: 0;
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-depth .depth-a {
  top: 8%;
  color: var(--ink);
  opacity: 0.08;
}

.hero-depth .depth-b {
  top: 34%;
  color: var(--ink);
  opacity: 0.2;
  letter-spacing: 0.12em;
}

.hero-depth .depth-c {
  top: 61%;
  color: var(--ink);
  opacity: 0.44;
  letter-spacing: 0.2em;
}

.hero-depth .depth-active {
  top: 86%;
  color: var(--amber);
  opacity: 1;
  letter-spacing: 0.26em;
}

.stats-band {
  padding: 58px 0;
  overflow: hidden;
}

.stats {
  max-width: 72ch;
  margin: 0 auto;
  color: var(--ash);
  font-size: clamp(13px, 1.8vw, 17px);
  letter-spacing: 0.14em;
  line-height: 1.9;
  text-transform: uppercase;
}

.section {
  padding-top: 128px;
  padding-bottom: 128px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}

.about-lead {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.about-layout p:not(.about-lead) {
  max-width: 58ch;
  margin: 0;
  color: var(--ash);
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head > p {
  max-width: 52ch;
  margin: 0;
  color: var(--ash);
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.queue-list {
  display: grid;
}

.queue-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 36px 0;
  opacity: 0.5;
  transition: opacity 180ms ease-out, transform 180ms ease-out, letter-spacing 180ms ease-out;
}

.queue-row:hover,
.queue-row:focus-within,
.queue-row.is-active {
  opacity: 1;
  transform: translateX(12px);
  letter-spacing: 0.06em;
}

.queue-index {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.28em;
}

.queue-row h3 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.queue-row p {
  max-width: 58ch;
  margin: 0;
  color: var(--ash);
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.queue-row a {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.32em;
  white-space: nowrap;
}

.queue-row a:hover,
.queue-row a:focus-visible {
  color: var(--ink);
}

.contact-section {
  padding: 140px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 90px;
  align-items: end;
}

.contact-grid > div > p {
  max-width: 56ch;
  margin: 30px 0;
  color: var(--ash);
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.email-link {
  display: inline-block;
  color: var(--amber);
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.18em;
  word-break: break-word;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--ink);
}

.contact-aside > p {
  max-width: 46ch;
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.legal-section {
  padding-top: 70px;
  padding-bottom: 150px;
}

.legal-section h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  padding-top: 60px;
}

.legal-grid h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-grid p {
  max-width: 52ch;
  margin: 0 0 26px;
  color: var(--ash);
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.75;
}

.legal-grid a {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.32em;
}

.legal-grid a:hover,
.legal-grid a:focus-visible {
  color: var(--ink);
}

footer {
  background: var(--void);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ash);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-inner .brand {
  color: var(--ink);
}

.legal-page {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 92px 34px 140px;
}

.back-link {
  display: inline-block;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.32em;
  margin-bottom: 64px;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
}

.legal-page-header {
  margin-bottom: 76px;
}

.legal-page-header h1 {
  margin: 0 0 32px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.legal-page-header h1 em {
  color: var(--amber);
  font-style: normal;
}

.legal-page-header p {
  max-width: 62ch;
  margin: 0;
  color: var(--ash);
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.75;
}

.legal-page-header .effective {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-top: 24px;
  text-transform: uppercase;
}

.legal-copy section {
  padding: 0 0 56px;
}

.legal-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-copy p {
  max-width: 68ch;
  margin: 0 0 14px;
  color: var(--ash);
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.legal-copy a {
  color: var(--amber);
}

.legal-copy a:hover,
.legal-copy a:focus-visible {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .caret {
    animation: none;
  }

  * {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-depth {
    min-height: 300px;
  }

  .about-layout,
  .section-head,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-grid article {
    padding-bottom: 48px;
  }
}

@media (max-width: 760px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    height: 72px;
  }

  .brand {
    font-size: 12px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 40px;
    background: var(--void);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .nav-tools {
    gap: 10px;
  }

  .nav-cta {
    display: none;
  }

  .menu-btn {
    position: relative;
    z-index: 60;
    display: block;
  }

  .hero {
    min-height: 0;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero h1,
  .about-section h2,
  .section-head h2,
  .contact-section h2,
  .legal-section h2 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .hero-lead {
    margin: 28px 0 32px;
  }

  .hero-depth {
    min-height: 240px;
  }

  .hero-depth span {
    font-size: clamp(2.2rem, 11vw, 4rem);
    white-space: normal;
  }

  .hero-depth .depth-b,
  .hero-depth .depth-c {
    display: none;
  }

  .stats-band {
    padding: 44px 0;
  }

  .section,
  .contact-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .queue-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 0;
  }

  .queue-row:hover,
  .queue-row:focus-within,
  .queue-row.is-active {
    transform: none;
  }

  .queue-index {
    margin-bottom: 12px;
  }

  .legal-section {
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .legal-page {
    padding-top: 70px;
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .back-link {
    margin-bottom: 48px;
  }

  .legal-page-header {
    margin-bottom: 56px;
  }

  .footer-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 34px 0;
  }
}
