/* ============================================================
   BYC 2026 - Sierra Map showcase page (/sierra-map/, sierra-map-2026.php).
   Loads on top of byc-product.css (tokens, fonts, .btn, .frame, .faq,
   .crumbs, .eyebrow) + byc-indicator.css + byc-chrome.css (nav/footer).
   No buy rail on this page (owner 2026-12-02): centered hero, wide video
   stage, sticky buy bar, plan cards. Behaviour in byc-sierra-map.js.
   Selectors start with .sm so they beat the global
   body.byc-2026 p / h1-h6 {margin:0} reset (0,1,2) and section{padding}.
   ============================================================ */

/* ---- sections ---- */
.sm .sm-sec{padding:104px 0 0}
.sm .sm-sec:last-child{padding-bottom:96px}
.sm .sm-head{max-width:640px;margin:0 0 40px}
.sm .sm-head.center{margin-left:auto;margin-right:auto;text-align:center}
.sm .sm-head .eyebrow{margin-bottom:16px}
.sm .sm-head h2,.sm .sm-split-txt h2{font-size:clamp(26px,3.4vw,38px);font-weight:800;letter-spacing:-.025em;line-height:1.08}
.sm .sm-head p,.sm .sm-split-txt p{color:var(--text-muted);font-size:clamp(15px,1.3vw,17px);line-height:1.65;margin-top:14px}

/* ---- hero ---- */
.sm .sm-hero{padding:0}
.sm .sm-hero .crumbs{padding-top:24px}
.sm-hero-txt{max-width:780px;margin:40px auto 0;text-align:center;display:flex;flex-direction:column;align-items:center}
.sm .sm-hero-txt h1{font-size:clamp(36px,6vw,68px);font-weight:800;letter-spacing:-.035em;line-height:1.02;margin-top:20px}
.sm .sm-lede{color:var(--text-muted);font-size:clamp(16px,1.5vw,19px);line-height:1.55;max-width:56ch;margin-top:20px}
.sm-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px}
.sm-ctas .btn{height:50px;padding:0 26px;font-size:15px}
.sm .sm-micro{font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--text-faint);margin-top:16px}

/* video stage: wider than the text column, framed like a chart window */
.sm-stage-wrap{max-width:1320px;margin:48px auto 0;padding:0 24px}
.sm-stage{margin:0;position:relative}
.sm-stage::before{content:"";position:absolute;inset:8% 6% -4%;z-index:0;pointer-events:none;
  background:radial-gradient(60% 60% at 50% 50%,rgba(var(--accent-rgb),.16),transparent 70%);filter:blur(40px)}
.sm-screen{position:relative;z-index:1;aspect-ratio:16/9;border:1px solid var(--line-strong);border-radius:10px;
  overflow:hidden;background:#07070a;box-shadow:0 30px 80px rgba(0,0,0,.55)}
.sm-still,.sm-loop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sm-loop{opacity:0;transition:opacity .4s ease}
.sm-stage.is-on .sm-loop{opacity:1}
.sm .sm-play{position:absolute;right:14px;bottom:14px;z-index:2;width:40px;height:40px;min-height:0;padding:0;margin:0;line-height:1;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);background:rgba(10,10,12,.6);backdrop-filter:blur(6px);color:#fff;
  display:grid;place-items:center;cursor:pointer;transition:.16s}
.sm .sm-play:hover{background:rgba(10,10,12,.85);border-color:rgba(255,255,255,.5)}
.sm-play svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sm-play .i-play{fill:currentColor;stroke:none}
.sm-play .i-play,.sm-stage.is-paused .sm-play .i-pause{display:none}
.sm-stage.is-paused .sm-play .i-play{display:block}
/* full screen: the whole stage (video + chapters) fills the screen, video letterboxed, chapters stay usable */
.sm .sm-fs{position:absolute;right:64px;bottom:14px;z-index:2;width:40px;height:40px;min-height:0;padding:0;margin:0;line-height:1;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);background:rgba(10,10,12,.6);backdrop-filter:blur(6px);color:#fff;
  display:grid;place-items:center;cursor:pointer;transition:.16s}
