/* ==========================================================================
   Shield Gears — shared styles (footer + long-form content section)
   The header styles are appended automatically from src/partials/header.html
   ========================================================================== */

html { scroll-behavior: smooth; }
body { margin:0; }

/* ---------- Long-form SEO / AI-search content section ---------- */
.sg-content{
  background:#ffffff;
  border-top:1px solid #e2e0d9;
  padding:64px 0;
  font-family:'Archivo',sans-serif;
  color:#15151a;
}
.sg-content-inner{max-width:820px; margin:0 auto; padding:0 24px;}
.sg-content h2{
  font-family:'Big Shoulders Display',sans-serif; font-weight:900;
  text-transform:uppercase; line-height:0.92; font-size:clamp(26px,3.2vw,38px);
  margin:0 0 8px;
}
.sg-content h2 + .sg-content-rule{
  width:52px; height:3px; background:#d81f1a; margin-bottom:28px;
}
.sg-content-block{margin-bottom:28px;}
.sg-content-block:last-child{margin-bottom:0;}
.sg-content-block h3{
  font-size:17px; font-weight:700; margin:0 0 8px; color:#15151a;
}
.sg-content-block p{
  color:#5c5e66; font-size:15px; line-height:1.7; margin:0; max-width:70ch;
}

/* ---------- Footer ---------- */
.sg-footer{
  background:#ffffff; border-top:1px solid #e2e0d9;
  font-family:'Archivo',sans-serif; color:#15151a;
}
.sg-footer a{color:inherit; text-decoration:none;}
.sg-footer-inner{
  max-width:1280px; margin:0 auto; padding:56px 32px 40px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px;
}
.sg-footer-brand img{height:34px; width:auto; display:block; margin-bottom:16px;}
.sg-footer-brand p{
  color:#5c5e66; font-size:13.5px; line-height:1.65; max-width:300px; margin:0;
}
.sg-footer-col h4{
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600;
  letter-spacing:0.1em; text-transform:uppercase; color:#8b8d94;
  margin:0 0 14px;
}
.sg-footer-col a{
  display:block; font-size:13.5px; color:#5c5e66; padding:5px 0;
}
.sg-footer-col a:hover{color:#d81f1a;}
.sg-footer-bottom{
  border-top:1px solid #e2e0d9; max-width:1280px; margin:0 auto;
  padding:20px 32px 28px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:12px;
  font-family:'IBM Plex Mono',monospace; font-size:11px; color:#8b8d94;
}

@media (max-width:900px){
  .sg-content{padding:44px 0;}
  .sg-footer-inner{grid-template-columns:1fr 1fr; gap:32px; padding:40px 20px 28px;}
  .sg-footer-brand{grid-column:1/-1;}
  .sg-footer-bottom{padding:18px 20px 24px;}
}
@media (max-width:480px){
  .sg-footer-inner{grid-template-columns:1fr;}
}


/* ---------- header (from src/partials/header.html) ---------- */

  

  :root{
    --void:#ffffff; --panel:#ffffff; --hair:#e2e0d9;
    --ink:#15151a; --muted:#5c5e66; --muted-2:#8b8d94;
    --red:#d81f1a;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  body{background:transparent; font-family:'Archivo',sans-serif; -webkit-font-smoothing:antialiased;}
  a{color:inherit; text-decoration:none;}

  header{width:100%; background:var(--void); border-bottom:1px solid var(--hair); position:relative; z-index:50;}
  nav{display:flex; align-items:center; justify-content:space-between; padding:0 32px; height:74px; max-width:1440px; margin:0 auto;}
  .brandmark{display:flex; align-items:center; gap:10px;}
  .brandmark img{height:36px; width:auto; display:block;}
  .navlinks{display:flex; align-items:center; height:100%; gap:2px;}
  .navlinks a{font-size:13px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:var(--muted); padding:0 16px; height:100%; display:flex; align-items:center; position:relative;}
  .navlinks a::after{content:''; position:absolute; bottom:0; left:16px; right:16px; height:2px; background:var(--red); transform:scaleX(0); transition:transform .2s;}
  .navlinks a:hover, .navlinks a.active{color:var(--ink);}
  .navlinks a:hover::after, .navlinks a.active::after{transform:scaleX(1);}
  .nav-cta{background:var(--red); color:#fff; padding:11px 22px; font-size:12.5px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; border-radius:2px;}

  /* Mobile hamburger button - hidden on desktop */
  .hamburger{display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:44px; height:44px; background:none; border:none; cursor:pointer; padding:0;}
  .hamburger span{display:block; width:24px; height:2px; background:var(--ink); transition:transform .2s, opacity .2s;}

  /* Mobile slide-out panel */
  .mobile-menu{
    position:fixed; top:0; right:0; bottom:0; width:78%; max-width:320px;
    background:var(--panel); z-index:200; transform:translateX(100%);
    transition:transform .25s ease; box-shadow:-8px 0 30px rgba(0,0,0,0.15);
    display:flex; flex-direction:column; overflow-y:auto;
  }
  .mobile-menu.open{transform:translateX(0);}
  .mobile-menu-head{display:flex; justify-content:space-between; align-items:center; padding:20px; border-bottom:1px solid var(--hair);}
  .mobile-menu-head img{height:28px;}
  .mobile-menu-close{background:none; border:none; font-size:22px; color:var(--muted); cursor:pointer; line-height:1;}
  .mobile-menu-links{display:flex; flex-direction:column; padding:8px 0;}
  .mobile-menu-links a{padding:16px 20px; font-size:15px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color:var(--ink); border-bottom:1px solid var(--hair);}
  .mobile-menu-links a:active{background:var(--void);}
  .mobile-menu-cta{margin:20px; background:var(--red); color:#fff; text-align:center; padding:14px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; border-radius:2px;}

  .mobile-menu-overlay{
    position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:150;
    opacity:0; pointer-events:none; transition:opacity .25s ease;
  }
  .mobile-menu-overlay.open{opacity:1; pointer-events:auto;}

  @media (max-width:900px){
    .navlinks, .nav-cta{display:none;}
    .hamburger{display:flex;}
    nav{padding:0 20px;}
  }
