/* ============================================================
   Nationwide Drones, design system
   Sibling-brand to AIM Platform. Same navy + moving background.
   Gradient-led accent: blue → teal → emerald, matching the logo.
   ============================================================ */

:root {
  /* Navy backdrop, identical to AIM */
  --primary: #043A57;
  --primary-mid: #05496e;
  --primary-light: #065a85;
  --primary-surface: #07689a;

  /* The NWD logo gradient, three stops */
  --grad-blue: #3DA8E0;
  --grad-teal: #2EBFA8;
  --grad-green: #1FA86F;

  /* The brand gradient, apply to CTAs, headlines, icons */
  --brand-gradient: linear-gradient(180deg, #3DA8E0 0%, #2EBFA8 50%, #1FA86F 100%);
  --brand-gradient-h: linear-gradient(90deg, #3DA8E0 0%, #2EBFA8 50%, #1FA86F 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(61,168,224,0.20) 0%, rgba(46,191,168,0.18) 50%, rgba(31,168,111,0.18) 100%);

  /* Single-colour accent (the teal midpoint) for hover/single-tone fallbacks */
  --accent: #2EBFA8;
  --accent-dim: #1F9F8A;
  --accent-bright: #4DD4BB;
  --accent-glow: rgba(46, 191, 168, 0.35);
  --accent-soft: rgba(46, 191, 168, 0.14);
  --accent-faint: rgba(46, 191, 168, 0.06);

  /* AIM blue, reserved for "Powered by AIM" elements and the AIM-relationship section */
  --aim-blue: #63C7FF;
  --aim-blue-dim: #4ab8f0;
  --aim-blue-glow: rgba(99, 199, 255, 0.18);

  --deep: #21222B;
  --amber: #f59e0b;
  --red-alert: #ef4444;
  --white: #FFFFFF;
  --white-dim: #b0c4d6;
  --white-muted: #8a9db0;

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max-w: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Animated colour overlay on top of the page video, gradient-tinted */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(61,168,224,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 85% 60%, rgba(31,168,111,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 90%, rgba(46,191,168,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 300px 600px at 70% 10%, rgba(4,58,87,0.8) 0%, transparent 60%);
  animation: bgDrift 25s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 20px) scale(1.05); }
  100% { transform: translate(20px, -15px) scale(1.02); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(46,191,168,0.30), 0 0 22px rgba(61,168,224,0.10); }
  50%      { box-shadow: 0 0 22px rgba(46,191,168,0.45), 0 0 36px rgba(31,168,111,0.18); }
}

/* Page-video, the looping background, behind everything */
.page-video { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.page-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; border: 0; }
.page-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,58,87,0.55) 0%, rgba(4,58,87,0.75) 100%);
}

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p  { color: var(--white-dim); }
a  { color: var(--accent-bright); text-decoration: none; }
a:hover { color: var(--accent); }

/* Gradient text, for highlighted words inside headlines */
.gradient-text {
  background: var(--brand-gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: var(--brand-gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1rem;
}

.muted   { color: var(--white-muted); }
.dim     { color: var(--white-dim); }

/* Layout */
section { padding: 5rem 3rem; max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.section-narrow { max-width: 820px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* Cards */
.card {
  padding: 2rem;
  background: var(--primary-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all 0.3s;
  position: relative;
}
.card:hover {
  border-color: rgba(46,191,168,0.4);
  transform: translateY(-3px);
}
.card h3 { color: var(--white); }
.card .icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(46,191,168,0.25);
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--brand-gradient-h);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: var(--white);
  padding: 0.85rem 1.85rem; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none; transition: background-position 0.4s ease, transform 0.2s;
  border: none; cursor: pointer;
  box-shadow: 0 0 12px rgba(46,191,168,0.30), 0 0 22px rgba(61,168,224,0.10);
  animation: cta-glow 2.8s ease-in-out infinite;
}
.btn-primary:hover { background-position: 100% 50%; transform: translateY(-1px); color: var(--white); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--white);
  padding: 0.85rem 1.85rem; border-radius: 6px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }

.btn-aim {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--aim-blue); color: var(--primary);
  padding: 0.75rem 1.5rem; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem;
  text-decoration: none; transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-aim:hover { background: #7ad4ff; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 3rem;
  background: rgba(4, 58, 87, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-logo {
  font-weight: 700; font-size: 1.2rem; letter-spacing: -0.3px;
  color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.nav-logo img {
  width: 44px; height: 44px;
  display: block;
  transition: transform 0.2s;
}
.nav-logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
  color: var(--white); text-decoration: none;
  padding: 0.55rem 1rem; border-radius: 6px;
  font-size: 1rem; font-weight: 600;
  background: none; border: none; cursor: pointer;
  transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: inherit;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s;
}

/* Dropdown */
.nav-group { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: rgba(4, 58, 87, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.5rem;
  margin-top: 0.4rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 110;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-group:hover > .nav-link .caret { transform: rotate(225deg); margin-top: 2px; }
.nav-dropdown a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  color: var(--white);
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.08); }
.nav-dropdown a .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex-shrink: 0;
}
.nav-dropdown .dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.4rem 0.4rem;
}
.nav-dropdown .dropdown-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white-muted);
  padding: 0.5rem 0.75rem 0.25rem;
}