.sm .sm-fs[hidden]{display:none}
.sm .sm-fs:hover{background:rgba(10,10,12,.85);border-color:rgba(255,255,255,.5)}
.sm .sm-play:focus-visible,.sm .sm-fs:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sm-fs svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sm-fs .c,.sm-stage.is-fs .sm-fs .o{display:none}
.sm-stage.is-fs .sm-fs .c{display:block}
.sm-stage.is-fs{display:flex;flex-direction:column;justify-content:center;gap:14px;width:100%;height:100%;padding:16px 24px 20px;background:#07070a;box-sizing:border-box}
.sm-stage.is-fs::before{display:none}
.sm-stage.is-fs .sm-screen{flex:1 1 auto;min-height:0;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none}
.sm-stage.is-fs .sm-still,.sm-stage.is-fs .sm-loop{object-fit:contain}
.sm-stage.is-fs .sm-chapters{margin-top:0;flex:0 0 auto}

/* chapters: one progress bar + caption per shot (story style), click to jump */
.sm-chapters{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:10px;position:relative;z-index:1}
.sm-chapters button{all:unset;cursor:pointer;display:flex;flex-direction:column;gap:10px;width:100%}
.sm-chapters button:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:2px}
.sm-bar-t{display:block;height:2px;background:rgba(255,255,255,.12);border-radius:2px;overflow:hidden}
.sm-bar-t i{display:block;height:100%;width:0;background:var(--text);transform-origin:left}
.sm-ch{font-family:var(--mono);font-size:12px;letter-spacing:.04em;line-height:1.45;color:var(--text-faint);transition:color .2s}
.sm-chapters button:hover .sm-ch{color:var(--text-muted)}
.sm-chapters li.on .sm-ch{color:var(--text)}
.sm-chapters li.on .sm-bar-t i{background:var(--accent)}
@media(max-width:760px){
  .sm-chapters{gap:6px}
  .sm-ch{display:none}
  .sm-chapters li.on .sm-ch{display:block;position:absolute;left:0;right:0;top:14px;text-align:center}
  .sm-chapters{padding-bottom:30px}
}

/* ---- static vs dynamic compare: byc-compare.css (shared with blog posts) ---- */

/* ---- study blocks: text + media side by side ---- */
.sm-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.sm-split.rev .sm-split-txt{order:2}
.sm .sm-split-txt .eyebrow{margin-bottom:16px}
.sm-pts{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.sm-pts li{position:relative;padding-left:18px;color:var(--text);font-size:15px;line-height:1.5}
.sm-pts li::before{content:"";position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.sm-split-media .frame .shot img,.sm-split-media video{display:block;width:100%;height:auto}
.sm-split.media-first{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:start}
.sm-kick{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-dim)}
.sm .sm-split-txt h3{font-size:clamp(22px,2.4vw,28px);font-weight:800;letter-spacing:-.02em;line-height:1.15;margin-top:12px}
@media(max-width:900px){
  .sm-split,.sm-split.media-first{grid-template-columns:1fr;gap:28px}
  .sm-split.rev .sm-split-txt{order:0}
}

/* ---- feature tabs (Heatmap / Volume / Order flow) ----
   Without JS: tab row hidden, panes stacked. With JS (.is-tabs): all panes share one grid
   cell, so the box is as tall as the tallest pane and switching never moves the page. */
.sm-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 36px;overflow-x:auto;scrollbar-width:none}
.sm-tabs[hidden]{display:none}
.sm .sm-tabs button{all:unset;cursor:pointer;flex:none;position:relative;padding:14px 18px 16px;font-family:var(--mono);font-size:13px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--text-faint);transition:color .2s}
.sm .sm-tabs button:hover{color:var(--text-muted)}
.sm .sm-tabs button[aria-selected="true"]{color:var(--text)}
.sm-tabs button::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:var(--accent);
  transform:scaleX(0);transition:transform .25s ease}
.sm-tabs button[aria-selected="true"]::after{transform:none}
.sm-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:2px}
.sm-panes{display:flex;flex-direction:column;gap:72px}
/* tabs: only the open pane takes space (no empty gap under a shorter tab), it fades in */
.sm-panes.is-tabs .sm-pane.off{display:none}
.sm-panes.is-tabs .sm-pane:not(.off){animation:sm-pane-in .35s ease}
@keyframes sm-pane-in{from{opacity:0}to{opacity:1}}
/* one tab = full-width chart picture (same width and shape as the slider and gallery below), the text under it:
   heading and paragraph left, points right */
.sm-feat-media .frame .shot img,.sm-feat-media video{display:block;width:100%;height:auto}
.sm-feat-txt{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:56px;margin-top:36px;align-items:start}
.sm .sm-feat-main h3{font-size:clamp(22px,2.4vw,28px);font-weight:800;letter-spacing:-.02em;line-height:1.15;margin-top:12px}
.sm .sm-feat-main p{color:var(--text-muted);font-size:clamp(15px,1.3vw,17px);line-height:1.65;margin-top:14px}
.sm-feat-txt .sm-pts{margin-top:30px}
@media(max-width:900px){.sm-feat-txt{grid-template-columns:1fr;gap:0;margin-top:28px}.sm-feat-txt .sm-pts{margin-top:22px}}
@media(max-width:640px){.sm .sm-tabs button{padding:12px 12px 14px;font-size:12px;letter-spacing:.1em}}

/* ---- one platform cards ---- */
.sm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sm-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:28px 26px}
.sm-card-n{font-family:var(--mono);font-size:12px;color:var(--accent-dim);letter-spacing:.1em}
.sm .sm-card h3{font-size:19px;font-weight:700;letter-spacing:-.01em;margin-top:18px}
.sm .sm-card p{color:var(--text-muted);font-size:15px;line-height:1.6;margin-top:10px}
@media(max-width:860px){.sm-cards{grid-template-columns:1fr}}

