:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --card-bg: #101010;
  --card-border: rgba(255, 255, 255, 0.06);
  --accent: #f5f5f5;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --text-main: #f5f5f5;
  --text-soft: #a0a0a0;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #202020 0, #050505 45%, #000000 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Subtle monochrome background texture */
.bg-gradient {
  position: fixed;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.03), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.04), transparent 60%);
  opacity: 0.8;
  z-index: -1;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 7vw 12px;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.96),
    rgba(5, 5, 5, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.9));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff, #a3a3a3);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* HERO */

.hero {
  padding: 80px 7vw 40px;
}

.hero-content {
  max-width: 820px;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d4d4d4;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 540px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* BUTTONS */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out,
    background 0.14s ease-out, border-color 0.14s ease-out, color 0.14s ease-out;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0%, #ffffff, #d4d4d4);
  color: #050505;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 1);
}

.btn-ghost {
  background: rgba(12, 12, 12, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(20, 20, 20, 0.96);
}

/* SECTIONS */

.section {
  padding: 30px 7vw 40px;
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* PROJECT CARDS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--accent-soft);
  color: #e5e5e5;
  margin-bottom: 10px;
}

.project-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.project-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.project-tags {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags li {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-link {
  font-size: 13px;
  color: #e5e5e5;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.project-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #ffffff, #a3a3a3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s ease-out;
}

.project-link:hover::after {
  transform: scaleX(1);
}

.project-link.disabled {
  cursor: default;
  opacity: 0.6;
}

.project-link.disabled::after {
  display: none;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 28px;
}

.about-grid p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.about-list li {
  margin-bottom: 8px;
}

/* CONTACT */

.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-soft);
  max-width: 520px;
}

.contact-card p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 14px;
}

.contact-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.contact-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.contact-links a:hover {
  color: #f5f5f5;
}

/* FOOTER */

.site-footer {
  padding: 20px 7vw 26px;
  font-size: 12px;
  color: #9f9f9f;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 20px;
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .site-header {
    padding-inline: 16px;
  }

  .hero {
    padding-inline: 16px;
  }

  .section {
    padding-inline: 16px;
  }

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

  .nav-links {
    display: none; /* clean single-column mobile look */
  }
}
