/* Home — page styles */
/* Experience: accordion + illustrations (state lives in data-exp on [data-ref=expBox] and .is-on on items/illustrations) */
.exp-fill{position:absolute;inset:0;background:#1d3a66;transform-origin:50% 0;transform:scaleY(0);transition:transform 0s}
.exp-item.is-on .exp-fill{transform:scaleY(1);transition:transform .5s cubic-bezier(.32,.72,0,1)}
.exp-title{color:#7d8794}
.exp-item.is-on .exp-title{color:#0f141b}
.exp-title > span{background-image:linear-gradient(#b4bcc8,#b4bcc8)}
.exp-item.is-on .exp-title > span{background-image:linear-gradient(#14181f,#14181f)}
.exp-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .6s cubic-bezier(.32,.72,0,1)}
.exp-item.is-on .exp-body{grid-template-rows:1fr}
.exp-body p{opacity:0;transform:translateY(14px);transition:opacity .5s ease 0s,transform .6s cubic-bezier(.32,.72,0,1) 0s}
.exp-item.is-on .exp-body p{opacity:1;transform:translateY(0);transition-delay:.12s}
.exp-item.is-before .exp-body p{transform:translateY(-14px)}
.ill{opacity:0;transform:translateY(10px);transition:opacity .6s ease 0s,transform .9s cubic-bezier(.32,.72,0,1) 0s}
.ill.is-on{opacity:1;transform:translateY(0);transition-delay:.35s}
.ill [data-draw]{stroke-dashoffset:1;transition:stroke-dashoffset 0s}
.ill.is-on [data-draw]{stroke-dashoffset:0;transition:stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1) .5s}
.exp-board{top:50%;transform:translateY(-50%) scale(1)}
.has-exp .exp-board{top:100%;transform:translateY(-100%) scale(.92)}
.exp-art{--u:1}
@media (max-width:999.98px){.exp-art{--u:1.4}}
@media (max-width:639.98px){.exp-art{--u:2}}
/* Phone layout; the shared part is at the end of css/site.css */
@media (max-width:767.98px){
  [data-ref="objRef"]{height:300vh !important}
  .page > [data-screen-label="03 Statement"]{padding-top:0 !important}
  html[lang^="en"] [data-screen-label="03 Statement"] > p{max-width:5.9em !important}
  /* Summit: the ridge runs wider than the screen, with the peak (46.667% of the drawing) in the middle */
  .page > [data-screen-label="04 The Summit"]{padding-top:calc(var(--m-sec) + 130px) !important;padding-bottom:var(--m-sec) !important}
  .summit{width:180vw;margin-left:calc(50vw - 84vw - var(--m-gut))}
  .summit svg{clip-path:inset(-60% 0 3px 0)}
  .summit__label{width:calc(100vw - 2 * var(--m-gut));white-space:normal !important}
  .summit__label > div{text-wrap:balance}
  .page > [data-screen-label="05 The Experience"]{padding-bottom:0 !important;scroll-margin-top:100px}
  .page > [data-screen-label="05 The Experience"] > div:first-child{padding:0 !important}
  html[lang^="fr"] [data-wrise] > span{max-width:7.6em}
  .exp-title{text-wrap:balance !important}
  .exp-card{margin-top:48px !important;padding:24px 20px 28px !important;gap:24px !important}
  .exp-card > div:last-child{margin:0 -16px;flex-basis:auto !important;width:calc(100% + 32px)}
  .page > [data-screen-label="07 The Board"]{padding-top:var(--m-sec) !important;padding-bottom:0 !important}
  .page > [data-screen-label="07 The Board"] > div:first-child{gap:15vw !important}
  [data-ref="edRef"]{margin-top:var(--m-sec) !important}
  [data-ref="edRef"] p{margin-top:20px !important}
  .page > [data-screen-label="07 The Board"] > img{width:calc(100% + 2 * var(--m-gut)) !important;margin:32px calc(-1 * var(--m-gut)) 0 !important}
  .page > [data-screen-label="08 Request an Amontier"]{padding-top:var(--m-mid) !important;padding-bottom:var(--m-mid) !important}
  .page > [data-screen-label="09 Closing"]{height:clamp(400px,115vw,520px) !important}
}
