:root {
  color-scheme: light;
  --color-background: #faf7f3;
  --color-brand: #a0737c;
  --color-text: #312d2b;
  --color-text-soft: #7d736e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand-home {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(3rem, 10vh, 7rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
}

.brand-lockup {
  width: min(100%, 42rem);
}

.brand-logo {
  color: var(--color-brand);
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.48em;
  line-height: 1;
  text-indent: 0.48em;
}

.brand-name {
  margin: clamp(1.5rem, 4vh, 2.25rem) 0 0;
  font-size: clamp(2.25rem, 1.45rem + 3.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.12;
  text-indent: 0.16em;
}

.brand-message {
  margin-top: clamp(2rem, 5vh, 3rem);
}

.brand-message p {
  margin: 0;
}

.tagline-zh {
  font-size: clamp(1rem, 0.91rem + 0.38vw, 1.22rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.8;
}

.tagline-en {
  margin-top: 0.72rem !important;
  color: var(--color-text-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.85rem, 0.81rem + 0.18vw, 0.96rem);
  font-style: italic;
  letter-spacing: 0.035em;
  line-height: 1.7;
}

@media (max-width: 30rem) {
  .brand-home {
    padding-inline: 1.25rem;
  }

  .brand-name {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .tagline-zh {
    letter-spacing: 0.08em;
  }
}

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