:root {
  --bg: #fafafa;
  --ink: #111;
  --muted: #888;
  --accent: #111;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  font-size: 15px;
}
.brand { font-weight: 600; letter-spacing: 0.01em; }
.brand .dash { color: var(--muted); font-weight: 400; }
#hero-tagline { color: var(--muted); font-weight: 400; }
.lang {
  background: none;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
}
.lang:hover { border-color: var(--ink); }

.stage { padding: 4vh 0 0; }

.faces-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.faces-viewport.dragging { cursor: grabbing; }
.faces-track {
  display: flex;
  align-items: flex-end;
  width: max-content;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.faces-viewport.dragging .faces-track { transition: none; }

.face {
  flex: 0 0 auto;
  width: clamp(140px, 22vw, 300px);
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0.35;
  transform: scale(0.62);
  transform-origin: bottom center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s;
  cursor: pointer;
}
.face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.face.active { opacity: 1; transform: scale(1); }
.face.near { opacity: 0.6; transform: scale(0.8); }

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 26px 0 0;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.dot.active { background: var(--ink); transform: scale(1.3); }

.bio {
  text-align: center;
  padding: 5vh 24px 0;
  max-width: 640px;
  margin: 0 auto;
  min-height: 30vh;
}
.stats {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
}
.stage-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.stage-text {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.65;
  color: #333;
}
.sticker {
  width: min(300px, 68vw);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  margin: 28px auto 0;
  display: block;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}
.bio.swap .stats, .bio.swap .stage-title, .bio.swap .stage-text, .bio.swap .sticker {
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.contacts {
  max-width: 640px;
  margin: 0 auto;
  padding: 10vh 24px 6vh;
  text-align: center;
}
.contacts h2 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 600;
}
.contacts ul { list-style: none; }
.contacts li { margin-bottom: 14px; font-size: 17px; }
.contacts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #ddd; }
.contacts a:hover { border-color: var(--ink); }
.contacts .clabel { color: var(--muted); margin-right: 10px; font-size: 14px; }
.contacts .note { margin-top: 26px; font-size: 12px; color: #bbb; }

footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .top { padding: 16px 18px; }
  .face { width: 52vw; }
  .bio { padding-top: 4vh; }
}
