:root{color-scheme:dark;--bg:#080808;--text:#f2f1ee;--orange:#e94e1b;--muted:#96948f;--line:#30302e;--font:'ellograph-cf','Courier New',monospace}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:5px}button{color:inherit;background:none;border:0}header{height:84px;margin:0 3.5vw;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:36px}.brand{display:flex;align-items:baseline;text-decoration:none;color:white;white-space:nowrap}.brand>span{color:var(--orange);font-size:26px}.brand b{font-family:Georgia,serif;font-weight:400;font-size:25px}.brand small{font-size:14px;letter-spacing:4px;margin-left:10px}.section-label{margin-left:auto;font-size:14px;color:#b9b7b3}.header-explore{font-size:14px;padding:14px 0}.header-explore span{color:var(--orange);margin-left:14px}main{display:grid;grid-template-columns:38% 62%;min-height:calc(100svh - 145px);max-width:1900px;margin:auto}.intro{padding:9vh 0 48px 3.5vw;position:relative;z-index:2;pointer-events:none}.intro button,.intro a{pointer-events:auto}.eyebrow{font-size:12px;letter-spacing:1.4px;color:var(--orange);margin:0 0 24px}h1{font-size:clamp(34px,3.8vw,70px);font-weight:400;line-height:1.2;letter-spacing:-2px;margin:0;white-space:nowrap}h1 em{font-style:normal;color:var(--orange)}.stat{margin-top:44px}.stat strong{font-size:clamp(78px,8vw,132px);font-weight:400;line-height:.9;letter-spacing:-7px}.stat p{font-size:clamp(17px,1.6vw,23px);line-height:1.35;margin:18px 0 0}.intro-copy{font-size:14px;max-width:330px;line-height:1.65;color:#c3c0bb;margin:27px 0}.explore{border:1px solid #82807a;border-radius:50px;min-height:54px;padding:15px 24px;display:flex;align-items:center;gap:32px;font-size:14px;transition:background .2s,border-color .2s}.explore:hover{background:var(--orange);border-color:var(--orange)}.demo-note{font-size:12px;color:var(--muted);margin-top:19px}.map-stage{position:relative;min-height:650px;margin:16px 24px 0 0}#map{position:absolute;inset:0;background:var(--bg);z-index:0;border-radius:16px}.leaflet-container{font-family:var(--font)}.leaflet-control-zoom{border:0!important;box-shadow:none!important;margin-top:72px!important;margin-right:14px!important}.leaflet-control-zoom a{background:#101010!important;color:#eee!important;border:1px solid #777!important;border-radius:50%!important;width:44px!important;height:44px!important;line-height:40px!important;margin-bottom:9px;font-weight:400!important}.leaflet-control-attribution{background:#111e!important;color:#b8b8b8!important;font-size:10px!important}.leaflet-control-attribution a{color:#ddd!important}.map-top{position:absolute;top:17px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;gap:20px}.map-top button{pointer-events:auto;background:#101010e8;border:1px solid #777;border-radius:50px;min-height:44px;padding:10px 15px;font-size:13px}#map-mode{font-size:11px;letter-spacing:1.3px;color:#a4a19c;margin-left:auto}.map-bottom{position:absolute;bottom:42px;left:24px;right:24px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;pointer-events:none}.legend{display:flex;gap:22px;font-size:12px;color:#ddd;background:#080808d9;padding:12px;border-radius:8px}.legend span{display:flex;align-items:center;gap:9px}.community-dot{width:9px;height:9px;background:var(--orange);border-radius:50%}.school-dot{width:9px;height:9px;background:#fff;border:2px solid #777;transform:rotate(45deg)}.cities{display:flex;gap:6px;pointer-events:auto}.cities button{padding:12px 13px;min-height:44px;background:#111;border:1px solid #555;border-radius:24px;font-size:13px}.cities button:hover,.cities button[aria-pressed=true]{background:var(--orange);border-color:var(--orange)}#map-status{position:absolute;left:25%;top:45%;font-size:14px;background:#151515;padding:16px;border-radius:6px}#map-status:empty{display:none}.city-marker{background:transparent;border:0}.city-mark{position:relative;display:flex;align-items:center;gap:10px;white-space:nowrap;color:#191919;font-size:16px;text-shadow:0 1px 3px #fff}.city-mark i{flex:none;width:14px;height:14px;background:var(--orange);border-radius:50%;box-shadow:0 0 0 7px #e94e1b18}.city-mark.active i{box-shadow:0 0 0 7px #e94e1b33,0 0 0 15px #e94e1b1a}.city-mark span{background:#dedbd6b8;border-radius:5px;padding:3px 5px}.school-marker{border:0;background:none}.school-mark{display:grid;place-items:center;width:28px;height:28px;background:#151515;color:white;border:2px solid white;border-radius:50%;font-size:12px;box-shadow:0 2px 8px #0005}.local-tiles{filter:grayscale(1)}#detail{position:absolute;z-index:500;right:12px;top:72px;width:min(350px,calc(100% - 24px));background:#111f;border:1px solid #56534e;border-radius:12px;box-shadow:0 24px 70px #0007;padding:24px;max-height:calc(100% - 180px);overflow:auto;scrollbar-width:thin}.detail-head{display:flex;align-items:center;justify-content:space-between}.detail-head .eyebrow{margin:0}.detail-head button{font-family:Arial,sans-serif;font-size:28px;min-width:44px;min-height:44px;margin:-12px -12px -6px 0;color:#aaa}h2{font-size:29px;line-height:1.2;margin:15px 0 8px;font-weight:400}.profile-note{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 20px}.tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:22px;gap:18px}.tabs button{font-size:13px;color:#aaa;padding:14px 0;border-bottom:2px solid transparent}.tabs button[aria-selected=true]{color:white;border-bottom-color:var(--orange)}.profile{display:flex;gap:14px;align-items:center}.profile-symbol{display:grid;place-items:center;width:50px;height:50px;flex:none;background:#e94e1b1c;border-radius:50%;color:var(--orange);font-size:20px}h3{margin:0 0 6px;font-size:15px;font-weight:400}.profile p{font-size:12px;line-height:1.6;color:#bbb;margin:0}.panel-copy,.distance-note{font-family:Arial,sans-serif;font-size:14px;line-height:1.55;color:#aaa}.panel-copy{margin:22px 0}.schools-cta{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;border-top:1px solid var(--line);padding:21px 0 0;gap:10px}.schools-cta strong{display:block;font-size:16px;font-weight:400}.schools-cta small{display:block;margin-top:7px;font-size:12px;color:#aaa}.schools-cta>span:last-child{background:var(--orange);border-radius:50%;display:grid;place-items:center;width:40px;height:40px;flex:none;font-size:22px}#school-list{list-style:none;padding:0;margin:18px 0}#school-list li{border-bottom:1px solid var(--line)}.school-row{width:100%;text-align:left;padding:14px 0;display:flex;gap:10px;align-items:flex-start}.school-row:hover{color:var(--orange)}.school-row .number{color:var(--orange);font-size:12px;padding-top:2px;min-width:20px}.school-row strong{display:block;font-size:14px;font-weight:400;line-height:1.4}.school-row small{display:block;font-family:Arial,sans-serif;font-size:12px;color:#aaa;margin-top:6px;line-height:1.4}.source-link{font-family:Arial,sans-serif;color:#bcb8b2;font-size:12px;line-height:1.5}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#151515;color:#fff}.leaflet-popup-content{font-family:Arial,sans-serif;font-size:14px;line-height:1.5}.leaflet-popup-content strong{display:block;margin-bottom:6px}.leaflet-popup-content a{color:#ff836f}footer{margin:0 3.5vw;padding:20px 0;border-top:1px solid #252523;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#85827c}button:disabled{opacity:.4;cursor:wait}[hidden]{display:none!important}@media(min-width:1400px){.map-stage{min-height:760px}.intro{padding-top:12vh}}@media(max-width:1000px){header{height:72px}.intro{padding-top:8vh}h1{font-size:35px;letter-spacing:-1px}.map-stage{margin-right:8px;min-height:690px}.map-bottom{left:12px;right:12px;bottom:35px}.legend{gap:12px;font-size:11px}#detail{width:310px}.intro-copy{max-width:240px}.explore{gap:14px;padding:15px 18px}}@media(max-width:720px){header{height:70px;margin:0 22px;gap:15px}.section-label{display:none}.header-explore{margin-left:auto;font-size:12px}.brand small{font-size:11px;letter-spacing:2px}.brand b{font-size:22px}main{display:flex;flex-direction:column;min-height:0}.intro{padding:35px 24px 18px;display:grid;grid-template-columns:1fr auto;column-gap:12px}.intro .eyebrow{grid-column:1/-1;font-size:10px;margin-bottom:20px}h1{font-size:clamp(27px,6.3vw,42px);letter-spacing:-1.5px}.stat{margin:5px 0 0;align-self:center}.stat strong{font-size:65px;letter-spacing:-4px}.stat p{font-size:12px;line-height:1.5;margin-top:10px}.intro-copy{grid-column:1/-1;font-size:13px;margin:19px 0 12px;max-width:none}.explore{display:none}.demo-note{grid-column:1/-1;margin:0;font-size:11px}.map-stage{margin:0 10px;min-height:610px;height:70svh;max-height:760px}#map-mode{font-size:10px}.map-top{left:10px;right:10px;top:12px}.map-top button{font-size:12px}.map-bottom{bottom:28px;gap:6px;justify-content:center}.legend{font-size:11px;padding:6px}.cities{gap:8px;width:100%;justify-content:center}.cities button{padding:10px 18px}.leaflet-control-zoom{margin-top:55px!important;margin-right:8px!important}.city-mark{font-size:14px}.map-stage.has-detail{height:auto;max-height:none;padding-bottom:0}.map-stage.has-detail #map{height:480px;bottom:auto}.map-stage.has-detail .map-bottom{top:400px;bottom:auto}.map-stage.has-detail #detail{position:relative;top:auto;right:auto;margin:490px 8px 16px;width:auto;max-height:none;box-shadow:none;padding:22px}.map-stage.has-detail #map-mode{display:none}footer{margin:0 24px;flex-direction:column;gap:10px;line-height:1.6;font-size:10px}.leaflet-popup-content{max-width:220px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep the real national geometry visible before interactive initialization. */
#map-fallback{position:absolute;inset:45px 18px 95px;display:grid;place-items:center;pointer-events:none}#map-fallback svg{height:100%;width:100%;max-height:100%}#map-fallback text{fill:#171717;font:16px var(--font);paint-order:stroke;stroke:#d2cfc8;stroke-width:4px;stroke-linejoin:round}#map{opacity:0}.map-ready #map{opacity:1}.map-ready #map-fallback{display:none}
@media(max-width:720px){.intro{padding:24px 24px 12px}.intro .eyebrow{margin-bottom:12px}.intro-copy{margin:12px 0 10px}.map-stage{height:470px;min-height:470px}.map-bottom{bottom:22px}#map-fallback{inset:50px 16px 105px}}

.portrait-frame{display:block;position:relative;width:100%;aspect-ratio:435/420;overflow:hidden;border-radius:6px;margin-bottom:20px;background:#222}.portrait-frame img{position:absolute;max-width:none;width:294.25%;height:auto;left:-9.43%;top:-24.52%}.karima-roles p{font-size:14px;line-height:1.5;margin:0 0 9px}.karima-bio{font:16px/1.6 Arial,sans-serif;color:#d0cdc7;margin:20px 0}.territory{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:#aaa}.territory strong{display:block;font-size:14px;color:var(--text);font-weight:400;margin-top:8px}.original-sheet{display:block;color:var(--orange);font-size:13px;margin:20px 0;text-decoration:none}.original-sheet:hover{text-decoration:underline}

.karima-entry{display:flex;gap:10px;align-items:center;width:fit-content;margin-top:20px;color:#ff705a;text-decoration:none;font-size:14px;min-height:44px;border-bottom:1px solid #693b33;pointer-events:auto}.karima-entry:hover{color:white}.profile-combined .portrait-frame{width:88px;height:116px;aspect-ratio:auto;float:left;margin:0 16px 16px 0}.profile-combined .portrait-frame img{top:-17.95%}.profile-combined .karima-roles{min-height:116px;padding-top:8px}.profile-combined .karima-roles p{font:14px/1.45 Arial,sans-serif}.profile-bio{clear:both;font-size:14px;margin:8px 0 15px}.profile-bio summary{cursor:pointer;min-height:40px;display:list-item;padding-top:9px;color:#c7c3bd}.profile-combined .territory{display:none}.profile-combined .schools-cta{display:none}.profile-combined .original-sheet{margin:10px 0 18px}.profile-combined #schools-panel{border-top:1px solid var(--line);padding-top:12px}.profile-combined #schools-panel:before{content:none;display:block;font-size:17px;margin:8px 0 14px}.profile-combined .distance-note{font-size:12px}.profile-combined #detail{max-height:calc(100% - 130px);top:55px}.profile-combined #community-panel{display:flow-root}.profile-combined #school-list{margin-top:8px}@media(max-width:720px){.karima-entry{grid-column:1/-1;font-size:13px;margin-top:4px;margin-bottom:8px}.profile-combined #detail{top:auto;max-height:none;scroll-margin-top:16px}.cities button{font-size:11px;padding:10px 12px}.profile-combined .portrait-frame{width:88px;height:116px}}

.people-grid{display:flex;flex-wrap:wrap;gap:22px;padding:12px 0 16px}.person-choice{display:flex;flex-direction:column;align-items:center;gap:12px;padding:10px;border-radius:10px;width:100%;text-align:center}.person-choice:hover{background:#ffffff09}.portrait-disc{position:relative;width:126px;height:126px;overflow:hidden;border-radius:50%;border:2px solid var(--orange);display:block}.portrait-disc img{position:absolute;width:294.25%;max-width:none;left:-9.43%;top:-28%}.person-choice strong{font-size:17px;font-weight:400}.person-choice small{font-size:13px;color:#aaa}.back-to-people{display:block;clear:both;text-align:left;color:#bbb;font-size:12px;min-height:44px;margin:-10px 0 14px;padding:8px 0}.back-to-people:hover{color:var(--orange)}.city-picker #detail{max-height:calc(100% - 180px)}@media(max-width:720px){.city-picker #detail{max-height:none;scroll-margin-top:16px}}

/* The overview is a stable part of the page; gestures resume in local views. */
.map-stage:not(.has-detail) #map{touch-action:pan-y}.map-stage:not(.has-detail) .leaflet-container{cursor:default}
@media(max-width:720px){.map-stage{height:470px;min-height:470px;max-height:none}}

.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.person-choice{min-width:0;padding:8px 0}.portrait-disc{width:110px;height:110px}.person-choice strong{font-size:14px}.cities{flex-wrap:wrap}.city-marker:has(.city-mark.active){z-index:1000!important}

.city-goussainville span{transform:translateY(-22px)}.city-paris span{transform:translateY(8px)}
@media(max-width:720px){.map-stage.has-detail .map-bottom{top:350px}.cities{gap:5px}.cities button{padding:8px 10px}.person-choice strong{line-height:1.4}}

/* Focus each step: city, people, then nearby schools. */
.has-detail .city-mark span,.has-detail #map-mode,.has-detail .cities{display:none}
.city-picker .legend{display:none}
@media(max-width:720px){
 .map-stage{height:auto!important;min-height:0!important;max-height:none;padding-top:420px}
 .map-stage #map{height:420px;bottom:auto}
 .map-stage .map-bottom{position:relative;inset:auto;display:flex;margin:12px 8px 20px;gap:12px}
 .map-stage .legend{background:none;padding:0;font-size:10px}
 .map-stage .cities{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin}
 .cities button{flex-shrink:0}
 .map-stage.has-detail{padding-top:320px}
 .map-stage.has-detail #map{height:320px}
 .map-stage.has-detail .map-bottom{inset:auto;margin:12px 8px}
 .map-stage.has-detail .cities{display:none}
 .map-stage.has-detail #detail{margin:16px 8px;width:auto}
 .map-stage.city-picker{padding-top:60px}
 .map-stage.city-picker #map,.map-stage.city-picker .map-bottom{display:none}
 .map-stage.city-picker #detail{margin:0 8px 20px}
 .city-picker .people-grid{padding:0;gap:12px}
 .city-picker .profile-note{margin-bottom:12px}
 .city-picker .detail-head .eyebrow{font-size:10px}
 .city-picker .person-choice{gap:8px}
 #map-fallback{height:340px;inset:35px 16px auto}
}

/* Let the national silhouette lead, especially on a phone. */
.map-stage:not(.has-detail) .leaflet-control-zoom{display:none}
.map-stage:not(.has-detail) #map-mode{display:none}
.map-stage:not(.has-detail) .city-mark{font-size:12px;gap:5px;text-shadow:none}
.map-stage:not(.has-detail) .city-mark i{width:10px;height:10px;box-shadow:0 0 0 4px #e94e1b18}
.map-stage:not(.has-detail) .city-mark span{padding:3px 5px;background:#080808;color:#f2f1ee;border-radius:3px;position:absolute;left:15px}




@media(max-width:720px){
 header{height:56px;margin:0 20px}.header-explore{display:none}
 .intro{padding:20px 20px 0;column-gap:10px}
 .intro .eyebrow{font-size:9px;margin-bottom:10px}
 h1{font-size:25px;line-height:1.12;letter-spacing:-1px}
 .stat{margin:0;display:flex;align-items:center;gap:8px}
 .stat strong{font-size:44px;letter-spacing:-3px}
 .stat p{font-size:9px;margin:0;max-width:78px;line-height:1.4}
 .intro-copy{font-size:11px;margin:12px 0 4px}
 .demo-note{display:none}
 .map-stage:not(.has-detail){margin:0 6px;padding-top:440px}
 .map-stage:not(.has-detail) #map{height:440px}
 .map-stage:not(.has-detail) .map-bottom{margin-top:0}
 #map-fallback{height:410px;inset:15px 8px auto}
}
/* Keep the map in the mobile document flow: no reserved spacer to double. */
@media(max-width:720px){
 .map-stage,.map-stage:not(.has-detail),.map-stage.has-detail{padding-top:0}
 .map-stage #map,.map-stage:not(.has-detail) #map,.map-stage.has-detail #map{position:relative!important;inset:auto!important;width:100%;margin:0}
 .map-stage.city-picker{padding-top:60px}
 .map-stage.city-picker #map{display:none}
}

#schools-panel .distance-note,#schools-panel .source-link{display:none}.school-row{padding:17px 0}.school-row strong{font-size:16px;line-height:1.35}.school-row small{font-size:14px;color:#ddd;margin-top:7px}.leaflet-popup-content small{display:block;font-size:14px;margin-top:6px}

/* City hit areas must never cover school markers in a profile view. */
.profile-combined .city-marker,.profile-combined .city-marker *{pointer-events:none!important}
.profile-combined .city-marker{z-index:0!important}
.school-mark{width:36px;height:36px;font-size:13px}

.school-card{position:relative;width:280px;max-width:calc(100vw - 56px);background:#111;color:#fff;border:1px solid #555;border-radius:10px;padding:16px 34px 16px 16px;box-shadow:0 5px 20px #0005;margin-bottom:28px!important;font:15px/1.4 Arial,sans-serif}.school-card strong{display:block;font-size:16px}.school-card small{display:block;margin-top:7px;font-size:15px}.school-card-close{position:absolute;right:0;top:0;width:34px;height:34px;color:#bbb;font:24px Arial,sans-serif}
@media(min-width:721px){.leaflet-bottom.leaflet-left:has(.school-card){bottom:auto;top:72px}}
@media(min-width:721px){.has-detail .leaflet-top.leaflet-right{left:0;right:auto}.has-detail .leaflet-control-zoom{margin-left:14px!important;margin-top:72px!important}.has-detail .leaflet-bottom.leaflet-left:has(.school-card){top:178px}}

.school-mark.school-lycee{background:#fff;color:#111;border-color:#111}
.legend .school-dot{width:10px;height:10px;transform:none;border-radius:50%;background:#151515;border:1px solid #fff}.legend .lycee-dot{background:#fff;border-color:#111}

/* Keep the controls below the entire silhouette, including Corsica. */
@media(min-width:721px){.map-stage{display:flex;flex-direction:column}.map-stage #map{position:relative;inset:auto;height:650px;flex:1;min-height:550px}.map-stage .map-bottom{position:relative;inset:auto;padding:14px 12px 20px;gap:12px;flex:none}.cities{flex-wrap:wrap}.intro h1{font-size:clamp(28px,3vw,55px);letter-spacing:-1.5px}}
@media(max-width:720px){.intro{display:block;padding-bottom:18px}.intro h1{font-size:clamp(26px,7.2vw,38px)}.stat{margin-top:18px}.stat p{max-width:none}.legend{gap:14px}}







/* Every label sits exactly 6px from its 8px dot. */
.map-stage:not(.has-detail) .city-mark{font-size:10px;line-height:1.2}
.map-stage:not(.has-detail) .city-mark i{width:8px;height:8px;box-shadow:none}
.map-stage:not(.has-detail) .city-mark span{left:14px;right:auto;top:4px;transform:translateY(-50%);padding:2px 3px}
.map-stage:not(.has-detail) :is(.city-paris,.city-evreux,.city-lyon) span{left:-6px;transform:translate(-100%,-50%)}
.map-stage:not(.has-detail) :is(.city-rouen,.city-goussainville) span{left:4px;top:-6px;transform:translate(-50%,-100%)}
.map-stage:not(.has-detail) .city-meudon span{left:-3.071px;top:11.071px;transform:translateX(-100%)}
.map-stage:not(.has-detail) .city-noisiel span{left:11.071px;top:11.071px;transform:none}
@media(max-width:720px){.map-stage:not(.has-detail) .city-mark{font-size:8px}.map-stage:not(.has-detail) .city-mark span{padding:2px}}

/* City labels remain clickable without invisible marker boxes intercepting taps. */
.city-marker{pointer-events:none!important}.city-mark i,.city-mark span{pointer-events:auto}
.map-stage.regional-view .city-mark{font-size:10px}
.map-stage.regional-view .city-mark span{left:14px;right:auto;top:4px;transform:translateY(-50%)}
.map-stage.regional-view :is(.city-paris,.city-colombes,.city-meudon,.city-poissy) span{left:-6px;transform:translate(-100%,-50%)}
.map-stage.regional-view .city-goussainville span{left:4px;top:-6px;transform:translate(-50%,-100%)}
.map-stage.regional-view .city-bobigny span{left:11.071px;top:11.071px;transform:none}

.map-stage.regional-view .city-boulogne span{left:4px;top:-6px;transform:translate(-50%,-100%)}

.map-stage.regional-view :is(.city-villiers-le-bel,.city-blanc-mesnil) span{left:-6px;top:4px;transform:translate(-100%,-50%)}
.map-stage.regional-view .city-blanc-mesnil span{left:4px;top:-6px;transform:translate(-50%,-100%)}
.map-stage:not(.has-detail) .city-angers span{left:4px;top:-6px;transform:translate(-50%,-100%)}

/* Verified community and football layers */
.map-stage:not(.has-detail) .city-mark.no-people i{background:var(--orange)!important;box-shadow:none!important;border:0!important}
.has-detail .city-mark.no-people{display:none!important}
.club-mark{display:block;width:22px;height:22px;margin:7px;border-radius:50%;background:#009b77;border:2px solid #fff;box-shadow:0 0 0 2px #00694f}
.club-marker{background:none;border:0}
#club-list-section h3{font:inherit;color:#eee;margin:24px 0 12px}
#club-list-section ul{list-style:none;padding:0;margin:0}
.club-row{display:flex;gap:12px;align-items:center;width:100%;padding:15px 0;text-align:left;background:none;border:0;border-bottom:1px solid #333;color:#eee;cursor:pointer}
.club-row i{flex-shrink:0;width:12px;height:12px;background:#009b77;border-radius:50%}
.club-row strong,.club-row small{display:block}.club-row small{color:#aaa;margin-top:6px}
.school-card-content a{font-size:12px;color:#7bd9bc;display:block;margin-top:9px}
.data-note{font-size:12px;color:#aaa;line-height:1.5;margin-top:20px}.data-note summary{cursor:pointer}
.legend{flex-wrap:wrap;gap:12px}.legend .legend-club{background:#009b77;border-radius:50%;width:9px;height:9px;display:inline-block}

/* Official artwork: preserve the lettering, crop only the surrounding black margin. */
.brand{display:block;position:relative;width:260px;height:44px;overflow:hidden;flex-shrink:0;background:#000}
.brand .brand-official{position:absolute;max-width:none;width:346.667px;height:86.667px;left:-43.333px;top:-21.333px}
@media(max-width:720px){.brand{width:220px;height:38px}.brand .brand-official{width:293.333px;height:73.333px;left:-36.667px;top:-18px}}

/* Presentation copy, without duplicate navigation or counters. */
.brand-tagline{margin:0 0 0 auto;font-size:clamp(14px,1.4vw,21px);line-height:1.5;color:var(--text)}
.brand-tagline em{font-style:normal;color:var(--orange)}
.intro{display:flex;align-items:center;justify-content:center;padding:40px 24px;text-align:center}
.intro h1{margin:0;line-height:1.25}
@media(max-width:720px){
 header{height:auto;min-height:104px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:12px 0}
 .brand-tagline{margin:0;text-align:center;font-size:14px;line-height:1.45;max-width:100%}
 .intro{display:flex;padding:26px 16px 10px;text-align:center}
 .intro h1{font-size:clamp(25px,7.2vw,38px)}
}

/* Method text and supplied, unaltered character artwork. */
main{grid-template-columns:48% 52%;align-items:start}
.intro{display:block;padding:44px 30px 44px 3.5vw;text-align:left;pointer-events:auto}
.intro h1{font-size:clamp(30px,2.8vw,49px);text-align:left;letter-spacing:-1px}
.method{margin-top:34px}.method h2{font-size:18px;font-weight:400;margin:0 0 22px}.method h2 em{font-style:normal;color:var(--orange)}
.method-layout{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:16px}
.method-steps article{border-top:1px solid #666;padding-top:14px;margin-bottom:24px}
.method-steps h3{font-size:17px;font-weight:600;letter-spacing:.5px;margin:0 0 12px}.method-steps h3 span{color:var(--orange);margin-right:8px}
.method-steps p{font-size:16px;line-height:1.6;color:#dedcd7;margin:0}
.method-characters{display:flex;flex-direction:column;justify-content:space-between;gap:12px;align-items:center;padding-bottom:24px}
.character{position:relative;overflow:hidden;flex:none;width:100px;height:295px}
.character img{position:absolute;max-width:none;height:100%;object-fit:contain}
.nora img{width:211.565%;height:auto;left:-47.18%;top:-10.15px}
.brahim{width:100px;height:291px}.brahim img{width:245.7%;height:auto;left:-63.55%;top:-4.26px}
@media(min-width:721px){.map-stage{position:sticky;top:16px;min-height:650px}.map-stage #map{height:calc(100svh - 120px);min-height:650px;max-height:1000px}.map-stage:not(.has-detail) .city-mark{font-size:12px}}
.map-stage:not(.has-detail) .city-mark:hover span,.map-stage:not(.has-detail) .city-marker:focus-visible span{background:var(--orange);color:#080808}
.map-stage:not(.has-detail) .city-mark:hover i{box-shadow:0 0 0 5px #ef4b162b}
@media(min-width:1600px){.method-layout{grid-template-columns:minmax(0,1fr) 190px;gap:26px}.method-steps p{font-size:18px}.method-steps article{margin-bottom:30px}.character{width:115px;height:341px}.nora img{top:-11.67px}.brahim{width:115px;height:334px}.brahim img{top:-4.9px}}
@media(max-width:720px){
 main{display:flex;flex-direction:column}.intro{display:contents}.intro h1{order:0;align-self:stretch;margin:24px 22px 12px;font-size:clamp(25px,7.2vw,38px);text-align:left}
 .map-stage{order:1;position:relative;top:auto;align-self:stretch}.method{order:2;margin:24px 22px 32px}.method-layout{grid-template-columns:minmax(0,1fr) 80px;gap:14px}.method h2{font-size:18px}.method-steps h3{font-size:16px}.method-steps p{font-size:15px;line-height:1.6}.character{width:78px;height:233px}.nora img{top:-7.92px}.brahim{width:78px;height:227px}.brahim img{top:-3.32px}.method-characters{justify-content:space-around}.map-stage:not(.has-detail) .city-mark{font-size:9px}
}

/* Balanced text and map, with a simple contact footer. */
.method-layout{display:block}.method-steps article:last-child{margin-bottom:0}
.site-footer{margin:0 3.5vw;padding:22px 0 28px;border-top:1px solid #666;display:flex;justify-content:space-between;gap:20px;font-size:14px;line-height:1.5}
.site-footer a{color:var(--text);text-decoration:none}.site-footer a:hover{color:var(--orange)}
@media(min-width:721px){main{grid-template-columns:42% 58%;align-items:stretch;min-height:0}.intro{padding:44px 36px 44px 3.5vw}.map-stage{position:relative;top:auto;align-self:stretch;margin:24px 2.5vw 24px 0;min-height:700px}.map-stage #map{height:100%;min-height:700px;max-height:none;flex:1}.intro h1{font-size:clamp(28px,2.8vw,49px)}}
@media(max-width:720px){.site-footer{margin:0 22px;padding:20px 0;flex-wrap:wrap;gap:12px;font-size:12px}.site-footer a:last-child{margin-left:auto}}

/* Minimal local exploration: markers, names and one quiet legend. */
.map-key{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;padding:16px 8px;font-size:12px;line-height:1.5;color:#ddd;flex:none}
.map-key span{display:flex;align-items:center;gap:7px}.map-key i{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none}.key-community{background:var(--orange)}.key-college{background:#111;border:1px solid #eee}.key-lycee{background:#fff;border:1px solid #555}.key-club{background:#009b77}
.school-mark{width:16px;height:16px;margin:10px;border-width:1.5px;box-shadow:0 1px 4px #0005}.club-mark{width:16px;height:16px;margin:10px;border-width:1.5px;box-shadow:0 1px 4px #0005}
.local-explore .city-marker,.local-explore .city-marker *{pointer-events:none!important}.local-explore .city-mark i{pointer-events:auto!important;cursor:pointer}.local-explore .city-mark span{display:none}
.local-explore .leaflet-control-zoom,.regional-view .leaflet-control-zoom{display:block!important}.local-explore .leaflet-top.leaflet-right{left:auto;right:0}.local-explore .leaflet-control-zoom{margin-top:72px!important}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#111;color:#f2f1ee}.leaflet-popup-content-wrapper{border-radius:7px;box-shadow:0 2px 9px #0004}.leaflet-popup-content{margin:14px 28px 14px 16px;font:14px/1.4 var(--font)}.leaflet-popup-close-button{color:#ccc!important}.leaflet-control-attribution{font:9px/1.3 Arial,sans-serif!important;background:#ffffffb8!important;color:#555!important;padding:1px 3px!important}.leaflet-control-attribution a{color:#555!important}
.local-explore #schools-panel,.local-explore .schools-cta{display:none!important}
@media(min-width:721px){.map-stage #map{height:auto;min-height:650px}}
@media(max-width:720px){.map-stage.local-explore #map{height:480px}.map-key{gap:10px;font-size:10px;padding:12px 6px}.map-stage.city-picker #map{display:block;height:320px}.map-stage.city-picker{padding-top:0}.map-stage.city-picker #detail{margin-top:16px}}

/* Show the key only when exploring a city. */
.map-stage:not(.local-explore) .map-key{display:none}

/* Nearby places regroup at a distance; individual points keep their real coordinates. */
.place-cluster{display:grid;place-items:center;border-radius:50%;background:#111;color:#fff;border:2px solid #fff;box-shadow:0 1px 5px #0005;font:14px/1 var(--font);font-weight:600;cursor:pointer}
.place-cluster.lycee{background:#fff;color:#111;border-color:#333}.place-cluster.club{background:#009b77;border-color:#fff}.place-cluster.mixed{background:conic-gradient(#111 0 33%,#fff 33% 66%,#009b77 66%);border:0}.place-cluster.mixed span{display:grid;place-items:center;width:28px;height:28px;background:#111;border-radius:50%;color:#fff}
.local-explore .city-marker{z-index:5000!important}.leaflet-cluster-spider-leg{display:none!important}

.map-sources{grid-column:1 / -1;color:#aaa;font-size:12px;line-height:1.6;max-width:850px;margin:0 auto 20px;padding:0 20px}.map-sources summary{cursor:pointer;text-align:center;padding:10px}.map-sources a{color:inherit;text-underline-offset:3px}.map-stage:not(.local-explore) .map-sources{display:none}

/* Context remains outside the map so it never covers places. */
.map-navigation{order:-1;flex:none;padding:0 0 14px;display:flex;flex-direction:column;gap:8px;position:relative;z-index:2}
.map-navigation[hidden]{display:none!important}.map-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;line-height:1.4}
.map-breadcrumb button{padding:8px 0;min-height:40px;color:#b9b7b3;text-align:left}.map-breadcrumb button+button:not([hidden]):before{content:'›';color:#777;margin-right:8px}
.map-breadcrumb #territory-title{color:var(--orange);font-size:18px;font-weight:600}.map-breadcrumb button:disabled{cursor:default;opacity:1}
.map-location{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;font-size:13px}
#map-sector{flex:1;min-width:130px;line-height:1.5;color:#eee}#map-back{min-height:40px;padding:8px 13px;border:1px solid #666;border-radius:24px;font-size:12px;flex:none}
.local-explore .map-top,.regional-view .map-top{display:none!important}.local-explore .leaflet-control-zoom,.regional-view .leaflet-control-zoom{margin-top:14px!important}
.edge-clipped{visibility:hidden!important;pointer-events:none!important}
@media(max-width:720px){.map-navigation{padding:0 8px 12px}.map-breadcrumb{font-size:12px}.map-breadcrumb #territory-title{font-size:16px}.map-location{font-size:12px}#map-back{font-size:11px}}
.map-navigation{position:sticky;top:0;background:var(--bg);z-index:1100;padding-top:8px}

.cluster-expanded{visibility:hidden!important;pointer-events:none!important}

/* Toulouse test: community cards aligned with a satellite territory explorer. */
body.toulouse-page main{display:block}.toulouse-page .intro{display:none}
.map-stage.toulouse-view{display:grid;grid-template-columns:250px minmax(0,1fr) 290px;grid-template-rows:auto minmax(600px,calc(100svh - 240px));gap:20px;margin:24px 3.5vw;min-height:0;align-items:start}
.toulouse-view .map-navigation{grid-column:1/-1;grid-row:1;position:relative;top:auto;padding:0}.toulouse-view .map-location{display:none}.toulouse-view .map-breadcrumb{font-size:16px}.toulouse-view .map-breadcrumb #territory-title{font-size:24px}
.map-stage.toulouse-view #map{grid-column:2;grid-row:2;position:relative!important;inset:auto;width:100%;height:100%;min-height:600px;border-radius:0;overflow:hidden;background:#182d24}
.toulouse-view .satellite-tiles{filter:none!important;opacity:1!important}.toulouse-view .leaflet-top.leaflet-right{right:0;left:auto}.toulouse-view .leaflet-control-zoom{margin-top:14px!important}
.toulouse-community{grid-column:1;grid-row:2}.toulouse-territory{grid-column:3;grid-row:2;height:100%;display:flex;flex-direction:column;min-height:0;background:#080808}
.toulouse-community[hidden],.toulouse-territory[hidden]{display:none!important}
.toulouse-community h2,.toulouse-territory h2{font:400 17px/1.5 var(--font);margin:0 0 16px;color:#f2f1ee}
.toulouse-profiles{display:flex;flex-direction:column;gap:22px}.toulouse-profile{display:block;width:100%;padding:0;text-align:left;background:#101010;border:1px solid #444;border-radius:0;overflow:hidden;cursor:pointer}.toulouse-profile img{display:block;width:100%;height:auto}.toulouse-profile>span{display:block;padding:12px 14px}.toulouse-profile strong{display:block;font-size:17px;font-weight:400;color:var(--orange);line-height:1.4}.toulouse-profile small{display:block;font-size:14px;line-height:1.5;color:#ddd;margin-top:7px}.toulouse-profile:hover{border-color:var(--orange)}
.toulouse-profile:focus-visible,.territory-filters button:focus-visible,.territory-place:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.territory-caption{font-size:14px;color:#aaa;margin:-8px 0 16px}.territory-filters{display:flex;flex-direction:column;border-top:1px solid #555}
.territory-filters button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 0;text-align:left;border-bottom:1px solid #333;font-size:14px;line-height:1.4;color:#ddd}.territory-filters button strong{font-weight:400;font-size:18px;color:#fff}.territory-filters button[aria-pressed=true],.territory-filters button[aria-pressed=true] strong{color:var(--orange)}.territory-filters button:disabled{opacity:.45;cursor:default}
.territory-list-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:24px 0 8px}.territory-list-head h3{font:400 14px/1.5 var(--font);margin:0}.territory-list-head>span{font-size:14px;color:var(--orange)}
#territory-place-list{min-height:100px;flex:1;overflow-y:auto;scrollbar-width:thin}.territory-place{display:block;width:100%;padding:12px 0;text-align:left;border-bottom:1px solid #333}.territory-place strong{display:block;font-size:14px;line-height:1.5;font-weight:400}.territory-place small{display:block;font-size:13px;margin-top:3px;color:#aaa}.territory-place:hover strong{color:var(--orange)}
.toulouse-sources{font-size:13px;line-height:1.55;color:#aaa;margin-top:15px}.toulouse-sources summary{cursor:pointer;min-height:40px;padding:8px 0}.toulouse-sources p{margin:10px 0}
.toulouse-place-marker span{display:block;width:12px;height:12px;margin:6px;background:var(--orange);border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px #0008}.toulouse-view .place-cluster{background:#111;color:#fff;border:1px solid var(--orange);font-size:14px}.toulouse-place-label{background:#080808;color:#fff;border:0;box-shadow:none;font:14px/1.4 var(--font);border-radius:0}.toulouse-view .leaflet-popup-content a{display:block;color:var(--orange);margin-top:10px;font-size:14px}
#profile-sheet-dialog{padding:0;border:1px solid #555;background:#080808;max-width:calc(100vw - 32px);width:min(1300px,calc(100vw - 32px));max-height:calc(100svh - 32px);overflow:auto}#profile-sheet-dialog::backdrop{background:#000d}#profile-sheet-image{display:block;width:100%;height:auto}#close-sheet{position:sticky;float:right;top:8px;right:8px;z-index:1;margin:8px 8px -52px 0;width:44px;height:44px;border:1px solid #777;border-radius:50%;background:#080808;color:#fff;font:28px/1 Arial,sans-serif}
@media(min-width:1450px){.map-stage.toulouse-view{grid-template-columns:300px minmax(0,1fr) 320px;gap:26px}.toulouse-profile>span{padding:14px 16px}}
@media(max-width:1050px) and (min-width:721px){.map-stage.toulouse-view{grid-template-columns:200px minmax(0,1fr) 240px;gap:14px;margin:18px 20px;grid-template-rows:auto minmax(660px,calc(100svh - 200px))}.toulouse-profile strong{font-size:16px}.toulouse-profile small{font-size:14px}}
@media(max-width:720px){.map-stage.toulouse-view{display:flex;flex-direction:column;gap:22px;padding:0;margin:20px 16px}.toulouse-view .map-navigation{order:0;align-self:stretch}.toulouse-view .map-breadcrumb #territory-title{font-size:20px}.toulouse-community{order:1;width:100%}.toulouse-profiles{gap:14px}.toulouse-profile{display:grid;grid-template-columns:44% 56%;align-items:center}.toulouse-profile>span{padding:12px}.toulouse-profile strong{font-size:16px}.toulouse-profile small{font-size:14px}.toulouse-territory{order:2;width:100%;height:auto}.territory-filters{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.territory-filters button{font-size:14px;min-height:58px}#territory-place-list{max-height:240px;min-height:0}.map-stage.toulouse-view #map{order:3;flex:none;height:480px;min-height:480px}.toulouse-sources{margin-top:12px}.toulouse-community h2,.toulouse-territory h2{font-size:17px}}
.toulouse-view .toulouse-community{height:100%;overflow-y:auto;scrollbar-width:thin}.toulouse-profile>span{padding:10px 12px}.toulouse-profile strong{font-size:16px}.toulouse-profiles{gap:18px}
@media(max-width:720px){.toulouse-view .toulouse-community{height:auto;overflow:visible}.toulouse-profile{grid-template-columns:54% 46%}.toulouse-profile strong{font-size:16px}}

/* Keep expanded source notes inside the territory panel, above the footer. */
.toulouse-sources{flex-shrink:0;min-height:0}
.toulouse-sources[open]{flex:0 1 auto;max-height:45%;overflow-y:auto;scrollbar-width:thin}
.toulouse-sources summary{position:sticky;top:0;background:var(--bg);z-index:1}
@media(max-width:720px){.toulouse-sources[open]{max-height:none;overflow:visible}.toulouse-sources summary{position:static}}

@media(max-width:720px){.toulouse-profile{display:block}}

.city-label-guides{position:absolute;inset:0;z-index:650;pointer-events:none;overflow:hidden}.local-explore .city-label-guides{display:none}
