/* ===========================================================
   ShockImpact Aerial — design tokens
   Display: Space Grotesk / Body: Inter / Data: IBM Plex Mono
   =========================================================== */
:root{
  --navy:        #0B1E33;
  --navy-2:      #122a45;
  --ink:         #0D1117;
  --paper:       #F2F4F5;
  --paper-2:     #E7EBED;
  --steel:       #4A5560;
  --steel-light: #7C8894;
  --orange:      #FF5A1F;
  --orange-dim:  #E64A0F;
  --live:        #29CC7A;
  --line:        rgba(11,30,51,0.10);
  --white:       #ffffff;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --e1: 0 1px 2px rgba(11,30,51,.06), 0 4px 12px rgba(11,30,51,.08);
  --e2: 0 2px 4px rgba(11,30,51,.08), 0 12px 32px rgba(11,30,51,.14);
  --e3: 0 6px 16px rgba(11,30,51,.14), 0 24px 56px rgba(11,30,51,.20);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--navy);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--font-display); margin:0; letter-spacing:-0.01em; color:var(--navy); }
p{ margin:0; }
.mono{ font-family:var(--font-mono); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* subtle grain overlay for texture without a stock-photo hero */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:999; opacity:.025; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow{
  font-size:.72rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange); margin:0 0 12px;
}

/* ---------- Buttons ---------- */
.btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:var(--radius-sm);
  font-family:var(--font-body); font-weight:600; font-size:.95rem;
  cursor:pointer; border:none; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:active{ transform:scale(.97); }
.btn-primary{ background:var(--orange); color:var(--white); box-shadow:var(--e1); }
.btn-primary:hover{ background:var(--orange-dim); box-shadow:var(--e2); }
.btn-ghost{ background:transparent; color:var(--navy); border:1.5px solid var(--line); }
.btn-ghost:hover{ border-color:var(--navy); }
.btn-block{ width:100%; }

/* material ripple */
.btn .ripple{
  position:absolute; border-radius:50%; background:rgba(255,255,255,.55);
  transform:scale(0); animation:ripple .55s ease-out forwards; pointer-events:none;
}
@keyframes ripple{ to{ transform:scale(3); opacity:0; } }

.text-link{ color:var(--orange); font-weight:600; display:inline-flex; align-items:center; gap:6px; }
.text-link:hover{ text-decoration:underline; }

/* ---------- Elevation utility ---------- */
.elevate-1{ box-shadow:var(--e1); }
.elevate-2{ box-shadow:var(--e2); }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(242,244,245,.82); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1200px; margin:0 auto; padding:14px 28px;
  display:flex; align-items:center; gap:32px;
}
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand-mark{
  width:11px; height:11px; border-radius:2px; background:var(--orange);
  transform:rotate(45deg);
}
.brand-text{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--navy); }
.brand-text.light{ color:var(--white); font-size:1.2rem; }
.brand-thin{ font-weight:500; opacity:.6; }
.nav-links{ display:flex; gap:28px; font-size:.92rem; font-weight:500; }
.nav-links a{ opacity:.75; transition:opacity .15s; }
.nav-links a:hover{ opacity:1; }
.nav-phone{
  display:flex; align-items:center; gap:8px; font-weight:600; font-size:.9rem;
  padding:9px 16px; border:1.5px solid var(--line); border-radius:999px;
}
.nav-phone:hover{ border-color:var(--orange); color:var(--orange); }
.nav-toggle{ display:none; }

/* ---------- Hero ---------- */
.hero{
  background:radial-gradient(120% 140% at 85% -10%, #16324f 0%, var(--navy) 55%, var(--ink) 100%);
  padding:96px 28px 0; position:relative; overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 70% 60% at 70% 20%, black, transparent);
}
.hero-inner{ max-width:1200px; margin:0 auto; position:relative; z-index:2; }
.hero .eyebrow{ color:var(--orange); }
.hero-title{
  font-size:clamp(2.4rem, 5.6vw, 4.6rem); color:var(--white); font-weight:700; line-height:1.04;
}
.hero-accent{ color:var(--orange); }
.hero-sub{
  color:rgba(255,255,255,.68); max-width:520px; font-size:1.08rem; margin:26px 0 36px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; padding-bottom:64px; }
.hero-cta .btn-ghost{ color:var(--white); border-color:rgba(255,255,255,.25); }
.hero-cta .btn-ghost:hover{ border-color:var(--white); }

