:root {
  --ink: #0c2b35;
  --paper: #efefee;
  --muted: #58636d;
  --accent: #c21212;
  --accent-2: #9e0d0d;
  --line: rgba(12, 43, 53, 0.18);
  --card-shadow: rgba(12, 43, 53, 0.12);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
}
body {
  min-height: 100vh;
  padding: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page-shell {
  min-height: calc(100vh - 86px);
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  background: var(--paper);
  border: none;
  box-shadow: none;
  padding: 20px 38px 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.brand-text {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(12, 43, 53, 0.15);
  border-radius: 999px;
  padding: 10px 18px;
  flex-wrap: wrap;
  max-width: 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.status-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(194, 18, 18, 0.10);
  animation: pulse 1.8s ease-in-out infinite;
}

.status-label,
.status-pill em {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 43, 53, 0.75);
}

.status-pill strong {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.status-pill em {
  font-style: normal;
  color: var(--accent);
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.85fr);
  gap: 52px;
  align-items: center;
  padding-top: 28px;
}

.copy-column {
  padding-right: 6px;
}

h1 {
  margin: 0 0 24px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4.5rem, 7vw, 11rem);
  line-height: 0.76;
  letter-spacing: -0.06em;
  font-weight: 400;
  color: var(--ink);
  text-transform: uppercase;
}

h1 .great {
  color: var(--accent);
}

.lead {
  margin: 0 0 18px;
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
}

.body-copy {
  margin: 0;
  max-width: 740px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(12, 43, 53, 0.85);
}

.contact-box {
  margin-top: 28px;
}

.contact-tag {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-copy {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
}

.contact-copy strong {
  color: var(--accent);
}

.contact-copy a {
  color: var(--accent);
}

.contact-copy a:hover {
  color: var(--accent-2);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-details a:hover {
  color: var(--accent);
}

footer {
  margin-top: auto;
}

.cta-button {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.08rem;
}

.services-block {
  margin-top: 34px;
}

.services-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.services-block ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.services-block li {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.5;
  color: var(--ink);
}

.visual-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-panel {
  position: relative;
  width: 100%;
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
    url('CaseyKey.png') center center / cover no-repeat;
  border: 1px solid rgba(12, 43, 53, 0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 28px var(--card-shadow);
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.26) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.scan-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2px solid rgba(255,255,255,0.78);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  animation: ping 3.6s ease-out infinite;
}

.ring-one {
  width: 220px;
  height: 220px;
}

.ring-two {
  width: 300px;
  height: 300px;
  border-color: rgba(194, 18, 18, 0.85);
  animation-delay: 0.9s;
}

.drone-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(15, 32, 40, 0.08);
  border: 1px solid rgba(255,255,255,0.36);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0.14), 0 0 24px rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
}

.drone-center {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 8px rgba(17, 43, 51, 0.16);
}

.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 42px;
  height: auto;
}

.footer-brand span {
  font-weight: 700;
}

.footer-bar p {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(12, 43, 53, 0.8);
}

.footer-meta {
  color: var(--accent) !important;
  font-weight: 700;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

@keyframes ping {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.75);
  }
  70% {
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(1.08);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@media (max-width: 980px) {
  .page-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-text {
    font-size: 2.5rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 6rem);
  }

  .body-copy,
  .lead,
  .contact-copy,
  .services-block li {
    font-size: 1rem;
  }
}
