.mobile-site-header{display:none}
@media(max-width:700px){
html,body.has-mobile-menu{width:100%;height:auto!important;min-height:100%;overflow-x:hidden}
body.has-mobile-menu .mobile-site-header{display:block;position:relative;inset:auto;width:100%;padding:20px 18px 24px;margin:0;border-bottom:1px solid #014FC222;background:transparent;z-index:20}
body.has-mobile-menu .mobile-brand-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:100px;margin-bottom:24px}
.mobile-brand-logo{display:block;flex:0 1 155px;min-width:105px;max-width:43%;text-decoration:none}
.mobile-brand-logo img{display:block;width:100%;height:auto}
.mobile-brand-awards{display:flex;align-items:flex-start;gap:10px;min-width:0;max-width:54%;position:static!important;margin:0!important;padding:0!important;background:transparent!important}
.mobile-brand-awards .award{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;font:10px/1.3 Arial,sans-serif;color:#014FC2;max-width:110px}
.mobile-brand-awards .award:first-child{max-width:60px}.mobile-brand-awards .award img{height:42px;max-width:100%;width:auto;object-fit:contain}.mobile-brand-awards .award span{font-size:10px;line-height:1.3}.mobile-brand-awards .award>a{gap:6px}
body.has-mobile-menu .mobile-site-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto);gap:7px!important;margin:0!important;align-items:stretch!important;padding:0!important}
body.has-mobile-menu .mobile-site-nav .nav-label{display:flex!important;align-items:center;width:100%!important;min-height:36px;white-space:normal;text-align:left;box-sizing:border-box;font-size:11px!important;padding:8px 9px!important}
.mobile-site-nav .nav-label:nth-child(1){grid-column:1;grid-row:1}.mobile-site-nav .nav-label:nth-child(2){grid-column:1;grid-row:2}.mobile-site-nav .nav-label:nth-child(3){grid-column:1;grid-row:3}.mobile-site-nav .nav-label:nth-child(4){grid-column:1;grid-row:4}.mobile-site-nav .nav-label:nth-child(5){grid-column:2;grid-row:1}.mobile-site-nav .nav-label:nth-child(6){grid-column:2;grid-row:2}.mobile-site-nav .nav-label:nth-child(7){grid-column:2;grid-row:3}.mobile-site-nav .nav-label:nth-child(8){grid-column:1;grid-row:5}.mobile-site-nav .nav-label:nth-child(9){grid-column:2;grid-row:5}
body.has-mobile-menu>.site-logo,body.has-mobile-menu>.shared-awards,body.has-mobile-menu>.awards,body.has-mobile-menu>.site-rail,body.has-mobile-menu .map-site-rail,body.has-mobile-menu .discipline-header,body.has-mobile-menu main>.legend{display:none!important}
body.has-mobile-menu>.mobile-site-header .test-legend-controls{margin:18px 0 0;gap:14px}
body.has-mobile-menu>main,body.has-mobile-menu.with-site-rail>main,body.has-mobile-menu .team-area{position:relative!important;inset:auto!important;margin:0!important;width:100%!important;max-width:100%!important;padding:28px 18px 60px!important;height:auto!important;min-height:0!important;overflow:visible!important}
body.has-mobile-menu.home-legend-test>main{padding:0!important;overflow:hidden!important}
body.has-mobile-menu.home-legend-test .art.mobile{width:100%;height:auto;min-height:0;aspect-ratio:1185/1491}
body.has-mobile-menu .project-map-panel{margin:0!important;width:100%!important;height:900px!important;min-height:900px!important}
body.has-mobile-menu #mg-map{position:relative!important;inset:auto!important;margin:0!important;width:100%!important;height:900px!important;min-height:900px!important;padding:0!important;overflow:hidden!important}
body.has-mobile-menu .project-map-panel #mg-map{position:absolute!important;inset:0!important}
body.has-mobile-menu .project-index{margin:0!important;width:100%;padding:32px 18px 55px}
body.has-mobile-menu .home-quote{position:relative!important;inset:auto!important;white-space:normal!important;margin:18px;text-align:right;font-size:12px}
body.has-mobile-menu .team-area{display:grid!important;grid-template-columns:1fr!important;gap:30px}
body.has-mobile-menu .team-intro{grid-column:1}.mobile-site-header .site-nav .nav-label.current-page{color:#FB6500!important;border-color:#FB6500!important;background:#FB650018!important}
}

