/* ==========================================================================
   4AB Drone Services - shared prototype stylesheet
   Brand system carried forward from the live dist/index.html
   ========================================================================== */

:root{
  --bg:#faf9f6; --bg-2:#f1efe9; --paper:#ffffff; --ink:#1a1a18; --ink-2:#3a3a36;
  --muted:#76746c; --line:#e3e0d8; --line-2:#d2cec3;
  --brass:#d2630d;      /* orange accent */
  --brass-deep:#a84e09; /* deeper orange (button hover) */
  --sky:#2b6cb8;        /* logo sky blue */
  --accent:#0a4d8c;     /* logo royal blue */
  --hero-ink:#06294a;   /* deep hero navy */
  --maxw:1180px;
  --r:14px;
  --shadow:0 1px 2px rgba(20,20,18,.04),0 8px 30px rgba(20,20,18,.06);
  --shadow-lg:0 10px 40px rgba(6,41,74,.18);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:'Fraunces',Georgia,serif; font-weight:600; line-height:1.12; margin:0 0 .4em}
h1{font-size:clamp(2.1rem,5vw,3.5rem); letter-spacing:-.01em}
h2{font-size:clamp(1.6rem,3.2vw,2.4rem); letter-spacing:-.01em}
h3{font-size:1.25rem}
p{margin:0 0 1em}
a{color:var(--accent); text-decoration:none}
a:hover{color:var(--brass-deep)}
img{max-width:100%; display:block}
.eyebrow{
  font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:.72rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--brass);
  margin:0 0 .8em; font-weight:500;
}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px}
.muted{color:var(--muted)}
.center{text-align:center}

/* ---- Header / nav ---- */
.site-head{
  position:sticky; top:0; z-index:50; background:rgba(250,249,246,.9);
  backdrop-filter:saturate(140%) blur(10px); border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; justify-content:space-between; height:72px}
.brand{display:flex; align-items:center; gap:12px; color:var(--ink)}
.brand img{height:40px; width:auto}
.brand .bt{
  display:flex; flex-direction:column; font-family:'Fraunces',serif;
  font-weight:600; font-size:1.02rem; line-height:1.05;
}
.brand .bt small{
  font-family:'IBM Plex Mono',monospace; font-weight:400; font-size:.62rem;
  letter-spacing:.14em; color:var(--muted); margin-top:3px;
}
.nav-links{display:flex; align-items:center; gap:26px}
.nav-links a{color:var(--ink-2); font-size:.92rem; font-weight:500}
.nav-links a:hover{color:var(--brass-deep)}
.nav-cta{
  background:var(--brass); color:#fff !important; padding:9px 18px; border-radius:999px;
  font-size:.88rem; font-weight:600;
}
.nav-cta:hover{background:var(--brass-deep)}
.nav-toggle{display:none; background:none; border:0; font-size:1.5rem; cursor:pointer; color:var(--ink)}

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:.95rem;
  padding:13px 26px; border-radius:999px; cursor:pointer; border:1px solid transparent;
  transition:transform .12s ease, background .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--brass); color:#fff !important}
