:root {
  --cyan: #3fc4d9;
  --red: #e8342a;
  --gold: #f2b705;
  --green: #1f9d55;
  --bg: #0a0d12;
  --bg-alt: #12161d;
  --card: #171c25;
  --line: #262c37;
  --text: #f2f4f7;
  --muted: #9aa4b2;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.display {
  font-family: 'Anton', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { display: flex; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Dropdown (About Us) */
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.dropdown-toggle:hover, .has-dropdown.open .dropdown-toggle { color: var(--cyan); }
.dropdown-toggle::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s;
}
.has-dropdown.open .dropdown-toggle::after { transform: rotate(-135deg); margin-top: 3px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 200px;
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 16px 34px rgba(0,0,0,0.45);
  z-index: 60;
}
.dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
}
.dropdown-menu a:hover { background: rgba(63,196,217,0.12); color: var(--cyan); }
.dropdown-menu a.active { color: var(--cyan); }
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10,13,18,0.55) 0%, rgba(10,13,18,0.75) 55%, var(--bg) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center 25%;
  z-index: -1;
}
.hero-tag {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 18px;
  border: 1px solid rgba(63,196,217,0.4);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.95;
  margin: 0 0 20px;
}
.hero h1 .accent-cyan { color: var(--cyan); }
.hero h1 .accent-red { color: var(--red); }
.hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 32px;
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--cyan), #2a9fb3); color: #051217; }
.btn-ghost { border-color: rgba(255,255,255,0.25); color: #fff; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.hashrow {
  margin-top: 56px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hashrow span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 12px;
}
h2.display {
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 24px;
}
.lede { color: var(--muted); font-size: 17px; max-width: 680px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.stat-row { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.stat b { display: block; font-size: 34px; font-family: 'Anton', sans-serif; color: var(--cyan); }
.stat span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(63,196,217,0.12);
  color: var(--cyan);
  margin-bottom: 18px;
}
.svc-card h3 { font-size: 18px; margin: 0 0 8px; }
.svc-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Series chips */
.series-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.chip.c1 { border-color: rgba(63,196,217,0.5); color: var(--cyan); }
.chip.c2 { border-color: rgba(232,52,42,0.5); color: #ff8078; }
.chip.c3 { border-color: rgba(242,183,5,0.5); color: var(--gold); }

/* Gallery */
.gallery {
  columns: 4 220px;
  column-gap: 14px;
}
.gallery img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

/* Video */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Contact */
.contact-card {
  background: linear-gradient(135deg, rgba(63,196,217,0.12), rgba(232,52,42,0.10));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list a { text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-list .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-grid { display: flex; gap: 14px; }
.social-grid a {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.social-grid a:hover { border-color: var(--cyan); }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}
.footer-row .nav-brand img { height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links > li { width: 100%; display: block; }
  .nav-links > li > a, .dropdown-toggle { width: 100%; padding: 13px 2px; }
  .dropdown-toggle::after { margin-left: auto; }
  .has-dropdown .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 6px 14px;
    min-width: 0;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .about-grid, .contact-card { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2 160px; }
  .contact-card { padding: 32px 24px; }
}
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* Team page */
.page-hero {
  padding: 160px 0 64px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.page-hero p.lede { margin-top: 18px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.team-photo-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #000;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-body { padding: 24px 26px 28px; }
.team-role {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.team-name {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 26px;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.team-bio {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 18px;
}
.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.team-skills span {
  font-size: 12px;
  font-weight: 600;
  color: #cfe9ee;
  background: rgba(63,196,217,0.1);
  border: 1px solid rgba(63,196,217,0.3);
  padding: 5px 12px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 48px; }
}
