@font-face{font-family:"Encode Sans Semi Condensed";src:url("assets/fonts/EncodeSansSemiCondensed-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Encode Sans Semi Condensed";src:url("assets/fonts/EncodeSansSemiCondensed-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Encode Sans Semi Condensed";src:url("assets/fonts/EncodeSansSemiCondensed-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Encode Sans Semi Condensed";src:url("assets/fonts/EncodeSansSemiCondensed-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}


:root{
  --navy:#032342;
  --navy-deep:#021f3d;
  --gold:#d7930b;
  --gold-dark:#c88306;
  --text:#14263d;
  --white:#ffffff;
  --line:#e4e8ec;

  /* Native reference geometry: 1104 × 94 */
  --header-h:94px;
  --top-h:35px;
  --brand-w:245px;
  --top-start:202px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Encode Sans Semi Condensed","Arial Narrow",Arial,sans-serif;
  color:var(--text);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  font-size:16px;
}

a{color:inherit}
button,input,select,textarea{font:inherit}

.jm-header{
  position:relative;
  z-index:1000;
  width:100%;
  min-width:320px;
  height:var(--header-h);
  background:#fff;
  box-shadow:0 1px 3px rgba(4,27,49,.12);
  isolation:isolate;
}

.header-bg-top{
  position:absolute;
  z-index:0;
  top:0;
  left:var(--top-start);
  right:0;
  height:var(--top-h);
  background:linear-gradient(90deg,#022644 0%,#021e3b 55%,#031f3d 100%);
}

.header-bg-main{
  position:absolute;
  z-index:0;
  top:var(--top-h);
  left:var(--brand-w);
  right:0;
  bottom:0;
  background:#fff;
  border-bottom:1px solid #dfe4e8;
}

/* Logo plate: the diagonal is deliberately aligned to the supplied reference. */
.brand-panel{
  position:absolute;
  z-index:5;
  inset:0 auto 0 0;
  width:var(--brand-w);
  height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2px 24px 4px 10px;
  background:#fff;
  clip-path:polygon(0 0,82.45% 0,100% 100%,0 100%);
  text-decoration:none;
  filter:drop-shadow(1px 0 0 rgba(3,35,66,.10));
}

.brand-panel img{
  display:block;
  width:188px;
  max-width:100%;
  max-height:90px;
  height:auto;
  object-fit:contain;
  transform:translateX(-1px);
  filter:saturate(1.08) contrast(1.04);
}

.top-info{
  position:absolute;
  z-index:2;
  top:0;
  left:258px;
  right:52px;
  height:var(--top-h);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  color:#f7f9fb;
  white-space:nowrap;
  overflow:hidden;
  font-size:11.2px;
  font-weight:500;
  line-height:1;
  letter-spacing:.01em;
}

.info-item{
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  color:#f7f9fb;
  text-decoration:none;
  transition:color .18s ease,opacity .18s ease;
}

.info-item:hover,
.info-item:focus-visible{color:#fff;opacity:.9}

.info-item.location{
  overflow:hidden;
  text-overflow:ellipsis;
}

.info-item.location span{
  overflow:hidden;
  text-overflow:ellipsis;
}

.info-item svg{
  width:13px;
  height:13px;
  flex:0 0 13px;
  fill:var(--gold);
}

.divider{
  width:1px;
  height:15px;
  flex:0 0 1px;
  background:rgba(255,255,255,.18);
}

.main-row{
  position:absolute;
  z-index:3;
  top:var(--top-h);
  left:var(--brand-w);
  right:52px;
  height:calc(var(--header-h) - var(--top-h));
  display:flex;
  align-items:center;
}

.desktop-nav{
  height:100%;
  min-width:0;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 49px 0 26px;
}

.desktop-nav a{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
  color:#172941;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
  font-size:11.4px;
  font-weight:700;
  line-height:1;
  letter-spacing:.035em;
  transition:color .18s ease;
}

.desktop-nav a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:10px;
  width:0;
  height:2px;
  border-radius:999px;
  background:var(--gold);
  transform:translateX(-50%);
  transition:width .18s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible{color:var(--gold-dark)}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after{width:18px}

.quote-btn{
  flex:0 0 153px;
  width:153px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid rgba(177,112,0,.20);
  border-radius:3px;
  background:linear-gradient(180deg,#dfa119 0%,#cf8706 100%);
  box-shadow:0 1px 4px rgba(142,85,0,.20);
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
  font-size:11.2px;
  font-weight:700;
  line-height:1;
  letter-spacing:.025em;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}

.quote-btn:hover,
.quote-btn:focus-visible{
  background:linear-gradient(180deg,#e3a721 0%,#c77f03 100%);
  box-shadow:0 3px 8px rgba(142,85,0,.24);
  transform:translateY(-1px);
}

.quote-btn span{
  font-size:14px;
  font-weight:500;
  line-height:1;
  transform:translateY(-.5px);
}

.menu-toggle,
.mobile-menu{display:none}


/* Keep the supplied 1104px reference composition tightly matched around its native width. */
@media (min-width:1000px) and (max-width:1180px){
  .top-info{right:52px;font-size:10.8px;gap:8px}
  .main-row{right:52px}
  .desktop-nav{padding-left:26px;padding-right:49px}
  .desktop-nav a{font-size:11px}
  .quote-btn{flex-basis:153px;width:153px}
}

@media (min-width:1181px){
  :root{
    --brand-w:270px;
    --top-start:222px;
    --header-h:102px;
    --top-h:38px;
  }
  .brand-panel{padding-right:28px}
  .brand-panel img,.site-header-logo{width:214px}
  .top-info{left:285px;right:4.5vw;font-size:11.4px;gap:11px}
  .main-row{right:4.5vw}
  .desktop-nav{padding-left:32px;padding-right:62px}
  .desktop-nav a{font-size:11.5px}
  .quote-btn{height:35px;flex-basis:164px;width:164px;font-size:11.3px}
}

/* Tablet: preserve the same visual identity without squeezing the desktop menu. */
@media (max-width:999px){
  :root{--header-h:82px;--top-h:29px;--brand-w:214px;--top-start:178px}

  .brand-panel{padding:3px 22px 4px 10px}
  .brand-panel img,.site-header-logo{width:174px}

  .top-info{
    left:226px;
    right:18px;
    font-size:9px;
    gap:8px;
  }
  .top-info .location{flex:1 1 auto}
  .top-info .email{display:none}

  .main-row{left:var(--brand-w);right:18px}
  .desktop-nav{display:none}

  .quote-btn{
    margin-left:auto;
    margin-right:14px;
    width:150px;
    flex-basis:150px;
    height:32px;
  }

  .menu-toggle{
    display:grid;
    place-content:center;
    gap:4px;
    width:38px;
    height:38px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
  }

  .menu-toggle span{
    display:block;
    width:22px;
    height:2px;
    border-radius:999px;
    background:var(--navy);
    transition:transform .18s ease,opacity .18s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

  .mobile-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    padding:12px 18px 18px;
    background:#fff;
    border-top:1px solid #edf0f2;
    box-shadow:0 14px 30px rgba(3,35,66,.14);
  }

  .mobile-menu.open{display:flex}

  .mobile-menu>a:not(.mobile-quote){
    padding:12px 6px;
    border-bottom:1px solid #eef0f2;
    color:var(--navy);
    text-decoration:none;
    text-transform:uppercase;
    font-size:12px;
    font-weight:700;
    letter-spacing:.035em;
  }

  .mobile-quote{
    margin-top:13px;
    padding:13px 14px;
    border-radius:3px;
    background:linear-gradient(180deg,#dfa119 0%,#cf8706 100%);
    color:#fff;
    text-align:center;
    text-decoration:none;
    text-transform:uppercase;
    font-size:12px;
    font-weight:700;
    letter-spacing:.025em;
  }

  .mobile-contact{
    display:flex;
    flex-wrap:wrap;
    gap:10px 15px;
    padding:14px 5px 0;
  }

  .mobile-contact a{
    color:#536072;
    text-decoration:none;
    font-size:11px;
    font-weight:500;
  }
}

@media (max-width:640px){
  :root{--header-h:74px;--top-h:30px;--brand-w:162px;--top-start:136px}

  .brand-panel{
    padding:3px 16px 4px 8px;
    clip-path:polygon(0 0,83% 0,100% 100%,0 100%);
  }
  .brand-panel img,.site-header-logo{width:148px;transform:translateX(0)}

  /* Keep both business phone numbers visible in the top strip on small screens. */
  .top-info{
    left:171px;
    right:10px;
    display:grid;
    grid-template-columns:1fr;
    justify-items:end;
    align-content:center;
    gap:2px;
    overflow:visible;
    font-size:9.5px;
    line-height:1;
  }
  .top-info .location,
  .top-info .divider,
  .top-info .email{display:none}
  .top-info a.info-item{display:flex;gap:5px}
  .top-info a.info-item.email{display:none}
  .top-info a.info-item svg{width:10px;height:10px;flex-basis:10px}

  .main-row{left:var(--brand-w);right:8px}
  .quote-btn{display:none}
  .menu-toggle{margin-left:auto;width:42px;height:42px}
}

/* =========================================================
   J.M & PARTNERS FOOTER — refined desktop composition
   - centered content shell
   - Quick Links + Our Services grouped side-by-side
   - readable typography at real desktop sizes
   ========================================================= */
.jm-footer{
  --footer-bg:#01152f;
  --footer-bg-deep:#001126;
  --footer-text:#f7f8fb;
  --footer-muted:#dce3eb;
  --footer-gold:#d6a431;
  --footer-rule:rgba(212,222,233,.14);
  position:relative;
  width:100%;
  min-width:320px;
  overflow:hidden;
  background:linear-gradient(180deg,var(--footer-bg) 0%,var(--footer-bg-deep) 100%);
  color:var(--footer-text);
  font-family:"Encode Sans Semi Condensed","Arial Narrow",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.jm-footer::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0 0 auto 0;
  height:6px;
  pointer-events:none;
  opacity:.28;
  background:linear-gradient(90deg,
    transparent 0 7%,rgba(255,255,255,.07) 7% 9%,transparent 9% 16%,
    rgba(255,255,255,.055) 16% 18.4%,transparent 18.4% 34%,
    rgba(255,255,255,.055) 34% 36%,transparent 36% 45%,
    rgba(255,255,255,.05) 45% 47%,transparent 47% 61%,
    rgba(255,255,255,.06) 61% 64%,transparent 64% 100%);
}

.footer-main{
  position:relative;
  z-index:1;
  width:min(1280px,100%);
  min-height:250px;
  margin:0 auto;
  padding:34px 38px 28px;
  display:grid;
  grid-template-columns:minmax(230px,.92fr) minmax(500px,1.72fr) minmax(340px,1.22fr);
  align-items:start;
}

.footer-column,
.footer-nav-group{min-width:0}

.footer-about{
  padding-right:36px;
}

.footer-navigation{
  display:grid;
  grid-template-columns:minmax(130px,.72fr) minmax(285px,1.28fr);
  gap:42px;
  padding:0 44px;
  border-left:1px solid var(--footer-rule);
  border-right:1px solid var(--footer-rule);
}

.footer-contact{
  padding-left:44px;
}

.footer-column h2,
.footer-nav-group h2{
  margin:0 0 16px;
  color:#fff;
  font-size:15.5px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:.025em;
}

/* Brand / about */
.footer-brand{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-height:0;
  color:#fff;
  text-decoration:none;
}

.footer-logo{
  display:block;
  width:228px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}


/* Quick Links and Services — intentionally a clean two-column pair. */
.footer-links nav,
.footer-services nav{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-links a,
.footer-services a{
  display:block;
  padding:0;
  color:#edf2f7;
  text-decoration:none;
  font-size:14px;
  font-weight:400;
  line-height:25.5px;
  transition:color .18s ease,transform .18s ease;
}

.footer-links a{white-space:nowrap}
.footer-services a{white-space:normal}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-services a:hover,
.footer-services a:focus-visible{
  color:var(--footer-gold);
  transform:translateX(2px);
}

/* Contact */
.footer-contact h2{margin-bottom:17px}

.footer-contact-list{
  display:flex;
  flex-direction:column;
}

.footer-contact-item{
  display:flex;
  align-items:flex-start;
  gap:13px;
  color:#edf2f7;
  font-size:14px;
  font-weight:400;
  line-height:18.5px;
}

.footer-contact-item + .footer-contact-item{margin-top:9px}


.footer-contact-icon{
  flex:0 0 18px;
  width:18px;
  height:20px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:1px;
}

.footer-contact-icon svg{
  width:18px;
  height:18px;
  fill:var(--footer-gold);
}

.footer-contact-item a{
  color:#edf2f7;
  text-decoration:none;
  overflow-wrap:anywhere;
  transition:color .18s ease;
}

.footer-contact-item a:hover,
.footer-contact-item a:focus-visible{color:var(--footer-gold)}

.footer-bottom{
  position:relative;
  z-index:1;
  min-height:43px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 24px;
  border-top:1px solid var(--footer-rule);
}

.footer-bottom p{
  margin:0;
  color:#e8edf3;
  text-align:center;
  font-size:13.5px;
  font-weight:400;
  line-height:1.35;
  letter-spacing:.005em;
}

/* Medium desktop: keep the three major zones balanced. */
@media (max-width:1180px) and (min-width:901px){
  .footer-main{
    grid-template-columns:minmax(210px,.88fr) minmax(430px,1.64fr) minmax(300px,1.18fr);
    padding-left:30px;
    padding-right:30px;
  }
  .footer-about{padding-right:28px}
  .footer-navigation{gap:30px;padding:0 30px}
  .footer-contact{padding-left:30px}
  
  
}

/* Tablet: navigation remains side-by-side as requested. */
@media (max-width:900px){
  .footer-main{
    width:100%;
    min-height:auto;
    grid-template-columns:minmax(220px,.78fr) minmax(420px,1.22fr);
    padding:34px 28px 30px;
  }

  .footer-about{padding-right:30px}

  .footer-navigation{
    grid-template-columns:minmax(125px,.72fr) minmax(245px,1.28fr);
    gap:30px;
    padding:0 0 0 34px;
    border-left:1px solid var(--footer-rule);
    border-right:0;
  }

  .footer-contact{
    grid-column:1 / -1;
    margin-top:31px;
    padding:27px 0 0;
    border-top:1px solid var(--footer-rule);
  }

  .footer-contact-list{
    display:grid;
    grid-template-columns:1.35fr .9fr 1.15fr;
    gap:16px 30px;
  }

  .footer-contact-item + .footer-contact-item,
  

  
  .footer-bottom{min-height:46px}
}

/* Small devices: compact, but Quick Links + Services stay as two columns. */
@media (max-width:680px){
  .footer-main{
    display:block;
    padding:31px 23px 27px;
  }

  .footer-about{padding:0}

  .footer-navigation{
    margin-top:28px;
    padding:27px 0 0;
    border:0;
    border-top:1px solid var(--footer-rule);
    grid-template-columns:minmax(105px,.72fr) minmax(180px,1.28fr);
    gap:24px;
  }

  .footer-contact{
    margin-top:28px;
    padding:27px 0 0;
    border-top:1px solid var(--footer-rule);
  }

  .footer-contact-list{
    display:flex;
    flex-direction:column;
    gap:0;
  }

  .footer-contact-item + .footer-contact-item,
  

  .footer-column h2,
  .footer-nav-group h2{font-size:15px}

  
  
  .footer-links a,
  .footer-services a,
  .footer-contact-item{font-size:13.5px}
  .footer-bottom p{font-size:12.5px}
}

@media (max-width:390px){
  .footer-main{padding-left:18px;padding-right:18px}
  .footer-navigation{
    grid-template-columns:minmax(92px,.68fr) minmax(165px,1.32fr);
    gap:18px;
  }
  .footer-links a,
  .footer-services a,
  .footer-contact-item{font-size:13px}
  .footer-services a{line-height:22px;margin-bottom:3px}
}


/* =========================================================
   HERO SECTION — production hero with optimized image
   ========================================================= */
.hero-section{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:540px;
  display:flex;
  align-items:center;
  padding:72px 24px 78px;
  background-color:#071a32;
  background-image:
    linear-gradient(90deg, rgba(5,24,49,.78) 0%, rgba(5,24,49,.70) 36%, rgba(5,24,49,.42) 66%, rgba(5,24,49,.20) 100%),
    linear-gradient(180deg, rgba(3,15,31,.14) 0%, rgba(3,15,31,.28) 100%),
    url("assets/hero-excavator-desktop.webp");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  border-bottom:1px solid rgba(7,24,43,.08);
}

.hero-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,202,119,.18) 0%, rgba(255,202,119,0) 30%),
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 100%);
  pointer-events:none;
}

.hero-section::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:120px;
  z-index:-1;
  background:linear-gradient(180deg, rgba(6,24,47,0) 0%, rgba(6,24,47,.22) 62%, rgba(6,24,47,.34) 100%);
  pointer-events:none;
}

.hero-shell{
  width:min(1160px,100%);
  margin:0 auto;
}

.hero-content{
  position:relative;
  max-width:760px;
  margin:0 auto;
  text-align:center;
  padding:30px 26px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(7,27,52,.20), rgba(7,27,52,.10));
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}

.hero-content::before{
  content:"";
  display:block;
  width:56px;
  height:3px;
  margin:0 auto 19px;
  border-radius:999px;
  background:linear-gradient(90deg,#e0ab35 0%,#c98508 100%);
}

.hero-eyebrow{
  margin:0 0 14px;
  color:#efb64a;
  font-size:13px;
  font-weight:700;
  line-height:1.15;
  letter-spacing:.145em;
  text-transform:uppercase;
}

.hero-title{
  margin:0 auto;
  max-width:700px;
  color:#ffffff;
  font-size:clamp(40px,4.2vw,60px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.035em;
  text-wrap:balance;
  text-shadow:0 4px 20px rgba(0,0,0,.18);
}

.hero-lead{
  margin:20px auto 0;
  max-width:710px;
  color:rgba(255,255,255,.92);
  font-size:16.5px;
  font-weight:400;
  line-height:1.64;
}

.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.hero-btn{
  min-width:170px;
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:4px;
  text-decoration:none;
  font-size:12.5px;
  font-weight:700;
  line-height:1;
  letter-spacing:.045em;
  text-transform:uppercase;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}

.hero-btn-primary{
  border:1px solid rgba(177,112,0,.22);
  background:linear-gradient(180deg,#dfa119 0%,#cf8706 100%);
  box-shadow:0 10px 22px rgba(142,85,0,.20);
  color:#fff;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 13px 26px rgba(142,85,0,.25);
}

.hero-btn-secondary{
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.12);
  color:#ffffff;
  box-shadow:0 8px 18px rgba(5,29,53,.10);
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(238,182,74,.64);
  background:rgba(255,255,255,.17);
  color:#ffffff;
}

@media (max-width:820px){
  .hero-section{
    min-height:470px;
    padding:58px 18px 62px;
    background-position:54% center;
  }
  .hero-content{
    max-width:700px;
    padding:24px 20px;
    border-radius:16px;
  }
  .hero-content::before{margin-bottom:17px}
  .hero-eyebrow{font-size:11.7px;letter-spacing:.125em;margin-bottom:12px}
  .hero-title{font-size:clamp(32px,7.2vw,46px);line-height:1.04;max-width:650px}
  .hero-lead{margin-top:17px;font-size:15.7px;line-height:1.6;max-width:640px}
  .hero-actions{margin-top:24px}
}

@media (max-width:640px){
  .hero-section{
    min-height:430px;
    padding:40px 14px 44px;
    background-image:
      linear-gradient(180deg, rgba(5,24,49,.72) 0%, rgba(5,24,49,.52) 55%, rgba(5,24,49,.44) 100%),
      linear-gradient(180deg, rgba(3,15,31,.12) 0%, rgba(3,15,31,.18) 100%),
      url("assets/hero-excavator-mobile.webp");
    background-position:center 45%;
  }
  .hero-content{
    max-width:360px;
    padding:18px 14px 16px;
    border-radius:14px;
    background:linear-gradient(180deg, rgba(7,27,52,.18), rgba(7,27,52,.06));
  }
  .hero-content::before{width:46px;height:2px;margin-bottom:15px}
  .hero-eyebrow{font-size:10.8px;line-height:1.35;letter-spacing:.105em;margin-bottom:10px}
  .hero-title{font-size:31px;line-height:1.04;letter-spacing:-.03em}
  .hero-lead{margin-top:15px;font-size:15px;line-height:1.57}
  .hero-actions{gap:9px;margin-top:21px}
  .hero-btn{min-width:0;flex:1 1 150px;min-height:44px;padding:11px 16px;font-size:11.8px}
}

@media (max-width:410px){
  .hero-section{padding-left:12px;padding-right:12px}
  .hero-title{font-size:28px}
  .hero-actions{flex-direction:column}
  .hero-btn{width:100%;flex:none}
}


/* =========================================================
   NCA REGISTRATIONS — coded from the supplied reference
   ========================================================= */
.site-main{width:100%;background:#fff}

.nca-section{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:38px 26px 40px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.88),rgba(250,249,246,.74) 50%,rgba(255,255,255,.88)),
    #fbfaf7;
  border-top:1px solid #edf0f2;
  border-bottom:1px solid #e5e9ed;
}

.nca-section::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:0;
  background:url("assets/nca-blueprint.svg") center/cover no-repeat;
  opacity:.72;
  pointer-events:none;
}

.nca-section::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  top:-110px;
  width:760px;
  height:340px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(213,153,38,.075) 0%,rgba(213,153,38,.028) 38%,rgba(255,255,255,0) 72%);
  pointer-events:none;
}

.nca-shell{
  width:min(1160px,100%);
  margin:0 auto;
}

.nca-heading{
  margin:0 auto 24px;
  text-align:center;
}

.nca-eyebrow{
  margin:0 0 7px;
  color:#c89228;
  font-size:13px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:.13em;
  text-transform:uppercase;
}


.nca-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:17px;
  align-items:stretch;
}

.nca-card{
  position:relative;
  min-width:0;
  min-height:184px;
  padding:17px 12px 47px;
  overflow:visible;
  border:1px solid rgba(202,157,72,.27);
  border-radius:4px;
  background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(251,248,241,.96) 100%);
  box-shadow:
    0 10px 22px rgba(5,29,53,.09),
    0 2px 5px rgba(5,29,53,.05),
    inset 0 1px 0 rgba(255,255,255,.92);
  text-align:center;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.nca-card:hover{
  transform:translateY(-3px);
  border-color:rgba(202,157,72,.48);
  box-shadow:
    0 16px 28px rgba(5,29,53,.12),
    0 3px 7px rgba(5,29,53,.06),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.nca-mark{
  position:relative;
  width:112px;
  height:54px;
  margin:0 auto 1px;
  display:grid;
  place-items:center;
}

.nca-mark img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
}

.nca-mark strong{
  position:relative;
  z-index:1;
  margin-top:3px;
  color:#071f3c;
  font-size:20px;
  font-weight:700;
  line-height:1;
  letter-spacing:.015em;
}

.nca-divider{
  width:50px;
  height:8px;
  margin:0 auto 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.nca-divider::before,
.nca-divider::after{
  content:"";
  width:20px;
  height:1px;
  background:#d1a04b;
}

.nca-divider i{
  width:5px;
  height:5px;
  margin:0 3px;
  border:1px solid #c89127;
  background:#fffaf0;
  transform:rotate(45deg);
}

.nca-card h2{
  margin:0;
  color:#0a1930;
  font-size:13.5px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:.006em;
}

.nca-ribbon{
  position:absolute;
  left:50%;
  bottom:13px;
  width:132px;
  height:31px;
  transform:translateX(-50%);
  filter:drop-shadow(0 4px 4px rgba(2,23,44,.12));
}

.nca-ribbon::before,
.nca-ribbon::after{
  content:"";
  position:absolute;
  z-index:0;
  top:7px;
  width:25px;
  height:23px;
  background:#062746;
}

.nca-ribbon::before{
  left:-15px;
  clip-path:polygon(0 0,100% 0,86% 100%,0 100%,34% 50%);
}

.nca-ribbon::after{
  right:-15px;
  clip-path:polygon(0 0,100% 0,66% 50%,100% 100%,14% 100%);
}

.nca-ribbon span{
  position:relative;
  z-index:2;
  height:31px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d3a03d;
  background:linear-gradient(180deg,#07315a 0%,#031f3c 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  color:#e1b45b;
  font-size:17px;
  font-weight:700;
  line-height:1;
  letter-spacing:.02em;
}

@media (max-width:1050px){
  .nca-section{padding-left:22px;padding-right:22px}
  .nca-grid{gap:13px}
  .nca-card{padding-left:8px;padding-right:8px}
  .nca-card h2{font-size:12.7px}
  .nca-ribbon{width:122px}
}

@media (max-width:860px){
  .nca-section{padding-top:34px;padding-bottom:36px}
  .nca-heading{margin-bottom:22px}
  .nca-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:min(610px,100%);
    margin:0 auto;
    gap:18px;
  }
  .nca-card{min-height:195px}
  .nca-card:last-child{grid-column:1 / -1;width:calc(50% - 9px);justify-self:center}
}

@media (max-width:520px){
  .nca-section{padding:30px 17px 32px}
  .nca-eyebrow{font-size:11.5px;letter-spacing:.115em}
  .nca-heading h1{font-size:26px;line-height:1.15}
  .nca-grid{grid-template-columns:1fr;gap:15px;width:min(330px,100%)}
  .nca-card{min-height:188px;padding-top:16px}
  .nca-card:last-child{grid-column:auto;width:100%}
  .nca-card h2{font-size:13.4px}
}

/* =========================================================
   NCA REGISTRATIONS — refinement: certification badge +
   intentionally narrower mobile cards. Existing site/header/
   footer rules above remain untouched.
   ========================================================= */


/* The new medal replaces the old laurel/NCA treatment. */
.nca-mark,
.nca-divider{display:none !important}

.nca-card{
  padding-top:13px;
}

.nca-card h2{
  margin-top:0;
}

@media (max-width:520px){
  .nca-section{
    padding-left:18px;
    padding-right:18px;
  }

  .nca-grid{
    width:min(282px,100%);
    gap:14px;
  }

  .nca-card,
  .nca-card:last-child{
    width:100%;
    min-height:196px;
    justify-self:center;
    padding:14px 15px 48px;
  }

  

  .nca-card h2{
    font-size:13.2px;
    line-height:1.3;
  }

  .nca-ribbon{
    width:124px;
  }
}

@media (max-width:390px){
  .nca-grid{width:min(264px,100%)}
  .nca-card,
  .nca-card:last-child{min-height:192px}
}

/* =========================================================
   NCA REGISTRATIONS — official NCA logo only
   Leaves/laurel artwork removed. Everything else remains intact.
   ========================================================= */


.nca-mark.nca-mark-official{
  width:108px;
  height:58px;
  margin:-1px auto 0;
  display:flex !important;
  align-items:center;
  justify-content:center;
}

.nca-mark-official .nca-official-logo{
  width:94px;
  height:54px;
  object-fit:contain;
  display:block;
  filter:none;
}

.nca-divider{
  display:flex !important;
  margin-top:0;
  margin-bottom:7px;
}

.nca-card{
  padding-top:14px;
}

@media (max-width:520px){
  .nca-mark.nca-mark-official{
    width:100px;
    height:54px;
  }
  .nca-mark-official .nca-official-logo{
    width:88px;
    height:50px;
  }
  .nca-divider{margin-bottom:6px}
}


/* =========================================================
   DIRECTOR MESSAGE + TRUSTED SECTORS
   Added above the existing footer. Header, NCA section and
   footer rules remain unchanged.
   ========================================================= */
.director-section{
  position:relative;
  padding:64px 24px 42px;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 16%,rgba(205,151,45,.07),transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#fbfbfa 100%);
  border-top:1px solid #edf0f2;
}

.director-shell,
.trusted-shell{
  width:min(1160px,100%);
  margin:0 auto;
}

.director-card{
  display:grid;
  grid-template-columns:minmax(330px,40%) minmax(0,1fr);
  min-height:320px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  gap:52px;
  align-items:center;
}


.director-content{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px 8px 18px 0;
}

.director-content::before{display:none}

.director-eyebrow{
  margin:0 0 15px;
  color:#c89127;
  font-size:14px;
  font-weight:700;
  line-height:1.15;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.director-quote{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:13px;
  align-items:start;
}

.director-quote-mark{
  margin-top:-9px;
  color:#d29b2d;
  font-family:Georgia,"Times New Roman",serif;
  font-size:76px;
  font-weight:700;
  line-height:.9;
}

.director-quote blockquote{
  margin:0;
  max-width:660px;
  color:#1d2a3b;
  font-size:18px;
  font-style:italic;
  font-weight:500;
  line-height:1.58;
}

.director-signature{
  margin:18px 0 0 59px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.director-rule{
  width:84px;
  height:2px;
  margin-bottom:14px;
  background:linear-gradient(90deg,#d5a13a 0%,rgba(213,161,58,.18) 100%);
}

.director-signature strong{
  color:#071f3c;
  font-size:20px;
  font-weight:700;
  line-height:1.2;
}

.director-signature > span:last-child{
  margin-top:4px;
  color:#c89127;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
}

.trusted-section{
  padding:28px 24px 34px;
  background:#fff;
  border-top:1px solid #eff1f3;
}

.trusted-heading-row{
  display:grid;
  grid-template-columns:auto minmax(50px,1fr);
  gap:20px;
  align-items:center;
  margin-bottom:22px;
}

.trusted-heading-row h2{
  margin:0;
  color:#19283b;
  font-size:14px;
  font-weight:700;
  line-height:1.15;
  letter-spacing:.035em;
  text-transform:uppercase;
  white-space:nowrap;
}

.trusted-heading-row > span{
  display:block;
  height:1px;
  background:linear-gradient(90deg,#d9dde2 0%,#e8eaed 72%,rgba(232,234,237,0) 100%);
}

.trusted-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;
  align-items:stretch;
}

.trusted-item{
  position:relative;
  min-width:0;
  min-height:82px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}

.trusted-item + .trusted-item::before{
  content:"";
  position:absolute;
  left:0;
  top:16px;
  bottom:16px;
  width:1px;
  background:#eef0f3;
}

.trusted-item img{
  display:block;
  width:auto;
  height:auto;
  max-width:58px;
  max-height:48px;
  flex:0 0 auto;
  object-fit:contain;
  filter:saturate(.98) contrast(1.03);
  transition:transform .2s ease,filter .2s ease;
}

.trusted-name{
  display:block;
  color:#1a2431;
  font-size:11.4px;
  font-weight:500;
  line-height:1.28;
  letter-spacing:.002em;
}

.trusted-item:hover img{
  transform:translateY(-2px);
  filter:saturate(1.03) contrast(1.05);
}

.trusted-kenha img{max-width:44px;max-height:44px}
.trusted-lbda img{max-width:44px;max-height:44px}
.trusted-water-ministry img{max-width:44px;max-height:48px}
.trusted-nwhsa img{max-width:40px;max-height:48px}
.trusted-kra img{max-width:42px;max-height:42px}
.trusted-private img{max-width:34px;max-height:40px}

@media (max-width:980px){
  .director-section{padding-top:48px}
  .director-card{grid-template-columns:minmax(300px,40%) minmax(0,1fr);gap:34px}
  .director-content{padding:14px 0}
  .director-quote blockquote{font-size:17px}
  .trusted-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:12px}
  .trusted-item:nth-child(4)::before{display:none}
  .trusted-item{min-height:78px;padding:10px 12px}
  .trusted-item img{max-height:44px}
  .trusted-name{font-size:11px}
}


@media (max-width:700px){
  .director-section{padding:38px 18px 28px}
  .director-card{grid-template-columns:1fr;border-radius:0;gap:22px}
  
  
  .director-content{padding:4px 2px 8px}
  .director-content::before{display:none}
  .director-eyebrow{font-size:12.5px;margin-bottom:13px}
  .director-quote{grid-template-columns:34px minmax(0,1fr);gap:9px}
  .director-quote-mark{font-size:58px;margin-top:-5px}
  .director-quote blockquote{font-size:15.8px;line-height:1.55}
  .director-signature{margin-left:43px;margin-top:16px}
  .director-signature strong{font-size:18px}
  .director-signature > span:last-child{font-size:14px}

  .trusted-section{padding:25px 18px 28px}
  .trusted-heading-row{grid-template-columns:1fr;gap:9px;margin-bottom:14px}
  .trusted-heading-row h2{white-space:normal;font-size:12.5px}
  .trusted-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    overflow:visible;
    padding-bottom:0;
  }
  .trusted-item{
    min-width:0;
    min-height:96px;
    padding:12px 10px;
    gap:9px;
    justify-content:flex-start;
  }
  .trusted-item + .trusted-item::before{display:none}
  .trusted-item:nth-child(even)::before{
    content:"";
    display:block;
    position:absolute;
    left:0;
    top:16px;
    bottom:16px;
    width:1px;
    background:#eef0f3;
  }
  .trusted-item:nth-child(n+3)::after{
    content:"";
    position:absolute;
    left:10px;
    right:10px;
    top:0;
    height:1px;
    background:#eef0f3;
  }
  .trusted-item img{max-width:42px;max-height:42px}
  .trusted-name{font-size:10.8px;line-height:1.25}
}

@media (max-width:420px){
  .director-section{padding-left:14px;padding-right:14px}
  .director-content{padding:2px 0 6px}
  .director-quote blockquote{font-size:15px}
  .director-signature{margin-left:41px}
  .trusted-section{padding-left:14px;padding-right:14px}
  .trusted-item{padding-left:8px;padding-right:8px;gap:7px}
  .trusted-item img{max-width:38px;max-height:38px}
  .trusted-name{font-size:10.2px}
}
/* J.M & Partners — About section
   Fully scoped to .jm-about to avoid affecting the rest of the website. */
.jm-about,
.jm-about * {
  box-sizing: border-box;
}

.jm-about {
  --jm-navy: #081f59;
  --jm-navy-deep: #061746;
  --jm-gold: #dba52a;
  --jm-text: #20283a;
  --jm-muted: #566070;
  --jm-white: #ffffff;
  --jm-shadow: 0 18px 45px rgba(5, 24, 69, 0.12);
  font-family: "Encode Sans Semi Condensed", "Arial Narrow", Arial, sans-serif;
  width: 100%;
  background: #fff;
  padding: clamp(56px, 6vw, 92px) 24px;
  overflow: hidden;
}

.jm-about__container {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(52px, 7vw, 94px);
}

/* LEFT VISUAL */
.jm-about__visual {
  position: relative;
  min-height: 420px;
  padding: 0 14px 32px 22px;
}

.jm-about__main-image {
  width: 100%;
  height: 390px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(6, 23, 70, 0.10);
}

.jm-about__since {
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 3;
  width: 126px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--jm-navy) 0%, var(--jm-navy-deep) 100%);
  color: #fff;
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(5, 24, 69, 0.22);
  text-align: center;
  letter-spacing: 0.02em;
}

.jm-about__since span {
  display: block;
  font-size: 19px;
  line-height: 1;
  font-weight: 600;
}

.jm-about__since strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.jm-about__since::after {
  content: "";
  width: 48px;
  height: 4px;
  margin-top: 14px;
  background: var(--jm-gold);
  box-shadow: 0 8px 0 var(--jm-gold);
}

.jm-about__inset {
  position: absolute;
  z-index: 4;
  width: min(226px, 42%);
  aspect-ratio: 1.55 / 1;
  right: 0;
  bottom: 0;
  border: 4px solid #fff;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: var(--jm-shadow);
  background: #fff;
}

.jm-about__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* RIGHT CONTENT */
.jm-about__content {
  max-width: 520px;
}

.jm-about__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: var(--jm-gold);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.jm-about__eyebrow::before {
  content: "//";
  font-weight: 900;
  letter-spacing: -0.06em;
}

.jm-about__title {
  margin: 0;
  color: var(--jm-navy);
  font-size: clamp(34px, 3.05vw, 48px);
  line-height: 0.99;
  letter-spacing: -0.036em;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 600px;
}

/* Keep the headline deliberately at exactly two rows on every viewport. */
.jm-about__title-line {
  display: block;
  white-space: nowrap;
}

.jm-about__rule {
  width: 72px;
  height: 4px;
  border: 0;
  margin: 18px 0 18px;
  background: var(--jm-gold);
}

.jm-about__text {
  margin: 0;
  color: var(--jm-text);
  font-size: 16px;
  line-height: 1.52;
  font-weight: 500;
}

.jm-about__values {
  margin: 13px 0 20px;
  color: var(--jm-navy);
  font-size: 19px;
  line-height: 1.3;
  font-style: italic;
  font-weight: 800;
}

.jm-about__cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 21px;
  border: 1px solid var(--jm-gold);
  border-radius: 4px;
  background: var(--jm-gold);
  color: var(--jm-navy-deep);
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  box-shadow: 0 7px 17px rgba(219, 165, 42, 0.20);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.jm-about__cta:hover,
.jm-about__cta:focus-visible {
  transform: translateY(-2px);
  background: #e5b538;
  box-shadow: 0 11px 22px rgba(219, 165, 42, 0.27);
}

.jm-about__cta-arrow {
  font-size: 18px;
  line-height: 0;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .jm-about {
    padding-inline: 28px;
  }
  .jm-about__container {
    gap: 48px;
  }
  .jm-about__visual {
    min-height: 380px;
  }
  .jm-about__main-image {
    height: 350px;
  }
  .jm-about__since {
    width: 112px;
    min-height: 100px;
  }
  .jm-about__since span { font-size: 17px; }
  .jm-about__since strong { font-size: 27px; }
}

@media (max-width: 780px) {
  .jm-about {
    padding: 54px 20px 62px;
  }
  .jm-about__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .jm-about__visual {
    width: min(620px, 100%);
    margin: 0 auto;
    min-height: auto;
    padding: 0 0 42px 16px;
  }
  .jm-about__main-image {
    height: clamp(300px, 65vw, 430px);
  }
  .jm-about__since {
    top: 28px;
    left: 0;
  }
  .jm-about__inset {
    width: min(230px, 44%);
    right: 0;
  }
  .jm-about__content {
    max-width: 620px;
    margin: 0 auto;
  }
  .jm-about__title {
    font-size: clamp(28px, 6.3vw, 42px);
  }
}

@media (max-width: 520px) {
  .jm-about {
    padding-inline: 16px;
  }
  .jm-about__visual {
    padding-left: 9px;
    padding-bottom: 36px;
  }
  .jm-about__main-image {
    height: 320px;
  }
  .jm-about__since {
    top: 20px;
    width: 96px;
    min-height: 88px;
    border-radius: 6px;
  }
  .jm-about__since span { font-size: 14px; }
  .jm-about__since strong { font-size: 24px; }
  .jm-about__since::after {
    width: 40px;
    height: 3px;
    margin-top: 10px;
    box-shadow: 0 6px 0 var(--jm-gold);
  }
  .jm-about__inset {
    width: 48%;
    border-width: 3px;
  }
  .jm-about__eyebrow {
    font-size: 13px;
  }
  .jm-about__title {
    font-size: clamp(24px, 7.2vw, 34px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }
  .jm-about__text {
    font-size: 15px;
    line-height: 1.6;
  }
  .jm-about__values {
    font-size: 18px;
  }
  .jm-about__cta {
    width: 100%;
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-about__cta {
    transition: none;
  }
}
/* Mission / Vision / Core Values — scoped and profile-grounded. */
.jm-mvv,.jm-mvv *{box-sizing:border-box}
.jm-mvv{
  --mvv-bg:#f2f3f5;
  --mvv-navy:#0a2348;
  --mvv-navy-2:#17315b;
  --mvv-gold:#d7a124;
  --mvv-text:#2e3b55;
  position:relative;
  width:100%;
  padding:52px 22px 58px;
  background:var(--mvv-bg);
  font-family:"Encode Sans Semi Condensed","Arial Narrow",Arial,sans-serif;
}
.jm-mvv::before{display:none}
.jm-mvv__inner{width:min(1080px,100%);margin:0 auto}
.jm-mvv__heading{max-width:720px;margin:0 auto 28px;text-align:center}
.jm-mvv__title{margin:0;color:var(--mvv-navy);font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.03;letter-spacing:-.03em;text-transform:uppercase}
.jm-mvv__title::after{content:"";display:block;width:56px;height:3px;margin:14px auto 0;background:linear-gradient(90deg,#e3b33c 0%,#bd7c08 100%)}
.jm-mvv__grid{display:grid;grid-template-columns:repeat(3,minmax(0,280px));justify-content:center;gap:20px;align-items:stretch}
.jm-mvv__card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:202px;padding:28px 24px 25px;overflow:hidden;border:1px solid rgba(7,31,60,.08);border-radius:0;background:#fff;box-shadow:0 12px 28px rgba(7,31,60,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.jm-mvv__card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#d7a124,#e6b847 50%,#b77a08)}
.jm-mvv__card:hover{transform:translateY(-4px);border-color:rgba(199,142,28,.24);box-shadow:0 16px 36px rgba(7,31,60,.10)}
.jm-mvv__index{position:absolute;right:16px;top:12px;color:rgba(7,31,60,.06);font-size:42px;font-weight:700;line-height:1;letter-spacing:-.05em}
.jm-mvv__card-title{position:relative;margin:0;color:var(--mvv-navy);font-size:23px;font-weight:700;line-height:1.06;letter-spacing:-.02em;text-transform:uppercase;text-align:center}
.jm-mvv__rule{display:block;width:40px;height:2px;margin:14px auto 14px;background:var(--mvv-gold)}
.jm-mvv__copy{position:relative;max-width:230px;margin:0;color:var(--mvv-text);font-size:14.4px;font-weight:500;line-height:1.55;text-align:center}
.jm-mvv__copy--values{max-width:238px;color:var(--mvv-navy-2);font-size:14.4px;font-weight:600;line-height:1.55;text-align:center}
@media (max-width:920px){.jm-mvv{padding:46px 18px 50px}.jm-mvv__heading{margin-bottom:24px}.jm-mvv__title{font-size:clamp(27px,5vw,36px)}.jm-mvv__grid{grid-template-columns:repeat(2,minmax(0,280px));gap:18px}.jm-mvv__card--values{grid-column:1/-1;width:280px;justify-self:center}}
@media (max-width:620px){.jm-mvv{padding:38px 12px 42px}.jm-mvv__heading{margin-bottom:22px}.jm-mvv__title{font-size:clamp(25px,8vw,31px);line-height:1.06}.jm-mvv__grid{grid-template-columns:1fr;justify-items:center;gap:14px}.jm-mvv__card,.jm-mvv__card--values{width:min(100%,294px);min-height:184px;grid-column:auto;padding:24px 18px 22px}.jm-mvv__index{right:14px;top:11px;font-size:35px}.jm-mvv__card-title{font-size:20px}.jm-mvv__rule{margin:12px auto 12px}.jm-mvv__copy,.jm-mvv__copy--values{max-width:238px;font-size:13.7px;line-height:1.5}}
@media (prefers-reduced-motion:reduce){.jm-mvv__card{transition:none}}
/* Integrated Construction & Engineering Solutions
   Standalone section styles — intentionally scoped to .what-we-do */

.what-we-do,
.what-we-do * {
  box-sizing: border-box;
}

.what-we-do {
  --wwd-navy: #224476;
  --wwd-blue: #1f5faf;
  --wwd-ink: #0d1b2a;
  --wwd-text: #4b5563;
  --wwd-muted: #6b7280;
  --wwd-line: #e7ebf0;
  --wwd-soft: #f6f8fb;
  --wwd-white: #ffffff;

  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 24px clamp(52px, 6vw, 84px);
  background: var(--wwd-white);
  color: var(--wwd-ink);
  font-family: "Encode Sans Semi Condensed", "Arial Narrow", Arial, sans-serif;
}

.what-we-do::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--wwd-line) 12%, var(--wwd-line) 88%, transparent);
}

.what-we-do__container {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.what-we-do__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: end;
  margin-bottom: clamp(34px, 4.4vw, 54px);
}

.what-we-do__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--wwd-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.what-we-do__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--wwd-blue);
}

.what-we-do__title {
  max-width: 620px;
  margin: 0;
  color: var(--wwd-ink);
  font-size: clamp(34px, 4.1vw, 57px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}


.what-we-do__title > span {
  display: block;
  white-space: nowrap;
}

.what-we-do__description {
  max-width: 505px;
  margin: 0 0 3px auto;
  color: var(--wwd-text);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.7;
}

.what-we-do__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Desktop: four core service cards on row one, consultancy centered on row two. */
.what-we-do__card:last-child {
  grid-column: 1 / -1;
  width: calc((100% - 48px) / 4);
  justify-self: center;
}

.what-we-do__card {
  position: relative;
  min-width: 0;
  background: var(--wwd-white);
  border: 1px solid var(--wwd-line);
  box-shadow: 0 10px 28px rgba(15, 35, 58, 0.055);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.what-we-do__card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 68, 118, 0.22);
  box-shadow: 0 18px 42px rgba(15, 35, 58, 0.11);
}

.what-we-do__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.28 / 1;
  background: #dbe3eb;
}

