/* Roelf Staal – story landing page. Matches the colours and font of the classic site. */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
ul{list-style:none}
:root{--card-border:rgba(100,100,100,.5);--bg:#000;--heading:#e1e1e1;--body:#fff1d0;--subtle:#c8c8c8;--muted:#888;--link:#b0c8e8;--accent:#7aa2c8;--border:rgba(100,100,100,.5);--font:'Raleway',sans-serif;--shadow:2px 2px 6px rgba(0,0,0,.85);--radius:12px}
html{scroll-behavior:smooth;color-scheme:dark}
body{font-family:var(--font);font-weight:400;font-size:1.1rem;line-height:1.7;color:var(--body);background:var(--bg);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--link)}
a:focus-visible,button:focus-visible,audio:focus-visible,video:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
img{display:block;max-width:100%;height:auto}
h1,h2,h3{color:var(--heading);font-weight:300;letter-spacing:.02em;line-height:1.25;text-shadow:var(--shadow)}
h1{font-size:clamp(2.6rem,8vw,5rem)}
h2{font-size:clamp(1.7rem,4.5vw,2.6rem);margin-bottom:1.2rem}
h3{font-size:1.3rem;font-weight:400;margin-bottom:.4rem}
p+p{margin-top:1rem}
p,li,figcaption{text-shadow:var(--shadow)}