.nav-cta {
  margin-left: 0.6rem;
  background: var(--brand-gradient-h);
  background-size: 200% 100%;
  color: var(--white);
  padding: 0.65rem 1.3rem; border-radius: 6px;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; transition: background-position 0.4s ease;
}
.nav-cta:hover { background-position: 100% 50%; color: var(--white); }

.nav-mobile { display: none; background: none; border: 0; color: var(--white); font-size: 1.4rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative; z-index: 1;
  padding-top: 9rem; padding-bottom: 4rem;
}
/* Service-page hero (smaller variant, used on service pages) */
.svc-hero {
  position: relative; z-index: 1;
  padding-top: 7.5rem; padding-bottom: 2rem;
}
.svc-hero h1 { margin-bottom: 1rem; max-width: 820px; }
.svc-hero .hero-sub { max-width: 720px; }
.svc-hero section { padding-top: 0; padding-bottom: 1rem; }
.hero h1 { margin-bottom: 1.5rem; max-width: 820px; opacity: 0; animation: fadeUp 0.6s ease forwards 0.3s; }
.hero h1 .accent {
  background: var(--brand-gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem; color: var(--white-dim);
  line-height: 1.7; max-width: 640px;
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.6s ease forwards 0.5s;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.6s ease forwards 0.7s; }

/* Logo ticker */
.ticker {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 3rem;
  background: rgba(4,58,87,0.4);
  max-width: 100%;
  margin: 0;
}
.ticker-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.ticker-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--white-muted);
  white-space: nowrap;
}
.ticker-items { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.ticker-item {
  font-size: 0.85rem; font-weight: 600; color: var(--white-dim);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.ticker-item::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 6px var(--accent-glow);
}

/* Services grid */
.services { padding: 5rem 3rem; }
.service-card { position: relative; }
.service-card .pill {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase;
  background: var(--aim-blue-glow); color: var(--aim-blue);
  padding: 0.25rem 0.6rem; border-radius: 999px;
  font-weight: 700;
}
.service-card ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.service-card li {
  font-size: 0.875rem; color: var(--white-dim);
  padding: 0.3rem 0; padding-left: 1.2rem; position: relative;
}
.service-card li::before {
  content: ''; position: absolute;
  left: 0; top: 0.7rem;
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-gradient);
}
.service-card .more {
  display: inline-block; margin-top: 1rem;
  font-size: 0.875rem; font-weight: 600;
  background: var(--brand-gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Powered by AIM, the brand-bridge component */
.aim-section {
  position: relative;
  background: linear-gradient(135deg, rgba(99,199,255,0.05) 0%, rgba(4,58,87,0.0) 60%);
  border: 1px solid rgba(99,199,255,0.18);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  margin: 4rem auto;
  max-width: var(--max-w);
  overflow: hidden;
}
.aim-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 90% 0%, rgba(99,199,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.aim-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(99,199,255,0.10);
  border: 1px solid rgba(99,199,255,0.3);
  padding: 0.4rem 0.95rem 0.4rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--aim-blue);
  margin-bottom: 1rem;
  position: relative;
}
.aim-badge img {
  width: 22px; height: 22px;
  display: block;
}
.aim-section h2 { color: var(--white); position: relative; }
.aim-section h2 .aim-accent { color: var(--aim-blue); }
.aim-section p { position: relative; max-width: 640px; }
.aim-section .stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin: 2rem 0;
  position: relative;
}
.aim-section .stat-num {
  font-size: 2rem; font-weight: 800;
  color: var(--aim-blue);
  display: block; line-height: 1.1;
}
.aim-section .stat-label {
  font-size: 0.8rem; color: var(--white-dim);
  margin-top: 0.35rem;
}
.aim-section .actions {
  display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap;
  position: relative;
}

