/* ==== Bespoke MOBILE r1 (111826) — Backseat Atlas (backseatatlas) ====
   <=900px: hamburger + slide-out drawer, sticky bottom tab bar (body padded by the bar height from first paint = no CLS).
   Inner pages: a lighter, sparser variant of the Pie texture on the page-header band. CTA band on every page type.
   Desktop home is untouched. Roll back: empty this file. */
:root{--bsp-tab-h:64px}
.bsp-burger,.bsp-tabbar,.bsp-drawer,.bsp-drawer-ov{display:none}

/* ---- inner-page header band: subtle texture (lighter + larger tile than the home) ---- */
body:not(.home){position:relative;z-index:0}
body:not(.home)::before{content:"";position:absolute;left:0;right:0;top:0;height:340px;z-index:-1;pointer-events:none;
  background-image:var(--bsp-texture-subtle,none);background-size:520px 520px;background-position:center -40px;
  -webkit-mask-image:linear-gradient(#000 0,#000 45%,transparent 100%);mask-image:linear-gradient(#000 0,#000 45%,transparent 100%)}

/* ---- AA: active / hover tool pill (white text needs the deep accent) ---- */
.mm-links>a.bsp-navtool:hover,.mm-links>a.bsp-navtool.active{background:var(--amber-deep,var(--amber));border-color:var(--amber-deep,var(--amber));color:#fff}

/* ---- CTA band ---- */
.bsp-ctaband{margin:34px 0 10px}
.bsp-ctaband-in{position:relative;overflow:hidden;display:flex;gap:22px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  background-color:var(--el-deep);background-image:var(--bsp-texture-dark,none);background-size:360px 360px;color:#fff;border-radius:20px;padding:26px 28px;box-shadow:var(--shadow-sm)}
.bsp-ctaband-in::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--amber),var(--sage))}
.bsp-ctaband-copy{flex:1 1 320px;min-width:0}
.bsp-ctaband h2{font-family:'Fraunces',Georgia,serif;font-size:clamp(22px,2.4vw,28px);line-height:1.15;color:#fff;margin:10px 0 6px;border:0;padding:0}
.bsp-ctaband h2::after{display:none}
.bsp-ctaband p{margin:0;color:rgba(255,255,255,.9);font-size:15px;line-height:1.55;max-width:56ch}
.bsp-ctaband-act{display:flex;flex-direction:column;gap:10px;align-items:stretch;flex:0 0 auto}
.bsp-ctaband .bsp-cta-btn{display:inline-block;text-align:center;padding:13px 20px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none}
.bsp-ctaband-2{color:#fff !important;text-align:center;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.bsp-ctaband-form{display:flex;gap:8px;flex-wrap:wrap}.bsp-ctaband-form input{flex:1 1 200px;font:inherit;padding:12px 14px;border-radius:999px;border:0}
body.single .bsp-ctaband{max-width:720px}
.bsp-toolpage .bsp-ctaband{max-width:980px;margin:10px auto 26px;padding:0 20px}
.bsp-elpage .bsp-ctaband{max-width:none}

@media (max-width:900px){
  /* hamburger */
  .bsp-burger{display:inline-flex;flex:0 0 48px;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;margin-left:auto;padding:0 12px;border:0;border-radius:12px;background:transparent;cursor:pointer;color:var(--charcoal)}
  .bsp-burger span{display:block;height:2.5px;border-radius:2px;background:currentColor}
  .bsp-burger:focus-visible,.bsp-drawer a:focus-visible,.bsp-drawer-x:focus-visible,.bsp-tabbar a:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
  .mm-nav-inner{gap:10px}
  .mm-logo{min-width:0}
  /* drawer */
  .bsp-drawer-ov{display:block;position:fixed;inset:0;z-index:998;background:rgba(10,20,30,.5);opacity:0;transition:opacity .25s}
  .bsp-drawer-ov[hidden]{display:none}
  .bsp-drawer{display:flex;flex-direction:column;position:fixed;top:0;bottom:0;right:0;z-index:999;width:min(86vw,360px);background:var(--parchment);box-shadow:-20px 0 50px -20px rgba(0,0,0,.45);
    transform:translateX(100%);transition:transform .28s cubic-bezier(.2,.7,.2,1);overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
  .bsp-drawer[hidden]{display:none}
  .bsp-drawer.on{transform:none}.bsp-drawer-ov.on{opacity:1}
  .bsp-drawer-h{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 12px 20px;border-bottom:1px solid var(--line);background-color:var(--el-deep);background-image:var(--bsp-texture-dark,none);background-size:360px 360px;color:#fff;position:sticky;top:0}
  .bsp-drawer-t{font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:19px}
  .bsp-drawer-x{width:48px;height:48px;border:0;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-size:28px;line-height:1;cursor:pointer}
  .bsp-drawer-sec{display:flex;flex-direction:column;padding:12px 12px 4px}
  .bsp-drawer-k{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--amber-deep,var(--amber));padding:6px 10px}
  .bsp-drawer-sec a{display:flex;align-items:center;min-height:48px;padding:0 10px;border-radius:10px;font-size:16px;font-weight:600;color:var(--charcoal);text-decoration:none}
  .bsp-drawer-sec a:hover,.bsp-drawer-sec a.active{background:color-mix(in srgb,var(--bark) 8%,transparent)}
  body.bsp-lock{overflow:hidden}
  /* bottom tab bar */
  .bsp-tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;z-index:900;height:calc(var(--bsp-tab-h) + env(safe-area-inset-bottom));
    padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line);box-shadow:0 -8px 24px -16px rgba(0,0,0,.35)}
  .bsp-tabbar a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;font-size:11.5px;font-weight:600;color:color-mix(in srgb,var(--charcoal) 85%,transparent);text-decoration:none}
  .bsp-tabbar svg{width:24px;height:24px}
  .bsp-tabbar a.on{color:var(--bark)}
  .bsp-tabbar a.on::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--amber)}
  body{padding-bottom:calc(var(--bsp-tab-h) + env(safe-area-inset-bottom)) !important}
  .swh-lb{padding-bottom:calc(var(--bsp-tab-h) + 20px)}
  .bsp-ctaband-in{padding:22px 20px}.bsp-ctaband-act{flex:1 1 100%}
}
@media (max-width:620px){.mm-nav .mm-cta{display:none}}  /* the header CTA duplicates the Tool tab; keeps logo + hamburger on one row (CLS) */
:root{--bsp-texture-subtle:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22320%22 height=%22320%22 viewBox=%220 0 320 320%22%3E%3Cg opacity=%220.09%22%3E%3Cpath d=%22M0 86 L8 91 L16 96 L24 99 L32 101 L40 101 L48 100 L56 98 L64 95 L72 92 L80 88 L88 84 L96 81 L104 78 L112 75 L120 73 L128 71 L136 69 L144 68 L152 67 L160 66 L168 64 L176 62 L184 59 L192 56 L200 53 L208 50 L216 46 L224 44 L232 42 L240 40 L248 40 L256 42 L264 44 L272 48 L280 53 L288 59 L296 66 L304 73 L312 80 L320 86%22 fill=%22none%22 stroke=%22%23E8643C%22 stroke-width=%229%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M0 86 L8 91 L16 96 L24 99 L32 101 L40 101 L48 100 L56 98 L64 95 L72 92 L80 88 L88 84 L96 81 L104 78 L112 75 L120 73 L128 71 L136 69 L144 68 L152 67 L160 66 L168 64 L176 62 L184 59 L192 56 L200 53 L208 50 L216 46 L224 44 L232 42 L240 40 L248 40 L256 42 L264 44 L272 48 L280 53 L288 59 L296 66 L304 73 L312 80 L320 86%22 fill=%22none%22 stroke=%22%23F7F1E1%22 stroke-width=%221.98%22 stroke-dasharray=%224.5 8.1%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M0 234 L8 231 L16 228 L24 226 L32 224 L40 223 L48 222 L56 222 L64 221 L72 220 L80 220 L88 218 L96 217 L104 216 L112 214 L120 213 L128 211 L136 211 L144 211 L152 211 L160 213 L168 215 L176 219 L184 223 L192 228 L200 233 L208 238 L216 243 L224 247 L232 251 L240 254 L248 256 L256 256 L264 256 L272 254 L280 251 L288 248 L296 245 L304 241 L312 237 L320 234%22 fill=%22none%22 stroke=%22%23E8643C%22 stroke-width=%226%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M0 234 L8 231 L16 228 L24 226 L32 224 L40 223 L48 222 L56 222 L64 221 L72 220 L80 220 L88 218 L96 217 L104 216 L112 214 L120 213 L128 211 L136 211 L144 211 L152 211 L160 213 L168 215 L176 219 L184 223 L192 228 L200 233 L208 238 L216 243 L224 247 L232 251 L240 254 L248 256 L256 256 L264 256 L272 254 L280 251 L288 248 L296 245 L304 241 L312 237 L320 234%22 fill=%22none%22 stroke=%22%23F7F1E1%22 stroke-width=%221.32%22 stroke-dasharray=%223.0 5.4%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M250 141L252.3 147.7L259 150L252.3 152.3L250 159L247.7 152.3L241 150L247.7 147.7Z%22 fill=%22%236FA287%22/%3E%3Cpath d=%22M60 155L61.3 158.7L65 160L61.3 161.3L60 165L58.7 161.3L55 160L58.7 158.7Z%22 fill=%22%236FA287%22/%3E%3Cpath d=%22M170 284L171.6 288.4L176 290L171.6 291.6L170 296L168.4 291.6L164 290L168.4 288.4Z%22 fill=%22%236FA287%22/%3E%3Ccircle cx=%22120%22 cy=%22140%22 r=%222.4%22 fill=%22%23F7F1E1%22/%3E%3Ccircle cx=%22290%22 cy=%2220%22 r=%221.8%22 fill=%22%23F7F1E1%22/%3E%3C/g%3E%3C/svg%3E")}
