:root {
  --white: #fff;
  --black: #111;
  --muted: #6f6f6f;
  --soft: #f4f4f4;
  --line: #ececec;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --time: 0.7s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--white);
  color: var(--black);
}

body {
  font-family: sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  overflow: hidden;
}

a,
button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  border: 0;
  background: none;
  outline: none;
}

a,
button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.veil {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 30;
  pointer-events: none;
  transform-origin: center;
  animation: unveil 1.1s var(--ease) 0.15s forwards;
}

@keyframes unveil {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
  }
}

.bar {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  opacity: 0;
  transform: translateX(-50%) translateY(-16px);
  animation: island-in 0.9s var(--ease) 0.7s forwards;
  transition:
    box-shadow 0.5s var(--ease),
    background 0.5s var(--ease);
}

.bar:hover {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

body.is-story .bar {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-20px);
}

.bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  transition: transform 0.45s var(--ease);
}

.home:hover {
  transform: scale(1.06);
}

.home:active {
  transform: scale(0.96);
}

.home-mark {
  width: 28px;
  height: 28px;
  transition: transform 0.6s var(--ease);
}

.home-mark img {
  filter: invert(1);
}

.home:hover .home-mark {
  transform: rotate(-18deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a,
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.nav a:hover,
.menu-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav a:active,
.menu-btn:active {
  transform: scale(0.96);
}

.nav a.is-now,
.menu-btn.is-now {
  background: rgba(0, 0, 0, 0.06);
}

.menu-btn::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.menu.is-open .menu-btn::after,
.menu:hover .menu-btn::after {
  transform: rotate(225deg);
}

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--black);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.go:hover,
.go.is-now {
  background: var(--soft);
  transform: scale(1.03);
}

.go:active {
  transform: scale(0.96);
}

.menu {
  position: relative;
}

.menu-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    visibility 0s linear 0.18s;
}

.menu-panel {
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.menu-panel a {
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  justify-content: flex-start;
  border-radius: 14px;
}

.menu-panel a:hover {
  background: var(--soft);
  transform: none;
}

.menu.is-open .menu-list,
.menu:hover .menu-list,
.menu:focus-within .menu-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

main {
  min-height: 100dvh;
  display: grid;
}

.view {
  grid-area: 1 / 1;
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 28px 64px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(28px) scale(0.98);
  filter: blur(10px);
  transition:
    opacity var(--time) var(--ease),
    transform var(--time) var(--ease),
    filter var(--time) var(--ease),
    visibility 0s linear var(--time);
}

.view.is-scroll {
  justify-content: flex-start;
}

.view.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  filter: none;
  transition:
    opacity var(--time) var(--ease),
    transform var(--time) var(--ease),
    filter var(--time) var(--ease),
    visibility 0s;
}

.view.is-on.is-scroll {
  overflow-y: auto;
}

.home-view {
  width: 100%;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  flex: 1;
  overflow: hidden;
  border-radius: 0;
  background: var(--soft);
}

.hero-track {
  position: absolute;
  inset: 0;
}

.hero-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1s var(--ease),
    transform 1.4s var(--ease);
}

.hero-track img.is-on {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 18px;
  color: var(--white);
  transition: transform 0.7s var(--ease);
}

.brand:hover {
  transform: scale(1.02);
}

.brand:active {
  transform: scale(0.98);
}

.brand-mark {
  width: min(28vw, 120px);
  height: min(28vw, 120px);
  animation: spin-in 1.3s var(--ease) 0.35s both, drift 7s var(--ease) 1.8s infinite;
}

.brand:hover .brand-mark {
  animation-play-state: paused;
  transform: rotate(-12deg) scale(1.04);
}

.brand-zh,
.brand-en {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.85s forwards;
}

.brand-zh {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 0.12em;
  margin-right: -0.12em;
}

.brand-en {
  font-size: 13px;
  letter-spacing: 0.08em;
  animation-delay: 1s;
}

.hero-ui {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease);
}

.hero-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-left: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  transform: rotate(45deg) translate(1px, -1px);
}

.hero-btn.next::before {
  transform: rotate(-135deg) translate(1px, -1px);
}

.hero-btn:hover {
  background: var(--white);
  transform: scale(1.06);
}