/* Powered by AIM lockup, reusable inline badge */
.powered-lockup {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(99,199,255,0.08);
  border: 1px solid rgba(99,199,255,0.25);
  text-decoration: none;
  transition: all 0.2s;
}
.powered-lockup:hover { background: rgba(99,199,255,0.14); border-color: rgba(99,199,255,0.45); color: var(--white); }
.powered-lockup img { width: 24px; height: 24px; display: block; }
.powered-lockup .pl-text { display: flex; flex-direction: column; line-height: 1.1; }
.powered-lockup .pl-top {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white-muted);
}
.powered-lockup .pl-bot { font-size: 0.9rem; font-weight: 700; color: var(--aim-blue); }

/* CAA credentials band */
.caa-band {
  background: var(--primary-mid);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 0;
  margin: 4rem 0;
}
.caa-band-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 3rem;
}
.caa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.caa-stat {
  text-align: center;
}
.caa-stat .big {
  font-size: 2.25rem; font-weight: 800;
  display: block; line-height: 1;
  margin-bottom: 0.4rem;
  background: var(--brand-gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.caa-stat .lbl {
  font-size: 0.85rem; color: var(--white-dim);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 600;
}

/* Project showcase */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.project {
  border-radius: 12px;
  overflow: hidden;
  background: var(--primary-mid);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  transition: all 0.3s;
}
.project:hover { transform: translateY(-3px); border-color: rgba(46,191,168,0.3); }
.project-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-surface));
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.project-thumb video, .project-thumb img, .project-thumb iframe {
  width: 100%; height: 100%; object-fit: cover;
  border: 0;
  display: block;
}
/* Play badge, bottom-right of a poster thumbnail */
.project-thumb::after {
  content: '';
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14' fill='%23fff'%3E%3Cpath d='M0 0v14l12-7z'/%3E%3C/svg%3E") no-repeat center/12px;
  backdrop-filter: blur(4px);
  opacity: 0.85;
  transition: transform 0.2s, opacity 0.2s;
  pointer-events: none;
}
.project:hover .project-thumb::after { transform: scale(1.1); opacity: 1; }
/* Subtle gradient overlay at the bottom for legibility */
.project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.project-body { padding: 1.25rem 1.4rem 1.5rem; }
.project-body h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.project-body .meta {
  font-size: 0.75rem; color: var(--white-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 600; margin-bottom: 0.25rem;
}

/* Demo frame, scroll-grow video frame (matches AIM site pattern) */
.demo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(99,199,255,0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(99,199,255,0.05);
  transform: scale(var(--demo-scale, 0.88));
  will-change: transform;
  transition: transform 0.05s linear;
}
.demo-frame iframe, .demo-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
  background: #000;
}
.demo-meta {
  margin-top: 1.1rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1rem;
}
.demo-meta .eyebrow { margin: 0; }
.demo-meta h3 { font-size: 1.15rem; margin: 0; }
.demo-meta p { font-size: 0.92rem; color: var(--white-dim); margin: 0; flex-basis: 100%; }

.project-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  margin-top: 2.5rem;
}
.project-stack .project-cell { display: flex; flex-direction: column; }

/* Bio cards */
.bio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.bio {
  background: var(--primary-mid);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 2rem;
}
.bio-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(46,191,168,0.25);
}
.bio h3 { margin-bottom: 0.1rem; }
.bio .role { font-size: 0.85rem; color: var(--accent-bright); font-weight: 600; margin-bottom: 1rem; }


/* Service-card image header, used on homepage tiles */
.service-card .card-img {
  display: block;
  width: calc(100% + 4rem);
  margin: -2rem -2rem 1.25rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-surface));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.service-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .card-img img { transform: scale(1.04); }
.service-card .card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4,58,87,0.55) 100%);
  pointer-events: none;
}
.service-card.has-img .pill {
  top: 0.9rem; right: 0.9rem;
  background: rgba(4,58,87,0.85);
  color: var(--aim-blue);
  z-index: 2;
}
.service-card.has-img .icon {
  position: absolute; top: 1rem; left: 1rem;
  margin-bottom: 0;
  z-index: 2;
  background: rgba(4,58,87,0.85);
  backdrop-filter: blur(6px);
  width: 38px; height: 38px;
}

