:root {
  --bg: #0c0c0d;
  --fg: #ececec;
  --muted: #8a8a8f;
  --accent: #7ec8ff;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film-grain overlay */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 2%); }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  z-index: 50;
  mix-blend-mode: difference;
}
.nav-name { font-weight: 700; letter-spacing: 0.1em; }
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a:hover { color: var(--accent); }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
}
.hero-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(3.5rem, 14vw, 12rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.12s; color: var(--accent); }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  max-width: 34rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.hero-roles {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 2rem;
}
.hero-roles li {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.3s ease;
  cursor: default;
}
.hero-roles li:hover { color: var(--fg); }
.hero-roles li:not(:last-child)::after {
  content: "/";
  color: #2a2a2d;
  margin-left: 0.75rem;
  font-weight: 400;
}

.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 6rem);
}
.js .section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .section.visible { opacity: 1; transform: none; }

.section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 2rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about-text p { max-width: 40rem; margin-bottom: 1.25rem; font-size: 1.15rem; }
.photo-placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  border: 1px solid #2a2a2d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: #2a2a2d;
  background: linear-gradient(160deg, #141416, #0c0c0d);
}

.client-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.client-list li {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #3a3a3f;
  transition: color 0.3s ease;
  cursor: default;
}
.client-list li:hover { color: var(--fg); }
.client-list li:not(:last-child)::after {
  content: "/";
  color: #232326;
  margin-left: 1rem;
  font-weight: 400;
}

.social-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.social-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}
.social-links a:hover { color: var(--accent); }

.email-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid #2a2a2d;
  padding-bottom: 2px;
}
.email-link:hover { color: var(--accent); border-color: var(--accent); }

.footer {
  padding: 2rem clamp(1.5rem, 6vw, 6rem);
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid #1a1a1d;
}

@media (max-width: 640px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero-title .line span { animation: none; transform: none; }
  .js .section { opacity: 1; transform: none; transition: none; }
}
