/* Prosjekter (prosjekter.html, prosjekt-vis.html, forsiden og produktsiden) – 4.12.2026, data fra Wix CMS (js/prosjekter-data.js) */
:root { --glass: rgba(255,255,255,.08); --glass-line: rgba(255,255,255,.18); --pj-ease: cubic-bezier(.2,.7,.2,1);
  /* 4.12.2026 kl. 13: gull og dyp blå som Min side (css/portal.css «Gå ombord», css/nivaa.css nivåkortet) i stedet for oransje – bare prosjekt-delene */
  --pj-gold-edge: linear-gradient(120deg, #F6E2AE 0%, #D4AF5F 45%, #A8822E 70%, #F1D58E 100%);
  --pj-gold-fill: linear-gradient(180deg, #F9EAC2 0%, #EDD08A 45%, #D9B66A 100%);
  --pj-ring: 0 0 0 2px #0E2242, 0 0 0 4px #E8C77A; }
html.pj-lock { overflow: hidden; }
.pj-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 16px; font: 600 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #E8C77A; }

/* ---------- category badge ---------- */
.pj-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 600 .76rem/1 var(--body); letter-spacing: .03em; color: #F7F1E3; background: rgba(14,34,66,.62); box-shadow: inset 0 0 0 1px rgba(232,199,122,.55), 0 4px 14px -6px rgba(8,23,48,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pj-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(180deg, #5B8CFF, #2B5FD9); box-shadow: 0 0 0 2px rgba(91,140,255,.22), 0 0 8px rgba(91,140,255,.7); }
.pj-k-utvikling::before { background: linear-gradient(180deg, #F6E2AE, #D4AF5F); box-shadow: 0 0 0 2px rgba(232,199,122,.22), 0 0 8px rgba(232,199,122,.7); }
.pj-k-industri::before { background: #F7F1E3; box-shadow: 0 0 0 2px rgba(247,241,227,.2), 0 0 8px rgba(247,241,227,.6); }

/* ---------- project card: the picture fills, text on a glass panel ---------- */
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(330px, auto); gap: 22px; }
.pj-card { position: relative; display: block; min-height: 380px; border-radius: 18px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: var(--navy-deep); box-shadow: 0 18px 40px rgba(8,23,48,.18); transition: transform .35s var(--pj-ease), box-shadow .35s; }
.pj-card.feat { grid-column: span 2; grid-row: span 2; min-height: 680px; }
.pj-card-media, .pj-card-media picture { position: absolute; inset: 0; }
.pj-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--pj-ease), filter .4s; }
.pj-card.lys .pj-card-media { background: radial-gradient(90% 80% at 60% 30%, #fff 0%, #E8EFF6 70%); }
.pj-card.lys .pj-card-media img { object-fit: contain; padding: 6% 6% 34%; }
.pj-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8,23,48,0) 35%, rgba(8,23,48,.55) 70%, rgba(8,23,48,.85) 100%); pointer-events: none; }
.pj-card.lys::after { background: linear-gradient(180deg, rgba(8,23,48,0) 50%, rgba(8,23,48,.35) 100%); }
.pj-card .pj-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.pj-card-glass { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: grid; gap: 6px; padding: 18px 20px 16px; border-radius: 14px; background: rgba(10,28,56,.52); box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 rgba(246,226,174,.28), 0 10px 30px rgba(0,0,0,.18); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); transition: background .3s; }
.pj-card-eyebrow { font: 600 .74rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: #F1D58E; }
.pj-card-h { margin: 0; color: #fff; font-size: 1.32rem; line-height: 1.18; }
.pj-card.feat .pj-card-h { font-size: clamp(1.5rem, 2.4vw, 2.1rem); max-width: 24ch; }
.pj-card-foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(232,199,122,.3); font-size: .92rem; color: #DCE7F3; }
.pj-card-k small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #93A9C4; }
.pj-go { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #F7F1E3; }
.pj-go::after { content: ""; width: 30px; height: 30px; border-radius: 50%; border: 1px solid transparent; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%230E2242' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat, var(--pj-gold-fill) padding-box, var(--pj-gold-edge) border-box; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 16px -6px rgba(232,199,122,.6); transition: transform .3s var(--pj-ease), box-shadow .3s; }
.pj-card:hover, .pj-card:focus-visible { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(8,23,48,.32), 0 0 0 1px rgba(232,199,122,.9), 0 0 32px -6px rgba(232,199,122,.45); color: #fff; }
.pj-card:focus-visible { outline: 2px solid #E8C77A; outline-offset: 3px; }
.pj-card:hover .pj-card-media img, .pj-card:focus-visible .pj-card-media img { transform: scale(1.05); filter: saturate(1.08); }
.pj-card:hover .pj-go::after { transform: translateX(4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 4px rgba(232,199,122,.18), 0 8px 22px -6px rgba(232,199,122,.8); }
.pj-card:hover .pj-card-glass { background: rgba(10,28,56,.62); }
.pj-card[hidden] { display: none; }
@media (max-width: 980px) { .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pj-card.feat { grid-row: auto; min-height: 460px; } }
@media (max-width: 680px) { .pj-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .pj-card, .pj-card.feat { grid-column: auto; min-height: 440px; } .pj-card-glass { padding: 16px; } .pj-card-h { font-size: 1.2rem; } }

/* ---------- overview hero ---------- */
.pj-hero { position: relative; overflow: hidden; color: #fff; background: var(--abyss); }
.pj-hero-bg { position: absolute; inset: 0; }
.pj-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .55; transform: scale(1.04); animation: pj-drift 24s ease-in-out infinite alternate; }
@keyframes pj-drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.pj-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8,23,48,.96) 0%, rgba(14,34,66,.84) 42%, rgba(14,34,66,.35) 100%), radial-gradient(60% 60% at 85% 10%, rgba(43,95,217,.38), transparent 70%), radial-gradient(40% 50% at 12% 100%, rgba(232,199,122,.14), transparent 70%); }
.pj-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask: linear-gradient(90deg, #000, transparent 70%); mask: linear-gradient(90deg, #000, transparent 70%); pointer-events: none; }
.pj-hero .wrap { position: relative; z-index: 2; padding-top: 104px; padding-bottom: 132px; }
.pj-hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.pj-hero .lede { color: #D3E0EE; font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 46ch; margin: 0; }
.pj-hero .pj-eyebrow::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, #F6E2AE, rgba(232,199,122,0)); }
.pj-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.pj-stats li { min-width: 150px; padding: 14px 18px; border-radius: 14px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pj-stats b { display: block; font: 600 1.9rem/1.1 var(--display); color: #fff; }
.pj-stats span { font-size: .88rem; color: #B9CCE2; }
@media (prefers-reduced-motion: reduce) { .pj-hero-bg img { animation: none; } }

/* ---------- filter: glass segmented control over the hero edge ---------- */
.pj-list { padding: 0 0 96px; }
.pj-filter { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin: -34px 0 40px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.86); box-shadow: 0 16px 40px rgba(8,23,48,.16), inset 0 0 0 1px rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pj-filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 600 .95rem var(--body); color: var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.pj-filter button:hover { background: #EEF4FA; }
.pj-filter button[aria-pressed="true"] { background: linear-gradient(180deg, #24467C 0%, #18335E 52%, #132B50 100%); color: #FFF8E6; box-shadow: inset 0 0 0 1px rgba(201,164,83,.62), inset 0 -2px 0 rgba(212,175,95,.9), 0 6px 16px -6px rgba(14,34,66,.55); }
.pj-filter button:focus-visible { outline: 2px solid #A8822E; outline-offset: 2px; }
.pj-filter .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; font-size: .76rem; background: #E3EAF2; color: var(--ink-soft); }
.pj-filter [aria-pressed="true"] .n { background: rgba(255,255,255,.18); color: #fff; }
.pj-empty { grid-column: 1 / -1; padding: 40px 28px; border-radius: 18px; background: #fff; border: 1px dashed var(--line-strong); color: var(--ink-soft); text-align: center; }
.pj-empty b { display: block; font: 600 1.2rem var(--display); color: var(--navy); margin-bottom: 6px; }
@media (max-width: 680px) { .pj-hero .wrap { padding-top: 64px; padding-bottom: 104px; } .pj-filter { border-radius: 18px; margin-top: -30px; } .pj-filter button { padding: 0 13px; font-size: .9rem; } .pj-stats li { min-width: 0; flex: 1 1 40%; } }

/* ---------- closing band (both pages) ---------- */
.pj-cta { position: relative; overflow: hidden; padding: 88px 0; color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(43,95,217,.55) 0%, transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(232,199,122,.12) 0%, transparent 65%), linear-gradient(160deg, #18335E 0%, #0E2242 50%, #081730 100%); }
.pj-cta::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,199,122,.7) 30%, rgba(246,226,174,.9) 50%, rgba(232,199,122,.7) 70%, transparent); }
.pj-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.pj-cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pj-cta h2 { color: #fff; margin-bottom: .35em; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.pj-cta p { color: #C9D8EA; margin: 0; max-width: 50ch; font-size: 1.1rem; }
.pj-cta-box { position: relative; display: grid; gap: 12px; padding: 26px; border-radius: 20px; border: 1px solid transparent; background: linear-gradient(160deg, rgba(43,95,217,.22), rgba(14,34,66,.35)) padding-box, linear-gradient(140deg, rgba(246,226,174,.75), rgba(212,175,95,.25) 40%, rgba(255,255,255,.08) 60%, rgba(241,213,142,.55)) border-box; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 50px rgba(0,0,0,.28), 0 0 60px -20px rgba(232,199,122,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pj-cta-box .btn { width: 100%; justify-content: space-between; padding: 1.05em 1.3em; }
.pj-cta-box .btn::after { content: "→"; font-weight: 600; }
.pj-cta-box small { color: #B9C6D4; text-align: center; font-size: .85rem; }
@media (max-width: 860px) { .pj-cta .wrap { grid-template-columns: minmax(0, 1fr); } .pj-cta { padding: 64px 0; } }

/* ---------- project page: full-width hero ---------- */
.pv-hero { position: relative; min-height: clamp(560px, 86vh, 900px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--abyss); }
.pv-hero-bg, .pv-hero-bg picture { position: absolute; inset: 0; }
.pv-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: pv-in 1.6s var(--pj-ease) both; }
@keyframes pv-in { from { transform: scale(1.08); opacity: .4; } to { transform: none; opacity: 1; } }
.pv-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8,23,48,.95) 0%, rgba(8,23,48,.6) 34%, rgba(8,23,48,0) 66%), linear-gradient(90deg, rgba(8,23,48,.7) 0%, rgba(8,23,48,0) 60%); }
.pv-hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 56px; }
.pv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.pv-crumbs { font-size: .92rem; color: #B9CCE2; }
.pv-crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.pv-crumbs a:hover { color: #F1D58E; border-bottom-color: #E8C77A; }
.pv-hero h1 { color: #fff; max-width: 20ch; margin-bottom: .3em; font-size: clamp(2.2rem, 5vw, 4.2rem); text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.pv-hero .lede { color: #DCE7F3; max-width: 56ch; margin: 0 0 30px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.pv-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; max-width: 980px; margin: 0; padding: 0; list-style: none; }
.pv-chips li { padding: 14px 16px 13px; border-radius: 14px; background: linear-gradient(180deg, rgba(43,95,217,.2), rgba(14,34,66,.25)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 1px 0 rgba(246,226,174,.45); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); animation: pv-up .7s var(--pj-ease) both; }
.pv-chips li:nth-child(2) { animation-delay: .08s; } .pv-chips li:nth-child(3) { animation-delay: .16s; } .pv-chips li:nth-child(4) { animation-delay: .24s; } .pv-chips li:nth-child(5) { animation-delay: .32s; }
@keyframes pv-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pv-chips small { display: block; font: 600 .7rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: #F1D58E; margin-bottom: 4px; }
.pv-chips b { font: 600 1.3rem/1.15 var(--display); color: #fff; }
/* A rendering on white: shown on a light glass stage instead of full bleed */
.pv-hero.lys { background: radial-gradient(70% 90% at 75% 30%, #234E86 0%, var(--navy-deep) 55%, var(--abyss) 100%); }
.pv-hero.lys::before { background: linear-gradient(0deg, rgba(8,23,48,.9) 0%, rgba(8,23,48,0) 50%); }
.pv-hero.lys .pv-hero-bg { inset: 90px 4% 260px 38%; border-radius: 28px; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, #E4ECF4 100%); box-shadow: 0 40px 80px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.6); }
.pv-hero.lys .pv-hero-bg img { object-fit: contain; padding: 4%; }
@media (max-width: 860px) { .pv-hero.lys .pv-hero-bg { inset: 84px 16px auto 16px; height: 300px; } .pv-hero.lys { min-height: 0; } .pv-hero.lys .wrap { padding-top: 410px; } }
@media (max-width: 680px) { .pv-hero { min-height: 92vh; } .pv-hero .wrap { padding-bottom: 32px; } .pv-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pv-chips b { font-size: 1.1rem; } .pv-hero.lys .pv-hero-bg { height: 240px; } .pv-hero.lys .wrap { padding-top: 340px; } }
@media (prefers-reduced-motion: reduce) { .pv-hero-bg img, .pv-chips li { animation: none; } }

/* ---------- intro: lede and facts ---------- */
.pv-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pv-intro .big { font: 500 clamp(1.3rem, 2.1vw, 1.7rem)/1.45 var(--display); color: var(--navy); margin: 0; }
.pv-facts { margin: 0; padding: 22px 24px; border-radius: 18px; background: linear-gradient(180deg, #F6F9FC, #EEF3F8); border: 1px solid var(--line); display: grid; gap: 14px; }
.pv-facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pv-facts div:last-child { border: 0; padding-bottom: 0; }
.pv-facts dt { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.pv-facts dd { margin: 0; color: var(--navy); font-weight: 600; }
@media (max-width: 860px) { .pv-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- challenge / solution / result ---------- */
/* 4.12.2026: one wide card per row – title and icon on the left, the text on the right (readable line length) */
.pv-ulr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: u; }
.pv-ulr li { position: relative; counter-increment: u; display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 48px; padding: 34px 40px 34px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(11,28,56,.06); transition: box-shadow .3s; }
.pv-ulr li:hover { box-shadow: 0 18px 40px rgba(11,28,56,.1); }
.pv-ulr li::before { content: "0" counter(u); position: absolute; top: 22px; right: 28px; font: 600 2.6rem/1 var(--display); color: #EADFC2; }
.pv-ulr li::after { content: ""; position: absolute; left: 40px; top: 0; width: 56px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #2B5FD9, #1E40AF); box-shadow: 0 2px 10px rgba(43,95,217,.35); }
.pv-ulr li:nth-child(2)::after { background: linear-gradient(90deg, #F1D58E, #D4AF5F 60%, #A8822E); box-shadow: 0 2px 10px rgba(212,175,95,.45); }
.pv-ulr li:nth-child(3)::after { background: linear-gradient(90deg, #18335E, #1E40AF 55%, #E8C77A); box-shadow: 0 2px 10px rgba(24,51,94,.3); }
.pv-ulr li:hover { border-color: rgba(212,175,95,.55); }
.pv-ulr .ico { grid-column: 1; grid-row: 1; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(135deg, #E8EEFC 0%, #FBF3DE 100%); box-shadow: inset 0 0 0 1px rgba(212,175,95,.35); }
.pv-ulr .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv-ulr .ico .ac { stroke: #B8913F; }
.pv-ulr h3 { grid-column: 1; grid-row: 2; align-self: start; font-size: 1.45rem; margin: 0; }
.pv-ulr-tx { grid-column: 2; grid-row: 1 / span 2; padding-right: 64px; max-width: 78ch; }
.pv-ulr-tx p { margin: 0 0 .9em; color: var(--ink); line-height: 1.7; } .pv-ulr-tx p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .pv-ulr li { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding: 28px 24px 26px; } .pv-ulr li::after { left: 24px; } .pv-ulr .ico, .pv-ulr h3, .pv-ulr-tx { grid-column: 1; grid-row: auto; } .pv-ulr h3 { margin-bottom: .45em; } .pv-ulr-tx { padding-right: 0; } }

/* ---------- gallery: justified rows on dark ---------- */
.pv-gal-sec { background: linear-gradient(180deg, var(--abyss) 0%, #0B1C38 100%); color: #C9D8EA; padding: 88px 0; }
.pv-gal-sec h2 { color: #fff; margin: 0; }
.pv-gal-sec .section-head p { color: #A9BBD1; }
.pv-gal { --row: 300px; display: flex; flex-wrap: wrap; gap: 10px; }
.pv-gal button { position: relative; flex: 0 0 auto; width: calc(var(--ar) * var(--row)); aspect-ratio: var(--ar); padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #13294B; cursor: zoom-in; isolation: isolate; }
.pv-gal button.lys { background: #EEF3F8; }
.pv-gal picture, .pv-gal img { width: 100%; height: 100%; }
.pv-gal img { object-fit: cover; transition: transform .6s var(--pj-ease), filter .3s; }
.pv-gal button.lys img { object-fit: contain; }
.pv-gal button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,23,48,.8)); opacity: 0; transition: opacity .3s; }
.pv-gal .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: .88rem; line-height: 1.35; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--pj-ease); }
.pv-gal .zoom { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: rgba(8,23,48,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.pv-gal button:hover img, .pv-gal button:focus-visible img { transform: scale(1.04); }
.pv-gal button:hover::after, .pv-gal button:focus-visible::after, .pv-gal button:hover .cap, .pv-gal button:focus-visible .cap, .pv-gal button:hover .zoom, .pv-gal button:focus-visible .zoom { opacity: 1; transform: none; }
.pv-gal button:focus-visible { outline: 3px solid #E8C77A; outline-offset: 3px; }
@media (max-width: 680px) { .pv-gal { --row: 150px; gap: 6px; } .pv-gal button { border-radius: 8px; } .pv-gal .zoom { opacity: 1; width: 28px; height: 28px; background-size: 13px; } }
@media (hover: none) { .pv-gal .zoom { opacity: 1; } }

/* ---------- lightbox ---------- */
.pj-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,14,30,.92); color: #fff; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.pj-lb::backdrop { background: rgba(5,14,30,.6); }
.pj-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: lb-in .25s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.pj-lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.pj-lb-n { font: 600 1rem var(--display); letter-spacing: .06em; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.pj-lb-x, .pj-lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.1) center/20px no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s, transform .2s; }
.pj-lb-x { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pj-lb-nav.prev { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5l-7 7 7 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pj-lb-nav.next { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pj-lb-x:hover, .pj-lb-nav:hover { background-color: #1E40AF; box-shadow: inset 0 0 0 1px #E8C77A, 0 0 22px -4px rgba(232,199,122,.55); }
.pj-lb-x:focus-visible, .pj-lb-nav:focus-visible { outline: 3px solid #E8C77A; outline-offset: 2px; }
.pj-lb-stage { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 8px; padding: 0 16px 18px; min-height: 0; }
.pj-lb-fig { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 14px; }
.pj-lb-fig img { width: auto; height: auto; max-width: 100%; max-height: 100%; align-self: center; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); opacity: 0; transform: scale(.985); transition: opacity .3s, transform .4s var(--pj-ease); }
.pj-lb-fig img.on { opacity: 1; transform: none; }
.pj-lb-fig figcaption { max-width: 70ch; text-align: center; color: #DCE7F3; font-size: .98rem; display: grid; gap: 6px; }
@media (max-width: 680px) { .pj-lb-stage { grid-template-columns: minmax(0, 1fr); padding: 0 8px 12px; } .pj-lb-nav { position: absolute; bottom: 18px; } .pj-lb-nav.prev { left: 16px; } .pj-lb-nav.next { right: 16px; } .pj-lb-fig { padding-bottom: 64px; } .pj-lb-fig figcaption { font-size: .9rem; padding: 0 56px; } }

/* ---------- equipment ---------- */
.pv-gear { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pv-gear a { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: transform .3s var(--pj-ease), box-shadow .3s, border-color .3s; }
.pv-gear a:hover, .pv-gear a:focus-visible { transform: translateY(-5px); border-color: #D4AF5F; box-shadow: 0 18px 36px rgba(11,28,56,.12), 0 0 0 3px rgba(232,199,122,.18); }
.pv-gear a:focus-visible { outline: 2px solid #A8822E; outline-offset: 2px; }
.pv-gear .im { aspect-ratio: 4/3; display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 40%, #fff, #EEF3F8); }
.pv-gear .im img { width: 78%; height: 78%; object-fit: contain; transition: transform .5s var(--pj-ease); }
.pv-gear a:hover .im img { transform: scale(1.06); }
.pv-gear .im .ph { width: 56px; height: 56px; border-radius: 14px; background: #E3EAF2; }
.pv-gear .tx { padding: 14px 16px 16px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.pv-gear b { font: 600 1.05rem/1.25 var(--display); }
.pv-gear small { color: #1E40AF; font-size: .86rem; font-weight: 600; }
.pv-gear small::after { content: " →"; }
.pv-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- quote ---------- */
.pv-quote { position: relative; margin: 0; padding: 48px 56px 44px; border-radius: 24px; background: linear-gradient(135deg, #fff 0%, #F3F7FB 100%); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(11,28,56,.08); overflow: hidden; }
.pv-quote::before { content: "\201C"; position: absolute; top: -34px; left: 26px; font: 600 12rem/1 var(--display); color: rgba(212,175,95,.22); pointer-events: none; }
.pv-quote blockquote { position: relative; margin: 0 0 20px; font: 500 clamp(1.4rem, 2.6vw, 2.1rem)/1.35 var(--display); color: var(--navy); max-width: 34ch; }
.pv-quote figcaption { position: relative; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-weight: 600; }
.pv-quote figcaption::before { content: ""; width: 36px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #F1D58E, #A8822E); }
.pv-quote::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #2B5FD9, #1E40AF 50%, #D4AF5F); }
@media (max-width: 680px) { .pv-quote { padding: 36px 24px 30px; } }

/* ---------- front page and product page ---------- */
.pj-home { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--abyss) 100%); color: #C9D8EA; position: relative; overflow: hidden; }
.pj-home::before { content: ""; position: absolute; inset: auto -10% -50% -10%; height: 80%; background: radial-gradient(ellipse at center, rgba(43,95,217,.26), transparent 65%); pointer-events: none; }
.pj-home::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,199,122,.6) 50%, transparent); }
.pj-home .wrap { position: relative; }
.pj-home h2 { color: #fff; }
.pj-home .section-head p { color: #A9BBD1; }
.pj-home .btn-line { color: #F7F1E3; border: 1px solid transparent; background: linear-gradient(180deg, rgba(43,95,217,.35), rgba(14,34,66,.5)) padding-box, var(--pj-gold-edge) border-box; }
.pj-home .btn-line:hover { color: #fff; background: linear-gradient(180deg, #2B5FD9, #1A3488) padding-box, var(--pj-gold-edge) border-box; box-shadow: 0 0 0 3px rgba(232,199,122,.16), 0 10px 24px -10px rgba(43,95,217,.8); }
.pj-home .pj-grid { grid-auto-rows: auto; }
.pj-home .pj-card { min-height: 440px; box-shadow: 0 20px 44px rgba(0,0,0,.3); }
.pj-used { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.pj-used-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.pj-used-head h2 { margin: 0; font-size: 1.35rem; }
.pj-used-head a { font-weight: 600; color: #1E40AF; text-decoration-color: #D4AF5F; text-underline-offset: 3px; }
.pj-used-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pj-mini { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 112px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: transform .3s var(--pj-ease), box-shadow .3s, border-color .3s; }
.pj-mini:hover, .pj-mini:focus-visible { transform: translateY(-3px); border-color: #D4AF5F; box-shadow: 0 14px 30px rgba(11,28,56,.1); }
.pj-mini picture, .pj-mini img { width: 100%; height: 100%; }
.pj-mini img { object-fit: cover; }
.pj-mini.lys img { object-fit: contain; background: #F3F7FB; }
.pj-mini > span:last-child { padding: 14px 16px; display: grid; align-content: center; gap: 4px; }
.pj-mini small { font: 600 .7rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #1E40AF; }
.pj-mini b { font: 600 1.05rem/1.25 var(--display); }
.pj-mini em { font-style: normal; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 420px) { .pj-used-list { grid-template-columns: minmax(0, 1fr); } .pj-mini { grid-template-columns: 104px minmax(0, 1fr); } }
/* Facts strip under the hero */
.pv-factbar-sec { background: #fff; border-bottom: 1px solid var(--line); }
.pv-factbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.pv-factbar div { padding: 26px 24px 24px; border-left: 1px solid var(--line); }
.pv-factbar div:first-child { border-left: 0; padding-left: 0; }
.pv-factbar dt { font: 600 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.pv-factbar dd { margin: 0; font: 600 1.15rem/1.3 var(--display); color: var(--navy); }
@media (max-width: 860px) { .pv-factbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pv-factbar div { padding: 18px 16px; border-left: 0; border-top: 1px solid var(--line); } .pv-factbar div:nth-child(-n+2) { border-top: 0; } .pv-factbar div:nth-child(odd) { padding-left: 0; } .pv-factbar div:nth-child(even) { border-left: 1px solid var(--line); } }
.pj-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pj-grid-2 .pj-card { min-height: 420px; }
@media (max-width: 680px) { .pj-grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .pv-gear { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .pv-gear .tx { padding: 10px 12px 12px; } .pv-gear b { font-size: .95rem; } .pv-gear small { font-size: .8rem; } }
.pj-card-media .pj-narrow { display: none; }
@media (max-width: 680px) { .pj-card-media .pj-wide { display: none; } .pj-card-media .pj-narrow { display: block; } .pj-stats li { flex: 1 1 0; padding: 12px 12px; } .pj-stats b { font-size: 1.5rem; } .pj-stats span { font-size: .8rem; } }

/* ---------- 4.12.2026: tom tilstand, forhåndsvisning av utkast, hero uten bilde ---------- */
.pj-quiet { grid-column: 1 / -1; max-width: 640px; padding: 8px 0 24px; color: var(--ink-soft); }
.pj-quiet h2 { margin: 0 0 .35em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--navy); }
.pj-quiet p { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.6; }
.pj-quiet .btn + .btn { margin-left: 8px; }
.pj-list.quiet .pj-filter { display: none; }
.pj-list.quiet { padding-top: 56px; }
.pj-hero-bg:empty { display: none; }
.pv-utkast { position: sticky; top: var(--hdr, 72px); z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 10px 16px; background: #0E2242; color: #F6E2AE; border-bottom: 2px solid #D4AF5F; font: 600 .92rem/1.35 var(--body); text-align: center; }
.pv-utkast b { color: #fff; }
.pj-card .pj-card-media:empty { background: radial-gradient(80% 80% at 60% 30%, #234E86 0%, var(--navy-deep) 70%); }
.pv-hero-bg:empty { display: none; }
.pj-home[hidden], #pj-used:empty { display: none; }

/* ---------- 4.12.2026 kl. 13: knapper i prosjekt-delene – gull primær (marineblå tekst, ca. 10:1) og safir-glass med gullkant (som «Gå ombord» på Min side) ---------- */
:is(.pj-cta, .pj-quiet) .btn-primary { border: 1px solid transparent; color: #0E2242; background: var(--pj-gold-fill) padding-box, linear-gradient(120deg, #FFF3CF, #C9A24B 50%, #F1D58E) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -2px 0 rgba(168,130,46,.45), 0 10px 26px -10px rgba(232,199,122,.7); transition: box-shadow .3s, background .3s, transform .3s var(--pj-ease); }
:is(.pj-cta, .pj-quiet) .btn-primary:hover { color: #081730; background: linear-gradient(180deg, #FFF3CF 0%, #F1D58E 45%, #E0BE72 100%) padding-box, linear-gradient(120deg, #FFF8E6, #D4AF5F 50%, #F6E2AE) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 0 0 4px rgba(232,199,122,.2), 0 14px 34px -10px rgba(232,199,122,.85); transform: translateY(-1px); }
:is(.pj-cta, .pj-quiet) .btn-primary:focus-visible { outline: 2px solid transparent; box-shadow: var(--pj-ring); }
:is(.pj-cta .btn-ghost, .pv-allbtn) { border: 1px solid transparent; color: #F7F1E3; background: linear-gradient(180deg, #2B5FD9 0%, #1E40AF 50%, #1A3488 100%) padding-box, var(--pj-gold-edge) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 22px -14px rgba(30,64,175,.9); transition: box-shadow .3s, background .3s; }
:is(.pj-cta .btn-ghost, .pv-allbtn):hover { color: #fff; background: linear-gradient(180deg, #3570EC 0%, #2349C2 50%, #1D3A98 100%) padding-box, linear-gradient(120deg, #FFF3CF 0%, #E8C77A 45%, #B8913F 70%, #F6E2AE 100%) border-box;
  box-shadow: 0 0 0 3px rgba(59,130,246,.18), 0 12px 26px -12px rgba(37,99,235,.75), inset 0 1px 0 rgba(255,255,255,.26); }
:is(.pj-cta .btn-ghost, .pv-allbtn):focus-visible { outline: 2px solid transparent; box-shadow: var(--pj-ring); }
.pj-cta-box .btn-ghost::after { color: #F6D88F; }
/* lyse flater i prosjekt-delene: marineblå strek, gullkant ved hover */
:is(#pv-body, .pj-quiet) .btn-line:hover { border-color: #D4AF5F; color: var(--navy); box-shadow: 0 0 0 3px rgba(232,199,122,.18); }
:is(#pv-body, .pj-quiet, .pj-home) .btn-line:focus-visible { outline: 2px solid #A8822E; outline-offset: 2px; }

/* ---------- 4.12.2026 kl. 13: «Dette er et utvalg» under rutenettet (ingen tall på siden) ---------- */
.pj-utvalg { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 44px auto 0; color: var(--ink-soft); font-size: 1rem; text-align: center; }
.pj-utvalg::before { content: ""; flex: 0 0 100%; height: 1px; margin-bottom: 22px; background: linear-gradient(90deg, transparent, rgba(212,175,95,.7) 50%, transparent); }
.pj-utvalg a { color: #1E40AF; font-weight: 600; text-decoration: underline; text-decoration-color: #D4AF5F; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pj-utvalg a::after { content: " →"; display: inline-block; margin-left: 2px; color: #A8822E; text-decoration: none; }
.pj-utvalg a:hover { color: #18335E; text-decoration-color: currentColor; }
.pj-utvalg[hidden] { display: none; }

/* ---------- 4.12.2026 kl. 13: «← Alle prosjekter» øverst i prosjektheroen, og «Se alle prosjekter» under «Flere prosjekter» ---------- */
.pv-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 18px; padding: 0 18px 0 14px; border: 1px solid transparent; border-radius: 999px;
  background: linear-gradient(180deg, rgba(43,95,217,.42), rgba(14,34,66,.62)) padding-box, var(--pj-gold-edge) border-box; color: #F7F1E3;
  font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 26px -12px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); transition: background .3s, box-shadow .3s, color .3s; }
.pv-back svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #F6D88F; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--pj-ease); }
.pv-back:hover { color: #fff; background: linear-gradient(180deg, #3570EC, #1D3A98) padding-box, linear-gradient(120deg, #FFF3CF 0%, #E8C77A 45%, #B8913F 70%, #F6E2AE 100%) border-box; box-shadow: 0 0 0 3px rgba(232,199,122,.18), 0 12px 26px -12px rgba(37,99,235,.8); }
.pv-back:hover svg { transform: translateX(-3px); }
.pv-back:focus-visible { outline: 2px solid transparent; box-shadow: var(--pj-ring); }
.pv-hero.lys .pv-back { position: relative; z-index: 3; }
.pv-allgo { margin: 32px 0 0; text-align: center; }
.pv-allbtn { padding: 1em 1.6em; }
.pv-allbtn::after { content: "→"; color: #F6D88F; }
@media (prefers-reduced-motion: reduce) { .pv-back, .pv-back svg { transition: none; } }

/* gullkant som maske (glasset under forblir gjennomsiktig – ingen gull som skinner gjennom fyllet) */
.pj-cta .pj-eyebrow { color: #E8C77A; }
:is(.pj-cta-box, .pv-back, .pj-home .btn-line) { position: relative; border: 0; }
:is(.pj-cta-box, .pv-back, .pj-home .btn-line)::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--pj-gold-edge); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pj-cta-box { background: linear-gradient(160deg, rgba(43,95,217,.24), rgba(14,34,66,.4)); }
.pv-back { background: linear-gradient(180deg, rgba(43,95,217,.45), rgba(14,34,66,.6)); }
.pv-back:hover { background: linear-gradient(180deg, #3570EC, #1D3A98); }
.pj-home .btn-line { background: linear-gradient(180deg, rgba(43,95,217,.35), rgba(14,34,66,.5)); }
.pj-home .btn-line:hover { background: linear-gradient(180deg, #2B5FD9, #1A3488); }
.pj-home .section-head .pj-eyebrow { color: #E8C77A; }
.pj-home .pj-eyebrow::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, #F6E2AE, rgba(232,199,122,0)); }

/* 4.12.2026: «Fra prosjektene våre» on the home page – compact: less padding, lower landscape cards */
.pj-home.section { padding: 56px 0; }
.pj-home .section-head { margin-bottom: 22px; align-items: center; }
.pj-home .section-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 4px 0 6px; }
.pj-home .section-head p { font-size: .95rem; }
.pj-home .pj-grid { gap: 18px; }
.pj-home .pj-card { min-height: 300px; border-radius: 16px; }
.pj-home .pj-card-eyebrow { display: none; }
.pj-home .pj-card-glass { left: 10px; right: 10px; bottom: 10px; padding: 12px 16px 12px; gap: 4px; }
.pj-home .pj-card-h { font-size: 1.08rem; }
.pj-home .pj-card-foot { margin-top: 4px; padding-top: 8px; font-size: .86rem; }
.pj-home .pj-card.lys .pj-card-media img { padding: 5% 8% 40%; }
@media (max-width: 680px) { .pj-home.section { padding: 44px 0; } .pj-home .pj-card { min-height: 250px; } }

/* 4.12.2026: «Video fra prosjektet» – only when the project has a video. A Wix Media file plays in the page; YouTube / Vimeo load on click */
.pv-vid-sec { background: linear-gradient(180deg, #0B1C38 0%, var(--abyss) 100%); color: #C9D8EA; padding: 80px 0 64px; position: relative; }
.pv-vid-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,199,122,.55) 50%, transparent); }
.pv-vid-sec h2 { color: #fff; margin: 0; }
.pv-vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pv-vids.en { grid-template-columns: minmax(0, 1fr); max-width: 1040px; }
.pv-vid { margin: 0; }
.pv-vid-box { position: relative; aspect-ratio: var(--ar, 1.778); max-height: 78vh; border-radius: 18px; overflow: hidden; background: radial-gradient(90% 90% at 50% 40%, #1A3A6B 0%, #081730 75%); box-shadow: 0 24px 56px rgba(0,0,0,.35), inset 0 0 0 1px rgba(232,199,122,.28); }
.pv-vid-box video, .pv-vid-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.pv-vid-box video { object-fit: contain; }
.pv-vid-play { position: absolute; inset: 0; width: 100%; display: grid; place-items: center; align-content: center; gap: 14px; border: 0; padding: 0; cursor: pointer; background: transparent; color: #DCE7F3; font: 500 .9rem var(--body); }
.pv-play { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(180deg, #F6E2AE, #D4AF5F); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 8px rgba(232,199,122,.16), 0 14px 34px -8px rgba(232,199,122,.7); position: relative; transition: transform .3s var(--pj-ease, ease), box-shadow .3s; }
.pv-play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-36%, -50%); border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent #0E2242; }
.pv-vid-play:hover .pv-play, .pv-vid-play:focus-visible .pv-play { transform: scale(1.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 12px rgba(232,199,122,.2), 0 18px 40px -8px rgba(232,199,122,.85); }
.pv-vid-play:focus-visible { outline: 2px solid #E8C77A; outline-offset: -4px; border-radius: 18px; }
.pv-vid-src { font-size: .82rem; letter-spacing: .04em; color: #A9BBD1; }
.pv-vid figcaption { margin-top: 12px; color: #DCE7F3; font-size: .98rem; }
.pv-vid-sec + .pv-gal-sec { padding-top: 40px; }
@media (max-width: 760px) { .pv-vids { grid-template-columns: minmax(0, 1fr); gap: 18px; } .pv-vid-sec { padding: 56px 0 44px; } .pv-play { width: 68px; height: 68px; } }

/* 4.12.2026: cover picture on YouTube / Vimeo videos (imported to Wix Media from the video) */
.pv-vid-play.har-bilde { background: #081730; }
.pv-vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .8s var(--pj-ease, ease), filter .4s; }
.pv-vid-play.har-bilde::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 60% at 50% 50%, rgba(8,23,48,.15), rgba(8,23,48,.55)); }
.pv-vid-play .pv-play, .pv-vid-play .pv-vid-src { position: relative; z-index: 2; }
.pv-vid-play.har-bilde .pv-vid-src { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.pv-vid-play.har-bilde:hover .pv-vid-poster { transform: scale(1.03); filter: saturate(1.08); }

/* 4.12.2026: «Be om tilbud» / «Tegn systemet ditt» i «Har du et lignende behov?» – samme pilleknapp som «← Alle prosjekter» */
.pj-cta-box .btn { position: relative; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; justify-content: space-between;
  background: linear-gradient(180deg, rgba(22,48,94,.85), rgba(10,26,54,.92)); color: #F7F1E3;
  font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 26px -12px rgba(0,0,0,.6); transition: background .3s, box-shadow .3s, color .3s; }
.pj-cta-box .btn-primary { background: linear-gradient(180deg, rgba(232,199,122,.16), rgba(10,26,54,.92) 70%); }
.pj-cta-box .btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--pj-gold-edge); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pj-cta-box .btn::after { content: "→"; color: #F6D88F; font-size: 1rem; letter-spacing: 0; transition: transform .35s var(--pj-ease, ease); }
.pj-cta-box .btn:hover { color: #fff; background: linear-gradient(180deg, rgba(232,199,122,.22), rgba(14,34,66,.95) 75%); box-shadow: 0 0 0 3px rgba(232,199,122,.16), 0 12px 28px -12px rgba(232,199,122,.45); }
.pj-cta-box .btn:hover::after { transform: translateX(4px); }
.pj-cta-box { background: linear-gradient(160deg, rgba(14,34,66,.55), rgba(8,23,48,.7)); }
.pj-cta-box .btn:focus-visible { outline: 2px solid #E8C77A; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .pj-cta-box .btn, .pj-cta-box .btn::after { transition: none; } }