/* ---- gallery ---- */
.sm-gal{display:grid;grid-template-columns:1fr 1fr;gap:28px 20px}
.sm-gal figure{margin:0;min-width:0}
.sm-gal figure.wide{grid-column:1/-1}
.sm-gal .sm-cmp-wrap+figcaption{margin-top:12px}
.sm-gal figcaption{font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-faint);margin-top:12px}
.sm-gal .frame .shot img{display:block;width:100%;height:auto}
@media(max-width:640px){.sm-gal{grid-template-columns:1fr}}

/* ---- pricing ---- */
.sm-plans{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:820px;margin:0 auto}
.sm-plans.one{grid-template-columns:1fr;max-width:420px}
.sm-plan{border:1px solid var(--line-strong);background:var(--surface);border-radius:10px;padding:30px 28px;display:flex;flex-direction:column}
/* calm pricing (owner 2026-12-05): no accent frame or glow, smaller figures, the free trial carries the one white button */
.sm-plan.best{border-color:var(--line-strong)}
.sm-plan-h{min-height:24px;font-family:var(--mono);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-muted);
  display:flex;align-items:center;justify-content:space-between;gap:10px}
.sm-tag{font-size:11px;letter-spacing:.1em;color:var(--text-muted);border:1px solid var(--line-strong);border-radius:4px;padding:3px 8px}
.sm-plan-p{display:flex;align-items:baseline;gap:8px;margin-top:18px}
.sm-plan-p .amt{font-family:var(--mono);font-size:30px;font-weight:600;letter-spacing:-.02em;line-height:1}
.sm-plan-p .per{font-family:var(--mono);font-size:14px;color:var(--text-muted)}
.sm .sm-plan-s{font-family:var(--mono);font-size:12px;letter-spacing:.03em;line-height:1.6;color:var(--text-muted);margin:12px 0 26px;flex:1}
.sm-plan .btn{width:100%;height:44px;font-size:14px}
.sm-trial{max-width:820px;margin:16px auto 0;border:1px dashed var(--line-strong);border-radius:10px;padding:22px 26px;
  display:flex;align-items:center;justify-content:space-between;gap:20px}
.sm-trial-h{font-weight:700;font-size:16px}
.sm .sm-trial p{color:var(--text-muted);font-size:14px;line-height:1.55;margin-top:4px}
.sm-trial .btn{flex:none}
.sm .sm-fine{text-align:center;font-family:var(--mono);font-size:12px;letter-spacing:.05em;color:var(--text-faint);margin-top:22px}
.sm .sm-fine a{color:var(--text-muted);text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
  .sm-plans{grid-template-columns:1fr}
  .sm-trial{flex-direction:column;align-items:stretch;text-align:left}
}

/* ---- requirements + faq ---- */
.sm-faqgrid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:56px;align-items:start}
.sm-req{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.sm-req li{position:relative;padding-left:18px;color:var(--text-muted);font-size:15px;line-height:1.6}
.sm-req li::before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:var(--text-faint)}
.sm-req b{color:var(--text);font-weight:600}
.sm-req a{color:var(--accent-dim)}
@media(max-width:900px){.sm-faqgrid{grid-template-columns:1fr;gap:64px}}

/* ---- sticky buy bar ---- */
.sm-buybar{position:fixed;left:0;right:0;top:var(--sm-nav,64px);z-index:49;background:rgba(13,13,15,.86);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line);
  transform:translateY(-120%);opacity:0;transition:transform .28s ease,opacity .28s ease;pointer-events:none}
.sm-buybar.on{transform:none;opacity:1;pointer-events:auto}
.sm-buybar-in{display:flex;align-items:center;gap:14px;height:60px}
.sm-buybar-name{font-weight:700;font-size:15px}
.sm-buybar-price{font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--text-muted);margin-right:auto}
.sm-buybar .btn{height:38px;padding:0 16px;font-size:13px}
@media(max-width:640px){
  .sm-buybar{top:auto;bottom:0;border-bottom:0;border-top:1px solid var(--line);transform:translateY(120%);
    padding-bottom:env(safe-area-inset-bottom)}
  .sm-buybar-in{height:64px;gap:10px}
  .sm-buybar-name,.sm-buybar .btn-ghost{display:none}
  .sm-buybar .btn-primary{margin-left:auto}
  /* Astra's back-to-top button moves up while the bar is showing, so it never covers the trial button */
  body.byc-2026:has(.sm-buybar.on) #ast-scroll-top{bottom:calc(80px + env(safe-area-inset-bottom)) !important}
}

/* ---- small screens ---- */
@media(max-width:640px){
  .sm .sm-sec{padding-top:76px}
  .sm-hero-txt{margin-top:28px}
  .sm-stage-wrap{margin-top:36px;padding:0 16px}
  .sm-screen{border-radius:8px}
  .sm-ctas .btn{flex:1 1 auto}
}
@media(prefers-reduced-motion:reduce){
  .sm-loop,.sm-buybar,.sm-panes.is-tabs .sm-pane,.sm-tabs button::after{transition:none}
  .sm-panes.is-tabs .sm-pane:not(.off){animation:none}
}
