/* Staging-only visual harmonization; original Astro interior content and images retained. */
:root{--jeff-navy:#092d52;--jeff-gold:#b99650}
.jeff-header{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px clamp(18px,4vw,58px);background:#fff;border-bottom:1px solid #e1e7ed}
.jeff-brand{display:block;flex:0 0 auto}.jeff-brand img{display:block;width:180px;max-width:35vw;height:auto}
.jeff-nav{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.jeff-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid var(--jeff-navy);color:var(--jeff-navy);background:white;text-align:center;font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;letter-spacing:.03em;text-decoration:none;transition:background .15s,color .15s}
.jeff-nav a:hover,.jeff-nav a:focus-visible{background:#eaf1fa;color:var(--jeff-navy)}.jeff-nav a:last-child,.jeff-nav a:last-child:hover,.jeff-nav a:last-child:focus-visible{background:var(--jeff-navy);color:white}
.jeff-footer{background:var(--jeff-navy);color:#e7eff6;padding:50px clamp(20px,5vw,70px);font-family:Arial,Helvetica,sans-serif}
.jeff-footer-grid{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:42px}
.jeff-footer-logo{width:210px;height:auto;filter:brightness(0) invert(1)}
.jeff-footer h2{color:#dfbb71;font-size:13px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 15px}
.jeff-footer a{color:#f3f7fb;display:block;text-decoration:none;margin:0 0 12px;overflow-wrap:anywhere}
.jeff-footer a:hover{text-decoration:underline}.jeff-footer p{font-size:14px;line-height:1.7;color:#d4e0eb;margin:10px 0}
main h1.h-display{color:var(--jeff-navy);font-family:Arial,Helvetica,sans-serif;font-weight:800;letter-spacing:-.025em}
main h2.h-section{color:var(--jeff-navy)}
@media(max-width:850px){.jeff-header{flex-direction:column;align-items:center;gap:15px}.jeff-nav{justify-content:center}.jeff-nav a{flex:1 1 180px}.jeff-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.jeff-brand img{max-width:210px;width:160px}.jeff-nav{width:100%;gap:7px}.jeff-nav a{flex:1 1 calc(50% - 8px);font-size:11px;padding:10px 5px;min-height:48px}.jeff-footer-grid{grid-template-columns:1fr;gap:24px}.jeff-footer{padding:36px 22px}}

/* EDM Machining Services: navy interior hero, staging only. */
.machining-hero{background:#092d52;color:#fff;overflow:hidden}
.machining-hero-inner{max-width:1180px;margin:auto;min-height:330px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr);align-items:stretch;gap:24px;padding:0 24px}
.machining-hero-copy{align-self:center;padding:52px 0 60px;position:relative;z-index:1}
.machining-hero-copy .label{color:#e6b557!important;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.machining-hero-copy .label span{background:#e6b557}
.machining-hero-copy h1.h-display{color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:800;font-size:clamp(34px,4.1vw,54px)!important;line-height:1.12;letter-spacing:-.035em;margin:20px 0 18px}
.machining-hero-copy p:not(.label){color:#dce6f2!important;font-family:Arial,Helvetica,sans-serif;font-size:clamp(16px,1.5vw,19px);line-height:1.6;max-width:680px;margin:0}
.machining-hero-photo{display:block;width:100%;height:100%;min-height:330px;max-height:420px;object-fit:cover;object-position:center}
.machining-stat-section{background:#fff;border-bottom:1px solid #dce3eb}
@media(max-width:760px){.machining-hero-inner{grid-template-columns:1fr;gap:0}.machining-hero-copy{padding:44px 0 30px}.machining-hero-photo{height:240px;min-height:0;max-height:none}.machining-hero-copy h1.h-display{font-size:36px!important}}

/* Consistent staging navigation: current page + primary quote action. */
.jeff-nav a[aria-current="page"]:not(:last-child){
  background:#eaf1fa;
  color:var(--jeff-navy);
  border-bottom:2px solid #b99650;
  padding-bottom:9px;
}
.jeff-nav a:last-child,
.jeff-nav a:last-child:hover,
.jeff-nav a:last-child:focus-visible{
  background:var(--jeff-navy);
  color:#fff;
}


/* Exact homepage header geometry: 1480px centered wrapper, 28px inset, 92px height.
   Applies to EDM Machining staging only; page content and hero are unaffected. */
@media (min-width: 851px) {
  header.jeff-header {
    min-height: 92px;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: max(28px, calc((100% - 1480px) / 2 + 28px));
    padding-right: max(28px, calc((100% - 1480px) / 2 + 28px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  header.jeff-header .jeff-brand { flex: 0 0 auto; }
  header.jeff-header .jeff-brand img { width: 180px; height: auto; max-width: none; }
  header.jeff-header .jeff-nav {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }
  header.jeff-header .jeff-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: max-content;
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0;
  }
}
