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

:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #181818;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.14);
  --accent: #d4f54a;
  --accent2: #b8e030;
  --text: #f0f0f0;
  --muted: #888;
  --mono: "Space Mono", monospace;
  --sans: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
}

.logo {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

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

section {
  padding: 6rem 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url("header.jpg") center/cover no-repeat;
  opacity: 0.15;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, transparent 0%, var(--bg) 100%),
    radial-gradient(ellipse at center, rgba(212, 245, 74, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--mono);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 2px;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0;
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: var(--border2);
}

.about-grid {
  align-items: start;
}

.about-grid h2 {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  grid-column: 1;
}

.about-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

.about-text p + p {
  margin-top: 1rem;
}

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

.project-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}

.project-card:hover {
  background: var(--bg3);
  border-color: var(--border2);
  transform: translateY(-1px);
}

.project-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
}

.project-info h3 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.3px;
}

.project-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  background: var(--bg2);
  padding: 2rem 1.5rem;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--bg3);
}

.service-icon {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-wrap h2 {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.contact-wrap .sub {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 1.25rem;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  background: var(--bg2);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}

a.contact-item:hover {
  background: var(--bg3);
}

.contact-item .label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-item .value {
  font-size: 14px;
  color: var(--muted);
}

footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.footer-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}

.footer-legal-name {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2px;
}

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

@media (max-width: 680px) {
  nav {
    padding: 0 1.25rem;
  }
  section {
    padding: 4rem 1.25rem;
  }
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-brand,
  .footer-legal {
    text-align: center;
    align-items: center;
  }
}
