:root {
  --bg: #0b0b0d;
  --bg-elev: #121215;
  --ink: #f3f1ec;
  --ink-dim: #a8a5a0;
  --line: rgba(243, 241, 236, 0.1);
  --accent: #d8b26a;
  --accent-ink: #14120d;
  --radius: 16px;
  --max-w: 720px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0.67;
  z-index: -1;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 1.5rem 4rem;
  background: radial-gradient(ellipse 60% 50% at 50% 15%, rgba(216, 178, 106, 0.14), transparent 60%);
}

.hero-inner {
  text-align: center;
  max-width: 560px;
}

.portrait-wrap {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(160deg, var(--accent), rgba(216, 178, 106, 0.15));
  box-shadow: 0 20px 60px -20px rgba(216, 178, 106, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portrait-wrap:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 70px -18px rgba(216, 178, 106, 0.45);
}

.name-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 3px solid var(--bg);
}

.name {
  font-size: clamp(2.1rem, 5vw, 3rem);
  margin: 0 0 0.9rem;
}

.tagline {
  color: var(--ink-dim);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 3rem;
}

.scroll-cue {
  display: inline-flex;
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
  animation: scrollcue 1.6s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 2.25rem;
  text-align: center;
}

/* ---------- Link list ---------- */

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 480px;
  margin: 0 auto;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.link-row:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 178, 106, 0.4);
  background: #17171b;
}

.link-title {
  font-weight: 600;
  font-size: 1.02rem;
}

.link-arrow {
  color: var(--accent);
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.link-row:hover .link-arrow {
  transform: translateX(3px);
}

/* ---------- Social pills ---------- */

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.social-pill {
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--bg-elev);
}

/* ---------- Join (opt-in) ---------- */

.join {
  padding-top: 3.5rem;
}

.join-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 20px;
  padding: 0.5rem;
  box-shadow: 0 30px 80px -30px rgba(216, 178, 106, 0.25);
}

/* ---------- Footer ---------- */

.footer {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.82rem;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.link-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.link-list .reveal:nth-child(3) { transition-delay: 0.12s; }
.link-list .reveal:nth-child(4) { transition-delay: 0.18s; }
.link-list .reveal:nth-child(5) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .scroll-cue span { transition: none; animation: none; opacity: 1; transform: none; }
}
