/* ---------- Reset & tokens ---------- */
:root {
  --bg: #fcfcfc;
  --ink: #141414;
  --muted: #7a7a7a;
  --faint: #b4b4b4;
  --line: #e8e8e8;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100% - 48px, 1080px);
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 13vw, 152px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.dot {
  color: var(--faint);
}

.hero-sub {
  margin: 30px 0 0;
  font-size: clamp(14px, 2vw, 17px);
  color: var(--muted);
  letter-spacing: 0.01em;
  font-weight: 300;
}

.location {
  color: var(--ink);
  font-weight: 500;
  transition: opacity 0.4s var(--ease);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  text-align: center;
  font-size: 13px;
  color: var(--faint);
}

.footer-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-inner a {
  transition: color 0.3s var(--ease);
}

.footer-inner a:hover {
  color: var(--ink);
}

.sep {
  color: var(--line);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
