/* Sutunam 5 years (page-5-years.php): the 2015 sutunam.fr art direction rebuilt. Everything is scoped under .x5. */
body.x5-page{margin:0;background:#221f26}
.x5{--x5-orange:#ef5c22;--x5-ink:#27242b;position:relative;color:#fff;font-family:Montserrat,Arial,sans-serif;font-weight:300}
.x5 *{box-sizing:border-box}
.x5-logo{position:fixed;top:24px;left:28px;z-index:20;height:36px;width:122px;display:block}
.x5-logo img{position:absolute;inset:0;height:36px;width:auto;transition:opacity .4s;opacity:0}
.x5-logo .x5-l-color{opacity:1}
body.x5-on-dark .x5-logo .x5-l-color,body.x5-on-white .x5-logo .x5-l-color{opacity:0}
body.x5-on-dark .x5-logo .x5-l-dark{opacity:1}
body.x5-on-white .x5-logo .x5-l-white{opacity:1}
.x5-langs{position:fixed;top:26px;right:28px;z-index:20;display:flex;gap:14px;margin:0;padding:0;list-style:none;font-weight:500;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.x5-langs a{color:#fff;text-decoration:none;opacity:.6;transition:opacity .2s,color .4s}
.x5-langs a:hover,.x5-langs a[aria-current]{opacity:1}
body.x5-on-white .x5-langs a{color:var(--x5-ink)}
.x5-pin{position:relative}
.x5-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.x5 svg.x5-art{position:absolute;inset:0;width:100%;height:100%}
/* Lion (2015 home) */
#x5-hero{height:520vh;background:#e9551b}
#x5-hero .x5-stage{background:#e9551b url(img/background_lion_gradient.webp) no-repeat center/cover}
/* phones: the lion screen fills the large viewport (address bar hidden) so the gradient never ends above it;
   the scroll hint stays above the bar while it is shown */
@supports (height:100lvh){#x5-hero .x5-stage{height:100lvh}#x5-hero .x5-hint{bottom:calc(6svh + 100lvh - 100svh)}}
.x5-ovl{position:absolute;left:0;right:0;top:45%;height:550px;background:url(img/overlay.webp) no-repeat 50%/120%;opacity:0}
.x5-tri{position:absolute;background-repeat:no-repeat;background-size:100%;will-change:transform}
.x5-t1{background-image:url(img/triangle01.svg);width:746px;height:595px;left:-100px;bottom:-100px}
.x5-t2{background-image:url(img/triangle02.svg);width:261px;height:128px;left:35%;bottom:-10%}
.x5-t3{background-image:url(img/triangle03.svg);width:315px;height:251px;right:350px;bottom:50px}
.x5-t4{background-image:url(img/triangle04.svg);width:39px;height:66px;left:20%;top:20%}
.x5-t5{background-image:url(img/triangle05.svg);width:21px;height:24px;left:80%;top:20%}
.x5-t6{background-image:url(img/triangle06.svg);width:182px;height:155px;top:-10%;left:75%}
.x5 h1.x5-headline{position:absolute;left:0;right:0;top:61%;margin:0;padding:0;text-align:center;font-weight:normal;z-index:3;pointer-events:none;line-height:1.2}
.x5-heading{display:block;text-transform:uppercase;color:#fcfaf2;font-weight:200;font-size:4.84vw;letter-spacing:30px;white-space:nowrap}
/* "5 years" and "5 projects" stacked in one grid cell, each line centred on its own */
.x5-heading{display:grid;justify-items:center}
.x5-w1,.x5-w2{grid-area:1/1;display:block}
.x5-w2{opacity:0}
.x5-small{display:block;padding:20px 0 0 50px;color:#93340e;font-weight:400;font-size:17px;letter-spacing:10px;text-transform:uppercase}
.x5-small b{font-weight:500;color:#a52a2a}
.x5-hint{position:absolute;left:50%;bottom:6%;transform:translateX(-50%);z-index:4;display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:500;font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:#fcfaf2}
.x5-hint i{display:block;width:22px;height:34px;border:2px solid #fcfaf2;border-radius:12px;position:relative}
.x5-hint i:after{content:"";position:absolute;left:50%;top:6px;width:3px;height:7px;margin-left:-1.5px;border-radius:2px;background:#fcfaf2;animation:x5wheel 1.6s infinite}
@keyframes x5wheel{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(10px)}}
/* 2015 slogan "5 years with Sutunam" (English image in every language), bottom right: the cookie button is bottom left */
.x5-slogan{position:fixed;right:28px;bottom:26px;z-index:20;opacity:0;transform:translateY(120%);pointer-events:none;will-change:transform,opacity}
.x5-slogan img{display:block;width:87px;height:23px}
/* Sections carry their stage colour: on phones the visible area grows when the address bar hides */
/* Projects (2015 slider) */
#x5-projects{height:1250vh;background:#221f26}
#x5-projects .x5-stage{background:#221f26}
.x5-txtbg{position:absolute;top:40%;left:10%;z-index:1}
.x5-txtbg p{position:relative;overflow:hidden;margin:0;white-space:nowrap}
.x5-brand{display:inline-block;font-weight:900;font-size:12.5vw;letter-spacing:.2em;line-height:100%;color:rgba(254,255,255,.11);white-space:nowrap;margin:0}
.x5-cover{position:absolute;top:15%;right:0;bottom:10%;left:0;transform:translateX(-101%)}
.x5-prj{position:absolute;top:50%;left:15%;z-index:3}
.x5-prj p{position:relative;margin:0;padding-bottom:10px;font-weight:500;font-size:12px;letter-spacing:.2em;text-transform:uppercase}
.x5-prj p:after{content:"";position:absolute;bottom:0;left:0;width:205px;height:1px;background:currentColor}
.x5-count{display:block;margin-top:18px;font-weight:400;font-size:11px;letter-spacing:.3em;color:rgba(255,255,255,.55)}
.x5-dots{position:absolute;right:28px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;z-index:3}
.x5-dots b{display:block;width:8px;height:8px;border-radius:50%;border:1.5px solid rgba(255,255,255,.8);transition:background .3s}
.x5-dots b.on{background:#fff}
/* Look back (2015 about page, white art direction) */
#x5-about{height:520vh;color:var(--x5-ink);background:#fff}
#x5-about .x5-stage{background:#fff}
.x5-block{position:absolute;inset:0;will-change:transform}
.x5-bglion{position:absolute;right:-10%;top:0;height:100%;width:auto;max-width:none;filter:grayscale(100%);opacity:0;will-change:transform,opacity;z-index:0}
.x5-abtri{position:absolute;will-change:transform,opacity;z-index:1;max-width:none}
.x5-b1 h2{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;text-align:center;letter-spacing:.2em;font-weight:normal;z-index:2;text-transform:uppercase;width:100%;line-height:1.25}
.x5-b1 .x5-hm{display:block;color:var(--x5-ink);font-weight:300;font-size:clamp(34px,3.3vw,63px)}
.x5-b1 .x5-hl{display:block;color:var(--x5-orange);font-weight:400;font-size:clamp(44px,4.3vw,83px)}
.x5-b1 .x5-hxxs{display:block;margin-top:14px;color:#c3bdca;font-weight:400;font-size:18px}
.x5-b1 .x5-hxxs em{font-style:normal;font-weight:500}
.x5-b2{z-index:2}
.x5-b2:after{content:"";position:absolute;top:30px;right:-200px;bottom:0;left:-200px;background:var(--x5-ink);transform:skew(-196deg,-175deg);z-index:0}
.x5-b2 h2{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;width:min(960px,92vw);text-align:center;text-transform:uppercase;letter-spacing:.17em;font-weight:normal;z-index:3}
.x5-b2 .x5-hl{display:block;font-weight:300;font-size:clamp(26px,3.3vw,63px);color:#fdfdfd;line-height:150%}
.x5-b2 .x5-hl em{font-style:normal;font-weight:200;color:var(--x5-orange)}
.x5-t1b{position:absolute;top:30%;right:-2%;width:605px;max-width:50vw;z-index:2}
.x5-b3{z-index:3;background:#fff}
.x5-inner{position:absolute;inset:0;max-width:1200px;margin:auto;padding:110px 50px 0;z-index:2}
.x5-b3 h2{margin:0 0 50px;text-transform:uppercase;font-weight:normal;line-height:1}
.x5-b3 h2 span{display:block;font-weight:700;font-size:clamp(40px,4.3vw,83px);letter-spacing:.2em;color:var(--x5-ink)}
.x5-b3 h2 em{font-style:normal;color:var(--x5-orange)}
.x5-cols{display:grid;grid-template-columns:1fr 1fr;gap:50px}
.x5-b3 h3{margin:0 0 14px;font-weight:500;font-size:13px;letter-spacing:.3em;color:var(--x5-orange);text-transform:uppercase}
.x5-b3 p,.x5-b3 li{font-weight:400;font-size:17px;line-height:27px;color:var(--x5-ink);margin:0}
.x5-b3 ul{margin:0;padding-left:18px;list-style:disc}.x5-b3 li{list-style:disc;margin-bottom:4px}
.x5-cta{display:inline-block;margin-top:40px;padding:22px 34px;background:#fff;box-shadow:0 3px 15px rgba(0,0,0,.08);color:var(--x5-orange);font-weight:700;font-size:14px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;transition:all .3s ease-out}
.x5-cta:hover,.x5-cta:focus{background:var(--x5-orange);color:#fff}
.x5-foot{margin-top:40px;font-weight:500;font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:#c3bdca}
@media (max-width:900px){
 .x5-heading{font-size:9vw;letter-spacing:.2em}.x5-small{padding-left:0;font-size:13px;letter-spacing:6px}
 .x5-t1,.x5-t2,.x5-t3,.x5-t4,.x5-t5,.x5-t6{display:none}
 .x5-txtbg{left:5%}.x5-prj{left:16px}
 /* the grey lion faces left: on narrow screens anchor it left so the face shows */
 .x5-bglion{right:auto;left:0;top:14%;width:120vw;height:auto}
 /* hero lion larger on portrait screens, above the headline */
 #x5-lion{left:-45%;right:auto;width:190%;top:9%;bottom:auto;height:46%}
 .x5-cols{grid-template-columns:1fr;gap:24px}.x5-inner{padding:84px 16px 0}.x5-b3 h2{margin-bottom:24px}
 .x5-b3 p,.x5-b3 li{font-size:14px;line-height:22px}.x5-cta{margin-top:24px;padding:16px 22px}.x5-foot{margin-top:24px}
 .x5-logo{top:16px;left:16px}.x5-langs{top:20px;right:16px}
}
@media (prefers-reduced-motion:reduce){.x5-hint i:after{animation:none}}
/* touch: snap points, one swipe = one step (x5.js addSnaps) */
.x5-snap{position:absolute;left:0;width:1px;height:1px;scroll-snap-align:start;scroll-snap-stop:always;pointer-events:none}
