/* Bendixen's dance-book motif, concise orientation and page wayfinding. */
.bd-home-orientation{margin:calc(-1 * var(--space-3)) 0 var(--space-5);border-bottom:1px solid var(--line)}
.bd-home-orientation>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) 0;min-height:44px;font-size:var(--text-small);font-weight:var(--weight-control);color:var(--muted);border-radius:var(--radius-small)}
.bd-home-orientation>summary:hover{color:var(--ink)}
.bd-home-orientation>summary:focus-visible{outline:3px solid var(--bd-focus);outline-offset:3px}
.bd-home-orientation>summary svg{flex:none;transition:transform var(--motion-fast)}
.bd-home-orientation[open]>summary{color:var(--ink)}
.bd-home-orientation[open]>summary svg{transform:rotate(180deg)}
.bd-home-orientation-content{display:flex;align-items:center;justify-content:space-between;gap:var(--space-5);padding-bottom:var(--space-4)}
.bd-home-orientation-content>p{margin:0;max-width:48ch;font-size:var(--text-small);line-height:var(--leading-body)}
.bd-home-orientation-content nav{display:flex;flex-wrap:wrap;gap:var(--space-2);flex:none}
.bd-site .bd-home-orientation-content a{display:inline-flex;align-items:center;min-height:44px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-control);font-size:var(--text-small);font-weight:var(--weight-control);color:var(--ink);background:var(--wash);text-decoration:none;transition:background var(--motion-fast),color var(--motion-fast)}
.bd-site .bd-home-orientation-content a:is(:hover,[aria-current="location"]){background:color-mix(in srgb,var(--accent) 9%,var(--paper));color:var(--accent)}
/* Mounted inside the existing header: its width follows the menu exactly. */
.bd-reading-progress{position:absolute;inset-inline:0;bottom:0;height:3px;overflow:hidden;border-radius:0 0 var(--radius-card) var(--radius-card);pointer-events:none;visibility:hidden}
.site-header.is-scrolled .bd-reading-progress{visibility:visible}
.bd-reading-progress>span{display:block;height:100%;background:var(--bd-action);transform:scaleX(var(--bd-read-progress,0));transform-origin:left center}
/* A single typographic entrance when a slide is shown. Content stays visible without JS. */
.homepage-hero [data-hero-slide]:not([hidden]) .hero-title-line{animation:bd-title-enter .52s var(--bd-ease-out) both}
.homepage-hero [data-hero-slide]:not([hidden]) .hero-title-line:nth-child(n+2){animation-delay:.07s}
.bd-page-hero h1{animation:bd-title-enter .52s var(--bd-ease-out) both}
@keyframes bd-title-enter{from{opacity:.65;transform:translateY(.16em)}to{opacity:1;transform:translateY(0)}}
.homepage-hero [data-hero-slide]:not([hidden]) .hero-photo{animation:bd-photo-enter .8s var(--bd-ease-out) both}
@keyframes bd-photo-enter{from{transform:scale(1.025)}to{transform:scale(1)}}
.front-page .flex-tabpanel:not([hidden]){animation:bd-panel-enter var(--bd-duration-normal) var(--bd-ease-out) both}
@keyframes bd-panel-enter{from{opacity:.8;transform:translateY(.3rem)}to{opacity:1;transform:translateY(0)}}
/* A quiet open dance floor behind the community's copy: ownable, handmade form + UI. */
.bd-dance-community .community-copy{position:relative;isolation:isolate}
.bd-dance-canvas{position:absolute;inset:-10% -3%;width:106%;height:120%;z-index:-1;pointer-events:none;color:var(--bd-category-voksne,var(--accent))}
.bd-dance-canvas-grid{opacity:.12}
.bd-dance-canvas-path{stroke:currentColor;stroke-width:2;stroke-dasharray:5 10;opacity:.14}
.bd-dance-canvas-steps{fill:currentColor;opacity:.07}
.bd-dance-community .community-copy h2{width:fit-content;max-width:100%;position:relative}
.bd-dance-community .community-copy h2::after{content:'';display:block;width:clamp(3rem,8vw,5rem);height:5px;margin-top:var(--space-4);border-radius:var(--radius-small);background:var(--bd-category-voksne,var(--accent))}
@media(max-width:1080px){.bd-home-orientation-content{align-items:flex-start;flex-direction:column;gap:var(--space-3)}.bd-home-orientation-content>p{max-width:65ch}}
@media(max-width:620px){.bd-home-orientation-content nav{flex:none;width:100%;display:grid;grid-template-columns:1fr 1fr}.bd-home-orientation-content a{justify-content:center}.bd-dance-canvas{inset:0;width:100%;height:100%}}
@media(prefers-reduced-motion:reduce){.homepage-hero [data-hero-slide]:not([hidden]) :is(.hero-title-line,.hero-photo),.front-page .flex-tabpanel:not([hidden]),.bd-page-hero h1{animation:none}.bd-home-orientation>summary svg,.bd-home-orientation-content a{transition:none}}