/* Skip button: always visible */
.skip{position:fixed;top:12px;right:12px;z-index:100;display:inline-flex;align-items:center;min-height:44px;padding:0 1.1rem;border:1px solid rgba(200,200,200,.55);border-radius:999px;background:rgba(0,0,0,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size:.95rem;font-weight:500;text-decoration:none;text-shadow:none}
.skip:hover{background:rgba(30,30,30,.9);border-color:#fff}

/* Scenes */
.scene{position:relative;padding:clamp(4.5rem,14vh,9rem) 1.25rem;overflow:hidden}
.wrap{position:relative;z-index:1;max-width:960px;margin:0 auto}
.narrow{max-width:640px}
.hero{padding:0 0 clamp(3rem,10vh,6rem);text-align:center}
.hero .wrap{max-width:760px;padding-top:clamp(1.8rem,5vh,3rem)}
.banner{width:100%;background:#000}
.banner img{width:100%;height:auto;min-height:120px;object-fit:cover;object-position:center}
.namerow{display:flex;align-items:center;justify-content:center;gap:clamp(.8rem,2.4vw,1.4rem)}
.icon{width:clamp(64px,11vw,96px);height:auto;flex-shrink:0;border-radius:50%}
.hero .lead{margin-top:1.4rem;font-size:1.25rem;color:var(--subtle)}
.cue{display:inline-block;margin-top:2.2rem;color:var(--muted);font-size:.95rem;letter-spacing:.04em;text-decoration:none}
.cue span{display:block;margin-top:.3rem;font-size:1.4rem;animation:bob 2.2s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(6px)}}
.split{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
@media(min-width:760px){.split{grid-template-columns:1fr 1fr;gap:3rem}.split.flip>.pics{order:-1}}
.pics{display:grid;gap:1.2rem}
figure{margin:0}
figure img{width:100%;border-radius:var(--radius);border:1px solid var(--border)}
figcaption{margin-top:.55rem;font-size:.92rem;color:var(--subtle);line-height:1.5}
.small-pic{max-width:340px}
.logo-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}

/* Atmosphere backgrounds */
.bg{position:absolute;inset:0;z-index:0;overflow:hidden}
.bg img{width:100%;height:100%;object-fit:cover;opacity:.3}
.bg::after{content:"";position:absolute;inset:0;background:linear-gradient(#000 0,rgba(0,0,0,.25) 22%,rgba(0,0,0,.25) 78%,#000 100%)}
@supports (animation-timeline:view()){@media(prefers-reduced-motion:no-preference){.bg img{height:125%;animation:drift linear both;animation-timeline:view()}@keyframes drift{from{transform:translateY(-8%)}to{transform:translateY(8%)}}}}

/* Reveal on scroll (only when JS is on) */
.js .reveal{opacity:0;transform:translateY(60px);transition:opacity 1.5s ease,transform 1.5s ease}
.js .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}.cue span{animation:none}}

/* Instruments */
.cards{display:grid;grid-template-columns:1fr;gap:1.6rem;margin-top:2rem}
@media(min-width:820px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{border:1px solid var(--border);border-radius:var(--radius);background:rgba(10,10,10,.72);padding:1rem;display:flex;flex-direction:column;gap:.7rem}
.card picture{display:block}.card img{border-radius:8px;aspect-ratio:13/5;object-fit:cover;width:100%}
.card p{font-size:.98rem;line-height:1.55}
.card audio{width:100%;height:44px;margin-top:auto}
.gear{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-top:2.2rem}
@media(min-width:700px){.gear{grid-template-columns:1fr 1fr}}
.gear h3{font-size:1.1rem;color:var(--accent);text-transform:uppercase;letter-spacing:.1em;font-weight:500}
.gear li{font-size:1rem;line-height:1.9;color:var(--body)}

/* Video */
.vid{position:relative;max-width:900px;margin:2rem auto 0;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:#000}
.vid video{width:100%;height:auto;display:block;aspect-ratio:16/9;background:#000}

/* Lines */
.lines li{font-family:'Architects Daughter','Segoe Print','Bradley Hand','Comic Sans MS',cursive;font-size:1.25rem;font-weight:400;line-height:1.5;letter-spacing:.01em;color:var(--heading);padding:.4rem 0}
.lines li:last-child{color:var(--accent)}

/* Buttons and links */
.btn{display:inline-flex;align-items:center;min-height:44px;padding:0 1.3rem;border:1px solid rgba(200,200,200,.55);border-radius:999px;color:#fff;text-decoration:none;font-weight:500;background:rgba(0,0,0,.5);text-shadow:none}
.btn:hover{border-color:#fff;background:rgba(40,40,40,.8)}
.btn.main{margin-top:1.8rem;font-size:1.05rem;padding:0 1.8rem;border-color:var(--accent)}
.biotext{font-size:1.02rem;color:var(--subtle);line-height:1.75;text-align:justify;hyphens:auto;-webkit-hyphens:auto}
footer.end{padding:2.5rem 1.25rem 4rem;text-align:center;color:var(--muted);font-size:.9rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.shorts{margin-top:clamp(3rem,8vh,5rem)}
.shorts-title{text-align:center;margin-bottom:1.5rem}
.more-yt{text-align:center;margin-top:1rem}

/* Listen and explore */
.wrap.listen{max-width:780px}
.listen .logo-row{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:2rem}
.listen .logo-row .btn{min-height:40px;padding:0 .95rem;font-size:.9rem}
@media(min-width:700px){.listen .logo-row{flex-wrap:nowrap}}
.listen .enter{margin-top:3rem}

.bg.nebula img{opacity:.55}

/* Venonza: equal image heights */
#venonza .pics{align-items:start}
#venonza .pics img{width:100%;height:auto;aspect-ratio:1600/774;object-fit:cover}
figcaption em{font-style:italic}

.herobody{position:relative}
.herobody .bg::after{background:linear-gradient(#000 0,rgba(0,0,0,.2) 18%,rgba(0,0,0,.25) 82%,#000 100%)}

/* ===== Animations round (transform + opacity only) ===== */
:root{--ease:cubic-bezier(.2,.7,.2,1);--pop:cubic-bezier(.34,1.56,.64,1)}
.banner{overflow:hidden}
@supports (animation-timeline:scroll()){@media(prefers-reduced-motion:no-preference){
  .banner img{animation:bannerdrift linear both;animation-timeline:scroll(root);animation-range:0 70vh;transform-origin:50% 0}
  @keyframes bannerdrift{from{transform:translateY(0) scale(1)}to{transform:translateY(14%) scale(1.08)}}
}}
/* hero entrance, one after another */
.js .hero .namerow.reveal{transform:scale(.7) translateY(40px);transition:opacity 1.87s var(--ease) .17s,transform 1.87s var(--ease) .17s}
.js .hero .lead.reveal{transition:opacity 1.87s var(--ease) .77s,transform 1.87s var(--ease) .77s}
.js .hero .cue.reveal{transition:opacity 1.87s var(--ease) 1.36s,transform 1.87s var(--ease) 1.36s}
.js .hero .namerow.reveal.in{transform:none}
/* pictures: the grid fades in, each figure moves on its own */
.js .pics.reveal{opacity:1;transform:none;transition:none}
.js .pics.reveal figure{opacity:0;transition:opacity 1.7s var(--ease),transform 2.04s var(--ease);will-change:transform,opacity}
.js .pics.reveal.in figure{opacity:1;transform:none!important}
.js .pics.reveal figure:nth-child(2){transition-delay:.34s}
/* unfold, like a card turning towards you */
.js #keyboard .pics figure,.js #first-studio .pics figure,.js #today .pics figure{transform:perspective(900px) rotateX(-70deg) translateY(90px) scale(.85);transform-origin:50% 0}
/* angled slide-ins */
.js #norway .split:not(.flip) .pics figure{transform:perspective(1000px) translateX(170px) rotateY(-42deg) rotate(7deg);transform-origin:100% 50%}
.js #norway .split.flip .pics figure,.js #voice .pics figure{transform:perspective(1000px) translateX(-170px) rotateY(42deg) rotate(-7deg);transform-origin:0 50%}
.js #venonza .pics figure:nth-child(1),.js #universe .pics figure:nth-child(1),.js #netherlands .pics figure:nth-child(1){transform:perspective(1000px) translateX(-220px) rotateY(40deg) rotate(-6deg);transform-origin:0 50%}
.js #venonza .pics figure:nth-child(2),.js #universe .pics figure:nth-child(2),.js #netherlands .pics figure:nth-child(2){transform:perspective(1000px) translateX(220px) rotateY(-40deg) rotate(6deg);transform-origin:100% 50%}
.js .pics.reveal.in figure{transform:none}
/* instrument cards rise one after another */
.js .cards .card.reveal{transform:perspective(900px) translateY(120px) rotateX(22deg) scale(.86);transition:opacity 1.53s var(--ease),transform 1.87s var(--ease)}
.js .cards .card.reveal:nth-child(2){transition-delay:.26s}
.js .cards .card.reveal:nth-child(3){transition-delay:.51s}
.js .cards .card.reveal.in{transform:none}
/* video frame zooms in */
.js .vid.reveal{transform:scale(.68);transition:opacity 1.87s var(--ease),transform 2.38s var(--ease)}
.js .vid.reveal.in{transform:none}
/* the lines are written from left to right */
.js .lines li.reveal{transform:translateX(-60px);transition:opacity .85s ease,transform 1.7s var(--ease)}
.js .lines li.reveal.in{opacity:1;transform:none}
.js .lines li.reveal .w{display:inline-block;clip-path:inset(-15% 100% -15% 0);transition:clip-path 2.04s var(--ease) .17s}
.js .lines li.reveal.in .w{clip-path:inset(-15% -3% -15% 0)}
/* store buttons pop in */
.js .logo-row.reveal{opacity:1;transform:none;transition:none}
.js .logo-row.reveal .btn{opacity:0;transform:scale(.3) translateY(36px);transition:opacity .85s ease,transform 1.19s var(--pop)}
.js .logo-row.reveal.in .btn{opacity:1;transform:none}
.js .logo-row.reveal.in .btn:nth-child(2){transition-delay:.14s}
.js .logo-row.reveal.in .btn:nth-child(3){transition-delay:.27s}
.js .logo-row.reveal.in .btn:nth-child(4){transition-delay:.41s}
.js .logo-row.reveal.in .btn:nth-child(5){transition-delay:.54s}
.js .logo-row.reveal.in .btn:nth-child(6){transition-delay:.68s}
@media(prefers-reduced-motion:reduce){
  .js .hero .reveal,.js .pics.reveal figure,.js .cards .card.reveal,.js .vid.reveal,.js .lines li.reveal,.js .lines li.reveal .w,.js .logo-row.reveal .btn{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}
}

@media(max-width:700px){
  .js #norway .split:not(.flip) .pics figure{transform:perspective(900px) translateX(80px) rotateY(-35deg) rotate(6deg)}
  .js #norway .split.flip .pics figure,.js #voice .pics figure{transform:perspective(900px) translateX(-80px) rotateY(35deg) rotate(-6deg)}
  .js #venonza .pics figure:nth-child(1),.js #universe .pics figure:nth-child(1),.js #netherlands .pics figure:nth-child(1){transform:perspective(900px) translateX(-90px) rotateY(35deg) rotate(-5deg)}
  .js #venonza .pics figure:nth-child(2),.js #universe .pics figure:nth-child(2),.js #netherlands .pics figure:nth-child(2){transform:perspective(900px) translateX(90px) rotateY(-35deg) rotate(5deg)}
}

/* Hero lockup: big icon on the left, "Roelf Staal" large, "Ambient Music Voyages" below it (story.js sizes the phrase to the exact width of the name) */
.hero .wrap{max-width:900px}
.hero .lead{max-width:640px;margin-left:auto;margin-right:auto}
.hero h1.namerow{display:grid;grid-template-columns:auto auto;grid-template-areas:"icon nm" "icon tg";justify-content:center;align-items:center;column-gap:clamp(1.1rem,2.6vw,2rem);row-gap:.3rem;text-align:left;font-size:clamp(2.3rem,5.6vw,3.9rem);font-weight:300;letter-spacing:.03em;line-height:1.1}
.hero h1.namerow picture{grid-area:icon}
.hero h1.namerow .nm{grid-area:nm;align-self:end;justify-self:start;white-space:nowrap}
.hero h1.namerow .tg{grid-area:tg;align-self:start;justify-self:start;white-space:nowrap;font-size:.42em;letter-spacing:.07em;color:var(--subtle)}
.hero .namerow .icon{width:clamp(104px,14vw,176px)}
@media(max-width:700px){
  .hero h1.namerow{font-size:2.1rem;column-gap:1rem}
  .hero .namerow .icon{width:100px}
}

/* Fine-tuned backgrounds: Universe starts behind First studio, Listen starts a little higher */
#universe,#listen{overflow:visible}
#universe .bg{top:-14rem}
#listen .bg{top:-8rem}
.bg.photo img{opacity:.3}
/* links in the videos section */
.textlink{color:var(--link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
.textlink:hover{color:#fff}
.vid .vidlink{display:block;color:inherit;cursor:pointer}
.vid .vidlink video{transition:filter .4s ease}
.vid .vidlink:hover video,.vid .vidlink:focus-visible video{filter:brightness(1.12)}
.vid:hover{border-color:var(--accent)}
.vid .vidcue{position:absolute;right:1rem;bottom:1rem;padding:.35rem .85rem;font-size:.85rem;font-weight:500;line-height:1.4;letter-spacing:.02em;color:#fff;background:rgba(0,0,0,.6);border:1px solid rgba(200,200,200,.5);border-radius:999px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:none;transition:border-color .3s ease,background .3s ease}
.vid .vidlink:hover .vidcue,.vid .vidlink:focus-visible .vidcue{border-color:#fff;background:rgba(40,40,40,.8)}
@media(max-width:700px){.vid .vidcue{right:.6rem;bottom:.6rem;padding:.25rem .65rem;font-size:.75rem}}