.hero-btn:active {
  transform: scale(0.94);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition:
    width 0.45s var(--ease),
    background 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.hero-dots button.is-on {
  width: 22px;
  background: var(--white);
}

.story {
  width: min(680px, 100%);
}

.story-home {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 36px;
  transition: transform 0.45s var(--ease);
}

.story-home img {
  filter: invert(1);
}

.story-home:hover {
  transform: scale(1.06) rotate(-12deg);
}

body.is-story .view[data-view="story"] {
  padding-top: 48px;
}

.story h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.story .lead,
.story .note {
  margin: 18px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.story .note {
  margin: 0 0 16px;
}

.story h2 {
  margin: 48px 0 18px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.story p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 2;
}

.story .note,
.story .end {
  font-size: 14px;
}

.story .end {
  text-align: center;
}

.story .end:first-of-type,
.story p.end:nth-of-type(1) {
  margin-top: 56px;
}

.line,
.copy {
  max-width: 18em;
  text-align: center;
}

.line {
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.copy {
  margin-top: 28px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.list {
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item {
  border-radius: 32px;
  overflow: hidden;
  background: var(--soft);
  transition:
    transform 0.5s var(--ease),
    background 0.5s var(--ease);
}

.item:hover {
  transform: scale(1.01);
}

.item button {
  width: 100%;
  min-height: 76px;
  padding: 0 32px;
  border-radius: 32px;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 0.12em;
  transition: transform 0.45s var(--ease);
}

.item button:active {
  transform: scale(0.98);
}

.item p {
  max-height: 0;
  overflow: hidden;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  opacity: 0;
  transform: translateY(12px);
  transition:
    max-height 0.6s var(--ease),
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    padding 0.6s var(--ease);
}

.item.is-open p {
  max-height: 120px;
  padding: 0 24px 22px;
  opacity: 1;
  transform: none;
}

.contact {
  width: min(1080px, 100%);
}

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 8px 8px 56px;
}

.contact-intro h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.contact-intro p,
.contact-ways p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-intro p {
  max-width: 16em;
  margin: 18px 0 24px;
}

.contact-ways {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-ways article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-ways h2 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  white-space: nowrap;
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.pill:hover {
  background: var(--soft);
  transform: scale(1.03);
}

.pill:active {
  transform: scale(0.96);
}

.board {
  padding: 48px 40px 40px;
  border-radius: 48px;
  background: var(--soft);
}

.board h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: 0;
  margin: 8px 8px 28px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 36px;
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  display: block;
  border-radius: 28px;
  background: var(--soft);
  padding: 14px 20px 12px;
  transition:
    transform 0.45s var(--ease),
    background 0.45s var(--ease);
}

.form label:focus-within {
  transform: scale(1.015);
  background: #efefef;
}

.form span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.form input,
.form textarea {
  width: 100%;
  color: var(--black);
  resize: none;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #b3b3b3;
}

.send {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  letter-spacing: 0.04em;
  transition:
    transform 0.45s var(--ease),
    background 0.45s var(--ease);
}

.send:hover {
  background: var(--soft);
  transform: scale(1.03);
}

.send:active {
  transform: scale(0.96);
}

.form.is-out .send {
  pointer-events: none;
}

.done {
  height: 0;
  overflow: hidden;
  text-align: center;
  color: var(--muted);
  opacity: 0;
  transform: translateY(10px);
  transition:
    height 0.5s var(--ease),
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.form.is-sent .form-row,
.form.is-sent label,
.form.is-sent .send {
  opacity: 0;
  transform: scale(0.96);
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  pointer-events: none;
  overflow: hidden;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    max-height 0.5s var(--ease),
    padding 0.5s var(--ease);
}

.form.is-sent .done {
  height: 48px;
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes island-in {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes spin-in {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(18deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-4deg);
  }
}

@media (max-width: 720px) {
  .bar {
    top: 12px;
    width: calc(100% - 16px);
    padding: 6px 6px 6px 12px;
  }

  .bar-left {
    gap: 4px;
  }

  .nav a,
  .menu-btn,
  .go {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .home-view {
    padding: 0;
  }

  .hero {
    border-radius: 0;
  }

  .hero-ui {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .brand-zh {
    letter-spacing: 0.08em;
    margin-right: -0.28em;
  }

  .contact-top,
  .form-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .board {
    padding: 28px 16px 16px;
    border-radius: 32px;
  }

  .form {
    padding: 18px;
    border-radius: 28px;
  }
}

