/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #f5f5f5;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

/* LAYOUT */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 22, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffb45a, #f25571 40%, #2169ff 80%);
  box-shadow: 0 0 18px rgba(255, 180, 90, 0.6);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links a {
  opacity: 0.78;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

main {
  padding: 3.5rem 0 3rem;
}

@media (max-width: 800px) {
  header {
    position: static;
  }
  .nav {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
  main {
    padding-top: 2.5rem;
  }
}

/* HERO (home only) */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.4vw + 1.4rem, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span {
  background: linear-gradient(120deg, #ffb45a, #f25571, #4f9dff);
  -webkit-background-clip: text;
  color: transparent;
}

.tagline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 1.4rem;
}

.hero p {
  max-width: 32rem;
  color: #d1d5db;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.btn-primary {
  background: linear-gradient(135deg, #ffb45a, #f25571, #2169ff);
  color: #050816;
  font-weight: 600;
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.hero-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  border-radius: 24px;
  padding: 0.6rem;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.4), transparent 65%),
              radial-gradient(circle at bottom, rgba(249, 115, 22, 0.4), transparent 60%),
              #020617;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.85);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  min-height: 260px;
}

/* GENERIC SECTIONS */
.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
}

.page-header p {
  color: #9ca3af;
  max-width: 38rem;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.lead {
  color: #9ca3af;
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  margin-top: 1.4rem;
}

.card {
  background: rgba(15, 23, 42, 0.94);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

/* PROJECT LIST */
.project-list isplay: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.project-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.contact-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 0.35rem;
  column-gap: 0.75rem;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.contact-card dt {
  color: #9ca3af;
}

.contact-card dd a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.4rem 0 1.6rem;
  font-size: 0.8rem;
  color: #6b7280;
}

footer span {
  opacity: 0.9;
}

/* ABOUT SECTION */

.about {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 3.5rem 0 3.5rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.about h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.about p {
  color: #d1d5db;
  margin-bottom: 0.9rem;
}


/* SMOOTH SCROLL (if same-page anchors used) */
html {
  scroll-behavior: smooth;
}