/* Forms */
.form { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 2rem; }
.form label { display: block; font-size: 0.85rem; color: var(--white-dim); margin-bottom: 0.4rem; font-weight: 600; }
.form label .req { color: var(--accent-bright); margin-left: 2px; font-weight: 700; }
.form input, .form textarea, .form select {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(4, 58, 87, 0.45); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; color: var(--white);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.35); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form .form-row {
  display: flex; flex-direction: column;
  margin-bottom: 1.1rem;
}
.form .form-row:last-of-type { margin-bottom: 0.5rem; }
.form .form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-bottom: 1.1rem;
}
.form .form-grid-2 .form-row { margin-bottom: 0; }
.form .cf-turnstile {
  margin: 1.1rem 0 1.25rem;
  display: flex; justify-content: flex-start;
}
.form button[type="submit"] {
  background: var(--brand-gradient-h); color: var(--white);
  border: 0; cursor: pointer; padding: 0.95rem 1.6rem;
  border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.form button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(46,191,168,0.25); }
.form button[type="submit"]:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
@media (max-width: 600px) {
  .form { padding: 1.5rem 1.25rem; }
  .form .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .form .form-grid-2 .form-row { margin-bottom: 1.1rem; }
}

/* CTA section */
.cta-section {
  text-align: center; padding: 4rem 3rem; margin: 4rem auto;
  max-width: var(--max-w);
  background: linear-gradient(135deg, var(--primary-mid) 0%, rgba(46,191,168,0.10) 100%);
  border: 1px solid rgba(46,191,168,0.2); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--white-dim); max-width: 640px; margin: 0 auto 1.75rem; }
.cta-section .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.85rem; }

/* Footer */
footer {
  margin-top: 4rem; padding: 4rem 3rem 2rem;
  background: rgba(4,28,42,0.55);
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand p { color: var(--white-dim); font-size: 0.9rem; margin-top: 0.75rem; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand .logo-row img { width: 32px; height: 32px; }
.footer-brand .brand-name { font-weight: 700; color: var(--white); }
.footer-brand .footer-social {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--white-dim); text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  margin-top: 0.85rem; padding: 0.4rem 0.7rem 0.4rem 0.4rem;
  border-radius: 999px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  width: fit-content;
}
.footer-brand .footer-social:hover { background: rgba(255,255,255,0.08); color: var(--white); transform: translateY(-1px); }
.footer-brand .footer-social svg { display: block; flex-shrink: 0; }
.footer-col h5 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--white-muted); margin-bottom: 1rem; font-weight: 700;
}
.footer-col a {
  display: block; color: var(--white-dim); text-decoration: none;
  font-size: 0.9rem; line-height: 1.85; transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  max-width: var(--max-w); margin: 3rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1rem; font-size: 0.8rem; color: var(--white-muted);
}
.footer-aim-line { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-aim-line img { width: 16px; height: 16px; }
.footer-aim-line a { color: var(--aim-blue); }

/* ============================================================
   Responsive, ultrawide, tablet, mobile
   ============================================================ */
@media (min-width: 1600px) {
  :root { --max-w: 1480px; }
  section { padding: 6rem 4rem; }
  .hero h1 { max-width: 1100px; font-size: 4rem; }
  .hero-sub { max-width: 800px; }
  .nav { padding-left: 3rem; padding-right: 3rem; }
}
@media (min-width: 2000px) {
  :root { --max-w: 1640px; }
  .hero h1 { font-size: 4.5rem; }
}
@media (max-width: 900px) {
  section { padding: 3.5rem 1.5rem; }
  .grid-3, .grid-4, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-stack { grid-template-columns: 1fr; gap: 2.5rem; }
  .bio-grid, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .aim-section .stat-row { grid-template-columns: repeat(2, 1fr); }
  .caa-band-inner { grid-template-columns: repeat(2, 1fr); }
  .caa-grid { grid-template-columns: repeat(2, 1fr); }
  .form .form-row { grid-template-columns: 1fr; }
  footer { padding: 3rem 1.5rem 1.5rem; }
}
@media (max-width: 600px) {
  section { padding: 2.5rem 1rem; }
  .grid-3, .grid-4, .project-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .aim-section { padding: 2rem 1.5rem; margin: 2.5rem 1rem; }
  .aim-section .stat-row { grid-template-columns: 1fr 1fr; }
  .caa-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .caa-band-inner { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 2.5rem 1.5rem; margin: 2.5rem 1rem; }
  .hero h1 { font-size: 2.4rem; }
  .footer-bottom { font-size: 0.75rem; }
}

/* Larger section eyebrow, applies site-wide */
.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 1.8px;
  margin-bottom: 1.25rem;
}

