/* v11 — "Ideer fra gulvet" vision band (home) + compliance fold (services).
   Reversible layer: remove this file and the #vision section / <details> wrapper. */

/* ---------- Vision band (dark graphite, amber accents) ---------- */
body.site.home main section.band.band--vision {
    background:
        radial-gradient(ellipse 55% 70% at 12% 20%, rgba(240, 161, 58, 0.12), transparent 70%),
        linear-gradient(180deg, #111418, #161b21);
    color: #ece6d9;
    overflow: hidden;
}
body.site.home .band--vision h2 { color: #fff; max-width: 22ch; }
body.site.home .band--vision .band-lead { color: #cfc8b9; max-width: 60ch; }
body.site.home .band--vision .rev { color: #f0a13a; }

.vx-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}
.vx-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.4rem 1.25rem 1.5rem;
    background: rgba(243, 239, 230, 0.04);
    border: 1px solid rgba(243, 239, 230, 0.12);
    border-top: 2px solid #f0a13a;
    border-radius: 6px;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.vx-card:hover {
    border-color: rgba(240, 161, 58, 0.55);
    background: rgba(243, 239, 230, 0.06);
    transform: translateY(-2px);
}
.vx-card svg { width: 40px; height: 40px; color: #ece6d9; }
.vx-badge {
    align-self: flex-start;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    border: 1px solid currentColor;
}
.vx-badge--future { color: #c4b5fd; }
.vx-badge--proto { color: #f0a13a; }
.vx-badge--live { color: #34d399; }
.vx-badge--offer { color: #7dd3fc; }
body.site.home .band--vision .vx-card h3 {
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.3;
    margin: 0.2rem 0 0;
}
.vx-card p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: #b9b2a3; }

.vx-actions { margin-top: 2rem; }
body.site.home .band--vision .vx-actions .btn-primary {
    background: #f0a13a;
    border-color: #f0a13a;
    color: #111418;
}
body.site.home .band--vision .vx-actions .btn-primary:hover { background: #ffb85a; border-color: #ffb85a; }

@media (max-width: 1024px) {
    .vx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .vx-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .vx-card, .vx-card:hover { transition: none; transform: none; }
}

/* ---------- Services: compliance comparison folded ---------- */
.vx-fold { margin-top: 1.75rem; }
.vx-fold > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 44px;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    padding: 0.6rem 1.2rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brass);
    border: 1px solid var(--rule-strong);
    border-radius: 4px;
    text-align: center;
}
.vx-fold > summary::-webkit-details-marker { display: none; }
.vx-fold > summary::after {
    content: "+";
    font-size: 1.1rem;
    line-height: 1;
}
.vx-fold[open] > summary::after { content: "−"; }
.vx-fold > summary:hover,
.vx-fold > summary:focus-visible { border-color: var(--brass); }

/* ---------- QA v11: focus visibility + touch targets ---------- */
body.site.home #featured .featured-card:focus-visible {
    outline: 2px solid #9a4a08;
    outline-offset: 3px;
}
body.site.home .band--vision :focus-visible,
body.site.home .band--showcase :focus-visible,
body.site.home .band--own :focus-visible {
    outline: 2px solid #f0a13a;
    outline-offset: 3px;
}
@media (max-width: 600px) {
    body.site .bx-chips a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
