/* Velar Bureau — service pages: what the service includes, as posters scattered in the hero (js/svp.js) */
.vx-hero--svp { display: block; min-height: 0; padding-block: calc(var(--top-h, 96px) + 16px) clamp(32px, min(4vw, 57.6px), 64px); }
.vx-hero--svp .crumbs { position: relative; z-index: 4; margin: 0; }
.vx-hero .svp { position: relative; height: clamp(640px, min(50vw, 720px), 740px); max-height: calc(100svh - var(--top-h, 96px) - 70px); min-height: 600px; }
.svp__h { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); z-index: 1; margin: 0; width: max-content; max-width: 100%; text-align: center;
  font-weight: 500; font-size: clamp(2.6rem, min(5.2vw, 74.88px), 5.4rem); line-height: 1; letter-spacing: -.05em; color: #0E0F11; }
.svp__l { display: block; }
.svp__rail { display: contents; }
.svp__l--m { color: #9CA2AD; }
.svp__tile { display: inline-grid; place-items: center; width: .9em; height: .9em; margin: 0 .08em; vertical-align: -.1em; background: var(--signal); color: #0E0F11; transform: rotate(-6deg); }
.svp__tile svg { width: 56%; height: 56%; }
.svp__c { --x: 0px; --y: 0px; --px: 0px; --py: 0px; position: absolute; z-index: 1; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px;
  width: clamp(230px, min(19vw, 273.6px), 280px); height: clamp(196px, min(15.6vw, 224.64px), 230px); padding: 18px 20px;
  box-shadow: 0 30px 60px -30px rgba(14, 15, 17, .35), 0 2px 6px -2px rgba(14, 15, 17, .12);
  transform: translate3d(calc(var(--x) + var(--px)), calc(var(--y) + var(--py)), 0) rotate(var(--r)); transition: transform .9s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, opacity .5s; }
.svp__c--p1 { left: 0; top: 2%; }
.svp__c--price { right: 0; top: 0; }
.svp__c--p2 { left: 7%; bottom: 2%; }
.svp__c--p3 { left: 50%; bottom: 0; margin-left: calc(clamp(230px, min(19vw, 273.6px), 280px) / -2); }
.svp__c--p4 { right: 5%; bottom: 4%; }
.svp__c--paper { background: #F1F3F6; color: #0E0F11; }
.svp__c--ink { background: #0E0F11; color: #E3E7ED; }
.svp__c--grey { background: #D3D8DF; color: #0E0F11; }
.svp__c--signal { background: var(--signal); color: #0E0F11; }
.svp__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--fm); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.svp__n { opacity: .6; }
.svp__k { opacity: .7; }
.svp__g { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.svp__t { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); color: inherit; }
.svp__t b { font-weight: 500; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.15; color: inherit; }
.svp__t svg { flex: none; width: 16px; height: 16px; transition: transform .45s var(--ease); }
.svp__p { align-self: center; font-family: var(--fd); font-stretch: 112%; font-weight: 500; font-size: clamp(2rem, min(2.8vw, 40.32px), 2.6rem); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.svp__hot { fill: var(--signal); }
.svp__c--signal .svp__hot { fill: #0E0F11; }
.svp__c--ink .svp__a, .svp__c--ink .svp__btn { fill: #E3E7ED; }
.svp__btn { fill: var(--signal); }
.svp__bar, .svp__sq, .svp__pt, .svp__pin { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(var(--i, 0) * 30ms); }
.svp__blink { animation: svpBlink 2.4s steps(2) infinite; }
@keyframes svpBlink { 50% { opacity: .35; } }
/* hover: the poster straightens and lifts, its graphic comes alive */
.svp:hover .svp__c { opacity: .75; }
.svp .svp__c:hover { --r: 0deg !important; z-index: 3; opacity: 1; box-shadow: 0 50px 80px -30px rgba(14, 15, 17, .45), 0 2px 6px -2px rgba(14, 15, 17, .12);
  transform: translate3d(calc(var(--x) + var(--px)), calc(var(--y) + var(--py) - 8px), 0) rotate(0deg) scale(1.06); }
.svp__c:hover .svp__bar { transform: scaleY(1.25); }
.svp__c:hover .svp__sq, .svp__c:hover .svp__pt { transform: scale(1.12); }
.svp__c:hover .svp__pin { transform: translateY(-6px); }
.svp__c:hover .svp__t svg { transform: translate(3px, -3px); }
/* entrance: the posters fly out from behind the headline */
.js .svp:not(.is-in) .svp__c { opacity: 0; }
/* phones and tablets: a swipe row under the text */
@media (max-width: 1000px) {
  .vx-hero .svp { height: auto; max-height: none; min-height: 0; display: flex; flex-wrap: wrap; gap: 12px; }
  .svp__h { position: static; transform: none; width: 100%; text-align: left; font-size: clamp(2.3rem, 10vw, 3.6rem); margin: 20px 0 20px; }
  .svp__rail { display: flex; gap: 12px; width: calc(100% + var(--gx) * 2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gx) * -1); padding: 12px var(--gx) 24px; }
  .svp__rail::-webkit-scrollbar { display: none; }
  .svp__c { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; margin: 0 !important; flex: none; width: 74%; max-width: 300px; height: 230px;
    scroll-snap-align: start; transform: rotate(calc(var(--r) * .3)); }
  .svp__c--price { order: -1; }
  .svp:hover .svp__c { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .svp__c { transition: none; } .svp__blink { animation: none; } }

/* layout pass: headline sits higher and dead centre, posters mirror each other (desktop) */
@media (min-width: 1001px) {
  .svp__h { top: 40%; transform: translate(-50%, -50%); }
  .svp__h .svp__l { margin-inline: auto; }
  .svp__c--p1 { left: 3%; top: 4%; --r: -4deg !important; }
  .svp__c--price { right: 3%; left: auto; top: 4%; --r: 4deg !important; }
  .svp__c--p2 { left: 8%; bottom: 0; --r: 3deg !important; }
  .svp__c--p3 { left: 50%; bottom: 0; --r: 0deg !important; }
  .svp__c--p4 { right: 8%; left: auto; bottom: 0; --r: -3deg !important; }
}

/* a tile at the end of a line hangs outside it, so the words themselves sit dead centre (desktop) */
@media (min-width: 1001px) {
  .svp__h .svp__l:has(> .svp__tile:last-child) { position: relative; width: max-content; }
  .svp__h .svp__l > .svp__tile:last-child { position: absolute; left: 100%; top: .06em; margin: 0 0 0 .1em; }
}
.svp__k--up { opacity: 1; }
