:root {
  --bg: #0e0e12;
  --bg-soft: #14141b;
  --text: #f5f4ff;
  --muted: #b6b3d6;
  --accent: #8b7bff;
  --accent-2: #2be4ac;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #2d2168 0%, transparent 32%),
    radial-gradient(circle at 100% 80%, #11403c 0%, transparent 30%),
    var(--bg);
  min-height: 100%;
}

body {
  line-height: 1.65;
  position: relative;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='%23ffffff' fill-opacity='0.5'%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3Ccircle cx='60' cy='42' r='1'/%3E%3Ccircle cx='140' cy='25' r='1'/%3E%3Ccircle cx='42' cy='100' r='1'/%3E%3Ccircle cx='100' cy='120' r='1'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1120px, 92vw);
  margin: 1.25rem auto 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.45);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

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

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 6.5rem 0 5rem;
  max-width: 860px;
}

.eyebrow {
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-size: 0.78rem;
  margin-bottom: 0.95rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Clash Display", sans-serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  margin-bottom: 1.2rem;
}

h1 span {
  color: var(--accent-2);
}

.hero-copy {
  color: var(--muted);
  max-width: 630px;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #ab76ff);
  color: #fff;
  box-shadow: 0 10px 30px rgba(138, 123, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.work {
  padding: 2rem 0 4.5rem;
}

.section-title-wrap {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-title-wrap h2,
.about h2,
footer h2 {
  font-size: clamp(1.9rem, 3.1vw, 3rem);
}

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

.project-card {
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 123, 255, 0.8);
}

.project-thumb {
  aspect-ratio: 4 / 3;
}

.thumb-1 {
  background: linear-gradient(135deg, #251c5a 5%, #7d70ff 68%, #2be4ac 100%);
}

.thumb-2 {
  background: linear-gradient(140deg, #1f1f29 0%, #ab76ff 55%, #f0a5ff 100%);
}

.thumb-3 {
  background: linear-gradient(145deg, #072c33 0%, #2be4ac 40%, #8b7bff 100%);
}

.project-meta {
  padding: 1.1rem;
}

.project-meta p,
.project-meta span,
.about > p,
footer p,
.quote-by {
  color: var(--muted);
}

.project-meta p {
  margin: 0.25rem 0;
}

.project-meta span {
  font-size: 0.87rem;
}

.about {
  padding: 2.5rem 0 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.stats li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 1rem;
  min-width: 140px;
}

.stats strong {
  display: block;
  font-family: "Clash Display", sans-serif;
  font-size: 1.4rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonials {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.2rem;
  padding: 1.6rem;
  margin-bottom: 4.5rem;
}

blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-family: "Clash Display", sans-serif;
  max-width: 900px;
}

footer {
  width: min(1120px, 92vw);
  margin: 0 auto 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  display: grid;
  gap: 1rem;
}

small {
  color: #9691c6;
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
  }

  nav {
    width: 100%;
    justify-content: center;
    order: 3;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 4.6rem;
  }

  .stats {
    flex-direction: column;
  }
}
