﻿:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --surface: #111826;
  --surface-2: #0f1622;
  --accent: #ff8a00;
  --accent-2: #1ed5a9;
  --text: #f5f7fa;
  --text-muted: #a7b0c0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.45);
}

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

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(30, 213, 169, 0.18), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(255, 138, 0, 0.12), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.bg-orbit {
  position: fixed;
  inset: -40% -20% auto;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.22), transparent 60%);
  filter: blur(10px);
  opacity: 0.4;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 20, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7vw;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.logo-dot {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 138, 0, 0.6);
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffb347);
  color: #151515;
  box-shadow: 0 10px 30px rgba(255, 138, 0, 0.25);
}

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

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.hero {
  padding: 90px 7vw 70px;
  display: grid;
  gap: 40px;
}

.hero-content h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.subhead {
  font-size: 1.1rem;
  max-width: 560px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 20px;
}

.hero-grid {
  margin-top: 28px;
  position: relative;
  height: 180px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(17, 24, 38, 0.4);
}

.grid-line {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(transparent 95%, rgba(255, 255, 255, 0.06) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.06) 95%);
  background-size: 60px 60px;
}

.grid-line:nth-child(2) {
  opacity: 0.6;
  transform: translate(30px, -10px);
}

.grid-line:nth-child(3) {
  opacity: 0.4;
  transform: translate(-20px, 20px);
}

.grid-sweep {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 138, 0, 0.4);
  box-shadow: 0 0 25px rgba(255, 138, 0, 0.4);
  left: -20px;
  top: -40px;
  animation: sweep 8s linear infinite;
}

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

.metric-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 24px var(--shadow);
  transition: transform 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
}

.metric-value {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.6rem;
  display: block;
}

.metric-label {
  color: var(--text-muted);
}

.section {
  padding: 80px 7vw;
}

.section.alt {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.section-copy {
  max-width: 680px;
  color: var(--text-muted);
}

.card-grid,
.project-grid,
.showreel-grid,
.testimonial-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.card,
.project-card,
.showreel-card,
.testimonial,
.contact-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 30px var(--shadow);
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover,
.project-card:hover,
.showreel-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 0, 0.4);
}

body.reveal-ready .card,
body.reveal-ready .project-card,
body.reveal-ready .showreel-card,
body.reveal-ready .testimonial,
body.reveal-ready .contact-card,
body.reveal-ready .metric-card {
  opacity: 0;
  transform: translateY(12px);
}

body.reveal-ready .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.showreel-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.showreel-card {
  padding: 0;
  overflow: hidden;
}

.showreel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(17, 24, 38, 0.95), rgba(15, 22, 34, 0.9));
}

.showreel-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 20% 20%, rgba(30, 213, 169, 0.2), transparent 50%);
  opacity: 0.7;
}

.showreel-frame::after {
  content: "";
  position: absolute;
  inset: -40% 60% -40% -40%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.35), transparent 60%);
  animation: showreelSweep 6s linear infinite;
}

.showreel-meta {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.showreel-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.showreel-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial blockquote {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.testimonial figcaption {
  color: var(--text-muted);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(30, 213, 169, 0.12);
  border: 1px solid rgba(30, 213, 169, 0.3);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.badge {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.contact-grid {
  margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card ul {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--text-muted);
}

.footer {
  padding: 30px 7vw 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

@keyframes sweep {
  0% {
    transform: translateX(-10px) translateY(0);
  }
  50% {
    transform: translateX(180px) translateY(10px);
  }
  100% {
    transform: translateX(340px) translateY(-10px);
  }
}

@keyframes showreelSweep {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(240%);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 7vw;
    background: rgba(17, 24, 38, 0.98);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 16px 6vw;
  }

  .section {
    padding: 70px 6vw;
  }

  .hero {
    padding: 80px 6vw 60px;
  }
}