/* Audience cards, text-only, no icon, slightly more padding */
.audience-card { padding: 2.25rem 2rem; }
.audience-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  background: var(--brand-gradient-h);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.audience-card p { color: var(--white-dim); }

/* Bio photos (about.html founders) */
.bio-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.bio-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(46,191,168,0.35);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.bio-linkedin {
  position: absolute; bottom: -8px; right: -8px;
  display: block;
  transition: transform 0.15s ease;
  line-height: 0;
}
.bio-linkedin:hover { transform: scale(1.1); }
.bio-linkedin svg { display: block; }

/* ============================================================
   Client logo ticker, auto-scrolling infinite strip
   Matches AIM Platform's pattern
   ============================================================ */
.logo-ticker {
  padding: 3rem 0 4rem;
  overflow: hidden;
  position: relative;
  max-width: 100vw;
}
.logo-ticker-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: var(--brand-gradient-h);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1.75rem;
  text-align: center;
}
.logo-ticker-label .plain {
  color: var(--white-dim);
  background: none;
  -webkit-text-fill-color: var(--white-dim);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  font-size: 0.85rem;
  display: block;
  margin-top: 0.4rem;
}
.logo-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 90s linear infinite;
  margin-bottom: 1.5rem;
}
.logo-ticker-track-offset {
  margin-bottom: 0;
  animation-delay: -1.61s;
}
.logo-ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6rem;
  flex-shrink: 0;
}
.logo-ticker-item img {
  height: 46px;
  width: auto;
  transition: transform 0.25s ease;
}
.logo-ticker-item img:hover {
  transform: scale(1.05);
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Edge fades */
.logo-ticker::before, .logo-ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logo-ticker::before { left: 0; background: linear-gradient(90deg, var(--primary) 0%, transparent 100%); }
.logo-ticker::after  { right: 0; background: linear-gradient(270deg, var(--primary) 0%, transparent 100%); }

@media (max-width: 600px) {
  .logo-ticker-item { padding: 0 2rem; }
  .logo-ticker-item img { height: 32px; }
}

/* Recognised-by accreditation strip (inside .aim-section) */
.aim-section-accred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin: 2rem 0 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99,199,255,0.10);
  border-radius: 12px;
}
.aim-section-accred .label {
  font-size: 0.75rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--white-muted);
  font-weight: 700;
  margin-right: 0.5rem;
}
.aim-section-accred img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(1.05);
}
@media (max-width: 600px) {
  .aim-section-accred { gap: 1rem 1.5rem; padding: 1rem; }
  .aim-section-accred img { height: 30px; max-width: 140px; }
  .aim-section-accred .label { width: 100%; text-align: center; margin-right: 0; }
}

/* Footer company-registration line */
.footer-bottom .footer-company {
  font-size: 0.78rem;
  color: var(--white-muted);
  flex-basis: 100%;
  text-align: left;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* "Not sure which?" tile, coloured CTA variant of service-card */
.service-card.cta-tile {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 60%, var(--grad-green) 100%);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.service-card.cta-tile h3,
.service-card.cta-tile p,
.service-card.cta-tile .more,
.service-card.cta-tile li,
.service-card.cta-tile .icon {
  color: var(--white);
}
.service-card.cta-tile p.dim { color: rgba(255,255,255,0.92); }
.service-card.cta-tile .icon {
  background: rgba(0,0,0,0.18);
  color: var(--white);
  box-shadow: none;
}
.service-card.cta-tile ul li::before {
  background: rgba(255,255,255,0.9);
}
.service-card.cta-tile .more {
  /* Cancel the gradient text-clip from the base .more rule */
  background: rgba(255,255,255,0.16);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #fff;
  color: #fff;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  margin-top: 1.25rem;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card.cta-tile:hover .more {
  background: #ffffff;
  color: #043A57;
  -webkit-text-fill-color: #043A57;
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.service-card.cta-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(46,191,168,0.4);
}

/* Permissions comparison table */
.perm-table-wrap { overflow-x: auto; border-radius: 14px; }
.perm-table {
  width: 100%; border-collapse: collapse;
  background: var(--primary-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
}
.perm-table th, .perm-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.perm-table thead th {
  background: rgba(4,58,87,0.65);
  font-size: 0.8rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white-dim);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.perm-table thead th:last-child {
  background: linear-gradient(135deg, rgba(46,191,168,0.2) 0%, rgba(31,168,111,0.2) 100%);
  color: var(--accent-bright);
}
.perm-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--white);
  width: 32%;
  font-size: 0.95rem;
}
.perm-table tbody td { color: var(--white-dim); font-size: 0.92rem; }
.perm-table tbody td.nwd-cell { color: var(--white); background: rgba(46,191,168,0.06); }
.perm-table tbody tr:last-child th, .perm-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  .perm-table th, .perm-table td { padding: 0.7rem 0.85rem; font-size: 0.85rem; }
  .perm-table tbody th[scope="row"] { width: 40%; }
}

