:root{--copy-exit:850ms}
/* Keep outgoing copy readable while the film waits for its reviewed cut. */
.chapter.title-waiting{opacity:.28;transition:opacity 950ms ease;pointer-events:none}
.outgoing-copy{overflow:hidden}
#sector-wave-labels,#sector-mobile-labels{opacity:1;transition:opacity 950ms ease}
.sector-leaving #sector-wave-labels,.sector-leaving #sector-mobile-labels{opacity:0}
.chapter.is-hidden.title-preview{transition:none}
.chapter.title-preview :is(#execution-journey,#execution-arrival,.sector-copy){visibility:visible}
#story #execution-title,#story #sectors-title{white-space:nowrap;text-wrap:nowrap;font-size:clamp(30px,3.7vw,64px);max-width:100%;line-height:1.12}
#story [data-section=execution]{max-width:min(880px,100%)}
.sector-copy{width:min(53vw,760px);max-width:none}
.sector-copy .lead{max-width:460px}
.sector-copy .sector-notes{gap:17px;margin-top:24px}
.sector-copy .sector-notes p{max-width:none;white-space:nowrap;font-size:clamp(13px,1.1vw,17px)}
.sector-notes .other{--family:var(--sector-other)}
.execution-fragment{font-size:clamp(23px,2.1vw,34px);font-weight:500;color:#fffaf0;text-shadow:0 2px 12px #03131d;min-height:1.5em;--copy-duration:var(--fragment-fade,300ms)}
#sectors-journey{width:min(53vw,760px)}#sectors-fragment{margin-top:0;min-height:4.5em;line-height:1.3}
/* The tube shows only its sentences; the chapter title waits for the landing. */
.chapter.title-preview.fragment-journey h2,.chapter.title-preview.fragment-journey h2 *{visibility:hidden}
.chapter.title-preview.fragment-journey #sectors-journey,.chapter.title-preview.fragment-journey #sectors-journey *{visibility:visible}
/* Story options under review (storyOptions, ?debug=rhythm). Defaults leave these rules idle. */
.chapter.title-preview.body-preview *{visibility:visible}
.chapter.title-held h2,.chapter.title-held h2 *{visibility:hidden}
.chapter.title-preview.fragment-journey.title-early h2,.chapter.title-preview.fragment-journey.title-early h2 *{visibility:visible}
/* 2026-10-12 : affichage des phrases Founders accéléré d'environ 15 % (fondu d'écriture 550 → 460 ms, rangement .9 → .75 s ;
   la tenue en grand est storyOptions.foundersHold, 1.1 → .95 s). Les cues vidéo ne changent pas. */
.founder-lines{--founder-write:460ms;--founder-settle:.75s}
.founder-lines p{--copy-duration:var(--founder-write)}
.founder-lines p.entering,.founder-lines p.settling{position:relative;z-index:2;transform-origin:left center}
.founder-lines p.entering{transform:translateY(var(--enter-shift,0px)) scale(var(--enter-scale,1.8));color:#fffaf0;transition:none}
.founder-lines p.lasting.entering{color:var(--gold)}
.founder-lines p.settling{transform:none;transition:transform var(--founder-settle) cubic-bezier(.22,.72,.16,1),color var(--founder-settle) ease}
/* Phones: the entering line grows through its font size (it may wrap) instead of a transform clamped by the narrow column. */
@media(max-width:700px){.founder-lines p.entering{transform:none;font-size:calc(1em*var(--enter-scale,1.5))}.founder-lines p.settling{transition:font-size var(--founder-settle) cubic-bezier(.22,.72,.16,1),transform var(--founder-settle) cubic-bezier(.22,.72,.16,1),color var(--founder-settle) ease}}
#execution-arrival-tube .tube-lines{margin-top:26px;display:grid;gap:12px;max-width:560px}
#execution-arrival-tube .tube-lines p{font-size:clamp(.95rem,1.15vw,1.1rem);line-height:1.55;color:var(--soft)}
body[data-story=tube] #sectors-fragment{font-size:clamp(30px,3.4vw,56px);line-height:1.15;letter-spacing:-.02em;min-height:2.4em}
@media(max-width:700px){#execution-arrival-tube .tube-lines p{font-size:14px}body[data-story=tube] #sectors-fragment{font-size:28px}}
.playback-controls{position:relative}
#journey-hint{position:static;max-width:300px;font-size:11px;line-height:1.5;text-align:right;margin:0 8px 0 0;color:var(--ink)}
.map-credits-link{display:none;font-size:11px;letter-spacing:0;text-decoration:underline;text-underline-offset:3px}
body[data-chapter=south-west] .map-credits-link{display:inline-flex;align-items:center;min-height:44px}
body[data-chapter=south-west] #story{bottom:135px}
.film-legal-link{min-height:44px;display:inline-flex;align-items:center;letter-spacing:0}
/* Les pilules du portfolio ne concernent plus que le téléphone (2026-10-07) : sur ordinateur, band.css impose le bandeau. */
@media(max-width:700px){
body.portfolio-v10-visible .film-controls{background:linear-gradient(0deg,rgba(5,24,31,.8),rgba(5,24,31,.18) 75%,transparent);color:#fffaf0;padding-top:32px}
body.portfolio-v10-visible .film-legal-link{padding:0 14px;border:1px solid #fffaf05c;border-radius:24px;background:#071d2bdc;color:#fffaf0;font-size:12px;text-shadow:none}
body.portfolio-v10-visible .playback-controls{padding:6px 10px;border:1px solid #fffaf05c;border-radius:32px;background:#071d2bec;color:#fffaf0;box-shadow:0 3px 18px #03131d24}
body.portfolio-v10-visible .playback-controls button{color:#fffaf0;border-color:#fffaf08c}
body.portfolio-v10-visible #next{background:#ecbf21;color:#071d2b;border-color:#ecbf21}
}
.team-close{justify-content:center;min-width:44px}
.team-panel .profile-intro{color:#edf1f1;font-size:15px;line-height:1.75}
.team-profile-links .profile-linkedin{width:44px;height:44px;justify-content:center;border:1px solid #fffaf05c;border-radius:50%}
.team-profile-links .profile-linkedin:hover{background:#fffaf015}
.team-person-nav{border-top:1px solid var(--line);padding-top:18px}
@media(min-aspect-ratio:4/5){
 .team-panel{width:320px;padding-right:20px;bottom:118px}
 /* 2026-10-12 : profil ouvert, même forme mais bien plus noir ; noms, colonne de 300px et plateau opaque 70px au-delà des traits avant le fondu. */
 /* 2026-10-12 : choix de Vincent, le même voile que la liste des noms (team-framing.css) sert aussi au profil ouvert. */
 body.team-profile-open[data-chapter=team] .shade,body[data-team-layout=index].team-profile-open[data-chapter=team] .shade{background:linear-gradient(90deg,#03131de8,rgba(3,19,29,.72) 22%,rgba(3,19,29,.10) 44%,transparent 61%),linear-gradient(0deg,#03131dcc,transparent 28%,transparent 81%,#03131d66),linear-gradient(270deg,#03131d55,transparent 15%)}
}
/* 2026-10-12 : traits raccourcis (300 → 250 px) pour garder de l'air avant le dégradé du voile (22 % de la largeur). */
@media(min-aspect-ratio:4/5) and (min-width:1101px){body[data-team-layout=index] .team-names{width:250px}}
@media(min-width:1800px){.team-panel{width:370px}.team-panel .profile-intro{font-size:17px}body[data-team-layout=index] .team-names{width:280px}}
@media(max-width:700px){
 #story #execution-title,#story #sectors-title{font-size:clamp(20px,6vw,38px)}
 #sectors-journey{width:auto}#sectors-fragment{font-size:21px;min-height:5.5em}
 .sector-copy{width:auto;max-width:none}
 .sector-copy .sector-notes{grid-template-columns:1fr;gap:11px;margin-top:16px}
 .sector-copy .sector-notes h3{font-size:14px;margin-bottom:3px}
 .sector-copy .sector-notes p{font-size:12px;line-height:1.45;white-space:normal}
 .sector-copy .lead{font-size:13px;line-height:1.5}
 #story .sector-chapter{gap:10px}
 .sector-ocean{height:clamp(75px,16svh,125px)}
 #journey-hint{position:absolute;right:0;bottom:calc(100% + 10px);width:max-content;max-width:calc(100vw - 48px);font-size:10px;margin:0;padding:6px 10px;border-radius:8px;background:#071d2bd9}
 .chapter-counter{flex-wrap:wrap;gap:0 10px}
 /* 2026-10-12 : 190 px au lieu de 145 pour que « Mentions légales » et « Crédits carte » tiennent sur une ligne en français
    (154 px) ; en état stable les commandes de droite (deux boutons) laissent au moins 100vw - 170px. */
 body[data-chapter=south-west] .chapter-counter{max-width:min(190px,calc(100vw - 170px))}
 .map-credits-link{font-size:10px;min-height:30px!important}
 body.portfolio-v10-visible .film-controls{padding-inline:16px;gap:8px}
 body.portfolio-v10-visible .playback-controls{gap:6px;padding:4px 7px}
 body.portfolio-v10-visible .film-legal-link{font-size:11px;padding:0 11px}
 body.portfolio-v10-visible #journey-hint{background:#071d2bf5}
}
@media(max-aspect-ratio:4/5){.team-panel{padding-inline:26px;padding-bottom:max(24px,env(safe-area-inset-bottom));background:#071d2b}.team-panel .profile-intro{margin-top:16px}.team-panel-head{padding-right:0}.team-person-nav{padding-top:12px}}
@media(max-height:560px) and (min-width:701px){.sector-copy{display:block;width:100%}.sector-copy .lead{max-width:48%;font-size:13px}.sector-copy .sector-notes{position:absolute;left:55%;top:0;margin:0;gap:10px}.sector-copy .sector-notes p{font-size:12px}#story #execution-title,#story #sectors-title{font-size:30px}.team-panel{top:90px;bottom:85px}.team-panel .profile-intro{font-size:13px;line-height:1.55}.team-panel h3{font-size:27px}.team-person-nav{margin-top:8px;padding-top:8px}}
@media(prefers-reduced-motion:reduce){.chapter.title-waiting{opacity:1}.outgoing-copy{display:none}#sector-wave-labels,#sector-mobile-labels{transition:none}}
