/* Look "bands+": "bands" (theme-bands.css applies via [data-theme^=bands]) plus a section nav, an isometric-grid header,
   section kickers, a key-number strip and a gentle reveal on scroll. Active with <html data-theme="bands2">. */
[data-theme=bands2]{--isogrid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='88'%3E%3Cpath d='M6 14h100v30h-100zM11 14v-6h15v6M36 14v-6h15v6M61 14v-6h15v6M86 14v-6h15v6M-50.0 58.0h100v30h-100zM-45 58.0v-6h15v6M-20 58.0v-6h15v6M5 58.0v-6h15v6M30 58.0v-6h15v6M62.0 58.0h100v30h-100zM67 58.0v-6h15v6M92 58.0v-6h15v6M117 58.0v-6h15v6M142 58.0v-6h15v6' fill='none' stroke='%230072B2' stroke-opacity='.17' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* header: tiled LEGO brick outlines (side view, studs up, staggered like a wall), clearing towards the title; the name in "ours" blue */
[data-theme=bands2] .hero{padding-top:76px;padding-bottom:60px;isolation:isolate}
[data-theme=bands2] .hero::after{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);z-index:-1;background-image:var(--isogrid);background-position:center top;
  -webkit-mask-image:radial-gradient(ellipse 60% 75% at 50% 45%,transparent 35%,#000 85%);mask-image:radial-gradient(ellipse 60% 75% at 50% 45%,transparent 35%,#000 85%)}
[data-theme=bands2] h1{font-weight:700;letter-spacing:-.015em}
[data-theme=bands2] h1 .name{color:var(--con)}
[data-theme=bands2] .btn{transition:transform .15s,background .15s}
[data-theme=bands2] .btn:not([aria-disabled=true]):hover{transform:translateY(-2px)}

/* section nav */
[data-theme=bands2] .secnav{display:flex;align-items:center;justify-content:space-between;gap:16px;position:fixed;top:0;left:0;right:0;z-index:40;height:50px;padding:0 max(var(--gut),calc(50% - 640px));
  background:#ffffffd9;-webkit-backdrop-filter:saturate(1.6) blur(10px);backdrop-filter:saturate(1.6) blur(10px);border-bottom:1px solid #e4e6eb;
  transform:translateY(-100%);transition:transform .3s ease;font-size:15px}
[data-theme=bands2] .secnav.show{transform:none}
[data-theme=bands2] .secnav a{color:var(--ink2);text-decoration:none}
[data-theme=bands2] .secnav .brand{font-weight:700;color:var(--ink)}
[data-theme=bands2] .secnav div{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
[data-theme=bands2] .secnav div a{padding:6px 12px;border-radius:999px;white-space:nowrap;transition:background .15s,color .15s}
[data-theme=bands2] .secnav div a:hover{background:#f0f2f6;color:var(--ink)}
[data-theme=bands2] .secnav div a.on{background:#e6f0f8;color:var(--con);font-weight:600}
[data-theme=bands2] main>section{scroll-margin-top:50px}
@media (max-width:640px){[data-theme=bands2] .secnav .brand{display:none}}

/* section kickers above the headings */
[data-theme=bands2] h2{font-weight:700;font-size:clamp(34px,1.5vw + 20px,52px);letter-spacing:-.022em;line-height:1.1;margin-bottom:34px}
[data-theme=bands2] h2::after{width:88px;height:5px;margin-top:18px;border-radius:3px}
[data-theme=bands2] h2::before{display:block;margin-bottom:10px;font:600 14px/1.2 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--con)}
[data-theme=bands2] #abstract h2::before{content:"Overview"}
[data-theme=bands2] #video h2::before{content:"Watch"}
[data-theme=bands2] #method h2::before{content:"Method, step by step"}
[data-theme=bands2] #explore h2::before{content:"Interactive"}
[data-theme=bands2] #bibtex h2::before{content:"Cite"}

/* key numbers, editorial: big figures separated by hairlines */
[data-theme=bands2] .stats{display:grid;grid-template-columns:repeat(3,1fr);margin:30px 0 32px;border-top:1px solid #dde1e8;border-bottom:1px solid #dde1e8}
[data-theme=bands2] .stats div{padding:20px 18px 18px;text-align:center}
[data-theme=bands2] .stats div+div{border-left:1px solid #dde1e8}
[data-theme=bands2] .stats b{display:block;font-weight:700;font-size:clamp(28px,2.2vw,38px);line-height:1.1;letter-spacing:-.02em;color:var(--con);font-variant-numeric:tabular-nums}
[data-theme=bands2] .stats b i{font-style:normal;color:var(--unc);font-weight:600}
[data-theme=bands2] .stats span{display:block;margin-top:6px;font-size:.78em;color:var(--mute)}
@media (max-width:700px){[data-theme=bands2] .stats{grid-template-columns:1fr}[data-theme=bands2] .stats div+div{border-left:0;border-top:1px solid #dde1e8}}

/* gentle reveal: a section's content rises in the first time it scrolls into view */
@media (prefers-reduced-motion:no-preference){
  [data-theme=bands2] main>section>*{opacity:0;transform:translateY(36px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.7,.3,1)}
  [data-theme=bands2] main>section.in>*{opacity:1;transform:none}
  [data-theme=bands2] main>section.in>*:nth-child(2){transition-delay:.12s}
  [data-theme=bands2] main>section.in>*:nth-child(3){transition-delay:.24s}
}