/* aim.html constrained imagery */
.aim-mark {
  display: block;
  width: 120px; height: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}
.aim-section .split-img img,
.aim-section img[src*="nodrone"],
.aim-section img[src*="capture"],
.aim-section img[src*="hosting"],
.aim-section img[src*="platform"] {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}
.accred-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.92;
}
.aim-section img[src*="nodrone"] {
  max-height: 360px;
  max-width: 480px;
  width: 100%;
  margin: 1.5rem auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Projects page, static videos (no scroll-grow) with click-to-enlarge */
.project-stack-static .demo-frame {
  transform: none !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.project-stack-static .demo-frame:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(99,199,255,0.12);
}
.project-stack-static .demo-frame iframe { pointer-events: auto; }

/* Fullscreen video modal */
.video-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,8,15,0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
  cursor: pointer;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  width: 100%; max-width: 1600px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: default;
}
.video-modal-inner iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}
.video-modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 201;
}
.video-modal-close:hover { background: rgba(255,255,255,0.25); }

/* Airspace map iframe (location pages) */
.airspace-map {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(99,199,255,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  background: #000;
}
.airspace-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.constraint-pills {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.constraint-pills .pill {
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid rgba(46,191,168,0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Locations index grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.location-card {
  display: flex; flex-direction: column;
  background: var(--primary-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.location-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46,191,168,0.4);
  background: var(--primary-light);
  color: var(--white);
}
.location-card .loc-map {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #021b2c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.location-card .loc-body {
  padding: 0.85rem 1rem 1rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.location-card .loc-name {
  font-size: 1.05rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.2rem;
}
.location-card .loc-region {
  font-size: 0.78rem; color: var(--white-muted);
  margin-bottom: 0.5rem;
}
.location-card .loc-pop {
  font-size: 0.72rem; color: var(--white-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 600;
  margin-top: auto;
}
@media (max-width: 900px) {
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .location-card { padding: 0.9rem; }
  .location-card .loc-name { font-size: 0.95rem; }
}

/* ============================================================
   Mobile / responsive pass, close coverage gaps
   ============================================================ */

/* Mobile navigation, AIM-style full-screen overlay */
@media (max-width: 900px) {
  /* Hide the desktop horizontal nav-links on mobile */
  .nav-links {
    display: none !important;
  }
  /* Hamburger pill, fixed top right */
  .nav-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: rgba(4,58,87,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-size: 1.4rem;
    border-radius: 999px;
    z-index: 100000;
    position: fixed;
    top: 14px; right: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .nav-mobile:hover { background: rgba(4,58,87,1); transform: scale(1.05); }
  /* Hamburger lines (replace text font icon) */
  .nav-mobile { font-size: 0; }
  .nav-mobile::before {
    content: "";
    display: block;
    width: 20px; height: 14px;
    background:
      linear-gradient(var(--white), var(--white)) top    / 20px 2px no-repeat,
      linear-gradient(var(--white), var(--white)) center / 20px 2px no-repeat,
      linear-gradient(var(--white), var(--white)) bottom / 20px 2px no-repeat;
    transition: background 0.2s ease;
  }
  .nav-mobile.is-open::before {
    background:
      linear-gradient(var(--white), var(--white)) center / 20px 2px no-repeat;
    transform: rotate(45deg);
  }
  .nav-mobile.is-open::after {
    content: "";
    position: absolute;
    width: 20px; height: 2px;
    background: var(--white);
    transform: rotate(-45deg);
  }
}

/* Full-screen mobile menu overlay (sits outside nav, immune to nav scroll-hide) */
#nwd-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, #043A57 0%, #021b2c 100%);
  z-index: 99999;
  padding: 80px 1.5rem 2rem;
  overflow-y: auto;
  flex-direction: column;
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
}
#nwd-mobile-menu.open { display: flex; }
#nwd-mobile-menu .mm-section {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.4rem 0 0.6rem;
}
#nwd-mobile-menu .mm-heading {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-bright);
  padding: 0.6rem 0 0.3rem;
}
#nwd-mobile-menu .mm-link {
  display: block; padding: 0.6rem 0.5rem 0.6rem 0.75rem;
  font-size: 0.98rem; font-weight: 500; color: #ffffff;
  text-decoration: none; border-radius: 6px;
}
#nwd-mobile-menu .mm-link:active,
#nwd-mobile-menu .mm-link:hover { background: rgba(46,191,168,0.08); color: var(--accent-bright); }
#nwd-mobile-menu .mm-standalone {
  display: block; padding: 0.95rem 0;
  font-size: 1rem; font-weight: 600; color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#nwd-mobile-menu .mm-standalone:hover { color: var(--accent-bright); }
#nwd-mobile-menu .mm-ctas {
  margin-top: auto; padding-top: 1.75rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
#nwd-mobile-menu .mm-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 0.95rem 1rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
#nwd-mobile-menu .mm-cta:active { transform: scale(0.98); }
#nwd-mobile-menu .mm-cta-primary {
  background: var(--brand-gradient-h);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(46,191,168,0.25);
}
#nwd-mobile-menu .mm-cta-secondary {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
}
#nwd-mobile-menu .mm-cta-secondary strong {
  color: var(--accent-bright);
  margin-left: 0.4rem;
  font-weight: 700;
}