.what-we-do__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 23, 45, 0.12));
}

.what-we-do__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform 650ms cubic-bezier(.2,.7,.2,1);
}

.what-we-do__card:hover .what-we-do__image {
  transform: scale(1.045);
}

.what-we-do__number {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: var(--wwd-navy);
  color: var(--wwd-white);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.what-we-do__body {
  min-height: 112px;
  padding: 17px 18px 16px 20px;
  border-top: 0;
}

.what-we-do__name {
  margin: 0 0 8px;
  color: var(--wwd-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.what-we-do__text {
  margin: 0;
  color: var(--wwd-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.58;
}

.what-we-do__card--consultancy .what-we-do__name {
  font-size: 14px;
  line-height: 1.28;
}


@media (max-width: 1020px) {
  .what-we-do__intro {
    grid-template-columns: 1fr 0.8fr;
    gap: 36px;
  }

  .what-we-do__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .what-we-do__card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

  .what-we-do__media {
    aspect-ratio: 1.55 / 1;
  }
}

@media (max-width: 720px) {
  .what-we-do {
    padding-inline: 18px;
  }

  .what-we-do__intro {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  
.what-we-do__title > span {
  display: block;
  white-space: nowrap;
}

.what-we-do__description {
    margin-left: 0;
  }

  .what-we-do__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .what-we-do__card:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .what-we-do__card {
    display: grid;
    grid-template-columns: minmax(145px, 42%) 1fr;
    min-height: 184px;
  }

  .what-we-do__media {
    height: 100%;
    min-height: 184px;
    aspect-ratio: auto;
  }

  .what-we-do__body {
    min-height: 0;
    padding: 24px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .what-we-do__number {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  
}

@media (max-width: 480px) {
  .what-we-do {
    padding-top: 58px;
  }

  .what-we-do__title {
    font-size: clamp(31px, 10.2vw, 42px);
    line-height: 1.02;
  }


  .what-we-do__title > span {
    display: block;
    white-space: nowrap;
  }

  .what-we-do__card {
    grid-template-columns: 1fr;
  }

  .what-we-do__media {
    min-height: 0;
    aspect-ratio: 1.5 / 1;
  }

  .what-we-do__body {
    padding: 19px 18px 21px;
  }

  

  
}

@media (prefers-reduced-motion: reduce) {
  .what-we-do__card,
  .what-we-do__image {
    transition: none;
  }
}
/* J.M & Partners — WHY CLIENTS TRUST US
   Reference-matched, fully scoped. */
.jm-trust{
  --navy:#062745;
  --navy-deep:#041f38;
  --gold:#dca62a;
  --gold-line:rgba(220,166,42,.55);
  --white:#fff;
  --copy:rgba(255,255,255,.86);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:100%;
  color:var(--white);
  background:
    linear-gradient(90deg,rgba(3,27,49,.98) 0%,rgba(4,33,59,.97) 45%,rgba(7,39,69,.93) 100%),
    url("assets/trust-bg.webp") 78% 44%/cover no-repeat;
  font-family:"Encode Sans Semi Condensed","Arial Narrow",Arial,sans-serif;
}
.jm-trust::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0 44%,rgba(255,255,255,.018) 70%,rgba(255,255,255,.028) 100%);
}
.jm-trust__inner{
  position:relative;
  z-index:1;
  width:min(1085px,calc(100% - 54px));
  margin:0 auto;
  padding:16px 0 18px;
}
.jm-trust__eyebrow{
  display:block;
  width:100%;
  margin:0 0 13px;
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:800;
  letter-spacing:.01em;
  text-align:center;
  text-transform:uppercase;
}
.jm-trust__eyebrow::after{
  content:"";
  display:block;
  width:38px;
  height:3px;
  margin:8px auto 0;
  border-radius:999px;
  background:var(--gold);
}
.jm-trust__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
}
.jm-trust__item{
  position:relative;
  display:flex;
  min-width:0;
  min-height:145px;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:0 28px;
  text-align:center;
}
.jm-trust__item:first-child{padding-left:0;padding-right:28px;}
.jm-trust__item:last-child{padding-left:28px;padding-right:0;}
.jm-trust__item + .jm-trust__item::before{
  content:"";
  position:absolute;
  left:0;
  top:1px;
  bottom:2px;
  width:1px;
  background:linear-gradient(to bottom,transparent 0%,var(--gold-line) 8%,var(--gold-line) 92%,transparent 100%);
}
.jm-trust__icon-wrap{
  display:grid;
  place-items:center;
  width:100%;
  height:54px;
  margin:0 0 5px;
}
.jm-trust__icon{
  display:block;
  width:52px;
  height:52px;
  object-fit:contain;
  background:transparent;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.12));
}
.jm-trust__title{
  margin:0 0 5px;
  color:#fff;
  font-size:15px;
  line-height:1.08;
  font-weight:800;
  letter-spacing:0;
  text-transform:uppercase;
}
.jm-trust__copy{
  max-width:188px;
  margin:0 auto;
  color:var(--copy);
  font-size:13px;
  line-height:1.28;
  font-weight:500;
}

@media (max-width:900px){
  .jm-trust__inner{width:min(720px,calc(100% - 34px));padding:18px 0 20px;}
  .jm-trust__eyebrow{margin:0 0 14px;}
  .jm-trust__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .jm-trust__item,
  .jm-trust__item:first-child,
  .jm-trust__item:last-child{min-height:150px;padding:14px 24px;}
  .jm-trust__item:nth-child(3)::before{display:none;}
  .jm-trust__item:nth-child(3)::after,
  .jm-trust__item:nth-child(4)::after{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    top:0;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--gold-line),transparent);
  }
}