/* Shared distinctions remain black and the grid is visible through white logo pixels. */
.award img[src*="pju"]{filter:grayscale(1) brightness(.6) contrast(10000%)!important;mix-blend-mode:multiply;background:transparent!important}
.shared-awards,.awards,.mobile-brand-awards,.award{background:transparent!important}
.mobile-menu-toggle,.mobile-social-nav{display:none}
@media(max-width:700px){
body.has-mobile-menu .mobile-site-header{background:#fff!important;padding-bottom:18px}
body.has-mobile-menu .mobile-brand-row{background-image:linear-gradient(#014fc215 .55px,transparent .55px),linear-gradient(90deg,#014fc215 .55px,transparent .55px);background-size:28px 28px}
body.has-mobile-menu .mobile-menu-toggle{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:0 0 10px auto;border:0;background:transparent;color:#014FC2;font:11px Arial,sans-serif;padding:6px;cursor:pointer;min-height:32px}
.mobile-menu-toggle svg{width:22px;height:22px;transition:transform .2s}
.menu-collapsed .mobile-menu-toggle svg{transform:rotate(180deg)}
body.has-mobile-menu .mobile-site-nav{grid-template-rows:repeat(4,auto)}
body.has-mobile-menu .mobile-site-nav[hidden]{display:none!important}
body.has-mobile-menu .mobile-social-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}
.mobile-social-nav .nav-label{display:flex;align-items:center;min-height:36px;padding:8px 9px;border:1px solid #3E461E66;color:#3E461E;background:#fff;font:11px/1.3 Arial,sans-serif}
.mobile-social-nav .nav-label:hover{background:#3E461E12}
body.has-mobile-menu .test-legend-controls{display:none!important}
body.has-mobile-menu .shared-awards,body.has-mobile-menu .awards{display:none!important}
body.has-mobile-menu.project-map-with-index::before{display:none!important}
body.has-mobile-menu .project-map-panel{height:auto!important;min-height:0!important;margin:0!important;display:flex;flex-direction:column}
body.has-mobile-menu .project-map-panel #mg-map{position:relative!important;inset:auto!important;height:calc(100vw * 1.04 + 24px)!important;min-height:0!important}
body.has-mobile-menu .project-map-panel .map-category-filters{position:relative!important;inset:auto!important;align-self:flex-start;width:calc(100% - 36px);max-width:none!important;max-height:none!important;margin:12px 18px 24px;padding:14px;background:#fff;overflow:visible}
body.has-mobile-menu .map-category-filters .site-scale{background:#fff!important;text-align:left}
body.has-mobile-menu .map-category-filters>div:not(.site-scale){font-size:11px}
body.has-mobile-menu .project-map-panel .marker{pointer-events:none!important;opacity:1}
body.has-mobile-menu .project-map-panel #mg-popup{display:none!important}
body.has-mobile-menu .project-index table{min-width:0!important;width:100%!important;table-layout:fixed}
body.has-mobile-menu .project-index th:nth-child(n+4),body.has-mobile-menu .project-index td:nth-child(n+4){display:none}
body.has-mobile-menu .project-index thead th:nth-child(1){width:10%}
body.has-mobile-menu .project-index thead th:nth-child(2){width:54%}
body.has-mobile-menu .project-index thead th:nth-child(3){width:36%}
body.has-mobile-menu .project-index th,body.has-mobile-menu .project-index td{font-size:11px;padding:12px 5px;white-space:normal!important;overflow-wrap:anywhere}
body.has-mobile-menu .department-map{display:none!important}
body.has-mobile-menu .project-top{grid-template-columns:1fr!important}
body.has-mobile-menu .contact-card{position:relative!important;inset:auto!important;margin:0!important;width:100%!important;max-width:none!important;padding:28px 18px!important;background:#fff;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
body.has-mobile-menu:has(.contact-card) #mg-map{height:calc(100vw * 1.04 + 70px)!important;min-height:0!important}
body.has-mobile-menu .ecosystem-controls{top:14px!important;bottom:auto!important;right:18px!important;left:auto!important;max-width:none!important}
body.has-mobile-menu #ecosystem-filters,body.has-mobile-menu #ecosystem-unlocated{display:none!important}
body.has-mobile-menu .office-address{display:none!important}
body.has-mobile-menu .ecosystem-popup{max-width:calc(100vw - 36px);width:220px}
}

.mobile-atlas-zoom{display:none}
@media(max-width:700px){
html:has(body.has-mobile-menu){height:auto!important;overflow-y:auto!important}
body.has-mobile-menu{height:auto!important;overflow-y:visible!important}
body.has-mobile-menu .mobile-social-nav[hidden]{display:none!important}
body.has-mobile-menu.home-legend-test .mobile-atlas-viewport{position:relative;width:100%;height:clamp(500px,72svh,720px);overflow:hidden;background:#fff}
body.has-mobile-menu.home-legend-test .art.mobile{display:block!important;position:absolute!important;inset:0 auto auto 0!important;width:var(--atlas-width)!important;height:var(--atlas-height)!important;min-height:0!important;max-width:none!important;aspect-ratio:auto!important;transform:var(--atlas-transform)!important;transform-origin:0 0;touch-action:none;user-select:none}
body.has-mobile-menu .mobile-atlas-zoom{display:flex;position:absolute;right:14px;top:14px;gap:7px;z-index:4}
.mobile-atlas-zoom button{width:38px;height:38px;background:#fff;border:1px solid #014FC2;color:#014FC2;font:24px Arial,sans-serif;touch-action:manipulation}
.mobile-atlas-zoom button:active{border-color:#FB6500;color:#FB6500}
.art.mobile a.project-link:not(.project-no-page),.art.mobile a.category-link{pointer-events:auto!important}
.art.mobile a.project-link:not(.project-no-page) text,.art.mobile a.category-link text{pointer-events:auto!important}
body.has-mobile-menu:has(.contact-card) #mg-map{touch-action:pan-y!important}
}
.project-index tr.category-active{background:#3E461E12;color:#3E461E}
.project-index tr.category-active a{color:#3E461E}
.project-index tr.indexed-linked.category-active:hover,.project-index tr.indexed-linked.category-active:focus-within{background:#FB650018;color:#FB6500}
.project-index tr.indexed-linked.category-active:hover a{color:#FB6500}

.award img[src*="pju-2026-transparent"]{filter:none!important;mix-blend-mode:normal;background:transparent!important}

/* Contact constellation has a single control and no hover cards. */
#ecosystem-filters,#ecosystem-unlocated,#ecosystem-popup{display:none!important}
.ecosystem-point{pointer-events:none!important}
@media(max-width:700px){body.has-mobile-menu .ecosystem-controls{display:block!important;z-index:10!important;width:auto!important;visibility:visible!important;opacity:1!important}body.has-mobile-menu #ecosystem-toggle{display:block!important}}

/* Index controls keep their labels and complete default values visible. */
.index-year-tools{display:flex;align-items:center;gap:6px}
.index-year-tools .index-filter{flex:1;min-width:0}
#index-reset{flex:0 0 24px;width:24px;height:28px;padding:0;border:0;background:transparent;color:#014FC2;font:22px Arial,sans-serif;cursor:pointer}
#index-reset:hover,#index-reset:focus-visible{color:#FB6500}
@media(min-width:701px){
.project-index thead th:nth-child(1){width:4%}
.project-index thead th:nth-child(2){width:29%}
.project-index thead th:nth-child(3){width:19%}
.project-index thead th:nth-child(4){width:13%}
.project-index thead th:nth-child(5){width:18%}
.project-index thead th:nth-child(6){width:17%}
.project-index #index-size,.project-index #index-year{min-width:68px}
}

/* Compact mobile toolbar: socials stay above the unfolding navigation. */
@media(max-width:700px){
body.has-mobile-menu .mobile-site-header{padding-bottom:10px}
body.has-mobile-menu .mobile-brand-row{margin-bottom:12px}
body.has-mobile-menu .mobile-menu-toolbar{display:flex;align-items:center;gap:10px;min-height:47px;margin:0}
body.has-mobile-menu .mobile-menu-toolbar .mobile-social-nav{display:grid!important;flex:1;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}
body.has-mobile-menu .mobile-menu-toolbar .mobile-social-nav .nav-label{min-height:36px;padding:6px;font-size:11px;justify-content:center;white-space:nowrap}
body.has-mobile-menu .mobile-menu-toolbar .mobile-menu-toggle{flex:0 0 auto;margin:0;padding:6px 0;min-height:36px;gap:4px;font-size:11px;white-space:nowrap}
body.has-mobile-menu .mobile-menu-toolbar .mobile-menu-toggle svg{width:18px;height:18px}
body.has-mobile-menu .mobile-menu-toolbar+.mobile-site-nav:not([hidden]){margin-top:8px!important}
}
/* Desktop project labels cover award logos with an opaque white surface. */
@media(min-width:701px){
 .project-map-panel #mg-popup{z-index:40!important;background:#fff!important;isolation:isolate}
}

/* Mobile navigation: four links left, three right; complete contact form below the map. */
@media(max-width:700px){
 body.has-mobile-menu .mobile-site-nav>.nav-label[href="/contact/"]{grid-column:1;grid-row:4}
 body.has-mobile-menu .mobile-site-nav>.nav-label[href="/philosophie/"]{grid-column:2;grid-row:1}
 body.has-mobile-menu .mobile-site-nav>.nav-label[href="/philosophie/#champs-disciplinaires"]{grid-column:2;grid-row:2}
 body.has-mobile-menu .mobile-site-nav>.nav-label[href="/equipe/"]{grid-column:2;grid-row:3}
 body.has-mobile-menu .contact-card{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;display:block!important;}
 body.has-mobile-menu .site-contact-form textarea{display:block;min-height:130px;height:auto;resize:vertical}
 body.has-mobile-menu .site-contact-form button[type="submit"]{display:inline-block;position:static;}
}
