/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #e5e5e5;
  background: #0a0a0a;
  -webkit-font-smoothing: antialiased;
}

/* Subtle futuristic atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(99, 102, 241, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 30% at 80% 80%, rgba(34, 211, 238, 0.04), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

/* --- Layout --- */
main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem 4rem;
}

/* --- Typography --- */
h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.35em;
  color: #fafafa;
}

h2 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #737373;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
  color: #a3a3a3;
}
p:last-child {
  margin-bottom: 0;
}

/* --- Sections --- */
.hero {
  margin-bottom: 2.5rem;
}

.tagline {
  font-size: 1rem;
  color: #737373;
  margin: 0;
}

.about {
  margin-bottom: 2.5rem;
}

.about p {
  color: #d4d4d4;
}

.work {
  margin-bottom: 2.5rem;
}

.work p {
  color: #a3a3a3;
}

.work-cta {
  margin-top: 1rem;
}

.connect {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.connect p {
  color: #a3a3a3;
}

/* --- Links --- */
a {
  color: #fafafa;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* --- Optional: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