/* Mobile deliberately remains 2 columns, as requested. */
@media (max-width:560px){
  .jm-trust__inner{width:calc(100% - 20px);padding:17px 0 18px;}
  .jm-trust__eyebrow{
    margin:0 0 14px;
    font-size:11.5px;
    text-align:center;
  }
  .jm-trust__eyebrow::after{width:30px;height:2px;margin-top:7px;}
  .jm-trust__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .jm-trust__item,
  .jm-trust__item:first-child,
  .jm-trust__item:last-child{
    min-height:157px;
    padding:13px 9px 14px;
  }
  .jm-trust__item:nth-child(even)::before{
    display:block;
    content:"";
    position:absolute;
    left:0;
    top:12px;
    bottom:12px;
    width:1px;
    background:linear-gradient(to bottom,transparent,var(--gold-line) 10%,var(--gold-line) 90%,transparent);
  }
  .jm-trust__item:nth-child(3)::before{display:none;}
  .jm-trust__item:nth-child(3)::after,
  .jm-trust__item:nth-child(4)::after{
    display:block;
    content:"";
    position:absolute;
    top:0;
    left:8px;
    right:8px;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--gold-line),transparent);
  }
  .jm-trust__icon-wrap{height:46px;margin-bottom:5px;}
  .jm-trust__icon{width:44px;height:44px;}
  .jm-trust__title{font-size:12px;line-height:1.08;margin-bottom:5px;}
  .jm-trust__copy{max-width:145px;font-size:11px;line-height:1.28;}
}

