:root {
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --paper: #f3efe6;
  --paper-deep: #e8e1d4;
  --mist: #d7e3df;
  --sea: #2f6f6a;
  --sea-bright: #3f8f88;
  --gold: #b08a4a;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow: 0 28px 60px color-mix(in srgb, var(--ink) 10%, transparent);
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

body {
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 8% -10%, color-mix(in srgb, var(--mist) 70%, transparent), transparent 55%),
    radial-gradient(90% 70% at 100% 10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 45%),
    linear-gradient(165deg, #f7f3eb 0%, var(--paper) 42%, #ebe4d7 100%);
}

.atmosphere-grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.atmosphere-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere-orb-a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  left: -8%;
  top: 18%;
  background: color-mix(in srgb, var(--sea) 22%, transparent);
}

.atmosphere-orb-b {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  right: -6%;
  bottom: 8%;
  background: color-mix(in srgb, var(--gold) 20%, transparent);
  animation-delay: -6s;
  animation-duration: 22s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -24px, 0) scale(1.06);
  }
}

.stage {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5.5rem) 0 clamp(2rem, 5vh, 3.5rem);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: clamp(2.4rem, 6vh, 4.2rem);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-logo {
  display: block;
  height: clamp(2.2rem, 4.2vw, 2.9rem);
  width: auto;
  max-width: min(240px, 70vw);
  object-fit: contain;
}

.brand-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero {
  max-width: 36rem;
  animation: rise 1000ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.hero-bio {
  margin: 1.15rem 0 0;
  font-size: clamp(0.98rem, 2.1vw, 1.18rem);
  line-height: 1.75;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-domain {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--sea);
}

.hero-domain.no-domain {
  display: none;
}

.foot {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  animation: rise 1000ms 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.foot p {
  margin: 0;
}

.foot-icp a,
.foot-icp .icp-link {
  color: var(--sea);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sea) 30%, transparent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.foot-icp a:hover,
.foot-icp .icp-link:hover {
  color: var(--sea-bright);
  border-bottom-color: var(--sea-bright);
}

.foot-icp a:visited,
.foot-icp .icp-link:visited {
  color: var(--sea);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .stage {
    width: min(920px, calc(100% - 1.6rem));
    gap: 2.2rem;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere-orb,
  .brand,
  .hero,
  .foot {
    animation: none !important;
  }
}
