.signature-projects-index{margin:0;background:#f4f7fb;color:#10213f;font-family:'DM Sans',sans-serif}.signature-projects-index h1,.signature-projects-index h2,.signature-projects-index h3,.signature-projects-index strong{font-family:Manrope,sans-serif}.spi-shell{width:min(1380px,calc(100% - 64px));margin:auto}.spi-hero{position:relative;overflow:hidden;padding:35px 0 29px;background:linear-gradient(100deg,#f5f8fc,#e6eef7);min-height:180px}.spi-hero-image{position:absolute;inset:0 0 0 auto;width:49%;background:linear-gradient(90deg,#f1f6fc 0%,#f1f6fc80 30%,transparent 75%),linear-gradient(0deg,#f3f7fc,transparent 60%),url('images/projects/rishikesh-karnprayag.jpeg') center/cover;opacity:.55;mask-image:linear-gradient(90deg,transparent,black 25%)}.spi-hero-content{position:relative}.spi-eyebrow{display:flex;align-items:center;gap:9px;color:#536b8d;font-size:10px;letter-spacing:.13em;font-weight:700}.spi-eyebrow i{width:24px;height:2px;background:#e4ad41;display:inline-block}.spi-hero h1{font-size:clamp(34px,3.5vw,48px);letter-spacing:-.045em;line-height:1.1;margin:13px 0 9px;color:#0d1d39}.spi-hero h1 em,.spi-section-head h2 em{font-style:normal;color:#3675df}.spi-hero-content>p{max-width:800px;font-size:13px;line-height:1.7;color:#4f6380;margin:0}.spi-hero-meta{display:flex;gap:12px;align-items:center;margin-top:15px;color:#6d7e96;font-size:10px}.spi-hero-meta i,.spi-location i{height:13px;width:1px;background:#d9a74b}.spi-projects-section{padding:26px 0 45px}.spi-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin:0 0 19px;padding:0 4px}.spi-eyebrow.dark{color:#536b8d}.spi-section-head h2{font-size:clamp(24px,2.5vw,33px);line-height:1.15;letter-spacing:-.035em;margin:10px 0 7px;color:#10213f}.spi-section-head p{font-size:12px;line-height:1.6;color:#60738f;margin:0}.spi-sector-filter{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap;max-width:600px}.spi-sector-filter>span{font-size:10px;color:#637590;margin-right:5px}.spi-sector-filter button,.spi-panel-filters button{background:transparent;border:1px solid #d5deeb;border-radius:5px;padding:8px 10px;font:500 10px 'DM Sans',sans-serif;color:#506481;cursor:pointer;white-space:nowrap}.spi-sector-filter button.active,.spi-panel-filters button.active{background:#0c1e3a;color:white;border-color:#0c1e3a}.spi-project-card{background:#fff;border:1px solid #e5ebf3;border-radius:5px;box-shadow:0 5px 18px #0e2b5010;overflow:hidden}.spi-project-card[hidden]{display:none}.spi-card-main{display:grid;grid-template-columns:minmax(260px,.92fr) minmax(300px,1.12fr) minmax(170px,.52fr);gap:26px;padding:15px 16px 12px;align-items:stretch}.spi-card-image{position:relative;min-height:240px;overflow:hidden;background:#dbe4ef;border-radius:3px}.spi-card-image img{display:block;width:100%;height:100%;min-height:240px;max-height:280px;object-fit:cover}.spi-card-image>span{position:absolute;bottom:0;left:0;background:#0b1c36e8;color:white;padding:10px 13px;font-size:9px;letter-spacing:.08em;font-weight:700}.spi-card-copy{padding:9px 0 7px;min-width:0}.spi-card-kicker{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.09em;color:#5d7190;font-weight:700;margin-bottom:10px}.spi-card-kicker i{width:21px;height:2px;background:#e4ad41}.spi-card-copy h3{font-size:clamp(20px,1.75vw,27px);line-height:1.18;letter-spacing:-.035em;color:#0c1e3a;margin:0 0 7px}.spi-card-copy h4{font-size:13px;line-height:1.45;color:#172b4b;margin:0 0 11px;font-weight:700}.spi-card-copy>p{font-size:12px;line-height:1.65;color:#5a6f8c;margin:0 0 13px}.spi-location{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#1b2e4b;font-size:10px;font-weight:600}.spi-card-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:15px}.spi-button{display:inline-flex;justify-content:center;align-items:center;gap:13px;text-decoration:none;font-size:10px;font-weight:700;padding:11px 14px;border-radius:3px}.spi-button.gold{background:#f6bb43;color:#101f38;border:1px solid #f6bb43}.spi-button.outline{border:1px solid #8aabed;color:#10213f;background:white}.spi-related-link{font-size:10px;font-weight:700;color:#2364c5;text-decoration:none}.spi-card-stats{border-left:1px solid #dfe6f0;padding:2px 0 0 18px;display:flex;flex-direction:column;justify-content:space-around;gap:13px}.spi-card-stats>div{display:grid;grid-template-columns:35px 1fr;gap:8px;align-items:center}.spi-card-stats>div>span{font-size:27px;color:#3f6597;text-align:center}.spi-card-stats strong{display:block;font-size:18px;line-height:1.25;color:#0c1e3a}.spi-card-stats small{display:block;font-size:9px;line-height:1.5;color:#637895;margin-top:3px}.spi-card-services{display:flex;align-items:center;gap:0;border-top:1px solid #e3e9f1;padding:10px 16px}.spi-card-services>div{display:flex;align-items:center;gap:8px;padding:0 11px;border-right:1px solid #dce4ef;min-height:30px;font-size:9px;line-height:1.35;color:#1c3152;flex:1}.spi-card-services>div:first-child{padding-left:0}.spi-card-services>div b{font-size:19px;color:#3978df}.spi-card-services .spi-button{flex:0 0 auto;margin-left:8px}.spi-disclaimer{margin:0;padding:0 16px 12px;font-size:9px;line-height:1.5;color:#7b8ba0}.spi-empty{background:#fff;border:1px solid #e5ebf3;padding:30px;display:grid;gap:8px;color:#4d617e}.spi-empty[hidden]{display:none}.spi-empty strong{font:700 17px Manrope,sans-serif;color:#122342}.spi-empty span{font-size:12px}.spi-empty button{justify-self:start;margin-top:8px;border:0;background:#0c1e3a;color:white;padding:10px 13px;cursor:pointer}.spi-footer{display:flex;align-items:center;gap:14px;padding:22px max(32px,calc((100% - 1380px)/2));border-top:1px solid #e1e7f0;background:white;color:#77869b;font-size:10px}.spi-footer>a:first-child{font:800 19px Manrope,sans-serif;color:#10213f;text-decoration:none;border-right:1px solid #d7dfeb;padding-right:13px}.spi-footer>a:last-child{margin-left:auto;text-decoration:none;color:#536781}.spi-panel{position:fixed;z-index:1000;right:18px;top:50%;transform:translateY(-50%);width:286px;max-height:82vh;background:white;border:1px solid #d9e2ef;border-radius:8px;box-shadow:0 18px 55px #0b1d3b30;display:flex;flex-direction:column;overflow:hidden}.spi-panel-head{display:flex;align-items:center;justify-content:space-between;padding:15px;background:#071a35;color:white}.spi-panel-head>div{display:grid;gap:5px}.spi-panel-head small{font-size:8px;letter-spacing:.1em;color:#dcb05d;font-weight:700}.spi-panel-head strong{font:700 14px Manrope,sans-serif}.spi-close{display:none;background:none;border:0;color:white;font-size:24px}.spi-search{display:flex;align-items:center;gap:9px;margin:12px;border:1px solid #dce4ef;border-radius:5px;padding:9px 10px;color:#5e7494}.spi-search input{border:0;outline:0;min-width:0;width:100%;font:10px 'DM Sans',sans-serif;color:#1c3152}.spi-panel-filters{display:flex;flex-wrap:wrap;gap:4px;padding:0 12px 9px}.spi-panel-filters button{padding:6px 8px;font-size:9px}.spi-panel-list{overflow:auto;min-height:0;padding:0 12px}.spi-panel-list section{border-bottom:1px solid #e2e8f0}.spi-group-title{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:0;background:white;padding:12px 2px;color:#536b8d;font:700 9px 'DM Sans',sans-serif;cursor:pointer}.spi-group-title small{color:#8a9ab0;font-weight:500}.spi-group-title b{font-size:14px;color:#152b4b}.spi-group-links{padding:0 0 6px}.spi-group-links[hidden]{display:none}.spi-group-links>a{display:flex;align-items:center;justify-content:space-between;gap:7px;text-decoration:none;color:#526680;font-size:10px;line-height:1.4;padding:10px 9px;border-left:3px solid transparent}.spi-group-links>a.current{background:#fff0cf;border-left-color:#efb33e;color:#122544;font-weight:700}.spi-group-links>p{font-size:10px;color:#8a97a9;line-height:1.5;padding:0 8px}.spi-explore{display:flex;justify-content:space-between;background:#071a35;color:#f4bc45;text-decoration:none;margin:10px 12px 12px;padding:13px 14px;border-radius:4px;font-size:10px;font-weight:700}.spi-toggle{display:none}
@media(max-width:1400px){.spi-shell{width:calc(100% - 330px - 42px);margin-left:26px;margin-right:316px}.spi-card-main{grid-template-columns:minmax(210px,.8fr) minmax(250px,1.1fr) minmax(145px,.5fr);gap:18px}.spi-card-services>div{padding:0 7px}.spi-panel{right:12px;width:280px}.spi-sector-filter{max-width:520px}}
@media(max-width:1100px){.spi-shell{width:min(1000px,calc(100% - 36px));margin:auto}.spi-panel{display:none;top:auto;bottom:65px;right:12px;transform:none;width:min(370px,calc(100vw - 24px));max-height:75vh}.spi-panel.is-open{display:flex}.spi-close{display:block}.spi-toggle{display:flex;align-items:center;gap:18px;position:fixed;right:15px;bottom:15px;z-index:1001;background:#f6bb43;border:0;border-radius:4px;padding:12px 15px;color:#10213f;font:700 11px 'DM Sans',sans-serif;box-shadow:0 8px 25px #0b1d3b30}.spi-section-head{align-items:flex-start;flex-direction:column}.spi-sector-filter{justify-content:flex-start;max-width:none}.spi-card-main{grid-template-columns:minmax(230px,.85fr) minmax(0,1.15fr)}.spi-card-stats{grid-column:1/-1;border-left:0;border-top:1px solid #e2e8f0;padding:13px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.spi-card-services{flex-wrap:wrap;gap:8px}.spi-card-services>div{flex:1 1 24%;border:0;padding:4px 7px}.spi-card-services .spi-button{margin-left:0}}
@media(max-width:650px){.spi-shell{width:calc(100% - 28px)}.spi-hero{padding:28px 0}.spi-hero-image{width:100%;opacity:.22}.spi-hero h1{font-size:36px}.spi-hero-meta{flex-wrap:wrap;gap:8px}.spi-projects-section{padding-top:23px}.spi-section-head h2{font-size:27px}.spi-sector-filter{gap:5px}.spi-sector-filter>span{width:100%;margin-bottom:3px}.spi-sector-filter button{padding:7px 8px;font-size:9px}.spi-card-main{grid-template-columns:1fr;padding:12px;gap:14px}.spi-card-image{min-height:200px}.spi-card-image img{height:220px;min-height:220px}.spi-card-copy{padding:4px 1px}.spi-card-copy h3{font-size:23px}.spi-card-stats{grid-template-columns:1fr 1fr}.spi-card-services{padding:9px 12px}.spi-card-services>div{flex:1 1 40%;font-size:9px}.spi-card-services .spi-button{flex:1 1 auto}.spi-disclaimer{padding:0 12px 12px}.spi-footer{padding:20px 14px;flex-wrap:wrap}.spi-footer>a:last-child{width:100%;margin:4px 0 0}}

/* Canal-network GIS project card */
.spi-canal-visual{position:relative;min-height:240px;background:#e6f0f3;overflow:hidden}.spi-canal-map{position:absolute;inset:0;overflow:hidden;background:linear-gradient(145deg,#eaf3f7,#d5e5eb)}.spi-canal-map svg{display:block;width:100%;height:100%;min-height:240px}.spi-canal-map>.spi-map-label{position:absolute;z-index:2;top:12px;left:12px;background:#ffffffdf;color:#245372;padding:7px 9px;font-size:9px;letter-spacing:.1em;font-weight:700}.spi-canal-visual-caption{position:absolute;left:12px;bottom:38px;display:grid;gap:3px;background:#0c2746e8;color:#fff;padding:9px 12px}.spi-canal-visual-caption strong{font:800 22px Manrope,sans-serif;color:#f4bd50}.spi-canal-visual-caption span{font-size:9px}.spi-canal-map+.unused{display:none}.spi-canal-visual>span{position:absolute;bottom:0;left:0;background:#0b1c36e8;color:#fff;padding:10px 13px;font-size:9px;letter-spacing:.08em;font-weight:700}.spi-canal-note{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px;padding:22px 24px;margin-top:12px;border:1px solid #e3e9f1;background:#fff;border-radius:5px}.spi-canal-note>div>span{font-size:9px;letter-spacing:.12em;font-weight:700;color:#647996}.spi-canal-note h3{font:700 18px/1.35 Manrope,sans-serif;color:#112442;margin:8px 0 0}.spi-canal-note p{font-size:11px;line-height:1.8;color:#5d708b;margin:0}@media(max-width:650px){.spi-canal-note{grid-template-columns:1fr;gap:12px;padding:18px}}


/* Final portfolio navigator: all 35 assignments */
.spi-panel{position:fixed!important;top:90px!important;bottom:15px!important;right:15px!important;transform:none!important;height:auto!important;max-height:none!important;box-sizing:border-box!important;display:flex;flex-direction:column;overflow:hidden;z-index:1000}
.spi-panel-list{flex:1 1 auto!important;min-height:0!important;overflow-x:hidden;overflow-y:auto!important;overscroll-behavior:contain}
.spi-panel-head,.spi-search,.spi-panel-filters,.spi-explore{flex-shrink:0}
.spi-panel-list a[hidden],.spi-panel-list section[hidden]{display:none!important}
.spi-panel-list .spi-group-links>a{padding:8px 9px;font-size:10px}
.spi-explore{margin-top:10px}
@media(max-width:1100px){.spi-panel{top:auto!important;bottom:65px!important;right:12px!important;transform:none!important;height:auto!important;max-height:75vh!important}.spi-panel.is-open{display:flex!important}}


/* ===== IREC SIGNATURE PROJECTS: premium hero + shared deep-blue header ===== */
.signature-projects-index .site-header {
  background: #071a35 !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  position: relative;
  z-index: 1002;
}
.signature-projects-index .site-header-company,
.signature-projects-index .site-header-nav a { color: #fff !important; }
.signature-projects-index .site-header-nav a.active,
.signature-projects-index .site-header-nav a:hover { color: #f6bb43 !important; }
.signature-projects-index .site-header-contact {
  background: #f6bb43 !important; color: #071a35 !important;
  border-color: #f6bb43 !important;
}

.spi-hero.spi-hero-premium {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 40vh; height: auto; box-sizing: border-box;
  padding: clamp(38px,5.5vh,64px) 0 52px;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  background: radial-gradient(ellipse at 78% 30%, #173e69 0%, transparent 43%),
              linear-gradient(115deg,#071a35 0%,#0b2343 58%,#102e51 100%);
}
.spi-hero-premium .spi-hero-image {
  position: absolute; inset: 0 0 0 auto; z-index: -2;
  width: 58%; opacity: .24;
  background: linear-gradient(90deg,#071a35 0%,rgba(7,26,53,.58) 35%,rgba(7,26,53,.05) 100%),
              url('images/projects/RKrail.jpg') center 48%/cover no-repeat;
  mask-image: linear-gradient(90deg,transparent 0%,#000 35%);
}
.spi-hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg,transparent 0%,#000 60%);
}
.spi-hero-premium .spi-shell.spi-hero-content {
  display: grid; grid-template-columns: minmax(0,1.35fr) minmax(220px,.65fr);
  align-items: center; gap: clamp(30px,6vw,90px); width: min(1380px,calc(100% - 64px));
  margin: 0 auto;
}
.spi-hero-copy { max-width: 760px; }
.spi-hero-premium .spi-eyebrow { color: #f6bb43; font-size: 10px; letter-spacing: .16em; }
.spi-hero-premium .spi-eyebrow i { background: #f6bb43; }
.spi-hero-premium h1 {
  color: #fff; font-size: clamp(42px,5.2vw,70px); line-height: .99;
  letter-spacing: -.055em; margin: 19px 0 18px; max-width: 750px;
}
.spi-hero-premium h1 em { color: #f6bb43; font-style: normal; }
.spi-hero-premium .spi-hero-copy > p {
  color: #d3deed; max-width: 700px; font-size: clamp(14px,1.2vw,17px); line-height: 1.75; margin: 0;
}
.spi-hero-premium .spi-hero-meta { margin-top: 24px; gap: 14px; color: #c2d0e2; font-size: 11px; }
.spi-hero-premium .spi-hero-meta i { background: #f6bb43; opacity: .85; }
.spi-hero-side {
  border-left: 1px solid rgba(255,255,255,.23); padding: 12px 0 12px 28px;
  display: flex; flex-direction: column; gap: 14px; max-width: 360px;
}
.spi-hero-side-kicker { color: #f6bb43; font-size: 9px; letter-spacing: .16em; font-weight: 700; }
.spi-hero-side strong { color: #fff; font: 700 clamp(24px,2.4vw,34px)/1.16 Manrope,sans-serif; letter-spacing: -.035em; }
.spi-hero-side strong em { color: #f6bb43; font-style: normal; }
.spi-hero-side-rule { width: 44px; height: 2px; background: #f6bb43; margin-top: 2px; }
.spi-hero-side-caption { color: #c2d0e2; font-size: 10px; line-height: 1.7; }
.spi-hero-bottomline {
  position: absolute; left: max(32px,calc((100% - 1380px)/2)); right: max(32px,calc((100% - 1380px)/2)); bottom: 17px;
  display: flex; justify-content: space-between; gap: 18px; color: #9eb1ca;
  font-size: 8px; font-weight: 700; letter-spacing: .13em;
}

/* Full-height desktop navigator with top offset below the site header */

/* DESKTOP — restore the floating project navigator */
@media screen and (min-width: 1101px) {
    body.signature-projects-index aside.spi-panel {
        display: flex !important;
        position: fixed !important;
        top: 170px !important;
        right: 16px !important;
        bottom: 16px !important;
        left: auto !important;

        width: 280px !important;
        height: auto !important;
        max-height: none !important;
        transform: none !important;

        flex-direction: column !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        background: #fff !important;
        border: 1px solid #d9e2ef !important;
        border-radius: 9px !important;
        box-shadow: 0 12px 35px rgba(7, 26, 53, .16) !important;
        z-index: 1001 !important;
    }

    body.signature-projects-index .spi-panel-list {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    body.signature-projects-index .spi-explore-mobile {
        display: none !important;
    }
}

@media (max-width: 1100px) {
  .spi-hero.spi-hero-premium { min-height: 0; padding: 38px 0 48px; }
  .spi-hero-premium .spi-shell.spi-hero-content { grid-template-columns: 1fr; gap: 24px; width: calc(100% - 36px); }
  .spi-hero-side { display: none; }
  .spi-hero-premium h1 { font-size: clamp(38px,7vw,56px); }
  .spi-hero-bottomline { left: 18px; right: 18px; bottom: 12px; font-size: 7px; }
}
@media (max-width: 650px) {
  .spi-hero.spi-hero-premium { padding: 30px 0 43px; }
  .spi-hero-premium .spi-shell.spi-hero-content { width: calc(100% - 28px); }
  .spi-hero-premium h1 { font-size: 38px; }
  .spi-hero-premium .spi-hero-meta { flex-wrap: wrap; gap: 8px; font-size: 10px; }
  .spi-hero-bottomline span:last-child { display: none; }
}

/* ==================================================
   SIGNATURE PROJECTS — MOBILE HEADER ONLY
   Desktop styles remain unchanged.
   ================================================== */

.spi-mobile-menu {
    display: none;
}

@media (max-width: 650px) {
    .signature-projects-index .site-header {
        background: #071a35;
        color: #ffffff;
        position: relative;
        z-index: 1100;
        box-sizing: border-box;
        min-height: 66px;
        padding: 10px 12px;
        gap: 10px;
    }

    .signature-projects-index .site-header-brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
    }

    .signature-projects-index .site-header-logo {
        width: 82px;
        height: auto;
        object-fit: contain;
        flex-shrink: 0;
    }

    .signature-projects-index .site-header-company {
        color: #ffffff;
        font-size: 10px;
        line-height: 1.25;
    }

    .signature-projects-index .spi-mobile-menu {
        display: flex;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        padding: 10px 9px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        border: 1px solid #ffffff55;
        border-radius: 5px;
        background: #102847;
        cursor: pointer;
    }

    .signature-projects-index .spi-mobile-menu span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 2px;
        background: #ffffff;
    }

    .signature-projects-index .site-header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 14px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #071a35;
        border-top: 1px solid #ffffff20;
        box-shadow: 0 12px 22px #06152b35;
    }

    .signature-projects-index .site-header-nav.is-open {
        display: flex;
    }

    .signature-projects-index .site-header-nav a {
        display: block;
        padding: 13px 8px;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid #ffffff18;
        font-size: 13px;
    }

    .signature-projects-index .site-header-nav a.active {
        color: #f6bb43;
    }

    .signature-projects-index .site-header-contact {
        display: none;
    }
}

/* Mobile-only: compact Explore All Projects button */
.spi-explore-mobile {
    display: none;
}

@media (max-width: 650px) {
    .signature-projects-index .spi-panel,
    .signature-projects-index .spi-toggle {
        display: none !important;
    }

    .signature-projects-index .spi-explore-mobile {
        display: flex;
        position: fixed;
        right: 14px;
        bottom: 14px;
        z-index: 1001;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 15px;
        border-radius: 5px;
        background: #071a35;
        color: #f6bb43;
        border: 1px solid #f6bb43;
        box-shadow: 0 6px 20px #0b1d3b30;
        font: 700 11px 'DM Sans', sans-serif;
        text-decoration: none;
    }

    .signature-projects-index .spi-explore-mobile span {
        font-size: 16px;
        line-height: 1;
    }
}

/* MOBILE ONLY — hide the duplicate desktop project navigator */
@media screen and (max-width: 650px) {
    body.signature-projects-index .spi-panel {
        display: none !important;
    }

    body.signature-projects-index .spi-toggle {
        display: none !important;
    }

    body.signature-projects-index .spi-explore-mobile {
        display: flex !important;
    }
}

/* Desktop — retain the floating project navigator */
@media screen and (min-width: 651px) {
    body.signature-projects-index .spi-panel {
        display: flex;
    }

    body.signature-projects-index .spi-explore-mobile {
        display: none !important;
    }
}

/* FIX: MOBILE — hide the entire duplicate project navigator */
@media screen and (max-width: 650px) {
    body.signature-projects-index .spi-panel,
    body.signature-projects-index aside.spi-panel,
    body.signature-projects-index .spi-search,
    body.signature-projects-index .spi-panel-filters,
    body.signature-projects-index .spi-panel-list,
    body.signature-projects-index .spi-panel > .spi-explore,
    body.signature-projects-index .spi-toggle {
        display: none !important;
    }

    body.signature-projects-index a.spi-explore-mobile {
        display: flex !important;
    }
}

/* DESKTOP — preserve the floating navigator */
@media screen and (min-width: 651px) {
    body.signature-projects-index .spi-panel {
        display: flex !important;
    }

    body.signature-projects-index a.spi-explore-mobile {
        display: none !important;
    }
}

/* =========================================================
   SIGNATURE PROJECTS — MOBILE FOOTER FIX ONLY
   Match the main IREC homepage footer
   ========================================================= */

@media screen and (max-width: 650px) {

    body.signature-projects-index footer.spi-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;

        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 26px 22px 20px;

        background: #07142f;
        color: #aebdd3;
        border-top: 0;
    }

    /* IREC logo / brand */
    body.signature-projects-index footer.spi-footer > a:first-child {
        display: block;
        padding: 0;
        margin: 0;
        border: 0;

        color: #ffffff;
        font-family: Manrope, sans-serif;
        font-size: 0;
        text-decoration: none;
    }

    body.signature-projects-index footer.spi-footer > a:first-child::before {
        content: "IREC";
        display: inline-block;
        color: #ffffff;
        font-family: Manrope, sans-serif;
        font-size: 26px;
        font-weight: 800;
        letter-spacing: -1px;
    }

    /* Company name */
    body.signature-projects-index footer.spi-footer > span {
        display: block;
        color: #ffffff;
        font-family: Manrope, sans-serif;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5;
    }

    /* Back to top */
    body.signature-projects-index footer.spi-footer > a:last-child {
        display: inline-block;
        width: auto;
        margin: 2px 0 0;
        padding: 0;

        color: #f6bb43;
        font-size: 11px;
        text-decoration: none;
    }

    body.signature-projects-index footer.spi-footer > a:last-child:hover {
        color: #ffffff;
    }
}

/* Mobile only: remove the duplicate Explore All Projects button below footer */
@media screen and (max-width: 650px) {
    body.signature-projects-index > .spi-explore,
    body.signature-projects-index .spi-explore {
        display: none !important;
    }
}

/* =========================================================
   DESKTOP ONLY — RESTORE RIGHT-SIDE FLOATING PROJECT LIST
   Mobile layout remains unchanged.
   ========================================================= */

@media screen and (min-width: 1101px) {
    body.signature-projects-index .spi-panel {
        display: flex !important;
        position: fixed !important;

        top: 170px !important;
        right: 16px !important;
        bottom: 16px !important;
        left: auto !important;

        transform: none !important;
        width: 280px !important;
        height: auto !important;
        max-height: none !important;

        flex-direction: column !important;
        overflow: hidden !important;

        background: #ffffff !important;
        border: 1px solid #d9e2ef !important;
        border-radius: 9px !important;
        box-shadow: 0 12px 35px rgba(7, 26, 53, 0.16) !important;

        z-index: 1001 !important;
    }

    body.signature-projects-index .spi-panel-list {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    body.signature-projects-index .spi-panel-head,
    body.signature-projects-index .spi-search,
    body.signature-projects-index .spi-panel-filters,
    body.signature-projects-index .spi-explore {
        flex-shrink: 0 !important;
    }

    /* Hide the mobile-only button on desktop */
    body.signature-projects-index .spi-explore-mobile {
        display: none !important;
    }
}

/* MOBILE ONLY — retain the Explore All Projects button */
@media screen and (max-width: 650px) {
    body.signature-projects-index .spi-panel {
        display: none !important;
    }

    body.signature-projects-index .spi-explore-mobile {
        display: flex !important;
    }
}
