:root {
  --bg-primary: #F7F5F0;
  --bg-secondary: #EEEAE2;
  --bg-accent: #1A1A18;
  --text-primary: #1A1A18;
  --text-secondary: #4A4844;
  --text-muted: #8A8680;
  --accent-gold: #C8973A;
  --accent-teal: #1E7B6B;
  --border: #D8D4CC;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__dj-btn {
  background: var(--bg-accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.nav__dj-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 80px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.hero__label,
.section-kicker,
.dj-banner__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-teal);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 28px;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-gold);
}

.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 40px;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--bg-accent);
  color: var(--white);
}

.btn-outline {
  border: 1px solid var(--bg-accent);
  color: var(--text-primary);
}

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

.btn-outline:hover {
  background: var(--bg-accent);
  color: var(--white);
}

.hero__meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero__open {
  color: var(--accent-teal);
  font-weight: 500;
}

.section-wrap {
  padding: 96px 60px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  max-width: 980px;
}

.dj-banner {
  margin: 0;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-accent);
  color: var(--white);
}

.dj-banner__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  margin: 0 0 20px;
}

.dj-banner__body {
  color: #D7D1C6;
  max-width: 520px;
  font-size: 17px;
}

.dj-banner__cta {
  margin-top: 24px;
  background: var(--bg-primary);
  color: var(--bg-accent);
  border: none;
  border-radius: 6px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 500;
}

.dj-banner__preview {
  background: #252520;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
}

.chat-bubble {
  max-width: 88%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.chat-bubble--dj {
  background: #F7F5F0;
  color: var(--text-primary);
}

.chat-bubble--user {
  margin-left: auto;
  background: var(--accent-teal);
  color: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.about p {
  margin: 0 0 20px;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 18px;
}

.about__facts {
  display: grid;
  gap: 16px;
}

.about__facts div {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}

.about__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.about__facts span {
  color: var(--text-secondary);
}

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

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 26, 24, 0.08);
}

.project-card__header,
.project-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.project-card__number,
.project-card__stack {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.12;
  margin: 28px 0 16px;
}

.project-card__desc {
  color: var(--text-secondary);
  margin: 0;
}

.project-card__tags,
.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag,
.skill-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
  background: rgba(30, 123, 107, 0.08);
  border: 1px solid rgba(30, 123, 107, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
}

.project-card__footer {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.project-card__link,
.project-card__dj {
  color: var(--text-primary);
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.project-card__dj {
  color: var(--accent-teal);
}

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

.skill-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.skill-group__label {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 18px;
}

.skill-pill--primary {
  background: var(--bg-accent);
  color: var(--white);
  border-color: var(--bg-accent);
}

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

.dashboard-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  font-family: var(--font-display);
  font-size: 28px;
}

.dashboard-card span {
  font-family: var(--font-body);
  color: var(--accent-teal);
  font-size: 14px;
}

.contact__panel {
  background: var(--bg-accent);
  color: var(--white);
  border-radius: 12px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.contact__panel .section-title {
  margin-bottom: 18px;
}

.contact__panel p {
  color: #D7D1C6;
  max-width: 620px;
}

.contact__panel .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.contact__panel .btn-outline:hover {
  background: var(--white);
  color: var(--bg-accent);
}

.contact__panel .btn-primary {
  background: var(--white);
  color: var(--bg-accent);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 60px 100px;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav {
    padding: 16px 20px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
  }

  .nav__links.is-open {
    display: flex;
  }

  .hero,
  .section-wrap,
  .dj-banner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .dj-banner,
  .about__grid,
  .projects-grid,
  .skills-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .contact__panel,
  .footer {
    flex-direction: column;
  }

  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}