/* Mobile sticky bottom CTA bar, Request a quote + Call */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9990;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(4,58,87,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.10);
  gap: 0.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.mobile-sticky-cta a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.mobile-sticky-cta a:active { transform: scale(0.97); }
.mobile-sticky-cta .quote-btn {
  background: var(--brand-gradient-h);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(46,191,168,0.30);
}
.mobile-sticky-cta .call-btn {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.20);
}
.mobile-sticky-cta .call-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.mobile-sticky-cta .quote-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 900px) {
  .mobile-sticky-cta { display: flex; }
  /* Push page content up so the sticky bar doesn't cover the last item */
  body { padding-bottom: 88px; }
  /* When the mobile menu is open, hide the CTA bar so it doesn't poke through */
  body:has(#nwd-mobile-menu.open) .mobile-sticky-cta { display: none; }
}

@media (min-width: 901px) {
  #nwd-mobile-menu { display: none !important; }
  .nav-mobile { display: none !important; }
  .mobile-sticky-cta { display: none !important; }
}

@media (max-width: 600px) {
  /* Hero typography */
  h1 { font-size: clamp(2rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero h1 { padding-right: 0; }
  .hero, .svc-hero { padding-top: 6rem; padding-bottom: 2rem; }

  /* Buttons stack and stretch */
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .cta-section .btn-primary,
  .cta-section .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Service cards image header doesn't bleed off-card */
  .service-card .card-img {
    margin: -2rem -2rem 1rem;
    width: calc(100% + 4rem);
  }

  /* Demo frame respects screen width on mobile */
  .demo-frame { border-radius: 10px; }

  /* Permissions table, stack rather than horizontal scroll on tiny screens */
  .perm-table thead { display: none; }
  .perm-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.85rem;
    background: var(--primary-mid);
  }
  .perm-table tbody th, .perm-table tbody td {
    display: block;
    width: 100% !important;
    padding: 0.35rem 0;
    border-bottom: 0;
  }
  .perm-table tbody th[scope="row"] {
    font-size: 0.85rem;
    color: var(--white-dim);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .perm-table tbody td::before {
    content: 'Standard: ';
    color: var(--white-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-top: 0.5rem;
  }
  .perm-table tbody td.nwd-cell::before {
    content: 'Nationwide Drones: ';
    color: var(--accent-bright);
  }

  /* Contact form layout collapse */
  .contact-layout { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  /* Logo ticker tighter spacing */
  .logo-ticker-item { padding: 0 1.5rem; }
  .logo-ticker-item img { height: 30px; }
}

/* JS-driven mobile menu toggle button, attach in nav-scroll.js update */
.nav-mobile {
  display: none;
}

/* Ultrawide refinements, make sections breathe */
@media (min-width: 1600px) {
  .hero-ctas { gap: 1rem; }
  .btn-primary, .btn-secondary { padding: 1rem 2.1rem; font-size: 0.95rem; }
  .demo-frame { border-radius: 18px; }
  .locations-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 2200px) {
  .locations-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Mobile: dropdown toggles open via tap, not hover */
@media (max-width: 900px) {
  .nav-group .nav-dropdown { display: none; }
  .nav-group.open .nav-dropdown { display: block; }
  .nav-group .nav-link .caret { display: inline-block; margin-left: 0.3rem; transition: transform 0.2s; }
  .nav-group.open .nav-link .caret { transform: rotate(180deg); }
}

/* ============================================================
   Image sizing safety nets, applied LAST so they win the cascade
   ============================================================ */

/* Global default: no image ever overflows its container, no image
   stretches above 100% of its natural width. */
img {
  max-width: 100%;
  height: auto;
}

/* AIM crosshair icons inside small badges and footer lockups,
   these are decorative inline marks, must stay small */
.aim-badge img,
.footer-aim-line img,
.aim-section .aim-badge img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline-block;
  margin: 0 0.35rem 0 0;
  border-radius: 0;
  max-height: 18px !important;
}

/* The hero AIM mark above stats, bigger but bounded */
.aim-mark {
  display: block;
  width: 80px; height: 80px;
  margin: 0 auto 1.25rem;
  opacity: 0.95;
}

/* Recognised-by accreditation row, always a strip of small logos */
.aim-section-accred img,
.accred-logo {
  height: 42px;
  width: auto;
  max-width: 180px;
  max-height: 42px;
  object-fit: contain;
  opacity: 0.92;
  border-radius: 0 !important;
  margin: 0;
}

/* Service-tile card-img header, strict aspect ratio */
.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Bio photo, circular, fixed size, photo only */
.bio-photo {
  width: 110px;
  height: 110px;
  max-height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* LinkedIn badge SVG sits within a fixed-size anchor, keep it 28px */
.bio-linkedin svg {
  width: 28px;
  height: 28px;
}

/* Nav logo mark */
.nav-logo img {
  height: 32px;
  width: auto;
  max-height: 32px;
  border-radius: 0;
}

/* Footer brand mark */
.footer-brand .logo-row img {
  height: 32px;
  width: 32px;
  max-height: 32px;
  border-radius: 0;
}

/* Project / demo iframes never break */
.demo-frame iframe,
.airspace-map iframe,
.split-img iframe {
  max-width: 100%;
}

/* Page video, fixed background, never crops weirdly */
.page-video video {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: cover;
}

/* Mobile: tighten image scales */
@media (max-width: 600px) {
  .aim-mark { width: 60px; height: 60px; }
  .aim-section-accred img,
  .accred-logo { height: 28px; max-width: 110px; max-height: 28px; }
  .nav-logo img { height: 28px; max-height: 28px; }
  .bio-photo { width: 90px; height: 90px; }
}

/* ============================================================
   Recognised-by accreditation logos, DEFINITIVE OVERRIDE
   Earlier rules conflicted; this is the one that wins.
   ============================================================ */
.aim-section-accred {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.5rem 2.5rem !important;
  margin: 2rem auto 1rem !important;
  padding: 1.5rem 1.75rem !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(99,199,255,0.12) !important;
  border-radius: 12px !important;
  max-width: 760px !important;
}
.aim-section-accred .label {
  flex: 0 0 auto !important;
  font-size: 0.72rem !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  color: var(--white-muted) !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  -webkit-text-fill-color: var(--white-muted) !important;
  white-space: nowrap;
}
.aim-section-accred img,
.aim-section-accred .accred-logo {
  flex: 0 0 auto !important;
  display: block !important;
  height: 36px !important;
  width: auto !important;
  max-width: 160px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  opacity: 0.92 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
@media (max-width: 600px) {
  .aim-section-accred {
    gap: 1rem 1.5rem !important;
    padding: 1rem !important;
  }
  .aim-section-accred img,
  .aim-section-accred .accred-logo {
    height: 26px !important;
    max-height: 26px !important;
    max-width: 110px !important;
  }
  .aim-section-accred .label {
    flex-basis: 100% !important;
    text-align: center !important;
  }
}

/* CAA permissions callout, used on location pages */
.caa-callout {
  background: linear-gradient(135deg, var(--primary-mid) 0%, rgba(46,191,168,0.08) 100%);
  border: 1px solid rgba(46,191,168,0.2);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.caa-callout h2 { max-width: 760px; }
.caa-callout p { font-size: 0.95rem; }
.caa-callout .actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
@media (max-width: 600px) {
  .caa-callout { padding: 1.5rem 1.25rem; }
  .caa-callout .actions .btn-primary,
  .caa-callout .actions .btn-secondary { width: 100%; justify-content: center; }
}

/* Hide the unicode symbol badges on image-led service cards
   (the image is 