.btn-primary:hover{background:var(--brass-deep)}
.btn-ghost{background:transparent; color:#fff !important; border-color:rgba(255,255,255,.5)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-dark{background:var(--ink); color:#fff !important}
.btn-dark:hover{background:#000}
.btn-outline{background:transparent; color:var(--accent) !important; border-color:var(--line-2)}
.btn-outline:hover{border-color:var(--accent); background:#fff}

/* ---- Sections ---- */
section{padding:40px 0}
.section-tight{padding:26px 0}
.lead{font-size:1.15rem; color:var(--ink-2); max-width:640px}

/* ---- Pills / badges ---- */
.pill{
  display:inline-flex; align-items:center; gap:6px; font-size:.78rem; font-weight:600;
  padding:5px 13px; border-radius:999px; background:var(--bg-2); color:var(--ink-2);
  border:1px solid var(--line);
}
.pill.on-request{background:#fff5ec; color:var(--brass-deep); border-color:#f3d8bd}
.pill.flagship{background:var(--brass); color:#fff; border:0}
.pill-row{display:flex; flex-wrap:wrap; gap:10px}

/* ==========================================================================
   HERO LANDING (index)
   ========================================================================== */
.hero{
  position:relative; margin:22px auto 0; max-width:calc(var(--maxw) + 48px);
  padding:0 24px;
}
.hero-inner{
  position:relative; border-radius:20px; overflow:hidden; background:var(--hero-ink);
  min-height:520px; display:flex; align-items:flex-end; box-shadow:var(--shadow-lg);
}
.hero-slides{position:absolute; inset:0}
.hero-slides .slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transition:opacity 1.4s ease;
}
.hero-slides .slide.active{opacity:1}
.hero-inner::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(6,41,74,.15) 0%,rgba(6,41,74,.35) 45%,rgba(6,41,74,.86) 100%);
}
.hero-content{position:relative; z-index:2; padding:48px clamp(24px,5vw,64px) 52px; color:#fff; max-width:760px}
.hero-content h1{color:#fff; margin-bottom:.35em}
.hero-content .eyebrow{color:#ffd9b3}
.hero-content p{color:rgba(255,255,255,.9); font-size:1.15rem; max-width:560px}
.hero-tagline{font-family:'Fraunces',serif; font-size:1.5rem !important; font-weight:500; color:#ffd9b3 !important; margin:0 0 .5em !important}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px; margin-top:24px}

/* ---- Service card grid ---- */
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:8px;
}
.svc-card{
  position:relative; border-radius:var(--r); overflow:hidden; background:var(--paper);
  border:1px solid var(--line); box-shadow:var(--shadow); text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; transition:transform .16s ease, box-shadow .16s ease;
}
.svc-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-lg); color:var(--ink)}
.svc-media{position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--bg-2)}
.svc-media img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.svc-card:hover .svc-media img{transform:scale(1.05)}
.svc-badge{position:absolute; top:12px; left:12px; z-index:2}
.svc-body{padding:20px 22px 22px}
.svc-body h3{margin-bottom:.3em; display:flex; align-items:center; gap:8px}
.svc-body p{font-size:.94rem; color:var(--muted); margin:0}
.svc-arrow{
  margin-top:14px; font-family:'IBM Plex Mono',monospace; font-size:.78rem; font-weight:600;
  letter-spacing:.06em; color:var(--brass); text-transform:uppercase;
}

/* ---- Thermal concept SVG media ---- */
.thermal-media{background:#0b0d14}
.thermal-media svg{width:100%; height:100%; display:block}

/* ---- Clean brand plate (no-image card media) ---- */
.svc-plate{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:12px; color:#eaf1f8;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 34px),
    linear-gradient(150deg, #0a3a63 0%, #06294a 46%, #041c33 100%);
}
.svc-plate::after{
  content:""; position:absolute; top:12px; right:12px; width:26px; height:26px;
  border-top:2px solid var(--brass); border-right:2px solid var(--brass); opacity:.7;
}
.svc-plate .plate-icon{width:44px; height:44px; color:var(--brass)}
.svc-plate .plate-icon svg{width:100%; height:100%; display:block}
.svc-plate .plate-label{
  font-family:'IBM Plex Mono',monospace; font-size:.72rem; font-weight:500;
  letter-spacing:.16em; text-transform:uppercase; color:#9fc0e0;
}

/* ---- Trust strip ---- */
.trust{border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--paper)}
.trust .wrap{display:flex; flex-wrap:wrap; gap:14px 34px; justify-content:center; padding-top:26px; padding-bottom:26px}
.trust .item{display:flex; align-items:center; gap:9px; font-size:.9rem; font-weight:500; color:var(--ink-2)}
.trust .item svg{width:19px; height:19px; color:var(--brass); flex:none}

/* ==========================================================================
   SERVICE PAGE (interior)
   ========================================================================== */
.page-hero{
  background:var(--hero-ink); color:#fff; position:relative; overflow:hidden;
}
.page-hero.img-hero{min-height:420px; display:flex; align-items:flex-end}
.page-hero .ph-bg{position:absolute; inset:0; background-size:cover; background-position:center}
.page-hero.img-hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(6,41,74,.2),rgba(6,41,74,.82));
}
.page-hero.thermal-hero{min-height:420px; display:flex; align-items:flex-end}
.page-hero.thermal-hero .thermal-svg{position:absolute; inset:0; width:100%; height:100%; z-index:1; opacity:.9}
.page-hero.thermal-hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,rgba(6,15,40,.35),rgba(4,10,28,.78));
}
.page-hero .ph-inner{position:relative; z-index:2; padding:56px 0}
.page-hero h1{color:#fff}
.page-hero .eyebrow{color:#ffd9b3}
.page-hero p{color:rgba(255,255,255,.9); max-width:620px}
.breadcrumb{
  font-family:'IBM Plex Mono',monospace; font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; margin-bottom:18px;
}
.breadcrumb a{color:#ffd9b3}
.breadcrumb span{color:rgba(255,255,255,.55)}

/* ---- Content columns ---- */
.two-col{display:grid; grid-template-columns:1.4fr 1fr; gap:52px; align-items:start}
.feature-list{list-style:none; padding:0; margin:0}
.feature-list li{position:relative; padding:0 0 14px 30px; color:var(--ink-2)}
.feature-list li::before{
  content:""; position:absolute; left:0; top:8px; width:14px; height:14px; border-radius:4px;
  background:var(--brass); box-shadow:0 0 0 4px #fff5ec;
}
.card{background:var(--paper); border:1px solid var(--line); border-radius:var(--r); padding:26px; box-shadow:var(--shadow)}

/* ---- Portfolio gallery ---- */
.gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.gallery.two{grid-template-columns:repeat(2,1fr)}
.gallery figure{margin:0; border-radius:var(--r); overflow:hidden; border:1px solid var(--line); background:var(--bg-2)}
.gallery figure img{width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .5s ease}
.gallery figure:hover img{transform:scale(1.04)}
.gallery figure.tall img{aspect-ratio:3/4}

/* ---- Placeholder tile (coming soon imagery) ---- */
.ph-tile{
  aspect-ratio:4/3; border-radius:var(--r); border:1px dashed var(--line-2);
  background:repeating-linear-gradient(45deg,#f6f4ee,#f6f4ee 12px,#f1efe9 12px,#f1efe9 24px);
  display:flex; align-items:center; justify-content:center; text-align:center; padding:20px;
  color:var(--muted); font-size:.82rem; font-family:'IBM Plex Mono',monospace; letter-spacing:.04em;
}

/* ---- Pricing table ---- */
.price-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.price-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r);
  padding:26px 24px; box-shadow:var(--shadow); text-align:center;
}
.price-card .label{font-family:'IBM Plex Mono',monospace; font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted)}
.price-card .amt{font-family:'Fraunces',serif; font-size:2rem; color:var(--ink); margin:8px 0 4px}
.price-card .amt small{font-size:.9rem; color:var(--muted); font-weight:400}
.price-card .note{font-size:.82rem; color:var(--muted); margin:0}
.tbd{color:var(--brass); font-weight:600; font-family:'IBM Plex Mono',monospace; font-size:.8rem}

/* ---- CTA band ---- */
.cta-band{background:var(--hero-ink); color:#fff; text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.85); max-width:560px; margin:0 auto 24px}

/* ---- Callout / notice ---- */
.notice{
  background:#fff5ec; border:1px solid #f3d8bd; border-radius:var(--r); padding:18px 22px;
  color:var(--brass-deep); font-size:.92rem;
}

/* ---- On-request block ---- */
.onreq{background:var(--bg-2)}

/* ---- Use-case tiles (jump band) ---- */
.use-tiles{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.use-tile{
  display:flex; align-items:center; gap:14px; padding:16px 20px; text-decoration:none;
  border:1px solid var(--line); border-radius:var(--r); background:var(--paper); color:var(--ink);
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.use-tile:hover{transform:translateY(-2px); box-shadow:var(--shadow); border-color:var(--line-2); color:var(--ink)}
.use-tile .ut-icon{width:32px; height:32px; color:var(--brass); flex:none}
.use-tile .ut-icon svg{width:100%; height:100%; display:block}
.use-tile .ut-txt{display:flex; flex-direction:column; line-height:1.2}
.use-tile .ut-txt strong{font-family:'Fraunces',serif; font-weight:600; font-size:1.06rem}
.use-tile .ut-txt small{color:var(--muted); font-size:.82rem; margin-top:3px}
.use-tile .ut-arrow{margin-left:auto; color:var(--brass); font-weight:700; font-size:1.1rem}
@media(max-width:640px){.use-tiles{grid-template-columns:1fr}}

/* ---- Social follow band ---- */
.social-band{background:var(--paper); border-top:1px solid var(--line); text-align:center}
.social-band .muted{max-width:600px; margin:0 auto 26px}
.social-links{display:flex; flex-wrap:wrap; gap:16px; justify-content:center}
.social-btn{
  display:flex; align-items:center; gap:12px; padding:14px 22px; min-width:220px;
  border:1px solid var(--line); border-radius:var(--r); background:var(--bg);
  color:var(--ink); font-weight:600; transition:border-color .18s, transform .18s;
}
.social-btn:hover{border-color:var(--brass); transform:translateY(-2px)}
.social-btn svg{width:26px; height:26px; color:var(--brass); flex:none}
.social-btn span{display:flex; flex-direction:column; line-height:1.2; text-align:left}
.social-btn small{font-family:'IBM Plex Mono',monospace; font-size:.72rem; color:var(--muted); font-weight:400; margin-top:2px}

/* ---- Video gallery ---- */
.video-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px; margin-top:26px}
.video-item{border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:#0b0d14}
.video-item video{width:100%; height:auto; display:block; aspect-ratio:16/9; object-fit:cover; background:#0b0d14}
.video-item.portrait video{aspect-ratio:9/16; max-height:520px; object-fit:contain}
.video-cap{padding:12px 16px; background:var(--bg); border-top:1px solid var(--line)}
.video-cap strong{display:block; font-size:.95rem}
.video-cap span{font-size:.82rem; color:var(--muted)}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot{background:var(--ink); color:#cfccc4; padding:56px 0 34px; font-size:.92rem}
.site-foot a{color:#e8e5dd}
.site-foot a:hover{color:#fff}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; margin-bottom:34px}
.foot-brand img{height:38px; margin-bottom:14px}
.foot-col h4{font-family:'IBM Plex Mono',monospace; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:#8b877d; margin:0 0 14px}
.foot-col ul{list-style:none; padding:0; margin:0}
.foot-col li{margin-bottom:9px}
.crosslink{
  display:inline-block; margin-top:6px; padding:10px 16px; border:1px solid #3a3a36;
  border-radius:999px; font-size:.85rem; color:#e8e5dd;
}
.crosslink:hover{border-color:var(--brass); color:#fff}
.foot-bottom{border-top:1px solid #2a2a27; padding-top:22px; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; color:#8b877d; font-size:.82rem}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(max-width:900px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .two-col{grid-template-columns:1fr; gap:34px}
  .price-grid{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .nav-links{
    display:none; position:absolute; top:72px; left:0; right:0; flex-direction:column;
    align-items:flex-start; gap:0; background:var(--paper); border-bottom:1px solid var(--line); padding:8px 24px 16px;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:11px 0; width:100%}
  .nav-toggle{display:block}
  .services-grid{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .hero-content{padding:32px 24px 36px}
}

/* thermal video card + RTK lead (added 2026-07-27) */
.svc-media video{width:100%;height:100%;object-fit:cover;display:block}
.rtk-lead{background:var(--bg-2);border-bottom:1px solid var(--line)}

/* video hero background (added 2026-07-27) */
.page-hero video.ph-bg, .page-hero img.ph-bg{width:100%;height:100%;object-fit:cover}
/* Ken Burns on service photos removed 2026-07-27 per feedback: looked shaky, kept static */
