/* ==========================================================================
   BOLT VILLAGES — landing page layer (on top of bolt-design-system.css)
   Motion is deliberately quiet: short fades and small lifts, no scroll-jacking.
   ========================================================================== */

/* ---------- eyebrow label ---------- */
.bv-eyebrow { font-family: var(--ba-font-mono); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ba-bolt); }

/* ---------- hero: one gentle fade-up on load ---------- */
.bv-intro { animation: bv-fade-up 0.9s var(--ba-ease-expo) both; animation-delay: var(--d, 0ms); }
@keyframes bv-fade-up { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }

/* ---------- scroll reveal: only elements that start below the fold are hidden (set by site.js) ---------- */
.bv-reveal { transition: opacity 0.8s var(--ba-ease-expo), transform 0.8s var(--ba-ease-expo); transition-delay: var(--d, 0ms); }
.bv-reveal.is-pending { opacity: 0; transform: translate3d(0, 20px, 0); }

/* ---------- video facade (click to load YouTube) ---------- */
.bv-video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1.25rem; border: 1px solid var(--ba-line); background: var(--ba-carbon); }
.bv-video:focus-visible { outline: 2px solid var(--ba-bolt); outline-offset: 4px; }
.bv-video__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 26, 46, 0.85), rgba(14, 26, 46, 0.1) 55%); pointer-events: none; }
.bv-video__play { position: absolute; left: 50%; top: 50%; display: flex; width: 84px; height: 84px; align-items: center; justify-content: center; border-radius: 9999px; background: var(--ba-bolt); color: var(--ba-void); transform: translate(-50%, -50%); box-shadow: var(--ba-glow-lg); transition: transform var(--ba-dur-base) var(--ba-ease-expo); }
.bv-video:hover .bv-video__play { transform: translate(-50%, -50%) scale(1.06); }
.bv-video__label { position: absolute; left: 1.25rem; bottom: 1.1rem; right: 1.25rem; font-family: var(--ba-font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.bv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Montenegro feature grid ---------- */
.bv-feature { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.5rem; background: var(--ba-navy-deep); color: var(--ba-fog); transition: background-color var(--ba-dur-base) ease; }
.bv-feature iconify-icon { color: var(--ba-bolt); }
.bv-feature span { font-size: 0.9375rem; line-height: 1.4; }
.bv-feature:hover { background: var(--ba-navy); }

/* ---------- coming-soon cards ---------- */
.bv-soon { border-style: dashed; }

/* ---------- FAQ (native details, gentle open) ---------- */
.bv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font-family: var(--ba-font-display); font-size: 1.125rem; font-weight: 500; color: #fff; transition: color var(--ba-dur-base) ease; }
.bv-faq summary::-webkit-details-marker { display: none; }
.bv-faq summary::after { content: '+'; flex-shrink: 0; font-family: var(--ba-font-body); font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--ba-bolt); transition: transform var(--ba-dur-base) var(--ba-ease-expo); }
.bv-faq[open] summary::after { transform: rotate(45deg); }
.bv-faq summary:hover { color: var(--ba-bolt-hi); }
.bv-faq summary:focus-visible { outline: 2px solid var(--ba-bolt); outline-offset: 4px; border-radius: 4px; }
.bv-faq > div { padding: 0 0 1.5rem; color: var(--ba-mist); }
.bv-faq > div p + p { margin-top: 0.75rem; }
.bv-faq[open] > div { animation: bv-fade-up 0.5s var(--ba-ease-expo) both; }

/* ---------- forms ---------- */
select.ba-input { appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A3B0C6' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
select.ba-input:invalid { color: var(--ba-ash); }
select.ba-input option { background: var(--ba-carbon); color: #fff; }
.bv-form-error[hidden]:target { display: block; }
.bv-form-error { scroll-margin-top: 2rem; padding: 0.85rem 1rem; border-radius: 0.75rem; border: 1px solid rgba(230, 57, 70, 0.45); background: rgba(230, 57, 70, 0.1); color: #FF8A93; font-size: 0.875rem; }
.bv-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bv-step { display: flex; width: 2rem; height: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid rgba(var(--ba-bolt-rgb), 0.45); color: var(--ba-bolt); font-family: var(--ba-font-mono); font-size: 0.75rem; }

/* thank-you panels: shown when the server redirects to #applied / #notified (works without JavaScript) */
.bv-success { display: none; gap: 1rem; align-items: flex-start; scroll-margin-top: 2rem; }
.bv-success:target { display: flex; animation: bv-fade-up 0.6s var(--ba-ease-expo) both; }
.bv-success:target + .bv-form { display: none; }

/* ---------- placeholders still to be filled in (easy to spot, easy to grep: bv-ph) ---------- */
.bv-ph { background: rgba(var(--ba-bolt-rgb), 0.12); color: var(--ba-bolt-hi); outline: 1px dashed rgba(var(--ba-bolt-rgb), 0.6); outline-offset: 1px; border-radius: 3px; padding: 0 0.25rem; font-style: normal; }

/* small offset so anchored sections do not sit flush against the viewport edge */
section[id], #film { scroll-margin-top: 1rem; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bv-reveal.is-pending { opacity: 1; transform: none; }
}
