/* HQ-43 motion home preview, version B (time-lapse star trails instead of the topo scan). Brand kit v2: black field, #121212 cards, #262626 lines, one orange accent.
   Motion rules: transform/opacity only for anything that loops; everything has a static reduced-motion state. */
/* Fonts (Inter + Michroma, OFL) are inlined in fonts.css so the page also works from file://. */

:root{
  --orange:#F59E0B;--black:#000;--slate:#121212;--line:#262626;--white:#fff;--satin:#E3E3E3;--grey:#A6A6A6;--muted:#9A9A9A;
  --max:1220px;--ease:cubic-bezier(.2,.7,.2,1);
  --sans:Inter,"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  --display:Michroma,Inter,"Segoe UI",system-ui,sans-serif;
  --mono:ui-monospace,"Cascadia Mono","Cascadia Code",Consolas,"SF Mono",Menlo,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--black)}
body{margin:0;background:var(--black);color:var(--white);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.shell{width:min(calc(100% - 56px),var(--max));margin-inline:auto}
:focus-visible{outline:2px solid var(--orange);outline-offset:4px;border-radius:4px}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--orange);color:#000;font-weight:800;padding:10px 14px;border-radius:8px}
.skip:focus{top:12px}

/* ---------- header ---------- */
.site-header{position:absolute;z-index:20;left:0;right:0;top:0}
.nav{height:108px;display:flex;align-items:center;justify-content:space-between}
.brand{position:relative;display:block;line-height:0}
.brand img{display:block;width:auto;height:54px}
/* Light sweep: a brightened copy of the same lockup shown only through a moving gradient band.
   The approved art itself is never changed; the copy is transparent wherever the art is. */
