/* VOICE a playful documentary: big pictures, few words
   IDEA one vertical slice through the planet; scrolling is the descent
   PICTURE Tardi's own film scenes, full width, with Tardi standing in them
   COLOUR each layer brings its own ground (space, storm, sand, ice, teal, black); headlamp yellow marks actions
   TYPE Barlow, after the DIN lettering of the channel banner
   LAYOUT scene band, then posters on the layer's ground; phone: same order, two posters a row */
:root{color-scheme:dark;--lamp:#ffc857;--ink:#f3f0ea;--bg:#05040d}
*{box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;scroll-padding-top:60px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.55 Barlow,Bahnschrift,"DIN Alternate",system-ui,sans-serif;overflow-x:clip}
img{max-width:100%;display:block}
h1,h2,h3{font-weight:700;line-height:1.05;letter-spacing:-.015em;margin:0;text-wrap:balance}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:3px solid var(--lamp);outline-offset:3px}
.skip{position:absolute;left:-999px;z-index:20;background:var(--lamp);color:#1b1300;padding:10px 16px}
.skip:focus{left:8px;top:8px}
.pill{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:99px;background:var(--lamp);color:#1b1300;font-weight:700;text-decoration:none}
.pill:hover{background:#ffd97f}
.big{min-height:52px;padding:0 26px;font-size:18px}
.plain{display:inline-flex;align-items:center;min-height:44px;font-weight:500;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.plain:hover{text-decoration-color:var(--lamp);text-decoration-thickness:2px}
.go{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;margin:26px 0 0}

.top{position:fixed;inset:0 0 auto;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:8px max(4vw,16px);background:rgba(5,4,13,.72);backdrop-filter:blur(10px)}
.logo{display:flex;gap:.3em;align-items:center;min-height:44px;font-size:22px;font-weight:300;text-transform:uppercase;text-decoration:none;color:var(--lamp)}
.logo b{color:#fff;font-weight:700}
.top nav{display:flex;align-items:center;gap:22px}
.top nav a:first-child{text-decoration:none;line-height:44px}
.top nav a:first-child:hover{color:var(--lamp)}

/* depth gauge */
.gauge{position:fixed;right:22px;top:92px;bottom:40px;width:2px;background:rgba(255,255,255,.35);z-index:9;box-shadow:0 0 0 1px rgba(0,0,0,.25);pointer-events:none}
.gauge i{position:absolute;right:-6px;top:0;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--lamp);box-shadow:0 0 18px 5px rgba(255,200,87,.6)}
.gauge output{position:absolute;right:18px;top:0;transform:translateY(-50%);white-space:nowrap;font-weight:700;font-size:15px;font-variant-numeric:tabular-nums;background:rgba(5,4,13,.82);color:#fff;padding:3px 11px;border-radius:99px}

/* scenes */
.scene{position:relative;min-height:min(92svh,860px);display:flex;align-items:flex-end;overflow:hidden;isolation:isolate}
.sky{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:50% var(--y,45%)}
.scene::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(var(--from,transparent),transparent 30%,transparent 62%,var(--to,transparent)),linear-gradient(90deg,var(--shade,rgba(0,0,0,.55)),transparent 62%)}
.say{width:min(1240px,100%);margin:0 auto;padding:120px max(5vw,16px) clamp(64px,11vh,120px);color:#fff}
.say>*{max-width:21em}
.say h1{font-size:clamp(42px,6.4vw,88px);max-width:8.2em}
.say h2{font-size:clamp(36px,5vw,64px);max-width:11em}
.say p{font-size:clamp(17px,1.5vw,20px);margin:16px 0 0}
.say .go{max-width:none;margin-top:26px}
.say .at{font-weight:700;color:var(--lamp);margin:0 0 8px}
.hero{min-height:100svh;--y:64%;--to:#0a0719}
.tardi{position:absolute;right:clamp(70px,13vw,260px);bottom:7%;height:min(64%,560px);aspect-ratio:1/2}
.tardi img{height:100%;width:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 14px 18px rgba(0,0,0,.45));transform-origin:50% 100%;transition:transform .3s}
.tardi:hover img{transform:rotate(-2deg) scale(1.02)}
.float img{animation:bob 5s ease-in-out infinite alternate}
@keyframes bob{from{translate:0 8px}to{translate:0 -14px}}
.bubble{position:absolute;right:78%;bottom:84%;width:max-content;max-width:230px;background:#fff;color:#15121f;font-weight:500;line-height:1.3;text-align:left;padding:12px 16px;border-radius:18px 18px 4px 18px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
/* headlamp: the deepest scene is dark except for the light */
.dark .lamp{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle 420px at var(--lx,66%) var(--ly,45%),transparent 0,rgba(1,4,7,.5) 55%,rgba(1,4,7,.94) 100%)}

#ice .say,#ice .say p{color:#0b2a38}
#ice .say .at{color:#6b3a00}

/* posters */
.layer{background:var(--ground);color:var(--text);padding:clamp(8px,2vw,24px) max(5vw,16px) clamp(64px,8vw,120px)}
.posters{width:min(1240px,100%);margin:0 auto;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:clamp(12px,1.8vw,24px)}
.poster{position:relative;display:block;aspect-ratio:3/4.3;border-radius:14px;overflow:hidden;text-decoration:none;color:#fff;background:#111}
.poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 72%;transition:scale .5s cubic-bezier(.2,.7,.2,1)}
.poster:hover img{scale:1.05}
.poster span{position:absolute;inset:auto 0 0;padding:90px 18px 18px;background:linear-gradient(transparent,rgba(3,3,8,.62) 38%,rgba(3,3,8,.94))}
.poster h3{font-size:clamp(18px,1.9vw,25px);line-height:1.12}
.poster small{display:block;font-size:15px;margin-top:6px;color:#ffdf9c}

/* end */
.end{align-items:center;min-height:100svh;--y:70%;--shade:rgba(0,8,14,.5);--from:#02060a;--to:#01050a}
.bio{width:min(1240px,100%);margin:0 auto;padding:90px max(5vw,16px) 60px;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(24px,5vw,80px);align-items:center}
.bio .tardi{position:relative;right:auto;bottom:auto;height:min(62svh,560px);aspect-ratio:auto;justify-self:center}
.bio h2{font-size:clamp(34px,4.2vw,54px)}
.lead{font-size:20px;margin:16px 0 26px}
dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px;margin:0}
dt{font-size:34px;font-weight:700;line-height:1.1;color:var(--lamp)}
dd{margin:4px 0 0;max-width:24em}
footer{background:#01050a;padding:40px max(5vw,16px) 48px;display:grid;grid-template-columns:2fr 2fr auto;gap:16px 48px;font-size:15px;color:#c3ccd2}
footer p{margin:0;max-width:46em}
footer a{line-height:44px}

/* a stop, opened */
dialog{width:min(1080px,100vw - 32px);max-height:min(92dvh,860px);padding:0;border:0;border-radius:18px;background:#fbf8f1;color:#1b1a20;color-scheme:light;overflow:hidden}
dialog::backdrop{background:rgba(2,3,9,.8)}
#stop-in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);height:min(92dvh,860px);grid-template-rows:minmax(0,1fr)}
.shot{position:relative;min-height:100%}
.shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 70%}
.text{padding:clamp(22px,3vw,40px);overflow:auto;overscroll-behavior:contain}
.text h2{font-size:clamp(28px,3.2vw,40px);padding-right:52px}
.text .at{margin:0 0 6px;font-weight:700;color:#7a5200}
.text h3{font-size:20px;margin:28px 0 8px}
.text p{margin:14px 0 0;max-width:62ch;overflow-wrap:anywhere}
.text .first{font-size:20px;line-height:1.4;font-weight:500}
.quote{display:flex;gap:16px;align-items:center;background:#ffe9b5;border-radius:14px;padding:14px 18px;margin-top:24px}
.quote p{margin:0;font-weight:500}
.src p{font-size:15.5px;color:#46424e;margin-top:8px}
.close{position:absolute;z-index:2;right:14px;top:14px;width:44px;height:44px;border-radius:50%;background:#1b1a20;color:#fff;font-size:24px;line-height:1}
.close:hover{background:#3a3744}
dialog .go{justify-content:space-between}

@media(max-width:900px){
.gauge{right:12px}
.gauge output{right:14px;font-size:14px}
.posters{grid-template-columns:repeat(var(--m,2),minmax(0,1fr))}
.tardi{right:44px;height:min(52%,440px)}
footer{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
.scene::after{background:linear-gradient(var(--from,transparent),transparent 26%,transparent 34%,var(--foot,rgba(0,0,0,.72)) 68%,var(--to,#000))}
#ice{--foot:rgba(207,233,242,.85)}
.scene{min-height:100svh}
.say{padding:80px 16px 48px}
.say h2,.say p{padding-right:0}
.tardi{right:50%;translate:50% 0;bottom:auto;top:11svh;height:43svh}
.hero .tardi{top:9svh;height:37svh}
.bubble{right:auto;left:72%;bottom:74%;max-width:150px;border-radius:18px 18px 18px 4px;font-size:15px}
.poster{aspect-ratio:3/4.6}
.poster span{padding:70px 12px 12px}
.poster h3{font-size:17px}
.poster small{font-size:14px}
.gauge{top:80px;bottom:24px;background:rgba(255,255,255,.2)}
.bio{grid-template-columns:minmax(0,1fr);padding-top:80px}
.bio .tardi{translate:none;top:auto;height:34svh}
.bio .bubble{left:80%}
dl{gap:18px}
dt{font-size:28px}
.top nav{gap:14px}
.logo{font-size:18px}
dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
#stop-in{display:block;max-height:100dvh;height:100%;overflow:auto}
.shot{height:52dvh;min-height:0}
.text{overflow:visible}
.text h2{padding-right:0}
.close{position:fixed}
}
@media(max-width:400px){.top nav a:first-child{font-size:15px}.logo{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.float img{animation:none}.poster img,.tardi img{transition:none}}

/* Tardi stays visible head to feet: the caption sits under the picture, never on him */
.poster{aspect-ratio:auto;overflow:visible;background:none;color:inherit;border-radius:14px}
.poster i{display:block;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#111}
.poster img{position:static}
.poster span{position:static;display:block;padding:14px 2px 0;background:none}
.poster small{color:inherit;opacity:.85}
.poster:hover h3{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.posters{row-gap:clamp(28px,3vw,44px)}
@media(min-width:901px){.posters{width:min(calc(var(--n)*300px + 120px),calc(100% - 160px))}}
@media(max-width:900px){
.gauge{inset:auto 12px 12px auto;width:auto;background:none;box-shadow:none}
.gauge i{display:none}
.gauge output{position:static;display:block;transform:none}
}
@media(max-width:640px){
.posters{display:flex;width:auto;margin-inline:-16px;padding:4px 16px 12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:thin}
.poster{flex:0 0 66vw;scroll-snap-align:start;aspect-ratio:auto}
.poster h3{font-size:20px}
.poster span{padding:12px 2px 0}
.layer{padding-inline:16px}
.gauge{inset:auto 12px 12px auto;width:auto;background:none;box-shadow:none}
.gauge i{display:none}
.gauge output{position:static;display:block;transform:none}
.hero .tardi{top:14svh;height:34svh}
.bubble{left:68%;bottom:80%;max-width:138px;padding:9px 12px}
.end .bubble{left:70%}
.shot{height:62dvh}
.shot img{object-position:50% 78%}
}
/* social hub: one place for every account */
.icons{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.go .icons{margin:0}
.ico{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;color:#14111d;transition:transform .2s}
.ico svg{width:23px;height:23px;fill:currentColor}
a.ico:hover{transform:translateY(-3px)}
.ico.off{background:rgba(128,128,140,.28);color:inherit;opacity:.6}
.youtube{--c:#e0211b;--t:#fff}.tiktok{--c:#0fb8b2;--t:#05090a}.instagram{--c:linear-gradient(95deg,#c65a10,#d12a6b 50%,#7b35ad);--t:#fff}.threads{--c:#fff;--t:#111}
a.ico.youtube,a.ico.tiktok,a.ico.instagram{background:var(--c);color:var(--t)}
dialog .ico.threads,dialog a.ico.x{background:#14111d;color:#fff}
.follow{background:#0a0719;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(24px,5vw,80px);align-items:center;width:100%;padding:clamp(56px,7vw,104px) max(5vw,16px,(100vw - 1180px)/2)}
.follow .tardi{position:relative;right:auto;bottom:auto;height:min(60svh,480px);aspect-ratio:auto;justify-self:center}
.follow .bubble{right:auto;left:50%;translate:-50% 0;bottom:102%;border-radius:18px;max-width:210px}
.follow h2{font-size:clamp(34px,4.6vw,56px)}
.follow p{font-size:19px;margin:12px 0 24px}
.signs{display:grid;gap:10px;max-width:620px}
.sign{display:grid;grid-template-columns:32px auto minmax(0,1fr);gap:16px;align-items:center;min-height:68px;padding:0 24px;border-radius:14px;background:var(--c,#2a2638);color:var(--t,#fff);text-decoration:none;transition:transform .2s}
.sign svg{width:28px;height:28px;fill:currentColor}
.sign b{font-size:22px}
.sign span{text-align:right;font-weight:500;overflow-wrap:anywhere}
a.sign:hover{transform:translateX(8px)}
a.sign.x{background:#f3f0ea;color:#111}
.sign.off{background:none;border:2px dashed rgba(243,240,234,.4);color:#d9d4e4}
@media(max-width:640px){
.follow{grid-template-columns:minmax(0,1fr);padding:112px 16px 72px;gap:24px}
.follow .tardi{translate:none;top:auto;height:30svh}
.follow .bubble{translate:none;left:64%;bottom:88%;max-width:130px}
.sign{min-height:60px;padding:0 18px;gap:12px}
.sign b{font-size:19px}
.hero .tardi{top:12svh;height:30svh}
.icons{gap:8px}
.ico{width:46px;height:46px}
}
@media(prefers-reduced-motion:reduce){.ico,.sign{transition:none}}
.top a{white-space:nowrap}

/* languages */
#lang{font:inherit;font-weight:500;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);border-radius:99px;min-height:44px;padding:0 12px;max-width:190px;cursor:pointer}
#lang option{background:#14111d;color:#fff}
.top nav a:first-child{line-height:inherit}
.wait{background:#ececf4;border-radius:10px;padding:12px 16px;font-size:16px}
:lang(ja),:lang(ko),:lang(zh-Hans),:lang(zh-Hant){word-break:normal;line-break:strict}
:lang(ko){word-break:keep-all}
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(zh-Hans) h2,:lang(zh-Hans) h3,:lang(zh-Hant) h2,:lang(zh-Hant) h3,:lang(ko) h2,:lang(ko) h3{letter-spacing:0;line-height:1.2}
:lang(zh-Hans) h1,:lang(zh-Hant) h1,:lang(ko) h1{letter-spacing:0;line-height:1.15}
h1,h2,h3,.sign b,.pill{overflow-wrap:break-word}
.sign span{font-size:15px}
@media(max-width:640px){.top nav [data-i=who]{display:none}#lang{max-width:118px;font-size:16px}.top nav{gap:10px}.say h1{font-size:clamp(32px,9.6vw,42px)}}
@media(max-width:640px){.hero .tardi{top:11svh;height:26svh}:lang(ja) .hero h1{font-size:34px}:lang(fr) .hero h1{font-size:34px}.hero .say p{font-size:16px}}
@media(max-height:700px) and (max-width:640px){.hero{min-height:760px}.hero .tardi{top:80px;height:190px}}
@media(max-width:640px){.hero .tardi{margin-left:-44px}.hero .bubble{left:100%;bottom:auto;top:0;max-width:140px;width:140px;border-radius:4px 18px 18px 18px}#lang{max-width:104px;padding:0 8px}.top .pill{padding:0 14px;font-size:16px}}
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ja) .bubble{word-break:auto-phrase}
@media(max-width:640px){.hero .tardi{margin-left:-72px}.hero .bubble{width:128px;max-width:128px}}
@media(min-width:641px) and (max-width:1200px){.hero .bubble{right:30%;bottom:101%;max-width:210px}}
@media(min-width:641px){:lang(zh-Hans) .hero h1,:lang(zh-Hant) .hero h1{font-size:clamp(38px,5vw,72px);max-width:10.2em}}
@media(min-width:641px) and (max-width:1600px){.hero .bubble{right:30%;bottom:101%;max-width:210px}}
@media(min-width:641px) and (max-width:1100px){.end .bubble{left:auto;right:30%;bottom:101%}}
:lang(zh-Hans) .hero h1,:lang(zh-Hant) .hero h1{word-break:keep-all;max-width:11em}
@media(max-width:640px){:lang(zh-Hans) .hero h1,:lang(zh-Hant) .hero h1{font-size:min(33px,8.8vw)}}
@media(min-width:641px) and (max-width:1100px){.end .bubble{left:20%;right:auto;bottom:101%}}
footer .legal{grid-column:1/-1;max-width:none;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 32px;border-top:1px solid rgba(195,204,210,.25);padding-top:16px}
a.ico.mail,a.sign.mail{background:var(--lamp);color:#14111d}
.sign.mail{margin-top:14px}
@media(max-width:640px){.sign.mail{padding:0 14px;gap:10px}.sign.mail b{font-size:17px}.sign.mail span{font-size:14px}}
dialog .text.pv{grid-column:1/-1}
.pv h3{margin:22px 0 4px}
.pv p{margin:0;overflow-wrap:anywhere}

/* topic pages */
.stop-page{background:var(--ground)}
.stop{width:min(1120px,100%);margin:0 auto;padding:84px 16px 64px}
.stop>.plain{color:#fff;background:rgba(5,4,13,.78);border-radius:99px;padding:0 18px;text-decoration:none;margin-bottom:16px}
.stop>.plain:hover{background:#05040d}
.stop article{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);grid-template-rows:auto 1fr;background:#fbf8f1;color:#1b1a20;color-scheme:light;border-radius:18px;overflow:clip}
.stop article>header{grid-column:2;padding:clamp(22px,4vw,48px) clamp(20px,4vw,48px) 0}
.stop h1{font-size:clamp(32px,4.4vw,52px);overflow-wrap:break-word}
.stop .at{margin:0 0 8px;font-weight:700;color:#7a5200}
.stop .pic{grid-column:1;grid-row:1/3;width:100%;height:auto;max-height:calc(100svh - 60px);object-fit:cover;object-position:50% 70%;position:sticky;top:60px;align-self:start}
.stop .text{overflow:visible;padding:8px clamp(20px,4vw,48px) clamp(24px,4vw,48px)}
.stop .text p{font-size:18px;line-height:1.6}
.stop .text .first{font-size:21px}
.stop .text .wait{font-size:15.5px}
.stop .src h2{font-size:22px;margin:32px 0 4px;padding:0}
.stop .src p{font-size:16px}
.stop .text .icons{margin-top:28px}
.stop .ico.threads,.stop a.ico.x{background:#14111d;color:#fff}
.nextstop{display:flex;align-items:center;gap:20px;margin-top:20px;background:rgba(5,4,13,.86);color:#fff;border-radius:18px;overflow:hidden;text-decoration:none;padding-right:20px}
.nextstop img{width:110px;height:130px;object-fit:cover;object-position:50% 70%;flex:none}
.nextstop small{display:block;font-size:15px;color:#ffdf9c;margin-bottom:4px}
.nextstop b{font-size:clamp(18px,2.4vw,26px);line-height:1.15}
.nextstop:hover b{text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.stop article{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.stop article>header,.stop .pic{grid-column:1;grid-row:auto}.stop article>header{padding-bottom:20px}.stop .pic{position:static;max-height:none}.stop .text{padding-top:10px}}
:lang(ja) .stop h1,:lang(zh-Hans) .stop h1,:lang(zh-Hant) .stop h1,:lang(ko) .stop h1{font-size:clamp(28px,3.8vw,44px)}
@media(max-width:400px){.top{gap:10px;padding:8px 12px}.logo{font-size:14px}.top nav{gap:8px}}
