/* ==========================================================================
   Oncyte — design tokens
   ========================================================================== */

:root{
  --void:        #0a0a0b;
  --surface:     #131316;
  --surface-2:   #1a1a1e;
  --hairline:    rgba(255,255,255,0.10);
  --hairline-2:  rgba(255,255,255,0.16);
  --paper:       #f5f4f1;
  --paper-dim:   #c9c8c4;
  --steel:       #8a8d93;
  --signal:      #ea7820;
  --signal-dim:  #ea78201a;
  --signal-line: #ea782055;

  --font-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 64px);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--paper);
}

h1{ font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.03; }
h2{ font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
h3{ font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; }

p.lede{ font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--paper-dim); max-width: 62ch; }

::selection{ background: var(--signal); color: var(--void); }

:focus-visible{
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo{ display: flex; align-items: center; gap: 10px; }
.nav-logo img{ height: 34px; width: auto; }

.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a{
  font-size: 0.94rem;
  color: var(--paper-dim);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover{ color: var(--paper); }
.nav-links a.active{ color: var(--paper); }

.nav-cta{
  border: 1px solid var(--hairline-2);
  padding: 9px 18px;
  border-radius: 2px;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-cta:hover{ border-color: var(--signal); background: var(--signal-dim); }

.nav-toggle{
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  width: 32px; height: 32px;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary{
  background: var(--signal);
  color: var(--void);
}
.btn-primary:hover{ background: #ff8a30; transform: translateY(-1px); }

.btn-ghost{
  border-color: var(--hairline-2);
  color: var(--paper);
}
.btn-ghost:hover{ border-color: var(--signal); color: var(--signal); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position: relative;
  padding: clamp(70px, 12vw, 130px) 0 clamp(60px, 9vw, 100px);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.hero h1{ margin-bottom: 24px; }
.hero-actions{ display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-visual{
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar{
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1/1;
}
.radar svg{ width: 100%; height: 100%; }

.radar-sweep{
  transform-origin: center;
  animation: sweep 4.5s linear infinite;
}
@keyframes sweep{ to{ transform: rotate(360deg); } }

.stat-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  margin-top: clamp(50px, 8vw, 90px);
}
.stat{
  padding: 26px clamp(16px, 2vw, 28px) 0;
  border-left: 1px solid var(--hairline);
}
.stat:first-child{ border-left: 0; padding-left: 0; }
.stat .num{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 650;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.stat .label{ color: var(--steel); font-size: 0.9rem; margin-top: 6px; }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section{ padding: clamp(64px, 10vw, 120px) 0; }
.section-alt{ background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.section-head{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head .lede{ margin: 0; }

/* ==========================================================================
   Tile grid (services / industries / drone capabilities)
   ========================================================================== */

.tile-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.tile{
  background: var(--void);
  padding: 34px clamp(20px, 2.4vw, 32px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s ease;
}
.tile:hover{ background: var(--surface); }

.tile .tile-icon{ width: 26px; height: 26px; color: var(--signal); }
.tile .tile-icon svg{ width: 100%; height: 100%; }
.tile h3{ margin: 20px 0 10px; }
.tile p{ color: var(--paper-dim); font-size: 0.96rem; }

.tile-wide{ grid-column: span 2; }

/* ==========================================================================
   Two column feature rows
   ========================================================================== */

.feature-row{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 80px);
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.feature-row:last-child{ border-bottom: 1px solid var(--hairline); }
.feature-row .tag{ color: var(--signal); font-size: 0.9rem; margin-bottom: 10px; }
.feature-row ul{ display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.feature-row li{
  color: var(--paper-dim);
  font-size: 0.97rem;
  padding-left: 20px;
  position: relative;
}
.feature-row li::before{
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 1px;
  background: var(--signal);
}

/* ==========================================================================
   Industry list (priority + broader table)
   ========================================================================== */

.industry-priority{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(40px, 6vw, 64px) 0;
  border-bottom: 1px solid var(--hairline);
}

.industry-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.industry-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.industry-list .industry-row:nth-child(odd){ padding-right: 28px; }
.industry-list .industry-row:nth-child(even){ padding-left: 28px; border-left: 1px solid var(--hairline); }
.industry-row h4{
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1.05rem;
  color: var(--paper);
}
.industry-row span{ color: var(--steel); font-size: 0.88rem; text-align: right; max-width: 22ch; }

.region-map{ border: 1px solid var(--hairline); padding: clamp(24px,3vw,40px); background: var(--surface); }
.region-map svg{ width: 100%; height: auto; }
.region-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.region-tags span{
  border: 1px solid var(--hairline-2);
  color: var(--paper-dim);
  font-size: 0.84rem;
  padding: 6px 12px;
  border-radius: 2px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band{
  border-top: 1px solid var(--hairline);
  padding: clamp(60px, 9vw, 100px) 0;
}
.cta-band .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2{ max-width: 20ch; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer{
  border-top: 1px solid var(--hairline);
  padding: 56px 0 34px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand img{ height: 28px; margin-bottom: 16px; }
.footer-brand p{ color: var(--steel); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4{ font-size: 0.86rem; color: var(--steel); font-weight: 500; margin-bottom: 16px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ font-size: 0.92rem; color: var(--paper-dim); transition: color 0.15s ease; }
.footer-col a:hover{ color: var(--signal); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--steel);
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Page hero (non-home)
   ========================================================================== */

.page-hero{
  padding: clamp(56px, 9vw, 90px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .hero-eyebrow{ margin-bottom: 16px; }
.page-hero h1{ max-width: 16ch; }
.page-hero p.lede{ margin-top: 20px; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
}

.contact-info .info-block{ padding: 22px 0; border-top: 1px solid var(--hairline); }
.contact-info .info-block:first-child{ border-top: 0; padding-top: 0; }
.contact-info .info-block h4{ color: var(--steel); font-size: 0.86rem; font-weight: 500; margin-bottom: 8px; }
.contact-info .info-block a, .contact-info .info-block p{ font-family: var(--font-display); font-size: 1.15rem; color: var(--paper); }

.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field{ margin-bottom: 22px; }
.field label{ display: block; font-size: 0.86rem; color: var(--steel); margin-bottom: 8px; }
.field input, .field select, .field textarea{
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  color: var(--paper);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: 2px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--signal);
}
.field textarea{ resize: vertical; min-height: 130px; }
.form-note{ color: var(--steel); font-size: 0.84rem; margin-top: 16px; }
#form-status{ color: var(--signal); }
.btn:disabled{ opacity: 0.7; cursor: default; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--void);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px var(--gutter);
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display: block; }

  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 260px; margin: 0 auto 10px; }
  .stat-row{ grid-template-columns: 1fr; }
  .stat{ border-left: 0; border-top: 1px solid var(--hairline); padding: 20px 0 0; }
  .stat:first-child{ border-top: 0; }

  .section-head{ grid-template-columns: 1fr; }
  .tile-grid{ grid-template-columns: 1fr; }
  .tile-wide{ grid-column: span 1; }
  .feature-row{ grid-template-columns: 1fr; }
  .industry-priority{ grid-template-columns: 1fr; }
  .industry-list{ grid-template-columns: 1fr; }
  .industry-list .industry-row:nth-child(even){ padding-left: 0; border-left: 0; }
  .industry-list .industry-row:nth-child(odd){ padding-right: 0; }

  .footer-top{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
  .cta-band .container{ flex-direction: column; align-items: flex-start; }
}
