/* AviAlert website. Plain CSS, no framework. Fonts are served from this site. */

@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-latin-400.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-latin-500.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-latin-600.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-latin-700.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/barlow-latin-800.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/barlow-latin-900.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed-latin-600.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed-latin-700.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-latin-400.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-latin-500.woff2) format("woff2")}

/* ---------- Tokens ---------- */
:root{
  --black:#000000; --ink:#0A0A0A;
  --t1:#F2F2F2; --t2:#CCCCCC; --t3:#A9A9A9; --t4:#868686; --dim:#707070; --rule:#2B2B2B; /* neutral greys only: no blue */
  --orange:#F3541F;   /* the i, the travelling dot */
  --act:#FF6B2C;      /* Get the app link */
  --btn1:#FF8C50; --btn2:#F25B1D; --btnedge:#D9521F;   /* main button */
  --paper:#F2F3F4;
  --sans:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;
  --cond:"Barlow Condensed","Barlow",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --ease:cubic-bezier(.4,0,.2,1);
  /* the line sits at --rx; text starts at --pad */
  --rx:29.5px; --pad:56px; --padr:20px; --hdr:68px;
  /* Phone browsers slide their toolbars away as you scroll, so a phone has three screen heights (Marc, 22 Nov 2026):
     --vh  the smallest, toolbars showing. It never changes, so scroll lengths are measured in it.
     --see what can be seen right now. Pinned scenes are this tall, so they always end at the bottom of the screen.
     --big the tallest, toolbars away. Full-screen photos are this tall, so nothing else can show beneath them.
     On a computer all three are the same. */
  --vh:100vh; --see:100vh; --big:100vh;
  --hs:calc(var(--big) - var(--vh));    /* how far the first screen runs on below what is seen when the page opens */
  --sk:calc(var(--big) - var(--see));   /* the same for a pinned full-screen photo; it shrinks to nothing as the toolbars go */
}
@supports (height:100dvh){ :root{ --vh:100svh; --see:100dvh; --big:max(100lvh,100dvh) } }
@media (min-width:900px){
  :root{ --rx:clamp(45.5px,7.05vw,101.5px); --pad:calc(var(--rx) + 46.5px); --padr:clamp(28px,6.6vw,96px); --hdr:92px }
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:#000}
body{margin:0;background:#000;color:#fff;font-family:var(--sans);font-size:17px;line-height:1.45;-webkit-font-smoothing:antialiased;overflow-x:hidden}
@supports (overflow:clip){ body{overflow-x:clip} }
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
h1,h2,h3,h4,p,ol,ul,figure{margin:0;padding:0}
ol,ul{list-style:none}
.oi{color:var(--orange)}
.mono{font-family:var(--mono);font-weight:500}
:focus-visible{outline:2px solid #fff;outline-offset:3px}
.tone-light :focus-visible{outline-color:#0A0A0A}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;color:#000;padding:12px 16px;border-radius:6px;font-weight:600}
.skip:focus{top:12px}
.only-desktop{display:none}
@media (min-width:900px){ .only-desktop{display:block} .only-phone{display:none !important} }

/* ---------- Shared pieces ---------- */
.sec{position:relative;padding-left:var(--pad);padding-right:var(--padr);background:#000}
/* The contour map. One drawing, tiled 1440 wide. --ty is set by js/site.js so each section carries on the map
   from where the section above left off, instead of starting it again at its own top edge. */
.topo{background:#000 url(../img/topo-black.webp?v=f03bb01e38) 50% var(--ty,0px)/1440px auto}
.rail{position:absolute;left:calc(var(--rx) - .5px);top:0;bottom:0;width:1px;background:rgba(255,255,255,.22);z-index:3;pointer-events:none}
.rail i{position:absolute;left:0;top:0;width:1px;height:0;background:#fff}
.tone-light .rail{background:rgba(10,10,10,.22)}
.tone-light .rail i{background:#0A0A0A}
.rdot{width:13px;height:13px;border-radius:50%;background:var(--orange);border:1.5px solid #fff}
#dot{position:fixed;left:calc(var(--rx) - 6.5px);top:0;z-index:40;opacity:0;will-change:transform;pointer-events:none}
.stop{position:absolute;left:calc(var(--rx) - 3.5px - var(--pad));width:7px;height:7px;border-radius:50%;background:#000;border:1px solid var(--t4);z-index:4;transition:background-color .3s,border-color .3s;pointer-events:none}
.stop.on{background:#fff;border-color:#fff}
.tone-light .stop{background:#fff;border-color:#0A0A0A}
.tone-light .stop.on{background:#0A0A0A}

.eyebrow{position:relative;font-family:var(--cond);font-weight:600;font-size:15px;letter-spacing:.09em;color:var(--t3)}
.eyebrow .stop{top:calc(50% - 3.5px)}
.tag{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-family:var(--cond);font-weight:600;font-size:15px;letter-spacing:.05em;color:var(--t2)}
.tag .caps{text-transform:uppercase;letter-spacing:.09em}
.tag .mono{color:#fff;letter-spacing:0}
.new,.tier{display:inline-block;font-family:var(--cond);font-weight:600;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;border:1px solid currentColor;border-radius:4px;padding:2px 7px 1px;opacity:.85;white-space:nowrap;vertical-align:middle}
.tier{margin-left:10px}
/* The Pro tag: orange, like the Pro badge in the app (Marc, 22 Nov 2026). The only orange tag on the site. Dark letters, so they stay readable. */
.tier.tier--pro,.fp-top .tier.tier--pro,.fp-panel.on .fp-top .tier.tier--pro{background:var(--orange);border-color:var(--orange);color:#0A0A0A;font-weight:700;opacity:1}
/* the same chip inside a sentence, where the text speaks of the Pro plan: it follows the size of the words around it */
.tier--in{margin:0 .1em;font-size:max(11.5px,.68em);padding:.14em .5em .06em;vertical-align:.12em;line-height:1.15;letter-spacing:.07em}
.h2{position:relative;font-weight:800;letter-spacing:-.022em;line-height:1.02;font-size:clamp(30px,8.6vw,36px)}
.h2 .stop{top:.5em}
.lede{color:var(--t2);font-size:17px;line-height:1.45}
.fill{background:linear-gradient(90deg,var(--fc1) calc(var(--fill,0) * 112% - 12%),var(--fc0) calc(var(--fill,0) * 112%));-webkit-background-clip:text;background-clip:text;color:transparent;--fc1:#fff;--fc0:#5E5E5E}
.no-js .fill{--fill:1}
.tlink{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:600;font-size:17px;color:#fff;white-space:nowrap}
.tlink:hover{text-decoration:underline;text-underline-offset:4px}
.badges{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
/* The official store badges, shown as supplied. Same height for both; the gap is a quarter of that height, as the stores ask. */
.badge{display:inline-flex;border-radius:8px}
.badge img{display:block;height:44px;width:auto}   /* 44px keeps the pair side by side on most phones, and is the smallest comfortable touch size */
.dev{position:relative;border-radius:13.5% / 6.2%;background:#050505;box-shadow:0 0 0 1px #3a3a3a,0 0 0 8px #0c0c0c,0 0 0 9px #2e2e2e,0 30px 70px rgba(0,0,0,.6);overflow:hidden;aspect-ratio:520/1130}
.dev img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0}
.dev--land{aspect-ratio:1080/497;border-radius:6.2% / 13.5%}
/* Credits: a small grey line under an app screen that says whose map or data it shows (MapTiler, Open-Meteo,
   Avalanche Canada; the words are in data/home.js, `credits`). A credit has one or two rows. The pieces of a row are
   kept whole; in a narrow column a piece drops to a new line. */
.credit{display:flex;flex-direction:column;align-items:center;margin:0;font-size:11px;line-height:14px;letter-spacing:.02em;color:var(--t4)}
.credit .row{display:flex;flex-wrap:wrap;justify-content:center;gap:0 .45em}
.credit .row span{white-space:nowrap}
.credit.c-wx .row{column-gap:.26em}   /* one phrase in two pieces: an ordinary word space between them */
.ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px;text-align:center;background:#0E0E0E;color:var(--t3);font:500 12px/1.4 var(--mono)}
.ph b{font:500 13px/1.45 var(--mono);color:var(--t2)}
@media (min-width:900px){
  .eyebrow,.tag{font-size:17px}
  .h2{font-size:clamp(40px,4.6vw,68px)}
  .lede{font-size:clamp(18px,1.5vw,22px)}
  .badges{gap:14px}
  .badge img{height:56px}
}

/* ---------- Shared: full photo panels, glass panels, headings that come up line by line ---------- */
.photo-sec{overflow:hidden;min-height:calc(var(--vh) * .94);display:flex;flex-direction:column;justify-content:flex-end;padding-top:150px;padding-bottom:64px}
.ph-img{position:absolute;left:0;top:-8%;width:100%;height:116%;max-width:none;object-fit:cover;will-change:transform}
.ph-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.8) 0,rgba(0,0,0,.2) 26%,rgba(0,0,0,.32) 52%,rgba(0,0,0,.93) 100%)}
.photo-sec > .in{position:relative}
.photo-sec .eyebrow{color:#DADADA;margin-bottom:12px}
.photo-sec .h2{margin-bottom:14px}
.photo-sec .lede{color:#EEEEEE;max-width:560px}
.glass{background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 26px 60px rgba(0,0,0,.5);-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15)}
.rw{display:inline-block;overflow:hidden;vertical-align:top;padding:.1em 0 .16em;margin:-.1em 0 -.16em}
.ri{display:inline-block;transform:translateY(112%);transition:transform .95s cubic-bezier(.2,.75,.15,1);transition-delay:calc(var(--l,0) * 95ms)}
.risen .ri{transform:none}
@media (min-width:900px){
  .photo-sec{padding-bottom:104px}
  .ph-scrim{background:linear-gradient(180deg,rgba(0,0,0,.75) 0,rgba(0,0,0,.1) 28%,rgba(0,0,0,.2) 55%,rgba(0,0,0,.9) 100%),linear-gradient(64deg,rgba(0,0,0,.82) 0,rgba(0,0,0,.4) 34%,rgba(0,0,0,0) 62%)}
  .photo-sec .h2{max-width:980px;margin-bottom:22px}
}

/* ---------- Header ---------- */
.hd{position:fixed;left:0;right:0;top:0;height:var(--hdr);display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 20px;z-index:50;transition:background-color .35s var(--ease)}
.hd.solid,.hd-on .hd{background:#000}   /* .hd-on: a page that starts on a light photo keeps the header black from the top */
.wm{display:inline-flex;align-items:center;min-height:44px;font-weight:900;letter-spacing:-.04em;font-size:26px;line-height:1;color:#fff}
.hd-nav{display:flex;align-items:center}
.navl{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;font-family:var(--cond);font-weight:600;font-size:16px;letter-spacing:.08em;text-transform:uppercase;color:#fff;white-space:nowrap}
.navl--get{color:var(--act)}
.navl--menu{gap:9px}
.navl--menu i{position:relative;display:block;width:20px;height:10px}
.navl--menu i::before,.navl--menu i::after{content:"";position:absolute;left:0;right:0;height:2px;background:currentColor;transition:transform .25s var(--ease),top .25s var(--ease)}
.navl--menu i::before{top:0}
.navl--menu i::after{top:8px}
.navl--menu[aria-expanded="true"] i::before{top:4px;transform:rotate(45deg)}
.navl--menu[aria-expanded="true"] i::after{top:4px;transform:rotate(-45deg)}
.menu-on .hd{background:#000}
.hd-links{display:none}
@media (min-width:900px){
  .hd{padding:0 clamp(24px,3.9vw,56px)}
  .wm{font-size:30px}
  .hd-links{display:flex;align-items:center;gap:clamp(8px,1.6vw,20px)}
  .navl{font-size:17px}
  .navl--menu{display:none}
}
.menu{position:fixed;inset:0;z-index:45;background:#000;padding:calc(var(--hdr) + 12px) 20px 32px var(--pad);overflow-y:auto;display:none}
.menu.open{display:block}
.menu h2{font-family:var(--cond);font-weight:600;font-size:15px;letter-spacing:.09em;text-transform:uppercase;color:var(--t3);margin:22px 0 6px}
.menu a.m{display:flex;align-items:center;gap:10px;min-height:48px;font-weight:700;font-size:24px;letter-spacing:-.01em}
.menu .badges{margin-top:28px}

/* ---------- 1 · Opening and first screen ---------- */
.hero{position:relative;height:var(--big);min-height:calc(600px + var(--hs));overflow:hidden;background:#000}
.o-topo{position:absolute;inset:-4%;background:url(../img/topo-black.webp?v=f03bb01e38) center/cover}
.o-scenes{position:absolute;inset:0 0 var(--hs);z-index:0;isolation:isolate}
.o-scene{position:absolute;inset:0;opacity:0;will-change:transform,opacity}
.o-scene:first-child{opacity:1}
.o-scene img{width:100%;height:100%;object-fit:cover}
.hero-scrim{position:absolute;inset:0 0 var(--hs);z-index:1;pointer-events:none;box-shadow:0 var(--hs) 0 #000;background:linear-gradient(180deg,rgba(0,0,0,.55) 0,rgba(0,0,0,.14) 16%,rgba(0,0,0,.06) 40%,rgba(0,0,0,.6) 66%,rgba(0,0,0,.93) calc(100% - 24px),#000 100%)}   /* the last 24px go to full black, so the photo meets the black below it without an edge */
.hero .rail{top:var(--hdr)}
.hero-copy{position:absolute;left:var(--pad);right:18px;bottom:calc(92px + var(--hs));z-index:4}
.h-eyebrow{font-family:var(--mono);font-weight:500;font-size:15px;color:#DADADA;margin-bottom:10px}
.h-h1{font-weight:800;letter-spacing:-.025em;line-height:.98;font-size:clamp(38px,11.2vw,46px);margin-bottom:12px}
.h-sub{color:#EEEEEE;line-height:1.38;font-size:17px;max-width:304px}
.hero-more{position:absolute;left:var(--pad);bottom:calc(24px + var(--hs));z-index:4}
.hero-more svg{width:14px;height:14px}
.o-wm{position:absolute;left:0;top:0;font-size:54px;white-space:nowrap;font-weight:900;letter-spacing:-.04em;line-height:1;z-index:7;transform-origin:0 0;color:#fff;visibility:hidden}
.wm-slot{display:inline-block;opacity:0}
.wm-i{color:var(--orange)}
.o-fall{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:6}
.fw{position:absolute;left:0;top:0;white-space:nowrap;font-weight:900;letter-spacing:-.04em;line-height:1;color:transparent;-webkit-text-stroke:1.5px var(--orange);opacity:0;will-change:transform;transform-origin:0 0}
.fw span{display:inline-block}
.o-dot{position:absolute;left:calc(var(--rx) - 6.5px);top:calc(var(--hdr) - 6.5px);z-index:8;opacity:0;pointer-events:none}
.o-pause{position:absolute;right:14px;bottom:calc(24px + var(--hs));z-index:6;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;min-width:44px;border-radius:6px;border:1px solid rgba(255,255,255,.45);background:rgba(0,0,0,.35);color:#fff;font-family:var(--cond);font-weight:600;font-size:15px;letter-spacing:.07em;text-transform:uppercase}
.o-pause i{display:block;width:10px;height:12px;border-left:3px solid #fff;border-right:3px solid #fff}
.o-pause[aria-pressed="true"] i{width:0;height:0;border:0;border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}
.o-pause[aria-pressed="true"]{padding:0}
.o-pause[aria-pressed="true"] .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.o-pause .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* While the opening plays (first visit, motion allowed) these start hidden and the script brings them in. */
.opening .o-scenes,.opening .hero-scrim,.opening .hero .rail,.opening .hero-more,.opening .o-pause,.opening .hd .wm,.opening .hd-nav{opacity:0}
.opening .hero .u{clip-path:inset(0 100% 0 0);opacity:0}
.opening .o-wm{visibility:visible}
.opening .hero{cursor:pointer}
@media (min-width:900px){
  .hero-scrim{background:linear-gradient(180deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.06) 18%,rgba(0,0,0,0) 50%,rgba(0,0,0,.6) 100%),linear-gradient(64deg,rgba(0,0,0,.88) 0,rgba(0,0,0,.5) 30%,rgba(0,0,0,0) 58%)}
  .hero-copy{right:auto;bottom:calc(124px + var(--hs))}
  .h-eyebrow{font-size:17px;margin-bottom:12px}
  .h-h1{font-size:clamp(54px,6.1vw,88px);margin-bottom:18px;white-space:nowrap}
  .h-sub{font-size:clamp(19px,1.6vw,23px);max-width:640px}
  .hero-more{bottom:calc(40px + var(--hs))}
  .o-wm{font-size:clamp(90px,9vw,140px)}
  .fw{-webkit-text-stroke-width:2.2px}
  .o-pause{right:clamp(24px,3.9vw,56px);bottom:calc(40px + var(--hs));padding:0 16px}
  .o-pause .lbl{position:static;width:auto;height:auto;clip:auto}
}

/* ---------- 2 · The one app, and the list of what is inside ---------- */
.intro .lede{margin-bottom:26px}
/* The small line under the store badges. It belongs to them, so it sits close and runs no wider than the pair. */
.intro-note{margin-top:14px;max-width:300px;font-size:14px;line-height:1.45;color:#D4D4D4}
.inside{padding-top:64px;padding-bottom:40px}
.inside .eyebrow{margin-bottom:14px}
.inside li{position:relative;border-top:1px solid var(--rule)}
.inside li:last-child{border-bottom:1px solid var(--rule)}
.inside a{display:grid;grid-template-columns:34px 1fr auto;align-items:baseline;padding:16px 0;font-size:22px;line-height:1.15;color:var(--dim);transition:color .5s var(--ease)}
.inside li.lit a,.inside a:hover,.inside a:focus-visible{color:#fff}
.inside .n{font-size:13px;color:var(--t3)}
.inside .t{font-weight:700;letter-spacing:-.015em}
.inside .new{grid-column:2;grid-row:2;justify-self:start;margin-top:8px}
.inside .arr{grid-column:3;grid-row:1;font-size:18px;font-weight:500;opacity:.75}
.inside .stop{top:25px}
@media (min-width:900px){
  .intro .lede{max-width:640px;margin-bottom:36px}
  .intro-note{margin-top:16px;max-width:640px;font-size:15px}
  .inside{padding-top:120px;padding-bottom:110px}
  .inside .eyebrow{margin-bottom:22px}
  .inside a{display:flex;align-items:center;gap:22px;padding:25px 0;font-size:clamp(28px,2.8vw,40px);line-height:1.1}
  .inside .n{font-size:15px;width:38px}
  .inside .new{margin-top:0}
  .inside .arr{margin-left:auto;font-size:26px}
  .inside .stop{top:calc(50% - 3.5px)}
}

/* ---------- 3 · The method, shown working: a line on a map becomes a plan, then the map becomes the mountain ---------- */
.method{padding:0}
.method > .rail{bottom:auto;height:0}
/* The contour map stops for this section. The valley is held still while the page scrolls on behind it, so the
   lines were seen sliding across the land and the list. Here the valley is the map. The lines fade out over the foot
   of the section above and come back over the top of the section below, so there is no step where they stop. */
.topo.method{background-image:none}
.topo.inside{background-image:linear-gradient(0deg,#000 0,rgba(0,0,0,0) 240px),url(../img/topo-black.webp?v=f03bb01e38);background-position:0 0,50% var(--ty,0px);background-size:auto,1440px auto}
.method + .topo{background-image:linear-gradient(180deg,#000 0,rgba(0,0,0,0) 240px),url(../img/topo-black.webp?v=f03bb01e38);background-position:0 0,50% var(--ty,0px);background-size:auto,1440px auto}
.mt-head{position:relative;padding:64px var(--padr) 26px var(--pad)}
.mt-head .eyebrow{margin-bottom:10px}
.mt-head .h2{margin-bottom:12px}
.mt-head .lede{text-wrap:balance}
.mt-run{height:calc(var(--big) + var(--vh) * 4.2)}
.mt-pin{position:sticky;top:0;height:var(--see);overflow:hidden}
/* The valley. While the plan is made it sits back, dim and without colour, like a relief map.
   At "Reassess throughout the day" (--ph goes from 0 to 1) it comes up to full strength: first light.
   Between the first regroup and the shared regroup it is a little brighter still (--day goes from 0 to 1 and back).
   Both follow the scroll, and the transition below gives the light most of a second to change, so a quick flick or a
   turn of a mouse wheel can never make it snap. The shade over the picture changes at the same pace.
   The script sets its place and size (left, top, width, height) so the route always sits on the land. Its edges fade,
   so on a screen it does not quite cover, the land thins out instead of ending in a line. */
.mt-img{position:absolute;left:0;top:0;max-width:none;opacity:calc(.44 + .56 * var(--ph,0));filter:grayscale(calc(1 - var(--ph,0))) brightness(calc(1 + .3 * var(--day,0)));
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(180deg,transparent 0,#000 9%,#000 95%,transparent 100%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(180deg,transparent 0,#000 9%,#000 95%,transparent 100%);mask-composite:intersect;transition:filter .9s ease-out,opacity .9s ease-out}
.mt-probe{position:absolute;left:0;top:0;width:0;visibility:hidden;pointer-events:none}
.mt-probe-big{height:var(--big)}
.mt-probe-vh{height:var(--vh)}
.mt-scrim{position:absolute;inset:0;opacity:calc(.35 + .65 * var(--ph,0));transition:opacity .9s ease-out;background:linear-gradient(180deg,rgba(0,0,0,.9) 0,rgba(0,0,0,.78) 26%,rgba(0,0,0,.3) 40%,rgba(0,0,0,0) 52%,rgba(0,0,0,0) 86%,rgba(0,0,0,.7) 100%)}
.mt-svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}
.mt-svg path,.mt-svg line{fill:none;stroke-width:1}
.mt-rd{stroke:rgba(255,255,255,.22)}
.mt-rl{stroke:#fff}
/* The planned route: orange dashes, as a route is drawn on the app's map (Marc, 25 Nov). It is drawn in by uncovering it
   (.mt-rev is the cover). Behind the travelling dot it becomes one solid orange line. Both carry a thin dark edge so
   they hold on lit snow. */
.mt-svg .mt-rev{stroke:#fff;stroke-width:18}
.mt-svg .mt-cas{stroke:rgba(0,0,0,.55);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.mt-svg .mt-dim{stroke:var(--orange);stroke-width:2.25;stroke-dasharray:8 6.5;stroke-linecap:round;stroke-linejoin:round}
.mt-svg .mt-lcas{stroke:rgba(0,0,0,.66);stroke-width:6.5;stroke-linejoin:round}
.mt-svg .mt-lit{stroke:var(--orange);stroke-width:3.5;stroke-linejoin:round}
.mt-svg .mt-bc{stroke:rgba(0,0,0,.5);stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .6s}
.mt-svg .mt-b{stroke:#fff;stroke-width:1.9;stroke-dasharray:.1 5.5;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .6s}
.mt-svg.mt-pb .mt-b,.mt-svg.mt-pb .mt-bc{opacity:1}
/* first a closer look at three areas, in grey */
.mt-svg .mt-zone-g{fill:url(#mt-hatch-g);stroke:rgba(255,255,255,.42);stroke-dasharray:3 4;opacity:var(--zg,0)}
/* the terrain to avoid: red bars, then a dotted red border. Red at Marc's request, 21 Nov (the High danger red from the design tokens) */
.mt-svg .mt-zone{fill:url(#mt-hatch);fill-opacity:calc(var(--zf,0) * .92);stroke:#EF1C29;stroke-width:2.25;stroke-linecap:round;stroke-dasharray:.1 6.5;stroke-opacity:var(--zs,0)}
.mt-copy{position:absolute;left:var(--pad);right:var(--padr);top:calc(var(--hdr) + 14px);transform-origin:0 0}
.mt-list li{display:flex;align-items:baseline;gap:12px;padding:2.5px 0;font-weight:700;font-size:clamp(15.5px,4.5vw,19px);letter-spacing:-.012em;line-height:1.14;color:#6E6E6E;transition:color .45s}
.mt-list li .n{flex:none;font-size:12px;color:inherit}
.mt-list li.done{color:#C4C4C4}
.mt-list li.on{color:#fff}
.mt-points li{position:absolute;left:0;top:0}
.mt-stop{position:absolute;left:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#000;border:1.5px solid #fff;transform:scale(0);transition:transform .5s cubic-bezier(.2,.75,.15,1),background-color .3s}
.mt-points li.on .mt-stop{transform:none}
.mt-points li.hit .mt-stop{background:#fff}
.mt-points li[data-k="P"] .mt-stop{display:none}
/* the small grey line that joins each point to its label */
.mt-lead{position:absolute;left:0;top:-.5px;height:1px;background:rgba(255,255,255,.5);transform-origin:0 50%;transform:rotate(var(--la,0rad)) translateX(var(--lg,8px)) scaleX(0);transition:transform .5s cubic-bezier(.2,.75,.15,1)}
.mt-points li.on .mt-lead{transform:rotate(var(--la,0rad)) translateX(var(--lg,8px)) scaleX(1);transition-delay:.16s}
/* prepare to respond: every point on the route answers once */
@keyframes mt-rip{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}100%{box-shadow:0 0 0 18px rgba(255,255,255,0)}}
.mt-points.ready li.on .mt-stop{animation:mt-rip 1.25s cubic-bezier(.2,.6,.2,1) both}
.mt-points.ready li:nth-child(2) .mt-stop{animation-delay:.14s}
.mt-points.ready li:nth-child(4) .mt-stop{animation-delay:.28s}
.mt-points.ready li:nth-child(5) .mt-stop{animation-delay:.42s}
.mt-points.ready li:nth-child(6) .mt-stop{animation-delay:.56s}
.mt-points.ready li:nth-child(7) .mt-stop{animation-delay:.7s}
/* talk it through: the points answer again, in the order of the day */
@keyframes mt-rip2{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}100%{box-shadow:0 0 0 18px rgba(255,255,255,0)}}
.mt-points.recap li.on .mt-stop{animation:mt-rip2 1.25s cubic-bezier(.2,.6,.2,1) both}
.mt-points.recap li:nth-child(2) .mt-stop{animation-delay:.16s}
.mt-points.recap li:nth-child(4) .mt-stop{animation-delay:.32s}
.mt-points.recap li:nth-child(5) .mt-stop{animation-delay:.48s}
.mt-points.recap li:nth-child(6) .mt-stop{animation-delay:.64s}
.mt-points.recap li:nth-child(7) .mt-stop{animation-delay:.8s}
.mt-points.recap li:nth-child(8) .mt-stop{animation-delay:.96s}
.mt-points.recap li:nth-child(9) .mt-stop{animation-delay:1.12s}
.mt-tag{position:absolute;left:var(--dx);top:var(--dy);white-space:nowrap;font-size:12px;font-weight:500;color:#F2F2F2;padding:3px 7px;border-radius:4px;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.22);opacity:0;transform:translateY(6px);transition:opacity .45s,transform .6s cubic-bezier(.2,.75,.15,1)}
.mt-points li.r .mt-tag{transform:translate(-100%,6px)}
.mt-points li.on .mt-tag{opacity:1;transform:none}
.mt-points li.r.on .mt-tag{transform:translate(-100%,0)}
.m-chips{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scroll-padding-left:var(--pad);-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent)}
.m-chips::-webkit-scrollbar{display:none}
.m-chips::after{content:"";flex:0 0 36px}
.mt-after{position:relative;padding:30px 0 6px var(--pad)}
.chip{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;white-space:nowrap;border:1px solid var(--rule);border-radius:6px;font-family:var(--cond);font-weight:600;font-size:15px;letter-spacing:.08em;color:var(--t1)}
.chip:hover{border-color:var(--t3)}
@media (min-width:900px){
  .mt-run{height:calc(100vh * 5.4)}
  .mt-scrim{background:linear-gradient(90deg,rgba(0,0,0,.9) 0,rgba(0,0,0,.8) calc(var(--pad) + 250px),rgba(0,0,0,.3) calc(var(--pad) + 520px),rgba(0,0,0,0) calc(var(--pad) + 680px)),linear-gradient(180deg,rgba(0,0,0,.55) 0,rgba(0,0,0,0) 14%,rgba(0,0,0,0) 90%,rgba(0,0,0,.6) 100%)}
  .mt-svg .mt-dim{stroke-width:2.75;stroke-dasharray:10 8}
  .mt-svg .mt-cas{stroke-width:6}
  .mt-svg .mt-lit{stroke-width:4.25}
  .mt-svg .mt-lcas{stroke-width:7.5}
  .mt-svg .mt-b{stroke-width:2.2;stroke-dasharray:.1 6.5}
  .mt-copy{top:calc(var(--hdr) + 34px);right:auto;width:min(40vw,560px)}
  .mt-copy .eyebrow{margin-bottom:14px;color:#DADADA}
  .mt-copy .h2{margin-bottom:16px;font-size:clamp(34px,min(3.9vw,6.4vh),60px)}
  .mt-copy .lede{color:#EEEEEE;margin-bottom:22px;font-size:clamp(17px,1.35vw,20px);text-wrap:balance}
  .mt-list li{padding:3px 0;gap:14px;font-size:clamp(17px,min(1.45vw,2.5vh),22px)}
  .mt-list li .n{font-size:13px}
  .mt-tag{font-size:13px;padding:4px 9px}
  .mt-after{padding:44px var(--padr) 0 var(--pad);gap:clamp(6px,.7vw,10px);-webkit-mask-image:none;mask-image:none}
  .m-chips::after{display:none}
  .chip{font-size:clamp(12.5px,1.2vw,16px);padding:0 clamp(10px,1.15vw,16px)}
}

/* ---------- 4 · The phone stage (Trip plan, Weather, Avalanche, Snow, Maps) ---------- */
.stage-intro{padding:64px 0 26px}
.stage-intro .tag{margin-bottom:10px}
.stage-intro .h2{margin-bottom:14px}
.stage-lead{font-weight:600;font-size:19px;line-height:1.3;color:#fff;margin-bottom:10px}
[data-n="3"]{--n:3}[data-n="4"]{--n:4}[data-n="5"]{--n:5}[data-n="6"]{--n:6}[data-n="7"]{--n:7}
.stage-run{height:calc(var(--big) + var(--vh) * var(--n) * .44)}
.stage-pin{position:sticky;top:0;height:var(--see);display:grid;grid-template-rows:auto minmax(0,1fr) auto;row-gap:14px;padding:calc(var(--hdr) + 8px) 0 12px}
.stage-text{display:contents}
.stage-mini{grid-row:1;opacity:0;transition:opacity .3s var(--ease);font-family:var(--cond);font-weight:600;font-size:14px;letter-spacing:.09em;text-transform:uppercase;color:var(--t3)}
.pinned .stage-mini{opacity:1}
.stage-mini .mono{color:#fff;letter-spacing:0;margin-right:10px}
.stage-fig{grid-row:2;min-height:0;display:flex;justify-content:center;align-items:center;perspective:1300px;padding:9px 0 12px}
.stage-fig .dev{height:100%;width:auto;max-width:100%;transform:translate3d(0,calc(var(--rise,0) * 1px),.01px) rotateY(calc(var(--ty,0) * 1deg)) rotateX(calc(var(--tx,0) * 1deg));opacity:var(--po,1)}
.stage-fig .dev img,.stage-fig .dev .ph{opacity:0;transition:opacity .7s var(--ease)}
.stage-fig .dev .on{opacity:1}
.stage-fig .dev.is-wide{aspect-ratio:2064/1792;border-radius:4%;height:auto;width:100%;max-height:100%}
.stage-fig .dev.is-wide img{object-fit:contain;background:#000}
/* a credit sits under the phone and shows only while a screen of its kind is in the phone (js/site.js sets .on) */
.stage-fig,.fp-fig{position:relative}
.stage-fig.has-credit{--cp:34px;padding-bottom:var(--cp)}
.stage-fig.has-credit-2{--cp:48px}   /* a two-row credit needs a little more room */
.credits{position:absolute;inset:0;margin:0;pointer-events:none}
.credits .credit{position:absolute;left:0;right:0;top:calc(100% - var(--cp,34px) + 17px);opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility 0s .4s}
.credits .credit.on{opacity:1;visibility:visible;transition:opacity .4s var(--ease)}
.steps{grid-row:3;position:relative;height:150px}
.steps li{position:absolute;left:0;right:0;top:0;opacity:0;transition:opacity .4s var(--ease);font-size:20px}
.steps li.on{opacity:1}
.steps .n{font-size:13px;color:var(--t3);margin-right:10px}
.steps .t{font-weight:600}
.steps .d{display:block;font-size:16.5px;line-height:1.36;color:var(--t2);padding-top:4px}
.steps .stop{display:none}
.stage-stops{position:absolute;left:calc(var(--rx) - 3.5px - var(--pad));top:calc(var(--hdr) + 70px);bottom:200px;display:flex;flex-direction:column;justify-content:space-between}
.stage-stops .stop{position:static}
.stage-after{padding:10px 0 60px}
.stage-note{color:var(--t2);font-size:16.5px;line-height:1.45;margin-bottom:14px}
.stage-note p + p{margin-top:9px}
/* the avalanche danger scale: each level takes its colour as the dot comes level with it. Colours are the design tokens, used only here and in the app screens */
.ds{display:grid;gap:4px;max-width:440px;margin:18px 0 8px}
.ds li{position:relative;height:40px;border-radius:9px;background:#0B0B0B;box-shadow:inset 0 0 0 1.5px #262626}
.ds li::before{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--c);box-shadow:inset 0 0 0 1.5px var(--e),inset 0 2px 0 rgba(255,255,255,.22);clip-path:inset(0 100% 0 0 round 9px);transition:clip-path .8s cubic-bezier(.2,.75,.15,1)}
.ds li.lit::before{clip-path:inset(0 0 0 0 round 9px)}
.ds li span{position:relative;display:flex;align-items:center;height:100%;padding:0 15px;font-family:var(--cond);font-weight:700;font-size:20px;letter-spacing:.045em;text-transform:uppercase;color:var(--k);opacity:0;transition:opacity .35s}
.ds li span b{font-weight:700}
.ds li span i{font-style:normal;white-space:pre}
.ds li.lit span{opacity:1;transition-delay:.18s}
.ds .stop{top:calc(50% - 3.5px)}
.ds-5{--c:#000000;--e:#666666;--k:#fff}
.ds-4{--c:#EF1C29;--e:rgba(0,0,0,.22);--k:#fff}
.ds-3{--c:#F79E38;--e:rgba(0,0,0,.22);--k:#000}
.ds-2{--c:#FFF200;--e:rgba(0,0,0,.22);--k:#000}
.ds-1{--c:#51B848;--e:rgba(0,0,0,.22);--k:#000}
.danger summary{display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:17px;cursor:pointer;text-decoration:underline;text-underline-offset:4px;list-style:none}
.danger summary::-webkit-details-marker{display:none}
.danger-imgs{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:420px;margin:10px 0 16px}
.danger-imgs figcaption{font-size:14px;color:var(--t3);margin-top:8px}
.danger-imgs .dev{box-shadow:0 0 0 1px #3a3a3a}
@media (min-width:900px){
  .stage-run{height:calc(100vh * (1 + var(--n) * .46))}
  .stage-pin{grid-template-rows:none;grid-template-columns:minmax(0,min(560px,52%)) minmax(0,1fr);column-gap:clamp(24px,5vw,90px);align-items:center;padding:var(--hdr) 0 24px}
  .stage-text{display:block;position:relative}
  .stage-text .tag{margin-bottom:16px}
  .stage-text .h2{font-size:clamp(36px,min(4.3vw,6.6vh),62px);margin-bottom:18px}
  .stage-lead{font-size:22px;margin-bottom:10px}
  .stage-text .lede{font-size:clamp(17px,min(1.4vw,2.2vh),20px);margin-bottom:22px;max-width:520px}
  .stage-fig{grid-row:auto;height:min(72vh,660px);padding:0}
  .stage-fig.has-credit{padding-bottom:0}
  .stage-fig .credit{top:100%;margin-top:20px}
  .stage-fig:has(.dev.is-wide) .credit{top:50%;margin-top:calc(min(43.4%,36vh,330px) + 20px)}   /* the tablet picture is shorter: keep the line just under it */
  .steps{height:auto}
  .steps li{position:relative;opacity:1;padding:10px 0 10px 44px;color:var(--t4);font-size:19px;transition:color .4s}
  .steps li.on{color:#fff}
  .steps li.done{color:var(--t2)}
  .steps .n{position:absolute;left:0;top:13px;font-size:14px;margin:0;color:inherit}
  .steps .d{overflow:hidden;max-height:0;opacity:0;padding-top:0;font-size:17px;line-height:1.4;font-weight:400;transition:max-height .5s var(--ease),opacity .4s var(--ease)}
  .steps li.on .d{max-height:130px;opacity:1;padding-top:5px}
  .steps .stop{display:block;top:20px}
  .stage-more{margin-top:10px}
  .stage-text{transform-origin:0 50%}
  .stage-after{max-width:660px;padding:0 0 110px}
  .stage-after .stage-note{font-size:18px;line-height:1.5;margin-bottom:16px}
}
/* shorter laptop screens: the same content, set a little tighter */
@media (min-width:900px) and (max-height:800px){
  .stage-text .tag{margin-bottom:10px}
  .stage-text .h2{font-size:clamp(30px,min(4.3vw,5.3vh),62px);margin-bottom:12px}
  .stage-text .lede{font-size:16.5px;margin-bottom:14px}
  .steps li{padding-top:5px;padding-bottom:5px;font-size:17.5px}
  .steps .n{top:8px}
  .steps .stop{top:14px}
  .steps .d{font-size:16px}
  .stage-more{margin-top:4px}
}
/* very short windows: tighter again, so a section with a line under its heading still fits */
@media (min-width:900px) and (max-height:640px){
  .stage-lead{font-size:18px;margin-bottom:4px}
  .stage-text .h2{margin-bottom:8px}
  .stage-text .lede{margin-bottom:10px}
  .steps li{padding-top:4px;padding-bottom:4px}
}

/* ---------- 5 · The paper reports ---------- */
.paper-run{height:calc(var(--big) + var(--vh) * var(--n) * .55)}
.paper-pin{position:sticky;top:0;z-index:41;height:var(--big);overflow:hidden;margin-left:calc(var(--pad) * -1);margin-right:calc(var(--padr) * -1)}
.paper-win{position:absolute;left:3.5px;top:var(--hdr);bottom:var(--sk);width:calc(100% - 42px);overflow:hidden;background:var(--paper);box-shadow:0 0 0 1px var(--rule);z-index:5}
.paper-win img{position:absolute;left:0;top:0;width:100%;max-width:none;will-change:transform}
.paper-text{position:absolute;left:0;right:0;bottom:var(--sk);z-index:6;min-height:224px;padding:16px 20px 12px var(--pad);background:#000;border-top:1px solid var(--rule);box-shadow:0 var(--sk) 0 #000}
.paper-text .tag{font-size:14px;margin-bottom:5px}
.paper-text .h2{font-size:25px;margin-bottom:12px}
.notes li{display:none;position:relative;font-size:18px;padding-left:34px}
.notes li.on{display:block}
.notes .n{position:absolute;left:0;top:4px;font-size:13px;color:var(--t3)}
.notes .t{font-weight:600}
.notes .d{display:block;font-size:16px;line-height:1.36;color:var(--t2);padding-top:3px}
.paper-text .tlink{display:none}
.leader{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:7;overflow:visible;transition:opacity .3s}
.leader polyline{fill:none;stroke:#fff;stroke-width:1}
.ring{position:absolute;left:0;top:0;width:13px;height:13px;border-radius:50%;background:var(--orange);border:1.5px solid #fff;z-index:8;pointer-events:none;transition:opacity .3s}
@media (min-width:900px){
  .paper-run{height:calc(100vh * (1 + var(--n) * .58))}
  /* the frame is never taller than the sheet inside it: on a tall window a short sheet (the snow profile) used to leave an empty
     grey space under it. --ratio is the sheet's height over its width, set by the script from data-ratio. (26 Nov 2026) */
  .paper-win{left:var(--winx,var(--pad));width:min(580px,42vw);bottom:auto;height:min(calc(var(--big) - var(--hdr) - var(--sk)),calc(min(580px,42vw) * var(--ratio,99) - 1px));box-shadow:0 0 0 1px var(--rule),0 30px 80px rgba(0,0,0,.6)}
  .paper-text{left:calc(var(--winx,var(--pad)) + min(580px,42vw) + clamp(60px,7.6vw,110px));right:var(--padr);top:calc(var(--hdr) + 58px);bottom:auto;max-width:560px;min-height:0;padding:0;background:none;border:0;box-shadow:none}
  .paper-text .tag{font-size:17px;margin-bottom:16px}
  .paper-text .h2{font-size:clamp(38px,3.9vw,56px);margin-bottom:26px}
  .notes li{display:block;padding:12px 0 12px 44px;border-top:1px solid var(--rule);font-size:19px;color:var(--t4);transition:color .35s}
  .notes li.on{color:#fff}
  .notes .n{top:15px;font-size:14px;color:inherit}
  .notes .d{display:none;font-size:17px;line-height:1.4;padding-top:5px}
  .notes li.on .d{display:block}
  .paper-text .tlink{display:inline-flex;margin-top:16px}
}

/* the paper lies on the white contour: its own setting, between the dark chapters */
.paper{background:#ECEEF0 url(../img/topo-white.webp?v=ead5820acb) 50% var(--ty,0px)/1440px auto;color:#0A0A0A}
.paper .paper-win{box-shadow:0 0 0 1px rgba(10,10,10,.16),0 26px 60px rgba(10,10,10,.22)}
.paper .paper-text{background:#F4F5F6;border-top:1px solid rgba(10,10,10,.18);box-shadow:0 var(--sk) 0 #F4F5F6}
.paper .tag{color:#2B2B2B}
.paper .notes .n{color:#555}
.paper .notes .d{color:#2B2B2B}
.paper .tlink{color:#0A0A0A}
.paper .leader polyline{stroke:#0A0A0A}
.paper .ring{background:var(--orange);border-color:#0A0A0A}
@media (min-width:900px){
  .paper .paper-text{background:none;border:0;box-shadow:none}
  .paper .notes li{border-top-color:rgba(10,10,10,.2);color:#6A6A6A}
  .paper .notes li.on{color:#0A0A0A}
  .paper .notes .n{color:inherit}
}

/* ---------- 6 · Field tools: glass panels. The line goes around them: along the top, down the far side, back along the bottom ---------- */
.tools{padding-right:0;--tin:16px}
.tools > .rail{bottom:auto;height:0}
.track-head{padding:64px var(--padr) 30px 0}
.track-head .eyebrow{margin-bottom:10px}
.track-head .h2{margin-bottom:6px}
.track-pin{position:sticky;top:0;z-index:4;height:var(--see);display:flex;flex-direction:column;justify-content:flex-start;padding:calc(var(--hdr) + 8px) 0 0 var(--pad);margin-left:calc(var(--pad) * -1);overflow:hidden}
.track-mini{height:24px;margin-bottom:22px;opacity:0;transition:opacity .3s var(--ease);font-family:var(--cond);font-weight:600;font-size:14px;letter-spacing:.09em;color:var(--t3)}
.pinned .track-mini{opacity:1}
.track-view{position:relative}
.track-clip{overflow:hidden;margin:-4px 26px 0 calc(var(--tin) * -1);padding:26px 0 44px}
.track-row{display:flex;gap:14px;width:max-content;padding:0 var(--tin);will-change:transform}
.tk{position:absolute;left:0;top:0;background:rgba(255,255,255,.22);pointer-events:none}
.tk i{position:absolute;left:0;top:0;background:#fff}
.tk-in,.tk-side,.tk-out{width:1px}
.tk-in i,.tk-side i,.tk-out i{width:1px;height:0}
.tk-top,.tk-bot{height:1px}
.tk-top i,.tk-bot i{height:1px;width:0}
.tk-bot i{left:auto;right:0}
.tool-slot{position:relative;flex:none}
.tool-slot .stop{left:-4px;top:-26px}
.tool{--a:0;position:relative;width:min(70vw,290px);height:min(600px,calc(var(--see) - var(--hdr) - 150px));display:flex;flex-direction:column;gap:8px;padding:18px 18px 0;border-radius:14px;transform:translate3d(0,calc(var(--a) * -6px),0) scale(calc(.955 + .045 * var(--a)));transform-origin:50% 55%;will-change:transform}
/* the panel in focus lifts and takes an orange glow */
.tool::after{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;opacity:var(--a);box-shadow:0 0 0 1px rgba(243,84,31,.9),0 0 36px rgba(243,84,31,.24),inset 0 0 28px rgba(243,84,31,.06)}
.tool > *{opacity:calc(.62 + .38 * var(--a))}
.tool-n{font-size:13px;color:var(--t3)}
.tool h3{font-weight:700;font-size:21px;letter-spacing:-.01em;line-height:1.15}
.tool p.d{color:var(--t2);font-size:16px;line-height:1.4}
.tool-shot{flex:1;min-height:0;display:flex;justify-content:center;align-items:flex-start;overflow:hidden;margin:10px -18px 0;padding:8px 18px 0}
.tool .dev{flex:none;width:62%;margin:auto 0;box-shadow:0 0 0 1px #3a3a3a,0 0 0 6px #0c0c0c,0 0 0 7px #2e2e2e}
.tool--wide{width:min(80vw,400px)}
.tool--wide .tool-shot{align-items:center;padding-bottom:18px}
.tool--wide .dev{width:100%}
.tool--words{justify-content:center;padding-bottom:18px}
.tool--words h3{font-size:30px}
@media (min-width:900px){
  .track-pin{justify-content:center;padding:var(--hdr) 0 0 var(--pad)}
  .track-head{display:grid;grid-template-columns:1fr auto;align-items:end;column-gap:30px;padding:0 var(--padr) 0 0;margin-bottom:34px}
  .track-head .eyebrow{grid-column:1 / -1}
  .track-head .h2{max-width:760px;font-size:clamp(34px,min(3.9vw,6vh),56px);margin:0}
  .tools{--tin:30px}
  .track-clip{margin-right:calc(var(--padr) + 20px);padding:34px 0 52px}
  .track-row{gap:24px}
  .tool-slot .stop{top:-34px}
  .tool{width:380px;height:min(50vh,430px);display:grid;grid-template-columns:1fr 150px;grid-template-rows:auto auto 1fr;column-gap:22px;align-content:center;padding:26px;transform:translate3d(0,calc(var(--a) * -10px),0) scale(calc(.95 + .05 * var(--a)))}
  .tool-n{grid-column:1;align-self:end}
  .tool h3{grid-column:1;font-size:23px}
  .tool p.d{grid-column:1}
  .tool-shot{grid-column:2;grid-row:1 / span 3;display:flex;align-items:center;overflow:visible;margin:0;padding:0}
  .tool .dev{width:min(150px,calc((min(50vh,430px) - 56px) * .46))}
  .tool--wide{width:500px;grid-template-columns:1fr;grid-template-rows:auto auto auto 1fr}
  .tool--wide .tool-shot{grid-column:1;grid-row:4;padding:0}
  .tool--wide .dev{width:100%}
  .tool--words{width:320px;grid-template-columns:1fr}
}

/* ---------- 7 · Winter into summer: one full-frame photo; summer sweeps in from the line ---------- */
.seasons{padding:0}
.seasons-run{height:calc(var(--big) + var(--vh) * 1.4)}
.seasons-pin{position:sticky;top:0;height:var(--big);overflow:hidden}
.se-imgs img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.se-w{object-position:72% 50%}
.se-s{object-position:50% 42%;-webkit-mask-image:linear-gradient(100deg,#000 calc(var(--w,-14%) - 10%),transparent calc(var(--w,-14%) + 10%));mask-image:linear-gradient(100deg,#000 calc(var(--w,-14%) - 10%),transparent calc(var(--w,-14%) + 10%))}
.se-scrim{position:absolute;inset:0 0 var(--sk);box-shadow:0 var(--sk) 0 rgba(0,0,0,.86);background:linear-gradient(180deg,rgba(0,0,0,.6) 0,rgba(0,0,0,.06) 22%,rgba(0,0,0,.12) 46%,rgba(0,0,0,.86) 100%)}
.se-copy{position:absolute;left:var(--pad);right:var(--padr);bottom:calc(54px + var(--sk))}
.se-copy .eyebrow{color:#DADADA;margin-bottom:10px}
.se-swap{display:grid}
.se-g{grid-area:1 / 1;align-self:start;transition:opacity .45s var(--ease) .1s}
.se-g .h2{margin-bottom:12px}
.se-gs{opacity:0}
.se-gs .h2{max-width:1000px}
.se-copy .lede{color:#EEEEEE;max-width:560px;margin-bottom:18px}
.se-cap{font-family:var(--mono);font-size:13px;color:#DADADA}
/* the words change with the season: the winter heading leaves upward, the summer lines come up in its place */
.is-summer .se-gw{opacity:0;transition-delay:.25s}
.is-summer .se-gw .ri{transform:translateY(-112%)}
.is-summer .se-gs{opacity:1;transition-delay:.2s}
.is-summer .se-gs .h2 .ri{transition-delay:calc(.3s + var(--l,0) * 95ms)}
.is-summer .se-gs .lede .ri{transition-delay:calc(.55s + var(--l,0) * 95ms)}
@media (min-width:900px){
  .se-w{object-position:50% 38%}
  .se-scrim{background:linear-gradient(180deg,rgba(0,0,0,.55) 0,rgba(0,0,0,.04) 22%,rgba(0,0,0,.06) 50%,rgba(0,0,0,.7) 100%),linear-gradient(64deg,rgba(0,0,0,.8) 0,rgba(0,0,0,.4) 32%,rgba(0,0,0,0) 60%)}
  .se-copy{bottom:calc(86px + var(--sk))}
  .se-g .h2{margin-bottom:18px}
}

/* ---------- 8 · Free and Pro: one panel open at a time next to the dot; the phone shows what it gives you ---------- */
.freepro{padding-top:70px;padding-bottom:56px}
.fp-intro .eyebrow{margin-bottom:12px}
.fp-intro .h2{margin-bottom:14px}
.fp-intro .lede{margin-bottom:14px;max-width:680px}
/* the price, in a block of its own so it cannot be missed: the Pro tag, the two prices in white, then the small print */
.fp-price{max-width:680px;margin:4px 0 20px;padding:16px 18px 15px;border:1px solid rgba(255,255,255,.28);border-radius:14px;background:rgba(14,14,14,.88)}
.fp-price-main{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 10px;color:#fff;font-size:21px;line-height:1.25;letter-spacing:-.01em}
.fp-price-main .tier{margin:0;align-self:center}
.fp-price-main strong{font-weight:700}
.fp-price-main span:last-child{font-weight:600}
.fp-price-trial{margin-top:9px;color:var(--t1);font-size:16.5px;line-height:1.4}
.fp-price-where{margin-top:4px;color:var(--t3);font-size:14.5px;line-height:1.4}
.fp-links{display:flex;flex-wrap:wrap;gap:4px 26px;margin-bottom:30px}
.fp-get{color:var(--act);font-family:var(--cond);font-weight:600;font-size:17px;letter-spacing:.08em;text-transform:uppercase}
.fp-panel{position:relative;margin-bottom:14px;padding:18px 18px 8px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));transform:scale(.97);transform-origin:0 50%;transition:transform .6s cubic-bezier(.2,.75,.15,1),border-color .5s,background-color .5s}
.fp-panel::after{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .55s;box-shadow:0 0 0 1px rgba(243,84,31,.9),0 0 40px rgba(243,84,31,.2),inset 0 0 30px rgba(243,84,31,.05)}
.fp-panel.on{transform:none}
.fp-panel.on::after{opacity:1}
.fp-panel .stop{top:27px;left:calc(var(--rx) - 4.5px - var(--pad))}
.fp-top{display:flex;align-items:flex-start;gap:12px}
.fp-top .tier{flex:none;margin:3px 0 0;opacity:1;color:var(--t2)}
.fp-panel.on .fp-top .tier{color:#fff}
.fp-top h3{font-weight:700;font-size:20px;letter-spacing:-.012em;line-height:1.16;color:var(--t2);transition:color .4s}
.fp-panel.on .fp-top h3{color:#fff}
.fp-items ul{padding:14px 0 6px}
.fp-items li{padding:10px 0;border-top:1px solid rgba(255,255,255,.09)}
.fp-items b{display:block;font-weight:600;font-size:16.5px}
.fp-items .d{display:block;color:var(--t2);font-size:15.5px;line-height:1.4}
.fp-items .new{margin-left:8px}
@media (min-width:900px){
  .freepro{padding-top:150px;padding-bottom:0}
  .fp-intro .h2{margin-bottom:22px}
  .fp-links{margin-bottom:0}
  .fp-price{margin:6px 0 24px;padding:20px 24px 19px}
  .fp-price-main{font-size:26px}
  .fp-price-trial{font-size:18px}
  .fp-price-where{font-size:15.5px}
  [data-n="5"]{--n:5}
  .fp-run{height:calc(100vh * (1 + var(--n) * .5))}
  .fp-pin{position:sticky;top:0;height:100vh;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.62fr);column-gap:clamp(30px,5vw,84px);align-items:center;padding:var(--hdr) 0 20px}
  .fp-list{transform-origin:0 50%}
  .fp-panel{margin-bottom:10px;padding:15px 24px;transform:scale(.975)}
  .fp-top{align-items:center;gap:16px}
  .fp-top .tier{margin:0}
  .fp-top h3{font-size:clamp(19px,1.55vw,23px)}
  /* closed panels show their heading only; the open one unfolds */
  .fp-items{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .6s cubic-bezier(.4,0,.2,1),opacity .4s}
  .fp-items > ul{overflow:hidden;min-height:0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:34px}
  .fp-panel.on .fp-items{grid-template-rows:1fr;opacity:1}
  .fp-panel.on .fp-items > ul{padding:12px 0 4px}
  .fp-items li{padding:9px 0}
  .fp-items li:nth-child(-n+2){border-top:0}
  .fp-items b{font-size:16.5px}
  .fp-items .d{font-size:15px}
  .fp-fig{height:min(70vh,640px);display:flex;justify-content:center;align-items:center}
  .fp-fig .dev{height:100%;width:auto;max-width:100%}
  .fp-fig .dev img{opacity:0;transition:opacity .7s var(--ease)}
  .fp-fig .dev img.on{opacity:1}
  .fp-fig .credit{top:100%;margin-top:20px}
}
@media (min-width:900px) and (max-height:800px){
  .fp-panel{padding:11px 22px;margin-bottom:8px}
  .fp-items li{padding:6px 0}
  .fp-items .d{font-size:14.5px;line-height:1.34}
}

/* ---------- 9 · Built by mountain guides: uses the shared photo panel ---------- */
.guides{min-height:calc(var(--vh) * .82);padding-top:140px}

/* ---------- 10 · Dispatches: a sideways carousel of cards over a dark photo ---------- */
.disp{overflow:hidden;padding-top:70px;padding-bottom:64px;padding-right:0}
.disp-bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.disp-scrim{position:absolute;inset:0;background:linear-gradient(180deg,#000 0,rgba(0,0,0,.72) 22%,rgba(0,0,0,.74) 70%,#000 100%)}
.disp-head{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px;padding-right:var(--padr)}
.disp-nav{display:flex;align-items:center;gap:8px}
.disp-arrow,.disp-all{display:inline-flex;align-items:center;justify-content:center;height:48px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.45);color:#fff;font-family:var(--cond);font-weight:600;font-size:16px;letter-spacing:.08em;text-transform:uppercase}
.disp-arrow{width:48px;font-family:var(--sans);font-size:18px;transition:opacity .25s,border-color .25s}
.disp-arrow:disabled{opacity:.35;cursor:default}
.disp-arrow:not(:disabled):hover,.disp-all:hover{border-color:#fff}
.disp-all{padding:0 18px;white-space:nowrap}
.disp-scroller{position:relative;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px var(--padr) 26px 0;scroll-padding-left:0}
.disp-scroller::-webkit-scrollbar{display:none}
.d-card{flex:none;width:min(80vw,330px);scroll-snap-align:start;border-radius:16px;overflow:hidden;background:rgba(14,14,14,.82)}
.d-card .img{position:relative;aspect-ratio:16/10;overflow:hidden;background:#111}
.d-card .img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.d-body{padding:20px 20px 24px}
.d-link{display:block;color:inherit;border-radius:inherit}
.d-link:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.d-card{transition:border-color .3s}
.d-card:hover{border-color:rgba(255,255,255,.42)}
/* a single Dispatch: one wide card, no sideways row */
.disp-one{overflow:visible;padding-right:var(--padr)}
.disp-one .d-card{width:100%;max-width:520px}
.d-card h4{font-weight:700;font-size:22px;letter-spacing:-.012em;line-height:1.12;margin-bottom:10px}
.d-card p{color:var(--t2);font-size:16px;line-height:1.45}
@media (min-width:900px){
  .disp{padding-top:130px;padding-bottom:120px}
  .disp-head{margin-bottom:34px}
  .disp-nav{gap:12px}
  .disp-arrow,.disp-all{height:56px}
  .disp-arrow{width:56px}
  .disp-all{padding:0 26px}
  .disp-scroller{gap:28px;padding-bottom:40px}
  .d-card{width:clamp(380px,34vw,520px)}
  .d-body{padding:28px 30px 34px}
  .disp-one .d-card{max-width:1060px}
  .disp-one .d-link{display:grid;grid-template-columns:1.12fr 1fr}
  .disp-one .d-card .img{aspect-ratio:auto;min-height:clamp(300px,27vw,400px)}
  .disp-one .d-body{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,3.4vw,52px)}
  .disp-one .d-card h4{font-size:clamp(32px,3.3vw,50px);letter-spacing:-.02em;line-height:1.04;margin-bottom:16px}
  .disp-one .d-card p{font-size:clamp(18px,1.5vw,21px)}
  .d-card h4{font-size:clamp(24px,2.1vw,30px);margin-bottom:14px}
  .d-card p{font-size:17.5px}
}

/* ---------------------------------------------------------------- a Dispatch (article page) */
.dp-head{padding-top:calc(var(--hdr) + 26px);padding-bottom:28px}
.dp-head .rail{top:var(--hdr)}   /* the line starts under the header, clear of the name */
.dp-back{color:var(--t2);font-size:16px;margin-bottom:22px}
.dp-back:hover{color:#fff}
.dp-head .eyebrow{margin-bottom:14px}
.dp-h1{position:relative;font-weight:800;letter-spacing:-.026em;line-height:1;font-size:clamp(40px,11.6vw,56px);margin-bottom:16px}
.dp-dek{color:var(--t2);font-size:20px;line-height:1.35;max-width:30ch}
.dp-fig{margin:0;padding-bottom:34px}
.dp-fig img{display:block;width:100%;max-width:1000px;height:auto;border-radius:14px;background:#111}
.dp-body{padding-bottom:70px}
.dp-body > p{color:#DADADA;font-size:18.5px;line-height:1.62;max-width:66ch;margin-bottom:1.15em}
.dp-body > p:first-of-type{color:#F2F2F2;font-size:21px;line-height:1.5}
.dp-body > p a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.dp-h2{position:relative;font-weight:800;letter-spacing:-.02em;line-height:1.08;font-size:28px;margin:1.8em 0 .6em}
.dp-h2 .stop{top:.42em}
.dp-body > .dp-sign{margin:2.4em 0 0;padding-top:22px;border-top:1px solid var(--rule);display:flex;flex-direction:column;gap:2px}
.dp-sign strong{font-weight:700;font-size:19px;color:#fff}
.dp-sign span{color:var(--t3);font-size:16px}
/* a Dispatch's date: at the top of the article, and on the picture of its card on the home page */
.dp-head .eyebrow:has(+ .dp-date){margin-bottom:9px}
.dp-date{margin-bottom:16px;font:500 13px/1 var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--t3)}
.d-date{position:absolute;left:12px;bottom:12px;padding:6px 9px 5px;border-radius:6px;background:rgba(0,0,0,.74);color:#fff;font:500 12px/1 var(--mono);letter-spacing:.04em;text-transform:uppercase}
/* the Support page: a list of questions. Each opens on a tap (the browser's own details element, no script). */
.qa-list{max-width:820px;border-top:1px solid var(--rule)}
.qa{border-bottom:1px solid var(--rule)}
.qa summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:58px;padding:14px 0;cursor:pointer;list-style:none}
.qa summary::-webkit-details-marker{display:none}
.qa h2{font-weight:700;font-size:19px;letter-spacing:-.012em;line-height:1.2;color:var(--t1)}
.qa summary:hover h2,.qa[open] h2{color:#fff}
.qa-x{flex:none;position:relative;width:16px;height:16px}
.qa-x::before,.qa-x::after{content:"";position:absolute;left:0;top:7px;width:16px;height:2px;background:var(--t2);transition:transform .25s}
.qa-x::after{transform:rotate(90deg)}
.qa[open] .qa-x::after{transform:rotate(0deg)}
.qa p{color:#DADADA;font-size:17.5px;line-height:1.55;max-width:66ch;padding:0 30px 20px 0}
.qa p a{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media (min-width:900px){
  .dp-head{padding-top:calc(var(--hdr) + 56px);padding-bottom:44px}
  .dp-back{margin-bottom:34px}
  .dp-h1{font-size:clamp(64px,6.8vw,108px);margin-bottom:22px}
  .dp-dek{font-size:clamp(22px,1.9vw,27px);max-width:none}
  .dp-fig{padding-bottom:58px}
  .dp-body{padding-bottom:120px}
  .dp-body > p{font-size:20px}
  .dp-body > p:first-of-type{font-size:clamp(22px,1.75vw,25px)}
  .dp-h2{font-size:clamp(30px,2.6vw,38px)}
  .dp-sign strong{font-size:21px}
  .dp-date{font-size:14px;margin-bottom:20px}
  .d-date{left:16px;bottom:16px;font-size:13px}
  .qa summary{min-height:66px}
  .qa h2{font-size:22px}
  .qa p{font-size:19px;padding-bottom:24px}
}

/* ---------- The two email sign-up pages (updates/…): a heading, a line or two, a way home ---------- */
.note{min-height:62vh;padding-bottom:64px}
.note-mark{height:15px}
.note .dp-dek{max-width:32ch}
.note .dp-dek + .dp-dek{margin-top:12px;font-size:17px;color:var(--t3)}
.note-home{margin-top:26px;color:var(--t2)}
.note-home:hover{color:#fff}
@media (min-width:900px){
  .note{padding-bottom:110px}
  .note .dp-dek{max-width:44ch}
  .note .dp-dek + .dp-dek{font-size:19px}
  .note-home{margin-top:34px}
}

/* ---------- Contour map on small screens: the middle strip of the same tile, a lighter file ---------- */
@media (max-width:720px){
  .topo{background-image:url(../img/topo-black-phone.webp?v=67a0027998);background-size:720px auto;background-repeat:repeat-y}
  .o-topo{background-image:url(../img/topo-black-phone.webp?v=67a0027998)}
  .paper{background-image:url(../img/topo-white-phone.webp?v=2691d20134);background-size:720px auto;background-repeat:repeat-y}
  .topo.inside{background-image:linear-gradient(0deg,#000 0,rgba(0,0,0,0) 170px),url(../img/topo-black-phone.webp?v=67a0027998);background-size:auto,720px auto;background-repeat:repeat,repeat-y}
  .method + .topo{background-image:linear-gradient(180deg,#000 0,rgba(0,0,0,0) 170px),url(../img/topo-black-phone.webp?v=67a0027998);background-size:auto,720px auto;background-repeat:repeat,repeat-y}
}

/* ---------- A Dispatch's long text: the map sits further back, so the lines do not run through the words.
   It fades back over the first 140px, so there is no step where the section begins. ---------- */
.dp-body{background-image:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.25) 140px),url(../img/topo-black.webp?v=f03bb01e38);background-position:0 0,50% var(--ty,0px);background-size:auto,1440px auto}
@media (max-width:720px){
  .dp-body{background-image:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.25) 140px),url(../img/topo-black-phone.webp?v=67a0027998);background-size:auto,720px auto;background-repeat:repeat,repeat-y}
}

/* ---------- 11 · Download and email, on one full-frame photo. Ink on snow. ---------- */
.close{overflow:hidden;background:#D9DCDE;color:#0A0A0A;display:flex;flex-direction:column;justify-content:flex-end;padding-top:292px;padding-bottom:36px}
.close-img{position:absolute;left:0;top:-430px;width:100%;height:1290px;max-width:none;object-fit:cover;object-position:27% 50%;will-change:transform}
.close-veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,0) 25%,rgba(255,255,255,.82) 36%,rgba(255,255,255,.95) 100%)}
.close-col{position:relative}
.close .h-eyebrow{color:#2B2B2B}
.close .h2{color:#0A0A0A;font-size:30px;margin-bottom:8px}
.close .lede{color:#2B2B2B}
.close-lead{font-weight:600;font-size:19px;line-height:1.3;color:#0A0A0A;margin-bottom:6px}   /* the line above the store buttons */
.close-lead span{white-space:nowrap}
.close-col > .lede{margin-bottom:20px}
/* the QR code beside the store badges: for people on a computer, who scan it with their phone */
.get-qr{display:none}
@media (min-width:900px) and (hover:hover) and (pointer:fine){
  .get-row{display:flex;align-items:center;gap:24px;width:max-content}   /* a little wider than the text column, so the badges stay side by side */
  .get-row .badges{flex-wrap:nowrap}
  .get-qr{display:flex;align-items:center;gap:14px;padding-left:24px;border-left:1px solid rgba(10,10,10,.3)}
  .get-qr svg{display:block;width:112px;height:112px;border-radius:6px;box-shadow:0 0 0 1px rgba(10,10,10,.18)}
  .get-qr figcaption{max-width:12ch;font-size:15px;font-weight:500;line-height:1.3;color:#2B2B2B}
}
.close-mail{border-top:1px solid rgba(10,10,10,.3);margin-top:26px;padding-top:22px}
.close-mail h3{position:relative;font-weight:800;letter-spacing:-.02em;line-height:1.05;font-size:22px;margin-bottom:6px}
.close-mail h3 .stop{top:.5em}
.close-mail .lede{font-size:16px;margin-bottom:16px}
.form label{display:block;font-size:15px;font-weight:500;margin-bottom:6px}
.form-row{display:flex;gap:10px}
.form input{flex:1;min-width:0;height:48px;padding:0 14px;border:1px solid rgba(10,10,10,.55);border-radius:6px;background:#fff;color:#0A0A0A;font:inherit;font-size:17px}
.btn-main{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 22px;border-radius:6px;background:linear-gradient(180deg,var(--btn1),var(--btn2));box-shadow:inset 0 0 0 1px var(--btnedge);color:#0A0A0A;font-family:var(--cond);font-weight:700;font-size:17px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.form-trap{display:none}   /* Brevo's trap field: people never see or reach it */
.form-msg{margin-top:10px;font-size:15px;font-weight:600;color:#0A0A0A}
.form-msg:empty{display:none}
.btn-main:disabled{opacity:.6;cursor:default}
.consent{margin-top:12px;font-size:13.5px;line-height:1.45;color:#2B2B2B}
.form-frame{display:block;width:100%;max-width:540px;height:520px;border:0;border-radius:6px;background:#fff}   /* the spare: Brevo's form in a frame */
#newsletter{scroll-margin-top:calc(var(--hdr) + 18px)}   /* old links to #newsletter land on the email sign-up */
.no-js .close-mail{display:none}   /* the sign-up needs the script, so without it the form is not offered */
@media (min-width:900px){
  .close{min-height:calc(100vh * .88);padding-top:150px;padding-bottom:80px}
  .close-img{top:-8%;height:116%;object-position:100% 40%}
  .close-veil{background:linear-gradient(90deg,rgba(255,255,255,.94) 0,rgba(255,255,255,.86) 30%,rgba(255,255,255,.4) 52%,rgba(255,255,255,0) 72%),linear-gradient(180deg,rgba(255,255,255,0) 45%,rgba(255,255,255,.55) 100%)}
  .close-col{max-width:620px}
  .close .h2{font-size:clamp(40px,3.9vw,56px);margin-bottom:12px}
  .close-lead{font-size:22px;margin-bottom:8px}
  .close-col > .lede{margin-bottom:28px}
  .close-mail{margin-top:36px;padding-top:28px}
  .close-mail h3{font-size:26px}
  .close-mail .lede{font-size:19px;margin-bottom:20px}
  .form input,.btn-main{height:52px}
  .consent{font-size:14px}
}

/* ---------- Footer ---------- */
.foot{border-top:1px solid var(--rule);padding-top:48px;padding-bottom:40px}
.foot-top{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;row-gap:34px;margin-bottom:38px}
.foot-brand{grid-column:1 / span 2}
.foot-wm{font-weight:900;letter-spacing:-.04em;line-height:1;font-size:40px}
.foot-tag{margin-top:10px;color:var(--t2)}
.foot-arc{margin-top:38px}
.foot-arc img{width:74px;margin-bottom:8px}
.foot-arc span{display:block;font-size:14px;color:var(--t3)}
.foot-col h2{margin-bottom:12px;font-family:var(--cond);font-weight:600;font-size:15px;letter-spacing:.09em;text-transform:uppercase;color:var(--t3)}
.foot-col a{display:flex;align-items:center;min-height:44px;font-size:16.5px;color:var(--t1)}
.foot-col a:hover{text-decoration:underline;text-underline-offset:4px}
.foot-disc{max-width:880px;font-size:14.5px;line-height:1.5;color:var(--t3)}
.foot-end{position:relative;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:4px;margin-top:26px;padding-top:18px;border-top:1px solid var(--rule)}
.foot-end small{font-size:14px;color:var(--t3)}
.foot-end .tlink{font-size:16px}
.edot{position:absolute;left:calc(var(--rx) - 6.5px - var(--pad));top:calc(100% - 28.5px);width:13px;height:13px;border-radius:50%;background:#000;border:1.5px solid #fff;z-index:5}
@media (min-width:900px){
  .foot{padding-top:76px;padding-bottom:56px}
  .foot-top{grid-template-columns:1.5fr 1fr 1fr 1.15fr;column-gap:40px;margin-bottom:64px}
  .foot-brand{grid-column:auto}
  .foot-wm{font-size:46px}
  .foot-col a{min-height:36px}
  .foot-end{flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin-top:34px;padding-top:20px}
  .edot{top:35.5px}
}

/* ---------- The Free and Pro page: one chart, with two routes running down it ---------- */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}   /* read aloud, not shown */
.fpp-p{color:var(--t2);font-size:18px;line-height:1.5;max-width:60ch;margin-bottom:20px}
.fpp-head .fp-price{margin:0 0 22px}
.fpp-head{padding-bottom:34px}
/* the contour map fades out under the first screen, so the chart sits on plain black and nothing runs through its lines */
.fpp-head::after,.ft-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:170px;background:linear-gradient(180deg,rgba(0,0,0,0),#000);pointer-events:none;z-index:1}
.fpp-head > :not(.rail),.ft-head > :not(.rail){position:relative;z-index:2}
.fpp{padding-bottom:64px}
/* --cw is the width of each of the two columns of marks */
.cmp{--cw:46px;--row:#1C1C1C;width:100%;max-width:1040px;border-collapse:separate;border-spacing:0;table-layout:fixed}
.cmp th{font-weight:400;text-align:left;vertical-align:top}
.cmp .c,.cmp .t{width:var(--cw)}
/* the two column names stay in view under the header while the chart scrolls */
.cmp thead th{position:sticky;top:var(--hdr);z-index:6;height:46px;padding:0;vertical-align:middle;background:#000;border-bottom:1px solid var(--rule)}
.cmp thead .c{text-align:center}
.cmp thead .tier{margin:0}
.cmp tbody th{padding:15px 16px 16px 0;border-bottom:1px solid var(--row)}
.cmp .n{display:block;font-weight:600;font-size:17.5px;line-height:1.24;letter-spacing:-.01em;color:#fff}
.cmp .d{display:block;margin-top:4px;color:var(--t2);font-size:15.5px;line-height:1.4}
/* the two routes: a thin line down each column, with a filled stop wherever the feature is included */
.cmp .t{position:relative;padding:0;border-bottom:1px solid var(--row)}
.cmp .t::before{content:"";position:absolute;left:calc(50% - .5px);top:0;bottom:-1px;width:1px;background:rgba(255,255,255,.3)}
.cmp .tp::before{background:rgba(243,84,31,.6)}
.cmp .t i{position:absolute;left:calc(50% - 5.5px);top:20px;width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 4px #000}
.cmp .tf.on i{background:#fff}
.cmp .tp.on i{background:var(--orange)}
/* the Free route ends at its last stop; below it only a faint trace is left to hold the column */
.cmp-free tr:last-child .tf::before{bottom:auto;height:25px}
.cmp-pro .tf::before{background:none;border-left:1px dashed rgba(255,255,255,.13)}
.cmp-pro tr:last-child .t::before{bottom:auto;height:25px}
.cmp-pro tr:last-child th,.cmp-pro tr:last-child .t{border-bottom:0}
/* the two big headings, and the four group headings under "What Pro adds" */
.cmp .cmp-h th{padding:36px 0 16px}
.cmp .cmp-h :is(h2,h3){position:relative;font-family:var(--cond);font-weight:600;font-size:23px;letter-spacing:.075em;line-height:1.1;color:#fff}
.cmp .cmp-h .stop{top:calc(50% - 3.5px)}
.cmp-pro .cmp-h th{padding-top:54px}
.cmp .cmp-g th{padding:26px 16px 16px 0}
.cmp .cmp-g .k{font-family:var(--cond);font-weight:600;font-size:14px;letter-spacing:.1em;color:var(--t3);margin-bottom:6px}
.cmp .cmp-g :is(h3,h4){font-weight:700;font-size:21px;line-height:1.2;letter-spacing:-.015em;color:#fff;max-width:24ch}
.cmp .cmp-g .tier--in{vertical-align:.14em}
.cmp-ai .n{font-weight:500;color:var(--t1)}
.fpp-close{max-width:1040px;margin-top:30px;padding-top:22px;border-top:1px solid var(--rule)}
.fpp-close p{color:var(--t2);font-size:17px;line-height:1.5;max-width:62ch}
@media (min-width:900px){
  .fpp-p{font-size:21px;max-width:56ch;margin-bottom:26px}
  .fpp-head .fp-price{margin-bottom:28px}
  .fpp-head{padding-bottom:50px}
  .fpp{padding-bottom:110px}
  .cmp{--cw:132px}
  .cmp thead th{height:58px}
  .cmp thead .tier{font-size:14px;padding:3px 10px 2px}
  /* on a wide screen each line reads across: the feature, what it is, Free, Pro */
  .cmp .rw{display:grid;grid-template-columns:minmax(0,36fr) minmax(0,64fr);column-gap:36px;align-items:baseline}
  .cmp tbody th{padding:19px 40px 20px 0}
  .cmp .n{font-size:20px}
  .cmp .d{margin-top:0;font-size:17.5px}
  .cmp .t i{top:25px;width:12px;height:12px;left:calc(50% - 6px)}
  .cmp-free tr:last-child .tf::before,.cmp-pro tr:last-child .t::before{height:31px}
  .cmp .cmp-h th{padding:50px 0 20px}
  .cmp .cmp-h :is(h2,h3){font-size:28px}
  .cmp-pro .cmp-h th{padding-top:76px}
  .cmp .cmp-g th{padding:34px 40px 18px 0}
  .cmp .cmp-g .k{font-size:15px}
  .cmp .cmp-g :is(h3,h4){font-size:27px;max-width:none}
  .fpp-close{margin-top:40px;padding-top:28px}
  .fpp-close p{font-size:19px}
}
@media (hover:hover) and (min-width:900px){
  .cmp tbody tr:not(.cmp-h):not(.cmp-g):hover th,.cmp tbody tr:not(.cmp-h):not(.cmp-g):hover .t{background-color:rgba(255,255,255,.035)}
}

/* ---------- Feature pages (features/<name>/): the whole flow at a glance, the paper report, what is free and what Pro adds ---------- */
.ft-head{padding-bottom:36px}
.ft-home{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0 2px;color:var(--t2);font-weight:600;font-size:15.5px}
.ft-home:hover{color:#fff}
/* the six features, as a row to move between them; it slides sideways on a phone */
.ft-nav{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin:0 calc(var(--padr) * -1) 28px 0;padding:2px var(--padr) 4px 0}
.ft-nav::-webkit-scrollbar{display:none}
.ft-nav .chip{text-transform:uppercase;color:var(--t2)}
.ft-nav .chip:hover{border-color:var(--t3);color:#fff}
.ft-nav .chip[aria-current]{border-color:#fff;color:#fff}
.ft-head .stage-lead{margin-bottom:8px}
.dp-h1.ft-h1{font-size:clamp(36px,10.2vw,50px);line-height:1.02;margin-bottom:18px}
.ft-lede{color:var(--t2);font-size:18px;line-height:1.5;max-width:58ch}
.ft-flow{padding-top:30px;padding-bottom:60px}
/* The steps sit side by side on a line with a stop at each, like a short route. On a phone the row slides sideways,
   with the next step showing at the edge; on a wide screen all of them fit and the line leaves the page's own line. */
.ft-steps{--g:20px;position:relative;list-style:none;display:flex;gap:var(--g);overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin-right:calc(var(--padr) * -1);padding:40px var(--padr) 34px 0}
.ft-steps::-webkit-scrollbar{display:none}
.ft-steps li{position:relative;flex:none;width:min(62vw,240px);display:flex;flex-direction:column;scroll-snap-align:start}
.ft-steps li::before{content:"";position:absolute;left:0;top:-44.5px;z-index:1;width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #000}
.ft-steps li::after{content:"";position:absolute;left:0;right:calc(var(--g) * -1);top:-40px;height:1px;background:rgba(255,255,255,.22)}
.ft-steps li:last-child::after{display:none}
.ft-steps .ft-slot{order:-1;display:flex;align-items:center;aspect-ratio:520/1130;margin-bottom:22px}   /* every screen gets the same room, so the words below line up */
.ft-steps .dev{width:100%}
/* a credit under a screen that shows someone's map or data; every screen on such a page gets the same room, so the words still line up */
.ft-steps .ft-slot{position:relative}
.ft-steps.ft-steps--credit .ft-slot{margin-bottom:50px}   /* room for the line (two lines in a narrow column) */
.ft-steps.ft-steps--credit2 .ft-slot{margin-bottom:66px}   /* a page with a two-row credit */
.ft-slot .credit{position:absolute;left:0;right:0;top:100%;margin-top:17px}
.ft-slot .is-tab + .credit{top:0;margin-top:calc(152.1% + 17px)}   /* the tablet picture sits in the middle of its slot */
.ft-steps .dev.is-tab{aspect-ratio:1400/1216;border-radius:4%}   /* the tablet picture */
.ft-steps .dev.is-tab img,.ft-steps .dev--land img{object-fit:contain;background:#000}
/* a tool with no screen yet: its name, in the same frame */
.ft-words{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:13.5% / 6.2%;background:#0A0A0A;box-shadow:0 0 0 1px #2e2e2e;font-weight:800;font-size:26px;letter-spacing:-.02em;color:#fff}
.ft-steps .n{display:flex;align-items:center;font-family:var(--mono);font-weight:500;font-size:13px;color:var(--t3)}
.ft-steps .n .tier{font-family:var(--cond)}
.ft-after{max-width:720px;margin-top:6px}
.ft-after .stage-note{color:var(--t2)}
.ft-steps h2{margin:4px 0 8px;font-weight:700;font-size:21px;letter-spacing:-.015em;line-height:1.15;color:#fff}
.ft-steps .d{color:var(--t2);font-size:16px;line-height:1.42}
.ft-extras{display:grid;margin-top:26px;border-top:1px solid var(--rule)}
.ft-extras div{padding:22px 0 24px;border-bottom:1px solid var(--rule)}
.ft-extras h3{margin-bottom:6px;font-weight:700;font-size:20px;letter-spacing:-.012em;color:#fff}
.ft-extras p{color:var(--t2);font-size:17px;line-height:1.45;max-width:52ch;text-wrap:balance}
/* the paper report: its first page rises from the foot of the section */
.ft-paper{padding-top:64px;padding-bottom:0;overflow:hidden}
.ft-paper-in{display:grid;gap:34px}
.ft-paper .tag{margin-bottom:8px}
.ft-paper .h2{margin-bottom:20px}
.ft-notes{list-style:none;display:grid;gap:15px;max-width:560px;margin-bottom:12px}
.ft-notes li{display:grid;grid-template-columns:34px minmax(0,1fr);row-gap:2px}
.ft-notes .n{grid-row:1 / span 2;padding-top:5px;font-size:13px;color:#555}
.ft-notes .t{font-weight:700;font-size:18px;line-height:1.25}
.ft-notes .d{font-size:16px;line-height:1.4;color:#333}
.ft-sheet{display:block;height:430px;overflow:hidden;background:var(--paper);box-shadow:0 0 0 1px rgba(10,10,10,.16),0 -8px 46px rgba(10,10,10,.16)}
.ft-sheet img{display:block;width:100%;height:auto}
.ft-fp{padding-top:64px;padding-bottom:44px}
.ft-fp .eyebrow{margin-bottom:10px}
.ft-fp .h2{margin-bottom:6px}
.ft-full{margin-top:8px}
.ft-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 30px;max-width:1040px;margin-top:22px;padding-top:12px;border-top:1px solid var(--rule)}
.ft-links a:first-child{color:var(--t2)}
@media (min-width:900px){
  .ft-head{padding-bottom:54px}
  .ft-nav{margin-bottom:40px;overflow:visible;flex-wrap:wrap}
  .dp-h1.ft-h1{font-size:clamp(56px,5.7vw,88px);margin-bottom:24px}
  .ft-lede{font-size:21px;max-width:56ch}
  .ft-flow{padding-top:56px;padding-bottom:110px}
  .ft-steps{--g:clamp(18px,2.6vw,40px);overflow:visible;margin-right:0;padding:40px 0 0}
  .ft-steps li{flex:1 1 0;width:auto}
  .ft-steps li:first-child::after{left:calc(var(--rx) - var(--pad))}
  .ft-steps .ft-slot{max-width:236px;margin-bottom:28px}
  .ft-steps.ft-steps--credit .ft-slot{margin-bottom:58px}
  .ft-steps.ft-steps--credit2 .ft-slot{margin-bottom:64px}
  /* more than five steps: two lines of four, each line leaving the page's own line */
  .ft-steps--wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:104px}
  .ft-steps--wrap li:nth-child(4n+1)::after{left:calc(var(--rx) - var(--pad))}
  .ft-steps--wrap li:nth-child(4n)::after{display:none}
  .ft-after{margin-top:56px}
  .ft-steps h2{font-size:22px}
  .ft-extras{grid-template-columns:1fr 1fr;column-gap:64px;margin-top:84px}
  .ft-extras h3{font-size:23px}
  .ft-paper{padding-top:110px}
  .ft-paper-in{grid-template-columns:minmax(0,1fr) minmax(0,540px);column-gap:clamp(40px,7vw,110px);align-items:end}
  .ft-paper-text{padding-bottom:100px}
  .ft-sheet{height:620px}
  .ft-notes .t{font-size:20px}
  .ft-notes .d{font-size:17px}
  .ft-fp{padding-top:110px;padding-bottom:70px}
  .ft-links{margin-top:34px}
}

/* ---------- If scripts are switched off: everything still reads, in plain order ---------- */
.no-js .stage-run,.no-js .paper-run,.no-js .fp-run{height:auto}
.no-js .mt-run{height:auto}
.no-js .seasons-run{height:var(--vh)}
.no-js .seasons-pin,.no-js .paper-pin{--sk:0px}
.no-js .mt-pin{position:relative;height:auto}
.no-js .mt-copy{position:relative;top:auto;left:auto;padding:20px var(--padr) 20px var(--pad)}
.no-js .mt-list li{color:#fff}
.no-js .mt-svg,.no-js .mt-points,.no-js .mt-img,.no-js .mt-scrim{display:none}
.no-js .fp-pin{position:relative;height:auto;display:block}
.no-js .fp-items{grid-template-rows:1fr;opacity:1}
.no-js .stage-pin,.no-js .paper-pin,.no-js .seasons-pin,.no-js .track-pin,.no-js .m-card{position:relative;top:auto;height:auto}
.no-js .stage-fig{height:560px}
.no-js .stage-fig .dev > :first-child{opacity:1}
.no-js .stage-fig .credit.first{opacity:1;visibility:visible}
.no-js .stage-mini{opacity:1}
.no-js .steps{height:auto}
.no-js .steps li{position:relative;opacity:1;color:#fff;padding-bottom:12px}
.no-js .steps .d{max-height:none;opacity:1}
.no-js .paper-win{position:relative;top:auto;height:70vh;overflow:auto}
.no-js .paper-text{position:relative;left:auto;top:auto}
.no-js .notes li,.no-js .notes .d{display:block;color:#fff}
.no-js .leader,.no-js .ring,.no-js #dot{display:none}
.no-js .track-pin{overflow-x:auto}
.no-js .se-s{display:none}
.no-js .se-swap{display:block}
.no-js .se-gs{opacity:1}
.no-js .se-gw .se-cap{margin-bottom:18px}
.no-js .ds li::before{clip-path:none}
.no-js .ds li span{opacity:1}

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;scroll-behavior:auto !important}
  .ri{transform:none}
  .tool,.fp-panel{transform:none}
  .mt-points.ready li.on .mt-stop,.mt-points.recap li.on .mt-stop{animation:none}
}
