/* Robots or Drones — production styles
   Dark cinematic / industrial / aerial */

:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c22;
  --border: #2a2a32;
  --border-subtle: #1e1e24;
  --text: #f5f5f7;
  --text-muted: #9a9aa3;
  --text-dim: #6b6b75;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --white: #ffffff;
  --danger: #ff6b6b;
  --radius: 10px;
  --radius-lg: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: var(--white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

/* —— Layout —— */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-main {
  flex: 1;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--white);
  opacity: 0.9;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.logo-text {
  display: none;
}

@media (min-width: 480px) {
  .logo-text {
    display: inline;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: var(--cyan-dim);
}

.nav-links a[aria-current="page"] {
  color: var(--cyan);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

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

  .nav-toggle {
    display: none;
  }
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: 8px;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--cyan);
  background: var(--cyan-dim);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--cyan);
  color: #001018;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.btn-primary:hover {
  background: #33ebff;
  color: #001018;
  box-shadow: 0 0 32px var(--cyan-glow);
}

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

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  padding: 0.5rem 0.85rem;
}

.btn-ghost:hover {
  color: var(--cyan);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 40%, rgba(0, 229, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 50% at 85% 35%, rgba(0, 120, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 229, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #0d1118 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(0, 229, 255, 0.03) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(0, 229, 255, 0.03) 48px
    );
  pointer-events: none;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}

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

.hero-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero-wordmark {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 40px var(--cyan-glow);
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— Featured video embeds —— */
.featured-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}


.video-card-featured .video-card-play {
  opacity: 1;
  background: rgba(0, 0, 0, 0.35);
}
.video-card-featured .video-card-play span {
  width: 64px;
  height: 64px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-side .video-card {
  flex: 1;
}

/* —— Video cards / grid —— */
.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  color: inherit;
}

.video-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 229, 255, 0.08);
  color: inherit;
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  overflow: hidden;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.04);
}

.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s;
}

.video-card:hover .video-card-play {
  opacity: 1;
}

.video-card-play span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan);
  color: #001018;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.video-card-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.video-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.video-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.video-card:hover .video-card-title {
  color: var(--cyan);
}

/* —— Services / teaser cards —— */
.cards-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.06);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 10px;
  color: var(--cyan);
  margin-bottom: 1.15rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0, 229, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.cta-band .hero-actions {
  margin-top: 0;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(0, 229, 255, 0.08), transparent 55%);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.65rem;
}

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

/* —— About —— */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
  }
}

.about-portrait {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.about-portrait img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 32px var(--cyan-glow);
}

.about-portrait h2 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.about-portrait .role {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.about-portrait .meta {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.prose h2 {
  font-size: 1.35rem;
  color: var(--white);
  margin: 1.75rem 0 0.65rem;
  font-weight: 700;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.prose ul {
  margin: 0 0 1rem 0;
  padding: 0;
}

.prose li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-info h2 {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.contact-detail a,
.contact-detail span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 500;
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}

.contact-detail a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}

@media (min-width: 480px) {
  .contact-form-wrap {
    padding: 2rem;
  }
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group .hint {
  font-weight: 400;
  color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #3a3a45;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9aa3' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
  line-height: 1.5;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}

.form-status.error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--danger);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .logo {
  margin-bottom: 0.25rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 0.3rem 0;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--cyan);
  color: #001018;
  padding: 0.65rem 1rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
  color: #001018;
}