.brand .sweep{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:brightness(1.9);
  -webkit-mask-image:linear-gradient(100deg,transparent 42%,#000 50%,transparent 58%);mask-image:linear-gradient(100deg,transparent 42%,#000 50%,transparent 58%);
  -webkit-mask-size:300% 100%;mask-size:300% 100%;-webkit-mask-position:100% 0;mask-position:100% 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.navlinks{display:flex;align-items:center;gap:34px}
.navlinks a{font-size:15px;color:var(--satin);transition:color .2s}
.navlinks a:hover,.navlinks a[aria-current=page]{color:#fff}
@media (max-width:1000px){.navlinks{gap:22px}} /* HQ-105: room for the fifth nav item on small laptops */
.build{border:1px solid var(--orange);border-radius:12px;padding:13px 22px;font-weight:800;color:var(--orange)!important;background:rgba(0,0,0,.6);transition:background .2s,color .2s}
.build:hover{background:var(--orange);color:#000!important}
.menu{display:none;background:none;border:0;color:#fff;width:48px;height:48px;padding:8px;cursor:pointer}
.menu span{display:block;width:28px;height:3px;background:currentColor;margin:6px auto;border-radius:4px;transition:transform .2s,opacity .2s}

/* ---------- hero ---------- */
.hero{position:relative;height:clamp(660px,100svh,1000px);overflow:hidden;background:#000;isolation:isolate}
.scene{position:absolute;inset:0;z-index:0}
.sky{position:absolute;inset:0;background:linear-gradient(180deg,#000 0%,#050505 55%,#15120c 100%)}
.layer{will-change:transform}
/* Version B sky: one canvas (point stars + Milky Way), behind the ridge silhouettes. Dimmed on the left so the hero copy stays crisp. */
.nightsky{position:absolute;inset:0;width:100%;height:100%;display:block;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.6) 32%,#000 58%);mask-image:linear-gradient(90deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.6) 32%,#000 58%)}
/* dawn: a faint orange lift along the horizon at the end of each "night" (opacity driven by JS) */
.dawn{position:absolute;inset:0;opacity:0;will-change:opacity;
  background:radial-gradient(ellipse 75% 42% at 62% 74%,rgba(245,158,11,.30) 0%,rgba(245,158,11,.10) 45%,transparent 75%),linear-gradient(0deg,rgba(29,22,11,.9) 0%,rgba(21,18,12,.5) 35%,transparent 70%)}
/* Below the mountains: one generated topographic map covering the whole black area (static, drawn once per layout size).
   Soft fade in under the ridges and a short fade at the very bottom before the footer. */
.ground{position:relative}
.ground>*:not(.ground-topo){position:relative;z-index:1}
.ground-topo{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 90px,#000 calc(100% - 140px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 90px,#000 calc(100% - 140px),transparent 100%)}
.ground-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.2s ease}
.ground-canvas.ready{opacity:1}
.range{position:absolute;left:0;right:0;bottom:0;height:clamp(380px,38vw,640px)}
.ridge{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.alpen-edge{opacity:.35;transition:opacity 1.6s ease}
.alpen-sky{opacity:.45;transition:opacity 2s ease}
.summit-label{opacity:0;transition:opacity 1s ease .3s}
.marker-ring{transform-box:fill-box;transform-origin:center}
.trail-draw{stroke-dasharray:1;stroke-dashoffset:1}
.hero.summited .alpen-edge{opacity:.95} /* version B: the sky script brightens it at dawn */
.hero.summited .alpen-sky{opacity:1}
.hero.summited .summit-label{opacity:1}
.hero.summited .marker-ring{animation:ping 2.4s ease-out infinite}
.fade-bottom{position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(180deg,transparent,#000)}
.corner{position:absolute;width:18px;height:18px;border:1px solid rgba(255,255,255,.18)}
.corner.tl{left:20px;top:20px;border-right:0;border-bottom:0}.corner.tr{right:20px;top:20px;border-left:0;border-bottom:0}
.corner.bl{left:20px;bottom:20px;border-right:0;border-top:0}.corner.br{right:20px;bottom:20px;border-left:0;border-top:0}

.hero-inner{position:relative;z-index:2;padding-top:clamp(150px,19vh,210px)}
.eyebrow{font-family:var(--display);font-size:11.5px;letter-spacing:.24em;color:var(--orange);text-transform:uppercase;display:flex;align-items:center;gap:12px}
.idx{font-family:var(--mono);font-size:11px;letter-spacing:.1em;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:3px 6px}
.hero h1{font-size:clamp(48px,6vw,86px);font-weight:850;line-height:.95;letter-spacing:-.05em;margin:22px 0 24px;max-width:780px}
.hero h1 span{color:var(--orange)}
.lead{font-size:20px;line-height:1.55;color:var(--satin);max-width:520px;margin:0 0 30px}
.actions{display:flex;flex-wrap:wrap;gap:14px}
.btn{display:inline-block;padding:15px 22px;border-radius:9px;font-weight:800;border:1px solid rgba(255,255,255,.28);color:#fff;background:rgba(0,0,0,.45);transition:transform .2s var(--ease),border-color .2s,background .2s}
.btn:hover{transform:translateY(-2px);border-color:#fff}
.btn.primary{background:var(--orange);border-color:var(--orange);color:#000}
.btn.primary:hover{background:#F7B13C;border-color:#F7B13C}

.hud{position:absolute;left:0;right:0;z-index:3;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none;font-family:var(--mono);font-size:11px;letter-spacing:.18em;color:var(--grey);text-transform:uppercase}
.hud-top{top:128px;justify-content:flex-end;flex-direction:column;align-items:flex-end;gap:26px}
.hud-bottom{bottom:34px}
.readout{display:flex;flex-direction:column;gap:6px;text-align:right}
.readout.live{text-align:left}
.readout b{color:var(--orange);font-weight:600}
/* HQ-43: the two hero tag lines are ~1.6x the live size so they read clearly */
.side-note{font-family:var(--sans);font-size:16px;font-weight:600;line-height:1.75;letter-spacing:.26em;color:#fff;text-align:right}
.side-note::after{content:"";display:block;width:64px;border-top:1px solid rgba(255,255,255,.7);margin:12px 0 0 auto}
.micro{color:var(--satin);font-family:var(--sans);font-size:15px;font-weight:600;letter-spacing:.2em;margin-left:auto;margin-right:28px;text-align:right}
@media (max-width:1100px){.side-note{font-size:14px}.micro{font-size:13px;letter-spacing:.16em;max-width:300px;line-height:1.5}}
.motion-toggle{pointer-events:auto;font:600 11px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--satin);background:rgba(0,0,0,.6);border:1px solid var(--line);border-radius:8px;min-height:44px;padding:0 14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.motion-toggle::before{content:"";width:8px;height:8px;border-left:2px solid currentColor;border-right:2px solid currentColor;box-sizing:border-box}
.motion-toggle[aria-pressed=true]::before{border:0;width:0;height:0;border-left:8px solid currentColor;border-top:5px solid transparent;border-bottom:5px solid transparent}
.motion-toggle:hover{border-color:var(--orange);color:#fff}

/* ---------- section heads ---------- */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px}
.section-head h2,.approach h2,.about h2{font-family:var(--display);font-weight:400;text-transform:uppercase;letter-spacing:.03em;font-size:clamp(24px,2.7vw,36px);line-height:1.2;margin:14px 0 0}
.section-head p{color:var(--grey);max-width:340px;line-height:1.5;margin:0}

/* ---------- the trail (base camp + camps) ---------- */
.trail-wrap{position:relative;padding-top:40px}
.climb{position:relative;padding-bottom:40px}
.climb-svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
.route{fill:none;stroke:#E3E3E3;stroke-opacity:.26;stroke-width:1.6;stroke-dasharray:5 8;stroke-linecap:round}
.route-done{fill:none;stroke:var(--orange);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:.95}
.climber{position:absolute;left:0;top:0;z-index:4;pointer-events:none;width:18px;height:18px;margin:-9px 0 0 -9px;will-change:transform;opacity:0;transition:opacity .4s}
.climb.ready .climber{opacity:1}
.climber i,.climber::before{position:absolute;inset:0;border-radius:50%}
.climber i{background:var(--orange);transform:scale(.62)}
.climber::before{content:"";border:2px solid var(--orange);animation:ping 2.2s ease-out infinite}
/* sticky readout rides in the centre corridor between the alternating camps */
.ascent-hud{position:sticky;top:16px;z-index:5;height:0;display:flex;justify-content:center;pointer-events:none;font:600 10.5px/1 var(--mono);letter-spacing:.16em;color:var(--grey);text-transform:uppercase}
.ascent-hud>div{display:flex;flex-direction:column;align-items:center;gap:7px;height:max-content;background:rgba(0,0,0,.82);border:1px solid var(--line);border-radius:8px;padding:9px 12px}
.ascent-hud #ascent-camp{color:var(--satin)}
.ascent-hud b{color:var(--orange);font-weight:600}
.climb:not(.ready) .ascent-hud{display:none}

/* base camp */
.basecamp{position:relative;z-index:1;text-align:center;padding-top:20px}
.basecamp .section-head{flex-direction:column;align-items:center;text-align:center;gap:12px}
.basecamp .section-head .eyebrow{justify-content:center}
.camp-scene{position:relative;width:220px;height:90px;margin:0 auto 10px}
.camp-scene svg{display:block;width:100%;height:100%;position:relative;z-index:1}
.lantern{position:absolute;z-index:2;left:50%;top:71%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:var(--orange);box-shadow:0 0 6px 1px rgba(245,158,11,.8)}
.lantern-glow{position:absolute;z-index:0;left:50%;top:70%;width:220px;height:110px;margin:-55px 0 0 -110px;border-radius:50%;background:radial-gradient(closest-side,rgba(245,158,11,.30),rgba(245,158,11,.08) 55%,transparent);animation:flicker 3.2s ease-in-out infinite}
.tents{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:980px;margin:0 auto;text-align:left}
.tent-card{background:rgba(18,18,18,.94);border:1px solid var(--line);border-radius:16px;padding:24px;display:grid;grid-template-columns:92px 1fr;gap:20px;align-items:center;transition:border-color .3s,transform .3s var(--ease)}
.tent-card:hover{border-color:rgba(245,158,11,.4);transform:translateY(-3px)}
.tent-card h3{font-size:24px;letter-spacing:-.03em;margin:10px 0 6px;line-height:1.1}
.tent-card p{color:var(--satin);font-size:15px;line-height:1.5;margin:0 0 10px}
.tent-card p strong{color:#fff}
/* base camp rotator (HQ-46): --rot-v tiles show at a time; motion.js adds .rot-on and moves the track.
   Without JS the tiles stay in the plain .tents grid above. Hidden tiles are inert, so they're never focused or read. */
.rotator{--rot-v:2;--rot-gap:20px;max-width:980px;margin:0 auto}
.rot-on .rot-view{overflow-x:clip;clip-path:inset(-40px 0 -40px 0)}
.rot-on .tents{position:relative;display:flex;gap:var(--rot-gap);max-width:none;margin:0;transition:transform .8s var(--ease)}
.rot-on .tents>.tent-card{flex:0 0 calc((100% - (var(--rot-v) - 1) * var(--rot-gap)) / var(--rot-v));min-width:0}
.rot-on .tents>.tent-card[inert]{transition:opacity .5s ease;opacity:.25}
.rotator[data-count="1"] .tents{justify-content:center}
.rot-controls{display:flex;align-items:center;justify-content:center;margin-top:14px}
.rot-controls[hidden]{display:none}
.rot-dots{display:flex}
.rot-dot{width:28px;height:32px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
.rot-dot::before{content:"";width:8px;height:8px;border-radius:50%;background:#3a3a3a;transition:background .3s,transform .3s}
.rot-dot:hover::before{background:var(--grey)}
.rot-dot[aria-current=true]::before{background:var(--orange);transform:scale(1.25)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.status{display:inline-flex;align-items:center;gap:8px;font:600 10.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--orange);border:1px solid rgba(245,158,11,.45);border-radius:999px;padding:6px 10px}
.status::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--orange);animation:blink 2.4s ease-in-out infinite}
.trailhead{position:relative;height:96px;margin-bottom:6px}
.trailhead span{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);font:600 10.5px/1 var(--mono);letter-spacing:.22em;color:var(--muted);background:#000;padding:5px 8px;border:1px solid var(--line);border-radius:4px}

/* camps */
.camps{position:relative;z-index:1;padding-top:90px}
.climb-head{position:relative;margin:0 0 40px}
.camp{position:relative;display:flex;margin-top:-56px}
/* HQ-46: camps overlap by 56px so the trail zig-zags tightly, and each <article class="camp"> is a full-width layout box.
   Painted after the camp above it, that empty wrapper sat on top of the previous card's bottom row (App Store badges,
   "Open TimeFit") and swallowed the clicks. Only the card and the node take pointer input now. */
.camp{pointer-events:none}
.camp .card,.camp .node{pointer-events:auto}
.ascent-hud+.camp{margin-top:0}
.camp.right{justify-content:flex-end}
.camp .card{width:calc(50% - 86px);position:relative}
.node{position:absolute;z-index:3;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;background:#000;border:2px solid #3a3a3a;transition:border-color .4s,background .4s,box-shadow .4s}
.camp .node{top:64px}
.camp.left .node{left:calc(50% - 52px)}
.camp.right .node{left:calc(50% + 52px)}
.camp.reached .node,.summit.reached .node{border-color:var(--orange);background:var(--orange);box-shadow:0 0 0 6px rgba(245,158,11,.14)}
.card{background:rgba(18,18,18,.94);border:1px solid var(--line);border-radius:16px;padding:26px;display:grid;grid-template-columns:104px 1fr;gap:22px;align-items:start;transition:border-color .3s}
.card:hover,.card:focus-within{border-color:rgba(245,158,11,.45)}
.camp-no{font:600 10.5px/1 var(--mono);letter-spacing:.22em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.card h3{font-size:30px;line-height:1.02;letter-spacing:-.04em;margin:0 0 8px}
.card h3 small{display:block;font-size:.5em;letter-spacing:0;margin-top:6px;color:var(--satin)}
.accent{color:var(--orange)}
.tag{font-size:10.5px;letter-spacing:.17em;font-weight:800;text-transform:uppercase;color:var(--satin)}
.card p{font-size:15.5px;line-height:1.5;color:var(--satin);margin:14px 0 12px}
.card p.fine{font-size:12px;color:var(--muted);margin:12px 0 0}
.links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.learn{font-weight:800;color:var(--orange)}
.learn:hover{text-decoration:underline;text-underline-offset:4px}
.store{display:block;line-height:0;border-radius:8px}.store img{display:block;height:40px;width:auto}
.add-chrome{display:inline-block;padding:10px 18px;border-radius:8px;background:var(--orange);color:#000;font-weight:800;font-size:15px}
.add-chrome:hover{background:#F7B13C}

/* badges: approved art, placed as-is. Only the wrapper moves; the glow is a separate surface light beneath it. */
.badge-link{position:relative;display:block;line-height:0;align-self:start}
.badge-link::before{content:"";position:absolute;left:12%;right:12%;bottom:-6%;height:26%;border-radius:50%;background:radial-gradient(closest-side,rgba(245,158,11,.32),transparent);opacity:.45;transition:opacity .35s,transform .35s var(--ease);transform:scale(.9)}
.badge{position:relative;display:block;width:100%;height:auto;transition:transform .35s var(--ease)}
.card:hover .badge,.tent-card:hover .badge,.badge-link:focus-visible .badge{transform:translateY(-6px)}
.card:hover .badge-link::before,.tent-card:hover .badge-link::before{opacity:1;transform:scale(1.05)}

/* summit */
.summit{position:relative;text-align:center;padding:80px 0 30px;margin-top:20px}
.summit .node{left:50%;top:22px}
.summit-peak{display:block;width:120px;height:50px;margin:0 auto 18px}
.summit .eyebrow{justify-content:center}
.summit .btn{margin-top:22px}
/* HQ-105: one line under the summit eyebrow (app.css has the same rule for the app pages) */
.summit-copy{color:var(--satin);max-width:520px;margin:14px auto 0;line-height:1.6;font-size:16px}

/* ---------- approach + about ---------- */
.approach{padding:40px 0 30px}
.approach-inner{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:32px 0;display:grid;grid-template-columns:1.1fr 2fr;gap:50px;align-items:center}
.approach h2 span{color:var(--orange)}
.values{display:grid;grid-template-columns:repeat(3,1fr)}
.value{display:flex;gap:15px;align-items:center;padding:0 24px;border-left:1px solid var(--line);color:var(--satin);line-height:1.3}
.value:first-child{border-left:0}
.icon{width:48px;height:48px;display:grid;place-items:center;flex:none}
.icon svg{width:43px;height:43px;stroke:var(--orange);fill:none;stroke-width:1.8}
.icon svg *{stroke-dasharray:1;stroke-dashoffset:0}
.about{padding:70px 0 80px}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}
.about h2{margin-bottom:24px}
.about-copy{font-size:19px;line-height:1.65;color:var(--satin)}
.about-copy p:first-child{margin-top:0}
.about-copy a{color:var(--orange);text-decoration:underline;text-underline-offset:3px}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{border:1px solid var(--line);border-radius:999px;padding:9px 14px;color:var(--satin);font-size:14px}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--line);padding:30px 0 34px}
.footer-grid{display:grid;grid-template-columns:1.05fr .8fr 1.35fr;gap:40px;align-items:start;color:var(--muted);font-size:12px}
.footer-grid strong{font-size:13px;color:#fff}
.footer-contact{display:block;margin-top:10px;color:var(--satin)}
.footer-products,.footer-legal{display:flex;flex-wrap:wrap;gap:7px 16px}
.footer-products span,.footer-legal span{width:100%;color:#fff;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:3px}
.footer-products a,.footer-legal a{color:var(--grey)}
.footer-products a:hover,.footer-legal a:hover{color:var(--orange)}
.footer-social{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:12px}
.footer-social a{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--grey)}
.footer-social a:hover{color:var(--orange)}
.footer-social svg{width:18px;height:18px;fill:currentColor;flex:none}
.footer-bottom{padding-top:20px;margin-top:22px;border-top:1px solid #161616;color:var(--muted);font-size:11.5px;letter-spacing:.04em}
.footer-bottom p{margin:0 0 6px}
.footer-bottom .fine{color:#8a8a8a;font-size:11px;line-height:1.5}

/* ---------- motion (only with JS, never for reduced motion) ---------- */
@keyframes rise{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes sweep{0%{-webkit-mask-position:100% 0;mask-position:100% 0}100%{-webkit-mask-position:0 0;mask-position:0 0}}
@keyframes ping{0%{transform:scale(.6);opacity:.9}100%{transform:scale(2.1);opacity:0}}
@keyframes alpen{0%,100%{opacity:.95}50%{opacity:.7}}
@keyframes flicker{0%,100%{opacity:.85;transform:scale(1)}30%{opacity:1;transform:scale(1.04)}55%{opacity:.75;transform:scale(.98)}80%{opacity:.95;transform:scale(1.02)}}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}

.js .rise{animation:rise .9s var(--ease) var(--d,0s) both}
.js .brand img{animation:fade 1.2s ease .05s both}
.js .brand .sweep{animation:fade 1.2s ease .05s both,sweep 1.7s cubic-bezier(.4,0,.2,1) 1.3s both}
.js .brand:hover .sweep{animation:sweep 1.2s cubic-bezier(.4,0,.2,1) both}

.js .reveal{opacity:0;transform:translate3d(0,26px,0);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.js .reveal.in{opacity:1;transform:none}
.js .climb.ready .camp .card{opacity:0;transform:translate3d(-30px,18px,0);transition:opacity .8s var(--ease),transform .8s var(--ease),border-color .3s}
.js .climb.ready .camp.right .card{transform:translate3d(30px,18px,0)}
.js .climb.ready .camp .badge-link{opacity:0;transform:scale(.86) translate3d(0,10px,0);transition:opacity .7s var(--ease) .18s,transform .7s var(--ease) .18s}
.js .climb.ready .camp.reached .card,.js .climb.ready .camp:focus-within .card{opacity:1;transform:none}
.js .climb.ready .camp.reached .badge-link,.js .climb.ready .camp:focus-within .badge-link{opacity:1;transform:none}
.js .icon svg *{stroke-dashoffset:1;transition:stroke-dashoffset 1.4s var(--ease)}
.js .approach-inner.in .icon svg *{stroke-dashoffset:0}
.js .value:nth-child(2) svg *{transition-delay:.2s}.js .value:nth-child(3) svg *{transition-delay:.4s}

/* Pause motion toggle (WCAG 2.2.2) */
html.paused *,html.paused *::before,html.paused *::after{animation-play-state:paused!important}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .approach-inner{grid-template-columns:1fr;gap:24px}
  .camp .card{grid-template-columns:84px 1fr;padding:22px;gap:18px}
  .card h3{font-size:26px}
}
@media (max-width:760px){
  .shell{width:min(calc(100% - 32px),var(--max))}
  .nav{height:88px}
  .brand img{height:40px}
  .menu{display:block}
  .navlinks{display:none;position:absolute;right:16px;top:80px;width:230px;padding:10px;background:rgba(10,10,10,.97);border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.5);flex-direction:column;align-items:stretch;gap:2px}
  .navlinks.open{display:flex}
  .navlinks a{min-height:48px;padding:13px 14px;font-size:16px}
  .navlinks .build{display:none}
  .menu.open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .menu.open span:nth-child(2){opacity:0}
  .menu.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

  .hero{height:auto;min-height:100svh;padding-bottom:330px}
  .hero-inner{padding-top:112px}
  .hero h1{font-size:46px;margin:16px 0 18px}
  .lead{font-size:17px;margin-bottom:22px}
  .actions{flex-direction:column;align-items:flex-start;gap:10px}
  .range{height:380px}
  .hud-top{top:96px}
  .hud-top .side-note{display:none}
  .hud-bottom .micro{position:absolute;left:0;right:0;bottom:62px;margin:0;max-width:none;text-align:left;font-size:12px;letter-spacing:.13em;line-height:1.4}
  .hud-top .readout{font-size:9.5px;gap:4px}
  .hud-bottom{bottom:18px}
  .readout.live{font-size:9.5px}
  .corner{display:none}
  .hud-top{right:0;left:auto;width:auto;padding-right:16px}
  .hud-top .readout{display:none}

  .section-head{display:block}
  .section-head p{margin-top:10px}
  .tents{grid-template-columns:1fr}
  .rotator{--rot-v:1;--rot-gap:16px}
  .rot-controls{justify-content:flex-start}
  .tent-card{grid-template-columns:72px 1fr;padding:18px;gap:16px}
  .status{letter-spacing:.06em}
  .basecamp,.basecamp .section-head{text-align:left;align-items:flex-start}
  .basecamp .section-head .eyebrow{justify-content:flex-start}
  .camp-scene{margin-left:0}
  .camps{padding-top:70px}
  .trailhead{height:56px}
  .trailhead span{left:40px;transform:translate(0,-50%)}
  .climb-head{margin:0 0 30px}
  .ascent-hud{display:none!important}
  .camp,.camp.right{justify-content:flex-start;margin-top:22px}
  .camp .card{width:auto;margin-left:40px;grid-template-columns:72px 1fr;padding:18px;gap:16px}
  .camp .node,.camp.left .node,.camp.right .node{left:16px;top:50px}
  .card h3{font-size:24px}
  .card p{font-size:15px}
  .js .climb.ready .camp.right .card{transform:translate3d(-30px,18px,0)}
  /* HQ-46: the rule above has the same specificity as the "reached" reset and comes later, so right-hand camps stayed
     30px left, over the trail line and its nodes. Settle them like the left-hand ones. */
  .js .climb.ready .camp.right.reached .card,.js .climb.ready .camp.right:focus-within .card{transform:none}
  .summit{text-align:left;margin-left:40px;padding-top:70px}
  .summit .node{left:-24px}
  .summit-peak{margin-left:0}
  .summit .eyebrow{justify-content:flex-start}
  .ascent-hud{top:10px}
  .ascent-hud span{padding:8px 9px;font-size:10px}
  .values{grid-template-columns:1fr}
  .value{border-left:0;border-top:1px solid var(--line);padding:16px 0}
  .value:first-child{border-top:0}
  .about{padding:50px 0 60px}
  .about-grid{grid-template-columns:1fr;gap:20px}
  .about-copy{font-size:17px}
  .footer-grid{grid-template-columns:1fr;gap:26px}
}

/* ---------- reduced motion: a complete, static page ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .rise,.js .reveal,.js .brand img{opacity:1!important;transform:none!important}
  .js .climb.ready .camp .card,.js .climb.ready .camp .badge-link{opacity:1!important;transform:none!important}
  .js .icon svg *{stroke-dashoffset:0}
  .motion-toggle,.sweep{display:none}
  .layer{will-change:auto}
  .trail-draw{stroke-dashoffset:0}
  .alpen-edge{opacity:.95}.alpen-sky{opacity:1}.summit-label{opacity:1}
  .card:hover .badge,.tent-card:hover .badge,.tent-card:hover{transform:none}
}

/* version B: solid #121212 cards so the topo ground never shows through */
.card,.tent-card{background:#121212}