/* Telemetry HUD strip — signature element */
.telemetry{
  position:relative; z-index:2; border-top:1px solid rgba(255,255,255,.12);
  background:rgba(6,15,26,.55); backdrop-filter:blur(6px);
}
.telemetry-inner{
  max-width:1200px; margin:0 auto; padding:16px 28px;
  display:flex; align-items:center; gap:20px; overflow-x:auto;
}
.tele-item{ display:flex; flex-direction:column; gap:3px; white-space:nowrap; }
.tele-label{ font-size:.62rem; letter-spacing:.12em; color:rgba(255,255,255,.4); }
.tele-val{ font-size:.85rem; color:var(--white); font-weight:500; }
.tele-sep{ width:1px; height:24px; background:rgba(255,255,255,.12); flex:none; }
.tele-live{ display:flex; align-items:center; gap:6px; color:var(--live) !important; }
.tele-live i{ width:6px; height:6px; border-radius:50%; background:var(--live); display:inline-block; animation:pulse 1.6s infinite; }
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.25;} }

/* ---------- Section shells ---------- */
section{ padding:96px 28px; }
.section-head{ max-width:1200px; margin:0 auto 48px; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); max-width:640px; }
.section-head.light .eyebrow{ color:#ffb08a; }
.section-head.light h2{ color:var(--white); }

/* ---------- About ---------- */
.about{ background:var(--white); }
.about-grid{
  max-width:1200px; margin:0 auto; display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;
}
.about-media{ position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:420px; background:var(--navy); }
.about-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.about-media.img-fallback img{ display:none; }
.about-media.img-fallback::before{
  content:"ShockImpact Aerial"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.3); font-family:var(--font-mono); font-size:.85rem; letter-spacing:.08em; text-align:center; padding:20px;
}
.about-media-badge{
  position:absolute; left:20px; bottom:20px; background:var(--navy); color:var(--white);
  padding:12px 18px; border-radius:var(--radius-sm); font-size:1.1rem; font-weight:600; line-height:1.1;
}
.about-media-badge span{ display:block; font-size:.6rem; font-weight:400; letter-spacing:.1em; opacity:.6; margin-top:2px; }
.about-copy h2{ font-size:clamp(1.6rem,3vw,2.1rem); margin-bottom:18px; }
.about-copy p{ color:var(--steel); margin-bottom:22px; }

/* ---------- Service cards ---------- */
.services{ background:var(--paper); }
.card-grid{
  max-width:1200px; margin:0 auto; display:grid;
  grid-template-columns:repeat(4,1fr); gap:22px;
}
.mat-card{
  background:var(--white); border-radius:var(--radius-md); overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease; outline:none;
}
.mat-card:hover, .mat-card:focus-visible{ transform:translateY(-6px); box-shadow:var(--e3); }
.card-media{ aspect-ratio:4/3; overflow:hidden; background:var(--paper-2); position:relative; }
.card-media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.mat-card:hover .card-media img{ transform:scale(1.06); }
.card-media.img-fallback img{ display:none; }
.card-media.img-fallback::before{
  content:"Photo pending"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:var(--steel-light); font-family:var(--font-mono); font-size:.75rem; letter-spacing:.06em;
}
.card-body{ padding:22px; }
.card-body h3{ font-size:1.08rem; margin-bottom:10px; }
.card-body p{ color:var(--steel); font-size:.9rem; }

/* ---------- Work / gallery ---------- */
.work{ background:var(--ink); }
.work-grid{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.work-item{ margin:0; border-radius:var(--radius-md); overflow:hidden; position:relative; background:var(--navy-2); }
.work-item img{ aspect-ratio:1/1; object-fit:cover; width:100%; display:block; }
.work-item.img-fallback img{ display:none; }
.work-item.img-fallback::before{
  content:"Photo pending"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.35); font-family:var(--font-mono); font-size:.75rem; letter-spacing:.06em;
}
.work-item figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:16px;
  background:linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color:var(--white); font-size:.85rem; font-weight:500;
}

