:root {
  --navy: #0e1420;
  --panel: #161e2e;
  --cobalt: #2a5cff;
  --cobalt-dark: #1c3fc7;
  --ivory: #f4f6fb;
  --gray: #8891a3;
  --radius: 6px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ivory);
  background: var(--navy);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 20, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-size: 20px;
  text-decoration: none;
  color: var(--ivory);
}
.logo span { color: var(--cobalt); }

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

.nav-links a {
  text-decoration: none;
  color: var(--ivory);
  font-size: 15px;
  font-weight: 500;
}

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

.btn-nav {
  background: var(--cobalt);
  padding: 9px 16px;
  border-radius: var(--radius);
  color: #fff !important;
}
.btn-nav:hover { background: var(--cobalt-dark); color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ivory);
  display: block;
}

/* Hero */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(42,92,255,0.25) 0%, rgba(42,92,255,0) 70%),
    var(--navy);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  color: var(--cobalt);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  margin: 0 0 20px;
  line-height: 1.1;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 17px;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-primary {
  background: var(--cobalt);
  color: #fff;
}
.btn-primary:hover { background: var(--cobalt-dark); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--ivory);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* Work */
.work { padding: 90px 0; }
.work h2 { font-size: 32px; text-align: center; margin-bottom: 44px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.work-card {
  display: block;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ivory);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt);
}

.work-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-info { padding: 22px 24px; }

.work-info h3 { font-size: 20px; margin: 0 0 10px; }
.work-info p { font-size: 14.5px; color: var(--gray); margin: 0 0 14px; }

.work-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cobalt);
}

.work-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(255,255,255,0.18);
  min-height: 220px;
}

.work-card-placeholder .work-info { text-align: center; }
.work-card-placeholder h3 { color: var(--gray); }

/* About */
.about {
  padding: 90px 0;
  background: var(--panel);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.about h2 { font-size: 32px; text-align: center; margin-bottom: 44px; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.about-card {
  padding: 26px 22px;
}

.about-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--cobalt);
}

.about-card p {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
}

/* Contact */
.contact {
  padding: 90px 0;
  text-align: center;
}

.contact h2 { font-size: 32px; margin-bottom: 12px; }
.contact p { color: var(--gray); margin-bottom: 30px; font-size: 16px; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 26px 0;
  font-size: 14px;
  color: var(--gray);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-inner a {
  text-decoration: none;
  color: var(--cobalt);
}

/* Responsive */
@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}
