/* Shared approved accent layer. The current site's black, charcoal, typography and layout tokens are inherited unchanged. */
:root {
  --acid:#AEFB2A; --aqua:#57EBDE; --forest-accent:#35C99A; --star:#F4FFF9;
  --feature-gradient:linear-gradient(115deg,#57EBDE 0%,#AEFB2A 100%);
  --green-gradient:linear-gradient(115deg,#35C99A 0%,#AEFB2A 100%);
}
.promo { background:var(--feature-gradient); }
body footer.vt-site-footer #book { background:var(--feature-gradient); }
/* Sparse, faded terrain is contained below the existing content. */
.vt-accent-atmosphere { position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; contain:paint; color:var(--aqua);
  mask-image:linear-gradient(180deg,transparent,#000 20%,#000 78%,transparent);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 20%,#000 78%,transparent); }
.vt-accent-atmosphere svg { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.vt-accent-atmosphere .vt-terrain { opacity:.22; mask-image:linear-gradient(90deg,transparent 28%,#000); -webkit-mask-image:linear-gradient(90deg,transparent 28%,#000); }
.vt-accent-atmosphere .vt-topo-accent { stroke:var(--forest-accent); }
.vt-accent-atmosphere .vt-topo-highlight { stroke:var(--acid); }
#footer > .vt-accent-atmosphere .vt-terrain { opacity:.13; }
#about > .vt-accent-atmosphere .vt-terrain { display:none; }
#expeditions > .topo-field,#about > .topo-field,#footer > .topo-field { visibility:hidden; }
.vt-accent-atmosphere .vt-constellation-path { fill:none; stroke:var(--aqua); stroke-width:.65; opacity:.10; }
.vt-accent-atmosphere .vt-star { fill:var(--star); opacity:.45; }
.vt-accent-atmosphere .vt-star-aqua { fill:var(--aqua); }
.vt-accent-atmosphere .vt-star-lime { fill:var(--acid); }
.vt-accent-atmosphere .vt-glint { fill:none; stroke:var(--aqua); stroke-width:.7; }
.vt-accent-atmosphere .vt-star-twinkle { animation:vt-accent-starlight var(--twinkle-duration,18s) ease-in-out var(--twinkle-delay,-3s) infinite; }
@keyframes vt-accent-starlight { 0%,100% {opacity:var(--star-low,.14)} 17% {opacity:.32} 29% {opacity:.19} 43% {opacity:var(--star-high,.8)} 56% {opacity:.35} 71% {opacity:var(--star-low,.16)} 89% {opacity:.6} }
/* New icons and chapter breaks are decorative and take no document space. */
.vt-accent-emblem { position:absolute; z-index:2; top:18px; left:18px; width:40px; height:40px; display:grid; place-items:center; color:var(--aqua); pointer-events:none; }
.vt-accent-emblem svg { width:27px; height:27px; fill:none; stroke:currentColor; }
.vt-accent-emblem:nth-of-type(even) { color:var(--acid); }
.vt-accent-break { position:absolute; z-index:2; bottom:12px; left:50%; transform:translateX(-50%); width:min(42vw,260px); height:20px; background:var(--aqua); opacity:.35; pointer-events:none;
  mask:url('https://valhallatrek.com/wp-content/themes/valhalla-trek/assets/brand-ui/line-breakers/vt-divider-nordic-diamond.svg') center/contain no-repeat;
  -webkit-mask:url('https://valhallatrek.com/wp-content/themes/valhalla-trek/assets/brand-ui/line-breakers/vt-divider-nordic-diamond.svg') center/contain no-repeat; }
#about > .vt-accent-break { background:var(--forest-accent); }
/* Nordic corner linework follows the existing panel corners without changing its dimensions. */
#book > .vt-viking-corner { position:absolute; width:112px; height:80px; z-index:0; color:var(--black); opacity:.38; pointer-events:none; fill:none; stroke:currentColor; stroke-width:1.2; stroke-linecap:square; stroke-linejoin:miter; }
#book > .vt-viking-corner--tl { top:12px; left:12px; }
#book > .vt-viking-corner--br { bottom:12px; right:12px; transform:rotate(180deg); }
#book > .inner { position:relative; z-index:1; }
@media(max-width:860px) {
  .vt-accent-atmosphere .vt-terrain { width:1100px; height:800px; left:auto; right:-260px; opacity:.13; }
  .vt-accent-atmosphere .vt-constellations { width:700px; height:444px; left:auto; right:-120px; top:40px; }
  #book > .vt-viking-corner { width:64px; height:46px; opacity:.28; }
  #book > .vt-viking-corner--tl { top:8px; left:8px; }
  #book > .vt-viking-corner--br { bottom:8px; right:8px; }
}
@media(prefers-reduced-motion:reduce) { .vt-accent-atmosphere .vt-star-twinkle { animation:none; opacity:.45; } }
/* Photography stays clear; only the decorative layer fades across the image side. */
.vt-route-finale > .vt-accent-atmosphere {
  mask-image:linear-gradient(180deg,transparent,#000 20%,#000 78%,transparent),linear-gradient(90deg,#000 0%,#000 24%,rgba(0,0,0,.18) 60%,rgba(0,0,0,.08) 100%);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 20%,#000 78%,transparent),linear-gradient(90deg,#000 0%,#000 24%,rgba(0,0,0,.18) 60%,rgba(0,0,0,.08) 100%);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
}
body #main .blend:has(> .bg img) > .topo-field { opacity:.06; }
@media(max-width:900px) {
  .vt-route-finale > .vt-accent-atmosphere { opacity:.25; }
}
@media print { .vt-accent-atmosphere,.vt-accent-emblem,.vt-accent-break,.vt-viking-corner { display:none; } }

/* Isolate only the chosen editorial backgrounds. Text, controls and grids retain their geometry. */
.vt-accent-surface { position:relative; isolation:isolate; }
.vt-accent-surface > .vt-accent-atmosphere { z-index:-1; }
.vt-accent-atmosphere--stars .vt-terrain { display:none; }
.vt-accent-atmosphere.vt-accent-paused .vt-star-twinkle { animation-play-state:paused; }
.vt-accent-surface > .vt-accent-atmosphere .vt-terrain { opacity:.14; }
.vt-accent-atmosphere .vt-terrain--secondary { opacity:.085; color:var(--forest-accent); mask-image:linear-gradient(90deg,#000,transparent 50%); -webkit-mask-image:linear-gradient(90deg,#000,transparent 50%); }
.vt-accent-surface > .vt-accent-atmosphere .vt-terrain--secondary,#footer > .vt-accent-atmosphere .vt-terrain--secondary { opacity:.065; }
.vt-accent-surface > .vt-accent-atmosphere .vt-constellations { opacity:.75; }
.va-page .va-story.vt-accent-surface::before { opacity:0; }
.vt-accent-heading { position:relative; }
.vt-accent-heading::before { content:""; position:absolute; top:-24px; left:0; width:60px; height:14px; background:var(--aqua); opacity:.7; pointer-events:none;
  mask:url('../brand-ui/eyebrows/vt-eyebrow-mountain-ridge.svg') left center/contain no-repeat;
  -webkit-mask:url('../brand-ui/eyebrows/vt-eyebrow-mountain-ridge.svg') left center/contain no-repeat; }
.vt-accent-surface > .vt-accent-break { bottom:8px; height:16px; opacity:.28; }
@media(max-width:860px) { .vt-accent-surface > .vt-accent-atmosphere .vt-terrain { opacity:.11; } .vt-accent-atmosphere .vt-terrain--secondary { display:none; } }
