:root {
  --bg: #000;
  --bg-soft: #0a0a0a;
  --line: #1d1d1d;
  --text: #f4f4f4;
  --muted: #a1a1a1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 60% -10%, #1b1b1b 0%, #000 52%);
  color: var(--text);
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

a, button { cursor: none; }

.cursor-dot,
.cursor-ring,
.trail-particle {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: width .2s ease, height .2s ease, border-color .2s ease;
}

.trail-particle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0));
  filter: blur(0.5px);
}

body.cursor-visible .cursor-dot,
body.cursor-visible .cursor-ring,
body.cursor-visible .trail-particle { opacity: 1; }

body.cursor-hover .cursor-ring {
  width: 54px;
  height: 54px;
  border-color: #fff;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--text);
  text-decoration: none;
  letter-spacing: .14em;
  font-weight: 800;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .84rem;
  letter-spacing: .08em;
}

.nav-links a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  border: 1px solid #343434;
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: .2rem .55rem;
}

.section {
  border-top: 1px solid var(--line);
  padding: 3.2rem 0;
}

.hero { border-top: 0; }

.hero-layout {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 1.4rem;
}

.hero-mark {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
  color: #d8d8d8;
}

.eyebrow {
  margin: 0 0 .7rem;
  color: #7a7a7a;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
}

.hero-info h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.3rem);
  line-height: 1;
}

.hero-info p { color: #bcbcbc; max-width: 75ch; }

.hero-actions {
  margin-top: 1.05rem;
  display: flex;
  gap: .8rem;
}

.pill {
  text-decoration: none;
  color: #fff;
  border: 1px solid #3e3e3e;
  border-radius: 999px;
  padding: .62rem 1.05rem;
  background: #141414;
  transition: transform .2s ease, background .2s ease;
}

.pill:hover { transform: translateY(-2px); background: #222; }
.pill.ghost { background: transparent; }

.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  border: 1px solid #262626;
  background: linear-gradient(180deg, #111, #080808);
  border-radius: 14px;
  padding: 1rem;
}

.work-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #2d2d2d;
  border-radius: 10px;
  margin-bottom: .85rem;
  background: #111;
}

.work-card h2 { margin: 0 0 .4rem; }
.work-card p, .work-card .status { color: #b0b0b0; }
.work-card a { color: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.about-grid h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.3;
}

.about-grid p {
  margin: 0;
  color: #b0b0b0;
  max-width: 44ch;
}

.motivation { background: linear-gradient(180deg, #090909, #040404); }
.motivation-line { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.8rem); color: #e7e7e7; }

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-links a {
  text-decoration: none;
  color: #fff;
  border: 1px solid #363636;
  border-radius: 999px;
  padding: .55rem .95rem;
}

.footer {
  border-top: 1px solid var(--line);
  color: #8a8a8a;
  padding: 1.2rem 4%;
}

.reveal, .slide-in { opacity: 1; transform: none; }
.has-animations .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.has-animations .reveal.show { opacity: 1; transform: translateY(0); }
.has-animations .slide-in { opacity: 0; transform: translateX(20px); transition: opacity .75s ease, transform .75s ease; }
.has-animations .slide-in.show { opacity: 1; transform: translateX(0); }

@media (max-width: 860px) {
  body, a, button { cursor: auto; }
  .cursor-dot, .cursor-ring, .trail-particle { display: none; }

  .hero-layout,
  .works,
  .about-grid { grid-template-columns: 1fr; }

  .menu-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    right: 4%;
    top: 64px;
    flex-direction: column;
    background: #0a0a0a;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: .8rem;
  }

  .nav-links.open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