@media (prefers-reduced-motion:reduce){.jm-trust__icon{transition:none;}}

/* Production refinements: accessibility, browser compatibility and motion. */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden}
img{max-width:100%}
:where(a,button):focus-visible{outline:3px solid rgba(215,161,36,.48);outline-offset:3px}
.brand-panel{-webkit-clip-path:polygon(0 0,82.45% 0,100% 100%,0 100%)}
@media (max-width:640px){.brand-panel{-webkit-clip-path:polygon(0 0,83% 0,100% 100%,0 100%)}}


.reveal-item{opacity:1;transform:none}
.reveal-item.reveal-pending{opacity:0;transform:translate3d(0,18px,0);transition:opacity .62s ease,transform .62s cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms)}
.reveal-item.reveal-pending.is-revealed{opacity:1;transform:translate3d(0,0,0)}
.nca-heading h2{margin:0;color:#061f3c;font-size:clamp(25px,2.5vw,34px);font-weight:700;line-height:1.12;letter-spacing:-.02em}
.nca-heading h2>span{display:block;white-space:nowrap}
.nca-card h3{margin:0;color:#071f3c;font-size:14px;font-weight:700;line-height:1.28;letter-spacing:.005em;text-align:center}
#about,#mission-vision,#what-we-do,#capabilities,#why-clients-trust-us,#director,#trusted-sectors,#contact{scroll-margin-top:18px}
@media (max-width:700px){.nca-heading h2{font-size:clamp(24px,7.2vw,31px);line-height:1.08}.nca-heading h2>span{white-space:nowrap}}
@media (max-width:560px){.trusted-heading-row{text-align:center}.trusted-heading-row h2{text-align:center}.trusted-heading-row>span{width:70px;margin:0 auto}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.reveal-item.reveal-pending{opacity:1;transform:none}}
@media (max-width:480px){
  .what-we-do__title{font-size:clamp(26px,8.4vw,38px);letter-spacing:-.045em}
}
@media (max-width:350px){
  .what-we-do{padding-inline:14px}
  .what-we-do__title{font-size:26px}
  .hero-title{font-size:27px}
}


@media (max-width:980px){.footer-logo{width:208px}}
@media (max-width:640px){.footer-logo{width:184px}}


/* Mobile contact readability — requested production adjustment */
@media (max-width:640px){
  .top-info{font-size:11.6px;font-weight:600;letter-spacing:.005em;}
  .top-info .info-item{gap:6px;}
  .top-info .info-item svg{width:14px;height:14px;flex-basis:14px;}
  .mobile-contact{gap:9px 14px;}
  .mobile-contact a{font-size:13px;font-weight:600;line-height:1.35;}
}


/* =========================================================
   RECENT PROJECTS — rotating galleries + touch lightbox
   ========================================================= */
.recent-projects,.recent-projects *{box-sizing:border-box}
.recent-projects{
  --rp-navy:#06213f;
  --rp-gold:#d7930b;
  position:relative;
  width:100%;
  padding:58px 24px 64px;
  background:#fff;
  font-family:"Encode Sans Semi Condensed","Arial Narrow",Arial,sans-serif;
}
.recent-projects__inner{width:min(1220px,100%);margin:0 auto}
.recent-projects__heading{max-width:700px;margin:0 auto 30px;text-align:center}
.recent-projects__eyebrow{margin:0 0 8px;color:var(--rp-gold);font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.recent-projects__heading h2{margin:0;color:var(--rp-navy);font-size:clamp(32px,3.2vw,44px);font-weight:700;line-height:1.04;letter-spacing:-.03em;text-transform:uppercase}
.recent-projects__heading h2::after{content:"";display:block;width:54px;height:3px;margin:14px auto 0;background:linear-gradient(90deg,#e0ae37,#ba7908)}
.recent-projects__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.project-card{min-width:0;background:#fff;overflow:hidden}
.project-card__viewer{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;text-align:inherit}
.project-card__media{position:relative;display:grid;grid-template-columns:minmax(0,1.92fr) minmax(92px,.98fr);height:252px;margin:0;overflow:hidden;background:#dce3e9}
.project-card__media>.project-card__image--main{min-width:0;width:100%;height:100%;object-fit:cover;border-right:4px solid #fff}
.project-card__side{min-width:0;display:grid;grid-template-rows:1fr 1fr;gap:4px;background:#fff}
.project-card__side .project-card__image{width:100%;height:100%;min-height:0;object-fit:cover}
.project-card__image{display:block;opacity:1;transition:opacity .58s ease,transform .55s ease;will-change:opacity}
.project-card__image.is-switching{opacity:.10}
.project-card__viewer:hover .project-card__image--main{transform:scale(1.012)}


.project-card__body{
  min-height:158px;
  padding:18px 21px 20px;
  border:1px solid #dfe5ea;
  border-top:0;
  background:#fff;
}
.project-card__meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 9px;
  color:#b77506;
  font-size:12.5px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.project-card__meta i{
  width:4px;
  height:4px;
  border-radius:50%;
  background:#c9d0d7;
}
.project-card__title{
  margin:0 0 10px;
  color:var(--rp-navy);
  font-size:22px;
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.025em;
}
.project-card__description{
  margin:0;
  color:#45566b;
  font-size:15px;
  font-weight:400;
  line-height:1.55;
}


.project-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;font-family:"Encode Sans Semi Condensed","Arial Narrow",Arial,sans-serif}
.project-lightbox.is-open{display:flex}
.project-lightbox__backdrop{position:absolute;inset:0;background:rgba(2,11,22,.94);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.project-lightbox__dialog{position:relative;z-index:1;width:min(1180px,100%);height:min(88vh,820px);display:flex;flex-direction:column;background:#081b31;border:1px solid rgba(255,255,255,.12);box-shadow:0 28px 80px rgba(0,0,0,.38)}
.project-lightbox__topbar{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px 12px 18px;border-bottom:1px solid rgba(255,255,255,.10)}
.project-lightbox__title{min-width:0;color:#fff;font-size:15px;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-lightbox__close{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.project-lightbox__content{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:center;gap:8px;padding:10px}
.project-lightbox__stage{position:relative;width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}
.project-lightbox__image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center center;will-change:transform;cursor:grab}
.project-lightbox__image:active{cursor:grabbing}
.project-lightbox__nav{width:46px;height:58px;justify-self:center;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.project-lightbox__nav:hover,.project-lightbox__close:hover{background:rgba(214,155,29,.18);border-color:rgba(214,155,29,.62)}
.project-lightbox__footer{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 18px;border-top:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.72);font-size:12.5px;line-height:1.3}

@media (min-width:981px) {
  .project-card__body{padding:17px 18px 19px}
  .project-card__title{font-size:20px}
  .project-card__description{font-size:14.2px}
}

body.project-lightbox-open{overflow:hidden}
@media (max-width:980px){
  .recent-projects{padding:52px 20px 56px}
  .recent-projects__grid{grid-template-columns:1fr 1fr}
  .project-card:last-child{grid-column:auto;width:auto;justify-self:stretch}
  .project-card__media{height:238px}
}
@media (max-width:640px){
  .recent-projects{padding:44px 12px 48px}
  .recent-projects__heading{margin-bottom:24px}
  .recent-projects__eyebrow{font-size:11.5px}
  .recent-projects__heading h2{font-size:30px}
  .recent-projects__grid{grid-template-columns:1fr;gap:14px}
  .project-card,.project-card:last-child{grid-column:auto;width:min(100%,440px);justify-self:center}
  .project-card__media{grid-template-columns:minmax(0,1.82fr) minmax(82px,.92fr);height:220px}
  
  .project-lightbox{padding:0}
  .project-lightbox__dialog{width:100%;height:100vh;border:0}
  .project-lightbox__topbar{padding-left:14px}
  .project-lightbox__content{grid-template-columns:40px minmax(0,1fr) 40px;gap:2px;padding:6px}
  .project-lightbox__nav{width:38px;height:52px;font-size:25px}
  .project-lightbox__footer{justify-content:center;flex-wrap:wrap;text-align:center;font-size:11.8px;padding:8px 12px}
}
@media (max-width:390px){.project-card__media{height:196px;grid-template-columns:minmax(0,1.76fr) minmax(76px,.90fr)}}
@media (prefers-reduced-motion:reduce){.project-card__image{transition:none}}


/* =========================================================
   FOOTER — final aligned production layout
   ========================================================= */
.footer-main{
  width:min(1360px,100%);
  min-height:0;
  margin:0 auto;
  padding:30px 34px 27px;
  display:grid;
  grid-template-columns:minmax(190px,220px) minmax(410px,500px) minmax(320px,390px);
  justify-content:space-between;
  align-items:start;
  column-gap:24px;
}

.footer-about{
  display:flex;
  align-items:flex-start;
  padding-right:22px;
}

.footer-navigation{
  display:grid;
  grid-template-columns:minmax(120px,.70fr) minmax(240px,1.30fr);
  gap:0;
  padding:0 22px;
  border-left:1px solid var(--footer-rule);
  border-right:1px solid var(--footer-rule);
}

.footer-links{padding-right:18px}
.footer-services{
  margin-left:0;
  padding-left:22px;
  border-left:1px solid var(--footer-rule);
}
.footer-services nav{max-width:310px}

.footer-contact{
  width:100%;
  max-width:390px;
  justify-self:end;
  padding-left:24px;
}

.footer-address-text{display:inline-block}

.footer-bottom{
  min-height:58px;
  flex-direction:column;
  gap:3px;
  padding:9px 20px 10px;
}
.footer-copyright,.footer-powered{margin:0;text-align:center}
.footer-powered{color:#aeb9c7;font-size:11.5px;line-height:1.3}
.footer-powered a{color:var(--footer-gold);text-decoration:none;font-weight:600}
.footer-powered a:hover,.footer-powered a:focus-visible{text-decoration:underline}

@media (max-width:1120px) and (min-width:901px){
  .footer-main{
    grid-template-columns:minmax(170px,195px) minmax(395px,460px) minmax(285px,340px);
    padding-left:26px;
    padding-right:26px;
    column-gap:18px;
  }
  .footer-navigation{padding:0 18px}
  .footer-links{padding-right:16px}
  .footer-services{padding-left:18px}
  .footer-contact{padding-left:20px}
}

@media (max-width:900px){
  .footer-main{
    grid-template-columns:minmax(170px,.50fr) minmax(0,1.50fr);
    padding:29px 24px 25px;
    column-gap:0;
  }
  .footer-about{padding-right:22px}
  .footer-navigation{
    grid-template-columns:minmax(105px,.66fr) minmax(210px,1.34fr);
    padding:0 0 0 26px;
    border-left:1px solid var(--footer-rule);
    border-right:0;
  }
  .footer-links{padding-right:18px}
  .footer-services{padding-left:20px}
  .footer-contact{
    grid-column:1/-1;
    max-width:none;
    justify-self:stretch;
    margin-top:24px;
    padding:22px 0 0;
    border-top:1px solid var(--footer-rule);
  }
  .footer-contact-list{
    display:grid;
    grid-template-columns:1.45fr .72fr 1fr;
    gap:16px 24px;
  }
  .footer-contact-item + .footer-contact-item{margin-top:0}
}

@media (max-width:680px){
  .footer-main{display:block;padding:26px 18px 22px}
  .footer-about{padding:0}
  .footer-navigation{
    grid-template-columns:minmax(92px,.66fr) minmax(0,1.34fr);
    gap:0;
    margin-top:21px;
    padding:21px 0 0;
    border:0;
    border-top:1px solid var(--footer-rule);
  }
  .footer-links{padding-right:14px}
  .footer-services{padding-left:17px;border-left:1px solid var(--footer-rule)}
  .footer-contact{margin-top:21px;padding-top:21px}
  .footer-contact-list{display:flex;flex-direction:column;gap:0}
  .footer-contact-item + .footer-contact-item{margin-top:9px}
  .footer-address-text{white-space:nowrap;font-size:13px;line-height:18px}
  .footer-logo{width:170px}
  .footer-bottom{min-height:54px;padding:9px 12px 10px}
  .footer-bottom p{font-size:12px}
  .footer-powered{font-size:10.8px!important}
  .footer-rights{display:none}
}

@media (max-width:390px){
  .footer-main{padding-left:15px;padding-right:15px}
  .footer-navigation{grid-template-columns:minmax(84px,.64fr) minmax(0,1.36fr)}
  .footer-links a,.footer-services a,.footer-contact-item{font-size:12.7px}
  .footer-services{padding-left:13px}
  .footer-address-text{font-size:12.3px}
}

/* =========================================================
   DIRECTOR — centered, image removed
   ========================================================= */
.director-section{padding:54px 24px 48px}
.director-shell{width:min(920px,100%)}
.director-card{display:block;min-height:0;max-width:860px;margin:0 auto;text-align:center}

.director-content{align-items:center;padding:0;text-align:center}
.director-eyebrow{margin-bottom:12px;text-align:center}
.director-quote{display:block;max-width:800px;margin:0 auto}
.director-quote-mark{display:block;margin:0 auto 0;font-size:58px;line-height:.72;text-align:center}
.director-quote blockquote{max-width:760px;margin:0 auto;color:#1d2a3b;font-size:18px;line-height:1.62;text-align:center}
.director-signature{margin:20px auto 0;align-items:center;text-align:center}
.director-rule{margin:0 auto 12px;background:linear-gradient(90deg,rgba(213,161,58,.15),#d5a13a,rgba(213,161,58,.15))}
@media (max-width:640px){
  .director-section{padding:42px 16px 38px}
  .director-eyebrow{font-size:12.5px}
  .director-quote-mark{font-size:52px}
  .director-quote blockquote{font-size:15.8px;line-height:1.6}
  .director-signature{margin-top:18px}
  .director-signature strong{font-size:18px}
}


@media (max-width:390px){
  .footer-navigation{grid-template-columns:minmax(86px,.68fr) minmax(150px,1.32fr);gap:16px}
  .footer-links a,.footer-services a{font-size:12.8px}
}

@media (max-width:900px){
  .project-card__body{min-height:150px;padding:17px 18px 19px}
  .project-card__title{font-size:20px}
  .project-card__description{font-size:14.5px}
}
@media (max-width:640px){
  .project-card__body{min-height:0;padding:16px 17px 18px}
  .project-card__meta{font-size:11.5px;margin-bottom:8px}
  .project-card__title{font-size:19px;margin-bottom:8px}
  .project-card__description{font-size:14px;line-height:1.5}
}

@media (max-width:410px){
  .hero-actions{
    flex-direction:row;
    flex-wrap:nowrap;
    gap:8px;
  }
  .hero-btn{
    width:auto;
    min-width:0;
    flex:1 1 0;
    padding:11px 8px;
    font-size:10.6px;
    letter-spacing:.025em;
  }
}


/* =========================================================
   QUICK CONTACT FLOAT — icon-only actions
   ========================================================= */
.jm-contact-float{
  position:fixed;
  z-index:1400;
  right:16px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  pointer-events:none;
}
.jm-contact-float__item{
  pointer-events:auto;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:#032342;
  color:#fff;
  box-shadow:0 9px 24px rgba(3,35,66,.22);
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.jm-contact-float__item:hover,.jm-contact-float__item:focus-visible{
  transform:translateY(-2px);
  background:#052c52;
  box-shadow:0 12px 28px rgba(3,35,66,.28);
}
.jm-contact-float__icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#d7930b;
  color:#fff;
}
.jm-contact-float__icon svg{width:16px;height:16px;fill:currentColor}
@media (max-width:640px){
  .jm-contact-float{right:10px;bottom:12px;gap:7px}
  .jm-contact-float__item{width:42px;height:42px}
  .jm-contact-float__icon{width:29px;height:29px}
  .jm-contact-float__icon svg{width:15px;height:15px}
}
@media (prefers-reduced-motion:reduce){.jm-contact-float__item{transition:none}}
