/* The front page (home.html): the region picker. Moved out of the page unchanged; the shared tokens and base rules of the public pages are in pages.css. */
/* Mock-up of the landing page. Same tokens, font and square corners as the explorer (css/pages.css). */
:root{--night:#0E1A22;--night-2:#16252F}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:var(--sheet)}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
a{color:inherit}

/* ---------- header ---------- */
.bar{position:fixed;z-index:20;left:0;right:0;top:0;transition:transform .35s ease,background-color .3s}
.bar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff}
.brand img{height:34px;width:34px}
.brand b{font-size:22px;line-height:30px;font-weight:700;letter-spacing:-.018em;white-space:nowrap}
.bar nav{display:flex;gap:26px;align-items:center}
.bar nav a{font-size:13px;font-weight:600;color:rgba(255,255,255,.82);text-decoration:none}
.bar nav a:hover{color:#fff}
.bar nav a[aria-current]{color:#C8322A;font-weight:700}      /* the page you are on */

/* ---------- hero ---------- */
.hero{position:relative;background:#070b14 var(--tfs-space2,none) center calc(50% - var(--sy,0px))/auto var(--tile,200vh) repeat-y fixed;color:#fff;padding:120px 0 80px}
.hero .wrap{position:relative;display:grid;grid-template-columns:minmax(0,13fr) minmax(0,10fr);gap:clamp(56px,6vw,96px);align-items:center}
.hero h1{margin:0 0 22px;font-size:clamp(30px,2.9vw,44px);line-height:1.02;font-weight:800;letter-spacing:-.035em}
.hero h1 span{display:block;text-wrap:balance}      /* two lines: the break after "talk." is the point; a long second line wraps inside its column instead of running under the picture */
.hero h1 em{font-style:normal;color:var(--accent)}
.hero .lede{font-size:clamp(18px,1.7vw,22px);line-height:1.55;color:rgba(255,255,255,.76);max-width:500px;margin:0 0 26px}
.flightbox{min-width:0}
.flight{position:relative;margin:0;aspect-ratio:99/72;width:100%;overflow:hidden;background:#05080f;box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.12)}
.flight video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.flight video{transition:opacity .9s}
.flight video.off{opacity:0}
.flight .live{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;touch-action:pan-y;transition:opacity .9s;background:#05080f;cursor:grab}
.flight .live:active{cursor:grabbing}
.flight .fl-year{position:absolute;z-index:2;left:20px;top:16px;color:#fff;pointer-events:none;text-shadow:0 1px 12px rgba(0,0,0,.55)}
.flight .fl-year b{display:block;font-size:clamp(28px,4vw,46px);line-height:1;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.flight .fl-year small{display:block;margin-top:4px;font-size:12px;opacity:.85}
.flight .cap{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:44px 16px 12px;background:linear-gradient(to top,rgba(0,0,0,.66),transparent);font-size:12.5px;color:rgba(255,255,255,.92);pointer-events:none}
.flight .cap b{font-weight:700;color:#fff}
.flight .cap{padding-right:64px}
/* play / pause over the timelapse: a small glass disc bottom right; while the viewer loads, a ring turns round it and a faint line runs along the bottom edge */
.fl-play{position:absolute;z-index:4;right:14px;bottom:14px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(14,26,34,.55);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 0 0 1px rgba(255,255,255,.28),0 4px 14px rgba(0,0,0,.35);opacity:.8;transition:opacity .2s,transform .2s,background .2s}
.fl-play[hidden]{display:none}
.fl-play:hover,.fl-play:focus-visible{opacity:1;background:rgba(14,26,34,.78);transform:scale(1.07)}
.fl-play:focus-visible{outline:2px solid #fff;outline-offset:2px}
.fl-play svg{width:16px;height:16px;fill:currentColor;grid-area:1/1}
.fl-play .i-play{display:none;margin-left:2px}.fl-play.paused .i-play{display:block}.fl-play.paused .i-pause{display:none}
.fl-play::before{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid transparent;border-top-color:rgba(255,255,255,.75);opacity:0;transition:opacity .4s}
.flight.loading .fl-play::before{opacity:1;animation:flSpin 1.1s linear infinite}
.flight.loading::after{content:"";position:absolute;z-index:3;left:0;bottom:0;height:2px;width:35%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:flSlide 1.6s ease-in-out infinite;pointer-events:none}
@keyframes flSpin{to{transform:rotate(360deg)}}
@keyframes flSlide{from{transform:translateX(-100%)}to{transform:translateX(300%)}}
@media (prefers-reduced-motion:reduce){.flight.loading .fl-play::before{animation:none;opacity:.6}.flight.loading::after{animation:none;width:100%;opacity:.35}}
@media (pointer:coarse){.fl-play{width:42px;height:42px;right:12px;bottom:12px}}
.drag-hint{position:absolute;z-index:3;right:14px;top:14px;display:flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;background:rgba(14,26,34,.62);color:#fff;font-size:12.5px;font-weight:600;pointer-events:none;opacity:0;transition:opacity .6s;white-space:nowrap}
.drag-hint.on{opacity:.92}.drag-hint svg{width:15px;height:15px}
.flight .cap small{display:block;margin-top:4px;font-size:10px;line-height:1.35;color:rgba(255,255,255,.7)}
.herotext .cta .btn-ghost{border:0;padding:6px 0;gap:10px;color:#fff}
.herotext .cta .btn-ghost:hover{background:none;color:#fff;text-decoration:underline;text-underline-offset:4px}
.herotext .cta .btn-ghost svg{width:30px;height:30px;padding:8px;border:1px solid currentColor;border-radius:50%;box-sizing:border-box}
.cta .btn-ghost{border:0;padding:6px 0;gap:10px;color:#0A1B33}
.cta .btn-ghost:hover{background:none;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.cta .btn-ghost svg{width:30px;height:30px;padding:8px;border:1px solid currentColor;border-radius:50%;box-sizing:border-box}
.cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.btn-red,.btn-ghost{display:inline-flex;align-items:center;gap:9px;padding:13px 20px;font-weight:600;font-size:14px;text-decoration:none;cursor:pointer;border:1px solid var(--accent);border-radius:0}
.btn-red{background:var(--accent);color:#fff}
.btn-red:hover{background:#A9261F;border-color:#A9261F}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn-ghost:hover{background:#fff;color:var(--night)}
.btn-ghost svg,.btn-red svg{width:14px;height:14px;fill:currentColor;flex:none}
.hero .small{margin:26px 0 0;font-size:12px;color:rgba(255,255,255,.55)}

/* before / after */

/* closing call */
.closing{color:#fff;padding:88px 0 72px}
.closing .wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.closing h2 span{display:block}
.closing h2{margin:0;font-size:clamp(30px,4.4vw,56px);line-height:1.02;font-weight:800;letter-spacing:-.03em}
/* why */
.whyband{position:relative;background:var(--sheet);padding:56px 0}      /* positioned, so it paints over the slider's shadow from the hero above */
.whygrid{display:flex;align-items:center;justify-content:center;gap:56px}
.whyhead{flex:1 1 auto;max-width:none}
.whyhead .eyebrow{color:var(--accent);font-weight:700;margin:0 0 10px}
.why-logo{display:block;flex:none;width:clamp(110px,12vw,160px);height:auto;overflow:visible}
.why-logo .tongue{transform-box:view-box;transform-origin:96px 86px;animation:lick 2.5s ease-in-out infinite}      /* the tongue reaches out and pulls back */
.why-logo .spark{transform-box:fill-box;transform-origin:center;animation:twinkle 2s ease-in-out infinite}
@keyframes lick{0%,100%{transform:scaleY(.82) scaleX(.96);fill:#C8322A}50%{transform:scaleY(1.08) scaleX(1.02);fill:#fff}}      /* advancing: white (the logo sits on the dark band); retreating: the red of loss */
@keyframes twinkle{0%,100%{transform:scale(1) rotate(0);opacity:1}50%{transform:scale(.65) rotate(45deg);opacity:.55}}
@media (prefers-reduced-motion:reduce){.why-logo .tongue,.why-logo .spark{animation:none}}
.why-name + .why-name{margin-top:12px}
.whyhead .why-name,.whyhead .aud-title,.whyhead .aud-sub{max-width:800px}
.why-name{margin:0;font-size:clamp(17px,1.5vw,20px);line-height:1.6;color:#0A1B33}
.whyband .aud{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:36px}
.quoteband{padding:64px 0;background:var(--ice)}
.quotegrid{display:flex;flex-direction:column;gap:44px}
.quoteband .qhead{display:flex;align-items:center;justify-content:space-between;gap:56px}
.quoteband .qhead .why-logo{width:clamp(90px,10vw,130px)}
.quoteband .qcols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid rgba(10,27,51,.18)}
.quoteband .qcols > div{padding:26px 32px 0 0}
.quoteband .qcols > div + div{padding-left:32px;border-left:1px solid rgba(10,27,51,.18)}
.quoteband .qcols h3{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.quoteband .qcols p{font-size:15px;line-height:1.6;color:rgba(10,27,51,.8)}
.quoteband .qtext{max-width:640px}
.quoteband p{margin:0}
.quoteband .qeyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
.quoteband .qmain{font-size:clamp(26px,3.2vw,40px);line-height:1.12;font-weight:800;letter-spacing:-.03em;color:#0A1B33}
.quoteband .qmain em{font-style:normal;color:var(--accent)}
.quoteband .qsub{margin-top:16px;font-size:clamp(16px,1.4vw,19px);line-height:1.55;font-weight:400;color:rgba(10,27,51,.78)}

/* ---------- sections ---------- */
section.s{padding:96px 0}
section.s.alt{background:var(--firn);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.sh{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:0 0 26px}
.sh h2{margin:0;font-size:clamp(26px,2.9vw,38px);line-height:1.08;font-weight:800;letter-spacing:-.03em;color:#0A1B33}
.sh p{margin:8px 0 0;font-size:15px;color:var(--moraine);max-width:560px}
.sh p.eyebrow{margin:0 0 12px;font-size:10.5px;max-width:none}
.eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--moraine)}
.eyebrow .num{color:var(--accent);font-weight:700}
section.s .eyebrow{color:var(--accent);font-weight:700}      /* the label above each light section is red, like the one of the Why block */

/* map */
.pickrow{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.pickrow .search{margin-top:0;width:320px;max-width:100%}
.pickband{background:var(--sheet);color:#0A1B33;padding:80px 0 56px}      /* the same background as the Why block */
.pickband .eyebrow{color:var(--accent);font-weight:700}
.pickband .sh{align-items:flex-end;margin:0 0 28px}
.sh .pick-h{margin:0;font-size:clamp(26px,2.9vw,38px);line-height:1.04;font-weight:800;letter-spacing:-.03em;color:#0A1B33}
.pickband .sh p{color:var(--moraine)}
.pickband .pickrow .sstat{color:rgba(255,255,255,.75)}
.coverage{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:0 0 14px;padding:0;font-size:13px;color:#0A1B33}
.coverage li{display:flex;align-items:center;gap:7px}
.coverage i{width:9px;height:9px;border-radius:50%;box-sizing:border-box;flex:none}
.coverage .avail i{background:#0A1B33}
.coverage .dev i{border:1.5px solid var(--moraine)}
.coverage small{font-size:12px;color:var(--moraine)}
.pickband .sbox,.pickband .pk-btn{border-color:transparent}
.pickrow .sstat{margin:6px 0 0;font-size:12px}
.pk{position:relative;min-width:280px}
.pk-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;padding:8px 12px 8px 15px;border:1px solid var(--rule);border-radius:0;background:var(--sheet);color:#0A1B33;font:inherit;font-size:15px;font-weight:700;text-align:left;cursor:pointer}      /* the card of the explorer's glacier list: white */
.pk-btn:hover{background:var(--firn)}
.pk-btn.ph .pk-t{font-weight:500;color:var(--moraine)}
.pk-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pk-btn svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--moraine);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pk-menu{position:absolute;z-index:800;top:100%;left:0;right:0;min-width:300px;margin:4px 0 0;padding:0;list-style:none;max-height:min(62vh,460px);overflow:auto;background:var(--sheet);border:1px solid var(--rule);box-shadow:0 12px 32px rgba(7,11,20,.28)}
.pk-menu[hidden],.pk-back[hidden]{display:none}
.pk-menu li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 14px;border-top:1px solid var(--rule-2);color:#0A1B33;cursor:pointer}
.pk-menu li.hd{position:sticky;top:0;z-index:1;cursor:default;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--moraine);background:var(--firn);border-top:0}
.pk-menu li.rg{font-weight:700}
.pk-menu li.sub{padding-left:34px}
.pk-menu li span{min-width:0;font-weight:500}
.pk-menu li.rg span{font-weight:700}
.pk-menu li small{flex:none;color:var(--moraine);font-size:12.5px;font-variant-numeric:tabular-nums}
.pk-menu li:hover:not([aria-disabled=true]):not(.hd){background:var(--firn)}
.pk-menu li[aria-selected=true]{background:#E9EFF2;box-shadow:inset 3px 0 0 var(--accent)}
.pk-menu li[aria-selected=true] span{font-weight:800}
.pk-menu li[aria-disabled=true]{color:var(--faint);cursor:default}
.pk-back{display:none}
@media (max-width:900px){
  .pk{min-width:0;width:100%}
  .pk-back:not([hidden]){display:block;position:fixed;inset:0;z-index:2999;background:rgba(10,20,28,.5)}
  .pk-menu{position:fixed;z-index:3000;top:auto;left:0;right:0;bottom:0;margin:0;min-width:0;max-height:78dvh;border:0;border-radius:14px 14px 0 0;box-shadow:0 -6px 24px rgba(0,0,0,.35);padding-bottom:env(safe-area-inset-bottom,0px)}
  .pk-menu li{padding:14px 18px;font-size:16px}
  .pk-menu li.sub{padding-left:38px}
  body.pk-open{overflow:hidden}
}
.mapbox{position:relative;border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 60px rgba(0,0,0,.4);height:clamp(420px,62vh,620px);background:var(--night)}
#map{position:absolute;inset:0}
.leaflet-container{font-family:var(--sans);background:var(--night)}
.leaflet-control-attribution{display:none}
.info{position:absolute;z-index:500;left:16px;bottom:16px;width:310px;background:var(--sheet);border:1px solid var(--rule);box-shadow:0 8px 26px rgba(14,26,34,.25);padding:16px 18px;display:flex;flex-direction:column;gap:9px}
.info .lab{font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--accent)}
.info h3{margin:0;font-size:20px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:#0A1B33}
.info p{margin:0;font-size:13px;color:var(--moraine)}
.info .btn-red{align-self:flex-start;padding:9px 14px;font-size:12.5px;margin-top:3px}
.pin{width:auto;white-space:nowrap}
.pin span{position:relative;display:inline-flex;align-items:center;gap:7px;transform:translate(-9px,-50%);background:var(--sheet);padding:5px 10px 5px 8px;font-weight:700;font-size:12.5px;color:#0A1B33;box-shadow:0 2px 10px rgba(0,0,0,.35);cursor:pointer}
.pin span::before{content:"";width:8px;height:8px;background:var(--accent);flex:none}
.pin span:hover,.pin.on span{background:var(--accent);color:#fff}
.pin:hover span::before,.pin.on span::before{background:#fff}
.pin.left span{transform:translate(calc(-100% + 9px),-50%);padding:5px 8px 5px 10px}
.pin.soon span{color:var(--moraine);font-weight:500;opacity:.92}
.deep .pin{display:none}
.pin.soon span::before{background:var(--faint)}
.pin.soon span:hover{background:var(--sheet);color:var(--moraine)}

.gl{list-style:none;margin:2px 0 0;padding:0;max-height:196px;overflow:auto;border-top:1px solid var(--rule)}
.gl button{display:flex;width:100%;justify-content:space-between;gap:10px;border:0;border-bottom:1px solid var(--rule-2);background:none;padding:7px 0;font-size:13px;font-weight:600;color:#0A1B33;text-align:left;cursor:pointer}
.gl button:hover{color:var(--accent)}
.gl .sub button{padding-left:14px;font-weight:500}
.gl small{font-weight:500;color:var(--moraine);font-variant-numeric:tabular-nums;white-space:nowrap}
.info .back{align-self:flex-start;border:0;background:none;padding:0;font-size:12px;font-weight:600;color:var(--crevasse);cursor:pointer}
.info .back:hover{text-decoration:underline}
.info .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.info .btn-line{display:inline-block;border:1px solid var(--rule);padding:8px 12px;font-size:12.5px;font-weight:600;text-decoration:none;color:#0A1B33;background:var(--sheet)}
.info .btn-line:hover{background:var(--firn)}
.gdot{width:auto}
.gdot i{display:block;width:12px;height:12px;margin:-6px 0 0 -6px;background:var(--accent);border:2px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.5);cursor:pointer}
.gdot.sub i{width:9px;height:9px;margin:-4px 0 0 -4px;background:#F2A93B;border-width:1.5px}
.gdot:hover i,.gdot.on i{background:#fff;border-color:var(--accent);transform:scale(1.35)}
.leaflet-tooltip.gtip{background:var(--sheet);border:0;border-radius:0;color:#0A1B33;font-weight:700;font-size:12.5px;box-shadow:0 2px 10px rgba(0,0,0,.35);padding:4px 9px}
.leaflet-tooltip.gtip::before{display:none}
.tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:14px;border:1px solid rgba(255,255,255,.14);background:transparent}
.tile{display:flex;flex-direction:column;gap:3px;text-align:left;border:0;border-right:1px solid rgba(255,255,255,.14);background:transparent;padding:16px 18px;cursor:pointer}
.tile:last-child{border-right:0}
.tile[disabled]{cursor:default;opacity:.5}
.tile:hover:not([disabled]){background:rgba(255,255,255,.07)}
.tile[aria-current="true"]{box-shadow:inset 0 -3px 0 var(--accent);background:rgba(255,255,255,.09)}
.tile b{font-size:15px;font-weight:700;color:#fff}
.tile small{font-size:11.5px;color:rgba(255,255,255,.6)}
.tile small.of{color:rgba(255,255,255,.45)}
.maphint{display:none}
.tnote{margin:10px 0 0;font-size:11px;line-height:1.45;color:rgba(255,255,255,.5);max-width:900px}
.tile .c{font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.soonrow{margin:10px 0 0;font-size:12px;color:var(--moraine)}
/* data and method */
.sci{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 40px;margin:8px 0 0}
.sci > details{border-top:2px solid #0A1B33;padding:20px 0 24px}
.sci summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sci summary::-webkit-details-marker{display:none}
.sci summary::after{content:"+";flex:none;font-size:20px;line-height:1.1;color:var(--accent)}
.sci details[open] summary::after{content:"\2212"}
.sci details[open] summary h3{margin-bottom:8px}
.sci summary h3{margin:0}
.sci .lab{margin:0 0 10px;font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--accent)}
.sci h3{margin:0 0 8px;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.02em;color:#0A1B33}
.sci p:not(.lab){margin:0;font-size:14px;line-height:1.55;color:var(--moraine)}
#science .note{margin:14px 0 0;font-size:12px;color:var(--moraine)}

/* footer */
footer{background:#070b14 var(--tfs-space2,none) center calc(50% - var(--sy,0px))/auto var(--tile,200vh) repeat-y fixed;color:rgba(255,255,255,.7);padding:0 0 36px;font-size:12.5px}
footer .wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px}
footer .brand{margin-bottom:12px}
footer p{margin:0 0 8px;line-height:1.55}
footer .tagline{display:flex;flex-direction:column;gap:6px;white-space:nowrap}
footer .tagline b{max-width:none;font-size:17px;font-weight:700;line-height:1.3;color:#fff}
footer .tagline span{font-size:12px;font-weight:300;letter-spacing:.04em}
footer .credit-list{margin:0;display:grid;gap:6px}
footer .credit-list div{display:grid;grid-template-columns:92px 1fr;gap:12px;line-height:1.5}
footer .credit-list dt{font-weight:600;color:rgba(255,255,255,.8);text-transform:uppercase;letter-spacing:.06em;font-size:10.5px;padding-top:1px}
footer .credit-list dd{margin:0}
footer a{color:#fff;text-underline-offset:3px}
footer .src{font-size:11.5px;color:rgba(255,255,255,.55)}
footer .credits-fold > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:8px;background:rgba(255,255,255,.08);list-style:none;cursor:pointer;font-size:12.5px;font-weight:600;color:#fff}
footer .credits-fold > summary::-webkit-details-marker{display:none}
footer .credits-fold > summary::after{content:"";width:8px;height:8px;border:solid var(--accent);border-width:0 2px 2px 0;transform:rotate(45deg);margin:-4px 4px 0 0;transition:transform .2s}
footer .credits-fold[open] > summary::after{transform:rotate(-135deg);margin:4px 4px 0 0}
footer .credits-fold[open] > summary{margin-bottom:14px}
.whyhead .eyebrow,.why-made{display:none}      /* the title below says it; the closing sentence of the old text repeated it */
.aud-title{margin:0 0 6px;font-size:clamp(28px,3.2vw,42px);line-height:1.06;font-weight:800;letter-spacing:-.03em;color:#0A1B33;text-wrap:balance}
.aud-sub{margin:0 0 20px;font-size:17px;line-height:1.4;color:var(--moraine)}
.stepsband{display:none}      /* the steps strip repeats what the explorer says */

dialog.player{padding:0;border:0;background:#000;width:min(1100px,94vw);max-height:90vh}
dialog.player::backdrop{background:rgba(8,14,18,.82)}
dialog.player video{display:block;width:100%;max-height:90vh}
dialog.player button{position:absolute;right:10px;top:10px;z-index:2;padding:8px 14px;border:0;border-radius:var(--r-pill);background:rgba(14,26,34,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-weight:600;font-size:13px;cursor:pointer}      /* inside the picture, so it is on screen in a short window too */
dialog.player button:hover{background:rgba(14,26,34,.9)}
dialog.player{overflow:hidden;border-radius:var(--r-lg)}

@media (max-width:1100px){.sci{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){
  .hero{padding:104px 0 44px}
  .hero .wrap{grid-template-columns:1fr;gap:34px}
  .herotext{display:contents}      /* phones: the title and the line under it, then the flight video, then "Choose a glacier" and the search under the video */
  .herotext h1{order:1;margin:0}.herotext .lede{order:2;margin:-14px 0 0}.flightbox{order:3}.herotext .cta{order:5;margin:0}
  .bar nav{gap:0}
  .brand b{font-size:18px}
  footer .wrap{grid-template-columns:1fr;gap:28px}
  .tiles{grid-template-columns:1fr 1fr}
  .sci{grid-template-columns:1fr}
  .whygrid{flex-direction:column;gap:24px}
  .whyband{padding:44px 0}
  .pickband{padding:56px 0 40px}
  .closing{padding:56px 0}
  .hero .wrap{gap:40px}
  .tile{border-bottom:1px solid var(--rule)}
  .info{left:0;right:0;bottom:0;width:auto;border-width:1px 0 0}
  .mapbox{height:auto;background:transparent}      /* the card of a chosen region or glacier sits under the map, not over it */
  #map{position:relative;inset:auto;height:340px}
  .info{position:static;width:auto;border-width:1px 0 0;box-shadow:none;max-height:none}
  .maphint{display:block;margin:8px 0 0;font-size:11.5px;color:rgba(255,255,255,.55)}
  .whygrid{align-items:flex-start;text-align:left}.why-logo{display:none}.quoteband .qcols{grid-template-columns:1fr}.quoteband .qcols > div,.quoteband .qcols > div + div{padding:20px 0 0;border-left:0}.quoteband{padding:40px 0;text-align:left}
  .closing .wrap{flex-direction:column;align-items:stretch;gap:22px}
  .closing .btn-red.go{width:100%;justify-content:center;height:58px;font-size:16px;border:2px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,.35)}
  section.s{padding:52px 0}
}

/* ---------- phones: one calm column (the front page seen at 390 px) ---------- */
@media (max-width:640px){
  .wrap{padding:0 20px}
  .hero{padding:92px 0 36px}
  .hero .wrap{gap:26px}
  .herotext h1{font-size:clamp(28px,8.4vw,36px)}
  .herotext .lede{font-size:16.5px;line-height:1.5;margin:-8px 0 0}
  .flight{box-shadow:0 0 0 1px rgba(255,255,255,.12)}
  .flight .cap{padding:30px 12px 10px;font-size:12px;line-height:1.35}
      .hero .cta{border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);margin:-26px 0 0}
  .hero .cta .btn-ghost{width:100%;padding:14px 0;font-size:15px}
  .whyband{padding:40px 0}
  .why-name{font-size:16.5px;line-height:1.55}
  .whyband .aud{grid-template-columns:1fr;gap:8px;margin-top:26px}
    .pickband{padding:44px 0 32px}
  .pickband .sh{display:block;margin:0 0 20px}
  .sh .pick-h{font-size:28px}
  .pickband .sh p{font-size:15px;line-height:1.5;margin:10px 0 0}
  .pickrow{display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px}
  .pickrow .search{width:100%}
  .sbox,.pk-btn{min-height:52px}
  .sbox input{font-size:16px;padding:15px 0}      /* 16 px: iOS does not zoom the page on focus */
  .pk-btn{font-size:16px}
  #map{height:min(58vh,380px)}
  .tiles,.tnote{display:none}      /* phones: the region boxes, the totals note and the "in the making" line under the map are not needed (the map and the search choose the region) */
  .tile{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);padding:12px 14px;min-height:64px}
  .tile:last-child{border-right:1px solid rgba(255,255,255,.16)}
  .tile .c,.tile small.of{display:none}      /* the region name twice, and the inventory total: not needed on a small tile */
  .tile b{font-size:16px}
  .tile small{font-size:12px}
  .tile[disabled]{opacity:.6}
  .tnote{font-size:11px}
  .soonrow{margin-top:10px}
}

/* phone held sideways: the hero is the text on the left and the flight on the right, not a tall single column; the sections below are lower */
@media (max-width:950px) and (orientation:landscape) and (max-height:520px){
  .hero{padding:64px 0 26px}
  .hero .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:center}
  .herotext{display:block}
  .herotext h1{margin:0 0 10px;font-size:25px}.herotext .lede{margin:0 0 12px;font-size:13.5px;line-height:1.45}
  .flightbox{order:0}
  .bar .wrap{height:52px}
  .whyband,.closing{padding:30px 0}.pickband{padding:34px 0 24px}section.s{padding:32px 0}
  .mapbox{height:auto}
  #map{height:62vh}
  .tiles{grid-template-columns:repeat(4,1fr)}
}

/* ---------- search ---------- */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.search{position:relative;margin-top:20px}
.sbox{display:flex;align-items:center;gap:10px;background:var(--sheet);border:1px solid var(--rule);padding:0 14px}
.sbox:focus-within{outline:2px solid var(--crevasse);outline-offset:2px}
.sbox svg{width:18px;height:18px;flex:none;fill:var(--moraine)}
.sbox input{flex:1;min-width:0;border:0;outline:0;background:none;padding:13px 0;font:inherit;font-size:14px;color:#0A1B33}
.sbox input::placeholder{color:var(--faint)}
.search ul{position:absolute;z-index:700;top:100%;left:0;right:0;margin:4px 0 0;padding:0;list-style:none;background:var(--sheet);border:1px solid var(--rule);box-shadow:0 12px 32px rgba(7,11,20,.28);max-height:min(60vh,420px);overflow:auto}
.search li{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:10px 14px;cursor:pointer;color:#0A1B33;border-top:1px solid var(--rule-2)}
.search li:first-child{border-top:0}
.search li[aria-selected=true]{background:var(--firn)}
.search li .n{display:flex;flex-direction:column;min-width:0}
.search li b{font-weight:700}
.search li small{color:var(--moraine);font-size:12px}
.search li .al{margin-top:2px}
.search li.hd{cursor:default;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--moraine);background:var(--firn)}
.sstat{margin:8px 0 0;font-size:13px;color:#fff}
.ask{margin-top:8px}
.ask button{font:inherit;font-size:13px;font-weight:600;color:#fff;background:transparent;border:1px solid rgba(255,255,255,.6);padding:8px 12px;cursor:pointer}
.ask button:hover:not(:disabled){background:#fff;color:var(--night)}
.ask button:disabled{opacity:.6;cursor:default}
.askcheck{margin-top:8px;min-height:65px}
.askmsg{margin:8px 0 0;font-size:13px}

/* regions in the making: visitable on the map, glaciers cannot be opened */
.tile.making{opacity:1}
.tile.making small{color:#f3b3ae}
.info .making{margin:8px 0 10px;padding:8px 10px;border-left:3px solid var(--accent,#C8322A);background:rgba(200,50,42,.08);font-size:12.5px}
.info .notready{margin:10px 0 0;font-size:13px;font-weight:600;color:var(--accent,#C8322A)}

/* ---------- feedback round 2026-11: say where the explorer is and that it works ---------- */
.bar nav a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.herotext .cta{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.stepsband{background:var(--firn);border-bottom:1px solid var(--rule)}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;list-style:none;margin:0 auto;padding:0 24px}
.steps li{padding:18px 22px 18px 0;font-size:14px;line-height:1.5;color:var(--rock)}
.steps li+li{padding-left:22px;border-left:1px solid var(--rule)}
.steps b{display:block;margin-bottom:2px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.tile .st{align-self:flex-start;margin-bottom:4px;padding:2px 6px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.tile .st.open{background:rgba(124,224,138,.18);color:#9be8a6}
.tile .st.soon{background:rgba(255,255,255,.1);color:rgba(255,255,255,.7)}
.tile:has(.st.open){box-shadow:inset 0 3px 0 var(--accent)}
@media (max-width:900px){
  .steps{grid-template-columns:1fr}
  .steps li,.steps li+li{padding:12px 0;border-left:0}
  .steps li+li{border-top:1px solid var(--rule)}
}
@media (max-width:640px){
  .bar .wrap{gap:10px}
  .bar nav{gap:14px}.bar nav a{font-size:12px}
  .brand b{font-size:16px}
}

/* feedback round 2: search and glacier menu on the map, explorer buttons, buttons in the audience cards */
.map-ctl{position:absolute;z-index:1000;left:56px;top:12px;width:min(340px,calc(100% - 68px))}
.map-ctl .pickrow{display:grid;grid-template-columns:1fr;gap:8px;margin:0}
.map-ctl .search{margin-top:0;width:100%}
.map-ctl .pk{min-width:0}
.map-ctl .sstat{color:#fff;background:rgba(7,11,20,.7);padding:3px 8px}
.sh-cta{align-self:flex-end}
.sh-cta .btn-red svg,.closing .btn-red svg{width:16px;height:16px}
.how-cta{display:flex;justify-content:center;margin-top:32px}

/* ---------- phones, portrait and landscape: the design language of the explorer (css/style.css "Phone design system") and a short front page ----------
   The explorer is the product, so the page is the hero, the audiences it is made for (names only) and the way in. The steps, the long "why" text, the glacier picker with its map, the pinned-clip story, the quote and the data-and-method section stay on larger screens (owner, 2026-11-15: phones get no section they did not have); the explorer explains itself. */
@media (max-width:640px), (max-width:950px) and (orientation:landscape) and (max-height:520px){
  .stepsband,#regions,#how,.quoteband,#science,.herotext .lede,.flight .cap,.why-name,.why-logo{display:none}
  .wrap{padding:0 var(--sp-4)}
  .bar .wrap{padding:0 14px;gap:var(--sp-2);height:52px}      /* the same height as the bar of the gallery and the size page */
  .brand{gap:10px}.brand img{height:28px;width:28px}
  .bar nav{gap:14px}.bar nav a{font-size:12px}
  .bar .brand b{display:none}
  .brand b{font-size:16px}

  /* one button shape, one picture shape */
  .btn-red,.btn-ghost,.ask button{border-radius:var(--r-md)}
  .hero .cta{border:0;margin:0}
  .hero .cta .btn-red{min-height:52px;justify-content:center;font-size:15.5px;font-weight:700}
  .flight{border-radius:var(--r-lg);box-shadow:0 12px 36px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.1)}

  /* why: the title and the audiences as soft rows, nothing else */
  .whyband{padding:var(--sp-6) 0 var(--sp-5)}
  .whygrid{display:block}
  .whyhead .eyebrow{display:none}
  .aud-title{display:block;margin:0;font-size:21px;line-height:1.08;font-weight:800;letter-spacing:-.03em;color:#0A1B33;text-wrap:balance}
  .aud-sub{display:block;margin:var(--sp-2) 0 0;font-size:15px;line-height:1.4;color:var(--moraine)}
  .whyband .aud{gap:var(--sp-2);margin-top:var(--sp-4)}

  /* the way in, and the footer */
  .closing{padding:var(--sp-6) 0 var(--sp-5)}
  .closing h2{font-size:clamp(26px,7.6vw,32px);text-wrap:balance}
  .closing .wrap{gap:var(--sp-5)}
  .closing .btn-red.go{border-radius:var(--r-md);border-width:0;height:52px;min-height:52px;font-size:15.5px;font-weight:700;box-shadow:none}
  footer .brand{margin-bottom:var(--sp-2)}
  footer .wrap{gap:var(--sp-4);padding-bottom:var(--sp-2)}
  footer .src p{margin:0 0 var(--sp-2)}
  /* the footer's sources and credits are folded; one tap opens them */
  footer .credits-fold > summary{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);border-radius:var(--r-md);background:rgba(255,255,255,.08);list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:rgba(255,255,255,.85)}
  footer .credits-fold > summary::-webkit-details-marker{display:none}
  footer .credits-fold > summary::after{content:"";width:8px;height:8px;border:solid var(--accent);border-width:0 2px 2px 0;transform:rotate(45deg);margin:-4px 4px 0 0;transition:transform .2s}
  footer .credits-fold[open] > summary::after{transform:rotate(-135deg);margin:4px 4px 0 0}
  footer .credits-fold[open] > summary{margin-bottom:var(--sp-3)}

}

/* portrait: the hero is a column, title, picture, one big button, the tour as a quiet centred link */
@media (max-width:640px){
  .hero{padding:84px 0 var(--sp-6)}
  .hero .wrap{gap:var(--sp-5)}
  .herotext h1{font-size:clamp(26px,7.9vw,34px);line-height:1.08;letter-spacing:-.035em;order:1}
  .flightbox{order:2}.herotext .cta{order:3}
  .flight{aspect-ratio:99/72}      /* the video's own shape: a 4/3 crop cut the year at the top left */
  .hero .cta{display:flex;flex-direction:column;align-items:stretch;gap:var(--sp-2)}
  .hero .cta .btn-ghost{align-self:center;justify-content:center;padding:var(--sp-2) var(--sp-4);font-size:14px;color:rgba(255,255,255,.85)}
}

/* landscape: title and picture side by side (as before), the buttons under the title */
@media (max-width:950px) and (orientation:landscape) and (max-height:520px){
  .hero{padding:68px 0 var(--sp-5)}
  .herotext h1{font-size:26px;margin:0 0 var(--sp-4)}
  .hero .cta{display:flex;flex-direction:column;align-items:stretch;gap:var(--sp-2);margin:0}
  .hero .cta .btn-ghost{align-self:flex-start;padding:var(--sp-2) 0;font-size:14px}
  /* the five audiences on one line: icon over name. A pressed button stays where it is, framed in red, and its text opens under the row. */
  .whyband{padding:var(--sp-5) 0}
}
}

/* ---------- soft look on every width: the Switzerland page and the phone design (css/style.css "Phone design system") ----------
   Rounded buttons, cards and pictures (--r-sm/--r-md/--r-lg), one soft shadow, no hard outlines; colours and spacing unchanged. */
.btn-red,.btn-ghost,.btn-dark,.ask button{border-radius:var(--r-md)}
.cta .btn-ghost,.herotext .cta .btn-ghost{border-radius:var(--r-md)}
.flight{border-radius:var(--r-lg)}
.flight .live,.flight video{border-radius:inherit}
.pk-btn,.sbox,.info .btn-line{border:0;border-radius:var(--r-md);box-shadow:var(--lift)}
.pk-btn{box-shadow:var(--lift)}
.pk-menu,.search ul{border:0;border-radius:var(--r-md);overflow:auto;box-shadow:0 12px 32px rgba(7,11,20,.28)}
.mapbox{border:0;border-radius:var(--r-lg);overflow:hidden}
.info{border:0;border-radius:var(--r-lg);box-shadow:var(--lift),0 8px 26px rgba(14,26,34,.25)}
.pin span{border-radius:var(--r-sm)}
.leaflet-tooltip.gtip{border-radius:var(--r-sm)}
.tiles{gap:var(--sp-2);border:0}
.tile{border:0;border-radius:var(--r-md);background:rgba(255,255,255,.06)}
.tile:last-child{border-right:0}
.tile:hover:not([disabled]){background:rgba(255,255,255,.12)}
.tile[aria-current="true"]{background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 2px var(--accent)}
.tile:has(.st.open){box-shadow:none}
.tile[aria-current="true"]:has(.st.open){box-shadow:inset 0 0 0 2px var(--accent)}
.tile .st{border-radius:var(--r-pill);padding:2px 8px}
.sci > details{border:0;border-radius:var(--r-lg);background:var(--sheet);box-shadow:var(--lift);padding:var(--sp-4) var(--sp-4) var(--sp-4)}
.sci{gap:var(--sp-3) var(--sp-3)}
section.s.alt{border-top:0;border-bottom:0}
.quoteband{border-radius:0}
footer .credits-fold > summary{border-radius:var(--r-md)}
.info .making{border-radius:0 var(--r-sm) var(--r-sm) 0}
/* the picked-glacier box: quiet grey region line, big name, the area as a grey tile, one full-width red button */
.info{gap:6px;padding:18px 20px 20px}
.info .lab{color:var(--moraine);font-weight:600}
.info h3{font-size:24px;margin-bottom:4px}
.info #iText{align-self:flex-start;padding:5px 10px;border-radius:var(--r-sm);background:var(--firn);font-size:12.5px;font-weight:600;color:#0A1B33}
.info #iText:empty{display:none}
.info .row{margin-top:10px}
.info .row .btn-red{flex:1 1 auto;justify-content:center;text-align:center;padding:12px 16px;font-size:13.5px;font-weight:700;border-radius:var(--r-md);margin-top:0}
@media (max-width:900px){
  .info{border-radius:0 0 var(--r-lg) var(--r-lg);box-shadow:none}
}

/* the red "Open the explorer" buttons: rectangles with rounded corners */
.btn-red,.btn-red.go,.closing .btn-red.go,.hero .cta .btn-red{border-radius:var(--r-sm)}
/* chic: deep red with a soft gradient, a fine light inner edge, wide letter spacing, the arrow slides on hover */
.btn-red{background:linear-gradient(180deg,#D4413A 0%,#B52B24 100%);border-color:rgba(255,255,255,.14);letter-spacing:.02em;font-weight:600;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 1px 2px rgba(120,20,16,.35),0 8px 22px -8px rgba(200,50,42,.6);
  transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,background .25s}
.btn-red:hover{background:linear-gradient(180deg,#DC4A43 0%,#BC2F27 100%);border-color:rgba(255,255,255,.22);transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 2px 4px rgba(120,20,16,.35),0 14px 30px -10px rgba(200,50,42,.75)}
.btn-red:active{transform:none}
.btn-red svg{transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.btn-red:hover svg{transform:translateX(4px)}
.hero .cta .btn-red{padding:15px 26px;font-size:15px}

/* ---------- the five ways in: open tiles, each one a link to a different tool ---------- */
.aud-tile{position:relative;display:flex;flex-direction:column;gap:4px;padding:18px 44px 18px 18px;border-radius:var(--r-md);background:var(--firn);color:var(--rock);text-decoration:none;transition:box-shadow .15s,transform .15s}
.aud-tile:hover,.aud-tile:focus-visible{box-shadow:var(--lift),inset 0 0 0 2px var(--accent);transform:translateY(-2px)}
.aud-tile .aud-ico{width:26px;height:26px;margin-bottom:8px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.aud-tile small{font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--moraine)}
.aud-tile b{font-size:17px;line-height:1.25;color:#0A1B33}
.aud-tile span{font-size:13.5px;line-height:1.45}
.aud-tile .aud-arrow{position:absolute;right:16px;bottom:16px;width:18px;height:18px;color:var(--accent)}
@media (max-width:640px), (max-width:950px) and (orientation:landscape) and (max-height:520px){
  .whyband .aud{grid-template-columns:1fr;gap:var(--sp-2)}
  .aud-tile{padding:var(--sp-4) 44px var(--sp-4) var(--sp-4);min-height:56px}
  .aud-tile .aud-ico{position:absolute;right:var(--sp-4);top:var(--sp-4);width:22px;height:22px;margin:0}
  .aud-tile .aud-arrow{display:none}
  .aud-tile span{font-size:14px}
}

/* ---------- gallery preview (not on phones): a blue band with five loose photos, tilted, straightening on hover ---------- */
#gallery[hidden]{display:none}
section.s#gallery{background:radial-gradient(1200px 500px at 15% 0%,#3A86A8 0%,transparent 60%),linear-gradient(160deg,#1F5774 0%,#143D55 100%);border:0;padding:84px 0 92px;overflow:hidden}
#gallery .sh h2{color:#fff}
#gallery .sh p{color:rgba(255,255,255,.82)}
#gallery .eyebrow,section.s#gallery .eyebrow{color:#fff;opacity:.85}
.gprev{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;align-items:start;padding:14px 0 26px}
.gprev .gp{position:relative;display:block;text-decoration:none;color:#0A1B33;background:#fff;padding:10px 10px 0;border-radius:3px;box-shadow:0 2px 4px rgba(0,0,0,.22),0 14px 30px rgba(0,0,0,.30);transform:rotate(var(--r,0deg)) translateY(var(--y,0));transition:transform .3s cubic-bezier(.2,.8,.3,1.3),box-shadow .3s ease}
.gprev .gp:nth-child(1){--r:-4.5deg;--y:6px}
.gprev .gp:nth-child(2){--r:3deg;--y:-12px}
.gprev .gp:nth-child(3){--r:-2deg;--y:12px}
.gprev .gp:nth-child(4){--r:4.5deg;--y:-6px}
.gprev .gp:nth-child(5){--r:-3deg;--y:8px}
.gprev .gp::before{content:"";position:absolute;left:50%;top:-11px;width:62px;height:20px;margin-left:-31px;background:rgba(255,236,170,.78);box-shadow:0 1px 2px rgba(0,0,0,.18);transform:rotate(calc(var(--r,0deg) * -1.5));z-index:2}
.gprev .gp .gi{position:relative;display:block;overflow:hidden;background:var(--firn)}
.gprev .gp img,.gprev .gp video{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .5s ease}
.gprev .gp span.gc{display:block;padding:10px 2px 12px;font-size:13px;font-weight:700;line-height:1.25;color:#0A1B33;transition:color .2s ease}
@media (hover:hover){
  .gprev .gp:hover{transform:rotate(0deg) translateY(-12px) scale(1.1);z-index:3;box-shadow:0 4px 8px rgba(0,0,0,.25),0 28px 50px rgba(0,0,0,.4)}
  .gprev .gp:hover img,.gprev .gp:hover video{transform:scale(1.04)}
  .gprev .gp:hover span.gc{color:var(--accent)}
}
.gprev .gp.ghost{pointer-events:none}
.gprev .gp.ghost .gi,.gprev .gp .gi.loading{aspect-ratio:4/5;background:linear-gradient(110deg,#DCE8ED 30%,#F2F7F9 50%,#DCE8ED 70%) 0 0/250% 100%;animation:gdev 1.6s ease-in-out infinite}
.gprev .gp.ghost .gc{color:var(--moraine);font-style:italic}
.gprev .gp .gi.loading img,.gprev .gp .gi.loading video{opacity:0}
.gprev .gp .gi img,.gprev .gp .gi video{transition:transform .5s ease,opacity .5s ease}
@keyframes gdev{from{background-position:130% 0}to{background-position:-30% 0}}
.gprev .gp .gv{position:absolute;right:8px;top:8px;width:26px;height:26px;border-radius:50%;background:rgba(10,27,51,.6);display:grid;place-items:center;pointer-events:none;transition:opacity .2s}
.gprev .gp .gv svg{width:11px;height:11px;fill:#fff;margin-left:1px}
.gprev .gp.playing .gv{opacity:0}
.gprev .gp:active{transform:rotate(0deg) scale(.98)}
.gprev .gp:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media (max-width:1100px){.gprev{gap:16px}.gprev .gp{padding:8px 8px 0}}
@media (prefers-reduced-motion:reduce){.gprev .gp,.gprev .gp img,.gprev .gp video{transition:none}.gprev .gp.ghost .gi,.gprev .gp .gi.loading{animation:none}.gprev .gp:hover,.gprev .gp:hover img,.gprev .gp:hover video{transform:none}}
.gout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
@media (max-width:700px){.gout{grid-template-columns:1fr}}
.gout>div{display:grid;grid-template-columns:22px 1fr;column-gap:10px;row-gap:2px;align-items:center;padding:12px 14px;border:1px solid var(--rule);border-radius:10px;background:var(--sheet)}
.gout svg{grid-row:1/3;width:22px;height:22px;color:var(--crevasse)}
.gout b{font-size:14px;color:var(--ink)}
.gout span{font-size:12.5px;color:var(--moraine)}
@media (max-width:900px){#gallery{display:none!important}}

/* alternating bands down the page: dark hero, white, tint (gallery), white, dark map, ice quote, white, dark closing */
#science .sci > details{background:var(--firn);box-shadow:none}

/* zoom buttons of the hero view: glass discs above the play button */
.fl-zoom{position:absolute;z-index:4;right:14px;bottom:58px;display:flex;flex-direction:column;gap:6px}
.fl-zoom button{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(14,26,34,.55);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 0 0 1px rgba(255,255,255,.28),0 4px 14px rgba(0,0,0,.35);opacity:.8;transition:opacity .2s,background .2s}
.fl-zoom button:hover,.fl-zoom button:focus-visible{opacity:1;background:rgba(14,26,34,.78)}
.fl-zoom button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.fl-zoom svg{width:16px;height:16px}
.flight:not(.zoomable) .fl-zoom{display:none}
@media (pointer:coarse){.fl-zoom{right:12px;bottom:62px}.fl-zoom button{width:42px;height:42px}}

/* German (js/i18n.js): the hint over the flight picture is longer than in English; it sits at the right and may wrap, so it never covers the year */
html[data-i18n-long] .drag-hint{left:auto;right:12px;transform:none;max-width:calc(100% - 150px);white-space:normal;line-height:1.25;text-align:left}
@media(max-width:560px){html[lang="fr"] .herotext h1{font-size:clamp(20px,5.9vw,30px)}}      /* "Les glaciers ne parlent pas." keeps its line on a phone */


/* ---------- scroll story (js/home-scroll.js and the story script of home.html) ----------
   Editorial: things come into the page as you scroll. Only transform and opacity move (no filters). With reduced motion, or when the script does not run, nothing is hidden. */
.progress{position:fixed;z-index:30;left:0;top:0;height:3px;width:100%;background:var(--accent);transform:scaleX(0);transform-origin:0 50%;pointer-events:none}
.bar.solid{background:#070b14 var(--tfs-space,none) center top/cover no-repeat}      /* the starry backdrop of the other pages (js/space-bg.js) */
.bar.away{transform:translateY(-100%)}
@media (max-width:640px),(max-width:950px) and (orientation:landscape) and (max-height:520px){.bar.solid{background:#070b14 var(--tfs-space,none) center top/cover no-repeat}}

/* things that come in: hidden only while the page is set up for it (html.js-rv) */
.js-rv .rv{opacity:0;transform:translateY(34px);transition:opacity .8s cubic-bezier(.2,.7,.2,1) var(--d,0ms),transform .8s cubic-bezier(.2,.7,.2,1) var(--d,0ms)}
.js-rv .rv.in{opacity:1;transform:none}
.js-rv .closing h2 .rv{transform:translateY(46px)}
.js-rv .closing h2 .rv.in{transform:none}
.js-rv .aud-tile.rv.in{transition:opacity .8s cubic-bezier(.2,.7,.2,1) var(--d,0ms),transform .8s cubic-bezier(.2,.7,.2,1) var(--d,0ms),box-shadow .15s}      /* the hover lift of the tile still works once it is in */
.js-rv .aud-tile.rv.in:hover,.js-rv .aud-tile.rv.in:focus-visible{transform:translateY(-2px);transition-delay:0ms}

/* the hero: a whole screen; the text and the flight leave a little slower than the page; the stars stay put like in every section (fixed) */
@media (min-width:901px){
  .hero{min-height:100svh;display:flex;align-items:center;overflow:hidden}
  .hero .wrap{width:100%;max-width:1340px;grid-template-columns:minmax(380px,9fr) minmax(0,14fr);gap:clamp(40px,4vw,72px)}      /* the flight takes the space: wider page, wider column */
  .herotext{transform:translateY(calc(var(--hp,0) * -46px));opacity:calc(1 - var(--hp,0) * 1.25)}
  .flightbox{transform:translateY(calc(var(--hp,0) * -22px)) scale(calc(1 - var(--hp,0) * .05));opacity:calc(1 - var(--hp,0) * .55)}
}
/* first sight of the page: the title lines, the text and the picture come in one after the other */
@keyframes heroIn{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.js-rv .hero h1 span{animation:heroIn 1s cubic-bezier(.2,.7,.2,1) both}
.js-rv .hero h1 span + span{animation-delay:.16s}
.js-rv .hero .lede{animation:heroIn 1s cubic-bezier(.2,.7,.2,1) .34s both}
.js-rv .hero .cta{animation:heroIn 1s cubic-bezier(.2,.7,.2,1) .48s both}
.js-rv .hero .flight{animation:heroIn 1.3s cubic-bezier(.2,.7,.2,1) .25s both}
.scrollcue{position:absolute;z-index:2;left:50%;bottom:20px;width:26px;height:42px;margin-left:-13px;border:1.5px solid rgba(255,255,255,.55);border-radius:14px;opacity:.85}
.scrollcue i{position:absolute;left:50%;top:8px;width:3px;height:8px;margin-left:-1.5px;border-radius:2px;background:#fff;animation:cue 1.9s ease-in-out infinite}
@keyframes cue{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(14px)}}
@media (max-width:900px){.scrollcue{display:none}}
@media (prefers-reduced-motion:reduce){.scrollcue i{animation:none;opacity:1}}

/* the Why block: the two paragraphs grow bright as they pass the middle of the screen */
.whyband{padding:clamp(72px,12vw,150px) 0 clamp(56px,8vw,100px)}
.whyhead .why-name{font-size:clamp(22px,2.7vw,36px);line-height:1.32;font-weight:600;letter-spacing:-.018em;max-width:900px}
.why-name + .why-name{margin-top:clamp(36px,6vw,80px)}
.why-name.lit{opacity:calc(.2 + var(--lit,1) * .8);transform:translateY(calc((1 - var(--lit,1)) * 14px))}
.js-rv .why-name.lit{will-change:opacity,transform}
.whyband .aud{margin-top:clamp(48px,7vw,88px)}
.whyhead .aud-title{margin-bottom:clamp(20px,3vw,36px)}
@media (max-width:640px){.whyhead .why-name{font-size:19px;line-height:1.45}}

/* what you can do: the clip is pinned, the points scroll past it and the one at the reading line plays */
.how{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,5vw,72px);align-items:start;margin-top:8px}
.vstage{position:sticky;top:clamp(84px,calc(50svh - 12vw),220px);aspect-ratio:16/9;width:100%;background:var(--night);overflow:hidden;border-radius:var(--r-lg);box-shadow:0 24px 60px rgba(14,26,34,.28)}
.vstage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s}
.vstage video.on{opacity:1}
.feat{list-style:none;margin:0;padding:0}
.feat li{display:flex;align-items:center;min-height:62svh}
.feat li:first-child{min-height:56svh}
.feat li:last-child{min-height:50svh}
.feat button{position:relative;display:block;width:100%;text-align:left;border:0;background:none;padding:0 0 0 22px;color:inherit;cursor:pointer;opacity:.3;transform:translateX(10px);transition:opacity .45s,transform .45s}
.feat button:hover{opacity:.6}
.feat button[aria-current="true"]{opacity:1;transform:none}
.feat button::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:2px;background:var(--rule)}
.feat button::after{content:"";position:absolute;left:0;top:2px;width:3px;height:var(--p,0%);max-height:calc(100% - 4px);border-radius:2px;background:var(--accent)}      /* the red part of the bar is the clip's progress */
.feat .n{display:block;margin-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--accent);font-variant-numeric:tabular-nums}
.feat .n::before{content:"0"}
.feat b{display:block;font-size:clamp(24px,2.6vw,34px);line-height:1.1;font-weight:800;letter-spacing:-.028em;color:#0A1B33}
.feat .t{display:block;margin-top:12px;font-size:clamp(15px,1.25vw,17px);line-height:1.55;color:var(--moraine);max-width:440px}
@media (max-width:900px){
  .how{display:block}
  .vstage{top:0;z-index:5;border-radius:0 0 var(--r-md) var(--r-md);box-shadow:0 8px 18px rgba(10,27,51,.2)}
  .feat li,.feat li:first-child{min-height:36svh}.feat li:last-child{min-height:32svh}
  .feat button{padding-left:18px}
  .feat b{font-size:24px}
}
@media (max-width:900px){#how .wrap{padding:0}#how .sh,#how .how-cta{padding:0 var(--sp-4)}#how .sh{margin-bottom:18px}#how .feat{padding:0 var(--sp-4)}}
/* phones on their side: the clip left, the points right */
@media (max-width:950px) and (orientation:landscape) and (max-height:520px){
  .how{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:0 14px}
  .vstage{top:8px;border-radius:var(--r-md)}
  .feat li,.feat li:first-child,.feat li:last-child{min-height:70svh}
}

/* the other blocks of the page that lean on the same rules: the dark map band and the closing line */
.pickband{padding-top:clamp(72px,9vw,120px)}
.closing{padding:clamp(96px,14vw,180px) 0 clamp(72px,9vw,120px)}
.closing h2{font-size:clamp(34px,5.6vw,76px);line-height:1}
@media (prefers-reduced-motion:reduce){.progress{display:none}.bar{transition:none}}

@media (max-width:640px){.drag-hint{top:auto;bottom:12px;left:12px;right:auto;max-width:calc(100% - 84px);white-space:normal;line-height:1.25}}      /* phones: under the year, left of the buttons */

/* "Create and share": the starry backdrop of the hero (js/space-bg.js sets --tfs-space), light text on it */
#how{background:#070b14 var(--tfs-space2,none) center calc(50% - var(--sy,0px))/auto var(--tile,200vh) repeat-y fixed;color:#fff}      /* fixed: the 1600x1000 picture covers the screen like in the hero, not the whole tall section (that blew the stars up into blocks) */
#how .sh h2,#how .feat b{color:#fff}
#how .sh p,#how .feat .t{color:rgba(255,255,255,.72)}
#how .sh p.eyebrow{color:var(--accent)}
#how .feat button::before{background:rgba(255,255,255,.2)}
/* the clip sits in a plain laptop: the screen is the viewer; the whole laptop turns a little with the scroll (--ry, set in js/home-scroll.js) */
#how .laptop{position:sticky;top:clamp(84px,calc(50svh - 14vw),220px);perspective:1600px;width:100%}
#how .rig{transform:rotateY(var(--ry,-14deg)) rotateX(var(--rx,4deg));transform-style:preserve-3d;transition:transform .12s linear}
#how .lid{background:#0d1118;border-radius:16px 16px 6px 6px;padding:2.2% 2.2% 2.6%;border:1px solid rgba(255,255,255,.2);box-shadow:0 0 70px rgba(120,160,255,.22),0 30px 60px rgba(0,0,0,.6)}
#how .vstage{position:relative;top:auto;border-radius:3px;box-shadow:none;border:1px solid #000}
#how .deck{position:relative;height:clamp(10px,1.5vw,18px);width:112%;margin:0 -6%;background:linear-gradient(#c9ced6,#8d939c);border-radius:2px 2px 18px 18px/2px 2px 14px 14px;box-shadow:0 18px 30px rgba(0,0,0,.55)}
#how .deck::after{content:"";position:absolute;left:50%;top:0;width:16%;height:50%;transform:translateX(-50%);background:#6f757e;border-radius:0 0 8px 8px}
@media (max-width:900px){#how .laptop{top:0;z-index:5;padding:8px var(--sp-4) 0}#how .rig{transform:none}#how .deck{width:100%;margin:0}}
@media (prefers-reduced-motion:reduce){#how .rig{transition:none}}

/* "Take it with you": instead of the laptop, a tablet with the clip and a phone with a generic post (no logos, no counts) */
#how .rig{position:relative}
#how .lid,#how .deck{transition:opacity .45s}
#how .laptop[data-k="share"] .lid,#how .laptop[data-k="share"] .deck{opacity:0}
#how .devices{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s;transform-style:preserve-3d}
#how .laptop[data-k="share"] .devices{opacity:1}
#how .tablet{position:absolute;left:0;top:0;width:82%;background:#0d1118;border:1px solid rgba(255,255,255,.2);border-radius:22px;padding:3.2%;box-shadow:0 0 70px rgba(120,160,255,.22),0 30px 60px rgba(0,0,0,.6);transform:translateZ(0)}
#how .tscreen{aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#000}#how .tscreen img{display:block;width:100%;height:100%;object-fit:cover}
#how .phone{position:absolute;right:0;bottom:0;width:24%;aspect-ratio:9/18.5;background:#0d1118;border:1px solid rgba(255,255,255,.28);border-radius:26px;padding:2.4%;box-shadow:0 30px 60px rgba(0,0,0,.7),0 0 40px rgba(120,160,255,.2);transform:translateZ(30px)}
#how .pscreen{width:100%;height:100%;background:#fff;border-radius:20px;overflow:hidden;display:flex;align-items:center}
#how .post{width:100%;color:#0A1B33}
#how .ph{display:flex;align-items:center;gap:6%;padding:6% 7%}
#how .av{width:16%;aspect-ratio:1;border-radius:50%;background:var(--accent);flex:none}
#how .ph b{font-size:clamp(5px,.62vw,9px);font-weight:700;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#how .post img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
#how .pa{display:flex;gap:8%;padding:7% 7% 4%}
#how .pa svg{width:15%;height:auto;aspect-ratio:1;fill:none;stroke:#0A1B33;stroke-width:1.8;stroke-linejoin:round}
#how .ln{display:block;height:5px;margin:0 7% 6%;border-radius:3px;background:#d5dbe3}
#how .ln.s{width:50%}


/* "About Tongues from Space": the starry backdrop again (js/space-bg.js sets --tfs-space), light text on it */
.quoteband{background:#070b14 var(--tfs-space2,none) center calc(50% - var(--sy,0px))/auto var(--tile,200vh) repeat-y fixed;color:#fff}
.quoteband .qmain,.quoteband .qcols p{color:#fff}
.quoteband .qsub{color:rgba(255,255,255,.78)}
.quoteband .qcols p{color:rgba(255,255,255,.8)}
.quoteband .qcols,.quoteband .qcols > div + div{border-color:rgba(255,255,255,.22)}
.quoteband .why-logo g{fill:#fff}
.quoteband a{color:#fff;text-decoration:underline}
#how .how-cta{margin-top:64px}

/* ---------- planes, seams and fillers (design round 2026-11-16) ----------
   The page is a stack of flat colour planes (css/tokens.css: --space, --snow, blue gallery, --space, --till, --space, --mist, --space), never two of the same kind side by side.
   Between them: seams with a shape (the ridge under the hero, the pixel row over the About band, the layers of the years over "Data and method", the ice front over the closing line)
   and three things that cross a seam (the gallery's three notes, the "Open the studio" button of the story, the ridge itself). Fillers are the tongue and the spark of the logo and
   topographic lines. Decoration only: pseudo-elements with the files of images/home/shape-*.svg (scripts/build_home_shapes.py) as masks or backgrounds; no HTML, no text, no filters. */

/* the planes */
.whyband{background:var(--snow)}
.pickband{background:var(--till)}
#science{background:var(--mist)}
.whyband,.pickband,#science{position:relative;overflow:hidden;overflow:clip}      /* the fillers may run out of the box; the section cuts them */
.whyband::before,.whyband::after,.pickband::before,.pickband::after,#science::before,#science::after{content:"";position:absolute;pointer-events:none;z-index:0}
.whyband > .wrap,.pickband > .wrap,#science > .wrap{position:relative;z-index:1}

/* Why: contour lines of a glacier hill (one dashed red ring: the former extent) and a few glints of the logo's spark */
.whyband::after{inset:0;background:var(--crevasse);opacity:.3;-webkit-mask:url(../images/home/shape-spark.svg) 86% 9%/22px 22px no-repeat,url(../images/home/shape-spark.svg) 94% 31%/14px 14px no-repeat,url(../images/home/shape-spark.svg) 74% 5%/12px 12px no-repeat;mask:url(../images/home/shape-spark.svg) 86% 9%/22px 22px no-repeat,url(../images/home/shape-spark.svg) 94% 31%/14px 14px no-repeat,url(../images/home/shape-spark.svg) 74% 5%/12px 12px no-repeat}

/* Choose: warm paper, the mark of the logo, big and in ice, behind the heading, contour lines under the map */
.pickband{padding-bottom:96px}      /* room for the pixel row of the band below */

/* Data and method: the layers of the years on top (eleven equal bands from the dark of space to the mist: one per year 2016 to 2026, decoration, no values), contour lines at the side */
#science{--strata:clamp(33px,4vw,55px);padding-top:calc(96px + var(--strata))}
#science::before{left:0;right:0;top:0;height:var(--strata);background:linear-gradient(to bottom,#0A1426 0 9.09%,#11263B 9.09% 18.18%,#183850 18.18% 27.27%,#1F4A64 27.27% 36.36%,#265C79 36.36% 45.45%,#2D6E8E 45.45% 54.55%,#5288A2 54.55% 63.64%,#77A2B7 63.64% 72.73%,#9DBCCB 72.73% 81.82%,#C2D6E0 81.82% 90.91%,#D6E5EC 90.91% 100%)}

/* seam 1, under the hero: a ridge in the colour of the next plane rises into the dark; the middle is low, like the valley of a glacier (the scroll cue sits in it) */
.hero{--ridge:clamp(44px,7.4vw,108px);padding-bottom:calc(var(--ridge) * .55 + 28px)}
.hero::after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:-1px;height:var(--ridge);background:var(--snow);-webkit-mask:url(../images/home/shape-ridge.svg) 0 100%/100% 100% no-repeat;mask:url(../images/home/shape-ridge.svg) 0 100%/100% 100% no-repeat;pointer-events:none}
.scrollcue{bottom:calc(var(--ridge) * .3 + 14px)}

/* seam 2, the gallery's three notes hang over the lower edge of the blue plane into the dark one */
section.s#gallery{overflow:visible;overflow-x:clip;padding-bottom:0}
#gallery .gout{position:relative;z-index:3;margin-bottom:-34px}
#gallery .gout > div{border:0;box-shadow:0 12px 30px rgba(3,8,16,.34)}
#how{padding-top:calc(96px + 34px);padding-bottom:0}

/* seam 3, the red button of the story sits half on the dark plane and half on the warm one */
#how .how-cta{position:relative;z-index:3;margin:64px 0 -24px}

/* seam 4, over the About band: square pixels (the size of a Sentinel-2 pixel, drawn big) thin out upwards from the dark band into the warm plane; the same starry picture as the band, so no edge shows */
.quoteband{position:relative}
.quoteband::before{content:"";position:absolute;z-index:2;left:0;right:0;top:-48px;height:48px;background:inherit;-webkit-mask:url(../images/home/shape-pixels.svg) 0 100%/384px 48px repeat-x;mask:url(../images/home/shape-pixels.svg) 0 100%/384px 48px repeat-x;pointer-events:none}

/* seam 5, over the closing line: the front of a glacier, in the colour of the plane above, hangs into the dark */
.closing{position:relative;--ice-h:clamp(36px,4.4vw,62px);--above:var(--mist)}
.closing::before{content:"";position:absolute;left:0;right:0;top:-1px;height:var(--ice-h);background:var(--above);-webkit-mask:url(../images/home/shape-icefront.svg) 0 0/100% 100% no-repeat;mask:url(../images/home/shape-icefront.svg) 0 0/100% 100% no-repeat;pointer-events:none}

/* cards on a light plane: an outline in ice, not a shadow (the planes do the separating); the three ways in carry the mark of the logo in the corner */
.aud-tile{isolation:isolate;overflow:hidden;background:var(--sheet);box-shadow:inset 0 0 0 1px var(--ice)}
#science .sci > details{background:var(--sheet);box-shadow:inset 0 0 0 1px var(--ice)}

@media (max-width:900px){
  #how{padding-top:52px}
  .pickband{padding-bottom:72px}
  #science{padding-top:calc(52px + var(--strata))}
}
/* phones (the short front page: hero, the ways in, the closing line): the ridge and the ice front stay, the fillers go */
@media (max-width:640px),(max-width:950px) and (orientation:landscape) and (max-height:520px){
  .whyband::after,  .closing{--above:var(--snow);padding-top:calc(var(--ice-h) + 26px)}
}
@media (prefers-reduced-motion:reduce){