/* ---------- Process / flight log ---------- */
.process{ background:var(--white); text-align:left; }
.flight-log{
  max-width:1200px; margin:0 auto 40px; display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  border-top:1px solid var(--line); border-left:1px solid var(--line);
}
.flight-log li{
  display:flex; align-items:center; gap:14px; padding:22px 24px;
  border-right:1px solid var(--line); border-bottom:1px solid var(--line);
}
.log-index{ color:var(--orange); font-size:.85rem; font-weight:500; }
.log-text{ font-weight:600; font-size:.98rem; }
.process > .btn{ max-width:1200px; margin:0 auto; display:block; width:max-content; }

/* ---------- Testimonials ---------- */
.testimonials{ background:var(--paper); }
.testi-grid{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.testi-card{ padding:32px; border:none; }
.testi-card p{ font-size:1.15rem; font-family:var(--font-display); font-weight:500; line-height:1.4; margin-bottom:22px; }
.testi-card footer{ display:flex; flex-direction:column; }
.testi-card strong{ font-size:.92rem; }
.testi-card span{ color:var(--steel-light); font-size:.82rem; }

/* ---------- Quote / contact ---------- */
.quote{ background:var(--navy); color:var(--white); }
.quote-grid{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.quote-copy h2{ color:var(--white); font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:16px; }
.quote-copy p{ color:rgba(255,255,255,.65); margin-bottom:28px; max-width:420px; }
.quote-contact li{ padding:10px 0; border-top:1px solid rgba(255,255,255,.12); font-size:.9rem; }

.quote-form{ background:var(--white); border-radius:var(--radius-lg); padding:32px; display:flex; flex-direction:column; gap:20px; }
.field{ position:relative; }
.field input, .field select, .field textarea{
  width:100%; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  padding:16px 14px 8px; font-family:var(--font-body); font-size:.95rem; color:var(--navy);
  background:transparent; outline:none; transition:border-color .15s ease;
  appearance:none;
}
.field textarea{ resize:vertical; min-height:88px; }
.field label{
  position:absolute; left:14px; top:14px; font-size:.95rem; color:var(--steel-light);
  pointer-events:none; transition:all .15s ease; background:var(--white); padding:0 4px;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--orange); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label{
  top:-8px; font-size:.68rem; color:var(--orange);
}
.field select{ padding-top:16px; color:var(--navy); }
.field .select-label{ top:-8px; font-size:.68rem; color:var(--orange); }
.field select:invalid{ color:var(--steel-light); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.6); padding:72px 28px 28px; }
.footer-grid{
  max-width:1200px; margin:0 auto 48px; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px;
}
.footer-grid p{ margin-top:14px; font-size:.85rem; max-width:260px; line-height:1.6; }
.footer-grid h4{ color:var(--white); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; font-weight:600; }
.footer-grid a{ display:block; font-size:.88rem; padding:6px 0; opacity:.75; }
.footer-grid a:hover{ opacity:1; color:var(--orange); }
.footer-bottom{
  max-width:1200px; margin:0 auto; padding-top:24px; border-top:1px solid rgba(255,255,255,.1);
  font-size:.75rem; opacity:.5;
}

/* ---------- Toast ---------- */
.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%, 120%);
  background:var(--navy); color:var(--white); padding:14px 22px; border-radius:var(--radius-sm);
  font-size:.9rem; box-shadow:var(--e3); z-index:200; transition:transform .3s ease;
}
.toast.show{ transform:translate(-50%, 0); }

/* ---------- FAB ---------- */
.fab{
  position:fixed; right:24px; bottom:24px; width:48px; height:48px; border-radius:50%;
  background:var(--orange); color:var(--white); display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; box-shadow:var(--e2); opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease;
  z-index:150;
}
.fab.show{ opacity:1; pointer-events:auto; }
.fab:hover{ transform:translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .about-grid, .quote-grid{ grid-template-columns:1fr; gap:40px; }
  .card-grid{ grid-template-columns:repeat(2,1fr); }
  .work-grid{ grid-template-columns:repeat(2,1fr); }
  .flight-log{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .testi-grid{ grid-template-columns:1fr; }
}
@media (max-width:680px){
  .nav-links, .nav-phone{ display:none; }
  .nav-toggle{
    display:flex; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; padding:6px;
  }
  .nav-toggle span{ width:20px; height:2px; background:var(--navy); }
  section{ padding:64px 20px; }
  .card-grid{ grid-template-columns:1fr; }
  .work-grid{ grid-template-columns:1fr; }
  .flight-log{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .hero{ padding-top:64px; }
}
