:root{
  --bg: #0b0b0c;
  --fg: #f4f2ee;
  --muted: rgba(244,242,238,.72);
  --radius: 18px;
}

/* Base */
*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--fg);
}

/* Lock scroll during intro */
body.intro-lock{ overflow: hidden; }

/* Intro overlay */
.intro{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 24px;

  transform: translateY(0);
  transition: transform 900ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

.intro__inner{
  width: min(880px, 100%);
}

.intro__logo{
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: .95;
}

.intro__desc{
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 16px;
  color: var(--muted);
}

/* Slide away */
body.intro-done .intro{
  transform: translateY(-110%);
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  .intro{ transition: none; }
  body.intro-done .intro{ transform: none; display: none; }
}

/* Site */
.site-header{
  position: sticky;
  top: 0;
  background: rgba(11,11,12,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244,242,238,.10);
}

.nav{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav a{ color: var(--fg); text-decoration: none; opacity: .9; }
.nav a:hover{ opacity: 1; }
.nav__brand{ font-weight: 600; letter-spacing: .02em; }
.nav__links{ display: flex; gap: 14px; }

.site-main{
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

.hero h1{
  font-size: clamp(28px, 4vw, 54px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.hero p{ color: var(--muted); margin: 0; max-width: 60ch; }

section{
  padding: 56px 0;
  border-bottom: 1px solid rgba(244,242,238,.08);
}

h2{
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
