 :root{--bg:#020409;--glass:rgba(4,7,13,.78);--line:rgba(175,149,255,.18);--line2:rgba(255,255,255,.075);--text:#f0eef5;--muted:#928e9f;--violet:#ad7cff;--danger:#ff5f84;--green:#61e5b1;--side:206px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#000;color:var(--text);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;overflow-x:clip}button,a{font:inherit;color:inherit}a{text-decoration:none}button{cursor:pointer}.glass{background:linear-gradient(180deg,rgba(4,7,13,.88),rgba(3,5,10,.72));border:1px solid var(--line);backdrop-filter:blur(12px)}
.fixed-atmosphere{position:fixed;inset:0;z-index:8;pointer-events:none;overflow:hidden}.fixed-atmosphere #particles{position:absolute;inset:0}.particle{position:absolute;width:2px;height:2px;border-radius:50%;background:var(--violet);box-shadow:0 0 10px rgba(173,124,255,.48);opacity:.22;animation:float 20s linear infinite}@keyframes float{0%{transform:translateY(15vh);opacity:0}18%{opacity:.32}100%{transform:translateY(-115vh);opacity:0}}.speed-lines{position:absolute;inset:0;opacity:0;background:repeating-linear-gradient(180deg,transparent 0 32px,rgba(180,160,255,.07) 33px,transparent 35px);mix-blend-mode:screen;transition:opacity .18s}.speed-lines.active{opacity:.6;animation:speed .28s linear infinite}@keyframes speed{to{background-position:0 -68px}}
.critical-edge{position:fixed;inset:0;z-index:9;pointer-events:none;opacity:0;box-shadow:inset 0 0 0 1px rgba(255,95,132,.35),inset 0 0 100px rgba(255,30,80,.12);transition:opacity .3s}.critical-edge.show{opacity:1;animation:edgePulse 1s ease-in-out infinite}@keyframes edgePulse{50%{box-shadow:inset 0 0 0 1px rgba(255,95,132,.6),inset 0 0 150px rgba(255,30,80,.18)}}
.depth-console{position:fixed;z-index:20;left:16px;top:16px;bottom:16px;width:var(--side);border-radius:12px;padding:18px 14px;display:flex;flex-direction:column;gap:16px}.brand{display:flex;align-items:center;gap:11px;padding-bottom:16px;border-bottom:1px solid var(--line2)}.brand-mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(194,170,255,.45);color:#ccb8ff}.brand-name{font-family:Georgia,serif;font-size:21px;letter-spacing:.18em}.depth-head>span{font-size:10px;color:#8b8797;letter-spacing:.17em}.depth-head strong{display:block;font-size:31px;font-weight:500;margin-top:5px;letter-spacing:.06em}.depth-head small{font-size:16px;color:#bbb6c5}.depth-map{display:grid;grid-template-columns:20px 1fr;gap:12px;min-height:360px}.depth-track{position:relative;margin:7px 0}.depth-track::before{content:"";position:absolute;left:9px;top:0;bottom:0;width:2px;background:linear-gradient(180deg,rgba(255,255,255,.17),rgba(255,255,255,.045))}.depth-track>i{position:absolute;left:1px;top:0;width:18px;height:3px;border-radius:99px;background:var(--violet);box-shadow:0 0 12px var(--violet),0 0 25px rgba(173,124,255,.38);transition:top .08s linear}.depth-zones{display:grid;grid-template-rows:repeat(6,1fr)}.depth-zones button{border:0;background:none;text-align:left;padding:7px 4px;color:#777382;position:relative}.depth-zones button::before{content:"";position:absolute;left:-17px;top:50%;width:7px;height:7px;border-radius:50%;border:1px solid currentColor;transform:translateY(-50%)}.depth-zones button.active{color:#dacbff}.depth-zones button.active::before{background:currentColor;box-shadow:0 0 10px currentColor}.depth-zones button.danger{color:#ae6878}.depth-zones button.danger.active{color:#ff9bb0}.depth-zones b{display:block;font-size:10px;font-weight:500;letter-spacing:.1em}.depth-zones small{display:block;font-size:8px;opacity:.7;margin-top:3px}.telemetry{display:grid;gap:11px;margin-top:auto}.telemetry-row{display:grid;grid-template-columns:1fr auto;gap:7px}.telemetry-row>span{font-size:9px;letter-spacing:.12em;color:#868292}.telemetry-row>b{font-size:11px;font-weight:500}.telemetry-row>i{grid-column:1/-1;height:3px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden}.telemetry-row em{display:block;height:100%;background:linear-gradient(90deg,rgba(173,124,255,.35),rgba(173,124,255,1));box-shadow:0 0 12px rgba(173,124,255,.4)}
.live-hud{position:fixed;z-index:20;left:calc(var(--side) + 34px);right:16px;top:16px;height:68px;border-radius:12px;display:grid;grid-template-columns:.9fr .8fr .75fr .8fr 1fr;overflow:hidden}.live-hud>div{padding:12px 17px;border-right:1px solid var(--line2);display:flex;flex-direction:column;justify-content:center;gap:6px}.live-hud span{font-size:9px;letter-spacing:.17em;color:#888495}.live-hud b{font-size:15px;font-weight:500;letter-spacing:.06em}.live-hud nav{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px}.live-hud nav button,.live-hud nav a{height:42px;padding:0 13px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--line2);background:rgba(255,255,255,.02);font-size:10px;letter-spacing:.13em}.live-hud nav a{border-color:rgba(173,124,255,.38);color:#d4c0ff}
#descentWorld{position:relative;z-index:1}.zone-section{position:relative;min-height:132vh;background:#020409}.zone-visual{position:sticky;top:0;height:100vh;overflow:hidden}.art,.zone-shade,.depth-light,.pressure-warp{position:absolute;inset:0}.art{background-size:cover;background-position:center;transform:scale(1.035);will-change:transform}.art-surface{background-image:url('assets/surface.png');background-position:center 42%}.art-twilight{background-image:url('assets/twilight.png');background-position:center 47%}.art-midnight{background-image:url('assets/midnight.png');background-position:center}.art-abyssal{background-image:url('assets/abyssal.png');background-position:center}.art-crush{background-image:url('assets/abyssal.png');background-position:62% center;filter:brightness(.67) contrast(1.1)}.art-hadal{background-image:url('assets/midnight.png');background-position:76% 56%;filter:brightness(.48) contrast(1.18) saturate(.9)}.zone-shade{background:linear-gradient(90deg,rgba(0,0,0,.64) 0 18%,rgba(0,0,0,.28) 32%,rgba(0,0,0,.05) 64%,rgba(0,0,0,.32) 100%),linear-gradient(180deg,rgba(0,0,0,.35),transparent 22%,transparent 76%,rgba(0,0,0,.48))}.zone-shade.stronger{background:linear-gradient(90deg,rgba(0,0,0,.7) 0 20%,rgba(0,0,0,.34) 34%,rgba(0,0,0,.08) 64%,rgba(0,0,0,.42) 100%),linear-gradient(180deg,rgba(0,0,0,.42),transparent 18%,transparent 70%,rgba(0,0,0,.58))}.crush-shade{background:linear-gradient(90deg,rgba(0,0,0,.72) 0 20%,rgba(0,0,0,.34) 36%,rgba(20,0,10,.18) 67%,rgba(0,0,0,.5) 100%),radial-gradient(circle at 70% 40%,transparent 0 22%,rgba(34,0,12,.2) 68%,rgba(0,0,0,.64) 100%)}.hadal-shade{background:linear-gradient(90deg,rgba(0,0,0,.78) 0 22%,rgba(0,0,0,.38) 40%,rgba(0,0,0,.12) 64%,rgba(0,0,0,.55) 100%),linear-gradient(180deg,rgba(0,0,0,.52),transparent 20%,transparent 65%,rgba(0,0,0,.74))}.depth-light{background:radial-gradient(ellipse at 55% 0%,rgba(100,160,255,.2),transparent 52%)}.pressure-warp{opacity:.3;background:repeating-radial-gradient(ellipse at 70% 42%,transparent 0 25px,rgba(255,255,255,.015) 26px 27px,transparent 28px 48px);animation:warp 4s linear infinite}@keyframes warp{to{transform:scale(1.04)}}
.zone-flow{position:relative;z-index:2;margin-top:-100vh;min-height:132vh;padding-left:calc(var(--side) + 52px);padding-right:7vw;padding-top:31vh;display:flex;flex-direction:column;justify-content:flex-start}.zone-copy{width:min(510px,40vw);filter:drop-shadow(0 4px 20px rgba(0,0,0,.6))}.zone-copy.compact{width:min(470px,38vw)}.eyebrow{font-size:12px;letter-spacing:.2em;color:#be9aff;margin-bottom:14px}.zone-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(62px,7vw,104px);line-height:.86;font-weight:400;margin:0 0 18px}.range{font-size:15px;letter-spacing:.17em;color:#c7a6ff;margin-bottom:22px}.zone-copy p{font-family:Georgia,serif;font-size:17px;line-height:1.58;color:#c4c0cc;margin:0;max-width:420px}.actions{display:flex;gap:10px;margin-top:24px}.btn{height:46px;border-radius:9px;border:1px solid var(--line);background:rgba(4,7,13,.58);padding:0 16px;font-size:10px;letter-spacing:.15em}.btn.primary{border-color:rgba(173,124,255,.48);background:linear-gradient(90deg,rgba(104,59,197,.54),rgba(47,25,91,.42))}.btn.danger-btn{border-color:rgba(255,95,132,.48);background:linear-gradient(90deg,rgba(140,35,68,.5),rgba(65,18,38,.42))}.contact-row{display:flex;gap:10px;margin-top:25px}.contact{display:flex;align-items:center;gap:9px;border:0;background:none;color:#b9b5c4;padding:0;font-size:9px;letter-spacing:.12em}.contact i{width:16px;height:16px;border-radius:50%;border:1px solid rgba(190,159,255,.7);position:relative;box-shadow:0 0 12px rgba(173,124,255,.2)}.contact i::after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--violet)}.midline-callout{align-self:flex-end;margin-top:17vh;margin-right:10vw;font-family:Georgia,serif;font-size:32px;line-height:1.25;color:rgba(235,231,244,.66);text-align:right}.midline-callout strong{font-weight:400;color:#d4c3fa}.midline-callout.muted{color:rgba(235,231,244,.5)}.threshold{margin-top:auto;margin-bottom:8vh;display:flex;align-items:flex-end;justify-content:space-between;border-top:1px solid rgba(255,255,255,.09);padding-top:14px;color:#888494;letter-spacing:.16em;font-size:10px}.threshold b{font-size:22px;font-weight:400;color:#bdb8c8;letter-spacing:.08em}.danger-threshold span,.danger-text{color:#ff9ab0}.critical-copy{padding-top:2vh}.choice-box{margin-top:24px;padding:14px;border-radius:12px;width:360px}.choice-box>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.13em;color:#928e9d}.choice-box>div:first-child b{font-size:18px;color:#e9e4f0;font-weight:500}.choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.block-warning{align-self:flex-end;margin:10vh 7vw 0 0;text-align:right;color:#ff9bb0}.block-warning span{display:block;font-size:10px;letter-spacing:.16em;margin-bottom:5px}.block-warning b{font-size:30px;font-weight:400}.hadal-flow{padding-bottom:16vh}.bottom-reveal{margin-top:auto;margin-bottom:2vh;width:min(620px,55vw);align-self:center;text-align:center;padding:34px 30px 38px;border-top:1px solid rgba(255,255,255,.11)}.bottom-kicker{font-size:10px;letter-spacing:.2em;color:#a79fb2;margin-bottom:10px}.bottom-reveal h2{font-family:Georgia,serif;font-size:58px;line-height:.92;font-weight:400;margin:0 0 16px}.bottom-reveal p{font-family:Georgia,serif;color:#aaa5b4;margin:0 0 24px}.portal-btn{display:inline-grid;place-items:center;height:54px;padding:0 22px;border-radius:9px;border:1px solid rgba(173,124,255,.48);background:linear-gradient(90deg,rgba(99,51,199,.62),rgba(123,70,231,.62));letter-spacing:.14em;font-size:11px;box-shadow:0 0 30px rgba(140,82,255,.22)}
.drawer{position:fixed;z-index:30;right:16px;bottom:16px;width:min(390px,31vw);max-height:70vh;overflow:auto;padding:18px;border-radius:12px;display:none}.drawer.open{display:block}.drawer-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.drawer-top h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:0}.close{width:38px;height:38px;border-radius:8px;border:1px solid var(--line2);background:rgba(255,255,255,.02)}.drawer p{font-family:Georgia,serif;color:#bfbac8;line-height:1.58}.thumb{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;border:1px solid var(--line2);margin-bottom:14px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stat{padding:11px;border:1px solid var(--line2);border-radius:9px}.stat b{display:block;font-size:17px;font-weight:500;margin-bottom:4px}.stat small{font-size:8px;letter-spacing:.13em;color:#8c8797}.toast{position:fixed;z-index:40;left:50%;top:100px;transform:translateX(-50%) translateY(-8px);opacity:0;padding:12px 18px;border-radius:10px;border:1px solid rgba(173,124,255,.22);background:rgba(5,8,14,.94);font-size:10px;letter-spacing:.12em;transition:.18s}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:1000px){:root{--side:184px}.zone-flow{padding-left:calc(var(--side) + 38px)}.zone-copy{width:min(48vw,500px)}.live-hud{grid-template-columns:1fr 1fr 1fr}.live-hud>div:nth-child(4){display:none}.live-hud nav{grid-column:auto}.drawer{width:min(360px,38vw)}}
@media(max-width:760px){:root{--side:0px}.depth-console{left:10px;right:10px;top:10px;bottom:auto;width:auto;height:176px;padding:12px;display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:12px}.brand{grid-column:1/-1;padding-bottom:8px}.depth-map{min-height:95px}.depth-track{display:none}.depth-zones{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(2,1fr)}.depth-zones button::before{display:none}.depth-zones button{padding:3px}.telemetry{margin-top:0}.live-hud{left:10px;right:10px;top:194px;height:62px;grid-template-columns:1fr 1fr}.live-hud>div:nth-child(3),.live-hud nav{display:none}.zone-flow{padding-left:20px;padding-right:20px;padding-top:39vh}.zone-copy,.zone-copy.compact{width:min(90vw,480px)}.zone-copy h1{font-size:55px}.zone-copy p{font-size:15px}.midline-callout{font-size:24px;margin-right:3vw}.bottom-reveal{width:90vw}.bottom-reveal h2{font-size:44px}.drawer{left:10px;right:10px;bottom:10px;width:auto}.threshold{margin-bottom:5vh}.choice-box{width:min(88vw,360px)}}

/* ---------- V8 mobile production pass ---------- */
.mobile-zone-nav{display:none}
@media(max-width:760px){
  :root{--side:0px}
  html{scroll-padding-top:196px}
  body{overscroll-behavior-y:auto;-webkit-text-size-adjust:100%}
  .fixed-atmosphere{opacity:.72}
  .speed-lines{display:none}

  .depth-console{
    left:10px;right:10px;top:max(10px,env(safe-area-inset-top));bottom:auto;width:auto;height:116px;
    padding:10px 12px;border-radius:12px;display:grid;grid-template-columns:1fr auto;grid-template-rows:42px 1fr;
    gap:7px 12px;align-items:center
  }
  .brand{grid-column:1;grid-row:1;padding:0;border-bottom:0;gap:9px;min-width:0}
  .brand-mark{width:26px;height:26px;font-size:12px;flex:0 0 auto}
  .brand-name{font-size:18px;letter-spacing:.15em}
  .depth-head{grid-column:2;grid-row:1;text-align:right;align-self:center}
  .depth-head>span{font-size:8px;letter-spacing:.15em}
  .depth-head strong{font-size:22px;margin-top:2px;line-height:1}
  .depth-head small{font-size:12px}
  .depth-map{display:none}
  .telemetry{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;align-self:stretch}
  .telemetry-row{display:grid;grid-template-columns:1fr;gap:2px;align-content:end;padding:5px 7px;border:1px solid rgba(255,255,255,.055);border-radius:8px;background:rgba(255,255,255,.018);min-width:0}
  .telemetry-row>span{font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .telemetry-row>b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .telemetry-row>i{height:2px;margin-top:3px}

  .live-hud{
    left:10px;right:10px;top:calc(max(10px,env(safe-area-inset-top)) + 124px);height:52px;border-radius:11px;
    grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,.85fr) auto
  }
  .live-hud>div{padding:7px 9px;gap:4px;min-width:0}
  .live-hud>div:nth-child(2){display:none}
  .live-hud span{font-size:7px;letter-spacing:.13em}
  .live-hud b{font-size:10px;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .live-hud nav{padding:5px;gap:0}
  .live-hud nav #logbookButton{display:none}
  .live-hud nav a{height:38px;padding:0 12px;font-size:9px;letter-spacing:.12em;white-space:nowrap}

  .zone-section{min-height:145svh}
  .zone-visual{height:100svh}
  .zone-flow{
    margin-top:-100svh;min-height:145svh;padding:48svh 18px 86px;justify-content:flex-start
  }
  .zone-copy,.zone-copy.compact{width:100%;max-width:470px}
  .zone-copy h1{font-size:clamp(44px,13vw,58px);line-height:.88;margin-bottom:14px}
  .eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:.17em}
  .range{font-size:11px;margin-bottom:15px;letter-spacing:.13em}
  .zone-copy p{font-size:15px;line-height:1.52;max-width:350px;color:#d0ccd6}
  .actions{margin-top:18px;flex-wrap:wrap}
  .btn{min-height:46px;padding:0 15px}
  .contact-row{flex-wrap:wrap;gap:14px;margin-top:19px}
  .contact{min-height:34px}

  .zone-shade,.zone-shade.stronger,.crush-shade,.hadal-shade{
    background:
      linear-gradient(180deg,rgba(0,0,0,.08) 0 36%,rgba(0,0,0,.22) 48%,rgba(0,0,0,.72) 75%,rgba(0,0,0,.88) 100%),
      linear-gradient(90deg,rgba(0,0,0,.16),transparent 58%,rgba(0,0,0,.16))
  }
  .art-surface{background-position:54% 42%}
  .art-twilight{background-position:61% 47%}
  .art-midnight{background-position:63% center}
  .art-abyssal{background-position:64% center}
  .art-crush{background-position:68% center}
  .art-hadal{background-position:73% 56%}

  .midline-callout{align-self:flex-start;text-align:left;font-size:23px;line-height:1.18;margin:17vh 0 0;max-width:310px}
  .threshold{margin-top:auto;margin-bottom:2vh;padding-top:12px;font-size:8px;letter-spacing:.13em}
  .threshold b{font-size:17px}
  .critical-copy{padding-top:0}
  .choice-box{width:100%;max-width:370px;padding:12px;margin-top:18px}
  .choice-box>div:first-child{align-items:center}
  .choice-box>div:first-child b{font-size:16px}
  .choice-actions .btn{width:100%}
  .block-warning{align-self:flex-start;text-align:left;margin:11vh 0 0}
  .block-warning b{font-size:24px}
  .hadal-flow{padding-bottom:94px}
  .bottom-reveal{width:100%;max-width:470px;margin:18vh auto 0;padding:26px 12px 30px}
  .bottom-reveal h2{font-size:clamp(38px,11vw,50px)}
  .portal-btn{width:100%;min-height:52px;padding:0 14px}

  .mobile-zone-nav{
    position:fixed;z-index:24;display:grid;grid-template-columns:repeat(6,minmax(48px,1fr));left:10px;right:10px;
    bottom:max(10px,env(safe-area-inset-bottom));height:48px;padding:5px;border-radius:11px;overflow:hidden
  }
  .mobile-zone-nav button{position:relative;border:0;background:none;color:#777381;font-size:7px;letter-spacing:.08em;padding:16px 2px 2px;min-width:0}
  .mobile-zone-nav button::before{content:"";position:absolute;top:7px;left:50%;transform:translateX(-50%);width:6px;height:6px;border-radius:50%;background:#4b4855}
  .mobile-zone-nav button.active{color:#d9caff}
  .mobile-zone-nav button.active::before{background:var(--violet);box-shadow:0 0 0 3px rgba(173,124,255,.12),0 0 10px rgba(173,124,255,.55)}
  .mobile-zone-nav button.danger{color:#aa7180}
  .mobile-zone-nav button.danger.active{color:#ffafc0}
  .mobile-zone-nav button.danger.active::before{background:var(--danger);box-shadow:0 0 0 3px rgba(255,95,132,.1),0 0 10px rgba(255,95,132,.48)}

  .drawer{
    left:10px;right:10px;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 58px);width:auto;max-height:70svh;
    border-radius:14px;padding:16px;overscroll-behavior:contain
  }
  .drawer-top h2{font-size:25px}.stats{grid-template-columns:1fr 1fr}.stat b{font-size:15px}
  .toast{top:auto;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 68px);max-width:calc(100vw - 28px);text-align:center;white-space:normal}
}
@media(max-width:380px){
  .depth-console{height:112px;padding:9px 10px}.telemetry-row{padding:4px 5px}.live-hud{top:calc(max(10px,env(safe-area-inset-top)) + 120px)}
  .zone-flow{padding-left:15px;padding-right:15px}.zone-copy h1{font-size:42px}.zone-copy p{font-size:14px}.mobile-zone-nav button{font-size:6px}
  .stats{grid-template-columns:1fr}.choice-actions{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){.speed-lines{display:none!important}.particle{animation:none!important}}

/* ---------- economy section ---------- */
.economy-section{position:relative;z-index:12;background:linear-gradient(180deg,#02040a,#04070e);border-top:1px solid rgba(180,152,255,.14);padding:96px 24px 110px}
.economy-inner{max-width:1180px;margin:0 auto}
.economy-head{max-width:760px;margin-bottom:44px}
.economy-head .eyebrow{font-size:10px;letter-spacing:.2em;color:#b991ff;margin-bottom:14px}
.economy-head h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(38px,4.6vw,62px);line-height:.98;margin:0 0 18px}
.economy-head p{font-family:Georgia,serif;font-size:17px;line-height:1.62;color:#c0bbc8;margin:0}
.economy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.econ-card{border:1px solid rgba(180,152,255,.15);border-radius:13px;padding:20px;background:linear-gradient(180deg,rgba(6,9,18,.9),rgba(3,5,11,.7))}
.econ-card.accent{border-color:rgba(97,229,177,.2);background:linear-gradient(180deg,rgba(8,22,18,.82),rgba(3,7,11,.7))}
.econ-card b{display:block;font-size:11px;font-weight:500;letter-spacing:.16em;color:#d7c8f3;margin-bottom:12px}
.econ-card.accent b{color:#8ef0c6}
.econ-card p{font-size:12px;line-height:1.68;color:#a29daf;margin:0 0 14px}
.econ-card em{font-style:normal;color:#e0d7f5}
.econ-card ul{margin:0;padding-left:16px;display:grid;gap:6px}
.econ-card li{font-size:10px;line-height:1.5;color:#8b8696;letter-spacing:.03em}
.economy-foot{margin:34px 0 0;max-width:880px;font-size:11px;line-height:1.8;color:#8b8696}
@media(max-width:900px){.economy-grid{grid-template-columns:1fr}.economy-section{padding:64px 16px 80px}}

/* ---------- room for the expected-value row and the elapsed metric ---------- */
.live-hud{grid-template-columns:.85fr .75fr .7fr .8fr .8fr 1fr}
@media(max-width:1000px){
  .live-hud{grid-template-columns:1fr 1fr 1fr}
  .live-hud>div:nth-child(3),.live-hud>div:nth-child(5){display:none}
  .live-hud>div:nth-child(4){display:flex}
}
@media(max-width:760px){
  .depth-console{height:196px}
  .live-hud{top:214px;grid-template-columns:1fr 1fr}
  .live-hud>div:nth-child(3),.live-hud>div:nth-child(5),.live-hud nav{display:none}
  .telemetry{grid-template-columns:repeat(4,minmax(0,1fr))}
  .telemetry-row>span{font-size:6.5px}
}
.choice-box>div{display:grid;gap:4px}
.choice-box>div span{font-size:8px;letter-spacing:.13em;color:#8f8a9c}

/* The descent chrome is fixed, so it has to stand down over the economy pages.
   display, not opacity: a transition that never runs leaves the panel on top. */
body.past-descent .depth-console,
body.past-descent .live-hud,
body.past-descent .mobile-zone-nav,
body.past-descent .crush-choice,
body.past-descent .critical-edge,
body.past-descent .scroll-cue{display:none !important}

/* always-available route to the other two pages */
.site-nav{position:fixed;z-index:40;top:16px;right:16px;display:none;gap:8px}
body.past-descent .site-nav{display:flex}
.site-nav a{height:44px;padding:0 18px;display:grid;place-items:center;border-radius:10px;
  font-size:10px;letter-spacing:.16em;border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(6,9,18,.94),rgba(4,6,12,.86));backdrop-filter:blur(12px)}
.site-nav a.primary{border-color:rgba(97,229,177,.45);color:#8ef0c6;background:linear-gradient(180deg,rgba(12,44,35,.9),rgba(5,20,16,.8))}
.site-nav a:hover{border-color:rgba(190,164,255,.55)}
.site-nav a.primary:hover{border-color:rgba(97,229,177,.8)}
@media(max-width:760px){.site-nav{top:auto;bottom:14px;left:12px;right:12px}
  body.past-descent .site-nav{display:grid;grid-template-columns:1fr 1fr}}

/* the HUD route needs to read as a destination, not a caption */
.live-hud nav a{border-color:rgba(173,124,255,.5);color:#e0d3ff;background:rgba(80,43,155,.22)}
.live-hud nav a[href="game.html"]{border-color:rgba(97,229,177,.5);color:#8ef0c6;background:rgba(16,63,49,.24)}
.economy-section{padding-left:calc(var(--side) + 48px)}
@media(max-width:900px){.economy-section{padding-left:16px}}

.gateways{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:38px}
.gateway{display:block;border:1px solid rgba(180,152,255,.18);border-radius:14px;padding:24px;background:linear-gradient(180deg,rgba(8,11,22,.9),rgba(3,5,11,.7));transition:.2s ease}
.gateway:hover{border-color:rgba(190,164,255,.5);transform:translateY(-2px)}
.gateway.accent{border-color:rgba(97,229,177,.24)}
.gateway.accent:hover{border-color:rgba(97,229,177,.5)}
.gateway-eyebrow{display:block;font-size:9px;letter-spacing:.2em;color:#b991ff;margin-bottom:12px}
.gateway.accent .gateway-eyebrow{color:#8ef0c6}
.gateway b{display:block;font-family:Georgia,serif;font-weight:400;font-size:30px;letter-spacing:.01em;margin-bottom:12px}
.gateway p{font-size:12px;line-height:1.65;color:#a29daf;margin:0 0 16px}
.gateway-go{font-size:10px;letter-spacing:.16em;color:#d7c8f3}
.gateway.accent .gateway-go{color:#8ef0c6}
@media(max-width:900px){.gateways{grid-template-columns:1fr}.gateway b{font-size:25px}}

/* Each zone is taller than its sticky artwork, so once the visual unsticks the
   tail of the section used to render as a black band. Paint the same image on
   the section itself so the gap reads as deep water instead of a void. */
.zone-section{background-size:cover;background-position:center;background-repeat:no-repeat}
#surface{background-image:url('assets/surface.png')}
#twilight{background-image:url('assets/twilight.png')}
#midnight{background-image:url('assets/midnight.png')}
#abyssal{background-image:url('assets/abyssal.png')}
#crush{background-image:url('assets/abyssal.png')}
#hadal{background-image:url('assets/midnight.png')}
#crush,#hadal{background-color:#010307}
