/* Incomenomics v3 depth layer, pass 10: fixes on the six, then the same physical depth for every paper object site-wide.
   Loaded after depth-physical.css.  (c) Incomenomics LLC. All rights reserved. */

/* ---------- site-wide: every other paper object gets thickness, lift, loose sheets under it and the same light ---------- */
/* loose sheets under it (shifted, as box-shadow layers), a tight contact shadow, then a wide soft one */
main :is(.card:not([data-obj]),.cred,.feed .row,.form-card,.ptable-wrap,.cta-band,.founder>.eco){position:relative;
  box-shadow:0 1px 0 rgba(255,255,255,.75) inset,
   0 2px 0 #d6cdb6,0 3px 0 #8b8370,
   5px 8px 0 -1px #e3dbc4,5px 9px 0 -1px #8b8370,
   -4px 13px 0 -2px #dad1b9,-4px 14px 0 -2px #7d7562,
   0 18px 12px -4px rgba(0,0,0,.6),0 60px 56px -26px rgba(0,0,0,.9),0 30px 40px -12px rgba(0,0,0,.5)}
main :is(.cred,.feed .row){box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 2px 0 #d6cdb6,0 3px 0 #8b8370,
   4px 6px 0 -1px #e3dbc4,4px 7px 0 -1px #8b8370,0 12px 9px -3px rgba(0,0,0,.6),0 34px 34px -16px rgba(0,0,0,.85)}
/* hover: it comes up, the sheets separate and the shadow spreads; press sets it down */
main :is(.card:not([data-obj]),.form-card,.ptable-wrap,.cta-band,.founder>.eco):hover{
  box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 2px 0 #d6cdb6,0 3px 0 #8b8370,
   7px 12px 0 -1px #e3dbc4,7px 13px 0 -1px #8b8370,-6px 19px 0 -2px #dad1b9,-6px 20px 0 -2px #7d7562,
   0 28px 18px -6px rgba(0,0,0,.55),0 90px 70px -30px rgba(0,0,0,.9),0 44px 54px -14px rgba(0,0,0,.5)}
main :is(.cred,.feed .row):hover{box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 2px 0 #d6cdb6,0 3px 0 #8b8370,
   6px 9px 0 -1px #e3dbc4,6px 10px 0 -1px #8b8370,0 18px 12px -4px rgba(0,0,0,.55),0 50px 44px -18px rgba(0,0,0,.85)}
main :is(.card:not([data-obj]),.cred,.feed .row,.form-card,.cta-band):active{
  box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 2px 0 #d6cdb6,0 3px 0 #8b8370,2px 4px 0 -1px #e3dbc4,2px 5px 0 -1px #8b8370,0 8px 8px -3px rgba(0,0,0,.6),0 20px 24px -12px rgba(0,0,0,.8)}
/* one light from the top-left across every sheet */
main :is(.card:not([data-obj]),.cred,.feed .row,.form-card,.ptable-wrap,.cta-band,.founder>.eco)::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:1;
  background:linear-gradient(135deg,rgba(255,255,255,.40),rgba(255,255,255,0) 34%,rgba(0,0,0,0) 70%,rgba(0,0,0,.09))}

/* ---------- things resting on the papers ---------- */
/* forms: a steel paper clip over the top edge */
main .form-card{overflow:visible}
/* audit r2 finding 2: the clip reached 48px onto the paper and crossed the first line at 320 to 390; it now grips
   only the top 26px, above every first line */
main .form-card::before{content:"";position:absolute;right:54px;top:-42px;width:25px;height:68px;z-index:2;pointer-events:none;transform:rotate(5deg);
  background:var(--clip) center/100% 100% no-repeat;filter:drop-shadow(1px 2px 1px rgba(0,0,0,.5)) drop-shadow(4px 7px 3px rgba(0,0,0,.4))}
/* diplomas: a small raised gold seal on the corner */
main .cred{overflow:visible}
main .cred::before{content:"";position:absolute;right:12px;top:-9px;width:26px;height:26px;border-radius:50%;z-index:2;pointer-events:none;
  background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.95),rgba(255,255,255,0) 32%),radial-gradient(circle,#f3d77c 0 34%,#b88a26 35% 42%,#f0d48a 43%);
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 2px 0 #9a7424,0 3px 0 #6b4f1c,3px 6px 5px rgba(0,0,0,.45)}
/* step tickets and quote sheets: thickness and lift like the rest, the numbered coin or the stamp already sits on top */
main :is(.card.step,.card.price-card){box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 2px 0 #d6cdb6,0 3px 0 #8b8370,
   5px 8px 0 -1px #e3dbc4,5px 9px 0 -1px #8b8370,-4px 13px 0 -2px #dad1b9,-4px 14px 0 -2px #7d7562,
   0 18px 12px -4px rgba(0,0,0,.6),0 60px 56px -26px rgba(0,0,0,.9),0 30px 40px -12px rgba(0,0,0,.5)}
main .card.price-card.feature{box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 2px 0 #d6cdb6,0 3px 0 #8b8370,
   5px 8px 0 -1px #e3dbc4,5px 9px 0 -1px #8b8370,-4px 13px 0 -2px #dad1b9,-4px 14px 0 -2px #7d7562,
   0 22px 14px -4px rgba(0,0,0,.6),0 70px 60px -26px rgba(0,0,0,.9),0 34px 44px -12px rgba(0,0,0,.5),0 0 0 1px rgba(70,207,144,.35)}
@media(prefers-reduced-motion:reduce){main :is(.card,.cred,.feed .row,.form-card,.ptable-wrap,.cta-band){transition:none}}
/* the sheet light is gentle enough that ink under it keeps its full strength */
main :is(.card:not([data-obj]),.cred,.feed .row,.form-card,.ptable-wrap,.cta-band,.founder>.eco)::after{background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,0) 30%,rgba(0,0,0,0) 72%,rgba(0,0,0,.07))}
